/* Radio Live — radio-live.me
   The app icon is white line-art on near-black, so the site is monochrome too:
   one ink, one paper, and hierarchy carried by size and space rather than hue. */

:root {
  color-scheme: dark;

  --bg: #0a0a0b;
  --surface: #151518;
  --surface-hi: #1c1c20;
  --border: #26262b;
  --border-hi: #3d3d45;
  --text: #f4f4f5;
  --muted: #9a9aa3;

  --radius: 14px;
  --wrap: 860px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 20px 96px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
}

.wrap { max-width: var(--wrap); margin: 0 auto; }

a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--border-hi); }
a:hover { text-decoration-color: currentColor; }

h1, h2, h3 { font-weight: 650; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 72px;
  text-align: center;
}

/* Concentric arcs echoing the antenna in the app icon. Decoration only. */
.hero-bg {
  position: absolute;
  inset: -60px 0 auto;
  height: 560px;
  z-index: 0;
  pointer-events: none;
  color: #ffffff;
  opacity: 0.09;
  -webkit-mask-image: radial-gradient(52% 58% at 50% 26%, #000 0%, transparent 78%);
  mask-image: radial-gradient(52% 58% at 50% 26%, #000 0%, transparent 78%);
}
.hero-bg svg { width: 100%; height: 100%; display: block; }

.hero > *:not(.hero-bg) { position: relative; z-index: 1; }

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.7);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}

.hero .tagline {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
  margin: 0 auto 34px;
  max-width: 22em;
  text-wrap: balance;
}

/* Official store artwork, used unmodified apart from trimming the transparent
   clear space off the Play badge — the clear space is honoured with margin
   instead, so the two badges line up on their ink rather than their bounding
   boxes. Both are drawn at the same 44px height. */
.stores { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  border-radius: 8px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.store-badge:hover { transform: translateY(-2px); opacity: 0.88; }
.store-badge:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.store-badge img { display: block; height: 44px; width: auto; }

.platforms {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- features ---------- */

.features { padding: 8px 0 24px; }

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 14px;
}

.feature {
  padding: 24px 22px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.feature-icon { width: 26px; height: 26px; display: block; color: var(--text); opacity: 0.85; margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.feature-note { margin: 20px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- documents ---------- */

.doc { padding: 48px 0 0; }
.doc h2 { font-size: 30px; margin: 0 0 6px; letter-spacing: -0.02em; }
.doc h3 { font-size: 19px; margin: 38px 0 10px; letter-spacing: -0.01em; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc a { text-decoration: underline; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
}

.table-scroll { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface); font-weight: 600; }

/* ---------- support channels ---------- */

.channels {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 12px;
}

.channel {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.channel, .doc .channel { text-decoration: none; }
.channel:hover { transform: translateY(-2px); border-color: var(--border-hi); }
.channel-icon { grid-row: 1 / 3; width: 26px; height: 26px; opacity: 0.85; }
.channel-name { font-weight: 600; letter-spacing: -0.01em; }
.channel-detail { color: var(--muted); font-size: 14px; word-break: break-word; }

.reply-time { color: var(--muted); font-size: 15px; }

/* ---------- chrome ---------- */

.topbar { padding: 22px 0; border-bottom: 1px solid var(--border); }
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.topbar a:hover { color: var(--text); }
.topbar img { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border); }

footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}
footer a { color: var(--muted); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
footer .brand { margin: 10px 0 0; font-size: 14px; letter-spacing: 0.02em; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 52px; }
  .hero .tagline { font-size: 18px; }
  .app-icon { width: 84px; height: 84px; border-radius: 19px; }
    .features { padding-bottom: 16px; }
  .doc h2 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
