/* B2B one-pagers (how-it-fits.html, pilot-pricing.html). Hopewick 2.0 design system:
   every colour, size and radius comes from /assets/hopewick-tokens.css, so light, dark and
   print all follow the brand. Layout only; the wording and figures live in the HTML. */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; padding: var(--space-6) var(--space-4) var(--space-10);
  font-family: var(--font); font-size: var(--text-base, 16px); line-height: var(--leading);
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--focus-color); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-contrast); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 15; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sheet {
  max-width: 800px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
}
.sheet > header {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; justify-content: space-between;
  margin: 0 0 var(--space-6); padding-bottom: var(--space-4); border-bottom: 2px solid var(--accent-gold-bright);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-bold); letter-spacing: -.02em; color: var(--brand-ink, var(--text)); text-decoration: none; }
.brand img { width: 40px; height: auto; display: block; }
.brand-tag { display: block; font-family: var(--font); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--muted); letter-spacing: 0; }
.head-right { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.meta { color: var(--muted); font-size: var(--text-sm); }
h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.6vw, 2rem); line-height: var(--leading-tight); letter-spacing: -.02em; margin: 0 0 var(--space-3); color: var(--brand-ink, var(--text)); }
.pitch { margin: 0 0 var(--space-3); color: var(--muted); font-size: var(--text-md, 1.02rem); }
.pitch strong { color: var(--text); }
.positioning {
  margin: var(--space-2) 0 var(--space-6); padding: var(--space-3) var(--space-4); border-left: 4px solid var(--accent-gold-bright);
  background: var(--surface-2); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-md, 1.05rem); font-weight: var(--weight-semibold); line-height: 1.45;
}
h2 {
  font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--accent);
  margin: var(--space-8) 0 var(--space-3); display: flex; align-items: center; gap: 10px;
}
h2::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--accent-gold-bright); flex: none; }
.card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); background: var(--surface-2); margin-bottom: var(--space-3); }
.card.plain { background: var(--surface); }
.card h3, .tier h3, .role h3 { margin: 0 0 6px; font-size: var(--text-lg); color: var(--brand-ink, var(--text)); }
.card .price, .tier .price { font-size: var(--text-xl); font-weight: var(--weight-bold); margin: 4px 0 8px; color: var(--text); }
.price small { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--muted); }
ul { margin: 8px 0 0; padding-left: 1.2em; }
li { margin: 4px 0; }
li::marker { color: var(--accent); }
ol.steps { margin: 8px 0 0; padding-left: 1.4em; }
ol.steps li { margin: 8px 0; }
ol.steps li::marker { color: var(--accent); font-weight: var(--weight-bold); }
.grid, .tiers { display: grid; gap: var(--space-3); }
.grid { grid-template-columns: 1fr 1fr; }
.tiers { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 680px) { .grid, .tiers { grid-template-columns: 1fr; } .sheet { padding: var(--space-5) var(--space-4); } }
.role, .tier { border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); background: var(--surface); }
.role p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.note, .disclaimer, .contact { font-size: var(--text-sm); color: var(--muted); margin: var(--space-3) 0 0; line-height: 1.5; }
.note strong, .disclaimer strong { color: var(--text); }
.disclaimer { border-left: 4px solid var(--danger); background: var(--danger-soft); padding: var(--space-3) var(--space-4); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); }
.contact { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border); color: var(--text); }
.badge {
  display: inline-block; font-size: var(--text-xs); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: .05em;
  background: var(--brand-river); color: var(--on-river); padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 6px;
}
.links { font-size: var(--text-sm); margin: var(--space-4) 0 0; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-3); padding: 1px 5px; border-radius: var(--radius-xs); }
@media print {
  body { background: #fff; color: #000; padding: 0; }
  .sheet { box-shadow: none; border: none; border-radius: 0; max-width: none; padding: 0; background: #fff; }
  a { color: inherit; text-decoration: none; }
  .no-print, .skip-link, .hw-theme-toggle { display: none !important; }
  .card, .tier, .role { break-inside: avoid; }
}
