/* ============================================================
   HOMEFRONT WEB DESIGN — 00 TOKENS + BASE
   Loaded FIRST on every page. Complete, self-consistent system.
   Source of record: COPY-DECK.md (2026-11-07), sections 1.1-1.3.
   Where research notes conflict with the deck, the deck governs:
   section padding is the deck value (72px / 56px), the content
   widths are the deck values (980px / 680px), and the header nav
   carries the deck's five labels.
   Fonts are loaded by a Google Fonts link in the page head
   (coordinator-owned); the stacks below carry the deck fallbacks.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Colour — deck 1.1, hex values exact */
  --brand-navy: #14263F;
  --ground: #060D18;
  --surface: #0B1526;
  --inset: #122239;
  --text: #F5F5F7;
  --muted: #A8B3C7;
  --cta: #E8C476;
  --cta-text: #241B06;
  --cta-hover: #DCC084;
  --accent: #C9A45C;
  --paper: #F6F1E8;
  --paper-ink: #1D1D1F;
  --paper-gold: #7C5F00;
  --paper-border: #DDD3BE;
  --paper-well: #FFFDF8;
  --brick: #A64B3A; /* off-web accent of record only — never a web button, link, or CTA */
  --flag-blue: #0A3161; /* logo mark ground only */
  --flag-red: #B31942; /* logo mark + sanctioned hairlines only */
  --success: #4ADE80; /* form success state only */
  --error: #F87171; /* form error state only */

  /* Type — deck 1.2 */
  --font-display: Fraunces, Georgia, serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Geometry — deck 1.3 */
  --width-content: 980px;
  --width-narrow: 680px;
  --gap: 40px;
  --side-pad: 24px;
  --section-pad: 72px;
  --radius: 10px;
  --radius-field: 8px;
  --btn-radius: 999px;
  --card-pad: 28px;
  --grid-gap: 24px;

  /* Motion — research R2: reveals 300-450ms, ease-out, short rise */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --reveal-ms: 400ms;
  --hover-ms: 180ms;
}

/* ---------- 2. Reset + base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: var(--cta);
  color: var(--cta-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Focus — visible everywhere ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.band--paper :focus-visible,
.on-paper :focus-visible {
  outline-color: var(--paper-gold);
}

/* ---------- 4. Typography scale — deck 1.2 ---------- */
h1, h2, h3,
.display,
.section-title,
.closing-title,
.card-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.hero-title {
  font-size: 2.9rem;
}

.section-title,
.closing-title {
  font-size: 2.05rem;
}

.card-title {
  font-size: 1.26rem;
  line-height: 1.3;
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--muted);
}

.lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  line-height: 1.4;
}

.band--paper .eyebrow,
.on-paper .eyebrow {
  color: var(--paper-gold);
}

.band--paper .lead,
.on-paper .lead {
  color: var(--paper-ink);
}

.caption,
.card-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.45;
}

.muted {
  color: var(--muted);
}

p + p {
  margin-top: 1em;
}

/* ---------- 5. Layout — ONE width system ---------- */
.wrap {
  width: 100%;
  max-width: var(--width-content);
  margin-inline: auto;
  padding-inline: var(--side-pad);
}

.wrap--narrow {
  max-width: var(--width-narrow);
}

/* Section rhythm — deck 1.3: 72px vertical, 56px on small screens.
   Identical for every section; variety comes from the furniture. */
.section {
  padding-block: var(--section-pad);
}

.section-head {
  max-width: var(--width-narrow);
  margin-bottom: var(--gap);
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head .section-title {
  margin-bottom: 16px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* Bands — the only grounds on the page */
.band--ground { background: var(--ground); color: var(--text); }
.band--surface { background: var(--surface); color: var(--text); }
.band--paper { background: var(--paper); color: var(--paper-ink); }

/* ---------- 6. Buttons — gold is the only CTA colour ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 16px 28px;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  transform: none;
  transition: background-color var(--hover-ms) ease, color var(--hover-ms) ease,
    border-color var(--hover-ms) ease;
}

.btn--primary:active {
  background: var(--accent);
  color: var(--cta-text);
}

.btn--secondary:active {
  background: rgba(201, 164, 92, 0.10);
}

.band--paper .btn--secondary:active,
.on-paper.btn--secondary:active {
  background: rgba(124, 95, 0, 0.08);
}

.btn:disabled,
button:disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* Primary: solid gold fill, dark text on gold — never white on gold */
.btn--primary {
  min-height: 54px;
  background: var(--cta);
  color: var(--cta-text);
}

.btn--primary:hover {
  background: var(--cta-hover);
  color: var(--cta-text);
}

.btn--large {
  min-height: 56px;
  padding: 17px 32px;
  font-size: 1.08rem;
}

/* Secondary: outline only, never a second fill */
.btn--secondary {
  min-height: 52px;
  background: transparent;
  border-color: var(--accent);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--cta-hover);
  color: var(--cta-hover);
}

.band--paper .btn--secondary,
.on-paper.btn--secondary {
  border-color: var(--paper-gold);
  color: var(--paper-ink);
}

.band--paper .btn--secondary:hover,
.on-paper.btn--secondary:hover {
  color: var(--paper-gold);
}

/* Plain text link on dark — hover colour is the deck link gold */
.text-link {
  color: var(--cta-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: color var(--hover-ms) ease;
}

.text-link:hover {
  color: var(--cta);
}

.band--paper .text-link {
  color: var(--paper-gold);
}

/* ---------- 7. Header — sticky, surface, deck 1.3 + 2.1 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid rgba(201, 164, 92, 0.28);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  padding-block: 12px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
  color: var(--text);
  flex: none;
}

.brand-line-1 {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-line-2 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--accent);
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline-start: auto;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color var(--hover-ms) ease, border-color var(--hover-ms) ease;
}

.site-nav a:hover {
  color: var(--cta-hover);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.header-call {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--hover-ms) ease;
}

.header-call:hover {
  color: var(--cta-hover);
}

.btn--header {
  min-height: 52px;
  padding: 14px 24px;
  white-space: nowrap;
}

/* ---------- 8. Hero ---------- */
.hero {
  background: var(--ground);
  padding-top: 84px;
  padding-bottom: 76px;
  overflow: hidden;
}

.hero-inner {
  text-align: center;
}

.hero .eyebrow {
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 22px;
}

.hero-sub {
  max-width: 34em;
  margin-inline: auto;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 32em;
  margin-inline: auto;
}

/* Pure CSS/SVG visual device: a browser frame holding a skeleton
   homepage mock — bars and blocks only, no words, no imagery. */
.hero-visual {
  max-width: var(--width-content);
  margin: 56px auto 0;
  padding-inline: var(--side-pad);
}

.browser-frame {
  background: var(--surface);
  border: 1px solid rgba(201, 164, 92, 0.38);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  text-align: left;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--inset);
  border-bottom: 1px solid rgba(201, 164, 92, 0.22);
}

.browser-dots {
  display: inline-flex;
  gap: 7px;
  flex: none;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 245, 247, 0.28);
}

.browser-dots i:first-child {
  background: var(--accent);
}

.browser-url {
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: rgba(245, 245, 247, 0.08);
}

.mock-page {
  padding: 30px 34px 34px;
  background: var(--ground);
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.mock-logo {
  width: 92px;
  height: 16px;
  border-radius: 4px;
  background: var(--text);
  opacity: 0.9;
  flex: none;
}

.mock-nav-links {
  display: flex;
  gap: 8px;
  margin-inline-start: auto;
}

.mock-nav-links i {
  width: 44px;
  height: 9px;
  border-radius: 5px;
  background: rgba(168, 179, 199, 0.5);
}

.mock-nav-cta {
  width: 74px;
  height: 24px;
  border-radius: var(--btn-radius);
  background: var(--cta);
  flex: none;
}

.mock-line {
  height: 20px;
  border-radius: 5px;
  background: rgba(245, 245, 247, 0.88);
  margin-bottom: 12px;
}

.mock-line--accent {
  width: 34%;
  height: 9px;
  background: var(--accent);
  margin-bottom: 18px;
}

.mock-line--w1 { width: 88%; }
.mock-line--w2 { width: 64%; }

.mock-sub {
  height: 10px;
  border-radius: 5px;
  background: rgba(168, 179, 199, 0.55);
  margin-bottom: 9px;
}

.mock-sub--w1 { width: 76%; }
.mock-sub--w2 { width: 52%; margin-bottom: 24px; }

.mock-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}

.mock-btn {
  width: 128px;
  height: 34px;
  border-radius: var(--btn-radius);
  background: var(--cta);
}

.mock-btn--ghost {
  width: 118px;
  background: transparent;
  border: 1px solid var(--accent);
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mock-card {
  background: var(--surface);
  border: 1px solid rgba(201, 164, 92, 0.22);
  border-radius: var(--radius);
  padding: 16px;
}

.mock-card i {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: rgba(245, 245, 247, 0.65);
  margin-bottom: 8px;
}

.mock-card i:last-child {
  width: 62%;
  background: rgba(168, 179, 199, 0.45);
  margin-bottom: 0;
}

/* ---------- 9. Cards + grids (shared furniture) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.card {
  background: var(--surface);
  border: 1px solid rgba(201, 164, 92, 0.28);
  border-radius: var(--radius);
  padding: var(--card-pad);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.band--paper .card {
  background: var(--paper-well);
  border-color: var(--paper-border);
  color: var(--paper-ink);
  box-shadow: none;
}

.card .card-title {
  margin-bottom: 10px;
}

/* ---------- 10. Form fields (deck wells; no form ships by default) ---------- */
.field {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: var(--radius-field);
  border: 1px solid rgba(201, 164, 92, 0.35);
  background: var(--inset);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.band--paper .field {
  background: var(--paper-well);
  border-color: var(--paper-border);
  color: var(--paper-ink);
}

.form-note--success { color: var(--success); }
.form-note--error { color: var(--error); }

/* ---------- 11. FAQ — native <details> (styling in 40-contact.css) ----------
   Removed 2026-11-12 (tightening R-2): the button-accordion pattern that
   stood here (.faq-item, .faq-q[aria-expanded], .faq-a[hidden]) targeted
   markup that never shipped; the page uses <details>/<summary>, styled in
   40-contact.css. The one live declaration it carried — .faq-a max-width —
   moved to 40-contact.css with the rest of the FAQ rules. */

/* ---------- 12. Footer basics (footer lane extends) ---------- */
.site-footer {
  background: var(--ground);
  border-top: 2px solid var(--accent);
  padding-block: 48px 40px;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--hover-ms) ease;
}

.site-footer a:hover {
  color: var(--cta-hover);
}

/* Shared footer (.hf-footer) — moved here from 40-contact.css 2026-11-12
   (tightening R-1): the footer is page chrome like the header (§7), and the
   base sheet is the one stylesheet every page loads — the 404 page loads
   only this sheet, so its footer was previously unstyled. Declarations are
   verbatim from 40-contact.css; no other sheet targets .hf-footer* except
   the §17 watermark positioning in this file, which sets different
   properties, so the cascade result on index.html is unchanged. */
.hf-footer {
  background: var(--ground, #060D18);
  border-top: 2px solid var(--accent, #C9A45C);
  color: var(--muted, #A8B3C7);
  /* Extra bottom room on small screens so the sticky bar never covers it */
  padding: 56px 24px 120px;
}

.hf-footer__inner {
  max-width: var(--width-content, 980px);
  margin: 0 auto;
}

.hf-footer__brand {
  margin: 0 0 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text, #F5F5F7);
}

.hf-footer__line {
  margin: 0 0 24px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted, #A8B3C7);
}

.hf-footer__nav {
  margin: 0 0 24px;
}

.hf-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hf-footer__nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted, #A8B3C7);
  text-decoration: none;
}

.hf-footer__nav-link:hover,
.hf-footer__contact-link:hover {
  color: var(--cta-hover, #DCC084);
}

.hf-footer__nav-link:hover,
.hf-footer__nav-link:focus-visible,
.hf-footer__contact-link:hover,
.hf-footer__contact-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.hf-footer__contact, .hf-footer__meta {
  font-variant-numeric: tabular-nums;
}

.hf-footer__nav-link:focus-visible,
.hf-footer__contact-link:focus-visible {
  outline: 2px solid var(--accent, #C9A45C);
  outline-offset: 3px;
}

.hf-footer__contact {
  margin: 0 0 24px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
}

.hf-footer__contact-link {
  display: block;
  padding: 4px 0;
  color: var(--cta-hover, #DCC084);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.hf-footer__meta {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted, #A8B3C7);
}

@media (min-width: 561px) {
  .hf-footer {
    padding: 72px 24px 120px;
  }
}

@media (min-width: 821px) {
  .hf-footer {
    padding-bottom: 72px;
  }

  /* Refresh polish 2026-11-11 (DESIGN 2.7): two-column footer — brand,
     line, contact and meta on the left; nav as a vertical list on the right. */
  .hf-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 560px) 1fr;
    column-gap: 48px;
  }

  .hf-footer__brand, .hf-footer__line, .hf-footer__contact, .hf-footer__meta {
    grid-column: 1;
  }

  .hf-footer__nav {
    grid-column: 2;
    grid-row: 1 / span 4;
    justify-self: end;
    margin: 0;
  }

  .hf-footer__nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }
}

/* ---------- 13. Sticky mobile call/demo bar ----------
   Markup (later lane / coordinator):
   <div class="sticky-bar"> two .btn children, labels per deck 2.7 </div>
   JS adds .is-visible after the hero scrolls out of view. */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid rgba(201, 164, 92, 0.4);
  transform: translateY(110%);
  transition: transform 350ms var(--ease-out);
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar .btn {
  flex: 1;
  min-height: 52px;
  padding-inline: 12px;
}

/* ---------- 14. Reveal on scroll (.rv / .rv-in) ----------
   Hidden state applies only when JS is running (html.js is set by
   main.js), so content is never trapped invisible without JS. */
.js .rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--reveal-ms) var(--ease-out),
    transform var(--reveal-ms) var(--ease-out);
  transition-delay: var(--rv-delay, 0ms);
}

.js .rv.rv-in {
  opacity: 1;
  transform: none;
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 980px) {
  .site-nav { gap: 20px; }
  .header-call { display: none; }
}

@media (max-width: 820px) {
  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .sticky-bar { display: flex; }
  body.has-sticky-bar { padding-bottom: 76px; }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-inline-start: 0;
    overflow-x: auto;
    gap: 22px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar { display: none; }
  .header-actions { margin-inline-start: auto; }

  .hero { padding-top: 60px; padding-bottom: 60px; }
  .hero-visual { margin-top: 44px; }
  .mock-page { padding: 24px 20px 26px; }
  .mock-nav-links { display: none; }
  .mock-cards { grid-template-columns: 1fr; }
  .mock-card:nth-child(n + 2) { display: none; }
}

@media (max-width: 560px) {
  :root {
    --side-pad: 24px;
    --section-pad: 56px;
    --card-pad: 24px 22px;
    --grid-gap: 18px;
  }

  .hero-title { font-size: 2.5rem; }
  .section-title, .closing-title { font-size: 1.75rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .btn--header { padding-inline: 18px; font-size: 0.92rem; }
  .mock-line { height: 17px; }
}

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .rv {
    opacity: 1;
    transform: none;
  }

  .sticky-bar { transition: none; }
}

/* Coordinator fix pass 2026-11-07: keep anchored sections clear of the sticky header.
   #top excluded (checker finding): the hero needs no offset, and the margin
   left its bottom edge on-screen at the #free-demo stop, holding the sticky
   bar hidden past its intended trigger. */
section[id]:not(#top) { scroll-margin-top: 92px; }

/* Coordinator fix pass 2 2026-11-07 (checker findings): at the deck's 980px
   width the header row (lockup + 5 nav labels + phone + CTA = 1,120.6px of
   content) overflowed its 932px content box and clipped ~15px past a 1280px
   viewport. The header phone link is struck from the markup (it was never in
   deck 2.1's header spec; the number stays in contact, footer, and the sticky
   bar), and the header gaps/type are tightened to fit the row inside 980px. */
.header-inner { gap: 20px; }
.site-nav { gap: 18px; font-size: 0.95rem; }
.btn--header { padding-left: 20px; padding-right: 20px; }

/* ---------- 17. Watermark layer (Lane 7 snippets + DESIGN 1.4/1.8) ----------
   Static, decorative only; fills/opacities baked into the SVG markup.
   Stripes are CSS gradients (gold geometry only). Content sits at z-index 1. */
/* Tightening E2 (2026-11-12): .hf-faq joins the positioned/overflow lists and
   .hf-faq__inner the lifted-content list, so a .wm--stripes-top child sits on
   the FAQ top edge exactly as it does on .hf-samples (P2). */
.hero, .hf-samples, .hf-what, .hf-story, .hf-plan, .hf-faq, .hf-footer { position: relative; }
.hf-samples, .hf-what, .hf-story, .hf-faq, .hf-footer { overflow: hidden; }
.hero-inner, .hero-visual, .hf-samples .hf-wrap, .hf-what .hf-wrap,
.hf-story__inner, .hf-plan__inner, .hf-faq__inner, .hf-footer__inner { position: relative; z-index: 1; }
.wm { pointer-events: none; z-index: 0; }
.wm--hero-star { position: absolute; right: -140px; top: 50%; transform: translateY(-50%); }
.wm--hero-field { position: absolute; top: 0; left: calc(50% + 340px); width: 380px; height: 320px; overflow: hidden; }
.wm--stripes-top { position: absolute; top: 0; left: 0; right: 0; height: 29px;
  background: linear-gradient(to bottom, rgba(201,164,92,.18) 0 1px, transparent 1px 14px, rgba(201,164,92,.18) 14px 15px, transparent 15px 28px, rgba(201,164,92,.18) 28px 29px); }
.wm--paper-star { position: absolute; right: -45px; bottom: -45px; }
.wm--story-star { position: absolute; left: -78px; top: 50%; transform: translateY(-50%); }
.wm--stripes-head { width: 144px; height: 29px; margin-bottom: 18px;
  background: linear-gradient(to bottom, rgba(201,164,92,.25) 0 1px, transparent 1px 14px, rgba(201,164,92,.25) 14px 15px, transparent 15px 28px, rgba(201,164,92,.25) 28px 29px); }
.wm--footer-field { position: absolute; right: 190px; bottom: 20px; }
/* Owner's promise strip seam (tightening E3, 2026-11-12): the anonymous
   second .hf-plan section is keyed by its existing aria-label hook —
   position-independent, unlike :nth-of-type (the live page's #process
   section shifts section counting). This is the P2 stripe recipe at 0.18,
   drawn as a top-edge ::before; .hf-plan is already position:relative above
   and .hf-plan__inner already sits at z-index:1, so no HTML hook is needed. */
.hf-plan[aria-label="Owner's promise"]::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 29px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(201,164,92,.18) 0 1px, transparent 1px 14px, rgba(201,164,92,.18) 14px 15px, transparent 15px 28px, rgba(201,164,92,.18) 28px 29px); }
@media (max-width: 1100px) {
  .wm--hero-star, .wm--story-star { opacity: 0.7; }
}
@media (max-width: 820px) {
  .wm--hero-star svg { width: 240px; height: 240px; }
  .wm--hero-star { right: -84px; top: 24px; transform: none; opacity: 0.7; }
  .wm--hero-field .f4, .wm--hero-field .f5, .wm--hero-field .f6, .wm--hero-field .f7 { display: none; }
  .wm--paper-star svg { width: 120px; height: 120px; }
  .wm--paper-star { right: -30px; bottom: -30px; }
  .wm--stripes-head { width: 96px; }
  .wm--footer-field { display: none; }
}
@media (max-width: 560px) {
  .wm--story-star { display: none; }
}
@media print {
  .wm, .hf-plan[aria-label="Owner's promise"]::before { display: none !important; }
}

/* BUILD-B (2026-11-12): skip link — off-screen until keyboard focus */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--btn-radius);
  background: var(--cta);
  color: var(--cta-text);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--hover-ms) ease;
}
.skip-link:focus-visible { top: 12px; }

/* BUILD-B (2026-11-12): hero "How the Free Demo Works" text-link line */
.hero-how { margin-bottom: 20px; font-size: 0.95rem; }

/* BUILD-B (2026-11-12): hero stat strip — slim, wraps, middot separators via CSS so the copy stays clean */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  list-style: none;
  padding: 20px 0 0;
  margin-top: 4px;
  border-top: 1px solid rgba(201, 164, 92, 0.28);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}
.hero-stats li { display: inline-flex; align-items: center; gap: 18px; }
.hero-stats li + li::before { content: "·"; color: var(--accent); font-weight: 700; }
@media (max-width: 560px) {
  .hero-stats { flex-direction: column; align-items: center; gap: 6px; }
  .hero-stats li + li::before { content: none; }
}
