/* =========================================================================
   FGBB — Fédération Guinéenne de Basket-Ball
   Site vitrine officiel. Thème « vert canard » repris de l'application
   (src/lib/theme.ts) : mêmes couleurs, même énergie que l'affiche D1.
   Feuille autonome, sans dépendance externe (fonctionne hors-ligne).
   ========================================================================= */

:root {
  /* Palette de l'app (thème sombre par défaut) */
  --bg: #06201c;
  --bg-deep: #041613;
  --surface: #0b2e29;
  --surface-2: #12403a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f2f7f5;
  --muted: #92aca5;
  --dim: #7c968f;

  --accent: #3bd61b;
  --accent-2: #6cf24f;
  --accent-soft: rgba(59, 214, 27, 0.15);
  --accent-text: #06230a;

  --teal: #0e5f58;
  --teal-deep: #0a4a44;

  --red: #e23b3b;
  --green: #2bc48a;

  /* Drapeau guinéen */
  --flag-red: #ce1126;
  --flag-yellow: #fcd116;
  --flag-green: #009460;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-soft: 0 12px 34px -18px rgba(0, 0, 0, 0.55);

  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-display: "Segoe UI", "Helvetica Neue", var(--font);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

p {
  margin: 0;
}

/* subtle scrollbar */
::selection {
  background: var(--accent);
  color: var(--accent-text);
}

/* -------------------------------------------------------------- helpers */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin-top: 16px;
}

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

.tricolor {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.tricolor span {
  width: 26px;
  height: 4px;
  border-radius: 3px;
}
.tricolor .r {
  background: var(--flag-red);
}
.tricolor .y {
  background: var(--flag-yellow);
}
.tricolor .g {
  background: var(--flag-green);
}

/* --------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill, 999px);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(59, 214, 27, 0.6);
}
.btn:active {
  transform: translateY(0);
}
.btn.ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--border-strong);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  border-color: var(--accent);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn.sm {
  padding: 10px 18px;
  font-size: 14.5px;
}

/* Liens réservés au menu mobile (redondants avec les boutons sur desktop) */
.m-only {
  display: none;
}

/* Badge « bientôt sur Google Play » façon store */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.store-badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.store-badge .glyph {
  width: 30px;
  height: 30px;
  flex: none;
}
.store-badge .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.store-badge .txt small {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.store-badge .txt b {
  font-size: 17px;
  font-weight: 700;
}
.store-badge .soon {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
  align-self: center;
}

/* ------------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(6, 32, 28, 0.72);
  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: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}
.brand .brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand .brand-txt b {
  font-size: 17px;
}
.brand .brand-txt small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 9vw, 110px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -6%, rgba(14, 95, 88, 0.55), transparent 60%),
    radial-gradient(760px 520px at 8% 4%, rgba(59, 214, 27, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
}
.hero-court {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side at 70% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(closest-side at 70% 40%, #000 0%, transparent 78%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(38px, 6vw, 68px);
  margin-top: 22px;
  line-height: 1.02;
}
.hero-copy h1 .hl {
  color: var(--accent);
}
.hero-lead {
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 20px);
  margin-top: 22px;
  max-width: 540px;
}
.hero-slogan {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-style: italic;
  color: var(--text);
  font-weight: 600;
}
.hero-slogan .bar {
  width: 4px;
  align-self: stretch;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--flag-red), var(--flag-yellow), var(--flag-green));
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex: none;
}

/* --------------------------------------------------------- phone mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(59, 214, 27, 0.28), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  max-width: 82vw;
  aspect-ratio: 300 / 620;
  background: #05100e;
  border-radius: 46px;
  padding: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.03);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg), #051a17);
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 26px;
  background: #05100e;
  border-radius: 999px;
  z-index: 5;
}
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.status-bar .icons {
  display: flex;
  gap: 5px;
  align-items: center;
}
.status-bar .icons span {
  width: 15px;
  height: 10px;
  border-radius: 2px;
  background: var(--muted);
  display: inline-block;
}
.status-bar .icons span.batt {
  width: 20px;
  border: 1px solid var(--muted);
  background: transparent;
  position: relative;
}
.status-bar .icons span.batt::after {
  content: "";
  position: absolute;
  inset: 2px;
  right: 6px;
  background: var(--accent);
  border-radius: 1px;
}

.app-scroll {
  flex: 1;
  overflow: hidden;
  padding: 8px 14px 0;
}
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 12px;
}
.app-topbar .t {
  font-size: 19px;
  font-weight: 800;
}
.app-topbar .av {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.feat-card {
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(150deg, var(--teal), var(--teal-deep));
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.feat-card .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 3px 8px;
  border-radius: 999px;
}
.feat-card .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.feat-card .comp {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.score-team {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 40%;
}
.score-team.right {
  flex-direction: row-reverse;
  text-align: right;
}
.score-team .badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex: none;
}
.score-team .nm {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.score-num {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.score-sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 700;
}
.qt {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
.qt span {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  padding: 3px 0;
  font-weight: 600;
}

.chips {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.chips .chip {
  flex: 1;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 4px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.chips .chip svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.mini-title {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
  margin: 16px 2px 8px;
}
.rank {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11px;
  border-bottom: 1px solid var(--border);
}
.rank-row:last-child {
  border-bottom: 0;
}
.rank-row .pos {
  width: 16px;
  color: var(--dim);
  font-weight: 700;
  font-size: 10px;
}
.rank-row .dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex: none;
}
.rank-row .team {
  flex: 1;
  font-weight: 600;
  color: var(--text);
}
.rank-row .pts {
  color: var(--accent);
  font-weight: 800;
}
.rank-row.head {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.phone-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 16px;
  background: rgba(8, 34, 30, 0.9);
  border-top: 1px solid var(--border);
}
.phone-tabbar .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  color: var(--dim);
  font-weight: 600;
}
.phone-tabbar .tab svg {
  width: 19px;
  height: 19px;
}
.phone-tabbar .tab.active {
  color: var(--accent);
}

/* floating pills around phone */
.float-pill {
  position: absolute;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.float-pill svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: none;
}
.float-pill.one {
  top: 12%;
  left: -6%;
}
.float-pill.two {
  bottom: 14%;
  right: -8%;
}
@media (max-width: 560px) {
  .float-pill {
    display: none;
  }
}

/* ------------------------------------------------------------ logos strip */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 46px;
  justify-content: center;
  align-items: center;
  padding-block: 26px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.strip-item b {
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.strip-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

/* ------------------------------------------------------------- features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: linear-gradient(160deg, var(--surface), rgba(11, 46, 41, 0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.card .ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  margin-bottom: 18px;
}
.card .ic svg {
  width: 25px;
  height: 25px;
  color: var(--accent);
}
.card h3 {
  font-size: 19px;
  margin-bottom: 9px;
}
.card p {
  color: var(--muted);
  font-size: 15px;
}
.card.wide {
  grid-column: span 1;
}

/* feature card top accent line on hover */
.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--flag-red), var(--flag-yellow), var(--flag-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover::after {
  transform: scaleX(1);
}

/* ------------------------------------------------------------- audiences */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.aud-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(59, 214, 27, 0.08), transparent 70%),
    var(--surface);
  display: flex;
  flex-direction: column;
}
.aud-card .tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.aud-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.aud-card > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.aud-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aud-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text);
}
.aud-list li svg {
  width: 19px;
  height: 19px;
  color: var(--accent);
  flex: none;
  margin-top: 1px;
}

/* --------------------------------------------------------------- showcase */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.rev .split-media {
  order: 2;
}
.split-media {
  position: relative;
}
.showcase-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.tile .big {
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.tile .lbl {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
}
.tile.tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, var(--teal), var(--teal-deep));
}
.tile.tall .lbl {
  color: rgba(255, 255, 255, 0.8);
}
.tile.tall .big {
  color: #fff;
}
.split-copy h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 16px 0;
}
.split-copy p {
  color: var(--muted);
  font-size: 17px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}
.checklist li .ck {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
}
.checklist li .ck svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.checklist li b {
  display: block;
}
.checklist li span {
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------------ steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.step .n {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent-text);
  background: var(--accent);
  margin-bottom: 18px;
}
.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ------------------------------------------------------------------ about */
.about {
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.about-logo {
  display: flex;
  justify-content: center;
  position: relative;
}
.about-logo .halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59, 214, 27, 0.18), transparent 62%);
  filter: blur(10px);
}
.about-logo img {
  width: min(360px, 78%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}
.about-copy h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 16px 0 18px;
}
.about-copy p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 16px;
}
.about-copy .mission {
  color: var(--text);
  font-weight: 600;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-top: 22px;
}

/* -------------------------------------------------------------------- CTA */
.cta {
  position: relative;
  overflow: hidden;
}
.cta-box {
  border-radius: var(--radius-xl);
  padding: clamp(38px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(59, 214, 27, 0.16), transparent 70%),
    linear-gradient(160deg, var(--teal), var(--teal-deep));
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.cta-box .tricolor {
  justify-content: center;
  margin-bottom: 22px;
}
.cta-box h2 {
  font-size: clamp(30px, 5vw, 52px);
  max-width: 720px;
  margin-inline: auto;
}
.cta-box p {
  color: rgba(242, 247, 245, 0.82);
  font-size: 18px;
  max-width: 560px;
  margin: 18px auto 0;
}
.cta-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------- footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding-block: 56px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 300px;
}
.footer-brand .socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-brand .socials a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.18s ease;
}
.footer-brand .socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-brand .socials svg {
  width: 19px;
  height: 19px;
}
.footer-col h4 {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 13.5px;
}
.footer-bottom .made {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------- legal / prose */
.page-hero {
  padding-block: clamp(48px, 7vw, 90px) 40px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(760px 300px at 20% -20%, rgba(14, 95, 88, 0.4), transparent 60%),
    var(--bg);
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-top: 16px;
}
.page-hero p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 620px;
  font-size: 17px;
}
.page-hero .updated {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--dim);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--dim);
  margin-bottom: 4px;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--accent);
}

.prose {
  max-width: 820px;
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 72px);
}
.prose h2 {
  font-size: 24px;
  margin: 44px 0 14px;
  scroll-margin-top: 90px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 18px;
  margin: 26px 0 10px;
}
.prose p {
  color: var(--muted);
  margin-bottom: 14px;
}
.prose ul {
  margin: 0 0 18px;
  padding-left: 4px;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
}
.prose a.inline {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--text);
}
.callout {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 22px 0;
  display: flex;
  gap: 14px;
}
.callout svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}
.callout p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 34px;
}
.toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 12px;
}
.toc ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  columns: 2;
  gap: 24px;
}
.toc ol li {
  margin-bottom: 8px;
}
.toc a:hover {
  color: var(--accent);
}

/* contact cards on support / delete pages */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 26px 0;
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
}
.contact-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.contact-card .ic svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.contact-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.contact-card p,
.contact-card a {
  color: var(--muted);
  font-size: 14.5px;
}
.contact-card a.inline {
  color: var(--accent);
  word-break: break-word;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .plus {
  width: 24px;
  height: 24px;
  flex: none;
  position: relative;
  transition: transform 0.25s ease;
}
.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}
.faq summary .plus::before {
  top: 11px;
  left: 3px;
  right: 3px;
  height: 2px;
}
.faq summary .plus::after {
  left: 11px;
  top: 3px;
  bottom: 3px;
  width: 2px;
  transition: transform 0.25s ease;
}
.faq details[open] summary .plus::after {
  transform: rotate(90deg);
}
.faq details[open] summary {
  color: var(--accent);
}
.faq .faq-body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
}

/* steps list for delete page */
.num-steps {
  counter-reset: n;
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 14px;
}
.num-steps li {
  counter-increment: n;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.num-steps li::before {
  content: counter(n);
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}
.num-steps li b {
  color: var(--text);
}
.num-steps li p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table th {
  background: var(--surface-2);
  color: var(--text);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.data-table td {
  color: var(--muted);
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.table-scroll {
  overflow-x: auto;
}

/* ------------------------------------------------------------- reveal fx */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .phone-wrap {
    order: -1;
  }
  .feature-grid,
  .audience,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split.rev .split-media {
    order: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta .btn,
  .nav-cta .store-badge {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 22px 22px;
    background: rgba(6, 32, 28, 0.98);
    border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav.open .nav-links .m-only {
    display: block;
    color: var(--accent);
    font-weight: 700;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .feature-grid,
  .audience,
  .steps {
    grid-template-columns: 1fr;
  }
  .showcase-tiles {
    grid-template-columns: 1fr 1fr;
  }
  .toc ol {
    columns: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn,
  .hero-actions .store-badge {
    flex: 1;
  }
}
