/* ============================================================
   SOBERMARK MARKETING SITE
   Static build of the claude.ai/design project (site/index.html).
   Tokens below are copied verbatim from the Sobermark Design
   System (colors / typography / layout).
   ============================================================ */

/* ---------- COLOR TOKENS ---------- */
:root {
  --blue-50:  #eef4ff;
  --blue-100: #dbe7ff;
  --blue-200: #bcd2ff;
  --blue-300: #8fb4ff;
  --blue-400: #5a8dff;
  --blue-500: #0067ff;   /* PRIMARY — Sobermark Blue */
  --blue-600: #0055db;
  --blue-700: #0045b0;
  --blue-800: #063a8c;
  --blue-900: #0a2472;   /* deep navy — headings */
  --blue-950: #061a54;

  --bern-blue:      #3f6fc8;
  --bern-blue-dark: #2c4f96;

  --cream-50:  #fdf8ef;
  --cream-100: #f9edd6;
  --cream-200: #f4d9ae;
  --cream-300: #ecc383;
  --amber-500: #f2a63c;

  --white:    #ffffff;
  --slate-25: #f7f9fe;
  --slate-50: #eef2fb;
  --slate-100:#e2e9f7;
  --slate-200:#d0dcf1;
  --slate-300:#b3c3e0;
  --slate-400:#8598bd;
  --slate-500:#5f7095;
  --slate-600:#455579;
  --slate-700:#31405f;
  --slate-800:#1f2c47;
  --slate-900:#131d33;

  --success:      #1f9d5b;
  --success-soft: #e3f5ea;
  --warning:      #e08a1e;
  --warning-soft: #fcf0dc;
  --danger:       #dc4b3e;
  --danger-soft:  #fbe6e3;

  --bg-page:     #eaf0fe;
  --bg-page-top: #f2f6ff;
  --text-body:   var(--slate-700);
  --border-subtle:  var(--slate-100);
  --border-default: var(--slate-200);
  --focus-ring: rgba(0, 103, 255, 0.45);

  /* ---------- TYPE ---------- */
  --font-hero: 'Google Sans', 'Figtree', system-ui, sans-serif;
  --font-sans: 'Google Sans', 'Figtree', system-ui, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, 'SF Mono', monospace;

  /* ---------- RADII / SHADOWS / MOTION ---------- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-2xl: 40px;
  --radius-pill: 999px;

  --shadow-xs:  0 1px 2px rgba(10, 36, 114, 0.06);
  --shadow-sm:  0 2px 8px rgba(10, 36, 114, 0.07);
  --shadow-md:  0 8px 24px rgba(10, 36, 114, 0.09);
  --shadow-lg:  0 18px 44px rgba(10, 36, 114, 0.12);
  --shadow-xl:  0 30px 70px rgba(10, 36, 114, 0.16);
  --shadow-brand: 0 10px 28px rgba(0, 103, 255, 0.30);

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
}

/* ---------- FONTS ---------- */
/* Real Google Sans (OFL release), self-hosted variable font. wght axis is
   400–700, so nothing on the site may ask for more than 700. */
@font-face {
  font-family: 'Google Sans';
  src: url('../fonts/GoogleSans-VF.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---------- LARGE-SCREEN SCALING ----------
   The layout is tuned for ~1400-1600px laptop viewports; on QHD/4K
   monitors at 100% browser zoom it sat small in a sea of margin. Scale
   the whole page up in steps, the same way browser zoom would. */
@media (min-width: 1720px) { html { zoom: 1.1; } }
@media (min-width: 1960px) { html { zoom: 1.25; } }
@media (min-width: 2400px) { html { zoom: 1.4; } }
@media (min-width: 3000px) { html { zoom: 1.65; } }
@media (min-width: 3600px) { html { zoom: 2; } }
body {
  margin: 0;
  background: linear-gradient(to bottom, var(--bg-page-top) 0%, var(--bg-page) 100%);
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-600); }
a:hover { color: var(--blue-700); }
img { max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, dt { margin: 0; }
.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- BUTTONS / BADGES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-sans); font-weight: 600; line-height: 1; letter-spacing: -0.015em;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: all var(--dur-base) var(--ease-out);
}
.btn-sm { font-size: 14px; padding: 9px 16px; }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; line-height: 1; letter-spacing: 0.02em;
  padding: 5px 11px; border-radius: var(--radius-pill); white-space: nowrap;
}
.badge-brand { background: var(--blue-50); color: var(--blue-600); }
.badge-streak { background: var(--cream-100); color: var(--amber-500); }

/* ---------- NAV ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background var(--dur-base), border-color var(--dur-base);
}
.nav-wrap.is-scrolled {
  background: rgba(242, 246, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-subtle);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px; max-width: 1240px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue-500);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 103, 255, 0.28); flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.brand-word { font-family: var(--font-hero); font-weight: 500; font-size: 24.5px; letter-spacing: -0.02em; color: var(--blue-500); }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a { font-size: 16px; font-weight: 600; text-decoration: none; color: var(--slate-600); }
.nav-links a:hover { color: var(--blue-600); }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding-bottom: 44px; }
.hero-bg {
  /* The plate art has a transparent feathered border baked in — oversize the
     box so that border falls outside the viewport at any width. */
  position: absolute; left: -6%; right: -6%; bottom: -48px; height: 660px; z-index: 0;
  background-image: url(../assets/bg-plate-05.webp);
  background-size: cover; background-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 44%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 44%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 30px 20px 0; max-width: 1240px; margin: 0 auto; }
.hero-inner > .badge { margin-bottom: 22px; }

/* Hero phones — the app itself, flanking the headline on a slight bevel.
   Hidden below 1200px so they never crowd the title. */
.hero-phone {
  position: absolute; z-index: 1; top: 96px;
  width: clamp(250px, 21vw, 320px);
  padding: 10px; border-radius: 40px;
  background: linear-gradient(155deg, #10193c 0%, #060b20 100%);
  box-shadow:
    0 2px 0 1px rgba(255,255,255,0.06) inset,
    0 46px 90px -28px rgba(9, 20, 58, 0.55),
    0 18px 40px -18px rgba(9, 20, 58, 0.35);
}
.hero-phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
.hero-phone-left {
  /* Anchored to the content column, not the viewport edge, so ultrawide
     monitors don't strand the phones in the corners. */
  left: max(20px, calc(50% - min(46vw, 730px)));
  transform: perspective(1400px) rotateY(10deg) rotate(-6.5deg);
}
.hero-phone-right {
  right: max(20px, calc(50% - min(46vw, 730px)));
  transform: perspective(1400px) rotateY(-10deg) rotate(6.5deg);
}
@media (max-width: 1200px) { .hero-phone { display: none; } }
.hero-title {
  font-family: var(--font-hero); font-weight: 700;
  font-size: clamp(64px, 9vw, 120px); line-height: 0.9; letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.hero-title span { display: block; }
.hero-title-a { color: var(--blue-500); }
.hero-title-b { color: var(--blue-900); }
.hero-sub {
  font-size: 22px; line-height: 1.5; font-weight: 500; color: var(--slate-600);
  max-width: 560px; margin: 0 auto 30px;
}

.store-row { display: flex; gap: 16px; justify-content: center; margin-bottom: 4px; flex-wrap: wrap; }
.store-row-left { justify-content: flex-start; gap: 14px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--blue-900); border: 1px solid var(--blue-900);
  border-radius: var(--radius-md); padding: 11px 22px; text-decoration: none;
  box-shadow: var(--shadow-sm); min-width: 170px;
  transition: all var(--dur-base) var(--ease-out);
}
.store-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.store-logo { color: #fff; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-kicker { font-size: 11px; color: rgba(255,255,255,0.7); }
.store-name { font-size: 18px; font-weight: 700; color: #fff; font-family: var(--font-hero); }

.hero-stage { position: relative; display: inline-block; }
.hero-bern { height: 348px; width: auto; margin-top: 8px; filter: drop-shadow(0 24px 34px rgba(10, 36, 114, 0.18)); }

.float-chip {
  position: absolute; z-index: 5;
  background: #fff; border-radius: var(--radius-lg); padding: 16px 22px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 14px; text-align: left;
}
.chip-days { top: 40px; right: calc(50% - 320px); }
.chip-saved { bottom: 120px; left: calc(50% - 340px); }
.chip-icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.chip-icon-flame { background: var(--cream-100); color: var(--amber-500); }
.chip-icon-coins { background: var(--success-soft); color: var(--success); }
.chip-body { display: flex; flex-direction: column; }
.chip-num { font-family: var(--font-mono); font-size: 30px; font-weight: 600; color: var(--blue-900); line-height: 1; }
.chip-label { font-size: 13px; color: var(--slate-500); margin-top: 3px; }

.feature-bar-wrap { position: relative; margin-top: -26px; padding: 0 40px; z-index: 4; }
.feature-bar {
  list-style: none; margin: 0 auto; padding: 16px 34px; max-width: 940px;
  display: flex; align-items: center; justify-content: space-around; gap: 8px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
}
.feature-bar li { display: flex; align-items: center; gap: 13px; font-size: 16px; font-weight: 600; color: var(--blue-900); }
.fb-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-50); color: var(--blue-500); display: flex; align-items: center; justify-content: center; }
.fb-divider { width: 1px; height: 32px; background: var(--border-default); flex: none; }

/* ---------- SECTIONS ---------- */
.section { max-width: 1160px; margin: 0 auto; padding: 88px 40px 40px; }
#how { padding-top: 104px; padding-bottom: 48px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto; }
.section-head-left { text-align: left; max-width: none; margin: 0; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-hero); font-weight: 700;
  font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.025em; line-height: 1.05;
  color: var(--blue-900);
}
.section-sub { font-size: 18px; line-height: 1.6; font-weight: 450; color: var(--slate-600); margin: 18px auto 0; max-width: 560px; }
.section-head-left .section-sub { margin-left: 0; }

/* ---------- HOW IT WORKS ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.card {
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.step-icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg); background: var(--blue-50);
  color: var(--blue-500); display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.step-num { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--slate-400); margin-bottom: 8px; }
.step-card h3 { font-family: var(--font-hero); font-weight: 700; font-size: 23px; color: var(--blue-900); margin: 0 0 10px; }
.step-card p { font-size: 16px; line-height: 1.55; }

/* ---------- FEATURE DEEP-DIVE ---------- */
.deep-dive { padding-top: 80px; display: flex; flex-direction: column; gap: 88px; }
.dd-row { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.dd-media, .dd-text { flex: 1 1 0; min-width: min(100%, 340px); }
.dd-media {
  border-radius: var(--radius-2xl); padding: 34px; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.dd-media::before {
  content: ''; position: absolute; inset: 0;
  background-image: url(../assets/bg-plate-02.webp); background-size: cover; background-position: center;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000);
  mask-image: linear-gradient(to bottom, transparent, #000);
}
.dd-media-blue { background: var(--blue-50); }
.dd-media-cream { background: var(--cream-50); }
.dd-media img { height: 320px; width: auto; position: relative; filter: drop-shadow(0 20px 30px rgba(10, 36, 114, 0.2)); }
.dd-text > * { max-width: 460px; }
.dd-text h3 {
  font-family: var(--font-hero); font-weight: 700;
  font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; line-height: 1.08;
  color: var(--blue-900); margin: 0 0 16px;
}
.dd-body { font-size: 17px; line-height: 1.6; margin: 0 0 22px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--slate-700); }
.check-dot {
  width: 24px; height: 24px; border-radius: 50%; background: var(--success-soft); color: var(--success);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.check-dot .icon { stroke-width: 2.6; }

/* ---------- MILESTONES ---------- */
.milestone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.ms-tile {
  position: relative; border-radius: var(--radius-xl); padding: 30px 30px 32px;
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-subtle);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  outline: none;
}
.ms-tile:hover, .ms-tile:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ms-blue { background: var(--blue-50); }
.ms-cream { background: var(--cream-50); }
.ms-green { background: var(--success-soft); }
.ms-dark { background: var(--blue-500); border-color: transparent; }
.ms-orb {
  position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-xs);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-bounce);
}
.ms-tile:hover .ms-orb, .ms-tile:focus-visible .ms-orb { transform: scale(1.08) rotate(-6deg); }
.ms-dark .ms-orb { background: rgba(255,255,255,0.16); box-shadow: none; }
.ms-blue .ms-orb { color: var(--blue-500); }
.ms-cream .ms-orb { color: var(--amber-500); }
.ms-green .ms-orb { color: var(--success); }
.ms-dark .ms-orb { color: #fff; }
.ms-big { display: block; font-family: var(--font-hero); font-weight: 700; font-size: 56px; letter-spacing: -0.03em; line-height: 1; }
.ms-blue .ms-big { color: var(--blue-500); }
.ms-cream .ms-big { color: var(--amber-500); }
.ms-green .ms-big { color: var(--success); }
.ms-dark .ms-big { color: #fff; }
.ms-label { display: block; font-family: var(--font-hero); font-weight: 700; font-size: 20px; color: var(--blue-900); margin-top: 14px; }
.ms-dark .ms-label { color: #fff; }
.ms-note {
  display: block; font-size: 15px; line-height: 1.5; color: var(--slate-600);
  max-height: 0; opacity: 0; margin-top: 0; overflow: hidden;
  transition: all var(--dur-slow) var(--ease-out);
}
.ms-dark .ms-note { color: rgba(255,255,255,0.85); }
.ms-tile:hover .ms-note, .ms-tile:focus-visible .ms-note { max-height: 60px; opacity: 1; margin-top: 8px; }

/* ---------- SAVINGS CALCULATOR ---------- */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sliders { margin-top: 34px; display: flex; flex-direction: column; gap: 30px; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.slider-head label { font-size: 16px; font-weight: 600; color: var(--slate-700); }
.slider-head output { font-family: var(--font-mono); font-size: 20px; font-weight: 600; color: var(--blue-600); }
input[type=range] {
  width: 100%; height: 8px; border-radius: 999px; appearance: none; -webkit-appearance: none;
  cursor: pointer; background: linear-gradient(to right, var(--blue-500) 20%, var(--slate-200) 20%);
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue-500); box-shadow: var(--shadow-sm); cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue-500); box-shadow: var(--shadow-sm); cursor: pointer;
}
input[type=range]:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.calc-card {
  background: var(--blue-500); border-radius: var(--radius-2xl);
  padding: 44px 44px 40px; box-shadow: var(--shadow-brand); color: #fff;
}
.calc-kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.calc-yearly { font-family: var(--font-hero); font-weight: 700; font-size: clamp(52px, 7vw, 76px); letter-spacing: -0.03em; line-height: 1; margin: 10px 0 4px; }
.calc-weekly { font-size: 16px; color: rgba(255,255,255,0.82); }
.calc-rule { height: 1px; background: rgba(255,255,255,0.2); margin: 28px 0; }
.calc-splits { display: flex; gap: 28px; }
.calc-split-rule { width: 1px; background: rgba(255,255,255,0.2); }
.calc-split-num { font-family: var(--font-hero); font-weight: 700; font-size: 34px; line-height: 1; }
.calc-split-label { font-size: 14px; color: rgba(255,255,255,0.78); margin-top: 6px; }

/* ---------- BERN COMPANION ---------- */
.bern-panel {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; align-items: stretch;
  background: var(--cream-50); border: 1px solid var(--cream-100);
  border-radius: var(--radius-2xl); overflow: hidden;
}
.bern-stage {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  padding: 40px 20px 0; min-height: 420px;
}
.bern-stage::before {
  content: ''; position: absolute; inset: 0;
  background-image: url(../assets/bg-plate-03.webp); background-size: cover; background-position: center;
  opacity: 0.28;
}
.bern-stage img { height: 400px; width: auto; position: relative; filter: drop-shadow(0 20px 30px rgba(10, 36, 114, 0.18)); }
.bern-copy { padding: 52px 52px 52px 24px; display: flex; flex-direction: column; justify-content: center; }
.bern-copy h2 {
  font-family: var(--font-hero); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; line-height: 1.08;
  color: var(--blue-900); margin: 0 0 16px;
}
.bern-body { font-size: 17px; line-height: 1.6; margin: 0 0 26px; max-width: 460px; }
.bern-lines { display: flex; flex-direction: column; gap: 10px; }
.bern-line {
  text-align: left; cursor: pointer; font-family: var(--font-sans);
  border: 1px solid transparent; background: rgba(255,255,255,0.55);
  border-radius: var(--radius-lg); padding: 16px 20px;
  transition: all var(--dur-base) var(--ease-out);
}
.bern-line.is-active { border-color: var(--blue-200); background: #fff; box-shadow: var(--shadow-sm); }
.bl-q { display: block; font-family: var(--font-hero); font-weight: 700; font-size: 16px; color: var(--blue-900); }
.bl-a {
  display: block; font-size: 15px; line-height: 1.5; color: var(--slate-600);
  max-height: 0; opacity: 0; margin-top: 0; overflow: hidden;
  transition: all var(--dur-slow) var(--ease-out);
}
.bern-line.is-active .bl-a { max-height: 80px; opacity: 1; margin-top: 6px; }

/* ---------- STAT BAND ---------- */
.stat-section { margin-top: 80px; padding-top: 0; padding-bottom: 0; }
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: var(--blue-900); border-radius: var(--radius-2xl);
  padding: 52px 40px; box-shadow: var(--shadow-lg);
}
.stat { text-align: center; }
.stat dd { font-family: var(--font-hero); font-weight: 700; font-size: 46px; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.stat dt { font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-section { max-width: 820px; padding-top: 96px; }
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow var(--dur-base);
}
.faq-item.is-open { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; background: transparent; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-hero); font-weight: 700; font-size: 18px; color: var(--blue-900);
}
.faq-toggle {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-base) var(--ease-out);
}
.faq-toggle .icon { transition: transform var(--dur-base) var(--ease-out); }
.faq-item.is-open .faq-toggle { background: var(--blue-500); color: #fff; }
.faq-item.is-open .faq-toggle .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; opacity: 0; overflow: hidden; transition: all var(--dur-slow) var(--ease-out); }
.faq-item.is-open .faq-a { max-height: 200px; opacity: 1; }
.faq-a p { font-size: 16px; line-height: 1.6; padding: 0 26px 24px; }

/* ---------- DOWNLOAD CTA ---------- */
.cta-section { padding-top: 96px; padding-bottom: 0; }
.cta-panel {
  position: relative; display: flex; align-items: flex-end; gap: 40px; flex-wrap: wrap;
  background: var(--blue-500); border-radius: var(--radius-2xl);
  padding: 52px 60px 0; overflow: hidden; box-shadow: var(--shadow-brand);
}
.cta-panel::before {
  content: ''; position: absolute; inset: 0;
  background-image: url(../assets/bg-plate-03.webp); background-size: cover; background-position: center;
  opacity: 0.18; mix-blend-mode: luminosity;
}
.cta-bern { height: 300px; width: auto; position: relative; filter: drop-shadow(0 18px 26px rgba(6, 26, 84, 0.3)); }
.cta-copy { position: relative; padding-bottom: 56px; flex: 1 1 340px; }
.cta-copy h2 {
  font-family: var(--font-hero); font-weight: 700;
  font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.025em; line-height: 1.05;
  color: #fff; margin: 0 0 14px;
}
.cta-copy p { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.9); margin: 0 0 26px; max-width: 440px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--blue-950); margin-top: 96px; padding: 72px 40px 40px; }
.footer-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer-mark {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.footer-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.footer-word { font-family: var(--font-hero); font-weight: 500; font-size: 24px; color: #fff; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--slate-300); max-width: 280px; margin: 0 0 20px; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate-400); margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 15px; color: var(--slate-200); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1160px; margin: 56px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 14px; color: var(--slate-400);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .milestone-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: 1fr; }
  .bern-panel { grid-template-columns: 1fr; }
  .bern-copy { padding: 8px 32px 40px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .section { padding-left: 20px; padding-right: 20px; }
  .float-chip { display: none; }
  .feature-bar-wrap { padding: 0 20px; }
  .feature-bar { flex-direction: column; align-items: flex-start; gap: 14px; border-radius: var(--radius-xl); }
  .fb-divider { display: none; }
  .hero-bern { height: 260px; }
  .milestone-grid { grid-template-columns: 1fr; }
  .ms-note { max-height: none; opacity: 1; margin-top: 8px; } /* always show notes on touch layouts */
  .cta-panel { padding: 40px 28px 0; }
  .cta-bern { order: 2; margin: 0 auto; }
  .footer { padding: 56px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
