/* ============================================================
   Guided Funnel — home page v2 (Direction 2, owner-approved)
   Fully isolated: every class is gf-* and tokens are --gf-*.
   Linked only on the home page via {% block head_extra %}.
   Reuses the existing .c3-oc industries grid + .c3-demo slideshow
   inside the Solution step (their styles live in site.css).
   ============================================================ */
.gf-home{
  --gf-ink:#0B1B2B; --gf-brand:#14598C; --gf-spark:#18C2E6;
  --gf-warm:#C2410C; --gf-warm2:#FF8A3D; --gf-mist:#F4F7FA;
  --gf-paper:#ffffff; --gf-line:#E2E8F0; --gf-slate:#5B6B7B; --gf-good:#0a7a52;
  --gf-rcard:16px; --gf-rctl:10px;
  --gf-shadow-sm:0 1px 2px rgba(11,27,43,.06), 0 1px 3px rgba(11,27,43,.05);
  --gf-shadow-md:0 8px 24px rgba(11,27,43,.10), 0 2px 6px rgba(11,27,43,.06);
  --gf-shadow-lg:0 18px 48px rgba(11,27,43,.14), 0 4px 12px rgba(11,27,43,.08);
  color:var(--gf-ink);
}
.gf-home *{box-sizing:border-box;}
.gf-wrap{max-width:1200px; margin:0 auto; padding:0 24px; width:100%;}

.gf-home h1,.gf-home h2,.gf-home h3,.gf-home h4{margin:0; line-height:1.18; letter-spacing:-.01em;}
.gf-home p{margin:0;}

/* ---------- eyebrow / kicker ---------- */
.gf-kicker{font-size:12px; text-transform:uppercase; letter-spacing:.12em; font-weight:700; color:var(--gf-brand); margin:0 0 6px;}

/* ---------- buttons ---------- */
.gf-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:600; font-size:15px; min-height:46px; padding:0 20px; border-radius:var(--gf-rctl);
  cursor:pointer; border:1.5px solid transparent; white-space:nowrap; text-align:center; text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;}
.gf-btn-warm{background:linear-gradient(135deg,var(--gf-warm) 0%,var(--gf-warm2) 100%); color:#fff; box-shadow:0 6px 18px rgba(194,65,12,.28);}
.gf-btn-warm:hover{transform:translateY(-3px); box-shadow:0 12px 28px rgba(194,65,12,.34);}
.gf-btn-ghost{background:transparent; color:var(--gf-ink); border-color:var(--gf-line);}
.gf-btn-ghost:hover{transform:translateY(-3px); border-color:var(--gf-brand); box-shadow:var(--gf-shadow-sm);}
.gf-btn-brand{background:linear-gradient(135deg,var(--gf-brand) 0%,var(--gf-spark) 130%); color:#fff; box-shadow:0 6px 18px rgba(20,89,140,.26);}
.gf-btn-brand:hover{transform:translateY(-3px); box-shadow:0 12px 28px rgba(20,89,140,.32);}
.gf-home a.gf-btn:focus-visible{outline:3px solid var(--gf-spark); outline-offset:2px;}

/* ---------- HERO (full page) ---------- */
.gf-hero{padding:96px 0; min-height:100vh; min-height:100svh; display:flex; flex-direction:column; justify-content:center;
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(24,194,230,.10), transparent 60%),
    radial-gradient(900px 460px at 8% 8%, rgba(20,89,140,.07), transparent 55%);}
.gf-hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center;}
.gf-flag{display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--gf-line); color:var(--gf-brand);
  font-size:12px; font-weight:700; letter-spacing:.04em; padding:6px 13px; border-radius:999px; box-shadow:var(--gf-shadow-sm); margin-bottom:16px;}
.gf-flag .gf-dot{width:7px; height:7px; border-radius:50%; background:var(--gf-spark);}
.gf-h1{font-size:clamp(26px,5.2vw,40px); font-weight:800; letter-spacing:-.02em; margin-bottom:14px; color:var(--gf-ink);}
.gf-hl{background:linear-gradient(120deg,var(--gf-brand),var(--gf-spark)); -webkit-background-clip:text; background-clip:text; color:transparent;}
.gf-lede{font-size:16px; color:var(--gf-slate); line-height:1.55; max-width:40ch; margin-bottom:20px;}
.gf-cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:12px;}
.gf-reassure{font-size:13.5px; color:var(--gf-slate); display:flex; align-items:center; gap:7px;}
.gf-reassure svg{color:var(--gf-good); flex:none;}
.gf-trust-row{display:flex; flex-wrap:wrap; gap:8px; margin-top:18px;}
.gf-tchip{display:inline-flex; align-items:center; gap:7px; background:#fff; border:1px solid var(--gf-line);
  border-radius:999px; padding:7px 12px; box-shadow:var(--gf-shadow-sm); transition:transform .16s ease, box-shadow .16s ease;}
.gf-tchip:hover{transform:translateY(-2px); box-shadow:var(--gf-shadow-md);}
.gf-tchip svg{color:var(--gf-brand); flex:none;}
.gf-tchip b{font-size:13px; font-weight:700; color:var(--gf-ink);}
.gf-tchip span{font-size:12px; color:var(--gf-slate);}
.gf-hero-demo{display:flex; justify-content:center;}

/* ---------- FUNNEL + RAIL ---------- */
.gf-funnel{position:relative;}
.gf-funnel-inner{display:grid; grid-template-columns:76px 1fr; gap:0; max-width:1276px; margin:0 auto; padding:0 24px;}
.gf-rail{position:relative;}
.gf-rail-sticky{position:sticky; top:120px; height:calc(100vh - 160px); display:flex; flex-direction:column; align-items:center; padding:8px 0;}
.gf-rail-track{position:relative; flex:1; width:3px; background:var(--gf-line); border-radius:3px; margin:14px 0;}
.gf-rail-fill{position:absolute; top:0; left:0; width:100%; height:0%; background:linear-gradient(180deg,var(--gf-warm),var(--gf-brand) 52%,var(--gf-good)); border-radius:3px; transition:height .12s linear;}
.gf-rail-dots{position:absolute; top:0; left:50%; transform:translateX(-50%); height:100%; display:flex; flex-direction:column; justify-content:space-between; align-items:center;}
.gf-rail-dot{width:32px; height:32px; border-radius:50%; background:#fff; border:2px solid var(--gf-line); color:var(--gf-slate);
  font-weight:700; font-size:14px; display:flex; align-items:center; justify-content:center;
  transition:background .25s, border-color .25s, color .25s, transform .25s; cursor:pointer;}
.gf-rail-dot.active{transform:scale(1.12); color:#fff;}
.gf-rail-dot.gf-s1.active{background:var(--gf-warm); border-color:var(--gf-warm);}
.gf-rail-dot.gf-s2.active{background:var(--gf-brand); border-color:var(--gf-brand);}
.gf-rail-dot.gf-s3.active{background:var(--gf-good); border-color:var(--gf-good);}

/* ---------- STEPS (each full page) ---------- */
.gf-steps{min-width:0;}
.gf-step{padding:96px 0; position:relative; border-bottom:1px solid var(--gf-line);
  min-height:100vh; min-height:100svh; display:flex; flex-direction:column; justify-content:center;}
.gf-step:last-child{border-bottom:none;}
.gf-step > .gf-wrap{padding-left:8px; padding-right:8px;}
.gf-step-head{display:flex; align-items:flex-start; gap:16px; margin-bottom:30px;}
.gf-step-num{font-weight:800; font-size:clamp(30px,6vw,46px); line-height:.9; letter-spacing:-.03em; flex:none;}
.gf-step.gf-s1 .gf-step-num{color:var(--gf-warm);}
.gf-step.gf-s2 .gf-step-num{color:var(--gf-brand);}
.gf-step.gf-s3 .gf-step-num{color:var(--gf-good);}
.gf-step.gf-s1 .gf-kicker{color:var(--gf-warm);}
.gf-step.gf-s3 .gf-kicker{color:var(--gf-good);}
.gf-step h2{font-size:clamp(21px,3.4vw,30px); font-weight:800; letter-spacing:-.02em; color:var(--gf-ink);}
.gf-step-sub{font-size:16px; color:var(--gf-slate); line-height:1.55; max-width:62ch; margin-top:10px;}

/* Step 1 problem band */
.gf-step.gf-s1{background:var(--gf-mist);}
.gf-pain-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:6px;}
.gf-pain{background:#fff; border:1px solid var(--gf-line); border-left:3px solid var(--gf-warm); border-radius:12px; padding:18px 16px; box-shadow:var(--gf-shadow-sm);}
.gf-pain svg{color:var(--gf-warm); margin-bottom:10px;}
.gf-pain h4{font-size:15.5px; font-weight:700; margin-bottom:5px;}
.gf-pain p{font-size:13.5px; color:var(--gf-slate); line-height:1.45;}
.gf-pain-foot{margin-top:24px; font-size:15.5px; color:var(--gf-ink); display:flex; align-items:center; gap:10px; font-weight:600;}
.gf-pain-foot svg{color:var(--gf-warm); flex:none;}

/* Step 2 solution: industries grid is reused (.c3-oc*). The .c3-oc system in
   site.css is built for a DARK section (white text on translucent-dark cards).
   The funnel Solution step is LIGHT, so every reused surface must be re-themed
   dark-on-light here or it renders white-on-white (invisible). */
.gf-step.gf-s2 .c3-oc-grid{margin-top:8px;}
.gf-home .c3-oc-live{color:var(--gf-ink); background:rgba(10,122,82,.07); border-color:rgba(10,122,82,.22); margin:4px auto 30px;}
.gf-home .c3-oc{background:#fff; border-color:var(--gf-line); box-shadow:var(--gf-shadow-sm);}
.gf-home .c3-oc:hover{border-color:rgba(20,89,140,.4); box-shadow:var(--gf-shadow-md);}
.gf-home .c3-oc h3{color:var(--gf-ink);}
.gf-home .c3-oc p{color:var(--gf-slate);}
.gf-home .c3-oc-caps{border-top-color:var(--gf-line);}
.gf-home .c3-oc-caps li{color:var(--gf-ink);}
.gf-home .c3-oc-try{color:var(--gf-brand); opacity:1;}
/* note is the cards' footnote (moved above the more-trades nav in markup) */
.gf-home .c3-oc-note{color:var(--gf-slate); margin:22px auto 0;}
/* "more trades" is its own cluster — clear break from the cards+note group */
.gf-home .c3-oc-more{margin-top:56px;}
.gf-home .c3-oc-more-lead{color:var(--gf-slate); margin-bottom:18px;}
.gf-home .c3-oc-more-grid{gap:14px 12px;}
.gf-home .c3-oc-more-btn{color:var(--gf-ink); background:#fff; border-color:var(--gf-line); padding:12px 20px;}
.gf-home .c3-oc-more-btn:hover{color:var(--gf-brand); background:rgba(20,89,140,.07); border-color:var(--gf-brand);}

/* Contrast compare */
.gf-contrast-block{margin-top:64px; padding-top:72px; border-top:1px solid var(--gf-line);}
.gf-contrast-head{margin-bottom:24px;}
.gf-contrast-head .gf-kicker{margin-bottom:8px;}
.gf-contrast-head h3{font-size:clamp(19px,2.8vw,25px); font-weight:800; letter-spacing:-.01em;}
.gf-compare{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.gf-ccard{border-radius:var(--gf-rcard); padding:24px 22px; box-shadow:var(--gf-shadow-sm);}
.gf-ccard.gf-rent{background:var(--gf-mist); border:1px solid var(--gf-line);}
.gf-ccard.gf-own{background:linear-gradient(160deg,#fff,#f3fbfd); border:2px solid var(--gf-spark); position:relative; box-shadow:0 12px 30px rgba(24,194,230,.16);}
.gf-ccard h4{font-size:18px; font-weight:700; margin-bottom:16px; display:flex; align-items:center; gap:9px;}
.gf-ccard.gf-own h4{color:var(--gf-brand);}
.gf-ccard.gf-rent h4{color:var(--gf-slate);}
.gf-ccard ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px;}
.gf-ccard li{display:flex; align-items:flex-start; gap:11px; font-size:14.5px; line-height:1.4;}
.gf-ccard li svg{flex:none; margin-top:1px;}
.gf-ccard.gf-rent li{color:var(--gf-slate);} .gf-ccard.gf-rent li svg{color:#b91c1c; opacity:.8;}
.gf-ccard.gf-own li{color:var(--gf-ink); font-weight:500;} .gf-ccard.gf-own li svg{color:var(--gf-good);}
.gf-own-badge{position:absolute; top:-12px; right:18px; background:linear-gradient(135deg,var(--gf-brand),var(--gf-spark)); color:#fff; font-size:11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:5px 12px; border-radius:999px; box-shadow:var(--gf-shadow-md);}

/* Step 3 pays + ada */
.gf-pays-grid{display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:center;}
.gf-stat-row{display:flex; gap:12px; flex-wrap:wrap; margin:20px 0 22px;}
.gf-stat{flex:1; min-width:130px; background:#fff; border:1px solid var(--gf-line); border-radius:12px; padding:15px 16px; box-shadow:var(--gf-shadow-sm);}
.gf-stat .gf-big{font-weight:800; font-size:22px; color:var(--gf-good); letter-spacing:-.01em; line-height:1.1;}
.gf-stat .gf-lbl{font-size:13px; color:var(--gf-slate); margin-top:3px;}
.gf-chart-wrap{background:#fff; border:1px solid var(--gf-line); border-radius:var(--gf-rcard); padding:20px; box-shadow:var(--gf-shadow-md);}
.gf-chart-cap{font-size:12.5px; color:var(--gf-slate); margin-top:10px; display:flex; align-items:center; gap:14px; flex-wrap:wrap;}
.gf-lg{display:inline-flex; align-items:center; gap:6px;}
.gf-lg i{width:14px; height:3px; border-radius:2px; display:inline-block;}
.gf-lg.gf-area i{background:var(--gf-good); height:10px; width:10px; border-radius:3px;}
.gf-lg.gf-line i{background:var(--gf-slate); height:0; border-top:2px dashed var(--gf-slate); width:16px;}
.gf-ada{margin-top:48px; background:linear-gradient(150deg,#06263f,#0B1B2B 60%); border-radius:var(--gf-rcard); padding:34px 30px; color:#fff; position:relative; overflow:hidden; box-shadow:var(--gf-shadow-lg);}
.gf-ada::after{content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px; border-radius:50%; background:radial-gradient(circle, rgba(24,194,230,.25), transparent 70%);}
.gf-ada .gf-kicker{color:var(--gf-spark); position:relative;}
.gf-ada h3{font-size:clamp(20px,3vw,27px); font-weight:800; margin-bottom:12px; position:relative; color:#fff;}
.gf-ada h3 .gf-hl{color:var(--gf-spark); -webkit-text-fill-color:var(--gf-spark);}
.gf-ada p{color:rgba(255,255,255,.78); max-width:60ch; position:relative; font-size:15.5px;}
.gf-ada-input{display:flex; gap:10px; margin:22px 0 0; max-width:540px; position:relative; flex-wrap:wrap;}
.gf-ada-input .gf-fake{flex:1; min-width:200px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:var(--gf-rctl); padding:13px 16px; color:rgba(255,255,255,.6); font-size:14.5px; display:flex; align-items:center;}
/* real, typeable Ada input (renders when Ada is live) — submits to /solution-finder?q= */
.gf-ada-input input.gf-fake{display:block; color:#fff; font-family:inherit; -webkit-appearance:none; appearance:none; cursor:text; transition:border-color .15s, background .15s, box-shadow .15s;}
.gf-ada-input input.gf-fake::placeholder{color:rgba(255,255,255,.55); opacity:1;}
.gf-ada-input input.gf-fake:focus{outline:none; border-color:var(--gf-spark); background:rgba(255,255,255,.12); box-shadow:0 0 0 3px rgba(24,194,230,.22);}
.gf-ada .gf-finder-slot{margin-top:22px; position:relative;}

/* ---------- FINAL CTA (full page) ---------- */
.gf-final{background:linear-gradient(165deg,var(--gf-mist),#eaf4f9); padding:96px 0; text-align:center; border-top:1px solid var(--gf-line);
  min-height:100vh; min-height:100svh; display:flex; flex-direction:column; justify-content:center;}
.gf-final .gf-kicker{color:var(--gf-warm);}
.gf-final h2{font-size:clamp(22px,3.6vw,32px); font-weight:800; max-width:20ch; margin:0 auto 14px; letter-spacing:-.02em;}
.gf-final p{font-size:16px; color:var(--gf-slate); max-width:54ch; margin:0 auto 24px; line-height:1.55;}
.gf-final .gf-cta-row{justify-content:center;}
.gf-checks{display:flex; gap:20px; justify-content:center; flex-wrap:wrap; margin-top:22px;}
.gf-checks span{font-size:13.5px; font-weight:600; color:var(--gf-ink); display:inline-flex; align-items:center; gap:7px;}
.gf-checks svg{color:var(--gf-good);}

/* ---------- reveal motion ---------- */
.gf-reveal{opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1);}
.gf-reveal.in{opacity:1; transform:none;}
.gf-stagger > *{opacity:0; transform:translateY(20px); transition:opacity .55s ease, transform .55s cubic-bezier(.2,.7,.3,1);}
.gf-stagger.in > *{opacity:1; transform:none;}
.gf-stagger.in > *:nth-child(1){transition-delay:0s;}
.gf-stagger.in > *:nth-child(2){transition-delay:.09s;}
.gf-stagger.in > *:nth-child(3){transition-delay:.18s;}
.gf-stagger.in > *:nth-child(4){transition-delay:.27s;}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .gf-wrap{padding:0 26px;}
  .gf-hero{padding:76px 0;}
  .gf-hero-grid{grid-template-columns:1fr; gap:28px;}
  .gf-funnel-inner{grid-template-columns:1fr; padding:0;}
  .gf-rail{display:none;}
  .gf-step{padding:76px 0;}
  .gf-step > .gf-wrap{padding-left:26px; padding-right:26px;}
  .gf-pain-grid{grid-template-columns:1fr 1fr;}
  .gf-compare{grid-template-columns:1fr;}
  .gf-pays-grid{grid-template-columns:1fr; gap:24px;}
}
@media (max-width:560px){
  .gf-wrap{padding:0 24px;}
  .gf-hero{padding:60px 0;}
  .gf-step{padding:64px 0;}
  .gf-step > .gf-wrap{padding-left:24px; padding-right:24px;}
  .gf-pain-grid{grid-template-columns:1fr;}
  .gf-step-head{gap:12px;}
  .gf-cta-row .gf-btn{flex:1; min-width:0;}
  .gf-checks{gap:14px;}
}

@media (prefers-reduced-motion: reduce){
  .gf-reveal,.gf-stagger > *{opacity:1 !important; transform:none !important; transition:none !important;}
  .gf-btn,.gf-tchip{transition:none !important;}
  .gf-rail-fill{transition:none !important;}
}
