/* =========================================================================
   IdleCoins — dark, premium crypto-fintech theme
   Turn spare minutes into crypto.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #07090F;
  --bg-2:      #05060B;
  --panel:     #0C0F17;
  --panel-2:   #0F1320;
  --mint:      #22E3C4;
  --mint-deep: #10B79C;
  --indigo:    #6C5CE7;
  --violet:    #8B7BF2;
  --text:      #E7ECF3;
  --muted:     #8A93A6;
  --line:      rgba(231, 236, 243, 0.10);
  --line-soft: rgba(231, 236, 243, 0.06);

  --glass:       rgba(255, 255, 255, 0.035);
  --glass-2:     rgba(255, 255, 255, 0.055);
  --glass-brd:   rgba(255, 255, 255, 0.10);
  --glass-hi:    rgba(255, 255, 255, 0.18);

  --grad-brand: linear-gradient(115deg, var(--mint) 0%, var(--indigo) 100%);
  --grad-text:  linear-gradient(100deg, #EAFFFB 0%, var(--mint) 42%, var(--violet) 100%);

  --radius:    18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --shadow-1: 0 1px 0 rgba(255,255,255,0.05) inset, 0 18px 40px -24px rgba(0,0,0,0.9);
  --shadow-glow: 0 30px 80px -32px rgba(34, 227, 196, 0.35);

  --ff-display: 'Sora', system-ui, sans-serif;
  --ff-body:    'Manrope', system-ui, sans-serif;
  --ff-mono:    'Space Mono', ui-monospace, monospace;

  --maxw: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* ---------- Atmospheric background ---------- */
body::before {
  /* radial mesh gradient */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 15% -5%, rgba(34, 227, 196, 0.16), transparent 60%),
    radial-gradient(55% 50% at 92% 8%, rgba(108, 92, 231, 0.22), transparent 62%),
    radial-gradient(70% 60% at 78% 108%, rgba(139, 123, 242, 0.14), transparent 60%),
    radial-gradient(50% 40% at 30% 120%, rgba(16, 183, 156, 0.10), transparent 60%),
    var(--bg);
}
body::after {
  /* faint film grain / noise overlay */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: #F4F7FB;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; }
p  { margin: 0 0 1.1rem; color: var(--muted); }
a  { color: var(--mint); text-decoration: none; }
strong { color: var(--text); font-weight: 600; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mono { font-family: var(--ff-mono); letter-spacing: -0.02em; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
main { display: block; }
section { position: relative; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px 1px var(--mint);
}

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #AEB6C6; max-width: 54ch; }

.section-head { max-width: 62ch; margin-bottom: 2.6rem; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--glass-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--glass-brd);
  background: var(--_bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease), background 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  color: #04120F;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 12px 30px -12px rgba(34, 227, 196, 0.55);
}
.btn--primary:hover { box-shadow: 0 18px 42px -12px rgba(34, 227, 196, 0.7); }
.btn--ghost { background: var(--glass); }
.btn--ghost:hover { border-color: var(--glass-hi); background: var(--glass-2); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(to bottom, rgba(7,9,15,0.82), rgba(7,9,15,0.55));
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand__mark { width: 38px; height: 38px; display: grid; place-items: center; filter: drop-shadow(0 6px 14px rgba(34,227,196,0.3)); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__word b { color: var(--mint); font-weight: 700; }

.nav__panel { display: flex; align-items: center; gap: 1.5rem; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--text); background: var(--glass); }

.nav__cta { display: inline-flex; gap: 0.6rem; align-items: center; }
.nav__login {
  color: var(--muted); font-weight: 600; font-size: 0.95rem;
  padding: 0.55rem 0.6rem; border-radius: 10px;
}
.nav__login:hover { color: var(--text); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Glass card primitive ---------- */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
}
.glass::before {
  /* inner highlight */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, var(--glass-hi), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero__title { margin-bottom: 1.1rem; }
.hero__title .line { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.8rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
  margin-top: 2rem; color: var(--muted); font-size: 0.9rem;
}
.hero__trust .avatars { display: inline-flex; }
.hero__trust .avatars span {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: var(--grad-brand);
}
.hero__trust .avatars span:first-child { margin-left: 0; }
.hero__trust .avatars span:nth-child(2) { background: linear-gradient(135deg,#6C5CE7,#8B7BF2); }
.hero__trust .avatars span:nth-child(3) { background: linear-gradient(135deg,#22E3C4,#10B79C); }
.hero__trust .avatars span:nth-child(4) { background: linear-gradient(135deg,#8B7BF2,#22E3C4); }
.stars { color: var(--mint); letter-spacing: 2px; }

/* Hero visual — floating glass "wallet" card */
.hero__visual { position: relative; }
.wallet {
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(108,92,231,0.22), transparent 55%),
    var(--glass-2);
}
.wallet__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.wallet__chip {
  font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  padding: 0.3rem 0.6rem; border-radius: 8px; border: 1px solid var(--line);
}
.wallet__live { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; color: var(--mint); font-family: var(--ff-mono); }
.wallet__live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(34,227,196,0.6); animation: pulse 2s infinite; }
.wallet__balance { font-family: var(--ff-mono); font-size: clamp(2.1rem, 4.5vw, 2.9rem); font-weight: 700; color: #F4F7FB; letter-spacing: -0.03em; margin-bottom: 0.1rem; }
.wallet__balance span { color: var(--mint); }
.wallet__sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.3rem; }
.wallet__rows { display: grid; gap: 0.6rem; }
.wallet__row {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.7rem 0.85rem; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft);
}
.wallet__row .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--glass-2); border: 1px solid var(--line); }
.wallet__row .ico svg { width: 18px; height: 18px; }
.wallet__row .meta { display: flex; flex-direction: column; line-height: 1.2; }
.wallet__row .meta b { font-size: 0.92rem; font-weight: 600; }
.wallet__row .meta small { color: var(--muted); font-size: 0.76rem; }
.wallet__row .amt { margin-left: auto; font-family: var(--ff-mono); font-weight: 700; color: var(--mint); font-size: 0.95rem; }

.hero__badge {
  position: absolute;
  left: -18px; bottom: -22px;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: var(--panel-2);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-glow);
}
.hero__badge .pct { font-family: var(--ff-mono); font-weight: 700; font-size: 1.15rem; color: var(--mint); }
.hero__badge small { display: block; color: var(--muted); font-size: 0.72rem; }
@media (max-width: 560px){ .hero__badge{ left: auto; right: 8px; bottom: -16px; } }

/* ---------- Payout ticker ---------- */
.ticker {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(to right, rgba(12,15,23,0.0), rgba(12,15,23,0.6), rgba(12,15,23,0.0));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--ff-mono); font-size: 0.9rem; white-space: nowrap;
  color: var(--muted);
  border-right: 1px solid var(--line-soft);
}
.ticker__item b { color: var(--mint); font-weight: 700; }
.ticker__item .who { color: var(--text); }
.ticker__item .tag { color: var(--violet); }

/* ---------- Stat cards ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.stat { padding: 1.6rem 1.5rem; border-radius: var(--radius); }
.stat__num { font-family: var(--ff-mono); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: #F4F7FB; letter-spacing: -0.03em; }
.stat__num .u { color: var(--mint); }
.stat__label { color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }
.stat__spark { margin-top: 0.9rem; height: 34px; display: block; width: 100%; }

/* ---------- Offer category grid ---------- */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.offer {
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  min-height: 210px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.offer:hover { transform: translateY(-5px); border-color: var(--glass-hi); box-shadow: var(--shadow-glow); }
.offer__ico {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--grad-brand);
  color: #04120F;
  box-shadow: 0 10px 24px -12px rgba(34,227,196,0.7);
}
.offer:nth-child(2) .offer__ico { background: linear-gradient(135deg,#6C5CE7,#8B7BF2); color: #fff; box-shadow: 0 10px 24px -12px rgba(108,92,231,0.7); }
.offer:nth-child(3) .offer__ico { background: linear-gradient(135deg,#8B7BF2,#22E3C4); color: #04120F; }
.offer:nth-child(4) .offer__ico { background: linear-gradient(135deg,#22E3C4,#6C5CE7); color: #04120F; }
.offer__ico svg { width: 24px; height: 24px; }
.offer h3 { margin-bottom: 0.35rem; }
.offer p { font-size: 0.9rem; margin-bottom: 1rem; }
.offer__pay { margin-top: auto; font-family: var(--ff-mono); font-size: 0.82rem; color: var(--mint); display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { padding: 1.9rem 1.6rem; border-radius: var(--radius); position: relative; }
.step__n {
  counter-increment: step;
  font-family: var(--ff-mono); font-weight: 700; font-size: 0.85rem;
  color: var(--mint);
}
.step__n::before { content: "0" counter(step); }
.step h3 { margin: 0.7rem 0 0.5rem; }
.step p { font-size: 0.95rem; margin: 0; }
.step__line { position: absolute; top: 2.2rem; right: -0.9rem; width: 1.4rem; height: 2px; background: linear-gradient(to right, var(--mint), transparent); }
.step:last-child .step__line { display: none; }

/* ---------- Payout methods strip ---------- */
.methods { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.method {
  flex: 1 1 150px;
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.05rem 1.2rem;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.method:hover { transform: translateY(-3px); border-color: var(--glass-hi); }
.method__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--panel-2); border: 1px solid var(--line); }
.method__ico svg { width: 22px; height: 22px; }
.method b { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 0.95rem; }
.method small { color: var(--muted); font-size: 0.78rem; }

/* ---------- Feature / value rows ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.value { padding: 1.6rem 1.5rem; border-radius: var(--radius); }
.value__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 0.9rem; color: var(--mint); background: var(--glass-2); border: 1px solid var(--line); }
.value__ico svg { width: 22px; height: 22px; }
.value h3 { margin-bottom: 0.4rem; }
.value p { font-size: 0.92rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(34,227,196,0.18), transparent 60%),
    radial-gradient(70% 120% at 50% 120%, rgba(108,92,231,0.22), transparent 60%),
    var(--glass-2);
  overflow: hidden;
}
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { max-width: 48ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.4rem; }

/* ---------- Auth pages ---------- */
.auth {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.auth__aside { padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--radius-lg); display: flex; flex-direction: column; min-width: 0; max-width: 100%; }
.auth__aside .eyebrow { align-self: flex-start; }
.auth__aside h2 { margin: 1.2rem 0 0.6rem; }
.auth__list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.auth__list li { display: flex; gap: 0.7rem; align-items: flex-start; color: #C3CAD8; font-size: 0.95rem; }
.auth__list .tick { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--grad-brand); color: #04120F; margin-top: 1px; }
.auth__list .tick svg { width: 13px; height: 13px; }
.auth__aside .mini-stats { margin-top: auto; display: flex; flex-wrap: wrap; gap: 1.6rem; padding-top: 1.8rem; }
.auth__aside .mini-stats b { font-family: var(--ff-mono); font-size: 1.35rem; color: #F4F7FB; display: block; }
.auth__aside .mini-stats span { color: var(--muted); font-size: 0.8rem; }

.auth__card { padding: clamp(1.6rem, 3.5vw, 2.4rem); border-radius: var(--radius-lg); min-width: 0; max-width: 100%; }
.auth__card h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 0.3rem; }
.auth__card > p { font-size: 0.95rem; margin-bottom: 1.6rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 0.88rem; margin-bottom: 0.45rem; color: #D4DAE5; }
.field .req { color: var(--mint); }
.control {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-brd);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  appearance: none;
}
.control::placeholder { color: #61697A; }
.control:hover { border-color: var(--glass-hi); }
.control:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(34,227,196,0.16); background: rgba(255,255,255,0.05); }
select.control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A93A6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 18px;
  padding-right: 2.6rem;
  cursor: pointer;
}
select.control option { background: var(--panel); color: var(--text); }

.pw-field { position: relative; }
.pw-toggle {
  position: absolute; right: 0.55rem; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: var(--muted); cursor: pointer;
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  padding: 0.4rem 0.5rem; border-radius: 8px;
}
.pw-toggle:hover { color: var(--mint); }

.checkbox { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; user-select: none; }
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox .box {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  border: 1px solid var(--glass-hi); background: rgba(255,255,255,0.03);
  display: grid; place-items: center; margin-top: 1px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.checkbox .box svg { width: 13px; height: 13px; opacity: 0; transform: scale(0.6); transition: opacity 0.15s, transform 0.15s; color: #04120F; }
.checkbox input:checked + .box { background: var(--grad-brand); border-color: transparent; }
.checkbox input:checked + .box svg { opacity: 1; transform: scale(1); }
.checkbox input:focus-visible + .box { outline: none; box-shadow: 0 0 0 4px rgba(34,227,196,0.22); }
.checkbox .txt { font-size: 0.9rem; color: #C3CAD8; line-height: 1.5; }

.field-error {
  display: none;
  color: #FF8C9B;
  font-size: 0.82rem;
  margin-top: 0.4rem;
  font-family: var(--ff-body);
}
.field.has-error .control { border-color: #FF6B7E; box-shadow: 0 0 0 4px rgba(255,107,126,0.14); }
.field.has-error .field-error { display: block; }
.checkbox-field.has-error .box { border-color: #FF6B7E; box-shadow: 0 0 0 4px rgba(255,107,126,0.14); }

.form-foot { margin-top: 0.4rem; }
.form-alt { margin-top: 1.3rem; text-align: center; color: var(--muted); font-size: 0.92rem; }
.form-alt a { font-weight: 600; }
.form-legal { margin-top: 1rem; font-size: 0.8rem; color: #6B7386; text-align: center; }

/* ---------- Confirmation panel ---------- */
.confirm { text-align: center; padding: 0.5rem 0.25rem; animation: rise 0.6s var(--ease) both; }
.confirm__icon {
  width: 78px; height: 78px; border-radius: 50%; margin: 0.5rem auto 1.4rem;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(34,227,196,0.35), rgba(34,227,196,0.06));
  border: 1px solid rgba(34,227,196,0.4);
}
.confirm__icon svg { width: 38px; height: 38px; color: var(--mint); }
.confirm h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 0.7rem; }
.confirm p { max-width: 42ch; margin-inline: auto; }
.confirm .email { color: var(--mint); font-weight: 600; font-family: var(--ff-mono); word-break: break-all; }
.confirm__meta {
  display: inline-flex; gap: 0.5rem; align-items: center;
  margin: 1.2rem 0; padding: 0.55rem 1rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  font-family: var(--ff-mono); font-size: 0.8rem; color: var(--muted);
}
.confirm__meta .dot { width: 8px; height: 8px; border-radius: 50%; background: #FFC24B; box-shadow: 0 0 8px #FFC24B; }
.confirm .btn { margin-top: 0.6rem; }

/* ---------- Content pages (legal / faq / how) ---------- */
.page-hero { padding-block: clamp(2.8rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-hero .eyebrow { margin-bottom: 1.1rem; }
.page-hero p { font-size: 1.08rem; max-width: 60ch; }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: #AEB6C6; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { font-family: var(--ff-mono); font-size: 0.82rem; color: var(--muted); margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); }
.legal-grid { display: grid; grid-template-columns: 0.32fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.legal-toc a { color: var(--muted); font-size: 0.9rem; padding: 0.4rem 0.7rem; border-radius: 9px; display: block; border-left: 2px solid transparent; }
.legal-toc a:hover { color: var(--text); background: var(--glass); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0.9rem; max-width: 820px; }
.acc { border-radius: 14px; overflow: clip; }
.acc__q {
  width: 100%;
  display: flex; align-items: center; gap: 1rem;
  text-align: left;
  font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem;
  color: var(--text);
  background: transparent; border: 0; cursor: pointer;
  padding: 1.25rem 1.4rem;
}
.acc__q .icon { margin-left: auto; flex: none; width: 26px; height: 26px; position: relative; }
.acc__q .icon::before, .acc__q .icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--mint); border-radius: 2px; transition: transform 0.3s var(--ease);
}
.acc__q .icon::before { width: 14px; height: 2px; }
.acc__q .icon::after  { width: 2px; height: 14px; }
.acc__q[aria-expanded="true"] .icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.acc__q:hover { color: #fff; }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 1.4rem 1.35rem; margin: 0; font-size: 0.98rem; }
.acc[data-open="true"] .acc__panel { grid-template-rows: 1fr; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(to bottom, transparent, rgba(5,6,11,0.7));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.2rem;
  padding-block: clamp(2.5rem, 5vw, 3.6rem);
}
.footer__brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem; color: var(--text); margin-bottom: 0.9rem; }
.footer__brand .brand__mark { width: 32px; height: 32px; }
.footer__blurb { color: var(--muted); font-size: 0.92rem; max-width: 38ch; }
.footer__col h4 { font-family: var(--ff-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer__col a { color: #B7BFCE; font-size: 0.93rem; }
.footer__col a:hover { color: var(--mint); }
.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.3rem 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; justify-content: space-between;
}
.footer__bottom small { color: var(--muted); font-size: 0.82rem; }
.footer__disclaimer { color: #6B7386; font-size: 0.8rem; max-width: 62ch; }

/* ---------- Reveal animation (single orchestrated page-load) ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.85s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,227,196,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(34,227,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,227,196,0); }
}

/* ---------- Focus visibility ---------- */
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }

/* skip link */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--mint); color: #04120F; padding: 0.6rem 1rem; border-radius: 10px;
  font-weight: 700; transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step__line { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { order: 2; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav__toggle { display: grid; }
  .nav__panel {
    position: fixed; top: 74px; left: 0; right: 0;
    background: rgba(9,11,18,0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.3rem;
    display: flex; flex-direction: column; align-items: stretch; gap: 0.35rem;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav[data-open="true"] .nav__panel { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__links a { padding: 0.85rem 0.9rem; font-size: 1.05rem; border-radius: 12px; }
  .nav__cta { flex-direction: column; align-items: stretch; gap: 0.5rem; margin-top: 0.5rem; padding-top: 0.8rem; border-top: 1px solid var(--line-soft); }
  .nav__login { padding: 0.85rem 0.9rem; text-align: center; }
  .btn { padding: 0.9rem 1.3rem; }
  .stats { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .auth__aside, .auth__card { padding: 1.4rem; }
  .auth__aside .mini-stats { gap: 1rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none !important; }
}
