/*! Token of Trust — "tot-navy" theme · concept v1.1 (ecommerce-hardened).
    Sole tenant styling surface for pages that load no page stylesheet.
    Contracts, token derivation and managed-chrome notes: docs/STYLE-GUIDE.md.
    Token values: content/themes/tot-navy.json. Layer ownership and CSS
    policy: docs/css-architecture-and-budgets.md. */

/* --- 1. Design tokens ---------------------------------------------------- */
:root {
  color-scheme: only light;

  /* Enterprise anchor */
  --navy: #10294b;
  --navy-2: #173763;
  --navy-soft: #1e4275;
  /* Soft neutrals */
  --cream: #faf8f4;
  --card: #ffffff;
  --sand: #f4f1ea;             /* Warm secondary surface (the footer panel) */
  --line: #e6e2d9;
  --line-cool: #dfe6ee;
  --ink: #1b2a40;
  --muted: #4d5a70;            /* darkened from v1.0 (#5d6b80) for AA on cream + white */
  /* Warm + trust accents (decorative) */
  --teal: #0d9391;             /* deepened for >=3:1 on cream (decorative/large use) */
  --teal-ink: #0b6360;         /* AA-safe teal for small text (kickers/links) */
  /* Exact values read from public/token-of-trust-logo-lockup.svg. The wordmark
   green anchors the navigation current/pressed boundaries. */
  --logo-green: #00a279;       /* logo mark green — blend source for the nav tints */
  --wordmark-green: #044a38;   /* logo wordmark — nav current/pressed boundary */
  --coral: #bf3d2c;            /* AA on cream (~5.1:1) — safe as normal text (.support-line) */
  --green: #1d9e5f;
  --green-d: #17854f;
  --gold: #8a6012;             /* deep amber, AA on cream (~5.2:1) — safe for text + rating icons */
  --mint: #7fe3b8;             /* accent ON NAVY only (kickers, links, rules); too light for cream */
  --grad: linear-gradient(115deg, var(--teal), #3b82c4);

  /* Semantic tokens (v1.1) — the layer components should consume */
  --color-cta: #16794a;        /* primary action bg; white text = AA (~5.4:1) */
  --color-cta-hover: #115f3a;
  --color-trust: var(--teal-ink);
  --color-error: #b3261e;
  --color-success: #157a4a;
  --color-warning: #8a5a10;
  --surface-card: var(--card);
  --surface-raised: var(--card);
  --text-muted: var(--muted);
  --focus-ring: #4f7fff;       /* >=3:1 focus outline on BOTH cream (~3.4:1) and navy (~3.6:1) */

  /* Shape */
  --r: 20px;
  --r-sm: 13px;
  --shadow: 0 12px 36px rgba(16, 41, 75, .10);
  --shadow-soft: 0 8px 24px rgba(27, 42, 64, .07);
  /* Spacing scale */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 44px;
  --s5: 72px;
  --s6: 104px;
  /* Type families */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --tap: 44px;                 /* minimum interactive target */

  /* Supporting marketing palette — shared by the homepage and /product/, and
   available to any marketing page. */
  --butter: #ffefbf;
  --peach: #ffd4bc;
  --peach-2: #f6c2ab;
  --coral-soft: #e98a74;
  --lavender: #e4ddfb;
  --lavender-2: #d6ccf5;
  --sky: #d4e6fb;
  --sky-2: #c3daf5;
  --mint-pale: #dcf5ea;
  --ground-soft: #f8f8f6;      /* neutral off-white section ground */
  --line-warm: #efdac9;
  --line-sky: #d3e0f2;
  --line-lav: #d9d3ee;
  --line-soft: #e8e3da;
  /* Interface-illustration neutrals (the hpui-/totui- kits share these values) */
  --ui-line: #e1e6ee;
  --ui-ground: #f5f7fa;
  /* .mkt-card-field's declared default (docs/marketing-components.md "materials"):
     a per-instance override point for the card's colour/gradient field. Was
     never actually declared, so it always silently fell through to its own
     var() fallback -- give it that same value explicitly so the property is a
     real, resolvable token (no visual change) instead of a dangling reference. */
  --mkt-card-field: var(--ui-ground);
  /* Text on a navy ground */
  --on-navy: #c9d6e8;
  --on-navy-2: #9fb2cb;
  /* Elevation used by marketing compositions */
  --shadow-deep: 0 30px 70px rgba(16, 41, 75, .14), 0 6px 18px rgba(16, 41, 75, .06);
  --shadow-ui: 0 18px 44px rgba(16, 41, 75, .12), 0 2px 6px rgba(16, 41, 75, .05);
  --shadow-lift: 0 26px 60px rgba(16, 41, 75, .16), 0 3px 8px rgba(16, 41, 75, .06);
  /* The navy section ground, and the two thin gradient separator values. The
     separators stay page-specific pseudo-elements; only the values are shared. */
  --grad-navy-section: linear-gradient(118deg, #0c2140 0%, var(--navy) 44%, #1b3b69 100%);
  --rule-warm: linear-gradient(90deg, var(--coral) 0%, var(--peach-2) 40%, var(--lavender-2) 100%);
  --rule-cool: linear-gradient(90deg, var(--teal) 0%, var(--sky-2) 50%, var(--lavender-2) 100%);
}

/* Visually hidden, still announced — for supporting text such as the
   "(opens in a new tab)" note on external links. Never use display:none. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* --- 2. Reset & base ----------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.65; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: inherit; }

/* Global visible focus — never remove the outline, only replace it (v1.1). */
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }

/* --- 3. Layout ----------------------------------------------------------- */
.container { max-width: 1150px; margin: 0 auto; padding: 0 var(--s3); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 12px 18px; z-index: 100; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }
.center { text-align: center; }
.center .section-lede { margin: 0 auto; }
section { padding: var(--s5) 0; }

/* --- 4. Typography ------------------------------------------------------- */
h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); line-height: 1.12; letter-spacing: -.025em; margin: var(--s2) 0; font-weight: 800; color: var(--navy); }
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.35rem); letter-spacing: -.02em; line-height: 1.16; margin: 10px 0 14px; font-weight: 800; color: var(--navy); }
.kicker { font-size: .875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.lede { font-size: 1.13rem; color: var(--muted); max-width: 52ch; }
.section-lede { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }
.support-line { font-size: 1rem; font-weight: 700; color: var(--coral); margin-top: 10px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-size: .875rem; font-weight: 700; color: var(--navy);
}
.eyebrow .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.eyebrow .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 2.2s infinite; }

/* --- Hero size system (opt-in) -------------------------------------------
   .hero-lg / .hero-md / .hero-sm standardise hero SCALE and SPACING only; they
   never set alignment, colour, background or imagery, so a page keeps its own
   composition. Every value is a custom property, so a page can override one
   step without forking the block. A hero with no size class is untouched.
   Sizing is content-driven (padding + clamp()), never a fixed height, so heroes
   grow when copy wraps or text is enlarged.

   In the THEME, not the marketing layer, because 6 of the 41 .hero pages do not
   load mkt.css. mkt.css keeps hero COMPOSITION; the theme owns SIZE.

   --hero-pb is 0 by default so the next section's padding supplies the gap; a
   hero with its own background band sets it in its page stylesheet.

   Selectors are compound (.hero.hero-lg) so the variant outranks mkt.css's
   .hero rules, which load after the theme. Always use the pair.
   Two-layer model and the migration inventory: docs/marketing-components.md.
   ------------------------------------------------------------------------ */
.hero.hero-lg,
.hero.hero-md,
.hero.hero-sm {
  padding-top: var(--hero-pt);
  padding-bottom: var(--hero-pb);
}
.hero.hero-lg .kicker,
.hero.hero-md .kicker,
.hero.hero-sm .kicker {
  display: block;
  margin-bottom: var(--hero-kicker-mb);
}
.hero.hero-lg h1,
.hero.hero-md h1,
.hero.hero-sm h1 {
  font-size: var(--hero-h1-size);
  line-height: var(--hero-h1-lh);
  letter-spacing: var(--hero-h1-ls);
  max-width: var(--hero-h1-measure);
  margin-top: var(--hero-h1-mt);
  margin-bottom: var(--hero-h1-mb);
}
.hero.hero-lg .lede,
.hero.hero-md .lede,
.hero.hero-sm .lede {
  font-size: var(--hero-lede-size);
  max-width: var(--hero-lede-measure);
}
.hero.hero-lg .cta-row,
.hero.hero-md .cta-row,
.hero.hero-sm .cta-row {
  margin-top: var(--hero-cta-mt);
}
.hero.hero-lg .trust-inline,
.hero.hero-md .trust-inline,
.hero.hero-sm .trust-inline {
  margin-top: var(--hero-trust-mt);
}

/* Large — the biggest vertical presence and headline in the system. */
.hero.hero-lg {
  --hero-pt: 84px;
  --hero-pb: 0px;
  --hero-kicker-mb: 0px;
  --hero-h1-size: clamp(2.6rem, 6vw, 4.4rem);
  --hero-h1-lh: 1.04;
  --hero-h1-ls: -.03em;
  --hero-h1-measure: 19ch;
  --hero-h1-mt: 14px;
  --hero-h1-mb: 22px;
  --hero-lede-size: 1.22rem;
  --hero-lede-measure: 56ch;
  --hero-cta-mt: 32px;
  --hero-trust-mt: 38px;
}

/* Medium — the default marketing weight for a substantial inner page. */
.hero.hero-md {
  --hero-pt: 64px;
  --hero-pb: 0px;
  --hero-kicker-mb: 2px;
  --hero-h1-size: clamp(2.1rem, 4.6vw, 3.25rem);
  --hero-h1-lh: 1.1;
  --hero-h1-ls: -.025em;
  --hero-h1-measure: 20ch;
  --hero-h1-mt: 12px;
  --hero-h1-mb: 18px;
  --hero-lede-size: 1.13rem;
  --hero-lede-measure: 58ch;
  --hero-cta-mt: 26px;
  --hero-trust-mt: 30px;
}

/* Small — compact top for a deep page that should get to its content quickly.
   Also feeds the 4d blog adapter. */
.hero.hero-sm,
#main .blog-hero {
  --hero-pt: 48px;
  --hero-pb: 0px;
  --hero-kicker-mb: 2px;
  --hero-h1-size: clamp(1.9rem, 3.6vw, 2.6rem);
  --hero-h1-lh: 1.14;
  --hero-h1-ls: -.02em;
  --hero-h1-measure: 26ch;
  --hero-h1-mt: 10px;
  --hero-h1-mb: 14px;
  --hero-lede-size: 1.05rem;
  --hero-lede-measure: 62ch;
  --hero-cta-mt: 22px;
  --hero-trust-mt: 24px;
}

@media (max-width: 980px) {
  .hero.hero-lg { --hero-pt: 64px; --hero-pb: 0px; }
  .hero.hero-md { --hero-pt: 52px; --hero-pb: 0px; }
  .hero.hero-sm,
  #main .blog-hero { --hero-pt: 40px; --hero-pb: 0px; }
}
@media (max-width: 560px) {
  /* On phones the viewport is already narrower than any of these measures, so a ch
     cap only forces worse line breaks. Let the column govern. */
  .hero.hero-lg,
  .hero.hero-md,
  .hero.hero-sm,
  #main .blog-hero { --hero-h1-measure: none; }
  .hero.hero-lg {
    --hero-pt: 52px;
    --hero-pb: 0px;
    --hero-h1-size: clamp(2.1rem, 9.6vw, 2.7rem);
    --hero-lede-size: 1.08rem;
    --hero-cta-mt: 26px;
    --hero-trust-mt: 30px;
  }
  .hero.hero-md {
    --hero-pt: 44px;
    --hero-pb: 0px;
    --hero-h1-size: clamp(2.1rem, 8.4vw, 2.4rem);  /* min matches the theme h1 so phone line breaks are unchanged */
    --hero-lede-size: 1.02rem;
    --hero-cta-mt: 22px;
    --hero-trust-mt: 26px;
  }
  .hero.hero-sm,
  #main .blog-hero {
    --hero-pt: 36px;
    --hero-pb: 40px;
    --hero-h1-size: clamp(1.75rem, 7.4vw, 2.1rem);
    --hero-lede-size: 1rem;
    --hero-cta-mt: 20px;
    --hero-trust-mt: 22px;
  }
}

/* 4c. Dark-ground hero composition; colour only.
   docs/marketing-components.md § Hero system. */
.hero.hero-on-navy .kicker { color: var(--mint); }

/* 4d. Adapter for the MANAGED `.blog-hero` (/blog/, /blog/tag/*): scale +
   kicker only. docs/marketing-components.md § Hero system. */
#main .blog-hero {
  --hero-pb: 40px;
  padding-top: var(--hero-pt);
  padding-bottom: var(--hero-pb);
}
#main .blog-hero h1 {
  font-size: var(--hero-h1-size); line-height: var(--hero-h1-lh); letter-spacing: var(--hero-h1-ls);
  max-width: var(--hero-h1-measure); margin-top: var(--hero-h1-mt); margin-bottom: var(--hero-h1-mb);
}
#main .blog-hero .blog-shell > p:last-child {
  font-size: var(--hero-lede-size); max-width: var(--hero-lede-measure);
}
#main .blog-hero .eyebrow {
  display: block; margin-bottom: var(--hero-kicker-mb); padding: 0; border: 0; background: none;
  font-size: .875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint);
}
#main .blog-hero .eyebrow:empty { display: none; }

/* --- 5. Buttons — CTA hierarchy + full states (v1.1) --------------------- */
/* primary = green/cta · secondary = navy · tertiary = line/outline */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 12px 24px; border-radius: 12px;
  font-weight: 700; font-size: .95rem; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); filter: brightness(.96); }
.btn:disabled, .btn[aria-disabled="true"], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; filter: grayscale(.2); }
.btn.is-loading, .btn[aria-busy="true"] { position: relative; color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; color: #fff;
  animation: btnspin .7s linear infinite;
}
@keyframes btnspin { to { transform: rotate(360deg); } }
.btn-green, .btn-primary { background: var(--color-cta); color: #fff; box-shadow: 0 7px 20px rgba(21, 122, 74, .28); }
.btn-green:hover, .btn-primary:hover { background: var(--color-cta-hover); }
.btn-navy, .btn-secondary { background: var(--navy); color: #fff; }
.btn-navy:hover, .btn-secondary:hover { background: var(--navy-2); }
.btn-line, .btn-tertiary, .btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line-cool); }
.btn-line:hover, .btn-tertiary:hover, .btn-outline:hover { border-color: var(--navy); }

/* --- 6. Header / primary nav (>=44px targets) --------------------------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; text-decoration: none; min-height: var(--tap); }
.brand img { height: 34px; width: auto; display: block; }
nav.primary ul { display: flex; gap: 20px; list-style: none; align-items: center; }
nav.primary a {
  display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted);
}
nav.primary a:hover { color: var(--navy); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; min-width: var(--tap); min-height: var(--tap); }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px auto; border-radius: 2px; }

/* --- 7. Proof strip ------------------------------------------------------ */
.proof { background: var(--navy); color: #e2ebf6; padding: 18px 0; }
.proof .container { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center; }
.proof span { font-size: .9rem; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.proof b { color: #fff; }
.proof .sep { opacity: .45; }

/* --- 8. Footer ----------------------------------------------------------- */
footer.site { border-top: 1px solid var(--line); padding: var(--s5) 0; background: var(--sand); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s4); }
.foot-grid h3 { font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 800; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 4px; }
.foot-grid a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; font-size: .95rem; font-weight: 600; }
.foot-grid a:hover { color: var(--teal-ink); }
.copyright { margin-top: var(--s4); color: var(--muted); font-size: .9rem; }

/* --- 9. Interaction / reveal -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
/* Composited pulse (transform + opacity) — avoids non-composited box-shadow animation. */
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }

/* --- 10. Accessible forms (v1.1) ---------------------------------------- */
/* Field group: label + control + help/validation. required/optional marked. */
.form-field { display: grid; gap: 6px; margin-bottom: var(--s2); }
.form-label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.form-label .req { color: var(--color-error); }           /* required marker */
.form-label .opt { color: var(--muted); font-weight: 400; } /* optional marker */
.form-help { font-size: .9rem; color: var(--muted); }      /* aria-describedby hint */
.form-control {
  width: 100%; min-height: var(--tap); padding: 11px 14px; border: 1.5px solid var(--line-cool); border-radius: 10px; font: inherit; font-size: 1rem;
  background: #fff; color: var(--ink);
}
.form-control::placeholder { color: #7a869a; }
.form-control:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-color: var(--navy); }
.form-control[aria-invalid="true"], .form-control.is-error { border-color: var(--color-error); }
.form-control.is-success { border-color: var(--color-success); }
.field-error { color: var(--color-error); font-size: .9rem; font-weight: 600; }   /* invalid state */
.field-success { color: var(--color-success); font-size: .9rem; font-weight: 600; } /* success state */

/* --- 11. Trust / social-proof component slots (v1.1) -------------------- */
/* IMPORTANT: content is placeholder / needs-review. Never ship fabricated
   ratings, testimonials, badges, guarantees, or customer/partner logos —
   source-copy real claims or mark them needs-review. */
/* Reviews & ratings (e.g. star rating, "G2" / "Capterra" review card) */
.rating { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.review-card { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; }
/* Testimonial / customer quote */
.testimonial {
  background: var(--surface-card); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--r-sm); padding: 18px 20px;
}
.testimonial blockquote, .testimonial .quote { font-size: 1.02rem; color: var(--ink); }
.testimonial .cite { margin-top: 10px; font-size: .9rem; color: var(--muted); font-style: normal; }
/* Trust badge (security / compliance / certification) */
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #eef4ff; border: 1px solid var(--line-cool); color: var(--navy); border-radius: 999px;
  padding: 8px 14px; font-size: .9rem; font-weight: 700;
}
/* Reassurance callout (guarantee / returns / refund / risk-free) */
.reassurance {
  display: flex; align-items: center; gap: 10px; background: #f0f8f3; border: 1px solid #d3e9db; border-radius: var(--r-sm); padding: 12px 16px;
  font-weight: 600; color: var(--ink);
}
/* Logo strip ("as seen in" / press / customer / partner logos) */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; opacity: .85; }
.logo-strip .logo { height: 26px; display: inline-flex; align-items: center; color: var(--muted); font-weight: 800; letter-spacing: .04em; }

/* --- 12. CTA hierarchy helpers + mobile CTA (v1.1) ---------------------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mobile-cta { display: none; }   /* sticky primary CTA on small screens (below) */

/* --- 13. Responsive foundation ------------------------------------------ */
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  nav.primary {
    display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 24px;
  }
  nav.primary.open { display: block; }
  nav.primary ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.primary a { min-height: var(--tap); }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta .btn-line { display: none; }
  /* thumb-reachable primary CTA */
  .mobile-cta {
    display: flex; position: sticky; bottom: 0; z-index: 60; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 248, 244, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px);
  }
  .mobile-cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .btn.is-loading::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* --- 14. Mobile legibility floor (a11y) --------------------------------- */
/* On phone/tablet widths, no actionable or body text renders below the 14px
   WCAG legibility minimum. max(0.875rem, 1em) only ever RAISES a size (never
   shrinks below 14px), and !important lets it override page-local type scales
   so no tenant page can opt an element under the floor. Desktop (>768px) keeps
   its tighter editorial scale. Applies to every tenant page via the theme;
   pairs with the >=44px tap targets on .brand / nav / .btn. */
@media (max-width: 768px) {
  p, li, a, button, input, textarea, select, summary, small {
    font-size: max(0.875rem, 1em) !important;
  }
}

/* --- 15. Managed site chrome — interim token bridge + scoped presentation -
   The managed chrome reads a token vocabulary theme.json owns but the raw-HTML
   renderer does not yet serialize, so 19 of 24 colour tokens resolve empty and
   the chrome paints unstyled. This block supplies that vocabulary from the
   section 1 tokens; it can be deleted with no visual change once the platform
   serializes theme.json.

   Two constraints, both load-bearing:
     * this sheet loads BEFORE commerce-chrome.css, so overlapping rules carry
       one extra class of specificity on purpose. Nothing uses !important;
     * NO backdrop-filter on .site-header — it would make the header the
       containing block for the fixed drawer and clip it.
   Rationale, platform feedback ref and the full contract: docs/STYLE-GUIDE.md
   §Managed chrome implementation notes.
   ------------------------------------------------------------------------- */

/* 15a. The contract vocabulary, mapped onto section 1. */
:root {
  --color-bg:               var(--cream);
  --color-surface:          var(--card);
  --color-surface-2:        var(--sand);
  --color-text:             var(--ink);
  --color-muted:            var(--muted);
  --color-primary:          var(--navy);
  --color-primary-contrast: #fff;
  --color-primary-hover:    var(--navy-2);
  --color-accent:           var(--teal-ink);
  --color-accent-hover:     var(--teal);
  --color-accent-ink:       var(--teal-ink);
  --color-border:           var(--line);
  --color-sale:             var(--coral);
  /* Chrome focus ring. Deliberately NOT var(--focus-ring): the tonal nav states
   put the ring on the cream/sand gap beside the link, where navy reads as part
   of the boundary. This blue is distinct from every state colour. */
  --color-focus-ring:       var(--navy);
  /* --color-success / --color-warning / --color-error already exist above. */

  --radius-sm:   var(--r-sm);
  --radius-md:   16px;
  --radius-lg:   var(--r);
  --radius-full: 999px;
  --shadow-md:   var(--shadow);
  --shadow-lg:   0 24px 60px -20px rgba(16, 41, 75, .16);
  --container-max: 1150px;
  --font-display: var(--sans);
  --font-body:    var(--sans);
  --font-mono:    var(--mono);
  --tap-target:   var(--tap);
}

/* 15b. Roles the shared component overloads onto one variable. Each is read
   below through var(<role>, <core fallback>), so the rules stand alone. */
:root {
  --color-header-surface:      var(--cream);
  --color-header-border:       var(--line);
  --color-nav-link:            var(--muted);
  /* Component-overloaded selection roles. Nothing reads them today, so they are
   kept only as forward-compatible shims, aliased to the enclosed scale so they
   cannot drift. tools/theme-tokens/validate.mjs enforces the reason. */
  --color-nav-current-surface: var(--color-nav-enclosed-current-surface);
  --color-nav-current-text:    var(--color-nav-enclosed-text);
    /* 15b-i. Direction 3 tonal navigation states — one vocabulary for primary
     nav (incl. drawer), footer columns and the footer-bottom legal row.
     State is carried by BOUNDARY GEOMETRY, not hue (1px / 2px / 3px double), so
     it survives greyscale and CVD; the tints are 1.09-1.31:1 on cream and are
     NOT accessible cues on their own.
     Derivation and contrast table: docs/STYLE-GUIDE.md §15b-i. */
  --color-nav-enclosed-text:             var(--navy);
  --color-nav-enclosed-hover-surface:    #e6f1ea;
  --color-nav-enclosed-hover-boundary:   #4e7e70;
  --color-nav-enclosed-pressed-surface:  #bee3d6;
  --color-nav-enclosed-pressed-boundary: var(--wordmark-green);
  --color-nav-enclosed-current-surface:  #d2eae0;
  --color-nav-enclosed-current-boundary: var(--wordmark-green);
  --radius-nav-enclosed:                 var(--radius-full);
  --color-cta-surface:         var(--color-cta);
  --color-cta-text:            #fff;
  --color-cta-hover-surface:   var(--color-cta-hover);
  /* Restrained: the CTA holds authority through its dark fill and white
     label, not a heavy glow competing with the new tonal navigation. */
  --color-cta-shadow:          0 3px 8px rgba(21, 122, 74, .12);
  --color-cta2-surface:        var(--card);
  --color-cta2-text:           var(--navy);
  /* #687688 measures 4.63:1 on the white interior and 4.37:1 on the cream
     exterior; white fill with a navy label keeps the CTA hierarchy intact. */
  --color-cta2-border:         #687688;
  --color-cta2-border-hover:   var(--navy);
  --radius-cta:                12px;
  --color-drawer-surface:      var(--cream);
  /* The component hard-wires the footer to a DARK panel. This tenant's footer is
   light, so the foreground tokens are re-pointed here. */
  --color-footer-surface:      var(--sand);
  --color-footer-text:         var(--ink);
  --color-footer-heading:      var(--muted);
  --color-footer-muted:        var(--muted);
  --color-footer-border:       var(--line);
  --chrome-footer-logo-filter: none;
}

/* 15c. Scoped resets — the component ships no list, link or button reset of
   its own, so they are supplied here, scoped to the chrome. */
.site-header ul,
.site-footer ul                       { list-style: none; margin: 0; padding: 0; }
.site-header a,
.site-footer a                        { text-decoration: none; }
.site-header a:hover,
.site-footer a:hover                  { text-decoration: underline; }
.site-header .header-cta,
.site-header .hamburger               { appearance: none; }

/* 15d. Header shell. Opaque, so page content cannot show through the sticky bar. */
:root .site-header {
  background: var(--color-header-surface, var(--color-surface));
  border-bottom: 1px solid var(--color-header-border, var(--color-border));
}

/* 15e. Primary navigation + current-page state. */
/* Both selectors are needed: the component renders each item as
   li.nav-item > a and styles it with .primary-nav .nav-item > a, which ties
   .site-header .primary-nav a on specificity and would win on order. */
.site-header .primary-nav a,
.site-header .primary-nav .nav-item > a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 6px 16px; border-bottom: 0;
  /* Enclosed-state geometry is reserved at REST: the radius and padding that
   shape the pill are already here, so states only repaint. */
  border-radius: var(--radius-nav-enclosed);
  background: transparent;
  /* 600 in EVERY state, including current: no state can alter glyph width, so
     the row cannot reflow when the current page changes. */
  font-weight: 600; font-size: .95rem;
  color: var(--color-nav-link, var(--color-text));
  /* Paint-only transitions. Never dimensions, position, transform or weight. */
  transition: background-color .13s ease, color .13s ease;
  /* The boundary lives on a pseudo-element pinned to inset:0, so growing it
   1px -> 2px -> 3px repaints inside the same box and can never shift text. */
  position: relative;
  isolation: isolate;
}
/* States for all three link surfaces are declared once, together, in 15h-ii. */

/* 15f. Header CTAs — the .btn hierarchy from section 5, in chrome markup.
   Mirrors section 5 rather than re-deriving it; see docs/STYLE-GUIDE.md. */
.site-header .header-actions .header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 12px 24px; border: 0;
  border-radius: var(--radius-cta, var(--radius-full));
  font-weight: 700; font-size: .95rem;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
/* Shared hover/focus posture: no underline through a pill, and no movement or
   resize — so hovering a CTA can never reflow the header. */
.site-header .header-actions .header-cta:hover,
.site-header .header-actions .header-cta:focus-visible {
  text-decoration: none;
  transform: none;
  opacity: 1;
}
.site-header .header-actions .header-cta--primary {
  background: var(--color-cta-surface, var(--color-accent));
  color: var(--color-cta-text, var(--color-primary-contrast));
  box-shadow: var(--color-cta-shadow, none);
}
.site-header .header-actions .header-cta--primary:hover,
.site-header .header-actions .header-cta--primary:focus-visible {
  background: var(--color-cta-hover-surface, var(--color-accent-hover));
  color: var(--color-cta-text, var(--color-primary-contrast));
  box-shadow: var(--color-cta-shadow, none);
}
/* The border is declared at rest, so the hover recolours it in place and the
   button's box never changes size. */
.site-header .header-actions .header-cta--secondary {
  background: var(--color-cta2-surface, transparent);
  color: var(--color-cta2-text, var(--color-primary));
  border: 1.5px solid var(--color-cta2-border, var(--color-border));
}
.site-header .header-actions .header-cta--secondary:hover,
.site-header .header-actions .header-cta--secondary:focus-visible {
  background: var(--color-cta2-surface, transparent);
  color: var(--color-cta2-text, var(--color-primary));
  border-color: var(--color-cta2-border-hover, var(--color-primary));
}

/* 15g. Mobile drawer — opaque, so page copy cannot read through it. */
:root.js-nav .primary-nav {
  background: var(--color-drawer-surface, var(--color-surface));
  box-shadow: var(--shadow-lg);
}

/* 15h. Footer. */
:root .site-footer {
  background: var(--color-footer-surface, var(--color-text));
  color: var(--color-footer-text, var(--color-primary-contrast));
  border-top: 1px solid var(--color-footer-border, transparent);
}
.site-footer .footer-col .footer-col-title {
  color: var(--color-footer-heading, var(--color-muted));
  font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800;
}
/* Footer column links — enclosed states. The 44px tap target is retained; the
   negative inline margin cancels the pill padding so text stays aligned. */
.site-footer .footer-col a {
  color: var(--color-footer-text, var(--color-primary-contrast));
  font-size: .95rem; font-weight: 600;
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 4px 12px; margin-inline-start: -12px;
  border-radius: var(--radius-nav-enclosed);
  background: transparent;
  transition: background-color .13s ease, color .13s ease;
  position: relative; isolation: isolate;
  /* Static room for the detached 3px focus ring at 3px offset, so a focused
     row never collides with the row above. Reserved at rest — not motion. */
  margin-block: 4px;
}
.site-footer .footer-brand p,
.site-footer .footer-bottom p,
.site-footer .footer-bottom a { color: var(--color-footer-muted, var(--color-muted)); }
.site-footer .footer-bottom { border-top: 1px solid var(--color-footer-border, transparent); }

/* 15h-i. Footer-bottom legal navigation — same enclosed vocabulary, compact.
   Also overrides the PLATFORM rule in commerce-chrome.css on specificity, not
   order: see docs/STYLE-GUIDE.md §15h-ii. */
.site-footer .footer-bottom nav a {
  display: inline-flex; align-items: center; min-height: 28px;
  padding: 3px 10px; margin-inline-start: -10px;
  border-radius: var(--radius-nav-enclosed);
  background: transparent;
  text-decoration: none;
  transition: background-color .13s ease, color .13s ease;
  position: relative; isolation: isolate;
}

/* 15h-ii. Enclosed link states — declared ONCE for all three surfaces.
   ORDERING IS LOAD-BEARING, do not resequence: this block sits AFTER all three
   base rules; then hover, current, pressed (they tie on specificity, so source
   order decides); focus last and orthogonal, so it composes with any state.
   Two deliberate specificity margins beat later-loading platform rules without
   !important. Full ordering contract and the specificity figures:
   docs/STYLE-GUIDE.md §15h-ii. */
.site-header .primary-nav a::after,
.site-header .primary-nav .nav-item > a::after,
.site-footer .footer-col a::after,
.site-footer .footer-bottom nav a::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid transparent; border-radius: inherit;
  pointer-events: none;
}
.site-header .primary-nav a:hover,
.site-header .primary-nav .nav-item > a:hover,
.site-footer .footer-col a:hover,
.site-footer .footer-bottom nav a:hover {
  background: var(--color-nav-enclosed-hover-surface);
  color: var(--color-nav-enclosed-text);
  text-decoration: none;
}
.site-header .primary-nav a:hover::after,
.site-header .primary-nav .nav-item > a:hover::after,
.site-footer .footer-col a:hover::after,
.site-footer .footer-bottom nav a:hover::after {
  border: 1px solid var(--color-nav-enclosed-hover-boundary);
}
.site-header .primary-nav a[aria-current="page"],
.site-header .primary-nav .nav-item > a[aria-current="page"],
.site-footer .footer-col a[aria-current="page"],
.site-footer .footer-bottom nav a[aria-current="page"] {
  background: var(--color-nav-enclosed-current-surface);
  color: var(--color-nav-enclosed-text);
  text-decoration: none;
}
.site-header .primary-nav a[aria-current="page"]::after,
.site-header .primary-nav .nav-item > a[aria-current="page"]::after,
.site-footer .footer-col a[aria-current="page"]::after,
.site-footer .footer-bottom nav a[aria-current="page"]::after {
  border: 2px solid var(--color-nav-enclosed-current-boundary);
}
.site-header .primary-nav a:active,
.site-header .primary-nav .nav-item > a:active,
.site-footer .footer-col a:active,
.site-footer .footer-bottom nav a:active {
  background: var(--color-nav-enclosed-pressed-surface);
  color: var(--color-nav-enclosed-text);
  text-decoration: none;
}
.site-header .primary-nav a:active::after,
.site-header .primary-nav .nav-item > a:active::after,
.site-footer .footer-col a:active::after,
.site-footer .footer-bottom nav a:active::after {
  border: 3px double var(--color-nav-enclosed-pressed-boundary);
}
.site-header .primary-nav a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--color-focus-ring, currentColor); outline-offset: 3px;
}

/* 15h-iii. Forced colours / Windows high contrast. The OS drops
   background-color, so the boundary geometry is re-expressed in system colours
   on the same paint-only pseudo-element, plus a Highlight focus ring. Nothing
   uses forced-color-adjust:none or hides a system indicator. NOT verified on
   native Windows — see docs/STYLE-GUIDE.md §15h-iii. */
@media (forced-colors: active) {
  .site-header .primary-nav a:hover::after,
  .site-header .primary-nav .nav-item > a:hover::after,
  .site-footer .footer-col a:hover::after,
  .site-footer .footer-bottom nav a:hover::after { border: 1px solid LinkText; }

  .site-header .primary-nav a[aria-current="page"]::after,
  .site-header .primary-nav .nav-item > a[aria-current="page"]::after,
  .site-footer .footer-col a[aria-current="page"]::after,
  .site-footer .footer-bottom nav a[aria-current="page"]::after { border: 2px solid LinkText; }

  .site-header .primary-nav a:active::after,
  .site-header .primary-nav .nav-item > a:active::after,
  .site-footer .footer-col a:active::after,
  .site-footer .footer-bottom nav a:active::after { border: 3px double LinkText; }

  .site-header .primary-nav a:focus-visible,
  .site-footer a:focus-visible { outline: 3px solid Highlight; outline-offset: 3px; }

  /* Keep both CTAs enclosed. A paint-only pseudo-element rather than a real
     border, so the control cannot change size in forced-colors mode. */
  .site-header .header-actions .header-cta { position: relative; }
  .site-header .header-actions .header-cta::after {
    content: ""; position: absolute; inset: 0;
    border: 1.5px solid ButtonText; border-radius: inherit; pointer-events: none;
  }
}
.site-footer .footer-brand img { filter: var(--chrome-footer-logo-filter, none); }

/* 15h-iv. Footer sitemap grid — five columns (brand + Platform, Industries,
   Resources, Company) at ordinary desktop widths. The platform's own
   .footer-grid rule in commerce-chrome.css is a fixed four-track grid (brand +
   3 nav columns); this tenant's footer carries four nav columns, not three, so
   the rule is re-declared in full here rather than patched — the same pattern
   §16c uses to re-declare the header drawer's own breakpoint. This sheet is
   linked a second time after commerce-chrome.css (§15h-ii's ordering note), so
   an equal-specificity rule here would already win on order; the .site-footer
   prefix also gives it higher specificity (0,2,0 vs 0,1,0), so the override
   holds even if the load order ever changes. Breakpoints are content-fit, not
   inherited from the platform's 960/860/560px scheme: 1200px is the narrowest
   width at which all five columns render on one line at every current label
   (verified down to 1024px, where the two-column tier below deliberately
   takes over instead); 560px is the narrowest width at which the two-column
   tier still wraps zero labels — reusing the platform's own ≤560px threshold
   used elsewhere in commerce-chrome.css (tile-grid, cat-grid, article-grid),
   since it happens to be exactly where this content also stops fitting two
   columns cleanly. See docs/STYLE-GUIDE.md §15h-iv. */
.site-footer .footer-grid {
  grid-template-columns: 1.2fr repeat(4, 1fr);
}
@media (max-width: 1199px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-footer .footer-brand { grid-column: auto; }
}

/* 15i. At the width where managed navigation collapses to the hamburger, the
   header is the brand and the menu control, so header CTAs are dropped.
   .header-actions stays and keeps the hamburger — only .header-cta anchors are
   hidden, so the line never wraps down to 320px. Every CTA destination stays
   reachable from the drawer, hero or footer. See docs/STYLE-GUIDE.md §15i. */
@media (max-width: 1099px) {
  .site-header .header-actions .header-cta { display: none; }
}

/* --- 16. Managed primary header — one-row desktop presentation -------------
   The component ships two stacked bands (.header-row and .primary-nav-bar).
   From the threshold up this folds them into one row — brand left, navigation
   centre, actions right — in normal flow only, by dissolving .header-row with
   display:contents so its children become flex items of .site-header.
   display:contents is applied only to the plain wrapper div, never to a <nav>,
   so no landmark semantics are removed. .site-header keeps a full-bleed
   background, so the container measure is re-applied as symmetric padding.
   Every selector in section 16 is anchored to
   .site-header[data-variant="primary"], leaving the minimal variant and legacy
   page headers untouched.
   Band structure, threshold derivation and the rest: docs/STYLE-GUIDE.md §16.
   ------------------------------------------------------------------------- */

@media (min-width: 1100px) {
  /* Dissolve the wrapper so brand and actions join .primary-nav-bar as
     siblings in one flex row. */
  .site-header[data-variant="primary"] .header-row { display: contents; }

  :root .site-header[data-variant="primary"] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(16px, 1.8vw, 28px);
    padding-block: 12px;
    padding-inline: max(24px, calc((100% - var(--container-max)) / 2));
  }

  .site-header[data-variant="primary"] .brand           { order: 1; flex: 0 0 auto; }
  .site-header[data-variant="primary"] .primary-nav-bar { order: 2; flex: 1 1 auto; min-width: 0; }
  .site-header[data-variant="primary"] .header-actions  { order: 3; flex: 0 0 auto; }

  /* The band's own chrome belongs to the two-row presentation only. */
  .site-header[data-variant="primary"] .primary-nav-bar {
    border-top: 0;
    background: transparent;
  }
  .site-header[data-variant="primary"] .primary-nav-bar > .container {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
    padding-block: 0;
  }

  /* Centre the six items in the space between brand and actions, on one line. */
  .site-header[data-variant="primary"] .primary-nav-bar .primary-nav > ul {
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(2px, 0.5vw, 10px);
  }
  /* Both selectors again, for the same specificity reason as 15e. */
  .site-header[data-variant="primary"] .primary-nav-bar .primary-nav a,
  .site-header[data-variant="primary"] .primary-nav-bar .primary-nav .nav-item > a {
    padding-block: 6px;
    padding-inline: clamp(8px, 0.8vw, 14px);
    white-space: nowrap;
  }
}

/* 16b. Exactly one navigation affordance at any width: full nav above the
   threshold, hamburger below it, never both. Also closes a pre-existing leak
   from section 13's unscoped .hamburger rule. See docs/STYLE-GUIDE.md §16b. */
@media (min-width: 1100px) {
  .site-header[data-variant="primary"] .hamburger { display: none; }
}

/* --- 16c. Managed navigation collapses to the drawer below the one-row band -
   The component switches to its drawer at 860px; this extends that same
   presentation up to the one-row threshold, so there is no intermediate
   two-row state. These are the component's own declarations, re-scoped. No new
   behaviour and NO JavaScript — the hamburger is in the markup at every width
   and the chrome script already toggles .open. See docs/STYLE-GUIDE.md §16c. */
@media (min-width: 861px) and (max-width: 1099px) {
  .site-header[data-variant="primary"] .hamburger { display: flex; }

  .site-header[data-variant="primary"] .primary-nav > ul {
    flex-direction: column; align-items: stretch; gap: 4px; flex-wrap: nowrap;
  }

  :root.js-nav .site-header[data-variant="primary"] .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    background: var(--color-drawer-surface, var(--color-surface));
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .25s ease;
    padding: 78px 20px 24px;
    overflow-y: auto;
    z-index: 120;
  }
  :root.js-nav .site-header[data-variant="primary"] .primary-nav.open { transform: none; }
}

/* --- 16d. Below the one-row band, the menu control sits at the right edge ---
   Below the threshold the component's own markup applies, where .header-row is
   display:flex with justify-content:normal, so brand and actions pack left. An
   auto inline-start margin on the actions consumes the free space.

   The z-index is REQUIRED BY that move, not cosmetic: once the control sits at
   the right edge it falls inside the fixed drawer's width, and the drawer has
   no click-outside, Escape handler or close button — so without raising the
   control a pointer user could not dismiss it. A flex item honours z-index
   unpositioned, so no position declaration is introduced.
   See docs/STYLE-GUIDE.md §16d. */
@media (max-width: 1099px) {
  .site-header[data-variant="primary"] .header-actions {
    margin-inline-start: auto;
    z-index: 121;
  }
}

/* --- 16e. Compact managed menu icon: centred, becomes an X, subtle hover ---
   Three defects are fixed together because fixing one exposes the others: an
   inherited span margin stacked with the component's own gap; the component
   only centres the icon below 980px; and a compact icon would collapse the
   60px row, so the row carries a min-height rather than a transform on the
   control.

   The open state is driven entirely by aria-expanded, which the chrome script
   already maintains: NO new JavaScript. Only transform and opacity animate,
   never on the button itself, so no state can move the control or change the
   header height. prefers-reduced-motion keeps every end state.
   See docs/STYLE-GUIDE.md §16e. */
@media (max-width: 1099px) {
  /* 3 — restore the established 60px row, and with it the 70px header */
  .site-header[data-variant="primary"] .header-row { min-height: 60px; }

  /* 2 — centre the icon inside the control across the whole band, and clear
     anything inherited that could offset its resting position */
  .site-header[data-variant="primary"] .hamburger {
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1;
  }

  /* 1 — compact bars */
  .site-header[data-variant="primary"] .hamburger span {
    width: 24px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    transition: transform .22s ease, opacity .18s ease;
  }

  /* open: bar 1 and bar 3 become the diagonals, bar 2 fades out */
  .site-header[data-variant="primary"] .hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header[data-variant="primary"] .hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .site-header[data-variant="primary"] .hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* hover — pointer devices only, transform-only, no layout effect */
@media (max-width: 1099px) and (hover: hover) and (pointer: fine) {
  .site-header[data-variant="primary"] .hamburger:not([aria-expanded="true"]):hover span:nth-child(1) {
    transform: translateY(-1px);
  }
  .site-header[data-variant="primary"] .hamburger:not([aria-expanded="true"]):hover span:nth-child(3) {
    transform: translateY(1px);
  }

  .site-header[data-variant="primary"] .hamburger[aria-expanded="true"]:hover span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) scaleX(1.1);
  }
  .site-header[data-variant="primary"] .hamburger[aria-expanded="true"]:hover span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) scaleX(1.1);
  }
}

@media (max-width: 1099px) and (prefers-reduced-motion: reduce) {
  .site-header[data-variant="primary"] .hamburger span { transition: none; }
}

/* --- 16f. Collapse the empty navigation band below the one-row threshold ----
   Below the threshold 16c makes .primary-nav fixed, which removes the only
   in-flow content from .primary-nav-bar and left it painting an empty white
   strip. The band must KEEP its box — the drawer is its DESCENDANT, so
   display:none here would take the drawer with it — so it gives up only the
   chrome and padding that gave it height. This mirrors what section 16 does for
   the same band above the threshold. See docs/STYLE-GUIDE.md §16f. */
@media (max-width: 1099px) {
  .site-header[data-variant="primary"] .primary-nav-bar {
    border-top: 0;
    background: transparent;
  }
  .site-header[data-variant="primary"] .primary-nav-bar > .container {
    padding-block: 0;
  }
}

/*! GENERATED FILE — DO NOT EDIT. Delivery bundle: 5 published stylesheets, cascade order below.
    Manifest: tools/css-delivery/entries/home.json
    Rebuild:  node tools/style-build/build.mjs && node tools/css-delivery/build.mjs   (verify: --check) */

/* ===== public/pages/mkt.css sha256:2b75c1198884 ======================================== */
nav.primary a.active {
  color: var(--teal-ink);
  background: #eaf5f2;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.foot-note {
  font-size: .88rem;
  margin-top: 12px;
  max-width: 34ch;
  color: var(--muted);
}


.hero {
  text-align: center;
  padding: 64px 0 0;
}
.hero h1 {
  margin: 16px auto;
  max-width: 22ch;
}
.hero .lede {
  max-width: 60ch;
  margin: 0 auto;
}
.hero .cta-row {
  justify-content: center;
  margin-top: 28px;
}
.hero-split {
  text-align: left;
}
.hero-split .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-split h1 {
  margin: 14px 0;
  max-width: 16ch;
}
.hero-split .lede {
  margin: 0;
  max-width: 52ch;
}
.hero-split .cta-row {
  justify-content: flex-start;
}
.hero-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.split.rev .split-copy {
  order: 2;
}
.split-copy h2 {
  margin-top: 6px;
}
.split-copy p {
  color: var(--muted);
  max-width: 48ch;
  margin: 12px 0 24px;
}
.split-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.split-media img {
  display: block;
  width: 100%;
  height: auto;
}

.alt-bg {
  background: #fff;
  border-block: 1px solid var(--line);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: center;
}
.stat-row.three {
  grid-template-columns: repeat(3, 1fr);
}
.stat b {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
}
.stat span {
  font-size: .9rem;
  color: var(--muted);
}

.reassure-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.reassure-row.two {
  grid-template-columns: repeat(2, 1fr);
}
.inline-links {
  margin-top: 28px;
  font-weight: 600;
  text-align: center;
}
.inline-links a {
  color: var(--teal-ink);
  text-decoration: none;
}
.inline-links a:hover {
  color: var(--navy);
}

.faq {
  max-width: 760px;
  margin: 40px auto 0;
}
.faq details {
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.faq summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--teal-ink);
  transition: transform .2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
}


.prose {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--ink);
}
.prose h2 {
  margin-top: 36px;
}
.prose h3 {
  margin-top: 24px;
  color: var(--navy);
}
.prose p {
  margin-top: 12px;
  color: var(--muted);
}
.prose ul {
  margin: 12px 0 12px 22px;
  color: var(--muted);
}
.prose li {
  margin-top: 6px;
}

.logo-note {
  text-align: center;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 20px;
}

@media (max-width: 980px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-split .container, .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-split {
    text-align: center;
  }
  .hero-split h1, .hero-split .lede {
    max-width: none;
    margin-inline: auto;
  }
  .hero-split .cta-row {
    justify-content: center;
  }
  .split.rev .split-copy {
    order: 0;
  }
  .reassure-row, .reassure-row.two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .stat-row {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
}

/* ===== public/scenes/hpui-primitives.css sha256:ac13464efac0 =========================== */
.hp .hpui { min-width: 0; font-size: .8rem; line-height: 1.4; color: var(--ink); background: #fff; border: 1px solid var(--ui-line); border-radius: 14px; box-shadow: var(--shadow-ui); overflow: hidden; text-align: left; }
.hp .hpui-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ui-line); background: var(--ui-ground); font-size: .74rem; font-weight: 700; color: var(--muted); }
.hp .hpui-dots { display: inline-flex; gap: 5px; }
.hp .hpui-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d5dbe4; }
.hp .hpui-url { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 3px 10px; font-weight: 600; color: var(--muted); font-family: var(--mono); font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.hp .hpui-label { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp .hpui-muted { color: var(--muted); }
.hp .hpui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--ui-line); }
.hp .hpui-row:first-child { border-top: 0; }
.hp .hpui-row b { font-weight: 700; color: var(--navy); }
.hp .hpui-row small { display: block; color: var(--muted); font-size: .72rem; }
.hp .hpui-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.hp .hpui-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.hp .hpui-ok { background: #e6f5ec; color: #146a3f; }
.hp .hpui-warn { background: #fbf1e0; color: #7a4f0a; }
.hp .hpui-bad { background: #fbe4e4; color: #9b2c2c; }
.hp .hpui-info { background: #e9f1fb; color: #23538a; }
.hp .hpui-neutral { background: #eef1f5; color: var(--muted); }
.hp .hpui-vip { background: #ece9fb; color: #4a3aa8; }
.hp .hpui-avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e2f2ef; color: var(--teal-ink); font-size: .68rem; font-weight: 800; }
.hp .hpui-mask { display: block; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, #cfd6e0 0 6px, transparent 6px 9px); }

/* ===== public/scenes/primitives.css sha256:a11062d68542 ================================ */
.totui { min-width: 0; font-size: .8rem; line-height: 1.4; color: var(--ink); background: #fff; border: 1px solid var(--ui-line); border-radius: 14px; box-shadow: var(--shadow-ui); overflow: hidden; text-align: left; }
.totui-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ui-line); background: var(--ui-ground); font-size: .74rem; font-weight: 700; color: var(--muted); }
.totui-bar .totui-dots { display: inline-flex; gap: 5px; }
.totui-bar .totui-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d5dbe4; }
.totui-bar .totui-url { flex: 1; min-width: 0; contain: inline-size; background: #fff; border: 1px solid var(--ui-line); border-radius: 6px; padding: 3px 10px; font-weight: 600; color: var(--muted); font-family: var(--mono); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.totui-title { font-weight: 800; color: var(--navy); font-size: .92rem; letter-spacing: -.01em; }
.totui-label { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.totui-muted { color: var(--muted); }
.totui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--ui-line); }
.totui-row:first-of-type { border-top: 0; }
.totui-row b { font-weight: 700; color: var(--navy); }
.totui-row small { display: block; color: var(--muted); font-size: .74rem; }
.totui-mark { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; }
.totui-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.totui-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.totui-chip.totui-ok { background: #e6f5ec; color: #146a3f; }
.totui-chip.totui-warn { background: #fbf1e0; color: #7a4f0a; }
.totui-chip.totui-info { background: #e9f1fb; color: #23538a; }
.totui-chip.totui-neutral { background: #eef1f5; color: var(--muted); }
.totui-chip.totui-locked { background: #eef1f5; color: var(--navy); }
.totui-chip.totui-locked::before { width: 8px; height: 8px; border-radius: 2px; }
.totui-toggle { width: 34px; height: 20px; border-radius: 999px; background: #cfd6e0; position: relative; flex-shrink: 0; }
.totui-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s; }
.totui-toggle.totui-on { background: var(--green); }
.totui-toggle.totui-on::after { transform: translateX(14px); }
.totui-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 8px; font-size: .74rem; font-weight: 800; background: var(--navy); color: #fff; white-space: nowrap; }
.totui-btn.totui-line { background: #fff; color: var(--navy); border: 1px solid var(--ui-line); }
.totui-mask { display: inline-block; height: 9px; border-radius: 4px; background: repeating-linear-gradient(90deg, #cfd6e0 0 6px, transparent 6px 9px); vertical-align: middle; }
.totui-prod { position: relative; border-radius: 10px; background: linear-gradient(160deg, #eef4f3, #e2ebf3); overflow: hidden; }
.totui-prod svg { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 400px) {
  .totui-bar .totui-chip { white-space: normal; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .totui-toggle::after { transition: none; }
}

/* ===== public/marketing/home.generated.css sha256:9752d5d57e5b ========================= */
.hp h1, .hp h2 { margin: 0; }
.hp ul { list-style: none; }
.hp .hp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hp .hp-container { max-width: 1150px; margin: 0 auto; padding: 0 var(--s3); }
.hp .hp-section { position: relative; padding: var(--s6) 0; }
.hp .hp-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hp h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; color: var(--navy); }
.hp h1 .hp-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; color: var(--navy); max-width: 22ch; }
.hp h3 { color: var(--navy); font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.hp .hp-kicker { display: block; margin: 0 0 12px; font-size: .8rem; font-weight: 800; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.hp .hp-on-navy .hp-kicker { color: var(--mint); }
.hp .hp-lede { font-size: 1.13rem; color: var(--muted); max-width: 56ch; margin-top: 14px; }
.hp .hp-copy p { color: var(--muted); max-width: 48ch; }

.hp .mkt-btn { gap: 10px; transition: transform .15s, box-shadow .15s, filter .15s, background .15s, border-color .15s; }
.hp .mkt-btn-tertiary { border-color: #687688; }
.hp .mkt-btn-tertiary:hover { border-color: #687688; }
.hp .hp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

@media (scripting: enabled) {
  :root .hp .hp-rv { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--d, 0s); animation: hp-rv-failsafe 1ms linear 2s forwards; }
  :root .hp .hp-rv.in { opacity: 1; transform: none; animation: none; }
}
@keyframes hp-rv-failsafe { to { opacity: 1; transform: none; } }

.hp .hp-hero { position: relative; padding: 64px 0 0; overflow: hidden;
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 50%, #f3f8f6 100%); }
.hp .hp-hero .hp-container { position: relative; }
.hp .hp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hp .hp-hero h1 { max-width: 16ch; margin-top: 12px; font-size: clamp(2.6rem, 4.6vw, 3.6rem); }
.hp .hp-hero .hp-lede { font-size: 1.15rem; max-width: 46ch; margin-top: 22px; }
.hp .hp-cues { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 700; color: var(--navy); }
.hp .hp-cues li { display: inline-flex; align-items: center; gap: 8px; }
.hp .hp-cues .hp-icon { width: 16px; height: 16px; stroke: var(--teal-ink); stroke-width: 2.6; }

.hp .hp-recognition { position: relative; background: #fff; border-bottom: 1px solid var(--line); padding: 32px 0; }
.hp .hp-recog-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.hp .hp-recog-title { font-size: 1.35rem; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; max-width: none; }
.hp .hp-audiences { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 18px; }
.hp .hp-audience { display: flex; gap: 9px; align-items: center; font-size: .94rem; font-weight: 650; color: var(--muted); }
.hp .hp-audience .hp-icon { width: 20px; height: 20px; color: var(--teal-ink); }
.hp .hp-g2 { display: grid; justify-items: start; gap: 2px; padding: 0 0 0 32px; border-left: 1px solid var(--line); color: var(--navy); text-decoration: none; }
.hp .hp-g2-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: .1em; line-height: 1.3; }
.hp .hp-g2-score { font-size: .94rem; }
.hp .hp-g2-score strong { font-size: 1.35rem; letter-spacing: -.03em; }
.hp .hp-g2-link { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.hp .hp-g2-link .hp-icon { width: 12px; height: 12px; }
.hp .hp-g2:hover .hp-g2-link { color: var(--navy); }

.hp .hp-software { background: var(--cream); }
.hp .hp-software h2 { max-width: 20ch; }
.hp .hp-software .hp-lede { margin-top: 16px; }
.hp .hp-software-foot { margin-top: 26px; display: flex; align-items: center; }

.hp .hp-launch { background: #fff; border-top: 1px solid var(--line); }
.hp .hp-launch-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.hp .hp-launch-head p { font-size: 1.08rem; color: var(--muted); max-width: 44ch; }
.hp .hp-pricing-line { margin-top: 24px; font-size: .95rem; color: var(--muted); text-align: right; }

.hp .hp-workflow { background: var(--grad-navy-section); color: var(--on-navy); overflow: hidden; }
.hp .hp-workflow h2 { color: #fff; max-width: 16ch; }
.hp .hp-workflow .hp-lede { color: var(--on-navy); }
.hp .hp-workflow-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.hp .hp-workflow-proof { position: relative; margin-top: 34px; padding-top: 22px; display: flex; align-items: center; gap: 18px; }
.hp .hp-workflow-proof::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; max-width: 360px; height: 2px;
  background: linear-gradient(90deg, var(--coral-soft) 0%, var(--lavender-2) 55%, rgba(214, 204, 245, 0) 100%); }
.hp .hp-workflow-proof strong { font-size: 2.6rem; letter-spacing: -.05em; line-height: 1; color: #fff; font-weight: 800; }
.hp .hp-workflow-proof p { color: var(--on-navy); font-size: .95rem; line-height: 1.5; }
.hp .hp-proof-src { display: inline-block; margin-top: 4px; padding: 3px 0; font-size: .84rem; color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.hp .hp-proof-src:hover, .hp .hp-proof-src:focus-visible { color: #fff; }

.hp .hp-privacy { background: var(--cream); overflow: hidden; }
.hp .hp-privacy::before { content: ""; position: absolute; right: 0; top: 0; width: 56%; height: 100%; pointer-events: none;
  background: linear-gradient(90deg, rgba(231, 225, 251, 0) 0%, #efe9fc 100%); }
.hp .hp-privacy .hp-container { position: relative; }
.hp .hp-privacy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hp .hp-privacy-claim { font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: -.045em; line-height: 1; max-width: 12ch; color: var(--navy); }
.hp .hp-privacy-copy p { font-size: 1.08rem; color: var(--muted); max-width: 40ch; margin: 22px 0 10px; }

.hp .hp-stories { background: var(--ground-soft); }

.hp .hp-build { background: #f6f7f4; border-top: 1px solid var(--line); }

.hp .hp-editorial { background: #fff; }

.hp .hp-closing { overflow: hidden; color: var(--on-navy); background: linear-gradient(135deg, #0c2140 0%, var(--navy) 50%, var(--navy-2) 100%); }
.hp .hp-closing::before { content: ""; position: absolute; z-index: 0; top: -12%; bottom: -12%; right: -6%; width: 58%; pointer-events: none;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(120deg, rgba(13, 147, 145, .36) 0%, rgba(59, 130, 196, .32) 38%, rgba(123, 98, 201, .28) 68%, rgba(216, 106, 86, .32) 100%); }
.hp .hp-closing .hp-container { position: relative; z-index: 1; }
.hp .hp-closing h2 { color: #fff; max-width: 14ch; }
.hp .hp-closing-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.hp .hp-closing-price { margin-top: 24px; font-size: .95rem; color: var(--on-navy); }

@media (max-width: 1100px) {
  .hp .hp-hero-grid { gap: 36px; }
  .hp h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); }
  .hp .hp-hero .hp-lede { font-size: 1.1rem; }
  .hp .hp-workflow-grid { gap: 36px; grid-template-columns: .95fr 1.05fr; }
  .hp .hp-privacy-grid { gap: 40px; }
  .hp .hp-closing-layout { gap: 40px; }
}
@media (max-width: 900px) {
  .hp .hp-recog-layout { gap: 24px; }
  .hp .hp-audiences { gap: 12px 20px; }
  .hp .hp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hp .hp-hero h1 { max-width: 16ch; }
  .hp .hp-hero .hp-lede { max-width: 52ch; }
  .hp .hp-launch-head { grid-template-columns: 1fr; gap: 18px; }
  .hp .hp-workflow-grid, .hp .hp-privacy-grid, .hp .hp-closing-layout { grid-template-columns: 1fr; }
  .hp .hp-privacy-grid { gap: 32px; }
  .hp .hp-closing::before { top: auto; bottom: -8%; left: -8%; right: -8%; width: auto; height: 60%; clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%); }
}
@media (max-width: 760px) {
  .hp .hp-section { padding: 64px 0; }
  .hp .hp-container { padding: 0 20px; }
  .hp .hp-hero { padding: 40px 0 0; }
  .hp .hp-cues { justify-content: flex-start; gap: 12px 24px; margin-top: 36px; font-size: .84rem; }
  .hp .hp-recog-layout { grid-template-columns: 1fr; gap: 24px; }
  .hp .hp-recog-title { max-width: 26ch; }
  .hp .hp-audiences { gap: 14px 24px; }
  .hp .hp-g2 { grid-template-columns: auto auto; column-gap: 12px; justify-content: start; align-items: center; border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .hp .hp-g2-score { grid-column: 2; grid-row: 1; }
  .hp .hp-g2-link { grid-column: 1 / -1; }
  .hp .hp-pricing-line { text-align: left; }
}
@media (max-width: 400px) {
  .hp .hp-container { padding: 0 16px; }
  .hp h1 { font-size: 2.15rem; }
  .hp .hp-hero h1 { font-size: 2.15rem; }
  .hp h2 { font-size: 1.7rem; }
  .hp .hp-privacy-claim { font-size: 2.5rem; }
  .hp .mkt-btn { padding: 12px 18px; font-size: .9rem; }
  .hp .hp-cta-row .mkt-btn { flex: 1 1 100%; }
  .hp .hp-audiences { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  :root .hp .hp-rv, :root .hp .hp-rv.in { opacity: 1; transform: none; transition: none; animation: none; }
  .hp .mkt-btn, .hp .mkt-lnk { transition: none; }
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s, background .15s;
}
.mkt-btn:hover {
  transform: translateY(-2px);
}
.mkt-btn:active {
  transform: translateY(0);
  filter: brightness(.96);
}
.mkt-btn:disabled,
.mkt-btn[aria-disabled="true"],
.mkt-btn.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: grayscale(.2);
}
.mkt-btn.is-loading,
.mkt-btn[aria-busy="true"] {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.mkt-btn.is-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  color: #fff;
  animation: mkt-btn-spin .7s linear infinite;
}
@keyframes mkt-btn-spin {
  to { transform: rotate(360deg); }
}

.mkt-btn-primary {
  background: var(--color-cta);
  color: #fff;
  box-shadow: 0 7px 20px rgba(21, 122, 74, .28);
}
.mkt-btn-primary:hover {
  background: var(--color-cta-hover);
}
.mkt-btn-secondary {
  background: var(--navy);
  color: #fff;
}
.mkt-btn-secondary:hover {
  background: var(--navy-2);
}
.mkt-btn-tertiary {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line-cool);
}
.mkt-btn-tertiary:hover {
  border-color: var(--navy);
}
.mkt-btn-accent {
  background: var(--coral);
  color: #fff;
}
.mkt-btn-accent:hover {
  background: #a5341f;
}

.mkt-btn-tertiary.mkt-on-navy {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.mkt-btn-tertiary.mkt-on-navy:hover {
  border-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .mkt-btn.is-loading::after { animation: none; }
}

.mkt-lnk { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); font-size: .95rem; font-weight: 800; color: var(--teal-ink); text-decoration: none; transition: gap .2s; }
.mkt-lnk-icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mkt-lnk:hover, .mkt-lnk:focus-visible { gap: 12px; text-decoration: underline; text-underline-offset: 4px; }
.mkt-inline-lnk { color: var(--teal-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mkt-lnk.mkt-on-navy, .mkt-inline-lnk.mkt-on-navy { color: var(--mint); }

.mkt-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.mkt-rule { position: relative; }
.mkt-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--rule-warm); }
.mkt-rule.mkt-rule-cool::before { background: var(--rule-cool); }

.mkt-tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); font-weight: 700; }
.mkt-tag.mkt-tag-coral { color: var(--coral); }
.mkt-tag.mkt-tag-overlay { position: absolute; left: 24px; top: 22px; z-index: 1; color: #fff; background: rgba(16, 41, 75, .55); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 768px) {
  .mkt-tag { font-size: .68rem; }
}

.mkt-section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.mkt-section-top .mkt-lnk { flex: none; margin-bottom: 6px; }
@media (max-width: 900px) {
  .mkt-section-top { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
}

.mkt-metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; margin-bottom: 44px; }
.mkt-metric { padding: 0 32px; border-right: 1px solid var(--line); }
.mkt-metric:first-child { padding-left: 0; }
.mkt-metric:last-child { border-right: 0; }
.mkt-metric-value { display: flex; align-items: baseline; gap: 6px; font-size: clamp(3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--navy); margin-bottom: 12px; }
.mkt-metric-unit { font-size: 1.35rem; letter-spacing: -.03em; font-weight: 700; color: var(--teal-ink); }
.mkt-metric p { font-size: .95rem; color: var(--muted); max-width: 24ch; }
@media (max-width: 1100px) {
  .mkt-metric { padding: 0 22px; }
}
@media (max-width: 760px) {
  .mkt-metrics { grid-template-columns: 1fr; padding: 0; margin-bottom: 36px; }
  .mkt-metric, .mkt-metric:first-child { display: grid; grid-template-columns: 124px 1fr; column-gap: 18px; align-items: center; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .mkt-metric:last-child { border-bottom: 0; }
  .mkt-metric-value { grid-row: 1 / 3; margin: 0; font-size: 2.9rem; }
  .mkt-metric p { max-width: none; }
}
@media (max-width: 400px) {
  .mkt-metric, .mkt-metric:first-child { grid-template-columns: 104px 1fr; }
  .mkt-metric-value { font-size: 2.5rem; }
}

.mkt-story { display: grid; grid-template-columns: 1fr 1fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-deep); background: #fff; }
.mkt-story-media { position: relative; min-height: 420px; background: var(--navy); }
.mkt-story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--mkt-story-focal, center); display: block; }
.mkt-story-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(16, 41, 75, .35) 0%, rgba(16, 41, 75, 0) 35%, rgba(16, 41, 75, 0) 55%, rgba(16, 41, 75, .72) 100%); }
.mkt-story-wordmark { position: absolute; left: 26px; bottom: 24px; z-index: 1; color: #fff; font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.05em; line-height: .95; }
.mkt-story-wordmark span { display: block; font-weight: 500; font-size: .95rem; letter-spacing: .22em; margin-top: 6px; }
.mkt-story-copy { padding: 44px 44px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: #fff; }
.mkt-story-copy h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); margin: 12px 0 14px; }
.mkt-story-copy p { font-size: .98rem; color: var(--muted); max-width: 44ch; }
.mkt-story-copy blockquote { position: relative; font-size: 1.28rem; line-height: 1.4; letter-spacing: -.015em; color: var(--navy); font-weight: 600; margin: 26px 0 12px; max-width: 30ch; padding-left: 18px; border-left: 3px solid var(--coral); }
.mkt-story-attrib { font-size: .88rem; color: var(--muted); }
.mkt-story-copy .mkt-lnk { margin-top: 22px; }
@media (max-width: 1100px) {
  .mkt-story-copy { padding: 32px; }
}
@media (max-width: 900px) {
  .mkt-story { grid-template-columns: 1fr; }
  .mkt-story-media { min-height: 300px; }
  .mkt-story-media img { object-position: var(--mkt-story-focal-narrow, var(--mkt-story-focal, center)); }
}
@media (max-width: 760px) {
  .mkt-story-copy { padding: 26px 22px; }
}
@media (max-width: 400px) {
  .mkt-story-media { min-height: 250px; }
  .mkt-story-copy blockquote { font-size: 1.12rem; }
  .mkt-story-wordmark { font-size: 1.6rem; }
}

.mkt-example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.mkt-example { display: grid; grid-template-columns: 104px 1fr; gap: 22px; padding: 24px; border-radius: var(--r); border: 1px solid var(--line-soft); background: #fff; }
.mkt-example-media { display: grid; place-items: center; min-height: 104px; border-radius: 16px; background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; text-align: center; padding: 0; box-shadow: var(--shadow-soft); overflow: hidden; }
.mkt-example-photo { display: block; width: 100%; height: 100%; min-height: 104px; object-fit: cover; object-position: center; }
.mkt-example h3 { font-size: 1.2rem; margin: 6px 0 6px; }
.mkt-example p { font-size: .92rem; color: var(--muted); }
.mkt-example .mkt-lnk { margin-top: 2px; font-size: .9rem; }
@media (max-width: 900px) {
  .mkt-example-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mkt-example { grid-template-columns: 84px 1fr; gap: 16px; padding: 18px; }
  .mkt-example-media { min-height: 84px; }
}
@media (max-width: 400px) {
  .mkt-example { grid-template-columns: 1fr; }
  .mkt-example-media { min-height: 72px; max-width: 140px; }
}

.mkt-article {
  --mkt-shadow-cool: 0 18px 44px rgba(59, 130, 196, .14), 0 2px 6px rgba(16, 41, 75, .05);
}
.mkt-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.mkt-article { display: flex; flex-direction: column; min-width: 0; text-decoration: none; border-radius: 18px; }
.mkt-article-media { aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-sky); background: var(--ui-ground); box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s; }
.mkt-article-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--mkt-article-focal, center); display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mkt-article:hover .mkt-article-media { transform: translateY(-3px); box-shadow: var(--mkt-shadow-cool); }
.mkt-article:hover .mkt-article-media img { transform: scale(1.03); }
.mkt-article-meta { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mkt-article-meta span:first-child { color: var(--teal-ink); font-weight: 700; }
.mkt-article h3 { font-size: 1.25rem; line-height: 1.25; max-width: 24ch; }
.mkt-article-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; min-height: var(--tap); font-size: .92rem; font-weight: 800; color: var(--teal-ink); }
.mkt-article-link .mkt-icon { width: 14px; height: 14px; stroke-width: 2.4; }
.mkt-article:hover .mkt-article-link { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .mkt-article-grid { grid-template-columns: 1fr; gap: 30px; max-width: 560px; }
}
@media (max-width: 768px) {
  .mkt-article-meta { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-article-media, .mkt-article-media img { transition: none; }
  .mkt-article:hover .mkt-article-media img { transform: none; }
}

.mkt-choice {
  --mkt-shadow-warm: 0 18px 44px rgba(191, 61, 44, .10), 0 2px 6px rgba(16, 41, 75, .05);
  --mkt-shadow-cool: 0 18px 44px rgba(59, 130, 196, .14), 0 2px 6px rgba(16, 41, 75, .05);
}
.mkt-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mkt-choice { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.mkt-choice { text-decoration: none; color: inherit; }
a.mkt-choice:hover { transform: translateY(-3px); }
a.mkt-choice:hover .mkt-lnk, a.mkt-choice:focus-visible .mkt-lnk { gap: 12px; text-decoration: underline; text-underline-offset: 4px; }
a.mkt-choice:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: var(--r); }
.mkt-choice-warm { background: linear-gradient(180deg, #fff 0%, #fff4ec 100%); border-color: var(--line-warm); }
.mkt-choice-warm:hover { border-color: #e6bda4; box-shadow: var(--mkt-shadow-warm); }
.mkt-choice-warm .mkt-choice-icon { background: var(--peach); border-color: #f1c6ae; color: var(--navy); }
.mkt-choice-cool { background: linear-gradient(180deg, #fff 0%, #eef4fd 100%); border-color: var(--line-sky); }
.mkt-choice-cool:hover { border-color: #a9c6e8; box-shadow: var(--mkt-shadow-cool); }
.mkt-choice-cool .mkt-choice-icon { background: var(--sky); border-color: #b6d1ee; color: var(--navy); }
.mkt-choice-icon .mkt-icon { width: 24px; height: 24px; }
.mkt-choice-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-cool); }
.mkt-choice h3 { font-size: 1.32rem; }
.mkt-choice p { font-size: .95rem; color: var(--muted); max-width: 38ch; margin: 8px 0 8px; }
@media (max-width: 900px) {
  .mkt-choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mkt-choice { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-choice { transition: none; }
}

.mkt-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.mkt-showcase { display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line-cool); box-shadow: var(--shadow-soft); }
.mkt-showcase h3 { font-size: 1.55rem; margin: 10px 0 10px; max-width: 18ch; }
.mkt-showcase > p { font-size: .98rem; color: var(--muted); max-width: 44ch; }
.mkt-showcase-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; }
.mkt-showcase figure { margin: 26px 0 0; }
@media (max-width: 900px) {
  .mkt-showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mkt-showcase { padding: 22px; }
}

.mkt-option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mkt-option { position: relative; overflow: hidden; padding: 26px; border-radius: 18px; background: rgba(11, 29, 55, .94); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 44px rgba(0, 0, 0, .22); display: flex; flex-direction: column; align-items: flex-start; }
.mkt-option::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.mkt-option-warm::before { background: linear-gradient(90deg, var(--peach), var(--coral-soft)); }
.mkt-option-cool::before { background: linear-gradient(90deg, var(--sky), var(--lavender-2)); }
.mkt-option h3 { color: #fff; font-size: 1.18rem; }
.mkt-option p { font-size: .92rem; color: var(--on-navy); margin: 10px 0 18px; }
.mkt-option .mkt-btn, .mkt-option .mkt-lnk { margin-top: auto; }
@media (max-width: 760px) {
  .mkt-option-grid { grid-template-columns: 1fr; }
}

/* ===== public/scenes/homepage-scenes.css sha256:5039007069c8 =========================== */
.hp {
  --teal-08: rgba(13, 147, 145, .08);
  --hp-hero-field: linear-gradient(160deg, #fdf0e6 0%, #ffe4d3 9%, #dbf2e6 34%, #cfe6f8 68%, #c6dbf7 100%);
  --hp-stage-field: linear-gradient(150deg, var(--lavender) 0%, var(--sky) 52%, var(--mint-pale) 100%);
  --hp-hatch: repeating-linear-gradient(-45deg, rgba(16, 41, 75, .03) 0 1px, transparent 1px 14px);
  --hp-hatch-workflow: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 11px);
  --hp-spectrum: linear-gradient(120deg, var(--teal) 0%, #3b82c4 36%, #7b62c9 66%, #d86a56 100%);
}

.hp .hp-hero-visual { position: relative; margin: 0; padding: 0 0 0 18px; }
.hp .hp-hero-visual::before { content: ""; position: absolute; z-index: 0; top: -56px; bottom: -44px; left: -58px; right: -44vw;
  border-radius: 30px; transform: skewX(-5deg); transform-origin: 0 100%;
  background: var(--hp-hatch), var(--hp-hero-field);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.hp .hp-console { position: relative; z-index: 1; box-shadow: 0 26px 60px rgba(16, 41, 75, .18), 0 2px 6px rgba(16, 41, 75, .06); }
.hp .hp-console .hpui-bar { justify-content: space-between; }
.hp .hp-console-row { display: flex; align-items: center; gap: 14px; padding: 16px; border-top: 1px solid var(--ui-line); }
.hp .hp-console-row:first-of-type { border-top: 0; }
.hp .hp-console-row:last-of-type { padding-bottom: 28px; }
.hp .hp-console-row .hp-check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e6f5ec; color: #146a3f; }
.hp .hp-console-row .hp-check .hp-icon { width: 14px; height: 14px; stroke-width: 2.6; }
.hp .hp-console-row.is-flag .hp-check { background: #fbf1e0; color: #7a4f0a; }
.hp .hp-console-row b { display: block; color: var(--navy); font-size: .86rem; }
.hp .hp-console-row small { display: block; color: var(--muted); font-size: .74rem; margin-top: 1px; }
.hp .hp-console-row .hp-ref { margin-left: auto; font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.hp .hp-shopper { position: relative; z-index: 2; width: 66%; margin: -22px 0 0 -26px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; border-radius: 14px; box-shadow: 0 30px 60px rgba(16, 41, 75, .20), 0 4px 12px rgba(16, 41, 75, .08); }
.hp .hp-shopper .hpui-avatar { width: 40px; height: 40px; }
.hp .hp-shopper .hpui-avatar .hp-icon { width: 20px; height: 20px; }
.hp .hp-shopper b { display: block; color: var(--navy); font-size: .9rem; }
.hp .hp-shopper p { font-size: .78rem; color: #146a3f; font-weight: 700; margin-top: 2px; }
.hp .hp-pass { position: relative; z-index: 2; width: 62%; margin: 12px 0 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: var(--shadow-soft); }
.hp .hp-pass b { font-size: .86rem; }
.hp .hp-pass span { font-family: var(--mono); font-size: .68rem; color: var(--on-navy); }
@media (scripting: enabled) {
  :root .hp .hp-hero-visual .hp-console-row, :root .hp .hp-hero-visual .hp-shopper, :root .hp .hp-hero-visual .hp-pass { opacity: 0; transform: translateY(10px); animation: hp-rise 1ms linear 2s forwards; }
  :root .hp .hp-hero-visual.in .hp-console-row { animation: hp-rise .55s ease forwards; animation-delay: calc(.25s + var(--i) * .16s); }
  :root .hp .hp-hero-visual.in .hp-shopper { animation: hp-rise .55s ease forwards; animation-delay: 1s; }
  :root .hp .hp-hero-visual.in .hp-pass { animation: hp-rise .55s ease forwards; animation-delay: 1.25s; }
}
@keyframes hp-rise { to { opacity: 1; transform: none; } }

.hp .hp-stage { position: relative; margin-top: 44px; padding: 44px 40px 44px; border-radius: 28px; border: 1px solid var(--line-lav); overflow: hidden;
  background: var(--hp-hatch), var(--hp-stage-field); }
.hp .hp-stage::after { content: ""; position: absolute; z-index: 0; right: 0; top: 0; bottom: 0; width: 36%; pointer-events: none; opacity: .9;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--lavender-2) 100%); }
.hp .hp-stage > * { position: relative; z-index: 1; }
.hp .hp-canvas { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 28px; align-items: start; }
.hp .hp-admin { grid-column: 1; margin-right: -120px; border-radius: 16px; box-shadow: var(--shadow-lift); }
.hp .hp-admin .hpui-bar { padding: 9px 14px; }
.hp .hp-admin-body { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 336px; }
.hp .hp-rail { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-navy); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.hp .hp-rail strong { display: flex; align-items: center; gap: 10px; color: #fff; font-size: .8rem; padding: 6px 10px 18px; letter-spacing: -.01em; }
.hp .hp-rail strong i { width: 24px; height: 24px; border-radius: 7px; background: var(--mint); color: var(--navy); display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 900; }
.hp .hp-rail-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: .78rem; font-weight: 600; color: var(--on-navy); }
.hp .hp-rail-item .hp-icon { width: 15px; height: 15px; }
.hp .hp-rail-item.is-active { background: rgba(127, 227, 184, .16); color: #fff; box-shadow: inset 3px 0 0 var(--mint); }
.hp .hp-admin-main { padding: 20px 22px 18px; min-width: 0; background: #fff; }
.hp .hp-admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.hp .hp-admin-head b { font-size: 1.02rem; color: var(--navy); letter-spacing: -.015em; display: inline-flex; align-items: center; gap: 8px; }
.hp .hp-admin-head b .hp-icon { width: 16px; height: 16px; color: var(--teal-ink); }
.hp .hp-search { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--ui-line); border-radius: 8px; color: var(--muted); font-size: .72rem; background: var(--ui-ground); white-space: nowrap; }
.hp .hp-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.hp .hp-table th { text-align: left; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; padding: 8px 8px; border-bottom: 1px solid var(--ui-line); }
.hp .hp-table td { padding: 11px 8px; border-bottom: 1px solid var(--ui-line); color: var(--ink); vertical-align: middle; }
.hp .hp-table td:first-child { font-weight: 700; color: var(--navy); }
.hp .hp-table td .hp-cust { display: inline-flex; align-items: center; gap: 9px; }
.hp .hp-table tr.is-selected td { background: #f2fbf8; }
.hp .hp-table tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--teal); }
.hp .hp-callout { grid-column: 2; margin-top: 104px; border-radius: 16px; box-shadow: 0 30px 70px rgba(16, 41, 75, .20), 0 6px 18px rgba(16, 41, 75, .08); border-color: rgba(13, 147, 145, .35); }
.hp .hp-callout-top { display: flex; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--ui-line); background: var(--ui-ground); }
.hp .hp-callout-top .hpui-label { color: var(--teal-ink); }
.hp .hp-callout-title { display: flex; align-items: center; gap: 10px; padding: 14px 14px 4px; font-size: 1.05rem; font-weight: 800; color: var(--navy); letter-spacing: -.015em; }
.hp .hp-callout-title .hpui-avatar { width: 34px; height: 34px; }
.hp .hp-callout .hp-rule { padding: 0 14px 12px; font-size: .74rem; color: var(--muted); }
.hp .hp-callout .hpui-row { padding: 9px 14px; font-size: .78rem; }
.hp .hp-callout .hpui-row span:last-child { font-family: var(--mono); font-size: .72rem; color: var(--navy); }
.hp .hp-crops { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: -16px 0 0 8%; }
.hp .hp-crop { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 150px; border-radius: 14px; box-shadow: var(--shadow-lift); }
.hp .hp-crop-copy { padding: 18px 18px 16px; border-right: 1px solid var(--ui-line); }
.hp .hp-crop-copy strong { display: block; margin: 0 0 4px; font-size: 1rem; color: var(--navy); letter-spacing: -.015em; }
.hp .hp-crop-copy .hpui-muted { font-size: .78rem; line-height: 1.45; }
.hp .hp-crop-detail { padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 9px; background: var(--ui-ground); }
.hp .hp-kv { display: flex; justify-content: space-between; gap: 8px; font-size: .76rem; color: var(--muted); }
.hp .hp-kv span:last-child { font-weight: 700; color: var(--navy); }
.hp .hp-kv:last-child { padding-top: 8px; border-top: 1px solid var(--ui-line); }
.hp .hp-bars { display: flex; gap: 5px; align-items: flex-end; height: 40px; border-bottom: 1px solid var(--ui-line); padding: 0 2px; }
.hp .hp-bars i { display: block; width: 20%; height: 65%; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--teal) 0%, #3b82c4 100%); opacity: .55; }
.hp .hp-bars i:nth-child(2) { height: 90%; }
.hp .hp-bars i:nth-child(3) { height: 45%; }
.hp .hp-bars i:nth-child(4) { height: 70%; }
.hp .hp-bars i:nth-child(5) { height: 100%; opacity: .9; }
.hp .hp-crop-detail .hp-report-label { font-size: .72rem; color: var(--muted); }
@media (scripting: enabled) {
  :root .hp .hp-stage .hp-callout, :root .hp .hp-stage .hp-crop { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); animation: hp-rise 1ms linear 2s forwards; }
  :root .hp .hp-stage.in .hp-callout { opacity: 1; transform: none; transition-delay: .45s; animation: none; }
  :root .hp .hp-stage.in .hp-crop { opacity: 1; transform: none; transition-delay: .7s; animation: none; }
  :root .hp .hp-stage.in .hp-crop + .hp-crop { transition-delay: .85s; }
}

.hp .hp-scene { position: relative; margin: 0; color: var(--ink); }
.hp .hp-scene::before { content: ""; position: absolute; z-index: 0; top: 24px; left: 24px; right: -24px; bottom: -24px; border-radius: 22px;
  background: var(--hp-hatch-workflow), var(--hp-spectrum); opacity: .92; }
.hp .hp-scene > [role="img"] { position: relative; z-index: 1; padding: 24px; border-radius: 22px; background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .30), 0 6px 18px rgba(0, 0, 0, .12); }
.hp .hp-wf-context { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ui-line); }
.hp .hp-wf-context .hp-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--teal-08); color: var(--teal-ink); display: grid; place-items: center; flex: none; }
.hp .hp-wf-context b { display: block; font-size: .95rem; color: var(--navy); }
.hp .hp-wf-context p { font-size: .8rem; color: var(--muted); }
.hp .hp-presets { display: grid; grid-template-columns: 1.4fr .8fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--ui-line); }
.hp .hp-preset { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ui-line); background: var(--ui-ground); }
.hp .hp-preset span { display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hp .hp-preset b { font-size: .92rem; color: var(--navy); }
.hp .hp-flow { padding: 18px 0 4px; }
.hp .hp-node { position: relative; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--ui-line); background: #fff; box-shadow: var(--shadow-soft); }
.hp .hp-node .hp-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-08); color: var(--teal-ink); }
.hp .hp-node .hp-ic .hp-icon { width: 18px; height: 18px; }
.hp .hp-node b { display: block; font-size: .9rem; color: var(--navy); }
.hp .hp-node small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.hp .hp-node .hp-step { font-family: var(--mono); font-size: .66rem; color: var(--muted); }
.hp .hp-channels { display: flex; gap: 6px; margin-top: 8px; }
.hp .hp-channels span { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--ui-line); color: var(--navy); background: var(--ui-ground); }
.hp .hp-connector { height: 22px; width: 2px; margin-left: 32px; background: linear-gradient(180deg, var(--teal), #3b82c4); transform-origin: top center; position: relative; }
.hp .hp-connector::after { content: ""; position: absolute; left: -4px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: #3b82c4; }
@media (scripting: enabled) {
  :root .hp .hp-flow .hp-connector { transform: scaleY(0); animation: hp-grow 1ms linear 2s forwards; }
  :root .hp .hp-flow .hp-node { opacity: 0; transform: translateY(8px); animation: hp-rise 1ms linear 2s forwards; }
  :root .hp .hp-scene.in .hp-node { animation: hp-rise .5s ease forwards; animation-delay: calc(.2s + var(--i) * .3s); }
  :root .hp .hp-scene.in .hp-connector { animation: hp-grow .4s ease forwards; animation-delay: calc(.45s + var(--i) * .3s); }
}
@keyframes hp-grow { to { transform: scaleY(1); } }

.hp .hp-privacy-scene { position: relative; margin: 0; padding: 28px; border-radius: 26px; border: 1px solid var(--line-lav);
  background: linear-gradient(145deg, var(--lavender) 0%, var(--sky) 100%); }
.hp .hp-privacy-scene::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(16, 41, 75, .14); border-radius: 18px; pointer-events: none; }
.hp .hp-privacy-window { border-radius: 16px; box-shadow: var(--shadow-lift); }
.hp .hp-privacy-window .hpui-bar { justify-content: flex-start; gap: 10px; }
.hp .hp-privacy-window .hpui-bar .hp-icon { width: 16px; height: 16px; color: var(--teal-ink); }
.hp .hp-person { display: flex; align-items: center; gap: 14px; padding: 18px 16px 14px; }
.hp .hp-person .hpui-avatar { width: 46px; height: 46px; }
.hp .hp-person .hpui-avatar .hp-icon { width: 22px; height: 22px; }
.hp .hp-person b { display: block; font-size: 1.02rem; color: var(--navy); }
.hp .hp-person p { font-size: .78rem; color: var(--muted); font-family: var(--mono); margin-top: 2px; }
.hp .hp-result { display: flex; justify-content: space-between; align-items: center; margin: 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--ui-ground); border: 1px solid var(--ui-line); font-size: .8rem; color: var(--muted); }
.hp .hp-result strong { color: #146a3f; font-size: .86rem; }
.hp .hp-restricted { margin: 14px 16px 16px; padding: 14px; border-radius: 12px; border: 1px dashed rgba(123, 98, 201, .5); display: flex; align-items: center; gap: 14px; background: #f4f1fc; }
.hp .hp-restricted .hp-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--lavender); color: var(--navy); display: grid; place-items: center; flex: none; }
.hp .hp-restricted .hp-ic .hp-icon { width: 16px; height: 16px; }
.hp .hp-redacted { flex: 1; display: grid; gap: 7px; }
.hp .hp-redacted .hpui-mask:last-child { width: 62%; }
.hp .hp-restricted span { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-align: right; line-height: 1.3; }
@media (scripting: enabled) {
  :root .hp .hp-privacy-scene .hp-result { opacity: 0; transform: translateY(8px); transition: opacity .6s .4s ease, transform .6s .4s cubic-bezier(.2, .7, .2, 1); animation: hp-rise 1ms linear 2s forwards; }
  :root .hp .hp-privacy-scene.in .hp-result { opacity: 1; transform: none; animation: none; }
}

.hp .hp-mini-store { position: relative; height: 200px; border-radius: 16px; overflow: hidden; padding: 16px 18px; border: 1px solid var(--line-sky); background: linear-gradient(150deg, var(--mint-pale) 0%, var(--sky) 100%); }
.hp .hp-shop-nav { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 700; color: var(--navy); padding-bottom: 10px; border-bottom: 1px solid rgba(16, 41, 75, .14); letter-spacing: .04em; }
.hp .hp-shop-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; }
.hp .hp-shop-head { font-size: 1.4rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; max-width: 8ch; color: var(--navy); }
.hp .hp-shop-line { height: 5px; border-radius: 3px; background: rgba(16, 41, 75, .14); width: 80%; margin-top: 10px; }
.hp .hp-shop-line-short { width: 60%; }
.hp .hp-shop-image { height: 104px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, var(--butter) 0%, var(--peach) 100%); color: var(--navy); }
.hp .hp-shop-image .hp-icon { width: 44px; height: 54px; opacity: .55; }
.hp .hp-store-tag { position: absolute; right: 12px; bottom: 12px; font-size: .66rem; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line-cool); border-radius: 999px; padding: 5px 10px; box-shadow: var(--shadow-soft); }

.hp .hp-mcp-scene { min-height: 200px; border-radius: 16px; padding: 22px; border: 1px solid var(--line-lav); background: linear-gradient(135deg, var(--lavender) 0%, var(--sky) 100%); }
.hp .hp-mcp-conn { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--navy); }
.hp .hp-mcp-conn .hp-icon { color: var(--teal-ink); }
.hp .hp-mcp-conn b { padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--ui-line); box-shadow: var(--shadow-soft); font-weight: 800; }
.hp .hp-mcp-conn > span { color: var(--teal-ink); font-weight: 800; }
.hp .hp-mcp-res { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hp .hp-mcp-res span { font-family: var(--mono); font-size: .68rem; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--ui-line); color: var(--navy); }
.hp .hp-mcp-note { font-size: .98rem; color: var(--muted); margin-top: 14px; max-width: 44ch; }

@media (max-width: 1100px) {
  .hp .hp-hero-visual::before { top: -40px; bottom: -34px; left: -30px; }
  .hp .hp-canvas { grid-template-columns: minmax(0, 1fr) 260px; gap: 0 20px; }
  .hp .hp-admin { margin-right: -90px; }
  .hp .hp-admin-body { grid-template-columns: 148px minmax(0, 1fr); }
  .hp .hp-stage { padding: 28px; }
  .hp .hp-crops { margin-left: 4%; }
}
@media (max-width: 900px) {
  .hp .hp-hero-visual { width: 100%; max-width: 560px; justify-self: center; padding: 0 0 0 14px; }
  .hp .hp-hero-visual::before { top: -28px; bottom: -28px; left: -50vw; right: -50vw; transform: none; border-radius: 0; box-shadow: none; }
  .hp .hp-canvas { grid-template-columns: 1fr; gap: 20px; }
  .hp .hp-admin { margin-right: 0; }
  .hp .hp-stage::after { width: 44%; }
  .hp .hp-callout { grid-column: 1; margin-top: 0; max-width: 380px; }
  .hp .hp-crops { margin: 4px 0 0; }
  .hp .hp-privacy-scene { max-width: 560px; }
}
@media (max-width: 768px) {
  .hp .hp-hero-visual::before { background: var(--hp-hero-field); }
  .hp .hp-stage { background: var(--hp-stage-field); }
}
@media (max-width: 760px) {
  .hp .hp-hero-visual { padding-left: 0; }
  .hp .hp-shopper { width: 78%; margin-left: -8px; }
  .hp .hp-pass { width: 72%; }
  .hp .hp-stage { padding: 18px 16px; border-radius: 20px; }
  .hp .hp-admin-body { display: block; min-height: 0; }
  .hp .hp-rail { flex-direction: row; align-items: center; padding: 10px 12px; gap: 6px; overflow: hidden; }
  .hp .hp-rail strong { padding: 0 8px 0 0; flex: none; }
  .hp .hp-rail-item { display: none; }
  .hp .hp-rail-item.is-active { display: flex; padding: 6px 10px; }
  .hp .hp-admin-main { padding: 16px; }
  .hp .hp-search { display: none; }
  .hp .hp-table tr.is-hide-narrow { display: none; }
  .hp .hp-table th:nth-child(2), .hp .hp-table td:nth-child(2) { display: none; }
  .hp .hp-crops { grid-template-columns: 1fr; gap: 12px; }
  .hp .hp-crop { grid-template-columns: 1fr; min-height: 0; }
  .hp .hp-crop-copy { border-right: 0; border-bottom: 1px solid var(--ui-line); }
  .hp .hp-scene > [role="img"] { padding: 18px 16px; border-radius: 18px; }
  .hp .hp-scene::before { top: 12px; left: 12px; right: -12px; bottom: -12px; border-radius: 18px; }
  .hp .hp-presets { grid-template-columns: 1fr; }
  .hp .hp-privacy-scene { padding: 16px; }
  .hp .hp-privacy-scene::after { inset: 7px; border-radius: 20px; }
}
@media (max-width: 400px) {
  .hp .hp-shopper { width: 92%; }
  .hp .hp-pass { width: 88%; }
  .hp .hp-table td { padding: 10px 6px; }
  .hp .hp-rail { flex-wrap: wrap; }
  .hp .hp-rail strong { padding-right: 4px; }
  .hp .hp-admin-main { padding: 14px 12px; }
  .hp .hp-table { table-layout: fixed; }
  .hp .hp-table th:first-child, .hp .hp-table td:first-child { width: 46%; }
  .hp .hp-table td:first-child { white-space: nowrap; }
  .hp .hp-table .hpui-chip { white-space: normal; text-align: left; line-height: 1.3; }
  .hp .hp-node { grid-template-columns: 32px 1fr auto; gap: 10px; padding: 12px; }
  .hp .hp-node .hp-ic { width: 32px; height: 32px; }
  .hp .hp-mcp-conn { flex-wrap: wrap; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root .hp .hp-hero-visual .hp-console-row, :root .hp .hp-hero-visual .hp-shopper, :root .hp .hp-hero-visual .hp-pass { opacity: 1; transform: none; animation: none; }
  :root .hp .hp-stage .hp-callout, :root .hp .hp-stage .hp-crop { opacity: 1; transform: none; transition: none; animation: none; }
  :root .hp .hp-flow .hp-connector, :root .hp .hp-flow .hp-node { opacity: 1; transform: none; animation: none; }
  :root .hp .hp-privacy-scene .hp-result { opacity: 1; transform: none; transition: none; animation: none; }
}
