/* ============================================================
   Founder Freedom Systems — marketing site
   Tokens, layout, components, motion, responsive.
   ============================================================ */

:root {
  /* Colors */
  --bg-off-white: #FAFAF8;
  --bg-cool: #F6F7FB;
  --surface-white: #FFFFFF;
  --ink-900: #121826;
  --ink-950: #0E1320;
  --gray-500: #6F7683;
  --accent-blue: #3B5EFF;
  --accent-blue-deep: #2A45D6;
  --accent-blue-light: #5B79FF;
  --accent-blue-soft: #6C8BFF;
  --accent-blue-pale: #9FB4FF;
  --success-green: #1F9D55;
  --warn-coral: #FF7A6E;
  --warn-coral-deep: #E5483B;
  --star-gold: #F5B731;

  /* Easing */
  --ease-std: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-off-white);
  color: var(--ink-900);
  overflow-x: hidden;
}
::selection { background: rgba(59, 94, 255, .18); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

/* ---------------- Keyframes ---------------- */
@keyframes ffFloatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes ffFloatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes ffFloatC { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ffDraw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes ffRipple { 0% { r: 6; opacity: .55; } 100% { r: 26; opacity: 0; } }
@keyframes ffNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@keyframes ffZoom { 0% { transform: scale(1.04); } 100% { transform: scale(1.12); } }
@keyframes ffGlow { 0%, 100% { opacity: .5; } 50% { opacity: .9; } }
@keyframes ffDrift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(70px, 46px) scale(1.14); } }
@keyframes ffDrift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-56px, -42px) scale(1.1); } }

/* ---------------- Layout primitives ---------------- */
.section { position: relative; padding: 130px 44px; overflow: hidden; }
.container,
.container--narrow,
.container--mid,
.container--wide { position: relative; z-index: 2; margin: 0 auto; }
.container { max-width: 1200px; }
.container--narrow { max-width: 1080px; }
.container--mid { max-width: 1100px; }
.container--wide { max-width: 1180px; }
.center { text-align: center; }

.eyebrow {
  font-weight: 600; font-size: 13px; letter-spacing: .18em;
  color: var(--accent-blue); margin-bottom: 22px;
  transition: letter-spacing .45s var(--ease-std);
  cursor: default;
}
.eyebrow:hover { letter-spacing: .28em; }
.eyebrow--center { text-align: center; }
.eyebrow--dot { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow--dot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-blue); box-shadow: 0 0 0 4px rgba(59, 94, 255, .16); }

h1, .h1 { font-size: 68px; line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
h2, .h2 { font-size: 50px; line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
h3, .h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 19px; line-height: 1.55; color: var(--gray-500); font-weight: 400; }
.blue { color: var(--accent-blue); }
.coral { color: var(--warn-coral); }
.pale { color: var(--accent-blue-pale); }

/* ---------------- Buttons ---------------- */
.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-family: inherit; transition: transform .3s var(--ease-spring), box-shadow .3s, background .3s, border-color .3s, color .2s; }
.btn-primary {
  background: var(--accent-blue); color: #fff; font-weight: 700; font-size: 16px;
  letter-spacing: .01em; padding: 18px 30px; border-radius: 14px;
  box-shadow: 0 18px 40px -14px rgba(59, 94, 255, .7);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 28px 56px -14px rgba(59, 94, 255, .85); }
.btn-primary:active { transform: scale(.97); }
.btn-secondary {
  gap: 11px; color: var(--ink-900); font-weight: 600; font-size: 16px;
  padding: 17px 24px; border-radius: 14px;
  border: 1px solid rgba(18, 24, 38, .16); background: rgba(255, 255, 255, .6);
  transition: transform .3s var(--ease-std), background .3s, border-color .3s;
}
.btn-secondary:hover { transform: translateY(-2px); background: rgba(59, 94, 255, .06); border-color: rgba(59, 94, 255, .4); }
.btn-secondary .chevron {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  animation: ffNudge 2.2s ease-in-out infinite;
}
.btn-secondary.on-dark { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn-secondary.on-dark .chevron { background: #fff; }

/* ---------------- Header ---------------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 44px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(250, 250, 248, .7);
  border-bottom: 1px solid rgba(18, 24, 38, .06);
}
.logo { text-decoration: none; color: var(--ink-900); display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.logo .line1 { font-weight: 700; font-size: 18px; letter-spacing: .14em; }
.logo .line2 { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 11px; letter-spacing: .46em; color: var(--gray-500); }
.logo .line2 .rule { width: 26px; height: 1px; background: var(--ink-900); display: inline-block; }
header nav { display: flex; align-items: center; gap: 38px; }
header nav a { position: relative; text-decoration: none; color: var(--ink-900); font-weight: 500; font-size: 14px; letter-spacing: .02em; transition: color .2s; }
header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--accent-blue); border-radius: 2px; transition: right .28s var(--ease-std); }
header nav a:hover { color: var(--accent-blue); }
header nav a:hover::after { right: 0; }
.btn-header { background: var(--accent-blue); color: #fff; font-weight: 600; font-size: 13.5px; letter-spacing: .04em; padding: 12px 22px; border-radius: 12px; box-shadow: 0 12px 28px -10px rgba(59, 94, 255, .7); text-decoration: none; }

/* ---------------- Hero ---------------- */
.hero { min-height: 980px; background: radial-gradient(120% 90% at 78% 8%, #F6F7FB 0%, #FAFAF8 55%); padding: 148px 44px 70px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-glow { position: absolute; top: -120px; right: -80px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 94, 255, .10), rgba(59, 94, 255, 0) 70%); filter: blur(10px); z-index: 0; animation: ffGlow 9s ease-in-out infinite; }

.hero-toggle {
  position: absolute; top: 104px; left: 50%; transform: translateX(-50%); z-index: 30;
  display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px);
  border: 1px solid rgba(18, 24, 38, .08); box-shadow: 0 10px 30px -14px rgba(18, 24, 38, .25);
}
.hero-toggle button { border: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 12.5px; letter-spacing: .04em; padding: 8px 18px; border-radius: 999px; transition: all .3s; color: var(--gray-500); background: transparent; }
.hero-toggle button.active { color: #fff; background: var(--accent-blue); }

.hero-treatment { display: none; }
.hero-treatment.active { display: block; }

/* Split */
.hero-split { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 52% 48%; align-items: center; gap: 24px; min-height: 720px; }
.hero-copy { max-width: 580px; }
.hero-copy h1 { margin: 0 0 24px; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy .lead { font-size: 20px; margin: 0 0 38px; max-width: 500px; }
.hero-btn-row { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; color: var(--gray-500); font-size: 14px; font-weight: 500; }
.trust-row span.item { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .check { color: var(--accent-blue); }

.hero-stage { position: relative; height: 660px; }
.hero-stage-inner { position: relative; width: 520px; height: 640px; margin: 0 auto; }
.photo-glow { position: absolute; left: 40px; top: 34px; width: 440px; height: 550px; border-radius: 30px; background: radial-gradient(circle at 52% 58%, rgba(59, 94, 255, .28), transparent 70%); filter: blur(36px); z-index: 0; }
.photo-panel { position: absolute; left: 30px; top: 32px; width: 460px; height: 575px; border-radius: 26px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(18, 24, 38, .5); z-index: 1; }
.photo-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-panel .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 24, 38, 0) 62%, rgba(18, 24, 38, .14)); }
.connectors { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; overflow: visible; }

/* Glass cards */
.ff-glass {
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 24px 60px -24px rgba(18, 24, 38, .32), 0 2px 8px -2px rgba(18, 24, 38, .08);
  border-radius: 18px; padding: 15px 16px;
}
.ff-glass .row1 { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.ff-glass .chip { width: 34px; height: 34px; border-radius: 10px; background: rgba(59, 94, 255, .12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ff-glass .title { font-weight: 700; font-size: 13.5px; }
.ff-glass .sub { font-size: 11.5px; color: var(--gray-500); }
.ff-glass .row2 { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--gray-500); }
.ff-glass .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--success-green); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; flex-shrink: 0; }

.hero-stage .gc1 { position: absolute; top: 14px; left: -34px; width: 208px; animation: ffFloatA 7s ease-in-out infinite; z-index: 8; }
.hero-stage .gc2 { position: absolute; top: 34px; left: 330px; width: 212px; animation: ffFloatB 8s ease-in-out infinite .6s; z-index: 8; }
.hero-stage .gc3 { position: absolute; top: 496px; left: -34px; width: 214px; animation: ffFloatC 7.5s ease-in-out infinite .3s; z-index: 8; }
.hero-stage .gc4 { position: absolute; top: 520px; left: 328px; width: 210px; animation: ffFloatA 8.5s ease-in-out infinite .9s; z-index: 8; }

/* Cinematic */
.hero-cine { position: relative; z-index: 10; max-width: 1320px; margin: 0 auto; height: 740px; border-radius: 32px; overflow: hidden; box-shadow: 0 60px 120px -50px rgba(18, 24, 38, .55); }
.hero-cine .bg { position: absolute; inset: -30px; z-index: 0; animation: ffZoom 20s ease-in-out infinite alternate; }
.hero-cine .bg-img { width: 100%; height: 100%; background: url('./assets/hero-owner.jpg') no-repeat center center; background-size: cover; }
.hero-cine .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(10, 15, 30, .86) 0%, rgba(10, 15, 30, .6) 38%, rgba(10, 15, 30, .15) 70%, rgba(10, 15, 30, .35) 100%); }
.hero-cine canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.hero-cine .cine-copy { position: absolute; left: 64px; top: 50%; transform: translateY(-50%); z-index: 5; max-width: 620px; }
.hero-cine .cine-copy .eyebrow { color: var(--accent-blue-pale); }
.hero-cine .cine-copy .eyebrow .dot { background: var(--accent-blue-soft); box-shadow: 0 0 0 4px rgba(108, 139, 255, .2); }
.hero-cine .cine-copy h1 { font-size: 72px; line-height: 1.0; margin: 0 0 26px; color: #fff; }
.hero-cine .cine-copy .lead { font-size: 20px; color: rgba(255, 255, 255, .78); margin: 0 0 38px; max-width: 480px; }
.hero-cine .gc-a { position: absolute; top: 80px; right: 70px; width: 236px; z-index: 6; animation: ffFloatB 8s ease-in-out infinite; }
.hero-cine .gc-b { position: absolute; bottom: 90px; right: 120px; width: 224px; z-index: 6; animation: ffFloatC 7.5s ease-in-out infinite .5s; }

/* ---------------- Generic dark/light section variants ---------------- */
.bg-ink { background: var(--ink-900); }
.bg-darkest { background: var(--ink-950); }
.bg-white { background: var(--surface-white); }
.bg-cool { background: var(--bg-cool); }
.bg-offwhite { background: var(--bg-off-white); }

/* Value props (dark) */
.dark-eyebrow { text-align: center; font-weight: 600; font-size: 14px; letter-spacing: .16em; color: rgba(255, 255, 255, .5); margin: 0 0 52px; }
.valueprops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.valueprop { display: flex; flex-direction: column; gap: 14px; }
.valueprop .vp-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(108, 139, 255, .16); display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease-spring); }
.valueprop:hover .vp-icon { transform: translateY(-5px) scale(1.12) rotate(-5deg); }
.valueprop .vp-title { font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--accent-blue-pale); line-height: 1.2; }
.valueprop p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .6); }

/* Industries */
.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 60px; color: var(--ink-900); }
.industry { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .04em; transition: transform .3s var(--ease-std), color .3s; cursor: default; }
.industry:hover { transform: translateY(-4px); color: var(--accent-blue); }
.divider { width: 100%; max-width: 560px; height: 1px; background: rgba(18, 24, 38, .1); margin: 48px auto; }
.tech-expert { display: flex; align-items: center; justify-content: center; gap: 24px; text-align: left; }
.tech-expert .shield { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid rgba(59, 94, 255, .35); background: rgba(59, 94, 255, .06); display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease-spring); }
.tech-expert:hover .shield { transform: scale(1.1) rotate(-6deg); }
.tech-expert .te-title { font-weight: 700; font-size: 18px; letter-spacing: .04em; color: var(--ink-900); margin-bottom: 8px; }
.tech-expert p { font-size: 14.5px; line-height: 1.55; color: var(--gray-500); max-width: 460px; }

/* Problem */
.problem-glow { position: absolute; top: -100px; left: -60px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 80, .1), transparent 70%); z-index: 0; }
.problem h2 { color: #fff; max-width: 880px; margin-bottom: 16px; font-size: 52px; }
.problem .lead { color: rgba(255, 255, 255, .6); margin-bottom: 56px; max-width: 620px; }
.problem .eyebrow { color: var(--warn-coral); margin-bottom: 24px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-box {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px;
  padding: 26px; color: rgba(255, 255, 255, .88); font-size: 16.5px; font-weight: 500;
  display: flex; align-items: center; gap: 14px;
  transition: transform .3s var(--ease-std), background .3s, border-color .3s, box-shadow .3s;
}
.problem-box:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 122, 110, .5); box-shadow: 0 18px 44px -22px rgba(255, 122, 110, .42); }
.problem-box .arrow { color: var(--warn-coral); font-size: 22px; transition: transform .3s var(--ease-std); display: inline-block; }
.problem-box:hover .arrow { transform: translateX(7px); }
.problem-closing { margin: 56px 0 0; font-size: 24px; font-weight: 600; color: #fff; letter-spacing: -.01em; max-width: 760px; line-height: 1.4; }

/* Cost cards */
.cost h2 { font-size: 48px; margin-bottom: 12px; max-width: 760px; }
.cost .lead { font-size: 18px; margin-bottom: 56px; max-width: 560px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cost-card { background: #fff; border: 1px solid rgba(18, 24, 38, .07); border-radius: 20px; padding: 30px; box-shadow: 0 30px 60px -45px rgba(18, 24, 38, .3); }
.cost-card .emoji { font-size: 30px; margin-bottom: 14px; }
.cost-card .ct { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.cost-card p { color: var(--gray-500); font-size: 14.5px; line-height: 1.55; }

/* Solution */
.solution h2 { font-size: 54px; line-height: 1.06; margin: 0 auto 20px; max-width: 840px; }
.solution .lead { margin: 0 auto 60px; max-width: 620px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.solution-card { background: #fff; border: 1px solid rgba(18, 24, 38, .06); border-radius: 18px; padding: 26px 18px; box-shadow: 0 30px 60px -48px rgba(18, 24, 38, .3); }
.solution-card .sc-icon { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 12px; background: rgba(59, 94, 255, .1); display: flex; align-items: center; justify-content: center; }
.solution-card .sc-label { font-weight: 600; font-size: 14.5px; line-height: 1.3; }

/* Steps (what we do) */
.steps h2 { font-size: 52px; line-height: 1.06; margin: 0 0 64px; max-width: 680px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.step-card { background: #fff; border: 1px solid rgba(18, 24, 38, .07); border-radius: 24px; padding: 38px 34px; box-shadow: 0 40px 70px -48px rgba(18, 24, 38, .35); }
.step-card.dark { background: var(--ink-900); box-shadow: 0 50px 80px -44px rgba(18, 24, 38, .6); transform: translateY(-14px); }
.step-label { font-size: 14px; font-weight: 700; color: var(--accent-blue); letter-spacing: .1em; margin-bottom: 24px; transition: transform .3s var(--ease-std); display: inline-block; }
.step-card.dark .step-label { color: var(--accent-blue-pale); }
.step-card:hover .step-label { transform: translateX(8px); }
.step-card h3 { font-size: 25px; margin: 0 0 18px; }
.step-card.dark h3 { color: #fff; }
.checklist { display: flex; flex-direction: column; gap: 13px; }
.checklist .ci { display: flex; gap: 11px; color: var(--gray-500); font-size: 15px; line-height: 1.5; }
.checklist .ci .ck { color: var(--accent-blue); margin-top: 2px; }
.step-card.dark .checklist .ci { color: rgba(255, 255, 255, .72); }
.step-card.dark .checklist .ci .ck { color: var(--accent-blue-pale); }

/* Results */
.results { background: linear-gradient(135deg, #2A45D6, #3B5EFF 55%, #5B79FF); }
.results-overlay { position: absolute; inset: 0; background: radial-gradient(80% 60% at 80% 10%, rgba(255, 255, 255, .14), transparent); z-index: 0; }
.results .eyebrow { color: rgba(255, 255, 255, .78); }
.results h2 { color: #fff; margin: 0 0 64px; max-width: 680px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { transition: transform .35s var(--ease-std); cursor: default; }
.stat:hover { transform: translateY(-6px) scale(1.04); }
.stat .num { font-size: 62px; font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; }
.stat .num .sm { font-size: 34px; }
.stat .num .md { font-size: 46px; }
.stat .desc { margin-top: 14px; color: rgba(255, 255, 255, .82); font-size: 15.5px; line-height: 1.5; }
.disclaimer { margin: 40px 0 0; color: rgba(255, 255, 255, .62); font-size: 13.5px; letter-spacing: .01em; }

/* Who */
.who h2 { font-size: 48px; margin: 0 auto 60px; text-align: center; max-width: 640px; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.who-card { border-radius: 24px; padding: 40px; }
.who-card.yes { background: #fff; border: 1px solid rgba(59, 94, 255, .18); box-shadow: 0 40px 70px -50px rgba(59, 94, 255, .5); }
.who-card.no { background: #F2F3F6; border: 1px solid rgba(18, 24, 38, .07); }
.who-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.who-head .badge { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.who-card.yes .who-head .badge { background: rgba(59, 94, 255, .12); color: var(--accent-blue); }
.who-card.no .who-head .badge { background: rgba(18, 24, 38, .07); color: var(--gray-500); }
.who-head h3 { margin: 0; }
.who-card.no .who-head h3 { color: var(--gray-500); }
.who-list { display: flex; flex-direction: column; gap: 16px; }
.who-list .wi { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
.who-card.yes .wi { color: var(--ink-900); }
.who-card.yes .wi .mk { color: var(--accent-blue); margin-top: 2px; }
.who-card.no .wi { color: var(--gray-500); }
.who-card.no .wi .mk { margin-top: 2px; }

/* Before / After */
.ba-head { text-align: center; margin-bottom: 64px; }
.ba-head h2 { margin: 0 auto; max-width: 620px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.ba-card { border-radius: 26px; overflow: hidden; }
.ba-card.before { border: 1px solid rgba(255, 90, 80, .2); background: #FDF4F3; }
.ba-card.after { border: 1px solid rgba(31, 157, 85, .22); background: #F1FAF5; }
.ba-photo { height: 220px; position: relative; }
.ba-photo .img { width: 100%; height: 100%; background-position: center; background-repeat: no-repeat; background-size: cover; }
.ba-card.before .ba-photo .img { background-image: url('./assets/before-week.jpg'); }
.ba-card.after .ba-photo .img { background-image: url('./assets/after-week.jpg'); }
.ba-badge { position: absolute; top: 18px; left: 18px; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .1em; padding: 7px 14px; border-radius: 999px; }
.ba-card.before .ba-badge { background: rgba(255, 90, 80, .95); }
.ba-card.after .ba-badge { background: rgba(31, 157, 85, .95); }
.ba-rows { padding: 30px; display: flex; flex-direction: column; gap: 13px; }
.ba-row { display: flex; align-items: center; justify-content: space-between; font-size: 16px; color: var(--ink-900); }
.ba-card.before .ba-row .v { font-weight: 700; color: var(--warn-coral-deep); }
.ba-card.after .ba-row .v { font-weight: 700; color: var(--success-green); }

/* Offer */
.offer-head { text-align: center; margin-bottom: 60px; }
.offer-head h2 { font-size: 50px; line-height: 1.06; margin: 0 auto 14px; max-width: 680px; }
.offer-head p { font-size: 18px; color: var(--gray-500); margin: 0 auto; max-width: 560px; line-height: 1.55; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.offer-card { background: #fff; border: 1px solid rgba(18, 24, 38, .07); border-radius: 24px; padding: 36px; box-shadow: 0 40px 70px -50px rgba(18, 24, 38, .35); position: relative; }
.offer-card .num-badge { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 22px; transition: transform .4s var(--ease-spring); }
.offer-card:hover .num-badge { transform: scale(1.28) rotate(-8deg); }
.offer-card h3 { margin: 0 0 12px; }
.offer-card p { color: var(--gray-500); font-size: 15.5px; line-height: 1.6; }
.investment { background: var(--ink-900); border-radius: 26px; padding: 46px 50px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; box-shadow: 0 50px 90px -50px rgba(18, 24, 38, .6); }
.investment .inv-eyebrow { color: var(--accent-blue-pale); font-weight: 600; font-size: 13px; letter-spacing: .16em; margin-bottom: 14px; }
.investment .inv-price { font-size: 46px; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; }
.investment p { margin: 14px 0 0; color: rgba(255, 255, 255, .62); font-size: 15px; max-width: 440px; line-height: 1.55; }
.investment .btn-primary { white-space: nowrap; padding: 18px 32px; }

/* Final CTA */
.final-cta { padding: 150px 44px; }
.final-cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.final-cta .cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 94, 255, .1), transparent 65%); z-index: 0; }
.final-cta .cta-inner { position: relative; z-index: 5; max-width: 840px; margin: 0 auto; text-align: center; }
.final-cta h2 { font-size: 60px; line-height: 1.05; letter-spacing: -.035em; margin: 0 0 24px; }
.final-cta .lead { font-size: 20px; margin: 0 auto 44px; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 40px; }
.cta-actions .btn-primary { font-size: 18px; padding: 21px 40px; border-radius: 16px; box-shadow: 0 22px 50px -16px rgba(59, 94, 255, .8); }
/* Quick-connect form */
.connect-form { width: 100%; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.connect-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.connect-label { font-weight: 700; font-size: 19px; letter-spacing: -.01em; color: var(--ink-900); margin-bottom: 2px; }
.connect-input, .connect-textarea {
  width: 100%; padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(18, 24, 38, .16); background: #fff;
  font-family: inherit; font-size: 16px; color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s;
}
.connect-textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.connect-input::placeholder, .connect-textarea::placeholder { color: #9AA0AB; }
.connect-input:focus, .connect-textarea:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 4px rgba(59, 94, 255, .14); }
.connect-submit { width: 100%; margin-top: 2px; }
.connect-note { font-size: 13px; color: var(--gray-500); }
.connect-status { font-size: 14.5px; font-weight: 600; min-height: 1.2em; }
.connect-status.success { color: var(--success-green); }
.connect-status.error { color: var(--warn-coral-deep); }

.cta-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; color: var(--gray-500); font-size: 14.5px; font-weight: 500; }
.cta-checks .item { display: inline-flex; align-items: center; gap: 8px; }
.cta-checks .check { color: var(--accent-blue); }

/* Footer */
footer { background: var(--ink-950); padding: 64px 44px 48px; }
.footer-top { max-width: 1200px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { display: flex; flex-direction: column; gap: 7px; max-width: 340px; }
.footer-brand .fl1 { font-weight: 700; font-size: 18px; letter-spacing: .14em; color: #fff; }
.footer-brand .fl2 { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 11px; letter-spacing: .46em; color: rgba(255, 255, 255, .5); }
.footer-brand .fl2 .rule { width: 26px; height: 1px; background: rgba(255, 255, 255, .5); display: inline-block; }
.footer-brand p { margin: 16px 0 0; color: rgba(255, 255, 255, .55); font-size: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col .col-head { color: rgba(255, 255, 255, .4); font-size: 12px; letter-spacing: .14em; margin-bottom: 4px; }
.footer-col a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 28px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: rgba(255, 255, 255, .4); font-size: 13px; }

/* ---------------- Reveal ---------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].revealed { opacity: 1; transform: none; transition: opacity .8s var(--ease-std), transform .8s var(--ease-std); }

/* ---------------- Tablet ---------------- */
@media (max-width: 900px) {
  header nav { display: none; }
  .grid-5, .valueprops { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------------- Mobile ---------------- */
@media (max-width: 680px) {
  header { padding: 13px 18px; }
  .logo .line1 { font-size: 15px; letter-spacing: .1em; }
  .logo .line2 { font-size: 9.5px; letter-spacing: .34em; }
  .btn-header { font-size: 12px; padding: 10px 15px; }

  .section { padding: 60px 20px; }
  footer { padding-left: 22px; padding-right: 22px; }

  h1, .h1 { font-size: clamp(32px, 9vw, 42px); line-height: 1.08; }
  h2, .h2, .problem h2, .cost h2, .solution h2, .steps h2, .who h2, .offer-head h2, .final-cta h2 { font-size: clamp(26px, 7.4vw, 34px); line-height: 1.1; }
  h3, .h3 { font-size: 20px; }

  .grid-3, .grid-5, .steps-grid, .offer-grid, .problem-grid, .who-grid, .ba-grid, .valueprops { grid-template-columns: 1fr; }
  .valueprops { gap: 22px; }
  .hero-btn-row, .cta-actions { flex-wrap: wrap; }
  .hero-btn-row > a { flex: 1 1 auto; justify-content: center; text-align: center; }

  /* Hero */
  .hero { min-height: 0; padding: 104px 20px 40px; }
  .hero-split { grid-template-columns: 1fr; min-height: 0; gap: 22px; }
  .hero-copy .lead { font-size: 17px; }
  .connectors { display: none; }
  .hero-stage { height: auto; display: flex; flex-direction: column; align-items: center; }
  .hero-stage-inner { width: 300px; height: auto; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 13px; }
  .photo-glow { display: none; }
  .photo-panel { position: static; left: auto; top: auto; width: 300px; height: 360px; }
  .hero-stage .gc1, .hero-stage .gc2, .hero-stage .gc3, .hero-stage .gc4 {
    position: static; width: 300px; max-width: 300px; margin: 0; top: auto; left: auto; animation: none;
  }

  /* Cinematic */
  .hero-cine { height: 560px; }
  .hero-cine .cine-copy { left: 24px; right: 24px; max-width: none; }
  .hero-cine .cine-copy h1 { font-size: clamp(32px, 9vw, 42px); }

  /* Results 2-up */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .stat .num { font-size: 46px; }
  .stat .num .md { font-size: 34px; }

  /* Investment + tech-expert stack */
  .investment { flex-direction: column; align-items: flex-start; gap: 26px; padding: 34px 26px; }
  .tech-expert { flex-direction: column; text-align: center; gap: 18px; }
  .industries { gap: 30px 34px; }
  .ba-photo { height: 200px; }

  .footer-top { gap: 28px; }
  .footer-cols { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}
