/* ============================================================
   Lispor Landing — Retrofuturism, light-mode default + dark opt-in.
   Brand: neon green #2bee6c (kept), magenta #ff2e93, cyan #00f0ff.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Space+Grotesk:wght@400;500;600;700&family=VT323&display=swap');

/* ----------------------------------------------------------------
   THEME TOKENS — :root defines LIGHT (default).
   [data-theme="dark"] overrides with the original retrofuturism.
   ---------------------------------------------------------------- */
:root {
  /* Brand (constant across themes; brightness tuned per usage) */
  --green: #14b860;          /* darker neon for AA contrast on light bg */
  --green-glow: #2bee6c;     /* original neon for fills/glows */
  --magenta: #d61f7a;
  --cyan: #0aa9bd;

  /* Surfaces */
  --bg: #faf9f7;             /* warm off-white */
  --bg-elev: #f3efe9;        /* slightly deeper for sticky nav */
  --surface: #ffffff;
  --surface-hover: #f5f3ee;

  /* Ink */
  --text: #0a0a1a;
  --text-muted: #5b5e6b;
  --text-faint: #8a8e9c;

  /* Lines / shadows */
  --border: rgba(10, 10, 26, 0.12);
  --border-strong: rgba(20, 184, 96, 0.45);
  --shadow: 0 4px 24px rgba(10, 10, 26, 0.08);
  --shadow-glow: 0 0 18px rgba(43, 238, 108, 0.35);
  --shadow-magenta: 0 0 18px rgba(214, 31, 122, 0.30);

  /* Hero decor */
  --grid-color: rgba(155, 108, 217, 0.22);
  --sun-grad: radial-gradient(circle at 50% 100%, #ff8fbf 0%, #ffb27a 40%, #b8e6c0 80%, transparent 81%);
  --scanline: rgba(10, 10, 26, 0.025);

  /* Bg gradient layer */
  --bg-gradient:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(214, 31, 122, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(20, 184, 96, 0.08), transparent 70%),
    linear-gradient(180deg, #faf9f7 0%, #f3eef9 100%);

  /* Form inputs */
  --input-bg: #ffffff;
  --input-border: rgba(10, 10, 26, 0.18);

  /* Geometry */
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1200px;
  --pad: clamp(20px, 4vw, 48px);

  --font-heading: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'VT323', ui-monospace, monospace;
}

/* DARK theme overrides — original retrofuturism look */
[data-theme="dark"] {
  --green: #2bee6c;
  --green-glow: #2bee6c;
  --magenta: #ff2e93;
  --cyan: #00f0ff;

  --bg: #07021a;
  --bg-elev: rgba(7, 2, 26, 0.7);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);

  --text: #eaf2ff;
  --text-muted: #a9b3d6;
  --text-faint: #6a72a0;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(43, 238, 108, 0.35);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 24px rgba(43, 238, 108, 0.35);
  --shadow-magenta: 0 0 24px rgba(255, 46, 147, 0.35);

  --grid-color: rgba(43, 238, 108, 0.55);
  --sun-grad: radial-gradient(circle at 50% 100%, #ff2e93 0%, #ff7a00 35%, #2bee6c 80%, transparent 81%);
  --scanline: rgba(255, 255, 255, 0.03);

  --bg-gradient:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255, 46, 147, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(43, 238, 108, 0.25), transparent 70%),
    linear-gradient(180deg, #07021a 0%, #0e0633 40%, #1b0a4d 80%, #3a1a8a 100%);

  --input-bg: rgba(0, 0, 0, 0.35);
  --input-border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Global retro background. Fixed so it stays during scroll. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-gradient);
}

/* CRT scanlines, very faint */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    var(--scanline) 0px,
    var(--scanline) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 2000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  line-height: 1.1;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Container */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-elev);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.brand:hover { text-decoration: none; }

/* Brand mark — img variant (official Lispor icon) */
img.brand-mark,
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 640px) {
  img.brand-mark, .brand-mark {
    width: 28px;
    height: 28px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn-primary { color: #fff; }
[data-theme="dark"] .nav-links a.btn-primary { color: #001a06; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 38px;
  justify-content: center;
  align-items: center;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}
.nav-toggle svg { display: block; }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links .btn { margin-top: 10px; width: 100%; text-align: center; }
  /* On mobile keep the toolset row */
  .nav-tools {
    margin-top: 14px;
    width: 100%;
    justify-content: flex-start;
  }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  /* Allow wrap so long translated labels don't spill */
  white-space: normal;
  line-height: 1.2;
  min-height: 44px;
  text-align: center;
  max-width: 100%;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}
[data-theme="dark"] .btn-primary { color: #001a06; }
.btn-primary:hover { box-shadow: 0 0 32px rgba(43, 238, 108, 0.55); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-lg {
  padding: 14px 18px;
  font-size: 1.05rem;
  min-height: 48px;
}
.btn-block { width: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  perspective: 600px;
  overflow: hidden;
}
.hero-grid::before {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -20%;
  height: 70%;
  background-image:
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotateX(60deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 80%, transparent 100%);
  animation: gridScroll 12s linear infinite;
}
@keyframes gridScroll {
  0% { background-position: 0 0; }
  100% { background-position: 0 60px; }
}

.hero-sun {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 80vw);
  height: min(260px, 40vw);
  background: var(--sun-grad);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: -1;
  opacity: 0.7;
  filter: blur(1px);
  pointer-events: none;
}
[data-theme="dark"] .hero-sun { opacity: 0.85; }

.hero-sun::before, .hero-sun::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  background: var(--bg);
  opacity: 0.95;
}
.hero-sun::before { bottom: 30%; height: 6px; }
.hero-sun::after { bottom: 45%; height: 4px; opacity: 0.7; }

.hero-content {
  position: relative;
  max-width: 820px;
}
.hero h1 {
  text-shadow: 0 2px 30px rgba(43, 238, 108, 0.18);
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 18px 0 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-mini {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-faint);
}
.hero-mini span::before {
  content: '> ';
  color: var(--green);
}

/* Decorative triangles */
.deco-tri {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 24px solid var(--magenta);
  opacity: 0.45;
  filter: drop-shadow(0 0 10px var(--magenta));
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 100px 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow { text-align: center; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Features
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-3px);
}
.feature:hover::before { opacity: 1; }
.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(43, 238, 108, 0.12);
  color: var(--green);
  margin-bottom: 18px;
  border: 1px solid var(--border-strong);
}
.feature h3 { color: var(--text); margin-bottom: 8px; }
.feature p { margin: 0; font-size: 0.95rem; }

/* ============================================================
   How it works
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  counter-increment: step;
  box-shadow: var(--shadow);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px;
  left: 24px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--green);
  background: var(--bg);
  padding: 0 12px;
  text-shadow: var(--shadow-glow);
}
.step h3 { margin-top: 14px; }
.step p { margin: 0; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.plan-popular {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 0 30px rgba(43, 238, 108, 0.18);
}
.plan-popular::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.15em;
}
[data-theme="dark"] .plan-popular::after { color: #001a06; }
.plan-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.plan-tag {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 18px;
}
.plan-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.plan-price span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-faint);
  font-weight: 400;
  margin-left: 6px;
}
.plan-features {
  list-style: none;
  padding: 24px 0 0;
  margin: 24px 0 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b860' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
[data-theme="dark"] .plan-features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232bee6c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
  text-align: center;
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-line {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.trust-line span { color: var(--green); margin: 0 12px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--green);
  transition: transform 0.25s ease;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-muted);
}
.faq-body p { margin: 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.footer-brand { max-width: 320px; }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; color: var(--text-faint); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--green); text-decoration: none; }
.footer-bottom {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ============================================================
   Subscribe page
   ============================================================ */
.subscribe-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.step-card h3 { margin: 0 0 10px; }
.airtel-pay-line {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--green);
  background: rgba(43, 238, 108, 0.08);
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px dashed var(--border-strong);
  margin: 14px 0;
  text-align: center;
  word-break: break-word;
  line-height: 1.4;
}

/* Form */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.form-row label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-row label .req { color: var(--magenta); }
.form-row input,
.form-row textarea,
.form-row select {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 238, 108, 0.18);
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-row .hint {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.form-error {
  background: rgba(214, 31, 122, 0.08);
  border: 1px solid rgba(214, 31, 122, 0.4);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  display: none;
}
.form-error.show { display: block; }
.form-error--inline {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 0.85rem;
  padding: 8px 12px;
}

/* ============================================================
   Thanks / Policy pages
   ============================================================ */
.policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}
.policy h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.policy .meta {
  font-family: var(--font-mono);
  color: var(--cyan);
  margin-bottom: 36px;
  font-size: 1rem;
}
.policy h2 {
  margin-top: 40px;
  font-size: 1.3rem;
  color: var(--green);
}
.policy p, .policy li { color: var(--text-muted); }
.policy ul { padding-left: 1.2em; }
.policy li { margin-bottom: 6px; }

.thanks {
  max-width: 640px;
  margin: 0 auto;
  padding: 100px 0;
  text-align: center;
}
.thanks-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(43, 238, 108, 0.12);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  box-shadow: var(--shadow-glow);
}
.thanks h1 { margin-bottom: 18px; }
.thanks p { font-size: 1.1rem; margin-bottom: 28px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 60px; min-height: auto; }
  .hero-mini { font-size: 1rem; }
  .footer-grid { flex-direction: column; }
}

/* ============================================================
   Nav tools (lang + theme group)
   ============================================================ */
.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

/* Language toggle — visible, accessible, with globe glyph */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
  font-family: var(--font-body);
}
.lang-toggle .lang-icon {
  width: 16px;
  height: 16px;
  margin: 0 6px 0 8px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.lang-toggle button {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  min-width: 44px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 120ms ease, background 120ms ease, box-shadow 120ms ease;
  line-height: 1;
}
.lang-toggle button:hover {
  background: var(--surface-hover);
  color: var(--text);
}
.lang-toggle button.is-active,
.lang-toggle button[aria-pressed="true"] {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(43, 238, 108, 0.45);
  border: 1px solid rgba(255,255,255,0.8);
}
[data-theme="dark"] .lang-toggle button.is-active,
[data-theme="dark"] .lang-toggle button[aria-pressed="true"] {
  color: #001a06;
  border: 1px solid rgba(255,255,255,0.4);
}
.lang-toggle button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.theme-toggle:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.theme-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

@media (max-width: 800px) {
  .nav-tools {
    margin: 14px 0 0 0;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  .lang-toggle { flex: 0 0 auto; }
}

/* ----------------------------------------------------------------
   Spacing utilities — replace inline style="margin-top" so the
   strict CSP (style-src without 'unsafe-inline') doesn't strip them.
   ---------------------------------------------------------------- */
.mt-sm { margin-top: 0.8rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 1.5rem; }
.mt-2xl { margin-top: 2.5rem; }
