/* =========================================================================
   SIDELINE — the front door  ·  cobbledworks.com/sideline
   Friday-night-lights identity: twilight-navy + stadium amber on warm paper.
   Premium, warm, athletic — never loud. A live demo by Cobbled Works.
   ========================================================================= */
:root {
  --paper:    #FAF7F1;   /* warm paper white — page base */
  --surface:  #FFFFFF;
  --sand:     #F3ECDF;   /* soft section band */
  --sand-2:   #EFE6D5;
  --ink:      #16233C;   /* twilight navy — headings */
  --navy:     #16233C;
  --navy-2:   #1E3354;
  --body:     #45546A;   /* body text */
  --muted:    #74829A;
  --faint:    #9AA6B8;
  --line:     #E7DECF;   /* warm hairline on paper */
  --line-cool:#E2E7EE;

  --amber:        #E0922A;   /* stadium amber — primary accent */
  --amber-deep:   #C07614;
  --amber-bright: #FFC861;   /* glow / on-dark accent */
  --amber-soft:   #FAEDD4;
  --amber-line:   #F0DDB6;

  --field:        #2E9E63;   /* "live / game on" turf green — sparing */
  --field-soft:   #E3F3EA;

  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 16px; --r-lg: 22px; --r-xl: 30px;
  --shadow:    0 24px 60px rgba(22,35,60,.13);
  --shadow-sm: 0 10px 30px rgba(22,35,60,.08);
  --shadow-amber: 0 12px 30px rgba(224,146,42,.30);
  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:where(section, .cta, [id]) { scroll-margin-top: 5rem; }
body { font-family: var(--sans); background: var(--paper); color: var(--body); line-height: 1.62; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--amber-soft); color: var(--ink); }
.serif { font-family: var(--serif); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .73rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-deep); }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--amber); opacity: .65; }

/* ---- buttons ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 650; font-size: .95rem; padding: .85rem 1.6rem; border-radius: 999px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { color: #311c02; background: linear-gradient(180deg, #FFC861, #E0922A); box-shadow: var(--shadow-amber); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(224,146,42,.42); }
.btn-ink { color: #fff; background: var(--ink); box-shadow: 0 10px 26px rgba(22,35,60,.22); }
.btn-ink:hover { transform: translateY(-2px); background: #1d2f4f; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-deep); }
.btn-on-dark { color: #2a1804; background: linear-gradient(180deg, #FFC861, #E0922A); box-shadow: var(--shadow-amber); }
.btn-on-dark:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(255,200,97,.4); }
.btn-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.34); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* content is visible by default — JS arms the hide only once the observer
   is alive (html.reveal-armed), so nothing can ever be stuck invisible */
[data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-armed [data-reveal] { opacity: 0; transform: translateY(24px); animation: rvFail .01s linear 2.8s forwards; }
.reveal-armed [data-reveal].in { opacity: 1; transform: none; }
@keyframes rvFail { to { opacity: 1; transform: none; } }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ---- header (floats transparent over the hero; frosts on scroll) ------ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: transparent; border-bottom: 1px solid transparent; transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease); }
.site-header .container { display: flex; align-items: center; gap: 1.2rem; padding-top: 1.15rem; padding-bottom: 1.15rem; transition: padding .4s var(--ease); }
.site-header.scrolled { background: rgba(250,247,241,.78); -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px); border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(22,35,60,.06); }
.site-header.scrolled .container { padding-top: .8rem; padding-bottom: .8rem; }

/* over-hero (default) state: light text on the dark hero */
.logo { display: flex; align-items: center; gap: .62rem; font-family: var(--serif); font-weight: 600; font-size: 1.26rem; color: #fff; letter-spacing: -.01em; transition: color .4s var(--ease); }
.logo .mk { width: 38px; height: 38px; flex: none; }
.logo em { color: var(--amber-bright); font-style: italic; transition: color .4s var(--ease); }
.site-nav { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.site-nav a { font-size: .9rem; font-weight: 550; color: rgba(255,255,255,.88); transition: color .2s; }
.site-nav a:hover { color: #fff; }
.site-nav .btn { padding: .6rem 1.2rem; font-size: .86rem; }
.site-nav .btn-ghost { color: #fff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.site-nav .btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); color: #fff; }
.hdr-toggle { display: none; color: #fff; }

/* scrolled state: switch to ink-on-paper */
.site-header.scrolled .logo { color: var(--ink); }
.site-header.scrolled .logo em { color: var(--amber-deep); }
.site-header.scrolled .site-nav a { color: var(--body); }
.site-header.scrolled .site-nav a:hover { color: var(--amber-deep); }
.site-header.scrolled .site-nav .btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.scrolled .site-nav .btn-ghost:hover { border-color: var(--amber); color: var(--amber-deep); }
.site-header.scrolled .hdr-toggle { color: var(--ink); border-color: var(--line); }

/* ---- hero (full-bleed, immersive; bleeds under the transparent header) - */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: 100svh; display: flex; align-items: center; padding: clamp(7rem, 14vh, 10rem) 0 clamp(5rem, 10vh, 8rem); background: radial-gradient(140% 120% at 50% -16%, #233A63 0%, #16263F 42%, #0B1426 100%); }
/* stadium floodlight beams streaking down from the top corners */
.hero-lights { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.beam { position: absolute; top: -34%; width: 48%; height: 150%; filter: blur(30px); opacity: .55; mix-blend-mode: screen; }
.beam-l { left: -10%; transform: rotate(18deg); transform-origin: top center; background: linear-gradient(177deg, rgba(255,214,140,.34), rgba(255,214,140,.05) 56%, transparent 70%); }
.beam-r { right: -10%; transform: rotate(-18deg); transform-origin: top center; background: linear-gradient(177deg, rgba(166,200,255,.26), rgba(166,200,255,.04) 54%, transparent 68%); }
@media (prefers-reduced-motion: no-preference) { .beam-l { animation: beam-breathe 11s var(--ease) infinite; } .beam-r { animation: beam-breathe 13s var(--ease) infinite .8s; } }
@keyframes beam-breathe { 0%,100%{ opacity:.42; } 50%{ opacity:.62; } }
/* warm glow pooled behind the device + a deep vignette for grounding */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(640px 520px at 78% 42%, rgba(255,200,97,.22), transparent 62%),
  radial-gradient(150% 90% at 50% 116%, rgba(7,12,22,.85), transparent 60%); }
/* faint yard-line field texture, low contrast, faded toward center */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4; background: repeating-linear-gradient(99deg, rgba(255,255,255,0) 0 108px, rgba(255,255,255,.04) 108px 110px); -webkit-mask-image: radial-gradient(140% 120% at 50% 40%, #000, transparent 74%); mask-image: radial-gradient(140% 120% at 50% 40%, #000, transparent 74%); }

.hero-inner { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-inner > * { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-bright); margin-bottom: 1.5rem; }
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-bright); box-shadow: 0 0 0 4px rgba(255,200,97,.16); }
.hero h1 { font-family: var(--serif); font-weight: 600; line-height: .96; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 .l1 { display: block; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 600; color: #e9f0fb; letter-spacing: -.012em; }
.hero h1 .l2 { display: block; font-style: italic; font-size: clamp(3.6rem, 9.2vw, 6.8rem); margin-top: .06em; color: var(--amber-bright); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .l2 { background: linear-gradient(96deg, #FFD98A, #F0A93C 62%, #E0922A); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.hero-lead { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.62; color: #c7d4e6; max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.hero-trust { display: flex; align-items: center; gap: .9rem; margin-top: 2.2rem; font-size: .9rem; color: #9fafc6; flex-wrap: wrap; }
.hero-trust b { color: #fff; font-weight: 700; }
.hero-trust .av-row { display: flex; }
.hero-trust .av-row span { width: 34px; height: 34px; border-radius: 50%; margin-left: -11px; border: 2px solid #16263f; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #311c02; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.hero-trust .av-row span:first-child { margin-left: 0; }

/* staged entrance — energy on load, never perpetual jitter */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker { animation: rise-in .7s var(--ease) both; }
  .hero h1     { animation: rise-in .8s .08s var(--ease) both; }
  .hero-lead   { animation: rise-in .8s .18s var(--ease) both; }
  .hero-cta    { animation: rise-in .8s .28s var(--ease) both; }
  .hero-trust  { animation: rise-in .8s .38s var(--ease) both; }
  .hero-stage  { animation: rise-in 1s .22s var(--ease) both; }
  .scroll-cue  { animation: rise-in .8s .9s var(--ease) both; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* hero stage — a steady, crafted device (no tilt, no bobbing) */
.hero-stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.stage-glow { position: absolute; z-index: 0; top: 46%; left: 50%; width: 124%; height: 86%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,200,97,.26), transparent 72%); pointer-events: none; }
.device { position: relative; z-index: 1; width: min(304px, 80vw); background: linear-gradient(155deg, #26395B, #090F1C); border-radius: 48px; padding: 11px; box-shadow: 0 50px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), inset 0 2px 1px rgba(255,255,255,.12); }
.device-speaker { position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 52px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.16); z-index: 3; }
.device-screen { position: relative; background: var(--paper); border-radius: 38px; overflow: hidden; }
.ds-status { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.2rem .35rem; background: var(--navy); color: #fff; }
.ds-time { font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.ds-ind { display: inline-flex; align-items: center; gap: 5px; }
.ds-ind i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.78); }
.ds-ind .batt { position: relative; width: 20px; height: 10px; border: 1.5px solid rgba(255,255,255,.78); border-radius: 2.5px; }
.ds-ind .batt::after { content: ""; position: absolute; inset: 1.5px; right: 6px; background: var(--amber-bright); border-radius: 1px; }
.ds-ind .batt::before { content: ""; position: absolute; top: 3px; right: -3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255,255,255,.78); }
.stage-caption { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .55rem; max-width: 330px; text-align: left; font-size: .82rem; font-weight: 600; color: #d3dcec; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); padding: .58rem 1rem; border-radius: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stage-caption b { color: #fff; }
.stage-caption .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--field); flex: none; box-shadow: 0 0 0 0 rgba(46,158,99,.5); }
@media (prefers-reduced-motion: no-preference) { .stage-caption .pulse { animation: hpulse 2.8s ease-out infinite; } }
@keyframes hpulse { 0%{box-shadow:0 0 0 0 rgba(46,158,99,.45);} 70%{box-shadow:0 0 0 8px rgba(46,158,99,0);} 100%{box-shadow:0 0 0 0 rgba(46,158,99,0);} }

/* scroll cue — a quiet invitation to keep going */
.scroll-cue { position: absolute; left: 50%; bottom: clamp(1.4rem, 4vh, 2.6rem); transform: translateX(-50%); z-index: 1; display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; border-radius: 99px; background: var(--amber-bright); transform: translateX(-50%); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue .mouse::after { animation: scroll-dot 1.8s var(--ease) infinite; } }
@keyframes scroll-dot { 0%{ opacity:0; transform: translate(-50%, 0); } 30%{ opacity:1; } 70%{ opacity:1; transform: translate(-50%, 10px); } 100%{ opacity:0; transform: translate(-50%, 12px); } }
.ph-top { background: var(--navy); color: #fff; padding: 1.05rem 1.1rem .95rem; }
.ph-top .ph-date { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-bright); }
.ph-top .ph-h { font-family: var(--serif); font-size: 1.18rem; margin-top: .2rem; }
.ph-toggle { display: flex; gap: .25rem; margin-top: .8rem; background: rgba(255,255,255,.08); border-radius: 999px; padding: .22rem; }
.ph-toggle span { flex: 1; text-align: center; font-size: .64rem; font-weight: 700; letter-spacing: .04em; padding: .4rem; border-radius: 999px; color: #9fb0c8; }
.ph-toggle span.on { background: linear-gradient(180deg,#FFC861,#E0922A); color: #311c02; box-shadow: 0 2px 6px rgba(224,146,42,.4), inset 0 1px 0 rgba(255,255,255,.5); }
.ph-body { padding: .85rem; display: flex; flex-direction: column; gap: .6rem; }
.ph-card { background: var(--surface); border: 1px solid var(--line-cool); border-radius: 14px; padding: .7rem .8rem; box-shadow: 0 4px 14px rgba(22,35,60,.05); }
.ph-card .pc-row { display: flex; align-items: center; gap: .55rem; }
.ph-card .pc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.ph-card .pc-ic svg { width: 16px; height: 16px; }
.ic-amber { background: var(--amber-soft); color: var(--amber-deep); }
.ic-field { background: var(--field-soft); color: var(--field); }
.ic-navy  { background: #E7ECF3; color: var(--navy-2); }
.ph-card .pc-t { font-weight: 700; font-size: .8rem; color: var(--ink); line-height: 1.2; }
.ph-card .pc-s { font-size: .68rem; color: var(--muted); margin-top: .12rem; }
.ph-card .pc-tag { margin-left: auto; font-size: .58rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 999px; }
.tag-live { background: var(--field-soft); color: var(--field); }
.tag-you { background: var(--amber-soft); color: var(--amber-deep); }
.ph-quiet { text-align: center; font-size: .66rem; color: var(--muted); padding: .5rem 0 .25rem; }
.ph-quiet b { color: var(--field); }

/* ---- trust strip ------------------------------------------------------ */
.trust { position: relative; z-index: 5; margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.trust-bar { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.trust-bar div { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.trust-bar div:last-child { border-right: none; }
.trust-bar .n { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--ink); line-height: 1; }
.trust-bar .n em { color: var(--amber-deep); font-style: normal; }
.trust-bar .l { font-size: .73rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: .45rem; }

/* ---- sections --------------------------------------------------------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { text-align: center; max-width: 44ch; margin: 0 auto clamp(2.2rem, 5vw, 3.2rem); }
.section-head .eyebrow { margin-bottom: .9rem; }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3rem); line-height: 1.08; color: var(--ink); letter-spacing: -.018em; text-wrap: balance; }
.section-head h2 em { font-style: italic; color: var(--amber-deep); }
.section-head p { margin-top: 1rem; font-size: 1.08rem; color: var(--body); }

/* ---- the problem (split, on sand) ------------------------------------- */
.problem { background: var(--sand); }
.problem-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.problem h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.2vw, 2.8rem); line-height: 1.1; color: var(--ink); letter-spacing: -.015em; margin-top: .9rem; text-wrap: balance; }
.problem h2 em { font-style: italic; color: var(--amber-deep); }
.problem p.lead { margin-top: 1.1rem; font-size: 1.08rem; color: var(--body); max-width: 46ch; }
.problem .from-to { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.8rem; }
.ft-row { display: flex; align-items: center; gap: .9rem; font-size: 1rem; }
.ft-row .x { width: 26px; height: 26px; border-radius: 50%; background: #F4DDD8; color: #C0573F; display: grid; place-items: center; flex: none; }
.ft-row .c { width: 26px; height: 26px; border-radius: 50%; background: var(--field-soft); color: var(--field); display: grid; place-items: center; flex: none; }
.ft-row .x svg, .ft-row .c svg { width: 15px; height: 15px; }
.ft-row b { color: var(--ink); font-weight: 700; }
/* chaos vs calm visual */
.chaos-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.chaos-head { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.chaos-head .dot3 { display: flex; gap: 5px; }
.chaos-head .dot3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.chaos-head .ttl { margin-left: .3rem; font-weight: 700; font-size: .82rem; color: var(--muted); }
.chaos-head .count { margin-left: auto; font-size: .68rem; font-weight: 700; color: #C0573F; background: #F4DDD8; padding: .25rem .6rem; border-radius: 999px; }
.chaos-body { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; max-height: 270px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent); mask-image: linear-gradient(180deg, #000 76%, transparent); }
.cmsg { display: flex; gap: .55rem; align-items: flex-start; opacity: .55; }
.cmsg.dim { opacity: .32; }
.cmsg .cav { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .6rem; font-weight: 700; color: #fff; }
.cmsg .cbub { background: var(--sand); border-radius: 12px; padding: .4rem .65rem; font-size: .8rem; color: var(--body); }
.cmsg .cbub b { color: var(--ink); }
.chaos-foot { padding: .9rem 1.2rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 650; color: var(--field); background: var(--field-soft); }
.chaos-foot svg { width: 17px; height: 17px; }

/* ---- features --------------------------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.feat { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 2rem 2rem 2.1rem; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.feat::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--amber), transparent); opacity: 0; transition: opacity .35s; }
.feat:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.feat:hover::after { opacity: 1; }
.feat-ic { position: relative; width: 64px; height: 64px; border-radius: 18px; color: var(--amber-deep); display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(180deg, #FFF7E6, #FAEDD4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px var(--amber-line), 0 12px 24px rgba(224,146,42,.18); }
.feat-ic::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent 55%); }
.feat-ic svg { position: relative; z-index: 1; width: 34px; height: 34px; filter: drop-shadow(0 3px 5px rgba(192,118,20,.28)); }
.feat.f-field .feat-ic { color: var(--field); }
.feat.f-navy .feat-ic { color: var(--navy-2); }
.feat:hover .feat-ic { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px var(--amber-line), 0 16px 30px rgba(224,146,42,.28); }
.feat h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); letter-spacing: -.01em; }
.feat h3 em { font-style: italic; color: var(--amber-deep); }
.feat p { font-size: .98rem; margin-top: .6rem; color: var(--body); max-width: 42ch; }
.feat .feat-eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: .8rem; }

/* ---- how it works (dark band) ----------------------------------------- */
.how { background: linear-gradient(168deg, #16233C, #1E3354); color: #fff; position: relative; overflow: hidden; }
.how::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6; background: radial-gradient(900px 500px at 85% 0%, rgba(255,200,97,.12), transparent 60%); }
.how .section-head h2 { color: #fff; }
.how .section-head h2 em { color: var(--amber-bright); }
.how .section-head p { color: #c2cddd; }
.how .eyebrow { color: var(--amber-bright); }
.how-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.how-step { text-align: center; padding: 0 .6rem; }
.how-num { font-family: var(--serif); font-weight: 600; font-style: italic; font-size: 2.4rem; color: var(--amber-bright); line-height: 1; }
.how-step h4 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-top: .7rem; }
.how-step p { color: #b9c5d7; font-size: .95rem; margin-top: .5rem; max-width: 32ch; margin-inline: auto; }
.how-rule { position: relative; z-index: 1; height: 1px; background: rgba(255,255,255,.12); max-width: 760px; margin: 2.8rem auto 0; }

/* ---- parents (testimonials) ------------------------------------------- */
.parents { background: var(--sand); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.rev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem; box-shadow: var(--shadow-sm); }
.rev .stars { color: var(--amber); letter-spacing: .12em; font-size: 1rem; }
.rev p { margin-top: .8rem; color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.rev .who { margin-top: 1.3rem; display: flex; align-items: center; gap: .7rem; }
.rev .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .82rem; }
.rev .who b { display: block; color: var(--ink); font-size: .92rem; }
.rev .who span { font-size: .8rem; color: var(--muted); }

/* ---- CTA -------------------------------------------------------------- */
.cta { padding: clamp(4rem, 9vw, 7rem) 0; }
.cta-card { position: relative; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(165deg, #0E1A30 0%, #1E3354 60%, #2A4068 120%); color: #fff; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; }
.cta-card::before { content: ""; position: absolute; right: -6%; top: -40%; width: 50%; height: 180%; pointer-events: none; background: radial-gradient(circle at center, rgba(255,200,97,.22), transparent 60%); }
.cta-aside { position: relative; z-index: 1; padding: 3rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.cta-aside .eyebrow { color: var(--amber-bright); }
.cta-aside h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1.08; margin-top: .9rem; letter-spacing: -.015em; text-wrap: balance; }
.cta-aside h2 em { font-style: italic; color: var(--amber-bright); }
.cta-aside p { margin-top: 1rem; color: #c2cddd; font-size: 1.05rem; max-width: 38ch; }
.cta-li { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font-size: .95rem; color: #e7edf5; }
.cta-li svg { width: 18px; height: 18px; color: var(--amber-bright); flex: none; }
.cta-form { position: relative; z-index: 1; background: var(--surface); margin: .55rem; border-radius: calc(var(--r-xl) - 6px); padding: 2.4rem 2.2rem; color: var(--ink); }
.cta-form h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.cta-form .sub { font-size: .9rem; color: var(--muted); margin-top: .3rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: .42rem; }
.field input, .field select { width: 100%; padding: .82rem .95rem; border: 1px solid var(--line-cool); border-radius: 12px; font-size: .95rem; color: var(--ink); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
/* only after the user has interacted — never on first paint */
.field input:user-invalid { border-color: #C0573F; box-shadow: 0 0 0 4px rgba(192,87,63,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.cta-form .btn { width: 100%; margin-top: .5rem; }
.cta-note { text-align: center; margin-top: .9rem; font-size: .8rem; color: var(--muted); }
.cta-success { text-align: center; padding: 1.5rem .5rem; }
.cta-success .big { width: 72px; height: 72px; border-radius: 50%; background: var(--field-soft); color: var(--field); display: grid; place-items: center; margin: 0 auto 1.1rem; }
.cta-success .big svg { width: 36px; height: 36px; }
.cta-success h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.cta-success p { margin-top: .5rem; color: var(--body); }

/* ---- footer ----------------------------------------------------------- */
.site-footer { background: #0E1A30; color: #b6c2d4; padding: 3.4rem 0 2.2rem; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; align-items: flex-start; }
.foot-brand { max-width: 32ch; }
.foot-brand .logo { color: #fff; }
.foot-brand .logo em { color: var(--amber-bright); }
.foot-brand p { margin-top: .9rem; font-size: .92rem; color: #8595ad; line-height: 1.6; }
.foot-cols { display: flex; gap: 3.6rem; flex-wrap: wrap; }
.foot-col h4 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6c7e98; margin-bottom: .9rem; }
.foot-col a { display: block; font-size: .9rem; padding: .26rem 0; color: #b6c2d4; transition: color .2s; }
.foot-col a:hover { color: var(--amber-bright); }
.foot-bottom { margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: #6c7e98; }
.foot-bottom a { color: var(--amber-bright); font-weight: 600; }

/* ---- toasts ----------------------------------------------------------- */
.toast-wrap { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: .6rem; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.3rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); animation: tin .4s var(--ease) both; }
.toast svg { width: 18px; height: 18px; color: var(--amber-bright); }
@keyframes tin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---- responsive ------------------------------------------------------- */
@media (max-width: 940px) {
  /* content-driven height on phones (no forced full-screen centering) */
  .hero { min-height: auto; align-items: flex-start; padding: clamp(6.5rem, 16vh, 9rem) 0 clamp(3rem, 8vw, 4.5rem); }
  .hero-inner { grid-template-columns: 1fr; gap: 2.6rem; justify-items: center; text-align: center; }
  .hero-copy { max-width: 34rem; }
  .hero-kicker { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .device { width: min(290px, 72vw); }
  .scroll-cue { display: none; }
  /* the mobile nav drops down as a light panel — force dark, legible items
     even while the header itself is still transparent over the hero */
  .site-nav a { color: var(--body); }
  .site-nav a:hover { color: var(--amber-deep); }
  .site-nav .btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav .btn-ghost:hover { border-color: var(--amber); color: var(--amber-deep); }
  .hdr-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; border: 1px solid rgba(255,255,255,.30); color: #fff; }
  .problem-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .rev-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-bar div:nth-child(2) { border-right: none; }
  .trust-bar div:nth-child(1), .trust-bar div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .site-nav { position: fixed; inset: calc(64px + env(safe-area-inset-top, 0px)) 1rem auto 1rem; flex-direction: column; align-items: stretch; gap: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 1rem; transform: translateY(calc(-100% - 64px - env(safe-area-inset-top, 0px))); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .site-nav.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .site-nav a { padding: .7rem .5rem; }
  .site-nav .btn { width: 100%; }
  .hdr-toggle { margin-left: auto; }
}
@media (max-width: 560px) {
  .container { padding: 0 1.15rem; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .cta-aside, .cta-form { padding: 2rem 1.6rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
}
@media (max-width: 400px) {
  .hero h1 .l2 { font-size: 3.3rem; }
  .device { width: min(264px, 82vw); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal], .reveal-armed [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ── Mobile overflow hardening (responsive QA pass) ─────────────────────
   Keep the hero and every section inside the phone viewport: let the eyebrow
   wrap, let grid items shrink below their intrinsic content width (the long
   nowrap eyebrow was forcing the hero column ~500px wide and clipping it),
   and never allow a horizontal scroll. */
@media (max-width: 720px) {
  .hero-inner, .hero-copy, .hero-text, .proof-inner, .proof-copy,
  .quote-card, .quote-grid, .cta-inner { min-width: 0; }
  .hero-inner > *, .proof-inner > * { min-width: 0; max-width: 100%; }
  .hero-kicker, .eyebrow, .hero-rating { white-space: normal; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { white-space: normal; max-width: 100%; }
}
html, body { overflow-x: hidden; overflow-x: clip; }

