/* GoRep's public site: the app's "Pulse" design system
   (front/lib/core/theme/app_theme.dart) for the web. Dark only, like the app.
   No inline style anywhere in the pages: everything is here. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  /* Palette (AppTheme) */
  --volt: #d4ff3f;
  --volt-fill: #c8f542;
  --ink: #141a00;
  --mint: #3be8d0;
  --violet: #a78bfa;
  --coral: #ff8a5b;
  --amber: #ffc145;
  --pink: #ff7ab6;
  --sky: #38bdf8;
  --error: #ff6b6b;

  --bg: #0b0b10;
  --card: #16161d;
  --surface-low: #131319;
  --surface-high: #1e1e27;
  --surface-variant: #26262f;
  --text: #f4f4f6;
  --muted: #a1a1b0;
  --outline: #6e6e7e;
  --outline-variant: #2c2c38;
  --hairline: rgba(255, 255, 255, 0.08);

  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 24px;

  --gradient: linear-gradient(135deg, var(--volt), var(--mint));
  --card-gradient: linear-gradient(180deg, #1b1b23, #14141a);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --gutter: 20px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

/* The app's two glows: Volt top right, Violet bottom left. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 100% -10%, rgba(212, 255, 63, 0.09), transparent 60%),
    radial-gradient(55vmax 55vmax at -10% 110%, rgba(167, 139, 250, 0.1), transparent 60%);
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Tilted screens and cards never widen the page on a phone. */
main {
  overflow-x: clip;
}

a {
  color: var(--volt);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--mint);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--volt);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 99px;
  font-weight: 600;
}

.skip-link:focus {
  left: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.label-caps {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid transparent;
  font: 600 15px/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-volt {
  background: var(--volt-fill);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(200, 245, 66, 0.25);
}

.btn-volt:hover {
  background: var(--volt);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(200, 245, 66, 0.38);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--outline-variant);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--volt);
  color: var(--volt);
}

.btn-lg {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 16px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ── Header ──────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 16, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 700 21px/1 var(--font-display);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 99px;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.header-actions .btn {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }
  .brand span {
    display: none;
  }
  .header-actions .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* ── Moved banner (the app's former address) ─────────────────────────── */

.moved-banner {
  background: rgba(212, 255, 63, 0.08);
  border-bottom: 1px solid rgba(212, 255, 63, 0.25);
  font-size: 14px;
}

.moved-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.moved-banner p {
  flex: 1 1 320px;
}

.moved-banner strong {
  color: var(--volt);
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  padding: 72px 0 56px;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--outline-variant);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 12px var(--volt);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 22px 0 22px;
}

.hero .lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 34em;
}

.hero .lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 560px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 255, 63, 0.22), rgba(59, 232, 208, 0.08) 60%, transparent);
  filter: blur(20px);
}

.hero-visual .phone {
  position: absolute;
  width: min(270px, 46%);
}

.hero-visual .phone-back {
  left: 6%;
  top: 40px;
  transform: rotate(-6deg);
  opacity: 0.9;
}

.hero-visual .phone-front {
  right: 6%;
  top: 0;
  transform: rotate(4deg);
}

@media (max-width: 900px) {
  .hero {
    padding-top: 48px;
  }
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 0;
    height: min(118vw, 520px);
  }
}

/* ── Phone frame ─────────────────────────────────────────────────────── */

.phone {
  aspect-ratio: 390 / 844;
  padding: 7px;
  border-radius: 34px;
  background: #050508;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 27px;
}

/* ── Pillars ─────────────────────────────────────────────────────────── */

.pillars {
  padding: 8px 0 32px;
}

.pillars ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pillars li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-m);
  background: var(--card-gradient);
  border: 1px solid var(--hairline);
}

.pillars a {
  color: inherit;
  text-decoration: none;
}

.pillars strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.2;
}

.pillars small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .pillars ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .pillars li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* The app's IconBadge: a tinted rounded square with its icon. */
.icon-badge {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--tone, var(--volt));
  background: color-mix(in srgb, var(--tone, var(--volt)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone, var(--volt)) 26%, transparent);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.tone-volt {
  --tone: var(--volt);
}
.tone-mint {
  --tone: var(--mint);
}
.tone-violet {
  --tone: var(--violet);
}
.tone-coral {
  --tone: var(--coral);
}
.tone-amber {
  --tone: var(--amber);
}
.tone-pink {
  --tone: var(--pink);
}

/* ── Sections ────────────────────────────────────────────────────────── */

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin: 12px 0 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tone, var(--volt));
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* A feature: its text beside two screens of the app. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 56px 0;
}

.feature + .feature {
  border-top: 1px solid var(--hairline);
}

.feature.reverse .feature-text {
  order: 2;
}

.feature h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin: 14px 0 16px;
}

.feature-text > p {
  color: var(--muted);
  font-size: 17px;
}

.checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233BE8D0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    rgba(59, 232, 208, 0.12);
}

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 10% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tone, var(--volt)) 20%, transparent), transparent);
  filter: blur(24px);
}

.feature-visual .phone {
  position: relative;
  width: min(250px, 46%);
}

.feature-visual .phone:nth-child(2) {
  margin-top: 56px;
}

.feature-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 0;
  }
  .feature.reverse .feature-text {
    order: 0;
  }
}

/* ── Share cards ─────────────────────────────────────────────────────── */

.share-cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  padding: 12px 0 24px;
}

.share-cards figure {
  margin: 0 -18px;
  width: min(240px, 34%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.share-cards figure:nth-child(1) {
  transform: rotate(-7deg) translateY(28px);
}

.share-cards figure:nth-child(2) {
  position: relative;
  z-index: 1;
}

.share-cards figure:nth-child(3) {
  transform: rotate(7deg) translateY(28px);
}

.share-points {
  list-style: none;
  margin: 48px auto 0;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
}

.share-points li {
  padding: 18px;
  border-radius: var(--radius-m);
  background: var(--card-gradient);
  border: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 15px;
}

.share-points strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 4px;
}

@media (max-width: 700px) {
  .share-points {
    grid-template-columns: 1fr;
  }
  .share-cards figure {
    margin: 0 -8px;
    width: 33%;
  }
  .share-cards figure:nth-child(1) {
    transform: rotate(-5deg) translateY(16px);
  }
  .share-cards figure:nth-child(3) {
    transform: rotate(5deg) translateY(16px);
  }
}

/* ── Platforms ───────────────────────────────────────────────────────── */

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.platform {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius-l);
  background: var(--card-gradient);
  border: 1px solid var(--hairline);
}

.platform h3 {
  font-size: 24px;
}

.platform p {
  color: var(--muted);
}

.platform .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 700px) {
  .platforms {
    grid-template-columns: 1fr;
  }
}

/* ── Offers ──────────────────────────────────────────────────────────── */

.pill-bar {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 99px;
  background: var(--surface-low);
  border: 1px solid var(--hairline);
}

.pill-bar button {
  min-height: 40px;
  padding: 8px 20px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font: 600 14px/1 var(--font-body);
  cursor: pointer;
}

.pill-bar button[aria-pressed="true"] {
  background: var(--volt-fill);
  color: var(--ink);
}

.period-switch {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.offer-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-l);
  background: var(--card-gradient);
  border: 1px solid var(--hairline);
}

.offer-card.is-highlighted {
  border-color: rgba(212, 255, 63, 0.45);
  box-shadow: 0 0 0 1px rgba(212, 255, 63, 0.15), 0 24px 60px rgba(200, 245, 66, 0.1);
}

.offer-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offer-head h3 {
  font-size: 24px;
  flex: 1;
}

.tag-chip {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--volt);
  background: rgba(212, 255, 63, 0.12);
  border: 1px solid rgba(212, 255, 63, 0.3);
}

.offer-tagline {
  margin-top: 10px;
  font-weight: 600;
}

.offer-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 4px;
}

.offer-price strong {
  font: 700 36px/1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--volt);
}

.offer-price.is-free strong {
  color: var(--mint);
}

.offer-price span {
  color: var(--muted);
  font-size: 14px;
}

.offer-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.offer-card .checks {
  margin: 18px 0 24px;
  gap: 10px;
}

.offer-card .checks li {
  font-size: 15px;
}

.offer-card .btn {
  margin-top: auto;
}

.offer-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.offer-skeleton {
  min-height: 360px;
  border-radius: var(--radius-l);
  border: 1px solid var(--hairline);
  background: linear-gradient(100deg, #15151c 30%, #1d1d26 50%, #15151c 70%) 0 0 / 300% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

.offers-message {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px;
  text-align: center;
  border-radius: var(--radius-l);
  background: var(--card-gradient);
  border: 1px solid var(--hairline);
  color: var(--muted);
}

.offers-message .btn {
  margin-top: 18px;
}

.footnotes {
  max-width: 760px;
  margin: 32px auto 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: var(--radius-m);
  background: var(--card-gradient);
  border: 1px solid var(--hairline);
}

.faq details[open] {
  border-color: var(--outline-variant);
}

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4FF3F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
      center / 16px no-repeat,
    rgba(212, 255, 63, 0.1);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
}

/* ── Final call ──────────────────────────────────────────────────────── */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 56px 32px;
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(212, 255, 63, 0.18), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(167, 139, 250, 0.16), transparent 60%),
    var(--card);
  border: 1px solid var(--hairline);
}

.cta-band h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--muted);
  font-size: 18px;
}

.cta-band .hero-actions {
  justify-content: center;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: 88px;
  padding: 56px 0 32px;
  border-top: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.2);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-grid h2 {
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-grid a {
  color: var(--text);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--volt);
}

.footer-about p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 26em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--outline);
  font-size: 13px;
}

.footer-bottom a {
  color: inherit;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

/* ── Legal pages ─────────────────────────────────────────────────────── */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px var(--gutter) 0;
}

.legal-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--volt);
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 99px;
  background: var(--surface-low);
  border: 1px solid var(--hairline);
}

.lang-switch button {
  padding: 6px 14px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font: 600 13px/1.2 var(--font-body);
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--volt-fill);
  color: var(--ink);
}

.legal header {
  padding: 32px;
  margin-bottom: 8px;
  border-radius: var(--radius-l);
  background:
    radial-gradient(70% 140% at 100% 0%, rgba(212, 255, 63, 0.12), transparent 60%),
    var(--card-gradient);
  border: 1px solid var(--hairline);
}

.legal h1 {
  font-size: clamp(30px, 5vw, 42px);
  margin: 10px 0 10px;
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  font-size: 23px;
  margin: 48px 0 14px;
  padding-top: 8px;
}

.legal h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}

.legal p,
.legal li {
  color: #d6d6de;
  font-size: 16px;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul,
.legal ol {
  padding-left: 1.3em;
  margin: 12px 0;
}

.legal li {
  margin: 6px 0;
}

.legal li::marker {
  color: var(--volt);
}

.legal strong {
  color: var(--text);
}

.legal .card {
  margin: 18px 0;
  padding: 18px 22px;
  border-radius: var(--radius-m);
  background: var(--card-gradient);
  border: 1px solid var(--hairline);
  color: #d6d6de;
}

.legal .card.warn,
.legal .callout {
  background: rgba(255, 193, 69, 0.07);
  border-color: rgba(255, 193, 69, 0.3);
}

.legal .callout strong {
  color: var(--amber);
}

.legal .table-wrap {
  overflow-x: auto;
  margin: 14px 0;
  border-radius: var(--radius-m);
  border: 1px solid var(--hairline);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
}

.legal tr:last-child td {
  border-bottom: 0;
}

.legal th {
  background: var(--surface-low);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal td {
  color: #d6d6de;
}

.legal code {
  background: var(--surface-high);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
}

.legal .page-end {
  margin-top: 48px;
  color: var(--muted);
  font-size: 14px;
}

.legal blockquote {
  margin: 16px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--volt);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--surface-low);
  color: #d6d6de;
}

[data-lang] {
  display: none;
}

[data-lang].active {
  display: block;
}

/* ── 404 ─────────────────────────────────────────────────────────────── */

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px var(--gutter);
}

.not-found .big {
  font: 700 clamp(96px, 20vw, 180px)/1 var(--font-display);
  letter-spacing: -0.05em;
}

.not-found p:not(.big) {
  color: var(--muted);
  margin: 12px 0 28px;
}

.not-found .hero-actions {
  justify-content: center;
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .offer-skeleton {
    animation: none;
  }
  .btn {
    transition: none;
  }
}
