/* ==========================================================================
   TV Remote — tvremote.gamifyapps.com
   Static stylesheet. No build step, no framework, no external requests.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */

:root {
  color-scheme: dark light;

  /* Brand — taken from the app icon: neon cyan → electric blue → violet */
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #a855f7;
  --brand-gradient: linear-gradient(115deg, var(--cyan) 0%, var(--blue) 48%, var(--violet) 100%);

  /* Dark ground (default) */
  --bg: #07070c;
  --bg-elevated: #0e0f18;
  --bg-sunken: #05050a;
  --surface: rgba(255, 255, 255, 0.038);
  --surface-strong: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f2f4f8;
  --text-muted: #a3abbd;
  --text-faint: #6f7789;

  --accent: var(--cyan);
  --accent-ink: #04121a;
  --ok: #34d399;
  --warn: #fbbf24;
  --no: #f87171;

  --glow: 0 0 0 1px rgba(34, 211, 238, 0.22), 0 18px 60px -24px rgba(34, 211, 238, 0.5);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5), 0 24px 60px -32px rgba(0, 0, 0, 0.9);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 40px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* Light ground — applied when the OS asks for it, unless the reader forced dark */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f3ef;
    --bg-elevated: #ffffff;
    --bg-sunken: #eae8e2;
    --surface: rgba(12, 14, 20, 0.035);
    --surface-strong: rgba(12, 14, 20, 0.06);
    --border: rgba(12, 14, 20, 0.11);
    --border-strong: rgba(12, 14, 20, 0.2);

    --text: #14161c;
    --text-muted: #4d5464;
    --text-faint: #767e90;

    --accent: #0e7490;
    --accent-ink: #ffffff;
    --ok: #047857;
    --warn: #b45309;
    --no: #b91c1c;

    --glow: 0 0 0 1px rgba(14, 116, 144, 0.18), 0 18px 50px -28px rgba(14, 116, 144, 0.45);
    --shadow-card: 0 1px 2px rgba(12, 14, 20, 0.06), 0 18px 44px -30px rgba(12, 14, 20, 0.4);
  }
}

/* ...and again for the explicit toggle, so it wins in both directions */
:root[data-theme="light"] {
  --bg: #f4f3ef;
  --bg-elevated: #ffffff;
  --bg-sunken: #eae8e2;
  --surface: rgba(12, 14, 20, 0.035);
  --surface-strong: rgba(12, 14, 20, 0.06);
  --border: rgba(12, 14, 20, 0.11);
  --border-strong: rgba(12, 14, 20, 0.2);

  --text: #14161c;
  --text-muted: #4d5464;
  --text-faint: #767e90;

  --accent: #0e7490;
  --accent-ink: #ffffff;
  --ok: #047857;
  --warn: #b45309;
  --no: #b91c1c;

  --glow: 0 0 0 1px rgba(14, 116, 144, 0.18), 0 18px 50px -28px rgba(14, 116, 144, 0.45);
  --shadow-card: 0 1px 2px rgba(12, 14, 20, 0.06), 0 18px 44px -30px rgba(12, 14, 20, 0.4);
}

/* --- Reset -------------------------------------------------------------- */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 82% -8%, rgba(168, 85, 247, 0.14), transparent 62%),
    radial-gradient(760px 480px at 6% 2%, rgba(34, 211, 238, 0.13), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5.6vw, 3.7rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: 0.45em; }

code {
  font-family: var(--font-mono);
  font-size: 0.87em;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.12em 0.42em;
  word-break: break-word;
}

hr { border: 0; border-top: 1px solid var(--border); margin: 2.6rem 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* --- Layout ------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

section { padding-block: clamp(56px, 9vw, 104px); }
section > .wrap > header { margin-bottom: clamp(32px, 5vw, 52px); }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85em;
}

.lede {
  font-size: clamp(1.06rem, 2.1vw, 1.28rem);
  color: var(--text-muted);
  max-width: 66ch;
}

.section-alt { background: var(--bg-sunken); border-block: 1px solid var(--border); }

/* --- Header / nav ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 10px rgba(0,0,0,.35); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-strong); font-weight: 600; }

.nav-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}
.icon-btn:hover { background: var(--surface-strong); border-color: var(--border-strong); }
.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle { display: none; }
:root[data-theme="light"] .theme-icon-sun,
:root:not([data-theme="dark"]) .theme-icon-sun { display: none; }
:root[data-theme="light"] .theme-icon-moon,
:root:not([data-theme="dark"]) .theme-icon-moon { display: block; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-icon-moon { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav .btn--sm { display: none; }
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 13px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn--primary {
  background: var(--brand-gradient);
  color: #04070f;
  box-shadow: 0 10px 34px -14px rgba(59, 130, 246, 0.85);
}
.btn--primary:hover { box-shadow: 0 16px 44px -14px rgba(59, 130, 246, 0.95); }

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

.btn--sm { padding: 9px 17px; font-size: 0.92rem; border-radius: 11px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 13px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 17px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  min-width: 196px;
}
.store-badge:hover { background: var(--surface-strong); transform: translateY(-1px); }
.store-badge svg { width: 27px; height: 27px; flex-shrink: 0; }
.store-badge span { display: block; line-height: 1.28; }
.store-badge .badge-top { font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-faint); }
.store-badge .badge-main { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.02em; }

/* --- Hero --------------------------------------------------------------- */

.hero { padding-block: clamp(48px, 8vw, 92px) clamp(56px, 9vw, 100px); position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .btn-row, .hero-grid .hero-facts { justify-content: center; }
  .hero-grid .lede { margin-inline: auto; }
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.hero-facts li {
  margin: 0;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}

.phone-stack { position: relative; display: grid; place-items: center; min-height: 460px; }
.phone-stack::before {
  content: "";
  position: absolute;
  inset: 6% 12%;
  background: var(--brand-gradient);
  filter: blur(74px);
  opacity: 0.34;
  border-radius: 50%;
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  border-radius: 34px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  padding: 7px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 272px;
}
.phone img { border-radius: 27px; width: 100%; }

.phone--back {
  position: absolute;
  z-index: 0;
  max-width: 214px;
  opacity: 0.62;
  transform: translate(-58%, 4%) rotate(-7deg) scale(0.9);
  filter: blur(0.4px);
}
@media (max-width: 620px) { .phone--back { display: none; } }

/* --- Cards -------------------------------------------------------------- */

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 0; }
.card > ul { color: var(--text-muted); font-size: 0.97rem; }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--accent);
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }

.card--accent { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--glow); }

/* --- Screenshot gallery ------------------------------------------------- */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(16px, 2.6vw, 26px);
}
.shot { margin: 0; }
.shot img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}
.shot figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

/* --- Feature list ------------------------------------------------------- */

.feature-block { display: grid; gap: clamp(28px, 5vw, 60px); align-items: center; }
.feature-block + .feature-block { margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 860px) {
  .feature-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-block--flip .feature-media { order: -1; }
}
.feature-media { display: grid; place-items: center; }
.feature-media img {
  max-width: 260px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.7em;
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 17px; height: 9px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.check-list strong { color: var(--text); font-weight: 600; }

/* --- Tables ------------------------------------------------------------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
caption { text-align: left; padding: 16px 20px 0; color: var(--text-faint); font-size: 0.88rem; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { font-size: 0.76rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; background: var(--surface); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--text); }
td { color: var(--text-muted); }

.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--no); font-weight: 700; }
.partial { color: var(--warn); font-weight: 700; }

/* --- Pricing ------------------------------------------------------------ */

.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); align-items: start; }
.plan { position: relative; }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 6px 0 4px; }
.plan .price small { font-size: 0.94rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.plan .plan-note { font-size: 0.9rem; color: var(--text-faint); margin-bottom: 20px; }
.plan-tag {
  position: absolute;
  top: -12px; right: 22px;
  background: var(--brand-gradient);
  color: #04070f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}

/* --- FAQ ---------------------------------------------------------------- */

.faq { display: grid; gap: 11px; }
details.qa {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}
details.qa[open] { border-color: var(--border-strong); }
details.qa summary {
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
details.qa[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
details.qa .qa-body { padding: 0 20px 20px; color: var(--text-muted); font-size: 0.97rem; }

/* --- Callouts ----------------------------------------------------------- */

.note {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0 0 1.3em;
}
.note strong { color: var(--text); }
.note--warn { border-left-color: var(--warn); }

/* --- Legal pages -------------------------------------------------------- */

.legal { padding-block: clamp(40px, 6vw, 72px); }
.legal h1 { margin-bottom: 0.3em; }
.legal .updated { color: var(--text-faint); font-size: 0.92rem; margin-bottom: 2.4em; }
.legal h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin-top: 2.4em; padding-top: 0.3em; scroll-margin-top: 92px; }
.legal h3 { font-size: 1.08rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--text-muted); }
.legal strong { color: var(--text); }
.legal .table-scroll { margin-bottom: 1.6em; }

.toc {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 2.6em;
}
.toc h2 { margin-top: 0; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-faint); }
.toc ol { margin: 0; padding-left: 1.25em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 0.35em; break-inside: avoid; font-size: 0.94rem; }
@media (max-width: 620px) { .toc ol { columns: 1; } }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-sunken);
  padding-block: clamp(44px, 6vw, 66px) 28px;
  margin-top: clamp(40px, 6vw, 80px);
}
.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 34px;
}
.footer-grid h4 {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.55em; }
.footer-grid a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; }
.footer-about p { color: var(--text-muted); font-size: 0.94rem; max-width: 42ch; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  color: var(--text-faint);
  font-size: 0.88rem;
}
.disclaimer { color: var(--text-faint); font-size: 0.82rem; line-height: 1.6; margin-top: 18px; max-width: 88ch; }

/* --- Reveal animation --------------------------------------------------- */

/* .reveal starts hidden ONLY when JavaScript is running. The inline snippet in
   <head> stamps `js` on the root element before first paint, so a reader with
   JS off — and any crawler that does not execute it — sees every section. */
:root.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
:root.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  :root.js .reveal { opacity: 1; transform: none; }
}

/* --- Print -------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .btn-row, .toc { display: none; }
  body { background: #fff; color: #000; }
  .legal p, .legal li { color: #000; }
}

/* --- Official store badges ---------------------------------------------
   Google Play's asset ships with ~16% built-in padding; Apple's SVG has none.
   The negative margin cancels that padding so the two buttons look the same
   optical height when they sit side by side.
   ------------------------------------------------------------------------ */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-badges li { margin: 0; }

.badge-link {
  display: inline-block;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.14s ease, opacity 0.14s ease;
}
.badge-link:hover { transform: translateY(-2px); }
.badge-link img, .badge-link svg { display: block; }

.badge-img--play { height: 68px; width: auto; margin: -11px -10px; }
.badge-img--apple { height: 46px; width: auto; }

/* Not yet on the App Store: still shown, plainly marked, and not a dead link. */
.badge-link--soon { cursor: default; position: relative; }
.badge-link--soon .badge-img--apple { opacity: 0.42; filter: grayscale(1); }
.badge-link--soon:hover { transform: none; }

.badge-soon-label {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-faint);
}

/* Apple's black badge disappears on a light ground — give it a hairline. */
:root[data-theme="light"] .badge-img--apple,
:root:not([data-theme="dark"]) .badge-img--apple { border-radius: 7px; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .badge-img--apple { box-shadow: 0 0 0 1px rgba(12,14,20,.14); }
}
:root[data-theme="light"] .badge-img--apple { box-shadow: 0 0 0 1px rgba(12,14,20,.14); }
