/* The landing pages: the homepage and the six product pages.
   Everything is scoped under .hn and takes nothing from the older landing
   tokens except the two colours that carry meaning: green is us and money, red
   is competitors and losses. The rest is the paper palette — warm paper, ink,
   and a highlighter that marks the evidence in a response — defined once in
   01_tokens.css (the `--hn-*` block) because the blog sits on it too.

   Type: Fraunces for display (roman, with the italic kept for the emphasised
   word), Geist for reading, IBM Plex Mono for labels and every number.
   Decision 2026-10-01 in docs/decisions.md.

   The header (.hn-nav) is shared with the blog through shared/_pill_nav, so
   its rules below never lean on a .hn ancestor. */

.hn {
  --hn-pad: clamp(72px, 10vw, 136px);

  background: var(--hn-paper);
  color: var(--hn-ink);
  font-family: var(--hn-sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.hn *, .hn *::before, .hn *::after { box-sizing: border-box; }
/* :where() keeps the reset at zero specificity, so any class below wins. */
:where(.hn) :where(h1, h2, h3, p, ul, ol, dl, dd, blockquote, fieldset) { margin: 0; padding: 0; }
:where(.hn) :where(ul, ol) { list-style: none; }
:where(.hn) fieldset { border: 0; min-width: 0; }
:where(.hn) a { color: inherit; text-decoration: none; }
.hn em { font-style: italic; }
.hn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hn-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--hn-gutter); }
.hn-section { padding: var(--hn-pad) 0; }
.hn [id] { scroll-margin-top: 84px; }
.hn-section--tint { background: var(--hn-paper-2); }
.hn-section--night { background: var(--hn-night); color: var(--hn-on-night); }

.hn-eyebrow, .hn-label {
  font-family: var(--hn-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-green);
}
.hn-label { display: block; margin-bottom: 14px; }
.hn-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.hn-title {
  font-family: var(--hn-display); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.025em;
  margin-top: 18px; text-wrap: balance;
}
.hn-title em { color: var(--hn-green); }
.hn-sub { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--hn-body); max-width: 560px; }
.hn-head--dark .hn-eyebrow, .hn-section--night .hn-eyebrow, .hn-section--night .hn-label { color: var(--hn-signal); }
.hn-head--dark .hn-title em { color: var(--hn-signal); }
.hn-head--dark .hn-sub { color: var(--hn-on-night-body); }

/* Buttons */
.hn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--hn-sans); font-size: 16px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--hn-ease), background 0.2s, box-shadow 0.25s, border-color 0.2s;
}
.hn-btn:hover { transform: translateY(-2px); }
.hn-btn:active { transform: translateY(0); }
.hn-btn:focus-visible, :is(.hn, .hn-nav) :is(a, summary):focus-visible, .hn input:focus-visible + span {
  outline: 2px solid var(--hn-green); outline-offset: 3px;
}
.hn-btn--sm { padding: 11px 18px; font-size: 14px; }
.hn-btn--block { display: flex; width: 100%; }
/* `a.` rather than `.hn a.`: the element wins over the base sheet's `a` on
   its own, and the header's button has no .hn above it on the blog. The
   readiness form submits with a <button> in the same green. */
:is(a, button).hn-btn--green { background: var(--hn-green); color: #fff; box-shadow: 0 10px 24px -12px rgba(14, 107, 74, 0.8); }
:is(a, button).hn-btn--green:hover { background: var(--hn-green-deep); }
a.hn-btn--ink, a.hn-btn--ink:hover { background: var(--hn-ink); color: var(--hn-paper); }
.hn-btn--ghost { background: transparent; color: var(--hn-ink); border-color: rgba(var(--hn-ink-rgb), 0.28); }
.hn-btn--ghost:hover { border-color: var(--hn-ink); }
a.hn-btn--signal { background: var(--hn-signal); color: var(--hn-night); }
.hn-btn--ghost-dark { background: transparent; color: var(--hn-on-night); border-color: rgba(237, 242, 238, 0.3); }
.hn-btn--ghost-dark:hover { border-color: var(--hn-on-night); }
/* A button that leads with platform marks: white discs in each brand's own
   colour, overlapping, ringed in the button's green so the overlap reads.
   Each disc sits over the next, so a disc's left edge is what's covered —
   Wix's wordmark runs nearly edge to edge and would lose its X otherwise. */
.hn-btn--marks { padding-left: 9px; gap: 12px; }
.hn-btn-marks { display: inline-flex; margin: -8px 0; isolation: isolate; }
.hn-btn-mark {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; width: 32px; height: 32px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 2px var(--hn-green); transition: box-shadow 0.2s;
}
.hn-btn-mark + .hn-btn-mark { margin-left: -4px; }
.hn-btn-mark:nth-child(1) { z-index: 3; }
.hn-btn-mark:nth-child(2) { z-index: 2; }
.hn-btn--marks:hover .hn-btn-mark { box-shadow: 0 0 0 2px var(--hn-green-deep); }
.hn-btn-mark svg { width: 17px; height: 17px; }
.hn-btn-mark svg.app-console-provider-icon--wide { width: 20px; height: 20px; }
.hn-btn-mark--shopify { color: #5E8E3E; }
.hn-btn-mark--wix { color: #000; }
.hn-btn-mark--bigcommerce { color: #121118; }
.hn-btn-mark--bigcommerce svg { width: 15px; height: 15px; }
.hn-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hn-actions--center { justify-content: center; }
.hn-link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--hn-green); border-bottom: 1px solid currentColor; }
.hn a.hn-link { color: var(--hn-green); }
.hn a.hn-link--signal { color: var(--hn-signal); }

/* Nav — a floating pill that stays with the reader. Rendered by
   shared/_pill_nav on the landing pages and on the blog, so the links set
   their own colour instead of inheriting .hn's. */
.hn-nav { position: sticky; top: 0; z-index: 40; padding: 14px var(--hn-gutter) 0; pointer-events: none; font-family: var(--hn-sans); color: var(--hn-ink); }
/* :where() keeps this at the base sheet's specificity, under the button. */
:where(.hn-nav) a { color: inherit; text-decoration: none; }
.hn-nav-inner {
  pointer-events: auto; max-width: 1168px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 9px 10px 9px 20px; border-radius: 999px;
  background: rgba(252, 251, 248, 0.82); border: 1px solid var(--hn-line);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px -22px rgba(var(--hn-ink-rgb), 0.5);
}
.hn-logo {
  display: inline-flex; align-items: center; gap: 8px; --logo-surface: var(--hn-card);
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.02em;
}
.hn-logo .logo-icon { width: 24px; height: 24px; color: var(--hn-green); }
/* The blog's label, tight against the wordmark: it names the surface the
   reader is on, it isn't a destination. */
.hn-nav-section {
  font-family: var(--hn-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hn-muted); margin-left: -8px; padding-left: 12px; border-left: 1px solid var(--hn-line); white-space: nowrap;
}
.hn-nav-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; color: var(--hn-body); }
.hn-nav-links a:hover, .hn-nav-links a.is-active { color: var(--hn-ink); }
.hn-nav-links a.is-active { box-shadow: 0 1.5px 0 var(--hn-green); }
.hn-menu { display: none; margin-left: auto; }
.hn-menu summary { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; list-style: none; }
.hn-menu summary::-webkit-details-marker { display: none; }
.hn-menu summary span, .hn-menu summary span::before { display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--hn-ink); transition: transform 0.3s var(--hn-ease); }
.hn-menu summary span { transform: translateY(-3px); }
.hn-menu summary span::before { content: ""; transform: translateY(6px); }
.hn-menu[open] summary span { transform: rotate(45deg); }
.hn-menu[open] summary span::before { transform: rotate(-90deg); }
.hn-menu nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; padding: 10px 22px; border-radius: 22px; background: var(--hn-card); border: 1px solid var(--hn-line); box-shadow: 0 30px 50px -30px rgba(var(--hn-ink-rgb), 0.6); }
.hn-menu nav a { padding: 14px 0; font-size: 17px; font-weight: 500; border-top: 1px solid var(--hn-line); }
.hn-menu nav a:first-child { border-top: 0; }
.hn-menu nav a.is-active { color: var(--hn-green); }
.hn-nav-actions { display: flex; align-items: center; gap: 16px; font-size: 14.5px; font-weight: 500; }
/* The phone (shared/_phone_menu): an icon that opens our numbers (US, UK, AU), on
   hover for a pointer and on focus for a tap or the keyboard. */
.hn-phone { position: relative; }
.hn-phone-toggle {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  padding: 0; border: 0; background: none; cursor: pointer; color: var(--hn-ink); transition: background 0.2s var(--hn-ease);
}
.hn-phone:hover .hn-phone-toggle, .hn-phone:focus-within .hn-phone-toggle { background: rgba(var(--hn-ink-rgb), 0.07); }
.hn-phone-menu {
  display: none; position: absolute; right: -8px; top: 100%; z-index: 2; width: max-content;
  margin-top: 10px; padding: 8px; border-radius: 18px;
  background: var(--hn-card); border: 1px solid var(--hn-line);
  box-shadow: 0 30px 50px -30px rgba(var(--hn-ink-rgb), 0.6);
}
/* A hover bridge over the gap, so the pointer can travel from icon to menu. */
.hn-phone-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.hn-phone:hover .hn-phone-menu, .hn-phone:focus-within .hn-phone-menu { display: block; }
.hn-phone-number {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
}
.hn-phone-number:hover { background: var(--hn-paper); }
.hn-flag { width: 24px; height: 24px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px rgba(var(--hn-ink-rgb), 0.12); }
.hn-phone-country { font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--hn-muted); }
.hn-phone-digits { font-family: var(--hn-mono); font-variant-numeric: tabular-nums; }
/* The numbers inside the mobile menu: only where the header's phone is hidden. */
.hn-menu-phones { display: none; padding: 8px 0; border-top: 1px solid var(--hn-line); }
.hn-menu nav .hn-menu-phones a { padding: 10px 0; border-top: 0; font-size: 16px; }

/* Hero */
/* The first screen fills the window under the floating header (~76px), so
   the headline, the stack and the actions sit in room of their own. */
.hn-hero {
  display: grid; align-content: center;
  min-height: max(680px, calc(100svh - 76px));
  padding: clamp(48px, 7vw, 112px) 0 clamp(64px, 8vw, 128px);
}
/* The homepage's hero gives up the full window so the app-store tiles under
   it start on a laptop's first screen (1440x900). Its stack is a little
   smaller and drops from 60px rather than 420px, so neither the cards at rest
   nor the drop itself slide under the floating nav. */
.hn-hero--peek { min-height: 0; padding: clamp(88px, 7vw, 104px) 0 clamp(64px, 7vw, 104px); }
.hn-hero--peek .hn-sheet { animation-name: hn-drop-short; }
@keyframes hn-drop-short {
  from { opacity: 0; transform: translateZ(calc(var(--i) * var(--gap) + 60px)); }
}
@media (min-width: 901px) { .hn-hero--peek .hn-stage { height: clamp(380px, 38vw, 540px); --s: 0.86; } }
.hn-hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 32px; align-items: center; }
.hn-hero-title {
  font-family: var(--hn-display); font-weight: 400;
  font-size: clamp(44px, 5.6vw, 84px); line-height: 0.95; letter-spacing: -0.035em;
  margin: 0 0 40px -0.04em;
}
.hn-hero-title span, .hn-hero-title em { display: block; }
.hn-hero-title em { color: var(--hn-green); margin-top: -0.07em; }
.hn-hero-title span, .hn-hero-title em, .hn-hero-body, .hn-hero .hn-actions, .hn-hero-notes, .hn-hero .hn-eyebrow {
  animation: hn-rise 0.9s var(--hn-ease) backwards;
}
.hn-hero-title em { animation-delay: 0.08s; }
.hn-hero-body { animation-delay: 0.18s; }
.hn-hero .hn-actions { animation-delay: 0.26s; }
.hn-hero-notes { animation-delay: 0.34s; }
@keyframes hn-rise { from { opacity: 0; transform: translateY(28px); } }
.hn-hero-body { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; max-width: 520px; color: var(--hn-body); margin-bottom: 32px; }
.hn-hero-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-family: var(--hn-mono); font-size: 12.5px; color: var(--hn-muted); }
.hn-hero-notes li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hn-green); margin-right: 8px; vertical-align: 2px; }

/* The stack: five sheets in real 3D. --gap is the air between them (the
   controller closes it as the hero scrolls away), --tx/--ty the pointer tilt. */
.hn-stage { position: relative; height: clamp(420px, 46vw, 620px); perspective: 1800px; --gap: 80px; --tx: 0deg; --ty: 0deg; --s: 1; }
.hn-stage-float { position: absolute; inset: 0; transform-style: preserve-3d; animation: hn-float 9s ease-in-out infinite; }
@keyframes hn-float { 50% { transform: translateY(-10px); } }
.hn-stack {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translateY(8%) scale(var(--s)) rotateX(calc(57deg + var(--ty))) rotateZ(calc(-36deg + var(--tx)));
}
.hn-sheet, .hn-stack-shadow {
  position: absolute; left: 50%; top: 50%; width: 360px; height: 236px; margin: -118px 0 0 -180px;
}
.hn-stack-shadow {
  transform: translateZ(-46px) translate(26px, 26px); border-radius: 30px;
  background: rgba(var(--hn-ink-rgb), 0.34); filter: blur(34px);
}
.hn-sheet {
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--i) * var(--gap)));
  animation: hn-drop 1.1s var(--hn-ease) backwards;
  animation-delay: calc(0.25s + var(--i) * 0.14s);
}
/* Held back until the stage scrolls into view (hn-stack); dropping the
   animation and putting it back restarts it from the top. */
.hn-stage.is-waiting .hn-sheet, .hn-stage.is-waiting .hn-sheet-stamp { animation: none; opacity: 0; }
@keyframes hn-drop {
  from { opacity: 0; transform: translateZ(calc(var(--i) * var(--gap) + 420px)); }
}
.hn-sheet-face {
  position: absolute; inset: 0; padding: 22px 24px; border-radius: 16px;
  background: var(--hn-card); border: 1px solid rgba(var(--hn-ink-rgb), 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 3px 3px 0 rgba(var(--hn-ink-rgb), 0.07), 14px 14px 30px -14px rgba(var(--hn-ink-rgb), 0.3);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.45s var(--hn-ease);
}
.hn-sheet:hover .hn-sheet-face { transform: translateZ(22px); }
.hn-sheet-tag { font-family: var(--hn-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-green); }
.hn-sheet-title { font-family: var(--hn-display); font-size: 25px; line-height: 1.1; letter-spacing: -0.02em; margin: 6px 0 8px; }
.hn-sheet-line { font-size: 14.5px; color: var(--hn-body); padding-top: 7px; border-top: 1px solid var(--hn-line); }
.hn-sheet--response .hn-sheet-face { background: var(--hn-green-deep); border-color: rgba(255, 255, 255, 0.14); color: #F1F6F2; box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25), 18px 18px 36px -14px rgba(10, 63, 46, 0.7); }
.hn-sheet--response .hn-sheet-tag { color: var(--hn-marker); }
.hn-sheet--response .hn-sheet-line { color: rgba(241, 246, 242, 0.7); border-color: rgba(255, 255, 255, 0.14); }
.hn-sheet-stamp {
  position: absolute; right: 18px; bottom: 16px; padding: 7px 12px; border-radius: 6px;
  border: 2px solid var(--hn-marker); color: var(--hn-marker);
  font-family: var(--hn-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transform: rotate(-9deg); animation: hn-stamp 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 1.5s backwards;
}
@keyframes hn-stamp { from { opacity: 0; transform: rotate(-9deg) scale(2.2); } }

/* Proof: the connections, then three cited numbers */
.hn-proof { padding: 0 0 var(--hn-pad); }
.hn-proof-label { font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-muted); padding-top: 28px; border-top: 1px solid var(--hn-line); }
/* The apps with a marketplace listing: a tile each, opening the listing. Hover,
   focus and the press itself all turn it ink, like the industry cards. */
.hn-apps-label { font-size: 15px; font-weight: 500; color: var(--hn-body); }
.hn-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.hn a.hn-app {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; height: 100%; padding: 20px 36px;
  border-radius: 18px; background: var(--hn-card); border: 1px solid var(--hn-line); color: rgba(var(--hn-ink-rgb), 0.62);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.4s var(--hn-ease);
}
.hn a.hn-app:hover, .hn a.hn-app:focus-visible, .hn a.hn-app:active { background: var(--hn-ink); border-color: var(--hn-ink); color: var(--hn-paper); }
.hn a.hn-app:hover { transform: translateY(-3px); }
.hn a.hn-app:active { transform: translateY(0); }
.hn-app-mark { display: inline-flex; flex: none; width: 34px; height: 34px; }
.hn-app-mark svg { width: 100%; height: 100%; }
.hn-app--wordmark .hn-app-mark { width: 64px; height: 64px; margin: -15px 0; }
.hn-app-name { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.hn-app-arrow { position: absolute; top: 14px; right: 16px; font-size: 16px; line-height: 1; color: var(--hn-muted); transition: color 0.25s, transform 0.3s var(--hn-ease); }
.hn a.hn-app:is(:hover, :focus-visible, :active) .hn-app-arrow { color: var(--hn-signal); transform: translate(2px, -2px); }
/* The strip under the tiles: equal columns, so every name starts on the same
   rhythm in each row (7 across on a wide screen, 4 on a tablet, 2 on a phone). */
.hn-logos.hn-logos--grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 32px 16px; margin-top: 36px; font-size: 16px; }
.hn-logos--grid .hn-logo-mark { width: 22px; height: 22px; flex: none; }
.hn-logos--grid li, .hn-logos--grid .hn-logos-link { white-space: nowrap; }
@media (max-width: 1100px) { .hn-logos.hn-logos--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hn-logos.hn-logos--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; font-size: 15px; } }
.hn-logos--grid + .hn-stats { margin-top: clamp(96px, 12vw, 168px); }
@media (max-width: 1100px) { .hn-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hn-logos { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 22px; color: rgba(var(--hn-ink-rgb), 0.62); font-size: 15px; font-weight: 500; }
.hn-logos li { display: inline-flex; align-items: center; gap: 9px; transition: color 0.2s; }
.hn-logos li:hover { color: var(--hn-ink); }
.hn .hn-logos-link { display: inline-flex; align-items: center; gap: 9px; }
.hn-logo-mark { display: inline-flex; width: 20px; height: 20px; }
.hn-logo-mark svg { width: 100%; height: 100%; }
.hn-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--hn-ink); }
.hn-stat { padding: 28px 32px 0 0; }
.hn-stat + .hn-stat { padding-left: 32px; border-left: 1px solid var(--hn-line); }
.hn-stat-value { font-family: var(--hn-mono); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -0.04em; line-height: 1; }
.hn-stat-text { margin: 16px 0 12px; font-size: 15.5px; color: var(--hn-body); }
.hn a.hn-stat-source { font-family: var(--hn-mono); font-size: 12px; color: var(--hn-muted); border-bottom: 1px solid var(--hn-line); }

/* Story: the steps scroll, the case window stays */
.hn-story { background: var(--hn-night); color: var(--hn-on-night); padding: var(--hn-pad) 0; }
.hn-story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.hn-story-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; align-self: start; grid-column: 2; grid-row: 1; }
.hn-steps { padding: 12vh 0 20vh; grid-column: 1; grid-row: 1; }
.hn-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s; padding-left: 24px; border-left: 1px solid var(--hn-night-line); position: relative; }
.hn-step::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--hn-signal); transform: scaleY(0); transform-origin: top; transition: transform 0.6s var(--hn-ease); }
.hn-step.is-active { opacity: 1; }
.hn-step.is-active::before { transform: scaleY(1); }
.hn-step-index { font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-signal); }
.hn-step-title { font-family: var(--hn-display); font-weight: 400; font-size: clamp(28px, 3.1vw, 42px); line-height: 1.08; letter-spacing: -0.02em; margin: 16px 0 14px; text-wrap: balance; }
.hn-step-body { color: var(--hn-on-night-body); max-width: 440px; }
/* The step's own copy of its scene, drawn only once the window stops pinning. */
.hn-step-case { display: none; }

.hn-case {
  width: 100%; border-radius: 18px; overflow: hidden;
  background: var(--hn-night-2); border: 1px solid var(--hn-night-line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(43, 217, 138, 0.04), 0 0 120px -40px rgba(43, 217, 138, 0.25);
  font-size: 15px;
}
.hn-case-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--hn-night-line); font-family: var(--hn-mono); font-size: 12px; color: var(--hn-on-night-muted); }
.hn-case-dots { display: inline-flex; gap: 6px; }
.hn-case-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(237, 242, 238, 0.16); }
.hn-case-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--hn-night-line); }
.hn-case-tag { display: block; font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-on-night-muted); }
.hn-case-amount { font-family: var(--hn-mono); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.04em; line-height: 1.1; }
.hn-case-deadline { text-align: right; font-family: var(--hn-mono); }
.hn-case-deadline span { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-on-night-muted); }
.hn-case-deadline strong { font-weight: 500; font-size: 17px; color: var(--hn-signal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hn-case-body { position: relative; height: 330px; }
.hn-scene { position: absolute; inset: 0; padding: 24px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.4s, transform 0.5s var(--hn-ease), visibility 0s 0.4s; }
.hn-scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s 0.1s, transform 0.6s var(--hn-ease) 0.1s; }
.hn-case-rail { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); border-top: 1px solid var(--hn-night-line); font-family: var(--hn-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.hn-case-rail span { padding: 12px 0; text-align: center; color: var(--hn-on-night-muted); border-top: 2px solid transparent; margin-top: -1px; transition: color 0.3s, border-color 0.3s; }
.hn-case-rail span.is-done { color: var(--hn-on-night-body); border-color: rgba(43, 217, 138, 0.35); }
.hn-case-rail span.is-active { color: var(--hn-signal); border-color: var(--hn-signal); }

/* Every in-scene entrance waits for its scene to be the active one. */
.hn-scene [style*="--i"] { opacity: 0; transform: translateY(10px); }
.hn-scene.is-active [style*="--i"] { opacity: 1; transform: none; transition: opacity 0.45s calc(0.2s + var(--i) * 0.11s), transform 0.55s var(--hn-ease) calc(0.2s + var(--i) * 0.11s); }

.hn-arrive { display: flex; flex-direction: column; gap: 4px; }
.hn-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--hn-signal); box-shadow: 0 0 0 0 rgba(43, 217, 138, 0.6); animation: hn-pulse 1.8s infinite; margin-bottom: 14px; }
@keyframes hn-pulse { to { box-shadow: 0 0 0 16px rgba(43, 217, 138, 0); } }
.hn-arrive-title { font-family: var(--hn-display); font-size: 30px; letter-spacing: -0.02em; }
.hn-arrive-sub { color: var(--hn-on-night-body); margin-bottom: 18px; }
.hn-arrive-row, .hn-rows li, .hn-log li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hn-night-line); }
.hn-arrive-row { justify-content: space-between; font-family: var(--hn-mono); font-size: 13px; color: var(--hn-on-night-body); }
.hn-rows li { padding: 10px 0; }
.hn-rows li:first-child, .hn-log li:first-child { border-top: 0; }
.hn-src { flex: none; width: 132px; font-family: var(--hn-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hn-on-night-muted); }
.hn-tick, .hn-check { flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(43, 217, 138, 0.14); position: relative; }
.hn-tick { margin-left: auto; }
.hn-tick::after, .hn-check::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid var(--hn-signal); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.hn-verdict-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hn-verdict-options span { padding: 22px 12px; text-align: center; border-radius: 12px; border: 1px solid var(--hn-night-line); font-family: var(--hn-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-on-night-muted); }
.hn-scene.is-active .hn-verdict-options .is-chosen { background: var(--hn-signal); color: var(--hn-night); border-color: var(--hn-signal); font-weight: 600; box-shadow: 0 0 40px -8px rgba(43, 217, 138, 0.7); transition: background 0.4s 0.5s, color 0.4s 0.5s, box-shadow 0.6s 0.5s; }
.hn-verdict-reasons { margin-top: 22px; }
.hn-verdict-reasons li { padding: 11px 0 11px 22px; border-top: 1px solid var(--hn-night-line); position: relative; color: var(--hn-on-night-body); }
.hn-verdict-reasons li::before { content: "+"; position: absolute; left: 0; font-family: var(--hn-mono); color: var(--hn-signal); }

.hn-doc { height: 100%; padding: 20px 22px; border-radius: 10px; background: var(--hn-card); color: var(--hn-ink); font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.hn-doc-head, .hn-doc-foot { font-family: var(--hn-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-green); }
.hn-doc-foot { margin-top: auto; color: var(--hn-muted); }
.hn-doc mark { color: inherit; background: linear-gradient(var(--hn-marker), var(--hn-marker)) no-repeat 0 60% / 0% 78%; padding: 0 1px; }
.hn-scene.is-active .hn-doc mark { background-size: 100% 78%; transition: background-size 0.7s var(--hn-ease) 0.9s; }

.hn-log li { font-size: 14.5px; }
.hn-log-at { font-family: var(--hn-mono); font-size: 12.5px; color: var(--hn-on-night-muted); width: 46px; }
.hn-log-who { font-family: var(--hn-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hn-signal); width: 96px; }
.hn-hold { margin-top: 26px; height: 8px; border-radius: 999px; background: rgba(237, 242, 238, 0.1); overflow: hidden; }
.hn-hold-bar { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--hn-signal); }
.hn-scene.is-active .hn-hold-bar { width: 100%; transition: width 2.4s linear 0.6s; }
.hn-hold-label { margin-top: 10px; font-family: var(--hn-mono); font-size: 12px; color: var(--hn-on-night-muted); }

.hn-filed { height: 100%; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.hn-filed-stamp { padding: 14px 22px; border: 3px solid var(--hn-signal); border-radius: 10px; color: var(--hn-signal); font-family: var(--hn-mono); font-weight: 600; font-size: 30px; letter-spacing: 0.14em; text-transform: uppercase; transform: rotate(-8deg) scale(2); opacity: 0; }
.hn-scene.is-active .hn-filed-stamp { transform: rotate(-8deg); opacity: 1; transition: transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.25s, opacity 0.2s 0.25s; }
.hn-filed-rows > div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--hn-night-line); font-family: var(--hn-mono); font-size: 14px; color: var(--hn-on-night-body); }
.hn-filed-rows > div:first-child { border-top: 0; }
.hn-filed-rows strong { font-weight: 500; color: var(--hn-on-night); }
.hn-filed-rows .is-highlight, .hn-filed-rows .is-highlight strong { color: var(--hn-signal); }

/* Evidence bento */
.hn-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hn-cell {
  grid-column: span 2; display: flex; flex-direction: column; gap: 28px; justify-content: space-between;
  padding: 30px; border-radius: 22px; background: var(--hn-card); border: 1px solid var(--hn-line);
  transition: transform 0.5s var(--hn-ease), box-shadow 0.5s var(--hn-ease), border-color 0.3s;
}
.hn-cell:hover { transform: translateY(-4px); border-color: rgba(var(--hn-ink-rgb), 0.24); box-shadow: 0 30px 50px -36px rgba(var(--hn-ink-rgb), 0.55); }
.hn-cell--wide { grid-column: span 4; }
.hn-cell h3 { font-family: var(--hn-display); font-weight: 400; font-size: 27px; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 12px; text-wrap: balance; }
.hn-cell-copy p { color: var(--hn-body); font-size: 16px; max-width: 520px; }
.hn-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hn-ink); }
.hn-kv > div { padding: 14px 14px 0 0; }
.hn-kv dt { font-family: var(--hn-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-muted); }
.hn-kv dd { font-family: var(--hn-mono); font-size: 14.5px; margin-top: 4px; }
.hn-match { width: 100%; border-collapse: collapse; font-family: var(--hn-mono); font-size: 13px; }
.hn-match th { font-weight: 500; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hn-muted); text-align: center; padding: 0 0 10px; }
.hn-match th:first-child, .hn-match td:first-child { text-align: left; }
.hn-match td { padding: 12px 0; border-top: 1px solid var(--hn-line); text-align: center; }
.hn-match .hn-check { display: inline-block; background: rgba(14, 107, 74, 0.12); vertical-align: middle; }
.hn-match .hn-check::after { border-color: var(--hn-green); }
.hn-match-foot { margin-top: 16px; padding: 10px 14px; border-radius: 8px; background: var(--hn-marker); font-family: var(--hn-mono); font-size: 12.5px; }
.hn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hn-chips li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--hn-line); font-family: var(--hn-mono); font-size: 12.5px; }
.hn-quote { font-family: var(--hn-display); font-style: italic; font-size: 24px; line-height: 1.2; }
.hn-quote footer { margin-top: 12px; font-family: var(--hn-mono); font-style: normal; font-size: 12px; color: var(--hn-amber); }

/* Between disputes */
.hn-guard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hn-ratio, .hn-gcard { padding: 30px; border-radius: 22px; background: var(--hn-card); border: 1px solid var(--hn-line); }
.hn-ratio { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(28px, 4vw, 48px); }
.hn-ratio > .hn-label, .hn-ratio > h3, .hn-ratio > p:not(.hn-ratio-reading) { grid-column: 1; }
.hn-ratio-picker, .hn-gauge, .hn-ratio-reading { grid-column: 2; }
.hn-ratio-picker { grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 8px; align-self: start; }
.hn-gauge { grid-row: 3; }
.hn-ratio h3, .hn-gcard h3 { font-family: var(--hn-display); font-weight: 400; font-size: 27px; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 12px; text-wrap: balance; }
.hn-ratio h3 { font-size: clamp(28px, 3vw, 38px); }
.hn-ratio > p, .hn-gcard > p { color: var(--hn-body); font-size: 16px; }
.hn-ratio-picker input { position: absolute; opacity: 0; pointer-events: none; }
.hn-ratio-picker span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--hn-line); font-family: var(--hn-mono); font-size: 13px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.hn-ratio-picker b { font-weight: 500; opacity: 0.6; }
.hn-ratio-picker input:checked + span { background: var(--hn-ink); color: var(--hn-paper); border-color: var(--hn-ink); }
.hn-gauge { --t: var(--t-stripe); align-self: end; padding-top: 44px; }
.hn-ratio:has(input[value="vamp"]:checked) .hn-gauge { --t: var(--t-vamp); }
.hn-gauge-track { position: relative; height: 56px; border-radius: 12px; background: linear-gradient(90deg, rgba(14, 107, 74, 0.1), rgba(14, 107, 74, 0.1) var(--t), rgba(201, 138, 27, 0.16) var(--t)); }
.hn-gauge-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--now); border-radius: 12px 0 0 12px; background: var(--hn-green); }
.hn-gauge-line { position: absolute; top: -10px; bottom: -10px; left: var(--t); width: 2px; background: var(--hn-amber); transition: left 0.7s var(--hn-ease); }
.hn-gauge-now { position: absolute; left: var(--now); bottom: calc(100% + 10px); transform: translateX(-50%); font-family: var(--hn-mono); font-size: 20px; }
.hn-gauge-now::after { content: ""; position: absolute; left: 50%; top: 100%; height: 8px; width: 1px; background: var(--hn-ink); }
.hn-gauge-now b { font-weight: 500; }
.hn-gauge-scale { display: flex; justify-content: space-between; margin-top: 16px; font-family: var(--hn-mono); font-size: 12px; color: var(--hn-muted); }
.hn-ratio-reading { display: none; margin-top: 18px; font-family: var(--hn-mono); font-size: 14px; }
.hn-ratio-reading strong { font-weight: 500; color: var(--hn-green); }
.hn-ratio:has(input[value="stripe"]:checked) .hn-ratio-reading[data-for="stripe"],
.hn-ratio:has(input[value="vamp"]:checked) .hn-ratio-reading[data-for="vamp"] { display: block; }
.hn-bands { margin-top: 22px; }
.hn-bands li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--hn-line); font-family: var(--hn-mono); font-size: 13px; }
.hn-band { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.hn-band--low { background: rgba(14, 107, 74, 0.12); color: var(--hn-green); }
.hn-band--medium { background: rgba(201, 138, 27, 0.16); color: #8A5D0C; }
.hn-band--high { background: var(--hn-ink); color: var(--hn-paper); }

/* Control */
.hn-control { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hn-mode { padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--hn-night-2); border: 1px solid var(--hn-night-line); }
.hn-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(237, 242, 238, 0.08); }
.hn-switch input { position: absolute; opacity: 0; pointer-events: none; }
.hn-switch span { display: block; padding: 10px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--hn-on-night-body); cursor: pointer; transition: background 0.25s, color 0.25s; }
.hn-switch input:checked + span { background: var(--hn-signal); color: var(--hn-night); }
.hn-switch input:focus-visible + span { outline-color: var(--hn-signal); }
.hn-mode-panel { display: none; }
.hn-mode:has(input[value="review"]:checked) .hn-mode-panel[data-mode="review"],
.hn-mode:has(input[value="autopilot"]:checked) .hn-mode-panel[data-mode="autopilot"] { display: block; }
.hn-mode-body { margin: 24px 0 30px; font-size: 18px; color: var(--hn-on-night-body); min-height: 3.1em; }
.hn-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.hn-track::before { content: ""; position: absolute; left: 6px; right: 25%; top: 6px; height: 1px; background: var(--hn-night-line); }
.hn-track li { display: flex; flex-direction: column; gap: 12px; padding-right: 12px; font-family: var(--hn-mono); font-size: 12.5px; color: var(--hn-on-night-body); animation: hn-rise 0.6s var(--hn-ease) backwards; animation-delay: calc(var(--i) * 0.12s); }
.hn-track-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--hn-night-2); border: 2px solid var(--hn-signal); position: relative; }
.hn-track li:last-child .hn-track-dot { background: var(--hn-signal); box-shadow: 0 0 18px rgba(43, 217, 138, 0.7); }
.hn-points li { padding: 22px 0; border-top: 1px solid var(--hn-night-line); }
.hn-points li:first-child { border-top: 0; padding-top: 0; }
.hn-points h3 { font-family: var(--hn-display); font-weight: 400; font-size: 23px; letter-spacing: -0.015em; margin-bottom: 6px; }
.hn-points p { color: var(--hn-on-night-body); font-size: 16px; }

.hn-windows { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: var(--hn-pad); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--hn-night-line); }
.hn-windows-title { font-family: var(--hn-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 16px 0; text-wrap: balance; }
.hn-windows-copy > p:not(.hn-eyebrow) { color: var(--hn-on-night-body); max-width: 560px; }
.hn-clocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hn-clock { position: relative; text-align: center; }
.hn-clock svg { width: 100%; max-width: 190px; transform: rotate(-90deg); }
.hn-clock circle { fill: none; stroke-width: 5; }
.hn-clock-track { stroke: rgba(237, 242, 238, 0.1); }
.hn-clock-arc { stroke: var(--hn-signal); stroke-linecap: round; stroke-dasharray: calc(var(--share) * 100) 100; animation: hn-arc 6s linear infinite alternate; }
@keyframes hn-arc { to { stroke-dasharray: 0 100; } }
.hn-clock-face { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; max-height: 190px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hn-clock-face strong { font-family: var(--hn-mono); font-weight: 500; font-size: 34px; letter-spacing: -0.04em; }
.hn-clock-face span, .hn-clock p { font-family: var(--hn-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hn-on-night-muted); }
.hn-clock p { margin-top: 10px; }

/* Pricing */
.hn-footnote { font-size: 13px; color: var(--hn-muted); }
.hn-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--hn-ink); }
.hn-plans:has(.hn-plan:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hn-plan { padding: 28px 32px 0 0; }
.hn-plan + .hn-plan { padding-left: 32px; border-left: 1px solid var(--hn-line); }
.hn-plan strong { display: block; font-family: var(--hn-mono); font-weight: 500; font-size: clamp(36px, 4vw, 54px); letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; }
.hn-plan p { color: var(--hn-body); font-size: 15.5px; }

/* Industries, FAQ, final CTA */
.hn-industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.hn a.hn-industry { position: relative; display: block; padding: 26px 26px 60px; border-radius: 22px; background: var(--hn-card); border: 1px solid var(--hn-line); transition: background 0.3s, color 0.3s, transform 0.5s var(--hn-ease); }
.hn-industry h3 { font-family: var(--hn-display); font-weight: 400; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px; }
.hn-industry p { font-size: 15.5px; color: var(--hn-body); transition: color 0.3s; }
.hn-industry span { position: absolute; left: 26px; bottom: 22px; font-size: 20px; transition: transform 0.4s var(--hn-ease); }
.hn a.hn-industry:hover { background: var(--hn-ink); color: var(--hn-paper); transform: translateY(-4px); }
.hn-industry:hover p { color: rgba(244, 241, 234, 0.7); }
.hn-industry:hover span { transform: translateX(8px); }
/* The guides block reuses the industry cards, with a post's title in place of
   a two-word segment name — so the title steps down a size. */
.hn-guides .hn-industry h3 { font-size: 21px; line-height: 1.2; }
.hn-guides .hn-industry p { font-size: 14.5px; }
.hn-guides + .hn-link { margin-top: 24px; }

.hn-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); }
.hn-faq-grid .hn-head { margin-bottom: 0; position: sticky; top: 110px; align-self: start; }
.hn-faq details { border-top: 1px solid var(--hn-line); }
.hn-faq details:last-child { border-bottom: 1px solid var(--hn-line); }
.hn-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; }
.hn-faq summary::-webkit-details-marker { display: none; }
.hn-faq summary::after { content: "+"; flex: none; font-family: var(--hn-mono); font-size: 22px; line-height: 1; color: var(--hn-green); transition: transform 0.3s var(--hn-ease); }
.hn-faq details[open] summary::after { transform: rotate(45deg); }
.hn-faq details p { padding: 0 48px 24px 0; color: var(--hn-body); }

/* The closing band on every public page (shared/_cta_band): the headline
   on the left, two action cards on the right — the page's primary action on
   the night card, contact sales on the paper one. Paper, so the dark footer
   under it reads as the page's end and the band as its last word. */
.hn-cta { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--hn-line); }
.hn-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px clamp(40px, 6vw, 96px); }
.hn-cta-title { font-family: var(--hn-display); font-weight: 400; font-size: clamp(40px, 5.2vw, 76px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.hn-cta-title > span, .hn-cta-title > em { display: block; }
.hn-cta-title em { color: var(--hn-green); }
.hn-cta-title--long { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.04; max-width: 16em; }
.hn-cta-body { margin-top: 20px; max-width: 460px; font-size: 18px; color: var(--hn-body); }
.hn-cta-actions { display: grid; grid-template-columns: repeat(2, 236px); gap: 16px; }
.hn .hn-cta-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 150px; padding: 20px 22px 22px; border-radius: 20px;
  font-size: 21px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.3s var(--hn-ease), box-shadow 0.3s var(--hn-ease), border-color 0.2s;
}
.hn .hn-cta-card--primary { background: var(--hn-night); color: var(--hn-on-night); box-shadow: 0 24px 40px -28px rgba(11, 17, 14, 0.9); }
.hn .hn-cta-card--sales { background: var(--hn-card); color: var(--hn-ink); border-color: var(--hn-line); }
.hn .hn-cta-card:hover { transform: translateY(-4px); }
.hn .hn-cta-card--sales:hover { border-color: rgba(var(--hn-ink-rgb), 0.3); box-shadow: 0 24px 40px -30px rgba(var(--hn-ink-rgb), 0.45); }
.hn .hn-cta-card:focus-visible { outline: 2px solid var(--hn-green); outline-offset: 3px; }
.hn-cta-arrow { align-self: flex-end; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: transform 0.3s var(--hn-ease); }
.hn-cta-card--primary .hn-cta-arrow { background: var(--hn-signal); color: var(--hn-night); }
.hn-cta-card--sales .hn-cta-arrow { background: var(--hn-green); color: #fff; }
.hn-cta-card:hover .hn-cta-arrow { transform: rotate(45deg); }
@media (max-width: 900px) {
  .hn-cta-grid { grid-template-columns: minmax(0, 1fr); }
  .hn-cta-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hn-cta-actions { gap: 12px; }
  .hn .hn-cta-card { min-height: 132px; padding: 16px 16px 18px; font-size: 18px; border-radius: 18px; }
  .hn-cta-arrow { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .hn .hn-cta-card, .hn-cta-arrow { transition: none; }
  .hn .hn-cta-card:hover, .hn-cta-card:hover .hn-cta-arrow { transform: none; }
}

/* Scroll-driven polish, only where the browser draws it off the main thread.
   Each block rises into place as it enters; nothing depends on it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hn-cell, .hn-gcard, .hn-ratio, .hn-stat, .hn-plan, .hn-industry, .hn-deal {
      animation: hn-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
    @keyframes hn-enter { from { opacity: 0; translate: 0 36px; } }
  }
}

@media (max-width: 1000px) {
  .hn-nav-links { display: none; }
  .hn-menu { display: block; order: 3; margin-left: 0; }
  .hn-nav-inner { gap: 8px; padding-right: 6px; }
  .hn-nav-actions { margin-left: auto; }
  .hn-hero-grid, .hn-control, .hn-windows, .hn-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hn-faq-grid .hn-head { position: static; }
  .hn-stage { height: 420px; --s: 0.82; }
  .hn-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-cell, .hn-cell--wide { grid-column: span 2; }
  .hn-guard-grid, .hn-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-ratio { grid-template-columns: minmax(0, 1fr); }
  .hn-ratio > *, .hn-ratio-picker, .hn-gauge, .hn-ratio-reading { grid-column: 1; grid-row: auto; }
  .hn-ratio-picker { margin-top: 24px; }
  .hn-gauge { margin-top: 28px; }

  /* Nothing pins: a pinned window would cover the steps on a phone. Each step
     shows its own scene on a card under its text, sized to what's on it. */
  .hn-story-grid { display: block; }
  .hn-story-stage { display: none; }
  .hn-steps { padding: 0; }
  .hn-step { min-height: 0; opacity: 1; padding-top: 32px; padding-bottom: 48px; }
  .hn-step:last-child { padding-bottom: 8px; }
  .hn-step-case { display: block; margin-top: 26px; }
  .hn-step-case .hn-scene { position: static; opacity: 1; visibility: visible; transform: none; transition: none; }
  .hn-case-head { padding: 14px 18px; }
  .hn-scene { padding: 16px 18px; }
}

@media (max-width: 640px) {
  .hn { font-size: 16px; }
  .hn-nav { padding-top: 10px; }
  .hn-nav-signin { display: none; }
  .hn-nav-actions .hn-phone { display: none; }
  .hn-menu-phones { display: block; }
  .hn-hero-title { font-size: clamp(34px, 10.5vw, 46px); }
  .hn-actions .hn-btn { flex: 1 1 100%; }
  .hn-stage { height: 340px; --s: 0.6; --gap: 54px; }
  .hn-stats, .hn-plans, .hn-plans:has(.hn-plan:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
  .hn-stat, .hn-plan, .hn-stat + .hn-stat, .hn-plan + .hn-plan { padding: 24px 0; border-left: 0; }
  .hn-stat + .hn-stat, .hn-plan + .hn-plan { border-top: 1px solid var(--hn-line); }
  .hn-logos { gap: 12px 20px; font-size: 14px; }
  .hn-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hn a.hn-app { flex-direction: column; gap: 12px; padding: 18px 28px; }
  .hn-app-mark { width: 28px; height: 28px; }
  .hn-app--wordmark .hn-app-mark { width: 52px; height: 52px; margin: -12px 0; }
  .hn-app-name { font-size: 17px; }
  .hn-cell, .hn-ratio, .hn-gcard { padding: 22px; }
  .hn-guard-grid, .hn-industries { grid-template-columns: minmax(0, 1fr); }
  .hn-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 6px; }
  .hn-case-deadline strong { font-size: 14px; }
  .hn-rows li { padding: 7px 0; font-size: 13.5px; }
  .hn-src { width: 68px; font-size: 10px; }
  .hn-doc { font-size: 13px; line-height: 1.45; padding: 14px 16px; gap: 7px; }
  .hn-verdict-options span { padding: 14px 4px; font-size: 10.5px; }
  .hn-filed { grid-template-columns: minmax(0, 1fr); gap: 12px; justify-items: start; }
  .hn-filed-stamp { font-size: 20px; padding: 8px 14px; }
  .hn-filed-rows { width: 100%; }
  .hn-filed-rows > div { padding: 7px 0; }
  .hn-log-who { width: 84px; }
  .hn-track { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hn-track::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .hn-track li { flex-direction: row; align-items: center; }
  .hn-track-dot { flex: none; }
  .hn-faq summary { font-size: 17px; }
  .hn-faq details p { padding-right: 0; }
}

/* ---------------------------------------------------------------------------
   Product pages. The same system; what's new is below.
   --------------------------------------------------------------------------- */

/* Hero: the page's headline beside its own calculator */
.hn-shero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hn-shero-title {
  font-family: var(--hn-display); font-weight: 400;
  font-size: clamp(40px, 5.3vw, 80px); line-height: 0.98; letter-spacing: -0.035em;
  margin: 24px 0 28px; text-wrap: balance;
}
.hn-shero-title span, .hn-shero-title em { display: block; animation: hn-rise 0.9s var(--hn-ease) backwards; }
.hn-shero-title em { color: var(--hn-green); animation-delay: 0.08s; }
.hn-shero-callout { margin: -12px 0 28px; padding-left: 16px; border-left: 2px solid var(--hn-green); color: var(--hn-body); max-width: 520px; }
.hn-shero-platforms { margin-top: 24px; font-family: var(--hn-mono); font-size: 12.5px; color: var(--hn-muted); }
.hn-shero-platform-list { margin-top: 24px; display: grid; gap: 10px; max-width: 600px; }
.hn-shero-platform-list .hn-shero-platforms { margin-top: 0; }
.hn-shero-platform-list ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hn-shero-platform-list li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border: 1px solid var(--hn-line); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--hn-ink); }
.hn-shero-platform-list .hn-logo-mark { width: 15px; height: 15px; }
/* The wordmark glyphs (Woo, Wix) fill only the middle band of their box. */
.hn-shero-platform-list .hn-logo-mark:has(.app-console-provider-icon--wide) { width: 22px; height: 22px; margin: -4px 0; }
.hn-shero-platform-list li.is-icon-only { padding: 5px 12px; }
.hn-shero-platform-list li.is-icon-only .hn-logo-mark { width: 30px; height: 30px; margin: -8px 0; }
/* Affirm's arc-over-wordmark sits small in its box; it needs more room to read. */
.hn-shero-platform-list li[data-platform="affirm"] .hn-logo-mark { width: 46px; height: 46px; margin: -16px -4px; }
.hn-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* What it costs today — losses, so the one place red belongs. */
.hn-pains { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--hn-line); display: grid; gap: 10px; max-width: 520px; }
.hn-pains li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--hn-body); }
.hn-pains li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--hn-red); }

/* The calculator: the live partial and controller, in a dark instrument case
   on the paper. Its own styles (03_components) already draw a dark card. */
.hn-tool { animation: hn-rise 1s var(--hn-ease) 0.2s backwards; }
.hn-tool-label { font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-muted); margin-bottom: 14px; }
.hn-tool .calc-card {
  border-radius: 22px; border-color: transparent; font-family: var(--hn-sans); background: var(--hn-night-2);
  box-shadow: 0 40px 70px -40px rgba(var(--hn-ink-rgb), 0.75), 0 0 0 1px rgba(var(--hn-ink-rgb), 0.9);
}
.hn-tool .calc-panel-left, .hn-tool .calc-panel-right { background: transparent; padding: 28px 30px; }
.hn-tool .calc-label { font-family: var(--hn-mono); }
.hn-tool .calc-big-value { font-family: var(--hn-mono); font-weight: 500; letter-spacing: -0.04em; font-size: clamp(40px, 4.4vw, 60px); margin-bottom: 18px; }
.hn-tool .calc-verdict { margin-bottom: 22px; }
.hn-tool .calc-cta { border-radius: 999px; font-family: var(--hn-sans); }

.hn-proof--bare { padding-bottom: clamp(56px, 8vw, 104px); }
.hn-stats--tight { margin-top: 22px; }
.hn-section--snug { padding: clamp(48px, 7vw, 88px) 0; }

/* Us against Stripe Smart Disputes */
.hn-compare { margin-top: 26px; border-top: 1px solid var(--hn-ink); }
.hn-compare-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--hn-line); align-items: baseline; }
.hn-compare-row > :first-child { font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-muted); }
.hn-compare-row--head { padding: 16px 0; font-weight: 600; }
.hn-compare-them { color: var(--hn-body); }
.hn-compare-row--head .hn-compare-them { color: var(--hn-red); }
.hn-compare-us { font-weight: 600; }
.hn-compare-row--head .hn-compare-us, .hn-compare-row:nth-child(2) .hn-compare-us { color: var(--hn-green); }
.hn-compare-row:nth-child(2) > :not(:first-child) { font-family: var(--hn-mono); font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.04em; font-weight: 500; }
.hn-compare-row:nth-child(2) .hn-compare-them { color: var(--hn-red); }

/* Engine, in its three shapes */
.hn-rows--plain li { justify-content: space-between; }
.hn-rows--tall li { padding: 18px 0; font-size: 16px; }
.hn-verdict-options--two { grid-template-columns: repeat(2, 1fr); }
.hn-filed-rows > div > span:only-child, .hn-filed-rows > div > strong:only-child { font-family: var(--hn-sans); font-size: 15px; line-height: 1.45; }
.hn-filed-rows .is-highlight > strong:only-child { font-family: var(--hn-mono); font-size: 19px; }

.hn-fold { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(24px, 4vw, 48px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--hn-night-line); }
.hn-fold .hn-eyebrow { color: var(--hn-signal); }
.hn-fold-title { font-family: var(--hn-display); font-weight: 400; font-size: clamp(28px, 3.1vw, 42px); line-height: 1.08; letter-spacing: -0.02em; margin: 16px 0 14px; }
/* The outcome line is written in capitals for the live replay's badge. */
.hn-fold-title { text-transform: lowercase; }
.hn-fold-title::first-letter { text-transform: uppercase; }
.hn-fold-copy > p:last-child { color: var(--hn-on-night-body); max-width: 440px; }
.hn-fold-card { border-radius: 18px; background: var(--hn-night-2); border: 1px solid var(--hn-night-line); padding: 8px 24px 12px; font-size: 15px; }
.hn-fold-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--hn-mono); font-size: 13px; color: var(--hn-on-night-body); }
.hn-fold-head strong { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--hn-on-night-muted); font-weight: 500; letter-spacing: 0.1em; color: var(--hn-on-night); }
.hn-fold-card li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--hn-night-line); color: var(--hn-on-night-body); }
.hn-fold-card li::before { position: absolute; left: 0; font-family: var(--hn-mono); }
.hn-fold-card .is-signal::before { content: "–"; color: var(--hn-on-night-muted); }
.hn-fold-card .is-action { color: var(--hn-on-night); }
.hn-fold-card .is-action::before { content: "→"; color: var(--hn-signal); }

.hn-stepcards { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hn-night-line); }
.hn-stepcards li { padding: 28px 28px 8px 0; }
.hn-stepcards li + li { padding-left: 28px; border-left: 1px solid var(--hn-night-line); }
.hn-stepcards .hn-step-title { font-size: clamp(22px, 2vw, 28px); }
.hn-stepcards .hn-step-body { font-size: 15.5px; }

.hn-case--still { max-width: 720px; }
.hn-case--still .hn-case-head { align-items: center; }
.hn-rows--still { padding: 8px 24px 14px; font-family: var(--hn-mono); font-size: 13px; letter-spacing: 0.04em; }
.hn-filed-stamp--still { opacity: 1; transform: rotate(-6deg); font-size: 16px; padding: 8px 14px; border-width: 2px; }

/* The digital page's second calculator */
.hn-recovery { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: var(--hn-card); border: 1px solid var(--hn-line); }
.hn-recovery-copy { margin-top: 14px; font-size: 19px; line-height: 1.6; color: var(--hn-body); }
.hn-recovery-copy input { width: 92px; border: 0; border-bottom: 2px solid var(--hn-green); background: transparent; font: 500 19px var(--hn-mono); color: var(--hn-ink); padding: 0; }
.hn-recovery-copy input:focus { outline: none; background: var(--hn-marker); }
.hn-recovery-copy b { font-family: var(--hn-mono); font-weight: 500; color: var(--hn-ink); background: var(--hn-marker); padding: 1px 6px; border-radius: 4px; }
.hn-recovery-copy s { font-family: var(--hn-mono); color: var(--hn-muted); }
.hn-recovery-figure strong { display: block; font-family: var(--hn-mono); font-weight: 500; font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -0.04em; line-height: 1; }
.hn-recovery-quote { font-family: var(--hn-display); font-style: italic; font-size: 21px; line-height: 1.3; padding-left: 24px; border-left: 1px solid var(--hn-line); }
.hn-recovery-quote .hn-label { font-style: normal; }

/* Products */
.hn-pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hn-pcard { display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: var(--hn-card); border: 1px solid var(--hn-line); transition: transform 0.5s var(--hn-ease), box-shadow 0.5s var(--hn-ease); }
.hn-pcard:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(var(--hn-ink-rgb), 0.55); }
.hn-pcard h3 { font-family: var(--hn-display); font-weight: 400; font-size: 27px; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 12px; text-wrap: balance; }
.hn-pcard > p { color: var(--hn-body); font-size: 16px; margin-bottom: 28px; }
.hn-pcard--lead { background: var(--hn-green-deep); color: #F1F6F2; border-color: transparent; }
.hn-pcard--lead .hn-label { color: var(--hn-marker); }
.hn-pcard--lead > p { color: rgba(241, 246, 242, 0.72); }
.hn-pcard-foot { margin-top: auto; }
.hn-pcard-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--hn-line); font-family: var(--hn-mono); font-size: 13px; color: var(--hn-muted); }
.hn-pcard-row b { font-weight: 500; color: var(--hn-ink); text-align: right; }
.hn-pcard-row.is-highlight b { color: var(--hn-green); }
.hn-pcard--lead .hn-pcard-row { border-color: rgba(255, 255, 255, 0.16); color: rgba(241, 246, 242, 0.6); }
.hn-pcard--lead .hn-pcard-row b { color: #F1F6F2; }
.hn-pcard--lead .hn-pcard-row.is-highlight b { color: var(--hn-signal); }
.hn-pcard-row b.hn-tone--green { color: var(--hn-green); }
.hn-pcard-row b.hn-tone--amber { color: var(--hn-amber); }
.hn-pcard-row b.hn-tone--red { color: var(--hn-red); }
.hn-pcard--lead .hn-pcard-row b.hn-tone--green { color: var(--hn-signal); }
.hn-pcard--lead .hn-pcard-row b.hn-tone--amber { color: #F0B95A; }
.hn-mini-gauge { position: relative; height: 6px; border-radius: 3px; margin: 6px 0 10px; background: linear-gradient(90deg, var(--hn-green), var(--hn-amber) 78%, var(--hn-red)); opacity: 0.9; }
.hn-mini-gauge i { position: absolute; top: -5px; width: 3px; height: 16px; border-radius: 2px; background: var(--hn-ink); }
.hn-pcard--lead .hn-mini-gauge i { background: #fff; }
.hn-mini-scale { display: flex; justify-content: space-between; font-family: var(--hn-mono); font-size: 11.5px; color: var(--hn-muted); }
.hn-integrations { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(36px, 5vw, 64px); }
.hn-integrations .hn-proof-label { padding: 0; border: 0; }
.hn-chips--soon li { border-style: dashed; color: var(--hn-muted); }

/* Evidence list and long-form copy */
.hn-reading { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hn-reading > :only-child { grid-column: 1 / -1; max-width: 760px; }
.hn-reading-aside { position: sticky; top: 110px; }
.hn-chips--stack { margin: 20px 0 28px; }
.hn-chips--stack li { background: var(--hn-card); }
.hn-prose h2 { font-family: var(--hn-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 28px; text-wrap: balance; }
.hn-prose p { color: var(--hn-body); font-size: 17.5px; line-height: 1.65; }
.hn-prose p + p { margin-top: 20px; }

/* Crypto's review form: the live form, on the night band it was drawn for */
.hn-qualify .hero-tool-anchor { padding: 0; background: none; }
.hn-qualify .qualify-card { border-radius: 22px; background: var(--hn-night-2); border-color: var(--hn-night-line); font-family: var(--hn-sans); }
.hn-qualify .qualify-title { font-family: var(--hn-display); font-weight: 400; font-size: 34px; letter-spacing: -0.02em; }


@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hn-pcard, .hn-compare-row, .hn-recovery, .hn-stepcards li, .hn-fold-card {
      animation: hn-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
  }
}

@media (max-width: 1000px) {
  .hn-shero-grid, .hn-fold, .hn-reading, .hn-recovery { grid-template-columns: minmax(0, 1fr); }
  .hn-reading-aside { position: static; }
  .hn-recovery-quote { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--hn-line); }
  .hn-pcards { grid-template-columns: minmax(0, 1fr); }
  .hn-stepcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-stepcards li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hn-stepcards li:nth-child(n + 3) { border-top: 1px solid var(--hn-night-line); }
}

@media (max-width: 640px) {
  .hn-shero-title { font-size: clamp(36px, 10.5vw, 48px); }
  .hn-tool .calc-panel-left, .hn-tool .calc-panel-right { padding: 22px 20px; }
  .hn-compare-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 16px; }
  .hn-compare-row > :first-child { grid-column: 1 / -1; }
  .hn-compare-row--head > :first-child { display: none; }
  .hn-stepcards { grid-template-columns: minmax(0, 1fr); }
  .hn-stepcards li, .hn-stepcards li + li { padding: 24px 0 8px; border-left: 0; }
  .hn-stepcards li + li { border-top: 1px solid var(--hn-night-line); }
  .hn-recovery-copy, .hn-recovery-copy input { font-size: 17px; }
  .hn-rows--tall li { padding: 12px 0; font-size: 14px; }
  .hn-filed-rows > div > span:only-child { font-size: 13.5px; }
}

/* ---------------------------------------------------------------------------
   The readiness-score page. The scan form is the hero, and the sample result
   sits beside it in the same dark instrument case the product pages give
   their calculators. The card's own styles (03_components) are shared with
   /admin, so only the case around them changes here.
   --------------------------------------------------------------------------- */
.hn-scan-grid { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 11fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hn-scan .hn-shero-title { font-size: clamp(38px, 4.8vw, 72px); }
.hn-scan-quote { margin: -8px 0 30px; font-family: var(--hn-display); font-style: italic; font-size: 21px; line-height: 1.3; color: var(--hn-green); max-width: 480px; animation: hn-rise 0.9s var(--hn-ease) 0.22s backwards; }
.hn-scan-form { display: grid; gap: 12px; max-width: 480px; animation: hn-rise 0.9s var(--hn-ease) 0.3s backwards; }
.hn-scan-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hn-scan-input {
  width: 100%; padding: 15px 18px; border-radius: 14px;
  border: 1px solid rgba(var(--hn-ink-rgb), 0.22); background: var(--hn-card);
  font: 500 15px var(--hn-mono); color: var(--hn-ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hn-scan-input::placeholder { color: var(--hn-muted); font-weight: 400; }
.hn-scan-input:focus { outline: none; border-color: var(--hn-green); box-shadow: 0 0 0 3px rgba(14, 107, 74, 0.16); }
.hn-scan-note { margin-top: 14px; font-family: var(--hn-mono); font-size: 12.5px; color: var(--hn-muted); max-width: 480px; }

.hn-tool .readiness-card {
  padding: clamp(24px, 3vw, 36px); border-radius: 22px; border-color: transparent;
  background: var(--hn-night-2); color: var(--hn-on-night); font-family: var(--hn-sans);
  box-shadow: 0 40px 70px -40px rgba(var(--hn-ink-rgb), 0.75), 0 0 0 1px rgba(var(--hn-ink-rgb), 0.9);
}
.hn-tool .readiness-card.sr-done { border-color: rgba(43, 217, 138, 0.4); }
.hn-tool .readiness-card .eyebrow, .hn-tool .readiness-score-label {
  font-family: var(--hn-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-on-night-muted);
}
.hn-tool .readiness-card .eyebrow { color: var(--hn-signal); }
.hn-tool .readiness-fixes-note { font-family: var(--hn-mono); font-size: 12.5px; line-height: 1.5; color: var(--hn-on-night-muted); }
.hn-tool .readiness-score-value { font-weight: 500; font-size: clamp(40px, 4.4vw, 60px); letter-spacing: -0.04em; line-height: 1; text-shadow: none; font-variant-numeric: tabular-nums; }
.hn-tool .readiness-score-value .denom { font-size: 20px; letter-spacing: 0; color: var(--hn-on-night-muted); }
.hn-tool .readiness-card .calc-divider { display: none; }
.hn-tool .readiness-checklist { gap: 6px; padding-top: 22px; border-top: 1px solid var(--hn-night-line); }
.hn-tool .readiness-check-row { padding: 11px 14px; border-radius: 12px; }
.hn-tool .readiness-check-row .text { font-size: 14px; }
.hn-tool .readiness-check-row .detail, .hn-tool .readiness-unchecked { color: var(--hn-on-night-muted); }
.hn-tool .readiness-check-row--ok .status { color: var(--hn-signal); }

/* The checks, one row each on the night band. Severity is what a
   missing item costs the merchant, so red is the right colour for high. */
.hn-audit { border-top: 1px solid var(--hn-night-line); }
.hn-audit li { display: grid; grid-template-columns: 56px 220px minmax(0, 1fr); gap: 12px 28px; padding: 28px 0; border-bottom: 1px solid var(--hn-night-line); align-items: baseline; }
.hn-audit-index, .hn-audit-tag { font-family: var(--hn-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.hn-audit-index { color: var(--hn-on-night-muted); }
.hn-audit-tag--high { color: #E2604A; }
.hn-audit-tag--medium { color: #F0B95A; }
.hn-audit h3 { font-family: var(--hn-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 8px; }
.hn-audit p { color: var(--hn-on-night-body); font-size: 16px; max-width: 640px; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hn-audit li { animation: hn-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}

@media (max-width: 1000px) {
  .hn-scan-grid { grid-template-columns: minmax(0, 1fr); }
  .hn-audit li { grid-template-columns: 56px minmax(0, 1fr); }
  .hn-audit li > div { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hn-scan .hn-shero-title { font-size: clamp(36px, 10.5vw, 48px); }
  .hn-scan-fields { grid-template-columns: minmax(0, 1fr); }
  .hn-audit li { padding: 22px 0; gap: 8px 16px; }
}

/* Reduced motion: scenes still swap as the reader scrolls, but they cut
   rather than animate, and nothing moves by itself. */
@media (prefers-reduced-motion: reduce) {
  .hn *, .hn *::before, .hn *::after { animation: none !important; transition: none !important; }
  .hn-step { opacity: 1; }
  .hn-scene [style*="--i"] { opacity: 1; transform: none; }
  .hn-doc mark { background-size: 100% 78%; }
  .hn-hold-bar { width: 100%; }
  .hn-filed-stamp { opacity: 1; transform: rotate(-8deg); }
}

/* ---------------------------------------------------------------------------
   The static pages: /about, /security, /support, the legal pages and the docs.
   One reading column on the paper, under the same nav and above the same
   footer as the landing pages. The column is centred and 760px wide — these
   are documents read top to bottom, not sections scanned across. Decision
   2026-10-02. */
.hn--page { min-height: 100vh; display: flex; flex-direction: column; }
.hn-page { flex: 1 0 auto; padding: clamp(40px, 6vw, 72px) 0 var(--hn-pad); }
.hn-page-inner { max-width: 760px; margin: 0 auto; min-width: 0; }
.hn-page-head { margin-bottom: clamp(36px, 5vw, 56px); padding-bottom: 28px; border-bottom: 1px solid var(--hn-line); }
.hn-page-title {
  font-family: var(--hn-display); font-weight: 400;
  font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.025em;
  margin-top: 16px; text-wrap: balance;
}
.hn-page-updated { margin-top: 18px; font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hn-muted); }

.hn-page-body { font-size: 17px; line-height: 1.65; color: var(--hn-body); }
.hn-page-body h2 {
  font-family: var(--hn-display); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--hn-ink); margin: 52px 0 14px; text-wrap: balance;
}
.hn-page-body h2:first-child { margin-top: 0; }
.hn-page-body h3 { font-size: 18px; font-weight: 600; color: var(--hn-ink); margin: 32px 0 10px; }
.hn-page-body p { margin: 0 0 18px; }
.hn-page-body strong { color: var(--hn-ink); font-weight: 600; }
.hn-page-body ul, .hn-page-body ol { margin: 0 0 18px; padding-left: 22px; }
.hn-page-body ul { list-style: disc; }
.hn-page-body ol { list-style: decimal; }
.hn-page-body li { margin-bottom: 8px; padding-left: 4px; }
.hn-page-body li::marker { color: var(--hn-green); }
.hn-page-body a, .hn-page-note a {
  color: var(--hn-green); font-weight: 500;
  text-decoration: underline; text-decoration-color: rgba(14, 107, 74, 0.35); text-underline-offset: 3px;
}
.hn-page-body a:hover, .hn-page-note a:hover { color: var(--hn-green-deep); text-decoration-color: currentColor; }
.hn-page-body code { font-family: var(--hn-mono); font-size: 0.85em; color: var(--hn-ink); background: var(--hn-paper-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.hn-page-note { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hn-line); font-size: 14.5px; line-height: 1.6; color: var(--hn-muted); }

/* Reference tables — legal bases, retention windows, sub-processors, the
   API's fields — scroll in their own frame on a phone. Stacking the cells
   would lose the row a reader came to look across, and the 375px scrollWidth
   budget is a hard QA gate. */
.hn-page-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; display: block; overflow-x: auto; }
.hn-page-table th, .hn-page-table td { font-size: 15px; line-height: 1.55; text-align: left; padding: 12px 18px 12px 0; border-bottom: 1px solid var(--hn-line); vertical-align: top; }
.hn-page-table th { font-weight: 600; color: var(--hn-ink); white-space: nowrap; }
.hn-page-table thead th { font-family: var(--hn-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-muted); border-bottom-color: rgba(var(--hn-ink-rgb), 0.3); }
.hn-page-table td { color: var(--hn-body); }

/* /sitemap: link lists in two columns on the reading column, one on a phone.
   No bullets — a page that is nothing but lists reads as a directory, not as
   prose with a list in it. */
/* Each section's h2 is its first child, which the page rule above zeroes. */
.hn-page-body.hn-sitemap > section + section > h2 { margin-top: 56px; }
.hn-sitemap h3 a { color: var(--hn-ink); text-decoration: none; }
.hn-sitemap h3 a:hover { color: var(--hn-green); }
.hn-page-body .hn-sitemap-list { list-style: none; padding-left: 0; columns: 2; column-gap: 40px; margin-bottom: 8px; }
.hn-page-body .hn-sitemap-list li { break-inside: avoid; padding-left: 0; margin-bottom: 10px; font-size: 15.5px; line-height: 1.45; }
.hn-page-body .hn-sitemap-list a { font-weight: 400; }
@media (max-width: 640px) {
  .hn-page-body .hn-sitemap-list { columns: 1; }
}

/* The support form: a card on the paper, fields labelled in the mono face. */
.hn-form { background: var(--hn-card); border: 1px solid var(--hn-line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 50px -40px rgba(var(--hn-ink-rgb), 0.5); }
.hn-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.hn-field--wide { grid-column: span 2; }
.hn-field label { display: block; font-family: var(--hn-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-muted); margin-bottom: 8px; }
.hn-input {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid rgba(var(--hn-ink-rgb), 0.2); background: var(--hn-paper);
  font: 400 16px/1.4 var(--hn-sans); color: var(--hn-ink); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hn-input::placeholder { color: var(--hn-muted); }
.hn-input:focus { border-color: var(--hn-green); box-shadow: 0 0 0 3px rgba(14, 107, 74, 0.15); }
textarea.hn-input { resize: vertical; min-height: 160px; }
.hn-form-error { color: var(--hn-red); font-size: 14.5px; margin-bottom: 16px; }
.hn-form-note { margin-top: 14px; font-size: 13.5px; color: var(--hn-muted); text-align: center; }
.hn-form--success { text-align: center; }
.hn-form--success h2 { font-family: var(--hn-display); font-weight: 400; font-size: 32px; letter-spacing: -0.02em; color: var(--hn-ink); }
.hn-form--success p { margin-top: 10px; color: var(--hn-body); }
@media (max-width: 640px) {
  .hn-form-grid { grid-template-columns: minmax(0, 1fr); }
  .hn-field--wide { grid-column: auto; }
}

/* --- Recovery: the strip on / and /ecommerce, and the /recovery page --- */
.hn-lost { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hn-lost .hn-actions { margin-top: 28px; }
.hn-lost-points { display: grid; gap: 14px; }
.hn-lost-points li { display: flex; align-items: baseline; gap: 16px; padding: 18px 22px; background: var(--hn-paper); border: 1px solid var(--hn-line); border-radius: 14px; font-size: 17px; font-weight: 500; }
.hn-lost-index { font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--hn-green); }
/* The recovery hero's figure: the demand letter upright on its letterhead,
   the small-claims form behind it, the route underneath. Flat and still, on
   purpose — it is a document, not the homepage's stack. */
.hn-legal { position: relative; height: clamp(460px, 44vw, 580px); margin-top: 8px; }
.hn-legal-letter, .hn-legal-claim { position: absolute; display: flex; flex-direction: column; gap: 7px; border-radius: 6px; background: #FFFDF8; border: 1px solid rgba(var(--hn-ink-rgb), 0.14); }
.hn-legal-letter {
  left: 0; top: 28px; width: 58%; padding: 24px 26px 22px; transform: rotate(-1.5deg); z-index: 2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 2px 2px 0 rgba(var(--hn-ink-rgb), 0.06), 24px 28px 48px -22px rgba(var(--hn-ink-rgb), 0.4);
  animation: hn-rise 0.9s var(--hn-ease) 0.2s backwards;
}
.hn-legal-claim {
  right: 0; top: 0; width: 50%; padding: 22px 22px 26px; transform: rotate(2.5deg); z-index: 1; color: var(--hn-body);
  box-shadow: 14px 16px 36px -20px rgba(var(--hn-ink-rgb), 0.35);
  animation: hn-rise 0.9s var(--hn-ease) 0.05s backwards;
}
.hn-legal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--hn-ink); }
.hn-legal-head div { display: flex; flex-direction: column; gap: 2px; }
.hn-legal-head b { font-family: var(--hn-display); font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }
.hn-legal-date { white-space: nowrap; }
.hn-legal-head span, .hn-legal-date, .hn-legal-to, .hn-legal-re { font-family: var(--hn-mono); font-size: 11.5px; color: var(--hn-muted); }
.hn-legal-to { margin-top: 4px; }
.hn-legal-title { font-family: var(--hn-display); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.1; letter-spacing: -0.02em; margin-top: 6px; }
.hn-legal-re { margin-bottom: 4px; }
.hn-legal-bar { display: block; height: 6px; width: var(--w); border-radius: 3px; background: rgba(var(--hn-ink-rgb), 0.11); }
.hn-legal-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 6px; padding: 10px 14px; border-radius: 8px; background: var(--hn-green); color: #fff; }
.hn-legal-amount strong { font-family: var(--hn-mono); font-size: 21px; font-weight: 600; white-space: nowrap; }
.hn-legal-amount span { font-size: 12.5px; opacity: 0.9; white-space: nowrap; }
.hn-legal-sign { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; width: 60%; color: var(--hn-ink); }
.hn-legal-sign svg { width: 108px; height: 26px; color: var(--hn-green); }
.hn-legal-sign span { font-family: var(--hn-mono); font-size: 11px; color: var(--hn-muted); padding-bottom: 2px; }
.hn-legal-stamp {
  position: absolute; right: 20px; bottom: 24px; padding: 7px 12px; border-radius: 6px; border: 2px solid var(--hn-green); color: var(--hn-green); background: rgba(255, 253, 248, 0.85);
  font-family: var(--hn-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transform: rotate(-8deg); animation: hn-stamp 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 1.3s backwards;
}
.hn-legal-claim-court { font-family: var(--hn-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hn-muted); }
.hn-legal-claim-title { font-family: var(--hn-display); font-size: 21px; letter-spacing: -0.02em; color: var(--hn-ink); margin-top: 2px; }
.hn-legal-claim-note { font-size: 13.5px; margin-bottom: 8px; }
.hn-legal-seal { position: absolute; right: 18px; bottom: 16px; width: 64px; height: 64px; color: rgba(var(--hn-ink-rgb), 0.45); transform: rotate(-12deg); }
.hn-legal-route { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; animation: hn-rise 0.9s var(--hn-ease) 0.5s backwards; }
.hn-legal-route li { padding: 9px 14px; border-radius: 999px; background: var(--hn-night); color: var(--hn-on-night); font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.04em; }
.hn-legal-route li:first-child { background: var(--hn-green); }
.hn-legal-route li + li { position: relative; margin-left: 20px; }
.hn-legal-route li + li::before { content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: var(--hn-muted); font-size: 15px; }
@media (max-width: 900px) {
  .hn-legal { height: auto; padding-bottom: 0; margin-top: 12px; }
  .hn-legal-letter { position: relative; left: 0; top: 0; margin-top: 24px; width: 86%; }
  .hn-legal-claim { width: 58%; }
  .hn-legal-route { position: static; margin-top: 22px; gap: 8px; }
  .hn-legal-route li + li { margin-left: 0; }
  .hn-legal-route li + li::before { display: none; }
  .hn-legal-stamp { bottom: 64px; right: 16px; }
}
.hn-audit-tag--step { color: var(--hn-signal); }
.hn-audit--steps h3 { font-size: 22px; margin-bottom: 8px; }
.hn-audit--steps p { color: var(--hn-on-night-muted); max-width: 640px; }
.hn-trail { display: flex; flex-wrap: wrap; gap: 10px; counter-reset: trail; }
.hn-trail li { counter-increment: trail; padding: 12px 18px 12px 14px; border: 1px solid var(--hn-line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.hn-trail li::before { content: counter(trail, decimal-leading-zero); font-family: var(--hn-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--hn-green); margin-right: 10px; }
.hn-fits { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hn-fits .hn-head { margin-bottom: 0; }
.hn-fits-groups { display: grid; gap: 28px; }
.hn-fits-groups .hn-label { display: block; margin-bottom: 12px; }
@media (max-width: 900px) {
  .hn-lost, .hn-fits { grid-template-columns: minmax(0, 1fr); }
}

/* The UK banner (shared/_market_banner): a slim strip above the floating nav,
   in the page's flow, so it scrolls away with the top of the page instead of
   following the reader. Shown only to UK visitors on / and /ecommerce. */
.hn-market-banner { background: var(--hn-paper-2); border-bottom: 1px solid var(--hn-line); font-family: var(--hn-sans); font-size: 14px; color: var(--hn-body); }
.hn-market-banner-inner { max-width: 1168px; margin: 0 auto; padding: 9px var(--hn-gutter); display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; }
.hn-market-banner p { margin: 0; text-align: center; }
.hn-market-banner a { color: var(--hn-green); font-weight: 500; text-decoration: none; white-space: nowrap; }
.hn-market-banner a:hover { text-decoration: underline; }
.hn-market-banner-close { position: absolute; right: var(--hn-gutter); top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: var(--hn-muted); font-size: 20px; line-height: 1; cursor: pointer; }
.hn-market-banner-close:hover { background: var(--hn-line); color: var(--hn-ink); }
@media (max-width: 640px) {
  .hn-market-banner-inner { justify-content: flex-start; padding-right: calc(var(--hn-gutter) + 36px); }
  .hn-market-banner p { text-align: left; }
}

/* Region pages (/ecommerce/<region>, RegionPage): the local rules as cited
   cards, two to a row, and the region chooser at three. */
.hn-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hn-ink); list-style: none; padding: 0; margin: 0; }
.hn-rule { padding: 28px 32px 32px 0; border-bottom: 1px solid var(--hn-line); min-width: 0; }
.hn-rule:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--hn-line); }
.hn-rule .hn-label { display: block; color: var(--hn-muted); }
.hn-rule-value { display: block; margin-top: 18px; font-family: var(--hn-mono); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.04em; line-height: 1; }
.hn-rule h3 { font-family: var(--hn-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; margin: 18px 0 10px; text-wrap: balance; }
.hn-rule p { margin: 0 0 14px; font-size: 15.5px; color: var(--hn-body); max-width: 560px; }
.hn-industries--regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hn-region-related { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-top: 36px; padding: 22px 26px; border-radius: 18px; background: var(--hn-card); border: 1px solid var(--hn-line); }
.hn-region-related p { margin: 0; color: var(--hn-body); }
.hn-region-related p strong { color: var(--hn-ink); font-weight: 600; }
.hn-region-related a { font-weight: 600; border-bottom: 1px solid currentColor; }
@media (max-width: 1000px) {
  .hn-industries--regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hn-rules, .hn-industries--regions { grid-template-columns: minmax(0, 1fr); }
  .hn-rule, .hn-rule:nth-child(even) { padding: 24px 0 26px; border-left: 0; }
}
/* A one-line pointer between two pages (the /uk ↔ /ecommerce/uk pair). */
.hn-section--flush { padding: 0 0 clamp(24px, 4vw, 48px); }
.hn-section--flush .hn-region-related { margin-top: 0; }
.hn-section--connections { padding-top: clamp(8px, 2vw, 24px); }
.hn-section--connections .hn-integrations { margin-top: 0; }

/* ---------------------------------------------------------------------------
   /partners — the partner program's recruiting page, two screens long. Screen
   one: the offer beside the homepage's stack of sheets (told from the
   partner's side), then a marquee of the platforms we connect to with their
   marks. Screen two: the application, whose first question is the role.
   Green is us; nothing here is a loss, so nothing is red. Motion is CSS plus
   the homepage's own hn-stack controller, and stops under reduced motion. */
.hn-pt-hero { min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 36px); }
.hn-pt-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; flex: 1; }
.hn-pt-hero-copy > * { animation: hn-rise 0.9s var(--hn-ease) backwards; }
.hn-pt-hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hn-pt-hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hn-pt-hero-copy > :nth-child(n+4) { animation-delay: 0.24s; }
.hn-pt-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; border-radius: 999px; background: rgba(14, 107, 74, 0.1); border: 1px solid rgba(14, 107, 74, 0.22); color: var(--hn-green-deep); font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.hn-pt-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--hn-green); }
.hn-pt-pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--hn-green); animation: hn-pt-ping 2s ease-out infinite; }
/* Roman throughout, italic only on the one word that carries the offer —
   a whole italic line at this size made the swash "Y" the loudest thing on
   the page. */
.hn-pt-title { font-family: var(--hn-display); font-weight: 400; font-size: clamp(40px, 4.8vw, 70px); line-height: 1.06; letter-spacing: -0.025em; margin: 22px 0 22px; text-wrap: balance; }
.hn-pt-title > span { display: block; }
.hn-pt-title-accent { color: var(--hn-green); }
.hn-pt-title em { font-style: italic; }
.hn-pt-sub { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--hn-body); max-width: 56ch; margin-bottom: 28px; }
.hn-pt-signin { margin-top: 18px; font-size: 14.5px; color: var(--hn-muted); }
.hn-pt-signin a { color: var(--hn-green); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(14, 107, 74, 0.35); text-underline-offset: 3px; }

.hn-pt-platforms { margin-top: clamp(24px, 3vw, 40px); animation: hn-rise 1s var(--hn-ease) 0.5s backwards; }

/* The orbit: Chargewood at the centre, the integrations circling. Each ring
   turns; each mark is placed round it (rotate, push out, rotate back) and
   counter-turns at the ring's speed, so it never tips over. */
.hn-pt-orbit { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-left: auto; animation: hn-rise 1s var(--hn-ease) 0.2s backwards; }
.hn-pt-orbit::before, .hn-pt-orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(var(--hn-ink-rgb), 0.16); }
.hn-pt-orbit::before { inset: 22%; }
.hn-pt-orbit::after { inset: 7%; }
.hn-pt-core { position: absolute; inset: 39%; display: grid; place-items: center; border-radius: 50%; background: var(--hn-green); color: #fff; --logo-surface: var(--hn-green); box-shadow: 0 24px 50px -18px rgba(14, 107, 74, 0.6); z-index: 1; }
.hn-pt-core .logo-icon { width: 46%; height: 46%; }
.hn-pt-core::before, .hn-pt-core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--hn-green); animation: hn-pt-wave 3.2s ease-out infinite; }
.hn-pt-core::after { animation-delay: 1.6s; }
.hn-pt-ring { position: absolute; inset: 0; animation: hn-pt-spin var(--t) linear infinite; }
.hn-pt-ring--inner { --r: 28%; --t: 46s; }
.hn-pt-ring--outer { --r: 43%; --t: 70s; animation-direction: reverse; }
/* A node is the whole ring's box turned to its slot; its seat sits at the top
   edge and turns back by the same angle; the mark inside counter-spins. */
.hn-pt-node { position: absolute; inset: 0; transform: rotate(var(--a)); --a: calc(var(--k) * 360deg / var(--n)); }
.hn-pt-ring--outer .hn-pt-node { --a: calc(var(--k) * 360deg / var(--n) + 18deg); }
.hn-pt-node-seat { position: absolute; left: 50%; top: calc(50% - var(--r)); transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); }
.hn-pt-node-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--hn-card); border: 1px solid var(--hn-line); color: var(--hn-ink); box-shadow: 0 14px 26px -18px rgba(var(--hn-ink-rgb), 0.55); animation: hn-pt-spin var(--t) linear infinite reverse; }
.hn-pt-ring--outer .hn-pt-node-mark { animation-direction: normal; width: 44px; height: 44px; }
.hn-pt-node-mark svg { width: 22px; height: 22px; }
.hn-pt-ring--outer .hn-pt-node-mark svg { width: 18px; height: 18px; }
.hn-pt-node-mark svg.app-console-provider-icon--wide { width: 40px; }
.hn-pt-ring--outer .hn-pt-node-mark svg.app-console-provider-icon--wide { width: 34px; }

.hn-pt-join { padding: clamp(72px, 9vw, 136px) 0; background: rgba(var(--hn-ink-rgb), 0.04); border-top: 1px solid var(--hn-line); }
.hn-pt-join-head { text-align: center; margin-bottom: clamp(36px, 4.5vw, 64px); }
.hn-pt-join-head p { font-size: 18px; color: var(--hn-body); margin-top: 4px; }
.hn-pt-h2 { font-family: var(--hn-display); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 16px; }
.hn-pt-h2 em { font-style: italic; color: var(--hn-green); }

/* The roles are the form's first question: radio cards, one click. */
.hn-pt-form { max-width: 1120px; margin: 0 auto; }
.hn-pt-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border: 0; padding: 0; margin: 0 0 32px; }
.hn-pt-role { position: relative; cursor: pointer; }
.hn-pt-role input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hn-pt-role-card { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 28px 26px 26px; border-radius: 20px; background: var(--hn-card); border: 1.5px solid var(--hn-line); transition: transform 0.35s var(--hn-ease), border-color 0.25s, box-shadow 0.35s var(--hn-ease), background 0.25s; }
.hn-pt-role:hover .hn-pt-role-card { transform: translateY(-4px); box-shadow: 0 22px 34px -28px rgba(var(--hn-ink-rgb), 0.55); }
.hn-pt-role input:focus-visible + .hn-pt-role-card { outline: 3px solid rgba(14, 107, 74, 0.3); outline-offset: 2px; }
.hn-pt-role input:checked + .hn-pt-role-card { border-color: var(--hn-green); background: #fff; box-shadow: 0 0 0 3px rgba(14, 107, 74, 0.12); }
.hn-pt-role-card::after { content: ""; position: absolute; top: 26px; right: 24px; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid rgba(var(--hn-ink-rgb), 0.25); transition: border 0.2s; }
.hn-pt-role input:checked + .hn-pt-role-card::after { border: 5px solid var(--hn-green); }
.hn-pt-role-name { font-size: 13px; font-weight: 600; color: var(--hn-green); padding-right: 28px; }
.hn-pt-role strong { font-family: var(--hn-display); font-weight: 400; font-size: 24px; line-height: 1.1; letter-spacing: -0.015em; }
.hn-pt-role-line { font-size: 14.5px; line-height: 1.45; color: var(--hn-body); }

.hn-pt-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 16px; align-items: end; padding: 24px 26px 26px; border-radius: 22px; background: var(--hn-card); border: 1px solid var(--hn-line); }
.hn-pt-field > span { display: block; font-size: 13.5px; font-weight: 500; color: var(--hn-body); margin: 0 0 8px 2px; }
.hn-pt-field em { font-style: normal; font-weight: 400; color: var(--hn-muted); }
.hn-pt-field .hn-input { width: 100%; padding-top: 13px; padding-bottom: 13px; }
.hn-pt-submit { height: 50px; padding-left: 34px; padding-right: 34px; }
.hn-pt-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--hn-muted); }
.hn-pt-note a { color: var(--hn-green); font-weight: 500; }
.hn-partner-error { margin-bottom: 14px; padding: 10px 14px; border-left: 3px solid var(--hn-amber); border-radius: 6px; background: rgba(201, 138, 27, 0.1); color: var(--hn-ink); font-size: 14.5px; }
.hn-pt-form--success { max-width: 640px; text-align: center; padding: clamp(32px, 4vw, 48px); border-radius: 22px; background: var(--hn-card); border: 1px solid var(--hn-line); animation: hn-pt-in 0.6s var(--hn-ease); }
.hn-pt-form--success h2 { font-family: var(--hn-display); font-weight: 400; font-size: 34px; margin: 10px 0 12px; }
.hn-pt-form--success h2 em { color: var(--hn-green); }
.hn-pt-form--success p { color: var(--hn-body); }
.hn-pt-form--success p + p { margin-top: 8px; }
.hn-pt-form--success a { color: var(--hn-green); font-weight: 500; }

@keyframes hn-pt-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes hn-pt-ping { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(1.8); opacity: 0; } }
@keyframes hn-pt-spin { to { transform: rotate(360deg); } }
@keyframes hn-pt-wave { from { transform: scale(1); opacity: 0.55; } to { transform: scale(1.9); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hn-pt-hero-copy > *, .hn-pt-platforms, .hn-pt-pulse::after, .hn-pt-orbit, .hn-pt-ring, .hn-pt-node-mark, .hn-pt-core::before, .hn-pt-core::after, .hn-pt-form--success { animation: none; }
  .hn-pt-role-card { transition: none; }
}

@media (max-width: 1000px) {
  .hn-pt-hero { min-height: 0; }
  .hn-pt-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hn-pt-orbit { width: min(100%, 380px); margin: 8px auto 0; }
  .hn-pt-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-pt-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-pt-submit { grid-column: span 2; }
}
@media (max-width: 640px) {
  .hn-pt-roles, .hn-pt-fields { grid-template-columns: minmax(0, 1fr); }
  .hn-pt-submit { grid-column: auto; }
  .hn-pt-role strong { font-size: 21px; }
}

/* /sales — contact sales: what a conversation covers on the left, the form
   on the right, on the paper surface (static_pages/sales). */
.hn-sales-main { padding: clamp(48px, 7vw, 104px) 0 clamp(72px, 9vw, 128px); }
.hn-sales-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.hn-sales-copy { position: sticky; top: 112px; }
.hn-sales-title { font-family: var(--hn-display); font-weight: 400; font-size: clamp(44px, 5.4vw, 76px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.hn-sales-title em { color: var(--hn-green); }
.hn-sales-points { display: grid; gap: 14px; margin-top: 32px; font-size: 17px; }
.hn-sales-points li { position: relative; padding-left: 32px; }
.hn-sales-points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--hn-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.hn-sales-aside { margin-top: 28px; max-width: 400px; color: var(--hn-body); }
.hn-sales-support { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--hn-line); font-size: 15px; color: var(--hn-body); }
.hn .hn-sales-support a { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--hn-ink); }
.hn .hn-sales-support a:hover { color: var(--hn-green); }
.hn-field-optional { text-transform: none; letter-spacing: 0; font-family: var(--hn-sans); font-weight: 400; color: var(--hn-muted); margin-left: 4px; }
.hn-sales-form select.hn-input { appearance: none; padding-right: 40px; background: var(--hn-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23121A16' stroke-opacity='.55' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.hn-sales-form textarea.hn-sales-message { min-height: 112px; }
.hn-sales-form.hn-form--success h2 em { color: var(--hn-green); }
.hn-sales-form.hn-form--success .hn-eyebrow { margin-bottom: 10px; }
.hn .hn-sales-form.hn-form--success a { color: var(--hn-green); font-weight: 500; }
@media (max-width: 900px) {
  .hn-sales-grid { grid-template-columns: minmax(0, 1fr); }
  .hn-sales-copy { position: static; }
}
