/*
 * Scenarios solution page. Loads after tokens.css + site.css.
 * Positioning: CommitControl as the sales leader's "mini CRO" that runs the
 * forecast and capacity grunt work so the leader's time goes back to coaching
 * and the deals that slip. Product-led, whitespace, no card soup.
 */

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.s-hero { position: relative; padding-top: clamp(48px, 6vw, 88px); text-align: center; overflow: clip; }
.s-hero-glow {
  position: absolute; inset-inline: 0; top: -8%; margin-inline: auto;
  width: min(720px, 80%); height: 380px; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 60% at 50% 40%, rgba(var(--cc-accent-rgb), 0.14), transparent 70%);
  filter: blur(10px);
}
:root[data-theme="light"] .s-hero-glow { opacity: 0.4; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .s-hero-glow { opacity: 0.4; } }
.s-hero-inner { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.s-hero h1 { font-size: var(--cc-fs-display); line-height: var(--cc-lh-tight); letter-spacing: var(--cc-track-display); font-weight: var(--cc-w-bold); }
.s-hero .sub { font-size: var(--cc-fs-lead); color: var(--cc-ink-soft); max-width: 58ch; line-height: 1.5; }
.s-hero .sub b { color: var(--cc-ink); font-weight: var(--cc-w-semibold); }
/* Lean into the pain: the thing they dread, in danger red. */
.s-hero .sub .pain { color: var(--cc-danger); font-weight: var(--cc-w-semibold); }
.s-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.s-terms { font-family: var(--cc-font-mono); font-size: var(--cc-fs-label-code); letter-spacing: 0.02em; color: var(--cc-ink-faint); }

/* ─── Product shot frame (reused, no fake chrome) ───────────────────────── */
.shot { border-radius: var(--cc-r-lg); overflow: hidden; border: 1px solid var(--cc-border-strong); background: var(--cc-surface); box-shadow: var(--cc-shadow-lg); }
.shot img { display: block; width: 100%; height: auto; }
.shot-cap { margin-top: 12px; text-align: center; font-family: var(--cc-font-mono); font-size: var(--cc-fs-label-code); letter-spacing: 0.04em; color: var(--cc-ink-faint); }
/* Tighten the whole-page vertical rhythm so the narrative reads as one
   continuous scroll, pain into solution, rather than a stack of airy sections
   with empty bands between them. Overrides the token default locally. */
.s-scenarios .section { padding-block: clamp(40px, 3.2vw + 20px, 72px); }
.s-scenarios .s-hero { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(20px, 2.4vw, 36px); }
.s-scenarios .s-hero + .section { padding-top: clamp(28px, 3vw, 48px); }
/* The compliance band and closing CTA can sit a touch tighter to the content
   above them too. */
.s-scenarios .compliance .wrap { padding-block: 32px; }

/* Hero frame: same scale as the homepage product frame (min 860px), with the
   shared tilt-and-settle applied via #product-frame by home.js. */
.hero-frame { margin-top: clamp(28px, 3.5vw, 48px); }

/* ─── The stat moment (coaching frequency) ──────────────────────────────── */
.stat { text-align: center; }
.stat .big { font-family: var(--cc-num); font-variant-numeric: var(--cc-numeric); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.5rem); font-weight: var(--cc-w-bold); color: var(--cc-accent); letter-spacing: -0.02em; }
.stat .claim { max-width: 46ch; margin: 10px auto 0; font-size: var(--cc-fs-lead); color: var(--cc-ink); }
.stat .src { margin-top: 14px; font-family: var(--cc-font-mono); font-size: var(--cc-fs-label-code); color: var(--cc-ink-faint); }
.stat .src a { color: var(--cc-ink-mute); text-decoration: underline; text-underline-offset: 2px; }

/* ─── Decision loop (open steps, no cards) ──────────────────────────────── */
.loop { display: grid; gap: clamp(24px, 3vw, 44px); grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 820px) { .loop { grid-template-columns: repeat(5, 1fr); } }
.loop-step { display: flex; flex-direction: column; gap: 8px; }
.loop-step .n { font-family: var(--cc-font-mono); font-size: var(--cc-fs-label-code); letter-spacing: 0.1em; color: var(--cc-accent); font-weight: var(--cc-w-semibold); }
.loop-step h3 { font-size: 1.0625rem; }
.loop-step p { font-size: var(--cc-fs-sm); color: var(--cc-ink-soft); }

/* ─── Feature rows (alternating, image + text, no cards) ────────────────── */
.feature { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } .feature.reverse .feature-media { order: -1; } }
.feature-copy { display: flex; flex-direction: column; gap: 14px; }
.feature-copy h2 { font-size: var(--cc-fs-h2); }
.feature-copy p { color: var(--cc-ink-soft); }
.feature-copy .note { font-family: var(--cc-font-mono); font-size: var(--cc-fs-label-code); color: var(--cc-ink-faint); }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--cc-ink-soft); font-size: var(--cc-fs-body); }
.feature-list svg { width: 18px; height: 18px; color: var(--cc-accent); flex: 0 0 auto; margin-top: 3px; }

/* ─── Where the time goes (reclaimed-time outcomes) ─────────────────────── */
.timeback { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 820px) { .timeback { grid-template-columns: repeat(3, 1fr); } }
.tb { display: flex; flex-direction: column; gap: 10px; }
.tb .n { font-family: var(--cc-font-mono); font-size: var(--cc-fs-label-code); letter-spacing: 0.1em; color: var(--cc-accent); font-weight: var(--cc-w-semibold); }
.tb h3 { font-size: var(--cc-fs-h3); }
.tb p { color: var(--cc-ink-soft); }

/* ─── Boundaries (honest limits, plain list) ────────────────────────────── */
.bounds { display: grid; gap: 16px 40px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 720px) { .bounds { grid-template-columns: 1fr 1fr; } }
.bound { display: flex; gap: 10px; align-items: flex-start; color: var(--cc-ink-soft); font-size: var(--cc-fs-sm); }
.bound svg { width: 17px; height: 17px; color: var(--cc-ink-mute); flex: 0 0 auto; margin-top: 2px; }

/* ─── Closing CTA ───────────────────────────────────────────────────────── */
.s-close { text-align: center; }
.s-close .inner { max-width: 680px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.s-close h2 { font-size: var(--cc-fs-h1); }
.s-close .tier { font-family: var(--cc-font-mono); font-size: var(--cc-fs-label-code); color: var(--cc-ink-faint); }
.s-close .tier a { color: var(--cc-accent); }

/* ─── Other solutions link (on the Solutions index) ─────────────────────── */
.s-other {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 30px; border-radius: var(--cc-r-lg);
  background: var(--cc-surface); border: 1px solid var(--cc-border);
  transition: border-color var(--cc-dur-base), box-shadow var(--cc-dur-base), translate var(--cc-dur-base) var(--cc-ease-out);
  translate: 0 0;
}
@media (hover: hover) { .s-other:hover { border-color: var(--cc-border-strong); box-shadow: var(--cc-shadow-md); translate: 0 -2px; } }
.s-other h3 { font-size: var(--cc-fs-h3); color: var(--cc-ink); }
.s-other p { color: var(--cc-ink-soft); font-size: var(--cc-fs-sm); line-height: 1.6; margin-top: 8px; max-width: 70ch; }
.s-other-go { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cc-accent-tint); color: var(--cc-accent-text); }
