:root {
  --bg: #06080d;
  --bg-2: #0b1018;
  --panel: #10161f;
  --panel-2: #141c28;
  --line: #1f2937;
  --text: #eef2f7;
  --muted: #93a1b3;
  --brand: #2572b8;
  --brand-bright: #3b97ee;
  --cyan: #18e0c8;
  --danger: #ff3b46;
  --danger-soft: #ff6b73;
  --warn: #ffb020;
  --good: #1fd286;
  --shopify: #95bf47;
  --woo: #9b5fbf;
  --adobe: #ec5b25;
  --big: #ffffff;
  --radius: 16px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; margin: 0; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--cyan); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 700; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  color: #fff; box-shadow: 0 8px 30px rgba(37,114,184,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(59,151,238,.6); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-bright); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- ALERT BAR ---------- */
.alertbar {
  position: relative; z-index: 60;
  background: linear-gradient(90deg, #2a0d10, #45131a, #2a0d10);
  border-bottom: 1px solid rgba(255,59,70,.4);
  color: #ffd9dc; font-size: .86rem; letter-spacing: .2px;
  padding: .6rem 1rem; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap;
}
.alertbar strong { color: #fff; }
.alertbar-count { color: var(--danger-soft); font-weight: 700; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 0 rgba(255,59,70,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,59,70,.6);} 70%{box-shadow:0 0 0 10px rgba(255,59,70,0);} 100%{box-shadow:0 0 0 0 rgba(255,59,70,0);} }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(6,8,13,.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .55rem; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.3rem; letter-spacing: -.5px; }
.brand-name .x { color: #fff; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: .7rem 1.25rem; font-size: .9rem; }

/* ---------- FIRST-SCREEN FOLD ---------- */
/* Hero + logo strip together fill exactly one screen (viewport minus the
   alert bar + sticky nav, whose combined height JS feeds in via --above-fold),
   so the next section never shows before the user scrolls — on any screen size. */
.fold {
  min-height: calc(100vh - var(--above-fold, 0px));
  min-height: calc(100svh - var(--above-fold, 0px));
  display: flex; flex-direction: column;
}
.fold .hero { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 2rem; padding-bottom: 2rem; }
.fold .logostrip { flex: 0 0 auto; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem,4vw,2rem) 4rem; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37,114,184,.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37,114,184,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 75%);
}
.hero-glow {
  position: absolute; top: -25%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(circle, rgba(37,114,184,.32), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.7rem; }
.hero-inner > * { width: 100%; }
.tag {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .3px;
  padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.8rem;
}
.tag-danger { background: rgba(255,59,70,.12); border: 1px solid rgba(255,59,70,.35); color: var(--danger-soft); }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 700; letter-spacing: -2px;
  margin-bottom: 0;
}
.hero h1 .strike { position: relative; color: var(--danger-soft); white-space: nowrap; }
.hero h1 .strike::after {
  content: ''; position: absolute; left: -2%; right: -2%; top: 52%; height: 6px;
  background: var(--danger); border-radius: 4px; transform: rotate(-2deg);
  box-shadow: 0 0 18px rgba(255,59,70,.8);
}
.lede { font-size: clamp(1.05rem, 2.2vw, 1.32rem); color: #d4dce6; max-width: 920px; margin: 0 auto; line-height: 1.55; }
.lede strong { color: #fff; }
.lede-lead { display: block; margin-bottom: .385rem; }
.lede-zero { display: block; margin-top: .385rem; }
.lede-2 { font-size: clamp(1rem, 2vw, 1.18rem); color: var(--muted); max-width: 720px; margin: 0 auto; line-height: 1.55; }
.lede-2 strong { color: var(--cyan); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2.4rem 0 0; }

/* EMAIL DATE (per-notice highlight) */
.email-date { background: #fff3cd; color: #92500e; border-radius: 4px; padding: 0 .35em; border: 1px dashed #d9a441; font-weight: 700; white-space: nowrap; }

/* ---------- LOGO STRIP ---------- */
.logostrip { max-width: var(--maxw); margin: 0 auto; padding: 1rem 1.5rem 3.5rem; text-align: center; }
.logostrip p { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.6rem; }
.logos { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 3vw, 2.2rem); flex-wrap: wrap; }
.logo-chip { display: inline-flex; align-items: center; height: 38px; }
.logo-chip svg { height: 100%; width: auto; }
/* Woo glyphs fill their full viewBox, so scale down to match the others' visual height */
.logo-chip[data-logo="woocommerce"] svg { height: 50%; }
.logo-chip.banned { opacity: .65; filter: grayscale(.3); position: relative; }
.logo-chip.banned::after { content: ''; position: absolute; left: -5%; right: 24%; top: 50%; height: 3px; background: var(--danger); transform: rotate(-8deg); }
.arrow { color: var(--brand-bright); font-size: 1.8rem; font-weight: 700; }

/* ---------- SECTIONS ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem,4vw,1.5rem); }
.section-dark { max-width: none; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-bright); margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 700; letter-spacing: -1px; margin-bottom: 1rem; }
.sub { color: var(--muted); font-size: clamp(1rem,2vw,1.15rem); line-height: 1.6; }

/* ---------- EMAIL CARD ---------- */
/* ── The email section: single annotation arrow in the right margin ──
   --arrow-w scales the arrow; --arrow-gap is the space between its
   arrowhead and the email image. */
.email-card-wrap { position: relative; max-width: 720px; margin: 0 auto; --arrow-w: 190px; --arrow-gap: 28px; }
.email-card { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.email-img { display: block; width: 100%; height: auto; }

.email-arrow { position: absolute; width: var(--arrow-w); height: auto; color: var(--brand-bright); pointer-events: none; z-index: 3; filter: drop-shadow(0 4px 14px rgba(59,151,238,.45)); animation: arrowFloat 4.5s ease-in-out infinite; }
.email-arrow .ea-line, .email-arrow .ea-head { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.email-arrow .ea-line { stroke-dasharray: 760; stroke-dashoffset: 760; animation: arrowDraw 1.4s ease-out .2s forwards; }
.email-arrow .ea-head { opacity: 0; animation: arrowHead .35s ease-out 1.45s forwards; }
/* sits fully to the right of the image, arrowhead pointing back at it with a gap */
.email-arrow-right { left: calc(100% + var(--arrow-gap)); bottom: calc(100% - 110px); transform: scaleX(-1); }

@keyframes arrowDraw { to { stroke-dashoffset: 0; } }
@keyframes arrowHead { to { opacity: 1; } }
@keyframes arrowFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

@media (max-width: 1180px) { .email-card-wrap { --arrow-w: 160px; --arrow-gap: 18px; } }
@media (max-width: 1040px) { .email-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .email-arrow { animation: none; }
  .email-arrow .ea-line { stroke-dashoffset: 0; animation: none; }
  .email-arrow .ea-head { opacity: 1; animation: none; }
}
.email-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1px solid #e2e8f0; background: #fff; }
.email-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--shopify); color: #fff; font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; }
.email-meta { flex: 1; min-width: 0; }
.email-from { font-size: .92rem; }
.email-to { font-size: .8rem; color: #64748b; }
.email-to span { color: var(--danger); font-weight: 700; }
.email-flag { font-size: .78rem; color: #b45309; background: #fef3c7; padding: .25rem .55rem; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.email-subject { font-weight: 800; font-size: 1.12rem; padding: 1.1rem 1.2rem .4rem; }
.email-body { padding: 0 1.2rem 1rem; font-size: .96rem; line-height: 1.6; color: #2b3648; }
.email-body p { margin: .7rem 0; }
.email-foot { padding: .8rem 1.2rem; background: #fff5f5; border-top: 1px solid #fed7d7; }
.email-tag { font-size: .76rem; color: #b91c2c; }

.email-translation { max-width: 880px; margin: 2.2rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.et-side { border-radius: 14px; padding: 1.4rem 1.5rem; border: 1px solid var(--line); background: var(--panel); }
.et-side h4 { font-size: 1.05rem; margin-bottom: .9rem; }
.et-bad { border-color: rgba(255,59,70,.3); }
.et-bad h4 { color: var(--danger-soft); }
.et-good { border-color: rgba(31,210,134,.3); }
.et-good h4 { color: var(--good); }
.et-side ul { margin: 0; padding-left: 1.1rem; color: var(--muted); line-height: 1.6; font-size: .95rem; }
.et-side li { margin: .45rem 0; }

/* ---------- STATS ---------- */
.stats { max-width: var(--maxw); margin: 0 auto; padding: 2rem clamp(1rem,4vw,1.5rem); display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.6rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.stat-num { font-family: 'Space Grotesk'; font-size: clamp(2.2rem,5vw,3.2rem); font-weight: 700; color: #fff; line-height: 1; display: inline; }
.stat-suffix { font-family: 'Space Grotesk'; font-size: 2rem; font-weight: 700; color: var(--brand-bright); }
.stat-label { display: block; margin-top: .7rem; color: var(--muted); font-size: .85rem; line-height: 1.4; }

/* ---------- PLATFORMS ---------- */
.migrate-flow { display: flex; align-items: center; justify-content: center; gap: 1.6rem; flex-wrap: wrap; }
.flow-from { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; background: var(--panel); border: 1px solid rgba(255,59,70,.3); border-radius: var(--radius); padding: 1.6rem 1.8rem; min-width: 180px; }
.flow-label { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--danger-soft); }
.flow-from .logo-chip { height: 34px; }
.flow-arrow { display: flex; align-items: center; font-size: 2.2rem; font-weight: 700; color: var(--brand-bright); }
.platforms.two { display: grid; grid-template-columns: repeat(2, minmax(240px, 340px)); gap: 1.2rem; }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.2rem; }
.pcard { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: transform .18s, border-color .2s; }
.pcard:hover { transform: translateY(-4px); }
.pcard.safe:hover { border-color: rgba(31,210,134,.5); }
.pcard.banned { opacity: .85; }
.pcard.banned:hover { border-color: rgba(255,59,70,.4); }
.pcard.featured { border-color: rgba(59,151,238,.55); box-shadow: 0 0 0 1px rgba(59,151,238,.25), 0 20px 50px rgba(37,114,184,.2); }
.ribbon { position: absolute; top: -1px; right: -1px; background: var(--brand-bright); color: #fff; font-size: .72rem; font-weight: 700; padding: .35rem .8rem; border-radius: 0 var(--radius) 0 12px; }
.pcard-logo { height: 40px; display: flex; align-items: center; }
.pcard-logo svg { height: 34px; width: auto; }
.pcard-logo[data-logo="woocommerce"] svg { height: 17px; }
.verdict { align-self: flex-start; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: .3rem .7rem; border-radius: 999px; }
.verdict-bad { background: rgba(255,59,70,.14); color: var(--danger-soft); }
.verdict-warn { background: rgba(255,176,32,.14); color: var(--warn); }
.verdict-good { background: rgba(31,210,134,.14); color: var(--good); }
.pcard p { color: var(--muted); font-size: .93rem; line-height: 1.55; }

/* ---------- STEPS ---------- */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.step { flex: 1 1 290px; max-width: 320px; min-height: 230px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; position: relative; overflow: hidden; }
.step::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(var(--brand-bright), var(--cyan)); }
.step-no { font-family: 'Space Grotesk'; font-size: 2.2rem; font-weight: 700; color: rgba(59,151,238,.4); margin-bottom: .6rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* ---------- MOVES ---------- */
.moves { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; max-width: 860px; margin: 0 auto; }
.move { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1.15rem; font-size: .92rem; font-weight: 500; }
.move::before { content: '✓ '; color: var(--good); font-weight: 800; }

/* ---------- PROOF ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.2rem; }
.proof { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; }
.proof h3 { font-size: 1.15rem; margin-bottom: .6rem; color: var(--cyan); }
.proof p { color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(3.5rem,8vw,6rem) clamp(1rem,4vw,1.5rem); }
.cta-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; background: linear-gradient(135deg, rgba(37,114,184,.14), rgba(24,224,200,.06)); border: 1px solid var(--line); border-radius: 24px; padding: clamp(2rem,5vw,3.5rem); }
.cta-copy h2 { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 2.2rem; letter-spacing: -1px; }
.cta-copy p { color: var(--muted); line-height: 1.6; margin-bottom: 1.4rem; }
.cta-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.cta-points li { padding-left: 1.8rem; position: relative; color: #d4dce6; }
.cta-points li::before { content: '✓'; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.cta-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem; }
.cta-form h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.cta-form input, .cta-form select { width: 100%; padding: .9rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-size: 1rem; font-family: inherit; }
.cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--brand-bright); box-shadow: 0 0 0 3px rgba(59,151,238,.18); }

/* ---- SURVEY (multi-step) ---- */
.survey-dots { display: flex; gap: .5rem; justify-content: center; margin-bottom: 1.6rem; }
.sdot { width: 28px; height: 5px; border-radius: 3px; background: var(--line); transition: background .25s; }
.sdot.active { background: var(--brand-bright); }
.sdot.done { background: var(--good); }
.survey-step { display: none; animation: fadeUp .35s ease; }
.survey-step.active { display: block; }
.survey-help { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: 0 0 1.2rem; }
.survey-step input { margin-bottom: 1.1rem; }
.survey-back { display: block; margin: .9rem auto 0; background: none; border: none; color: var(--muted); font-size: .85rem; cursor: pointer; font-family: inherit; }
.survey-back:hover { color: var(--text); }
.survey-err { color: var(--danger-soft); font-size: .82rem; margin-top: .7rem; text-align: center; }
.survey-confirm { color: var(--good); font-weight: 600; text-align: center; margin-top: 1rem; font-size: .9rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Hero-embedded survey: stripped of the card so it sits cleanly in the hero. */
.hero-survey { max-width: 560px; margin: 0 auto; text-align: center; background: none; border: none; padding: 0; }
.hero-survey .survey-help { text-align: center; margin-bottom: .9rem; }
/* Step 1: input + button on one line, stacking on narrow screens. */
.hero-field { display: flex; gap: .6rem; align-items: stretch; }
.hero-field input { margin-bottom: 0; flex: 1 1 auto; min-width: 0; }
.hero-field .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 560px) { .hero-field { flex-direction: column; } }
/* Later steps keep a comfortable single-column width inside the hero. */
.hero-survey .survey-step[data-step="2"],
.hero-survey .survey-step[data-step="3"] { max-width: 440px; margin: 0 auto; }

/* Little shake to nudge an empty / invalid field. */
.shake { animation: shake .4s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* ---- APPS ---- */
.apps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.appcard { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.45rem; transition: transform .18s ease, border-color .2s, box-shadow .25s; }
.appcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0; transition: opacity .25s; }
.appcard:hover { transform: translateY(-4px); border-color: rgba(24,224,200,.45); box-shadow: 0 18px 40px -18px rgba(24,224,200,.45); }
.appcard:hover::before { opacity: .9; }
.appcard-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--cyan); background: radial-gradient(120% 120% at 30% 20%, rgba(24,224,200,.22), rgba(24,224,200,.06)); border: 1px solid rgba(24,224,200,.3); box-shadow: inset 0 0 12px rgba(24,224,200,.12); margin-bottom: 1rem; transition: transform .18s ease, box-shadow .25s; }
.appcard:hover .appcard-ic { transform: scale(1.06); box-shadow: inset 0 0 12px rgba(24,224,200,.2), 0 0 18px rgba(24,224,200,.25); }
.appcard-ic svg { width: 22px; height: 22px; }
.appcard h4 { font-size: 1.04rem; margin-bottom: .4rem; }
.appcard p { color: var(--muted); font-size: .86rem; line-height: 1.45; }
@media (max-width: 920px) { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .apps-grid { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { text-align: center; padding: 3.5rem 1.5rem 3rem; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.footer-tag { color: #d4dce6; max-width: 560px; margin: 0 auto 1.2rem; line-height: 1.5; }
.footer-fine { color: #5b6b80; font-size: .78rem; max-width: 720px; margin: 0 auto 1.2rem; line-height: 1.55; }
.footer-copy { color: var(--muted); font-size: .85rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .email-translation { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .platforms.two { grid-template-columns: minmax(240px, 360px); }
  .flow-arrow { transform: rotate(90deg); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: none; }
}

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

/* ── Footer legal links + form consent ── */
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; margin: 0 auto 1.1rem; }
.footer-links a { color: var(--muted); font-size: .85rem; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--brand-bright); }
.survey-plan-link { display: block; text-align: center; margin: .9rem 0 0; color: var(--brand-bright); font-size: .9rem; font-weight: 600; text-decoration: none; }
.survey-plan-link:hover { text-decoration: underline; }
.survey-consent { color: var(--muted); font-size: .76rem; line-height: 1.5; margin: .9rem 0 0; }
.survey-consent a { color: var(--brand-bright); text-decoration: underline; }

/* ── FAQ ── */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.4rem; transition: border-color .2s; }
.faq-item[open] { border-color: rgba(59,151,238,.45); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.2rem 0; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.08rem; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--brand-bright); font-size: 1.6rem; font-weight: 400; line-height: 1; flex: none; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.3rem; }
.faq-a p { color: var(--muted); line-height: 1.65; font-size: .98rem; margin: 0; }

/* ── Legal pages (Privacy / Terms) ── */
.legal-nav { display: flex; align-items: center; justify-content: space-between; max-width: 820px; margin: 0 auto; padding: 1.4rem clamp(1rem,4vw,1.5rem); }
.legal-back { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .15s; }
.legal-back:hover { color: var(--brand-bright); }
.legal { max-width: 820px; margin: 0 auto; padding: 1rem clamp(1rem,4vw,1.5rem) 4rem; }
.legal-kicker { font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-bright); margin-bottom: .6rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -1px; margin: 0 0 .4rem; }
.legal-updated { color: var(--muted); font-size: .9rem; margin: 0 0 2.2rem; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 2.4rem 0 .8rem; color: var(--text); }
.legal p, .legal li { color: #c3cdda; line-height: 1.7; font-size: 1rem; }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.legal li { margin: .4rem 0; }
.legal a { color: var(--brand-bright); text-decoration: underline; }
.legal strong { color: var(--text); }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--line); color: #c3cdda; vertical-align: top; }
.legal-table th { background: var(--panel); color: var(--text); font-weight: 600; }
