/*! 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: 4 published stylesheets, cascade order below.
    Manifest: tools/css-delivery/entries/storefront.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/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/storefront.generated.css sha256:83c4012f47ac =================== */
.page-storefront .storefront-section { padding-block: 72px; }
.page-storefront .storefront-section-tight { padding-block: 44px; }

.page-storefront .storefront-ground-sand { background: var(--sand); }
.page-storefront .storefront-ground-soft { background: var(--ground-soft); }
.page-storefront .storefront-ground-navy { background: var(--grad-navy-section); color: #fff; }

.page-storefront .storefront-anchor { display: block; scroll-margin-top: 110px; }
.page-storefront section,
.page-storefront details { scroll-margin-top: 80px; }

.page-storefront .storefront-head { max-width: 760px; margin-bottom: 36px; }
.page-storefront .storefront-head .kicker { display: block; margin-bottom: 12px; }
.page-storefront .storefront-head h2 { max-width: 20ch; }
.page-storefront .storefront-head-wide h2 { max-width: 26ch; }
.page-storefront .storefront-head .section-lede { margin-top: 16px; }

.page-storefront .storefront-linkrow { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.page-storefront .storefront-link { font-size: .9rem; font-weight: 700; color: var(--teal-ink); text-decoration: none; border-bottom: 1px solid #b6c7c4; padding-bottom: 3px; }
.page-storefront .storefront-link::after { content: " \2192"; font-weight: 400; }
.page-storefront .storefront-link:hover { color: var(--navy); border-color: var(--navy); }
.page-storefront .storefront-gap-tight { margin-top: 8px; }

.page-storefront .storefront-hero { text-align: left; --hero-pb: clamp(32px, 4vw, 56px); }
.page-storefront .storefront-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.page-storefront .storefront-hero h1 { max-width: 15ch; margin-inline: 0; }
.page-storefront .storefront-hero .lede { max-width: 43ch; margin: 0; }
.page-storefront .storefront-hero .cta-row { justify-content: flex-start; gap: 14px 22px; }

.page-storefront .storefront-editorial-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.page-storefront .storefront-benefits { display: grid; gap: 20px; margin: 0; }
.page-storefront .storefront-benefits dt { font-weight: 700; color: var(--navy); }
.page-storefront .storefront-benefits dd { color: var(--muted); margin: 5px 0 0; line-height: 1.6; }
.page-storefront .storefront-growth-art { min-width: 0; }
.page-storefront .storefront-underlink { margin-top: 22px; }

.page-storefront .storefront-managed-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.page-storefront .storefront-managed-layout .storefront-head { margin-bottom: 24px; }
.page-storefront .storefront-responsibility-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.page-storefront .storefront-responsibility-split h3 { font-size: 1.02rem; margin-bottom: 16px; }
.page-storefront .storefront-plain-list { display: grid; gap: 16px; list-style: none; color: var(--on-navy); line-height: 1.6; }
.page-storefront .storefront-partner { margin-top: 38px; padding-top: 28px; border-top: 1px solid #3e577a; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.page-storefront .storefront-partner h3 { font-size: 1.15rem; }
.page-storefront .storefront-partner p { margin: 0; max-width: 58ch; }

.page-storefront .storefront-compliance-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; margin-bottom: 32px; }
.page-storefront .storefront-compliance-head .storefront-head { margin-bottom: 0; }
.page-storefront .storefront-service-scope { line-height: 1.7; color: var(--muted); margin: 0; }
.page-storefront .storefront-service-scope strong { display: block; color: var(--navy); margin-bottom: 10px; }
.page-storefront .storefront-developer { margin-top: 40px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.page-storefront .storefront-developer h3 { font-size: 1.25rem; color: var(--navy); }
.page-storefront .storefront-developer p { color: var(--muted); line-height: 1.65; margin: 12px 0 18px; }

.page-storefront .storefront-proof { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 48px; align-items: center; }
.page-storefront .storefront-proof h2 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 18px; }
.page-storefront .storefront-proof strong { display: block; font-size: 1.2rem; color: var(--navy); }
.page-storefront .storefront-proof p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin-top: 8px; }

.page-storefront .storefront-standby { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: 36px 40px; border: 1px solid var(--line-sky); border-radius: 24px; background: linear-gradient(135deg, var(--mint-pale) 0%, #f2f6f8 48%, var(--sky) 100%); }
.page-storefront .storefront-standby .kicker { display: block; margin-bottom: 12px; }
.page-storefront .storefront-standby h2 { max-width: 17ch; }
.page-storefront .storefront-standby-copy { max-width: 62ch; }
.page-storefront .storefront-standby-copy p { color: var(--muted); line-height: 1.65; }
.page-storefront .storefront-standby-copy p + p { margin-top: 12px; }
.page-storefront .storefront-standby-copy .mkt-btn { margin-top: 22px; }

.page-storefront .storefront-pricing-head { max-width: 800px; margin-bottom: 28px; }
.page-storefront .storefront-billing-note { font-size: .85rem; font-weight: 700; color: var(--muted); margin-top: 18px; }
.page-storefront .storefront-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.page-storefront .storefront-plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; min-width: 0; box-shadow: var(--shadow-soft); }
.page-storefront .storefront-plan h3 { font-size: 1.35rem; color: var(--navy); }
.page-storefront .storefront-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.035em; color: var(--navy); line-height: 1.15; margin-top: 12px; }
.page-storefront .storefront-price .storefront-price-unit { font-size: .875rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.page-storefront .storefront-plan-audience { font-size: .86rem; color: var(--muted); line-height: 1.55; margin-top: 14px; min-height: 48px; }
.page-storefront .storefront-plan-inherits { font-size: .8rem; font-weight: 800; color: var(--teal-ink); margin: 18px 0 12px; min-height: 20px; }
.page-storefront .storefront-plan-features { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
.page-storefront .storefront-plan-features li { font-size: .86rem; color: var(--muted); line-height: 1.55; padding-left: 20px; position: relative; min-height: 0; }
.page-storefront .storefront-plan-features li::before { content: "\2713"; position: absolute; left: 0; color: var(--green-d); font-weight: 800; }
.page-storefront .storefront-plan-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; }
.page-storefront .storefront-plan-usage { font-size: .86rem; color: var(--muted); line-height: 1.62; }
.page-storefront .storefront-plan-usage strong { color: var(--navy); }
.page-storefront .storefront-plan-setup { font-size: .8rem; color: var(--muted); margin-top: 12px; line-height: 1.55; min-height: 40px; }
.page-storefront .storefront-plan .mkt-btn { width: 100%; margin-top: 18px; }

.page-storefront .storefront-shared { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.page-storefront .storefront-shared h3 { font-size: 1.02rem; margin-bottom: 16px; }
.page-storefront .storefront-shared-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.page-storefront .storefront-shared-list li { font-size: .88rem; color: var(--muted); line-height: 1.55; padding-left: 16px; position: relative; }
.page-storefront .storefront-shared-list li::before { content: "\00b7"; position: absolute; left: 0; font-weight: 800; color: var(--teal-ink); }
.page-storefront .storefront-shared-access { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; }
.page-storefront .storefront-shared-access a { color: var(--teal-ink); font-weight: 700; }
.page-storefront .storefront-fees { font-size: .88rem; color: var(--muted); margin-top: 22px; line-height: 1.66; max-width: 96ch; }
.page-storefront .storefront-fees strong { color: var(--ink); }
.page-storefront .storefront-fees a { color: var(--teal-ink); font-weight: 700; }

.page-storefront .faq { max-width: 880px; margin-top: 30px; }
.page-storefront .faq summary h3 { font: inherit; letter-spacing: normal; color: inherit; margin: 0; }
.page-storefront .faq summary { align-items: flex-start; }
.page-storefront .faq summary::after { flex: none; line-height: 1; }
.page-storefront .faq details p + p { padding-top: 12px; }

.page-storefront .storefront-close { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.page-storefront .storefront-close .storefront-head { margin: 0; max-width: 640px; }
.page-storefront .storefront-close .mkt-btn { flex: none; }

.page-storefront .storefront-ground-navy h2,
.page-storefront .storefront-ground-navy h3,
.page-storefront .storefront-ground-navy h4,
.page-storefront .storefront-ground-navy .storefront-responsibility-split b { color: #fff; }
.page-storefront .storefront-ground-navy p,
.page-storefront .storefront-ground-navy .lede,
.page-storefront .storefront-ground-navy .section-lede { color: var(--on-navy); }
.page-storefront .storefront-ground-navy .kicker { color: var(--mint); }
.page-storefront .storefront-ground-navy .storefront-link { color: var(--mint); border-color: #3e577a; }
.page-storefront .storefront-ground-navy .storefront-link:hover { color: #fff; border-color: var(--mint); }

@media (max-width: 1100px) {
  .page-storefront .storefront-hero .container { gap: 36px; }
}
@media (max-width: 980px) {
  .page-storefront .storefront-section { padding-block: 54px; }
  .page-storefront .storefront-hero .container,
  .page-storefront .storefront-responsibility-split { grid-template-columns: 1fr; gap: 30px; }
  .page-storefront .storefront-editorial-split,
  .page-storefront .storefront-managed-layout,
  .page-storefront .storefront-compliance-head,
  .page-storefront .storefront-developer { grid-template-columns: 1fr; gap: 30px; }
  .page-storefront .storefront-partner { grid-template-columns: 1fr; gap: 12px; }
  .page-storefront .storefront-proof { grid-template-columns: 1fr 1fr; gap: 28px; }
  .page-storefront .storefront-proof > div:first-child { grid-column: 1 / -1; }
  .page-storefront .storefront-standby { grid-template-columns: 1fr; gap: 22px; padding: 30px; }
  .page-storefront .storefront-close { align-items: flex-start; flex-direction: column; gap: 26px; }
  .page-storefront .storefront-plans { grid-template-columns: 1fr; }
  .page-storefront .storefront-plan-setup { min-height: 0; }
  .page-storefront .storefront-plan-inherits { min-height: 0; }
  .page-storefront .storefront-plan-inherits:empty { display: none; }
  .page-storefront .storefront-shared-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .page-storefront .storefront-section { padding-block: 40px; }
  .page-storefront .storefront-section-tight { padding-block: 32px; }
  .page-storefront .storefront-head { margin-bottom: 24px; }
  .page-storefront .storefront-linkrow { margin-top: 20px; padding-top: 16px; }
  .page-storefront .storefront-proof { grid-template-columns: 1fr; }
  .page-storefront .storefront-standby { padding: 24px 20px; border-radius: 20px; }
  .page-storefront .storefront-standby-copy .mkt-btn { width: 100%; }
  .page-storefront .storefront-managed-layout .storefront-responsibility-split { gap: 28px; }
  .page-storefront .storefront-benefits { gap: 18px; }
  .page-storefront .storefront-close .mkt-btn { width: 100%; }
  .page-storefront .storefront-shared-list { grid-template-columns: 1fr; }
  .page-storefront .storefront-plan { padding: 22px; }
  .page-storefront .storefront-plan-features { gap: 10px; margin-bottom: 20px; }
  .page-storefront .cta-row .mkt-btn { width: 100%; }
}
@media (max-width: 380px) {
  .page-storefront .storefront-price { font-size: 2rem; }
  .page-storefront .storefront-plan { padding: 18px; }
}

.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-crumbs {
  padding-top: 28px;
  margin-bottom: 14px;
  font-size: .85rem;
  color: var(--muted);
}
.mkt-crumbs.container {
  margin-bottom: 0;
}
.mkt-crumbs a {
  color: var(--teal-ink);
  text-decoration: none;
  font-weight: 600;
}
.mkt-crumbs a:hover {
  color: var(--navy);
}
.mkt-crumbs-sep {
  margin: 0 8px;
  opacity: .5;
}

.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); }

/* ===== public/scenes/storefront-scenes.css sha256:36f8d0951c3c ========================= */
.page-storefront .scene-figure { min-width: 0; }

.page-storefront .scene-stage { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--line-lav); padding: 34px 30px; }
.page-storefront .scene-stage-cool { background: linear-gradient(142deg, var(--sky) 0%, var(--lavender) 100%); }
.page-storefront .scene-stage-mint { background: linear-gradient(142deg, var(--mint-pale) 0%, var(--sky) 100%); border-color: var(--line-sky); }
.page-storefront .scene-stage::after { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(16, 41, 75, .11); border-radius: 15px; pointer-events: none; }
.page-storefront .scene-stage > * { position: relative; z-index: 1; }

.page-storefront .scene-heading { display: block; font-size: .86rem; font-weight: 700; color: var(--navy); line-height: 1.32; letter-spacing: -.005em; }
.page-storefront .scene-heading-lg { font-size: .95rem; font-weight: 800; letter-spacing: -.012em; }
.page-storefront .scene-heading-sm { font-size: .79rem; }
.page-storefront .scene-text { display: block; font-size: .75rem; color: var(--muted); line-height: 1.5; }
.page-storefront .scene-text-sm { display: block; font-size: .7rem; color: var(--muted); line-height: 1.45; }
.page-storefront .scene-mono { display: block; font-family: var(--mono); font-size: .7rem; color: var(--navy); }
.page-storefront .scene-step-label { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 800; color: var(--muted); }

.page-storefront .scene-actor { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; color: var(--muted); line-height: 1.4; }
.page-storefront .scene-actor::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #97a4b6; flex: none; }
.page-storefront .scene-actor-platform { color: var(--teal-ink); }
.page-storefront .scene-actor-platform::before { background: var(--teal); }
.page-storefront .scene-actor-merchant { color: #5a45a0; }
.page-storefront .scene-actor-merchant::before { background: #8d76cf; }

.page-storefront .scene-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ui-line); background: var(--ui-ground); }

.page-storefront .scene-reference { font-family: var(--mono); font-size: .72rem; font-weight: 700; color: var(--navy); }
.page-storefront .scene-evidence-link { display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 700; color: var(--teal-ink); background: #eaf5f2; border: 1px solid #c4dfd8; border-radius: 999px; padding: 4px 11px; line-height: 1.4; }
.page-storefront .scene-evidence-link::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; flex: none; }
.page-storefront .scene-button { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 8px; font-size: .7rem; font-weight: 800; background: var(--navy); color: #fff; white-space: nowrap; line-height: 1.4; }
.page-storefront .scene-button-outline { background: #fff; color: var(--navy); border: 1px solid var(--ui-line); }

.page-storefront .scene-shopper { position: relative; min-width: 0; }
.page-storefront .scene-shopper-page { width: 100%; border-radius: 14px; }
.page-storefront .scene-shopper-body { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 16px 16px 46px; }
.page-storefront .scene-shopper-page .totui-prod { height: 128px; }
.page-storefront .scene-shopper-price { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin: 5px 0 9px; }
.page-storefront .scene-shopper-price .scene-shopper-price-note { font-size: .72rem; font-weight: 600; color: var(--muted); }
.page-storefront .scene-shopper-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
@media (max-width: 420px) {
  .page-storefront .scene-shopper-meta .totui-chip { white-space: normal; }
}
.page-storefront .scene-shopper-page .totui-btn { width: 100%; }
.page-storefront .scene-shopper-search { position: relative; width: 74%; margin: -32px 0 0 auto; padding: 13px 15px; border-radius: 12px; box-shadow: var(--shadow-lift); }
.page-storefront .scene-search-title { display: block; color: #1a4bb5; font-weight: 700; font-size: .84rem; line-height: 1.3; }
.page-storefront .scene-search-url { display: block; font-family: var(--mono); font-size: .68rem; color: var(--muted); margin: 3px 0 5px; overflow-wrap: anywhere; }
.page-storefront .scene-search-description { display: block; font-size: .74rem; color: var(--ink); line-height: 1.45; }
.page-storefront .scene-shopper-search .totui-label { margin-bottom: 5px; }

.page-storefront .scene-library { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 14px; align-items: start; }
.page-storefront .scene-library-list { border-radius: 14px; }
.page-storefront .scene-library-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--ui-line); }
.page-storefront .scene-library-row:first-of-type { border-top: 0; }
.page-storefront .scene-library-preview { border-radius: 14px; }
.page-storefront .scene-library-article { padding: 14px; display: grid; gap: 9px; }
.page-storefront .scene-library-lines { display: grid; gap: 8px; }
.page-storefront .scene-library-lines .totui-mask { display: block; width: 100%; }
.page-storefront .scene-library-lines .totui-mask:nth-child(2) { width: 92%; }
.page-storefront .scene-library-lines .totui-mask:nth-child(3) { width: 66%; }

.page-storefront .scene-workflow { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: 16px; align-items: start; }
.page-storefront .scene-workflow-list { border-radius: 14px; }
.page-storefront .scene-workflow-list-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--ui-line); background: var(--ui-ground); }
.page-storefront .scene-workflow-list-footer { padding: 11px 14px; border-top: 1px solid var(--ui-line); background: #fcfdfe; }
.page-storefront .scene-workflow-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--ui-line); }
.page-storefront .scene-workflow-row:first-of-type { border-top: 0; }
.page-storefront .scene-workflow-row.is-selected { background: #f1fbf7; box-shadow: inset 3px 0 0 var(--teal); }
.page-storefront .scene-workflow-detail { border-radius: 14px; box-shadow: var(--shadow-lift); }
.page-storefront .scene-workflow-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border-bottom: 1px solid var(--ui-line); background: var(--ui-ground); }
.page-storefront .scene-trail-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 13px 15px; border-top: 1px solid var(--ui-line); }
.page-storefront .scene-trail-item:first-child { border-top: 0; }
.page-storefront .scene-trail-step { padding-top: 2px; color: var(--teal-ink); }
.page-storefront .scene-trail-body { min-width: 0; }
.page-storefront .scene-trail-body .scene-text { margin-top: 3px; }
.page-storefront .scene-draft-list { display: grid; gap: 5px; margin-top: 10px; }
.page-storefront .scene-draft { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; background: var(--ui-ground); font-size: .72rem; color: var(--ink); line-height: 1.35; }
.page-storefront .scene-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 11px; }
.page-storefront .scene-trail-gate { background: #f7f5ff; }
.page-storefront .scene-trail-gate .scene-trail-step { color: #5a45a0; }
.page-storefront .scene-trail-exception { background: #fff9ec; }
.page-storefront .scene-trail-exception .scene-trail-step { color: #7a4f0a; }
.page-storefront .scene-trail-exception .scene-text { color: #6d4708; }

.page-storefront .scene-shipments { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.page-storefront .scene-shipment { display: flex; flex-direction: column; border-radius: 14px; }
.page-storefront .scene-shipment-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--ui-line); background: var(--ui-ground); }
.page-storefront .scene-shipment-body { padding: 14px; display: grid; gap: 9px; align-content: start; flex: 1; }
.page-storefront .scene-shipment-blocker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border-radius: 9px; background: #fff6e6; border: 1px solid #f0dcb4; }
.page-storefront .scene-shipment-blocker i { font-style: normal; font-weight: 900; color: #7a4f0a; font-size: .8rem; line-height: 1.5; }
.page-storefront .scene-shipment-blocker .scene-text { color: #6d4708; }
.page-storefront .scene-shipment-footer { margin-top: auto; padding: 11px 14px; border-top: 1px solid var(--ui-line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.page-storefront .scene-shipment-blocked { border-color: #e6d1a6; }

.page-storefront .scene-release { display: grid; gap: 16px; }
.page-storefront .scene-cockpit { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: var(--shadow-ui); }
.page-storefront .scene-cockpit i { width: 26px; height: 26px; border-radius: 7px; background: var(--mint); color: var(--navy); display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 900; }
.page-storefront .scene-cockpit .scene-heading { color: #fff; }
.page-storefront .scene-cockpit .scene-text { color: var(--on-navy-2); }
.page-storefront .scene-release-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.page-storefront .scene-release-step { display: flex; flex-direction: column; border-radius: 14px; }
.page-storefront .scene-release-step-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 13px; background: var(--ui-ground); border-bottom: 1px solid var(--ui-line); }
.page-storefront .scene-release-step-header .scene-step-label { white-space: nowrap; }
.page-storefront .scene-release-step-body { padding: 13px; display: grid; gap: 9px; align-content: start; flex: 1; }
.page-storefront .scene-check-list { display: grid; gap: 6px; }
.page-storefront .scene-check { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .72rem; color: var(--ink); padding: 6px 9px; border-radius: 7px; background: var(--ui-ground); line-height: 1.35; }
.page-storefront .scene-check i { font-style: normal; font-weight: 800; color: #146a3f; font-size: .68rem; white-space: nowrap; }
.page-storefront .scene-release-step-footer { margin-top: auto; padding: 10px 13px; border-top: 1px solid var(--ui-line); background: #fcfdfe; }
.page-storefront .scene-release-step-live { border-color: rgba(13, 147, 145, .42); box-shadow: var(--shadow-ui), 0 0 0 3px rgba(127, 227, 184, .3); }
.page-storefront .scene-release-step-live .scene-release-step-header { background: #eef8f3; border-bottom-color: #c9e4da; }

.page-storefront .scene-environments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.page-storefront .scene-environment { display: flex; flex-direction: column; border-radius: 14px; }
.page-storefront .scene-environment-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 13px; border-bottom: 1px solid var(--ui-line); background: var(--ui-ground); }
.page-storefront .scene-environment-body { padding: 13px; display: grid; gap: 9px; align-content: start; flex: 1; }
.page-storefront .scene-environment-destination { display: block; font-family: var(--mono); font-size: .71rem; color: var(--ink); background: var(--ui-ground); border: 1px solid var(--ui-line); border-radius: 7px; padding: 6px 9px; overflow-wrap: anywhere; }
.page-storefront .scene-environment-staged { border-color: rgba(13, 147, 145, .42); box-shadow: var(--shadow-ui), 0 0 0 3px rgba(127, 227, 184, .3); }
.page-storefront .scene-environment-staged .scene-environment-header { background: #eef8f3; border-bottom-color: #c9e4da; }
.page-storefront .scene-environment-live .scene-environment-header { background: #f5f2fd; border-bottom-color: var(--line-lav); }

@media (max-width: 1100px) {
  .page-storefront .scene-release-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-storefront .scene-workflow { grid-template-columns: minmax(0, 1fr); }
  .page-storefront .scene-workflow-row:nth-of-type(n+3) { display: none; }
  .page-storefront .scene-trail-item { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .page-storefront .scene-stage { padding: 24px 20px; border-radius: 20px; }
  .page-storefront .scene-stage::after { inset: 8px; border-radius: 13px; }
  .page-storefront .scene-library { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .page-storefront .scene-shopper-body { padding: 14px; }
  .page-storefront .scene-shopper-search { width: 100%; margin: 12px 0 0; box-shadow: none; }
  .page-storefront .scene-release-steps { grid-template-columns: minmax(0, 1fr); }
  .page-storefront .scene-cockpit { grid-template-columns: auto minmax(0, 1fr); }
  .page-storefront .scene-shipments { grid-template-columns: minmax(0, 1fr); }
  .page-storefront .scene-environments { grid-template-columns: minmax(0, 1fr); }
  .page-storefront .scene-trail-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 11px 13px; }
  .page-storefront .scene-workflow-list { display: none; }
  .page-storefront .scene-check-list { grid-auto-flow: row; gap: 4px; }
  .page-storefront .scene-check { padding: 5px 8px; }
  .page-storefront .scene-release-step-body { gap: 7px; padding: 12px; }
  .page-storefront .scene-shipment-body,
  .page-storefront .scene-environment-body { gap: 7px; padding: 12px; }
}
@media (max-width: 380px) {
  .page-storefront .scene-stage { padding: 15px 12px; }
  .page-storefront .scene-shopper-body { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding: 13px; }
  .page-storefront .scene-shopper-page .totui-prod { height: 100px; }
  .page-storefront .scene-library-row,
  .page-storefront .scene-workflow-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

.page-storefront .storefront-growth-art .scene-library { grid-template-columns: minmax(0, 1fr); }
.page-storefront .storefront-growth-art .scene-library-preview { width: 88%; margin-left: auto; }
.page-storefront .storefront-developer .scene-environments { gap: 8px; }
.page-storefront .storefront-developer .scene-environment-header { flex-wrap: wrap; align-items: flex-start; }
.page-storefront .storefront-developer .scene-environment-header .totui-chip { max-width: 100%; white-space: normal; }
@media (max-width: 640px) {
  .page-storefront .storefront-growth-art .scene-library-preview { width: 100%; }
  .page-storefront .scene-workflow-detail-header { flex-direction: column; align-items: flex-start; }
}
