/* =========================================================================
   BDP SmartFlow APS — Marketing site
   Design system: the AUDITED BDP public brand (blue-600 accent, slate ink,
   Inter + JetBrains Mono, no gradients, one accent), applied with the
   Worksnip structural craft (floating white surfaces on a soft canvas,
   mono for data, eyebrow labels, section heads with an extending rule).
   Committed light theme — a documented brand decision (WEBSITE-DESIGN-BRIEF §11).
   Self-contained: no build step, no runtime JS framework.
   ========================================================================= */

:root {
  /* --- Canvas & surfaces --- */
  --sf-bg:            #f9fafb;   /* page background */
  --sf-surface:       #f4f6f9;   /* tinted section bands */
  --sf-tile:          #ffffff;   /* cards, tiles */
  --sf-inset:         #f1f5f9;   /* fields, code, insets */

  /* --- Ink --- */
  --sf-ink:           #0f172a;   /* headlines */
  --sf-ink-2:         #334155;   /* body */
  --sf-ink-3:         #475569;   /* secondary */
  --sf-ink-4:         #94a3b8;   /* captions, disabled */

  /* --- Lines --- */
  --sf-rule:          #e2e8f0;   /* hairlines */
  --sf-rule-strong:   #cbd5e1;   /* separators, focus */

  /* --- The one accent --- */
  --sf-accent:        #2563eb;   /* blue-600 — CTA, active nav, links, live dot */
  --sf-accent-hover:  #1d4ed8;   /* blue-700 */
  --sf-accent-press:  #1e40af;   /* blue-800 */
  --sf-accent-quiet:  #eff6ff;   /* blue-50 tint */
  --sf-accent-ink:    #ffffff;

  /* --- Semantic (product-truth only: within-capacity / overloaded) --- */
  --sf-ok:            #16a34a;   /* green-600 */
  --sf-ok-quiet:      #f0fdf4;
  --sf-warn:          #ea580c;   /* orange-600 */
  --sf-warn-quiet:    #fff7ed;

  /* --- Dark band --- */
  --sf-dark:          #0f172a;   /* final CTA + honesty band */
  --sf-dark-2:        #1e293b;
  --sf-dark-rule:     #334155;
  --sf-dark-ink:      #e2e8f0;
  --sf-dark-ink-2:    #94a3b8;

  /* --- Type --- */
  --sf-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
             "Helvetica Neue", Arial, sans-serif;
  --sf-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "SF Mono",
             Menlo, Consolas, monospace;

  /* --- Scale (locked, WEBSITE-DESIGN-BRIEF §2.3) --- */
  --sf-display: clamp(40px, 6vw, 60px);
  --sf-h1: clamp(32px, 4.4vw, 42px);
  --sf-h2: clamp(26px, 3.2vw, 33px);
  --sf-h3: 22px;
  --sf-body-lg: 18px;
  --sf-body: 16px;
  --sf-caption: 14px;
  --sf-eyebrow: 12px;

  /* --- Spacing (only these) --- */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s6: 24px;
  --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px; --s32: 128px;

  /* --- Radii --- */
  --r-chip: 8px; --r-card: 12px; --r-frame: 16px; --r-pill: 9999px;

  /* --- Shadow (two only) --- */
  --shadow-rest: 0 1px 3px rgb(15 23 42 / .08), 0 0 0 1px var(--sf-rule);
  --shadow-hover: 0 8px 24px -8px rgb(15 23 42 / .12), 0 0 0 1px var(--sf-rule);

  /* --- Motion --- */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms;

  --maxw: 1120px;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sf-sans);
  font-size: var(--sf-body);
  line-height: 1.6;
  color: var(--sf-ink-2);
  background: var(--sf-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, h4 { color: var(--sf-ink); font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
/* height:auto is NOT optional. Without it, an <img width="1920" height="1032">
   keeps 1032px as its used height while max-width/width shrinks the width — the
   picture is stretched vertically and the aspect ratio is destroyed. The width/height
   attributes must stay (they reserve the right box and prevent layout shift); this
   is the rule that turns them into a RATIO instead of a size. */
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--sf-ink); font-weight: 600; }
::selection { background: var(--sf-accent-quiet); color: var(--sf-accent-press); }

/* ---------------------------------------------------------------- layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s6); }
.band { padding: var(--s24) 0; }
.band--tight { padding: var(--s16) 0; }
.band--surface { background: var(--sf-surface); }
.band--dark { background: var(--sf-dark); color: var(--sf-dark-ink); }
.band--dark h1, .band--dark h2, .band--dark h3 { color: #fff; }

/* ---------------------------------------------------------------- type utils */
.eyebrow {
  font-family: var(--sf-mono);
  font-size: var(--sf-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--sf-ink-3);
}
.eyebrow .accent { color: var(--sf-accent); }
.band--dark .eyebrow { color: var(--sf-dark-ink-2); }
.band--dark .eyebrow .accent { color: #60a5fa; }

.display { font-size: var(--sf-display); line-height: 1.04; letter-spacing: -0.03em; }
.h1 { font-size: var(--sf-h1); }
.h2 { font-size: var(--sf-h2); }
.h3 { font-size: var(--sf-h3); letter-spacing: -0.015em; }
.lede { font-size: var(--sf-body-lg); line-height: 1.6; color: var(--sf-ink-3); max-width: 62ch; }
.band--dark .lede { color: var(--sf-dark-ink-2); }
.mono { font-family: var(--sf-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--sf-ink-3); }

/* Section head with extending rule (Worksnip pattern) */
.section-head {
  display: flex; align-items: baseline; gap: var(--s4);
  font-family: var(--sf-mono);
  font-size: var(--sf-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--sf-ink-3);
  margin-bottom: var(--s6);
}
.section-head::after { content: ""; flex: 1; height: 0; border-top: 1px solid var(--sf-rule); transform: translateY(-2px); }
.section-head .num { color: var(--sf-accent); }
.band--dark .section-head::after { border-color: var(--sf-dark-rule); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: 44px; padding: 0 var(--s6);
  font-family: var(--sf-sans); font-size: var(--sf-caption); font-weight: 600;
  letter-spacing: -0.01em; line-height: 1;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent; color: var(--sf-ink);
  cursor: pointer;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--sf-accent); outline-offset: 2px; }
.btn--primary { background: var(--sf-accent); color: var(--sf-accent-ink); border-color: var(--sf-accent); }
.btn--primary:hover { background: var(--sf-accent-hover); border-color: var(--sf-accent-hover); }
.btn--primary:active { background: var(--sf-accent-press); transform: translateY(1px); }
.btn--secondary { background: var(--sf-tile); color: var(--sf-ink); border-color: var(--sf-rule-strong); }
.btn--secondary:hover { background: var(--sf-surface); }
.btn--ghost { color: var(--sf-ink-2); }
.btn--ghost:hover { color: var(--sf-ink); background: var(--sf-surface); }
.btn--lg { height: 50px; padding: 0 var(--s8); font-size: var(--sf-body); }
.btn--on-dark { background: #fff; color: var(--sf-dark); border-color: #fff; }
.btn--on-dark:hover { background: #e2e8f0; border-color: #e2e8f0; }
.btn--on-dark-ghost { color: #fff; border-color: var(--sf-dark-rule); }
.btn--on-dark-ghost:hover { background: var(--sf-dark-2); }

/* ---------------------------------------------------------------- chips / pills */
.chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  height: 26px; padding: 0 12px;
  font-family: var(--sf-mono); font-size: var(--sf-eyebrow); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--sf-ink-3); background: var(--sf-tile);
  border: 1px solid var(--sf-rule); border-radius: var(--r-pill);
}
.chip .dot { width: 7px; height: 7px; border-radius: var(--r-pill); background: currentColor; flex: none; }
.chip--accent { color: var(--sf-accent); background: var(--sf-accent-quiet); border-color: transparent; }
.chip--ok { color: var(--sf-ok); background: var(--sf-ok-quiet); border-color: transparent; }
.chip--warn { color: var(--sf-warn); background: var(--sf-warn-quiet); border-color: transparent; }
.dot--pulse { position: relative; }
.dot--pulse::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .5;
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 70%,100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dot--pulse::after { animation: none; } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(249 250 251 / .82);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--sf-rule);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: var(--s6); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--sf-ink); letter-spacing: -0.02em; }
.brand img { height: 26px; width: auto; }
.brand .sub { font-family: var(--sf-mono); font-size: 10px; font-weight: 500; color: var(--sf-ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; gap: var(--s6); }
.nav-links a { font-size: var(--sf-caption); font-weight: 500; color: var(--sf-ink-3); transition: color var(--dur-1) var(--ease); }
.nav-links a:hover { color: var(--sf-ink); }
.nav-actions { display: flex; align-items: center; gap: var(--s3); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { padding: var(--s24) 0 var(--s16); }
/* Hero: copy, then the board FULL WIDTH beneath it.
   This used to be a 1.05fr/1fr split, which left the screenshot column ~468px
   wide. A 1920px-native Business Central capture rendered at 468px is a postage
   stamp — the KPI strip, the capacity rail and the bar labels are all unreadable,
   which defeats the point of showing a real screen. For a product whose thesis is
   "every order, every work center, ONE BOARD", the board has to be legible. Stacked
   it gets the full 1024px content width. */
.hero-stack { display: grid; gap: var(--s16); }
/* wide enough that "Your shop floor isn't infinite." holds one line at the 60px
   display size — the explicit <br/> then gives the intended two-line hook.
   The lede does not need clamping here: .lede already caps itself at 62ch. */
.hero-copy { max-width: 1000px; }
@media (max-width: 960px) { .hero-stack { gap: var(--s12); } }
.hero h1 { margin: var(--s4) 0; }
.hero .lede { margin-bottom: var(--s8); }
.hero-cta { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.hero-meta { margin-top: var(--s6); font-family: var(--sf-mono); font-size: var(--sf-caption); color: var(--sf-ink-3); display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.hero-meta .sep { color: var(--sf-ink-4); }

/* Screenshot frame */
.frame {
  border-radius: var(--r-frame);
  background: var(--sf-tile);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--sf-rule);
}
/* NO overflow:hidden here. It was clipping the float cards to the frame box, which
   is why they appeared to sit ON the screenshot instead of straddling its edge —
   every attempt to nudge them "outside" was silently cropped back inside. The
   rounded corners are achieved by rounding the two children instead. */
.frame-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: var(--sf-inset); border-bottom: 1px solid var(--sf-rule);
  border-radius: 15px 15px 0 0;   /* --r-frame minus the 1px border */
}
.frame-bar .tl { width: 10px; height: 10px; border-radius: 50%; background: var(--sf-rule-strong); }
.frame-bar .addr { margin-left: 10px; font-family: var(--sf-mono); font-size: 11px; color: var(--sf-ink-4); }
.frame img { width: 100%; height: auto; display: block; border-radius: 0 0 15px 15px; }
.hero-frame { position: relative; }

/* Floating proof cards over the hero frame */
.float-card {
  position: absolute; background: var(--sf-tile);
  border-radius: var(--r-card); box-shadow: var(--shadow-hover);
  padding: var(--s3) var(--s4); font-size: var(--sf-caption);
  display: flex; align-items: center; gap: var(--s3);
}
.float-card .k { font-family: var(--sf-mono); font-weight: 500; color: var(--sf-ink); }
/* Placed to occlude as little of the capture as possible, now that the capture is
   large enough to actually read. Two earlier positions were both wrong:
     top:-18px left:-22px  covered the "inside Business Central" address label;
     top: 54px left:-22px  covered the first two KPI tiles.
   So they straddle the frame's OUTER horizontal edges instead — the top card over
   the empty right end of the chrome bar, the bottom card over the frame's bottom
   border. Neither sits on a number or a control. */
.float-card--edge-top { top: -20px; right: -18px; }
.float-card--edge-bot { bottom: -20px; left: -22px; }
/* Already hidden below 1081px by the site's own rule — below that the container has
   no slack outside the frame for a card to straddle into. Kept as-is. */
@media (max-width: 1080px) { .float-card { display: none; } }

/* ---------------------------------------------------------------- sibling strip */
.sibling { text-align: center; padding: var(--s12) 0; border-bottom: 1px solid var(--sf-rule); }
.sibling p { font-size: var(--sf-caption); color: var(--sf-ink-3); letter-spacing: 0.01em; }
.sibling b { color: var(--sf-ink); }

/* ---------------------------------------------------------------- grids */
.grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- cards */
.card {
  background: var(--sf-tile); border-radius: var(--r-card);
  box-shadow: var(--shadow-rest); padding: var(--s8);
  transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.card--lift:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card .kicker { font-family: var(--sf-mono); font-size: var(--sf-eyebrow); text-transform: uppercase; letter-spacing: 0.08em; color: var(--sf-accent); margin-bottom: var(--s3); }
.card h3 { margin-bottom: var(--s3); }
.card p { color: var(--sf-ink-3); font-size: var(--sf-body); }
.card .learn { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s4); font-size: var(--sf-caption); font-weight: 600; color: var(--sf-accent); }
.card .learn:hover { color: var(--sf-accent-hover); }

.icon-badge {
  width: 40px; height: 40px; border-radius: var(--r-chip);
  background: var(--sf-accent-quiet); color: var(--sf-accent);
  display: grid; place-items: center; margin-bottom: var(--s4);
}
.icon-badge svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- problem collision svg */
.problem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s16); align-items: center; }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; gap: var(--s8); } }
.collision { background: var(--sf-tile); border-radius: var(--r-card); box-shadow: var(--shadow-rest); padding: var(--s8); }

/* ---------------------------------------------------------------- proof strip */
.proof-strip { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }
.proof {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--sf-mono); font-size: var(--sf-caption);
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--sf-tile); border: 1px solid var(--sf-rule); color: var(--sf-ink-2);
}
.proof .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sf-accent); }

/* ---------------------------------------------------------------- flagship */
/* Showcase: copy, then the capture FULL WIDTH, then its caption.
   Was a 1fr/1.15fr split (~514px for the shot). The optimizer capture is a
   BEFORE/AFTER pair — two operation chains side by side inside one 1920px image —
   so half of a half-column made each chain ~250px and the comparison, which is the
   entire reason the shot exists, could not be read. It also fixed a layout bug: the
   scoping caption was a third child of a 2-column grid, so it landed under the copy
   instead of under the screenshot it scopes. */
.showcase { display: grid; gap: var(--s8); }
.showcase-copy { max-width: 760px; }

/* ---------------------------------------------------------------- product film */
.film { margin: 0; }
.film video {
  display: block; width: 100%; height: auto;   /* height:auto — see the note on img */
  aspect-ratio: 16 / 9;                        /* holds the box before metadata loads */
  background: #000;
  border-radius: var(--r-frame);
  border: 1px solid var(--sf-dark-rule);
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / .55);
}

/* ---------------------------------------------------------------- capability list */
.cap-list { display: grid; gap: var(--s3); margin-top: var(--s6); }
.cap-item { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); align-items: start; }
.cap-item .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--sf-accent-quiet); color: var(--sf-accent); display: grid; place-items: center; margin-top: 2px; }
.cap-item .tick svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cap-item b { color: var(--sf-ink); }
.cap-item span { color: var(--sf-ink-3); }

/* ---------------------------------------------------------------- views grid tiles */
.view-tile { background: var(--sf-tile); border-radius: var(--r-card); box-shadow: var(--shadow-rest); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s2); }
.view-tile .vt-icon { color: var(--sf-accent); }
.view-tile .vt-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.view-tile h4 { font-size: var(--sf-body-lg); }
.view-tile p { font-size: var(--sf-caption); color: var(--sf-ink-3); }

/* ---------------------------------------------------------------- pipeline */
.pipeline { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; margin-top: var(--s8); }
.pl-step {
  flex: 1 1 140px; min-width: 130px; background: var(--sf-tile); border: 1px solid var(--sf-rule);
  border-radius: var(--r-card); padding: var(--s4); position: relative; text-align: center;
}
.pl-step .n { font-family: var(--sf-mono); font-size: 11px; color: var(--sf-accent); }
.pl-step .t { font-size: var(--sf-caption); font-weight: 600; color: var(--sf-ink); margin-top: 4px; }
.pl-arrows { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.pl-arrows .a { color: var(--sf-ink-4); }

/* ---------------------------------------------------------------- honesty band */
.honesty-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s12); }
@media (max-width: 780px) { .honesty-cards { grid-template-columns: 1fr; } }
.honesty-card { background: var(--sf-dark-2); border: 1px solid var(--sf-dark-rule); border-radius: var(--r-card); padding: var(--s6); }
.honesty-card .hc-icon { color: #60a5fa; margin-bottom: var(--s3); }
.honesty-card .hc-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.honesty-card h4 { color: #fff; font-size: var(--sf-body-lg); margin-bottom: var(--s2); }
.honesty-card p { color: var(--sf-dark-ink-2); font-size: var(--sf-caption); }

/* ---------------------------------------------------------------- pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); max-width: 840px; margin: 0 auto; }
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
.tier { background: var(--sf-tile); border-radius: var(--r-frame); box-shadow: var(--shadow-rest); padding: var(--s8); display: flex; flex-direction: column; position: relative; }
.tier--promoted { box-shadow: var(--shadow-hover); border: 2px solid var(--sf-accent); }
.tier .badge { position: absolute; top: -12px; left: var(--s8); background: var(--sf-accent); color: #fff; font-family: var(--sf-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: var(--r-pill); }
.tier .tname { font-size: var(--sf-h3); }
.tier .price { font-family: var(--sf-mono); font-variant-numeric: tabular-nums; font-size: 44px; font-weight: 600; color: var(--sf-ink); letter-spacing: -0.02em; line-height: 1; margin-top: var(--s4); }
.tier .cadence { font-family: var(--sf-mono); font-size: var(--sf-caption); color: var(--sf-ink-3); margin-top: var(--s2); }
.tier .oneliner { color: var(--sf-ink-3); margin-top: var(--s4); min-height: 48px; }
.tier .feat { list-style: none; padding: 0; margin: var(--s6) 0; display: grid; gap: var(--s3); border-top: 1px solid var(--sf-rule); padding-top: var(--s6); }
.tier .feat li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s2); align-items: start; font-size: var(--sf-caption); color: var(--sf-ink-2); }
.tier .feat .fi { width: 18px; height: 18px; margin-top: 2px; }
.tier .feat .fi svg { width: 18px; height: 18px; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tier .feat .yes { color: var(--sf-ok); }
.tier .feat .soon { color: var(--sf-ink-4); }
/* Greys a row that this SEAT does not include — a tier differentiator, never a
   "coming soon". The class was called .is-soon while the page still carried
   not-yet-shipped rows; those are gone, and the name outlived them. */
.tier .feat li.is-excluded { color: var(--sf-ink-4); }
.tier .cta-wrap { margin-top: auto; }
.tier .cta-wrap .btn { width: 100%; }
.tier .foot { font-size: 13px; color: var(--sf-ink-4); margin-top: var(--s3); text-align: center; }

/* Rate row (dashed inset) */
.rate-row { border: 1px dashed var(--sf-rule-strong); border-radius: var(--r-card); padding: var(--s6); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); margin-top: var(--s8); background: var(--sf-surface); }
@media (max-width: 620px) { .rate-row { grid-template-columns: 1fr; } }
.rate-row .rr { }
.rate-row .rr .seat { font-family: var(--sf-mono); font-size: var(--sf-caption); color: var(--sf-accent); }
.rate-row .rr b { display: block; color: var(--sf-ink); margin: 4px 0; }
.rate-row .rr span { font-size: var(--sf-caption); color: var(--sf-ink-3); }

/* Trial mechanics strip */
.mech-strip { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--sf-rule); border-radius: var(--r-card); overflow: hidden; margin-top: var(--s8); background: var(--sf-tile); }
.mech-strip .m { flex: 1 1 180px; padding: var(--s4) var(--s6); border-right: 1px solid var(--sf-rule); }
.mech-strip .m:last-child { border-right: 0; }
.mech-strip .m .d { font-family: var(--sf-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sf-accent); }
.mech-strip .m .x { font-size: var(--sf-caption); color: var(--sf-ink-2); margin-top: 4px; }

/* Requirements box */
.reqbox { background: var(--sf-accent-quiet); border-radius: var(--r-card); padding: var(--s8); margin-top: var(--s8); }
.reqbox .rq-title { display: flex; align-items: center; gap: var(--s2); font-weight: 700; color: var(--sf-ink); }
.reqbox .rq-title svg { width: 20px; height: 20px; stroke: var(--sf-accent); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.reqbox p { color: var(--sf-ink-3); font-size: var(--sf-caption); margin-top: var(--s3); }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--sf-tile); border: 1px solid var(--sf-rule); border-radius: var(--r-card); margin-bottom: var(--s3); box-shadow: var(--shadow-rest); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s6); font-weight: 600; color: var(--sf-ink); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); font-size: var(--sf-body-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform var(--dur-2) var(--ease); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--sf-accent); border-radius: 2px; }
.faq summary .plus::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq summary .plus::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: opacity var(--dur-2) var(--ease); }
.faq details[open] summary .plus::after { opacity: 0; }
.faq .faq-body { padding: 0 var(--s6) var(--s6); color: var(--sf-ink-3); font-size: var(--sf-body); line-height: 1.65; }
.faq .faq-body a { color: var(--sf-accent); font-weight: 600; }

/* ---------------------------------------------------------------- final CTA */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 20ch; margin: 0 auto var(--s6); }
.final-cta .hero-cta { justify-content: center; }
.final-cta .hero-meta { justify-content: center; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--sf-dark); color: var(--sf-dark-ink-2); padding: var(--s16) 0 var(--s8); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s8); }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.footer-grid h5 { color: #fff; font-family: var(--sf-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 var(--s4); font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.footer-grid a { font-size: var(--sf-caption); color: var(--sf-dark-ink-2); }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: var(--s4); }
.footer-brand p { font-size: var(--sf-caption); color: var(--sf-dark-ink-2); max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--sf-dark-rule); margin-top: var(--s12); padding-top: var(--s6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s3); font-size: 13px; color: var(--sf-dark-ink-2); }
.footer-bottom .mono { font-family: var(--sf-mono); }

/* ---------------------------------------------------------------- scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------- helpers */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: var(--s4); }
.mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); }
.mb-6 { margin-bottom: var(--s6); }
.maxw-head { max-width: 24ch; }
.maxw-60 { max-width: 60ch; }
.stack-gap > * + * { margin-top: var(--s4); }
.caption { font-size: var(--sf-caption); color: var(--sf-ink-4); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--sf-accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }
