/* ==========================================================================
   Scouter — scouter-app.co
   Design system: "stadium night" — deep green-black, brand green, glass cards
   ========================================================================== */

:root {
  --bg: #080d08;
  --bg-2: #0c130d;
  --bg-3: #111a12;
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-strong: rgba(255, 255, 255, 0.16);

  --green: #4e9345;
  --green-deep: #3a6f2b;
  --green-bright: #6fcf54;
  --green-neon: #8ef06f;
  --orange: #f5921b;
  --red: #e5484d;
  --blue: #58a6ff;

  --text: #f2f6f0;
  --muted: #a9b5a6;
  --faint: #74806f;

  --grad-green: linear-gradient(135deg, #5fb44d 0%, #3f8737 55%, #2f6b28 100%);
  --grad-text: linear-gradient(100deg, #eafbe2 0%, #8ef06f 45%, #4e9345 100%);

  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1180px;

  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.65);
  --shadow-green: 0 18px 60px -18px rgba(94, 180, 77, 0.45);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
/* clip (not hidden) stops iOS Safari from letting the page pan sideways */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: rgba(111, 207, 84, 0.35); }

/* ---- Utility ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .container { padding: 0 18px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green-bright);
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-green); flex: none;
}
.section { padding: 104px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.12;
  margin: 14px 0 14px;
}
.section-head p { color: var(--muted); font-size: 1.06rem; }
.accent {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--grad-green); color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 70px -18px rgba(94, 180, 77, 0.6); }
.btn-ghost {
  border: 1px solid var(--stroke-strong); color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

/* ---- Store badges ---- */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-badges img { height: 52px; width: auto; border-radius: 10px; transition: transform 0.18s ease, opacity 0.18s ease; }
.store-badges a:hover img { transform: translateY(-2px); opacity: 0.92; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 13, 8, 0.82);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom-color: var(--stroke);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-logo img.icon { width: 38px; height: 38px; }
/* the icon artwork ships on a square white tile; clip it iOS-style */
img.app-mark { border-radius: 22.5%; overflow: hidden; }
.nav-logo img.word { height: 17px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; padding: 0; }
.nav-links a {
  font-size: 0.94rem; font-weight: 600; color: var(--muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { flex: none; display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.92rem; }

.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--stroke-strong);
  align-items: center; justify-content: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ''; display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text); position: relative; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
.nav.menu-open .nav-burger span { background: transparent; }
.nav.menu-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed; inset: 74px 0 auto 0; z-index: 99;
  background: rgba(8, 13, 8, 0.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stroke);
  padding: 12px 24px 28px;
}
.nav.menu-open + .nav-mobile { display: block; }
.nav-mobile a {
  display: block; padding: 15px 4px; font-weight: 600; font-size: 1.05rem;
  color: var(--text); border-bottom: 1px solid var(--stroke);
}
.nav-mobile a:last-child { border-bottom: 0; }

@media (max-width: 1010px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
}
/* Narrow phones: scale the header down so logo, CTA and burger never touch */
@media (max-width: 520px) {
  .nav-inner { height: 64px; gap: 10px; }
  .nav-logo { gap: 9px; }
  .nav-logo img.icon { width: 32px; height: 32px; }
  .nav-logo img.word { height: 13px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 15px; font-size: 0.84rem; white-space: nowrap; }
  .nav-burger { width: 40px; height: 40px; }
  .nav-mobile { inset: 64px 0 auto 0; }
}
@media (max-width: 400px) {
  .nav-inner { height: 58px; gap: 8px; }
  .nav-logo { gap: 7px; }
  .nav-logo img.icon { width: 28px; height: 28px; }
  .nav-logo img.word { height: 11px; }
  .nav-cta { gap: 7px; }
  .nav-cta .btn { padding: 9px 12px; font-size: 0.78rem; }
  .nav-burger { width: 36px; height: 36px; border-radius: 10px; }
  .nav-mobile { inset: 58px 0 auto 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 178px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(78, 147, 69, 0.28), transparent 62%),
    radial-gradient(900px 540px at -12% 30%, rgba(78, 147, 69, 0.14), transparent 60%),
    var(--bg);
}
.hero::before {
  /* faint pitch markings */
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 130%, transparent 34.8%, rgba(255,255,255,0.05) 35%, rgba(255,255,255,0.05) 35.4%, transparent 35.6%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 78%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  font-weight: 900; letter-spacing: -0.035em; line-height: 1.05;
  margin: 20px 0 22px;
}
.hero .sub {
  color: var(--muted); font-size: 1.14rem; max-width: 520px; margin-bottom: 34px;
}
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .num {
  font-size: 1.55rem; font-weight: 900; letter-spacing: -0.02em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stat .lbl { font-size: 0.83rem; color: var(--faint); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* Phone collage */
.hero-visual { position: relative; min-height: 620px; }
.phone {
  border-radius: 44px; padding: 9px;
  background: linear-gradient(160deg, #2b332a, #10150f 60%, #232b22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.phone img { border-radius: 36px; width: 100%; }
.hero-phone-main {
  width: min(304px, 62%);
  position: absolute; right: 12%; top: 0;
  z-index: 3;
  transform: rotate(2.5deg);
}
.hero-phone-back {
  width: min(268px, 55%);
  position: absolute; right: 52%; top: 96px;
  z-index: 2;
  transform: rotate(-6deg);
  opacity: 0.96;
}
.float-chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(14, 20, 14, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--stroke-strong);
  border-radius: 16px; padding: 12px 16px;
  font-size: 0.85rem; font-weight: 700;
  box-shadow: var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite;
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.float-chip small { display: block; font-size: 0.7rem; font-weight: 600; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; }
.chip-verdict { right: 2%; top: 118px; animation-delay: 0s; }
.chip-verdict .dot { background: var(--green-bright); box-shadow: 0 0 12px var(--green-bright); }
.chip-xg { left: 0; top: 34px; animation-delay: 1.6s; }
.chip-live { right: 26%; bottom: 8px; animation-delay: 3.2s; }
.chip-live .dot { background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 1.6s ease-in-out infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 980px) {
  .hero { padding: 150px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { min-height: 560px; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-phone-main { right: 4%; }
  .hero-phone-back { right: 48%; }
  .chip-xg { left: 2%; }
}

/* ==========================================================================
   Stats band
   ========================================================================== */
.band {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: var(--bg-2);
  padding: 34px 0;
}
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.band-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.band-item svg { width: 30px; height: 30px; flex: none; color: var(--green-bright); }
.band-item .t { font-weight: 800; letter-spacing: -0.01em; }
.band-item .s { font-size: 0.82rem; color: var(--faint); }
@media (max-width: 920px) {
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .band-item { justify-content: flex-start; }
}

/* ==========================================================================
   Feature cards
   ========================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.fcard::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 20% 0%, rgba(111, 207, 84, 0.12), transparent 70%);
  opacity: 0; transition: opacity 0.25s ease;
  pointer-events: none;
}
.fcard:hover { transform: translateY(-5px); background: var(--card-hover); border-color: rgba(111, 207, 84, 0.35); }
.fcard:hover::after { opacity: 1; }
.fcard .ic {
  width: 52px; height: 52px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(111, 207, 84, 0.2), rgba(78, 147, 69, 0.08));
  border: 1px solid rgba(111, 207, 84, 0.28);
  color: var(--green-neon);
  margin-bottom: 22px;
}
.fcard .ic svg { width: 26px; height: 26px; }
.fcard h3 { font-size: 1.14rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 10px; }
.fcard p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Live intelligence rows (xG / momentum / oracle)
   ========================================================================== */
.live-section { background: var(--bg-2); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  padding: 64px 0;
}
.split + .split { border-top: 1px solid var(--stroke); }
.split .visual { position: relative; display: flex; justify-content: center; }
.split .visual .phone { width: min(320px, 84%); position: relative; z-index: 2; }
.split .visual::before {
  content: '';
  position: absolute; border-radius: 50%;
  width: min(480px, 92vw); height: min(480px, 92vw);
  background: radial-gradient(circle, rgba(78, 147, 69, 0.22), transparent 65%);
  z-index: 1;
}
.split .copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.15; margin: 14px 0 16px; }
.split .copy p { color: var(--muted); font-size: 1.04rem; margin-bottom: 18px; }
.split .copy ul { list-style: none; padding: 0; display: grid; gap: 12px; margin: 22px 0 0; }
.split .copy li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 0.98rem; }
.split .copy li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--green-bright); }
.split .copy li b { font-weight: 800; }
.tag-new {
  display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(111, 207, 84, 0.15); border: 1px solid rgba(111, 207, 84, 0.4);
  color: var(--green-neon); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
  vertical-align: middle; text-transform: uppercase;
}
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; gap: 44px; padding: 56px 0; }
  .split.flip .visual { order: -1; }
}

/* ---- Oracle screenshot ---- */
.oracle-shot {
  width: min(430px, 100%);
  position: relative; z-index: 2;
}
.oracle-shot img {
  width: 100%; border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-strong);
  box-shadow: var(--shadow-lg);
}
.oracle-shot-badge {
  position: absolute; top: -14px; right: -10px;
  background: rgba(20, 12, 12, 0.92);
  box-shadow: var(--shadow-lg);
}
.badge-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  color: #ffb0b3; background: rgba(229, 72, 77, 0.14);
  border: 1px solid rgba(229, 72, 77, 0.4);
  padding: 5px 11px; border-radius: 999px;
}
.badge-live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 10px var(--red); animation: pulse 1.6s infinite;
}
.verdict-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.vchip {
  padding: 8px 16px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em;
  border: 1px solid;
}
.vchip.hold { color: var(--green-neon); border-color: rgba(111, 207, 84, 0.5); background: rgba(111, 207, 84, 0.1); }
.vchip.hedge { color: #ffc06a; border-color: rgba(245, 146, 27, 0.5); background: rgba(245, 146, 27, 0.1); }
.vchip.switch { color: #9ecbff; border-color: rgba(88, 166, 255, 0.5); background: rgba(88, 166, 255, 0.1); }
.vchip.stay { color: #ff9d9f; border-color: rgba(229, 72, 77, 0.5); background: rgba(229, 72, 77, 0.1); }

/* ==========================================================================
   Predictions filmstrip (one app screen, three story panels)
   ========================================================================== */
.pred-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.pred-step {
  margin: 0; position: relative;
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 22px 22px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.pred-step:hover { transform: translateY(-5px); border-color: rgba(111, 207, 84, 0.35); background: var(--card-hover); }
.pred-badge {
  display: inline-flex; padding: 6px 13px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-neon); background: rgba(111, 207, 84, 0.12);
  border: 1px solid rgba(111, 207, 84, 0.35);
  margin-bottom: 16px;
}
.pred-step img {
  width: 100%; border-radius: 16px;
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.8);
}
.pred-step figcaption { padding-top: 18px; }
.pred-step h3 { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 8px; }
.pred-step figcaption p { color: var(--muted); font-size: 0.93rem; }
/* chevrons connecting the panels: it is one screen, scrolled */
.pred-step:not(:last-child)::after {
  content: '';
  position: absolute; top: 38%; right: -21px;
  width: 14px; height: 14px; z-index: 2;
  border-top: 3px solid var(--green-bright); border-right: 3px solid var(--green-bright);
  border-radius: 2px;
  transform: rotate(45deg);
  opacity: 0.75;
}
@media (max-width: 980px) {
  .pred-strip {
    display: flex; overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin: 0 -24px; padding: 0 24px 16px;
  }
  .pred-step { flex: 0 0 min(78vw, 340px); scroll-snap-align: center; }
  .pred-step:not(:last-child)::after { display: none; }
}
@media (max-width: 520px) {
  .pred-strip { margin: 0 -18px; padding: 0 18px 16px; }
}

/* ==========================================================================
   Match data three-up cards
   ========================================================================== */
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.data-card { padding: 0; display: flex; flex-direction: column; }
.data-card .shot {
  background: linear-gradient(180deg, rgba(111, 207, 84, 0.10), transparent 80%);
  padding: 22px 22px 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.data-card .shot img {
  width: 100%; border-radius: 18px;
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.8);
}
.data-card .body { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.data-card h3 { font-size: 1.14rem; font-weight: 800; letter-spacing: -0.015em; }
.data-card p { color: var(--muted); font-size: 0.94rem; }
.data-card .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.data-card .chips span {
  padding: 5px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  color: var(--muted); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke); white-space: nowrap;
}
@media (max-width: 980px) {
  .data-grid { grid-template-columns: 1fr; }
  .data-card .shot { padding: 26px 26px 0; }
  .data-card .shot img { max-width: 420px; margin: 0 auto; }
}

/* ==========================================================================
   Gallery marquee
   ========================================================================== */
.gallery { overflow: hidden; position: relative; }
.gallery .fade-l, .gallery .fade-r {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.gallery .fade-l { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.gallery .fade-r { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee { display: flex; gap: 24px; width: max-content; animation: marquee 60s linear infinite; padding: 10px 0; }
.gallery:hover .marquee { animation-play-state: paused; }
.marquee img {
  width: 236px; border-radius: 22px;
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s ease;
}
.marquee img:hover { transform: translateY(-8px) scale(1.02); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 820px; display: grid; gap: 14px; }
.faq-list details {
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-list details[open] { border-color: rgba(111, 207, 84, 0.35); background: var(--card-hover); }
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-ic { position: relative; width: 18px; height: 18px; flex: none; }
.faq-ic::before, .faq-ic::after {
  content: ''; position: absolute; background: var(--green-bright); border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq-ic::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq-ic::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.faq-list details[open] .faq-ic::after { transform: scaleY(0); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); font-size: 0.97rem; max-width: 720px; }

/* ==========================================================================
   Download CTA
   ========================================================================== */
.download-panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  overflow: hidden;
  background:
    radial-gradient(720px 400px at 85% 115%, rgba(142, 240, 111, 0.25), transparent 65%),
    radial-gradient(600px 380px at 8% -20%, rgba(142, 240, 111, 0.18), transparent 60%),
    linear-gradient(150deg, #23531d, #16391335 60%),
    var(--bg-3);
  border: 1px solid rgba(111, 207, 84, 0.35);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center;
}
.download-panel h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 14px; }
.download-panel p { color: var(--muted); font-size: 1.05rem; margin-bottom: 30px; max-width: 480px; }
.qr-box {
  justify-self: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke-strong);
  border-radius: 22px; padding: 22px; text-align: center;
}
.qr-box img { width: 168px; height: 168px; border-radius: 14px; margin: 0 auto 12px; background: #fff; padding: 8px; }
.qr-box span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
@media (max-width: 880px) {
  .download-panel { grid-template-columns: 1fr; padding: 52px 30px; }
  .qr-box { display: none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--stroke); background: var(--bg-2); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand img.icon { width: 42px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.93rem; max-width: 320px; }
.footer h4 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer ul a { color: var(--muted); font-size: 0.95rem; transition: color 0.15s ease; }
.footer ul a:hover { color: var(--green-bright); }
.footer-bottom {
  border-top: 1px solid var(--stroke); padding-top: 28px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: var(--faint); font-size: 0.85rem;
}
.footer-disclaimer { margin-top: 20px; color: var(--faint); font-size: 0.8rem; max-width: 820px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ==========================================================================
   Legal / article pages
   ========================================================================== */
.page-hero {
  padding: 160px 0 56px;
  background:
    radial-gradient(900px 420px at 70% -30%, rgba(78, 147, 69, 0.22), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--stroke);
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin-top: 16px; }
.page-hero .meta { color: var(--faint); margin-top: 14px; font-size: 0.92rem; }
.article { padding: 64px 0 100px; }
.article-body { max-width: 780px; }
.article-body h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin: 44px 0 14px; }
.article-body h3 { font-size: 1.18rem; font-weight: 800; margin: 34px 0 10px; }
.article-body p { color: var(--muted); margin-bottom: 16px; font-size: 1rem; }
.article-body li { color: var(--muted); margin-bottom: 10px; }
.article-body ul { padding-left: 22px; margin-bottom: 18px; }
.article-body a { color: var(--green-bright); }
.article-body a:hover { text-decoration: underline; }
.article-body .step {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 24px 26px; margin: 18px 0;
}
.article-body .step h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 12px; }
.article-body .step .n {
  width: 30px; height: 30px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-green); color: #fff; font-size: 0.9rem; font-weight: 800;
}
.article-body .step p { margin: 0; }
.callout {
  background: rgba(111, 207, 84, 0.08); border: 1px solid rgba(111, 207, 84, 0.3);
  border-radius: var(--radius); padding: 22px 26px; margin: 28px 0;
}
.callout p { margin: 0; color: var(--text); }
.callout a { font-weight: 700; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .badge-live i, .chip-live .dot { animation: none; }
  .marquee { animation-duration: 240s; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
