/* RS9 — Brand App Profile V10
   Design dials: VARIANCE 4, MOTION 3, DENSITY 5
   Stack: native HTML / CSS / JS only. */

:root {
  /* Surfaces */
  --bg:        #f6f8f5;
  --bg-alt:    #eaf3ec;
  --panel:     #ffffff;
  --panel-2:   #f1f5f1;
  --line:      #d6e3d8;
  --line-2:    #b9cdc1;

  /* Ink */
  --ink:       #14201a;
  --ink-2:     #2c3a32;
  --muted:     #58685e;
  --muted-2:   #5e6e63;

  /* Accent — emerald-signal (single controlled action color) */
  --emerald:   #0f7a4a;
  --emerald-2: #0c663d;
  --emerald-3: #094e2e;
  --on-emerald:#ffffff;

  /* Status */
  --warn:      #b15500;
  --warn-bg:   #fff3e2;

  /* Geometry */
  --r-card:    18px;
  --r-pill:    999px;
  --r-tile:    14px;
  --shadow-1:  0 1px 0 rgba(20,32,26,.04), 0 8px 24px rgba(20,32,26,.06);
  --shadow-2:  0 4px 12px rgba(15,122,74,.12), 0 12px 32px rgba(15,122,74,.10);

  /* Type */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(16px, 3vw, 28px);

  /* Header */
  --header-h: 64px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
/* Button-styled and brand-mark anchors render as controls, not inline text links. */
a.btn, a.brand, a.is-cta, a.open { text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid #0f7a4a;
  outline-offset: 2px;
  border-radius: 6px;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.15;
  margin: 0 0 12px;
}
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; }
h4 { font-size: 16px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
strong { color: var(--ink); }

/* ============ Layout primitives ============ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px; background: var(--emerald);
}

.chapter {
  position: relative;
  padding-top: 22px;
  margin-top: 22px;
}
.chapter::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald) 0 60px, transparent 60px);
}
.chapter-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--emerald);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 248, 245, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
}
.brand-tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.primary-nav {
  display: none; /* collapsed into drawer on every viewport */
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.primary-nav a:hover { background: var(--bg-alt); color: var(--emerald-3); text-decoration: none; }
.primary-nav a.is-cta {
  background: var(--emerald);
  color: var(--on-emerald);
  margin-left: 6px;
}
.primary-nav a.is-cta:hover { background: var(--emerald-2); }

.hamburger {
  display: inline-flex;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  background: rgba(20, 32, 26, .55);
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--panel);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
  box-shadow: -16px 0 48px rgba(0,0,0,.18);
}
.mobile-drawer-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer-panel a:hover { background: var(--bg-alt); text-decoration: none; }
.mobile-drawer-panel a.is-cta { background: var(--emerald); color: var(--on-emerald); border: 0; margin-top: 8px; justify-content: center; }
.drawer-close {
  align-self: flex-end;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  font-size: 22px;
  color: var(--ink);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--emerald);
  color: var(--on-emerald);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--emerald-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--emerald-3);
  border-color: var(--emerald);
}
.btn--ghost:hover { background: var(--bg-alt); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }

/* ============ Cards / surfaces ============ */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: var(--shadow-1);
}
.card--alt { background: var(--bg-alt); border-color: var(--line-2); }

.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  padding: 16px;
}

.kpi {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
}
.kpi strong { font-family: var(--font-display); font-size: 22px; color: var(--emerald-3); }
.kpi span { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--emerald-3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge--solid { background: var(--emerald); color: var(--on-emerald); border-color: transparent; }
.badge--warn { background: var(--warn-bg); color: var(--warn); border-color: #ffd9a8; }

.note {
  padding: 12px 14px;
  border-left: 3px solid var(--emerald);
  background: var(--bg-alt);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.note strong { color: var(--emerald-3); }

/* ============ Tables ============ */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--panel);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
}
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-alt); font-weight: 700; color: var(--ink-2); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* ============ Brand app profile ============ */
.profile {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
}
.profile-icon {
  width: 132px; height: 132px;
  border-radius: 28px;
  background: #0f7a4a;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -.02em;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(15,122,74,.18);
}
.profile-body { min-width: 0; }
.profile-cat {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.profile h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 4px 0 10px; }
.profile-tag { color: var(--muted); font-size: 15px; max-width: 56ch; }
.profile-cta { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.fact-strip .kpi { padding: 12px 14px; }

/* ============ Media rail ============ */
.media-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.media-rail figure { margin: 0; }
.media-rail img {
  width: 100%;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--panel-2);
}
.media-rail figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ============ Feature grid ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
  display: grid;
  gap: 6px;
}
.feature .icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--emerald-3);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.feature h3 { font-size: 17px; margin: 0; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* ============ Step block ============ */
.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: var(--emerald);
  color: var(--on-emerald);
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.step h3 { margin: 4px 0 6px; font-size: 17px; }
.step p { color: var(--muted); margin: 0; font-size: 14px; }

/* ============ Horizontal rails (HOT, YONO, app directory) ============ */
.rail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.rail-head h2 { margin: 0; }
.rail-head a { font-weight: 700; font-size: 14px; }
.rail-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.rail-scroll > * { scroll-snap-align: start; }
.rail-scroll li { list-style: none; display: block; margin: 0; }

.row-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  min-width: 280px;
}
.row-card .art {
  width: 72px; height: 72px;
  border-radius: 12px;
  background: var(--bg-alt);
  object-fit: cover;
  border: 1px solid var(--line);
}
.row-card .meta { min-width: 0; }
.row-card .meta strong { display: block; font-family: var(--font-display); font-size: 15px; }
.row-card .meta span { font-size: 12px; color: var(--muted); }
.row-card .meta em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 4px;
  letter-spacing: .02em;
}
.row-card .open {
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--emerald);
  color: var(--emerald-3);
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* ============ App directory ============ */
.app-dir {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}
.app-dir .filters {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
}
.app-dir .filters h3 { margin: 0 0 8px; font-size: 14px; }
.app-dir .filters .group { margin-bottom: 16px; }
.app-dir .filters label {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 4px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 6px;
  cursor: pointer;
}
.app-dir .filters label:hover { background: var(--bg-alt); }
.app-dir .filters input { accent-color: var(--emerald); }
.app-dir .search {
  display: flex; align-items: center; gap: 8px;
  height: 42px;
  padding: 0 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
}
.app-dir .search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font: inherit;
  min-width: 0;
}
.app-dir .result-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.app-dir .list {
  display: grid;
  gap: 8px;
}
.app-dir .list .empty {
  padding: 24px; text-align: center;
  background: var(--bg-alt);
  border-radius: 12px;
  color: var(--muted);
}

/* ============ FAQ ============ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--emerald);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 15px;
}

/* ============ News block ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px;
  display: grid;
  gap: 8px;
}
.news-card .date { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.news-card h3 { font-size: 17px; margin: 0; }
.news-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ============ Promo / VIP conversion ============ */
.reward-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.reward {
  background: linear-gradient(160deg, #0f7a4a 0%, #094e2e 100%);
  color: #fff;
  border-radius: var(--r-card);
  padding: 22px;
  display: grid;
  gap: 8px;
}
.reward h3 { color: #fff; margin: 0; font-size: 18px; }
.reward p { color: rgba(255,255,255,.85); margin: 0; font-size: 14px; }
.reward a {
  margin-top: 8px;
  height: 38px;
  padding: 0 14px;
  background: #fff;
  color: var(--emerald-3);
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  width: max-content;
}

/* ============ Hero / Footer ============ */
.hero {
  background:
    radial-gradient(900px 460px at 12% 8%, rgba(15,122,74,.10), transparent 60%),
    radial-gradient(700px 360px at 88% 0%, rgba(15,122,74,.06), transparent 60%),
    var(--bg);
  padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 6px 0 16px;
}
.hero p.lede {
  color: var(--ink-2);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 60ch;
  margin-bottom: 22px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-art {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 14px;
}
.hero-art img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.page-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 40px);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p.lede { color: var(--ink-2); font-size: 17px; max-width: 70ch; margin: 0; }

.footer {
  background: #0c1813;
  color: #d6e3d8;
  padding: clamp(40px, 5vw, 60px) 0 24px;
  margin-top: 40px;
}
.footer h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 24px;
}
.footer-brand { max-width: 320px; }
.footer-brand p { color: #b9cdc1; font-size: 14px; }
.footer .brand-tag { color: #b9cdc1; }
.footer .btn--ghost { color: #d6e3d8; border-color: rgba(185, 205, 193, 0.5); }
.footer .btn--ghost:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a {
  color: #b9cdc1;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(185, 205, 193, 0.45);
  font-size: 14px;
}
.footer a:hover { color: #fff; text-decoration-color: #fff; }
.legal-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #7d8a83;
}
.legal-bar nav { display: flex; flex-wrap: wrap; gap: 16px; }
.legal-bar a { color: #d6e3d8; }

.disclosure {
  font-size: 12px;
  color: var(--muted-2);
  padding: 14px;
  background: var(--bg-alt);
  border: 1px dashed var(--line-2);
  border-radius: 10px;
}

/* ============ Mobile sticky CTA ============ */
.mobile-sticky {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 220;
}
.mobile-sticky a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: var(--r-pill);
  background: var(--emerald);
  color: var(--on-emerald);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15,122,74,.30);
}
body.has-sticky { padding-bottom: 80px; }

/* ============ Cookie banner ============ */
.cookie {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 240;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(20,32,26,.18);
  display: none;
  gap: 10px;
}
.cookie.is-visible { display: grid; }
.cookie p { margin: 0; font-size: 13px; color: var(--ink-2); }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie button {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
}
.cookie button.primary { background: var(--emerald); color: var(--on-emerald); border-color: transparent; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reward-rail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .media-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-dir { grid-template-columns: 1fr; }
  .app-dir .filters { position: static; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .profile { grid-template-columns: 96px 1fr; padding: 18px; }
  .profile-icon { width: 96px; height: 96px; font-size: 32px; border-radius: 20px; }
  .profile-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .profile-cta .btn { flex: 1 1 auto; }
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-sticky { display: block; }
}
@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; padding: 16px; }
  .profile-icon { width: 84px; height: 84px; font-size: 28px; border-radius: 18px; }
  .profile-cta .btn { flex: 1 1 100%; }
  .hero-grid > * { min-width: 0; }
  .hero h2 { font-size: clamp(22px, 7vw, 28px); }
  .hero p.lede { font-size: 15px; max-width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; min-width: 0; white-space: normal; text-align: center; line-height: 1.2; padding: 0 14px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .fact-strip { grid-template-columns: 1fr; gap: 8px; min-width: 0; }
  .fact-strip .kpi { padding: 10px 12px; min-width: 0; }
  .kpi span { word-break: break-word; }
  .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .container-wide { padding: 0 12px; }
  .gutter { padding: 0 12px; }
  h1 { font-size: clamp(26px, 8vw, 36px); }
  h2 { font-size: clamp(20px, 6vw, 26px); }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-bar { flex-direction: column; align-items: flex-start; }
}

/* ============ A11y ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition: none !important; scroll-behavior: auto !important; }
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
