/* ==========================================================================
   NRR Apps — design system
   Neo-brutalism, faithful to the MemeMates app: vivid yellow canvas, pure-black
   ink + borders, hard zero-blur offset shadows, lime-green CTAs, magenta/cyan
   pops. Poppins (display) + DM Sans (body). No gradients, no blur.
   ========================================================================== */

:root {
  /* ink + canvas */
  --ink: #000000;
  --ink-soft: #201f1f;
  --canvas: #ffe500;          /* signature yellow scaffold */
  --canvas-2: #ffd800;        /* deeper gold for alternating bands */
  --surface: #ffffff;         /* white cards */
  --surface-2: #fffdf6;
  --muted: #4b4b4b;           /* muted text on white */
  --muted-ink: #3a3200;       /* muted text on yellow */

  /* brand accents (app neons, used with restraint) */
  --lime: #00e000;            /* primary CTA — a hair below #00ff00 to hold on white */
  --lime-bright: #00ff00;
  --magenta: #ff2fd8;
  --cyan: #00d9f5;
  --purple: #784586;
  --violet: #8e44ad;
  --orange: #ff6d00;

  /* soft tints for icon chips / mock surfaces */
  --tint-lime: #d6ffd9;
  --tint-magenta: #ffddf6;
  --tint-cyan: #ccf7ff;
  --tint-yellow: #fff6b0;
  --tint-purple: #f1e3f7;
  --tint-sky: #e4f0ff;

  /* structure */
  --radius: 22px;             /* cards / dialogs */
  --radius-sm: 14px;          /* tiles / buttons / inputs */
  --radius-lg: 26px;
  --radius-pill: 999px;
  --bw: 3px;                  /* standard border */
  --bw-bold: 4px;             /* emphasis border */
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);

  /* type */
  --font-display: "Poppins", system-ui, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* layout */
  --maxw: 1160px;
  --gutter: clamp(16px, 5vw, 48px);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--canvas);
  /* faint app-style grid on the yellow scaffold */
  background-image:
    linear-gradient(to right, rgba(0,0,0,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.055) 1px, transparent 1px);
  background-size: 34px 34px;
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible {
  outline: var(--bw) solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(52px, 9vw, 104px); position: relative; }
.section--tight { padding-block: clamp(36px, 6vw, 72px); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--lime); color: var(--ink); font-weight: 700;
  border: var(--bw) solid var(--ink); border-radius: var(--radius-sm);
  padding: 10px 16px; box-shadow: var(--shadow-sm); transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.04; letter-spacing: -0.02em; font-weight: 800; }
.display {
  font-size: clamp(2.5rem, 1.5rem + 5vw, 5rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); }
.h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); }
.lead { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 54ch; }
.measure { max-width: 64ch; }
.text-muted { color: var(--muted); }
.ink-mark {
  background: var(--lime); padding: 0 0.12em; border-radius: 4px;
  box-shadow: 2px 2px 0 var(--ink); -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- sticker / badge ---------- */
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  background: var(--surface); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: var(--radius-pill);
  padding: 7px 15px; box-shadow: var(--shadow-sm);
}
.sticker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.sticker--pink, .sticker--magenta { background: var(--magenta); color: #fff; }
.sticker--yellow { background: var(--canvas); }
.sticker--purple { background: var(--purple); color: #fff; }
.sticker--cyan { background: var(--cyan); }
.sticker--lime { background: var(--lime); }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  padding: 4px 11px; background: var(--surface); color: var(--ink);
  white-space: nowrap;
}
.chip--purple { background: var(--tint-purple); }
.chip--pink, .chip--magenta { background: var(--tint-magenta); }
.chip--yellow { background: var(--tint-yellow); }
.chip--mint, .chip--lime { background: var(--tint-lime); }
.chip--sky, .chip--cyan { background: var(--tint-cyan); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  border: var(--bw) solid var(--ink); border-radius: var(--radius-sm);
  padding: 13px 24px; box-shadow: var(--shadow-sm);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .12s var(--ease);
  min-height: 48px;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--primary { --btn-bg: var(--lime); --btn-fg: var(--ink); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--purple { --btn-bg: var(--violet); --btn-fg: #fff; }
.btn--pink, .btn--magenta { --btn-bg: var(--magenta); --btn-fg: #fff; }
.btn--cyan { --btn-bg: var(--cyan); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: var(--surface); --btn-fg: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: 0.9rem; min-height: 40px; }
.btn--lg { padding: 16px 30px; font-size: 1.08rem; min-height: 56px; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }

/* Play store button (store-style) */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: #fff;
  border: var(--bw) solid var(--ink); border-radius: var(--radius-sm);
  padding: 11px 20px; box-shadow: var(--shadow-sm);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
  min-height: 56px;
}
.btn-store:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn-store:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-store svg { width: 26px; height: 26px; flex: none; }
.btn-store .store-copy { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-store .store-copy .small { font-size: 0.68rem; letter-spacing: 0.04em; opacity: 0.85; font-family: var(--font-body); }
.btn-store .store-copy .big { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; }
.btn-store[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-store--soon { background: var(--surface); color: var(--ink); }

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: var(--bw) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad { padding: clamp(20px, 3vw, 34px); }

/* ---------- nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 16px; padding: 10px 10px 10px 18px;
  background: var(--surface); border: var(--bw) solid var(--ink);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.brand-link { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: cover; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.01em; }
.brand-name .mates { color: var(--magenta); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-family: var(--font-display);
  font-weight: 600; font-size: 0.98rem; padding: 9px 14px; border-radius: var(--radius-pill);
  border: 2px solid transparent; transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.nav-links a:hover { background: var(--tint-yellow); }
.nav-links a.is-active { border-color: var(--ink); background: var(--lime); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; background: var(--lime);
  border: var(--bw) solid var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 10px);
    display: none; flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--surface); border: var(--bw) solid var(--ink);
    border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 16px;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-links a { padding: 12px 14px; border: 2px solid var(--ink); background: var(--canvas); }
  .nav-links a.is-active { background: var(--lime); }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }
  .site-header .nav[data-open="true"] .nav-toggle span { background: transparent; }
  .site-header .nav[data-open="true"] .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .site-header .nav[data-open="true"] .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- marquee divider ---------- */
.marquee {
  border-block: var(--bw) solid var(--ink);
  background: var(--ink); color: var(--canvas);
  overflow: hidden; white-space: nowrap;
  padding-block: 12px;
}
.marquee__track {
  display: inline-flex; gap: 0; will-change: transform;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  letter-spacing: 0.02em; padding-inline: 22px;
  display: inline-flex; align-items: center; gap: 22px;
}
.marquee__track span::after { content: "✦"; color: var(--lime); font-size: 0.9em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(36px, 7vw, 76px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 56px); align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .display { margin-top: 18px; }
.hero-copy .lead { margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; align-items: center; }
.hero-trust .tiny { font-size: 0.85rem; color: var(--muted-ink); display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.hero-trust .tiny svg { width: 20px; height: 20px; color: var(--ink); background: var(--lime); border: 2px solid var(--ink); border-radius: 50%; padding: 2px; }

/* crisp geometric accents (no blur) */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 190px; height: 190px; top: 6%; right: -40px;
  background: var(--magenta); border: var(--bw) solid var(--ink);
  border-radius: 50%; opacity: 0.9; transform: rotate(0deg);
}
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 120px; height: 120px; bottom: 4%; left: -46px;
  background: var(--cyan); border: var(--bw) solid var(--ink);
  border-radius: 20px; transform: rotate(14deg); opacity: 0.9;
}
@media (max-width: 960px) { .hero::before, .hero::after { display: none; } }

/* ---------- device mock ---------- */
.device-wrap { position: relative; z-index: 2; display: flex; justify-content: center; }
.device {
  width: min(300px, 78vw); aspect-ratio: 300 / 600;
  background: var(--ink); border-radius: 42px; padding: 12px;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow-lg);
  position: relative; transform: rotate(-3deg);
}
.device-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #fff; position: relative; }
.device-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 20px; background: var(--ink); border-radius: var(--radius-pill); z-index: 5; }
.device svg { width: 100%; height: 100%; }
.float-badge {
  position: absolute; z-index: 4; background: var(--surface); border: var(--bw) solid var(--ink);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); padding: 10px 14px;
  font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; gap: 9px;
}
.float-badge .emoji { font-size: 1.2rem; }
.float-badge small { display: block; font-size: 0.68rem; color: var(--muted); font-weight: 600; }
.float-badge .num { font-size: 1.05rem; }
.float-badge--tl { top: 8%; left: -6%; background: var(--tint-magenta); transform: rotate(-5deg); }
.float-badge--br { bottom: 12%; right: -8%; background: var(--canvas); transform: rotate(4deg); }
.js .float-badge { animation: floaty 5s ease-in-out infinite; }
.js .float-badge--br { animation-delay: -2.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, -5deg)); }
  50% { transform: translateY(-8px) rotate(var(--rot, -5deg)); }
}
.float-badge--tl { --rot: -5deg; }
.float-badge--br { --rot: 4deg; }

/* animated route */
.route-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.route-line.draw { animation: draw 2.4s var(--ease) forwards 0.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pulse { transform-box: fill-box; transform-origin: center; }
.pulse.go { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- section heading block ---------- */
.sec-head { max-width: 62ch; }
.sec-head.center { margin-inline: auto; }
.sec-head .h2 { margin-top: 14px; }
.sec-head .lead { margin-top: 14px; }
.sec-head.center .lead { margin-inline: auto; }

/* ---------- app ecosystem grid ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(18px, 2.5vw, 26px); margin-top: 44px; }
.app-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; position: relative;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.app-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.app-card__top { padding: 22px 22px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-icon {
  width: 62px; height: 62px; flex: none; border-radius: 16px; border: var(--bw) solid var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); overflow: hidden;
}
.app-icon svg, .app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-card__body { padding: 16px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.app-card__name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.app-card__desc { color: var(--muted); font-size: 0.98rem; }
.app-card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-card__cta { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.app-card__cta .arrow { transition: transform .16s var(--ease); }
.app-card:hover .app-card__cta .arrow { transform: translateX(4px); }
.app-card--soon { border-style: dashed; box-shadow: none; background: var(--surface-2); }
.app-card--soon:hover { transform: none; box-shadow: none; }
.app-card--soon .app-icon { border-style: dashed; box-shadow: none; background: var(--canvas); }
.ribbon { position: absolute; top: 16px; right: -34px; transform: rotate(45deg); background: var(--lime); border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; padding: 4px 36px; z-index: 3; }

/* ---------- feature list ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 2.5vw, 24px); margin-top: 44px; }
.feature {
  background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 24px; transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.feature:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.feature__ico { width: 54px; height: 54px; border-radius: 14px; border: var(--bw) solid var(--ink); display: grid; place-items: center; margin-bottom: 16px; box-shadow: 3px 3px 0 var(--ink); }
.feature__ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.game-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.game-list li { color: var(--muted); font-size: 0.95rem; line-height: 1.45; padding-left: 16px; position: relative; }
.game-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--ink); }
.game-list strong { color: var(--ink); font-weight: 700; }
.ico-purple { background: var(--tint-purple); color: var(--purple); }
.ico-pink, .ico-magenta { background: var(--tint-magenta); color: #c0128f; }
.ico-yellow { background: var(--tint-yellow); color: #9a7b00; }
.ico-mint, .ico-lime { background: var(--tint-lime); color: #0a8f19; }
.ico-sky, .ico-cyan { background: var(--tint-cyan); color: #0379a3; }

/* ---------- banner / cta strip ---------- */
.band { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.band--plum, .band--ink { background: var(--ink); color: #fff; }
.band--yellow { background: var(--canvas); color: var(--ink); }
.band--magenta { background: var(--magenta); color: #fff; }
.band--plum .lead, .band--ink .lead, .band--plum .text-muted { color: #e6e6e6; }
.band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.band .deco { position: absolute; inset: 0; opacity: 0.16; z-index: 1; pointer-events: none; }

/* ---------- store section ---------- */
.store-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.store-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.store-note { margin-top: 16px; font-size: 0.85rem; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- product page specifics ---------- */
.prod-hero { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.prod-ico { width: 84px; height: 84px; border-radius: 20px; border: var(--bw) solid var(--ink); box-shadow: var(--shadow-sm); overflow: hidden; flex: none; }
.prod-ico img, .prod-ico svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-head { display: flex; align-items: center; gap: 18px; }
.spec-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: clamp(16px, 2.4vw, 26px); margin-top: 44px; }
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; display: block; aspect-ratio: 9/19.5; object-fit: cover;
  border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  background: #fff;
}
.shot figcaption { font-size: 0.9rem; color: var(--ink); margin-top: 12px; font-weight: 600; font-family: var(--font-display); text-align: center; }

/* ---------- content prose (privacy) ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin-top: 2.2em; margin-bottom: 0.5em; padding-bottom: 8px; border-bottom: var(--bw) solid var(--lime); }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; margin-bottom: 0.3em; }
.prose p, .prose ul, .prose ol { margin-top: 0.85em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: 0.4em; }
.prose code { background: var(--tint-yellow); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--ink); font-size: 0.9em; }
.prose a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; word-break: break-word; overflow-wrap: anywhere; }
.prose p, .prose li { overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { border-top: var(--bw) solid var(--ink); background: var(--ink); color: #efefef; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: clamp(40px, 6vw, 64px); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name .mates { color: var(--lime); }
.footer-tag { color: #b9b9b9; margin-top: 12px; max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.08em; color: var(--lime); margin-bottom: 14px; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #d4d4d4; text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.backed { border-top: 1px solid #333; padding-block: 24px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 10px; text-align: center; }
.backed__label { color: #9a9a9a; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }
.backed__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 1rem + 0.8vw, 1.5rem); color: #fff; }
.backed__name::after { content: ""; display: block; height: 4px; margin-top: 4px; border-radius: 2px; background: var(--lime); }
.footer-bottom { border-top: 1px solid #333; padding-block: 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #a8a8a8; }

/* ---------- scroll reveal (only hides when JS is active) ---------- */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(22px); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .device-wrap { order: -1; margin-bottom: 8px; }
  .device { transform: rotate(-2deg); }
  .prod-hero { grid-template-columns: 1fr; }
  .band__inner { grid-template-columns: 1fr; }
  .store-panel { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { background-size: 28px 28px; }
  .prod-head { gap: 14px; }
  .prod-ico { width: 68px; height: 68px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .float-badge--tl { left: -2%; }
  .float-badge--br { right: -2%; }
  .hero-actions .btn, .hero-actions .btn-store, .store-actions .btn-store { width: 100%; }
}
@media (max-width: 380px) {
  .nav { padding-left: 14px; }
  .brand-name { font-size: 1.1rem; }
  .float-badge { padding: 8px 11px; }
  .float-badge .num { font-size: 0.95rem; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .route-line { stroke-dashoffset: 0 !important; }
  .marquee__track { animation: none !important; }
  .js .float-badge { animation: none !important; }
  .btn:hover, .btn-store:hover, .app-card:hover, .feature:hover { transform: none; }
}
