/* ============================================================
   Stock Tickers Today — styles
   Wise-inspired design system: lime-green CTA, sage canvas,
   Manrope (display) + Inter (body), 24px pill radius, with an
   elevated, layered glassmorphism treatment.
   ============================================================ */

:root {
  /* Brand & accent */
  --primary: #9fe870;
  --primary-active: #cdffad;
  --primary-neutral: #c5edab;
  --primary-pale: #e2f6d5;
  --on-primary: #163300;

  /* Surface */
  --canvas: #ffffff;
  --canvas-soft: #e8ebe6;

  /* Text */
  --ink: #0e0f0c;
  --ink-deep: #163300;
  --body: #454745;
  --mute: #6b6b6a;

  /* Semantic */
  --positive: #2ead4b;
  --positive-deep: #054d28;
  --negative: #d03238;
  --accent-cyan: #38c8ff;
  --accent-orange: #ffc091;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --pill: 9999px;

  /* Glass — elevated, layered */
  --glass-tint: linear-gradient(135deg, rgba(255,255,255,0.66), rgba(255,255,255,0.40));
  --glass-tint-strong: linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.60));
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-blur: saturate(180%) blur(22px);
  --glass-blur-sm: saturate(170%) blur(14px);
  --glass-highlight: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(255,255,255,0.12);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(14, 15, 12, 0.06);
  --shadow-md: 0 12px 36px -14px rgba(14, 15, 12, 0.22);
  --shadow-lg: 0 30px 70px -28px rgba(14, 15, 12, 0.32);
  --shadow-green: 0 14px 34px -12px rgba(159, 232, 112, 0.55);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------------- Reset / base ---------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--canvas-soft);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
h1, h2, h3, h4 { font-family: "Manrope", sans-serif; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r-md);
  z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 10px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

/* ---------------- Glass utilities (elevated) ---------------- */
.glass {
  background: var(--glass-tint);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), var(--glass-highlight);
}
.glass-sm {
  background: var(--glass-tint-strong);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.85);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 16px;
  padding: 14px 24px; border-radius: var(--r-xl); white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-green); }
.btn--primary:hover { background: var(--primary-active); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(159,232,112,.7); }
.btn--primary:active { transform: translateY(0); }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(232, 235, 230, 0.72);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.is-scrolled { border-bottom-color: rgba(14,15,12,.08); box-shadow: var(--shadow-sm); background: rgba(232,235,230,.85); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 4px 10px rgba(14,15,12,.18)); }
.brand__name { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.brand__accent { color: var(--ink-deep); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14px; font-weight: 600; color: var(--body); transition: color .2s; padding: 8px 0; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px; }
.nav__mobile a { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid rgba(14,15,12,.07); }
.nav__mobile .btn { margin-top: 10px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 70px 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .8; }
.blob--1 { width: 520px; height: 520px; background: var(--primary-pale); top: -120px; right: -60px; }
.blob--2 { width: 420px; height: 420px; background: rgba(159,232,112,.45); top: 180px; left: -120px; }
.blob--3 { width: 360px; height: 360px; background: rgba(56,200,255,.18); bottom: -120px; right: 18%; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14,15,12,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(14,15,12,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--canvas); border: 1px solid rgba(14,15,12,.08);
  color: var(--ink-deep); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  padding: 7px 14px 7px 12px; border-radius: var(--pill); box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(159,232,112,.3); }
.hero__title { font-size: clamp(38px, 5.4vw, 62px); margin: 22px 0 0; }
.hero__title .hl { color: var(--ink-deep); position: relative; }
.hero__sub { font-size: 19px; color: var(--body); margin: 22px 0 28px; max-width: 560px; }

/* Signup form */
.signup { max-width: 560px; }
.signup--hero {
  background: var(--glass-tint-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), var(--glass-highlight);
  border-radius: var(--r-xl);
  padding: 22px;
}
.signup__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--ink-deep); letter-spacing: .01em; }
.signup__input {
  width: 100%; min-width: 0; background: var(--canvas); color: var(--ink);
  border: 1.5px solid rgba(14,15,12,.16); border-radius: var(--r-lg);
  padding: 13px 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.signup__input::placeholder { color: var(--mute); }
.signup__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(159,232,112,.35); }
.signup__input[aria-invalid="true"] { border-color: var(--negative); box-shadow: 0 0 0 4px rgba(208,50,56,.18); }
.signup__btn { position: relative; }
.signup__btn--block { width: 100%; margin-top: 14px; padding: 15px 24px; }
.signup__spinner {
  position: absolute; width: 18px; height: 18px; border: 2px solid rgba(22,51,0,.3);
  border-top-color: var(--on-primary); border-radius: 50%; display: none;
  animation: spin .7s linear infinite;
}
.is-loading .signup__btn-label { opacity: 0; }
.is-loading .signup__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.signup__turnstile { margin-top: 14px; min-height: 0; }
.signup__note { font-size: 13px; color: var(--mute); margin-top: 12px; }
.signup__msg { font-size: 14px; font-weight: 600; margin-top: 10px; min-height: 0; }
.signup__msg.is-ok { color: var(--positive-deep); }
.signup__msg.is-err { color: var(--negative); }

/* hero proof */
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatars { display: flex; }
.avatars__a {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--canvas-soft); margin-left: -12px; background: var(--canvas-soft);
  box-shadow: var(--shadow-sm);
}
.avatars__a:first-child { margin-left: 0; }
.hero__proof-text { font-size: 15px; color: var(--body); }
.hero__proof-text strong { color: var(--ink); font-weight: 700; }
.stars { color: #f5a623; letter-spacing: 1px; margin-left: 6px; }

/* Hero alert card */
.hero__card-wrap { position: relative; }
.alert-card { position: relative; border-radius: var(--r-xl); padding: 22px; }
.alert-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.alert-card__badge {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--positive-deep);
  background: var(--primary-pale); padding: 5px 10px; border-radius: var(--pill);
}
.alert-card__time { font-size: 12px; color: var(--mute); font-weight: 500; }
.alert-card__ticker { display: flex; align-items: flex-start; justify-content: space-between; }
.alert-card__sym { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.alert-card__co { font-size: 13px; color: var(--mute); margin-top: 2px; }
.alert-card__tag { display:inline-block; margin-top:6px; font-size:10.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--ink-deep); background: rgba(159,232,112,.28); padding: 3px 8px; border-radius: var(--pill); }
.alert-card__price { text-align: right; }
.alert-card__chg { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 24px; }
.alert-card__chg.up { color: var(--positive); }
.alert-card__last { font-size: 13px; color: var(--body); margin-top: 2px; }
.spark { width: 100%; height: 64px; margin: 14px 0 16px; }
.alert-card__why { display: flex; flex-direction: column; gap: 9px; }
.alert-card__why li { font-size: 13.5px; color: var(--body); display: flex; gap: 10px; align-items: baseline; }
.alert-card__why span {
  flex: none; width: 64px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-deep);
}
.alert-card--lg { padding: 26px; }
.alert-card--lg .alert-card__sym { font-size: 34px; }
.alert-card__foot { margin-top: 14px; font-size: 11px; color: var(--mute); }

/* floating chips */
.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  padding: 9px 14px; border-radius: var(--pill);
}
.chip b { color: var(--positive); }
.chip b.up::before { content: "\25B2 "; font-size: 9px; }
.chip--1 { top: -22px; left: -26px; animation: float 5s ease-in-out infinite; }
.chip--2 { bottom: 18px; right: -28px; animation: float 6s ease-in-out infinite .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------------- Markets bar ---------------- */
.markets { padding: 26px 0; border-top: 1px solid rgba(14,15,12,.06); border-bottom: 1px solid rgba(14,15,12,.06); }
.markets__label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.markets__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.markets__row span { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 19px; color: var(--ink); opacity: .62; transition: opacity .2s; }
.markets__row span:hover { opacity: .75; }

/* ---------------- Press / "as covered by" bar ---------------- */
.press { padding: 36px 0 30px; background: var(--canvas); border-bottom: 1px solid rgba(14,15,12,.06); }
.press__label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.press__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 46px; }
.press__logo {
  height: 26px; width: auto; filter: grayscale(1); opacity: .52;
  transition: opacity .25s var(--ease), filter .25s var(--ease), transform .25s var(--ease);
}
.press__logo:hover { opacity: .92; filter: grayscale(0); transform: translateY(-2px); }
/* per-logo sizing so every mark reads at the same visual weight */
.press__logo--forbes { height: 19px; }
.press__logo--bloomberg { height: 21px; }
.press__logo--yahoo { height: 30px; }
.press__logo--google { height: 24px; }
.press__logo--nasdaq { height: 24px; }
.press__logo--reuters { height: 21px; }
.press__logo--bi { height: 23px; }

/* ---------------- Sections ---------------- */
.section { padding: 92px 0; }
.section--tight { padding: 60px 0; }
.section--soft { background: var(--canvas); }
.section__head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--positive-deep); margin-bottom: 14px; }
.section__title { font-size: clamp(28px, 3.6vw, 40px); }
.section__lead { font-size: 18px; color: var(--body); margin-top: 16px; }

/* Card grids */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.feature { border-radius: var(--r-xl); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg), var(--glass-highlight); }
.feature__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: var(--r-lg); background: var(--ic); margin-bottom: 18px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--body); font-size: 15px; }

.mini { padding: 24px; border-radius: var(--r-lg); background: var(--canvas); border: 1px solid rgba(14,15,12,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini__dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(159,232,112,.25); margin-bottom: 16px; }
.mini h3 { font-size: 17px; margin-bottom: 8px; }
.mini p { font-size: 14px; color: var(--body); }

/* Showcase */
.showcase__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase .section__head { text-align: left; margin: 0; }
.showcase__copy .section__title, .showcase__copy .kicker { text-align: left; }
.showcase__copy .section__lead { margin-bottom: 24px; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.checklist li { position: relative; padding-left: 32px; color: var(--body); font-size: 15.5px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23163300' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.showcase__visual { display: flex; justify-content: center; }
.showcase__visual .alert-card { width: 100%; max-width: 420px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: var(--canvas-soft); border-radius: var(--r-xl); }
.section--soft .step { background: var(--canvas-soft); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--primary); color: var(--on-primary);
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 20px; margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--body); font-size: 15px; }

/* Stat banner */
.banner { background: var(--ink); padding: 56px 0; }
.banner__inner { display: flex; align-items: center; justify-content: center; gap: 38px; flex-wrap: wrap; text-align: center; }
.banner__stat strong { display: block; font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(34px, 5vw, 50px); color: var(--primary); line-height: 1; }
.banner__stat span { display: block; color: rgba(255,255,255,.7); font-size: 14px; margin-top: 8px; }
.banner__divider { width: 1px; height: 48px; background: rgba(255,255,255,.16); }

/* Channels */
.channel { position: relative; border-radius: var(--r-xl); padding: 30px; }
.channel__badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--pill); background: rgba(14,15,12,.06); color: var(--body); margin-bottom: 16px; }
.channel__badge--live { background: var(--primary-pale); color: var(--positive-deep); }
.channel h3 { font-size: 21px; margin-bottom: 10px; }
.channel p { color: var(--body); font-size: 15px; }

/* Testimonials */
.quote { border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote .stars { color: #f5a623; font-size: 15px; margin: 0; }
.quote blockquote { font-size: 16px; color: var(--ink); line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--canvas-soft); border: 2px solid var(--canvas); box-shadow: var(--shadow-sm); }
.quote figcaption strong { display: block; font-size: 14px; }
.quote figcaption em { font-style: normal; font-size: 13px; color: var(--mute); }
.disclaimer-inline { text-align: center; font-size: 13px; color: var(--mute); margin-top: 36px; max-width: 680px; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--canvas); border: 1px solid rgba(14,15,12,.08); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { box-shadow: var(--shadow-md); border-color: rgba(14,15,12,.04); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--positive-deep); transition: transform .25s; flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 24px 22px; }
.faq__body p { color: var(--body); font-size: 15px; }

/* CTA band */
.cta-band { position: relative; background: var(--ink); padding: 96px 0; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; }
.blob--g1 { width: 480px; height: 480px; background: rgba(159,232,112,.22); top: -160px; left: -80px; filter: blur(80px); }
.blob--g2 { width: 420px; height: 420px; background: rgba(56,200,255,.12); bottom: -180px; right: -60px; filter: blur(80px); }
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 660px; }
.cta-band__title { color: #fff; font-size: clamp(30px, 4.5vw, 46px); }
.cta-band__sub { color: rgba(255,255,255,.72); font-size: 18px; margin: 16px auto 32px; }
.signup--dark { margin: 0 auto; }
.signup--dark .field label { color: rgba(255,255,255,.82); }
.signup--dark .signup__input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; box-shadow: none; }
.signup--dark .signup__input::placeholder { color: rgba(255,255,255,.5); }
.signup--dark .signup__input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(159,232,112,.25); }
.signup--dark .signup__note { color: rgba(255,255,255,.55); }
.signup--dark .cf-turnstile { display: flex; justify-content: center; }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 36px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--footer .brand__name { color: #fff; }
.footer__blurb { margin-top: 16px; font-size: 14px; max-width: 340px; }
.footer__col-title { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; letter-spacing: .02em; }
.footer__col a { display: block; font-size: 14px; padding: 8px 0; color: rgba(255,255,255,.66); transition: color .2s; }
.footer__col a:hover { color: var(--primary); }
.footer__legal { padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__legal p { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer__legal strong { color: rgba(255,255,255,.8); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------------- Legal page ---------------- */
.legal { padding: 56px 0 80px; background: var(--canvas); }
.legal__head { max-width: 820px; margin: 0 auto 32px; }
.legal__head h1 { font-size: clamp(30px, 4vw, 44px); }
.legal__updated { color: var(--mute); font-size: 14px; margin-top: 10px; }
.legal__back { display: inline-block; margin-bottom: 24px; font-weight: 600; color: var(--positive-deep); }
.legal__content { max-width: 820px; margin: 0 auto; }
.legal__content h2 { font-size: 24px; margin: 40px 0 14px; padding-top: 8px; }
.legal__content h3 { font-size: 18px; margin: 26px 0 10px; color: var(--ink-deep); }
.legal__content p { color: var(--body); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.legal__content ul { margin: 0 0 16px 0; padding-left: 0; display: flex; flex-direction: column; gap: 8px; }
.legal__content li { position: relative; padding-left: 22px; color: var(--body); font-size: 15px; line-height: 1.7; }
.legal__content li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.legal__content a { color: var(--positive-deep); text-decoration: underline; }

/* ---------------- Form helpers ---------------- */
.field__opt { font-weight: 500; color: var(--mute); letter-spacing: 0; }
.field__err { display: none; font-size: 12.5px; font-weight: 600; color: var(--negative); }
.field__err.is-shown { display: block; }
.signup--dark .field__err { color: #ffb3b6; }
.signup__consent { font-size: 12px; line-height: 1.5; color: var(--mute); margin-top: 12px; }
.signup--dark .signup__consent { color: rgba(255,255,255,.5); }

/* ---------------- Explainer + facts table ---------------- */
.explainer__lead { font-size: 18px; color: var(--body); max-width: 720px; margin: 0 auto 28px; text-align: center; }
.facts { width: 100%; max-width: 620px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: var(--canvas); border: 1px solid rgba(14,15,12,.08); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.facts th, .facts td { text-align: left; padding: 14px 20px; font-size: 15px; vertical-align: top; }
.facts th { width: 42%; color: var(--ink-deep); font-weight: 700; background: rgba(159,232,112,.10); }
.facts td { color: var(--body); }
.facts tr + tr th, .facts tr + tr td { border-top: 1px solid rgba(14,15,12,.07); }

/* ---------------- Count-up: avoid reflow ---------------- */
.banner__stat strong, .hero__proof-text strong { font-variant-numeric: tabular-nums; }

/* ---------------- Focus ring on dark surfaces ---------------- */
.cta-band :focus-visible, .footer :focus-visible, .banner :focus-visible { outline-color: #ffffff; }

/* ---------------- Reveal animation (only hides when JS is present) ---------------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__card-wrap { max-width: 460px; }
  .showcase__inner { grid-template-columns: 1fr; gap: 40px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .section { padding: 64px 0; }
  .cards-3, .cards-2, .steps { grid-template-columns: 1fr; }
  .signup__fields { grid-template-columns: 1fr; }
  .banner__divider { display: none; }
  .banner__inner { gap: 28px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: clamp(32px, 8vw, 44px); }
  .brand__name { font-size: 17px; }
  .chip--1 { left: 0; }
  .chip--2 { right: 0; }
  .press__row { gap: 20px 30px; }
}
@media (max-width: 460px) {
  .cards-4 { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- Reduced transparency / no backdrop-filter fallback ---------------- */
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-sm, .signup--hero, .nav {
    background: var(--canvas) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass, .signup--hero { background: rgba(255,255,255,0.94); }
  .glass-sm { background: rgba(255,255,255,0.96); }
  .nav { background: rgba(232,235,230,0.97); }
}
