/* Meus site. One file, no external resources. The app's look: a black studio, an orange neon sign (the app icon),
   the ON AIR lamp over a tuner clock (RadioView.swift). Fonts are the system's: SF on Apple devices, like the app. */
:root {
  --font: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --bg: #000;                 /* Color.ground */
  --raised: #120d0a;          /* a warm dark, lit from the sign */
  --line: #2b211b;
  --text: #f6efe8;
  --muted: #b3a79c;
  --accent: #e35c14;          /* Color.accent */
  --tube: #ffcc99;            /* a lit tube, ON AIR's letters */
  --glow: #ff6b14;            /* its glow */
  --link: #ff9a4d;            /* the accent lightened to read on black */
  --todo: #ffd27a;
  --neon: 0 0 2px var(--glow), 0 0 7px var(--glow), 0 0 16px rgb(255 107 20 / 0.9), 0 0 30px rgb(255 107 20 / 0.6);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem);
  --step-3: clamp(2.4rem, 1.7rem + 3.2vw, 4rem);
  --gutter: 16px;
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --gutter: 32px; --step-0: 1.125rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--step-0)/1.6 var(--font);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--round); line-height: 1.1; margin: 0 0 0.6em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--step-3); letter-spacing: -0.02em; }
h2 { font-size: var(--step-2); letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.small { font-size: var(--step--1); color: var(--muted); }
mark.todo { background: var(--todo); color: #1b1400; padding: 0 0.3em; border-radius: 3px; font-size: 0.8em; font-weight: 600; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: 0.6em 1em; z-index: 10; }
.skip:focus { left: var(--gutter); top: 0.5rem; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font: 700 1.25rem var(--round); }
.brand img { border-radius: 8px; }
.nav { display: none; gap: 1.4rem; margin-right: auto; }
.nav a, .langs a { color: var(--muted); text-decoration: none; font-size: var(--step--1); padding: 0.4rem 0; }
.nav a:hover, .langs a:hover { color: var(--text); }
.langs { display: flex; gap: 0.9rem; margin-left: auto; }
.langs a[aria-current] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); }
@media (min-width: 760px) { .nav { display: flex; margin-left: 1rem; } .langs { margin-left: 0; } }

/* the ON AIR lamp: lit tubes in a rounded frame, like the player's */
.lamp {
  display: inline-block; margin: 0 0 1.25rem; padding: 0.3em 0.85em; border: 2.5px solid var(--tube); border-radius: 9px;
  font: 600 0.95rem/1.2 var(--round); letter-spacing: 0.18em; color: var(--tube);
  text-shadow: var(--neon); box-shadow: var(--neon), inset 0 0 8px rgb(255 107 20 / 0.5);
}

/* hero: the neon sign switches on */
.hero { padding: 2rem 0 3.5rem; overflow: hidden; }
.hero-in { display: grid; gap: 1.5rem; align-items: center; }
.hero-sign { position: relative; width: min(24rem, 82%); justify-self: center; }
.hero-sign::before {    /* the light the sign throws on the wall */
  content: ""; position: absolute; inset: -30%; z-index: -1; transition: opacity 1s;
  background: radial-gradient(closest-side, rgb(255 107 20 / 0.28), rgb(255 107 20 / 0.08) 55%, transparent);
}
.sign-stack { position: relative; aspect-ratio: 1; border-radius: 22%; overflow: hidden; background: #000; }
.sign-stack img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tube { mix-blend-mode: plus-lighter; }      /* light layers add up, like light does */
.sign { transition: opacity 0.6s; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) { .tube, .sign { opacity: 0; } }
.relight {
  display: block; margin: 1rem auto 0; font: inherit; font-size: var(--step--1); color: var(--muted); cursor: pointer;
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.45em 1.1em;
}
.relight:hover { color: var(--text); border-color: var(--accent); }
.lead { font-size: var(--step-1); max-width: 40ch; }
.store-slot { margin: 1.75rem 0 1rem; }
.store-soon, .store-text {
  display: inline-block; margin: 0; padding: 0.75em 1.4em; border-radius: 999px; font-weight: 600; color: #fff;
  background: linear-gradient(#ff9e40, var(--accent)); box-shadow: 0 0 24px rgb(227 92 20 / 0.45);
}
a.store { display: inline-block; text-decoration: none; }
a.store img { height: 40px; width: auto; }
@media (min-width: 860px) {
  .hero { padding: 4.5rem 0 6rem; }
  .hero-in { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
  .hero-sign { order: 2; width: 100%; }
}
/* sections */
.band { padding: 3.5rem 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .band { padding: 5.5rem 0; } }
.section-lead { color: var(--muted); margin-bottom: 2rem; }
.split { display: grid; gap: 2rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; } }

/* how it works: plain steps, and a phone with the app's real screens */
.how { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .how { grid-template-columns: 1fr 21rem; gap: 5rem; } }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.15rem; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 2px solid var(--tube); color: var(--tube); display: grid; place-items: center; font: 600 1rem var(--round);
  text-shadow: var(--neon); box-shadow: 0 0 10px rgb(255 107 20 / 0.55), inset 0 0 6px rgb(255 107 20 / 0.4);
}
.steps h3 { font-size: var(--step-1); margin-bottom: 0.2em; }
.steps p { color: var(--muted); }
.phone-wrap { margin: 0; justify-self: center; width: min(19rem, 100%); display: grid; gap: 0.9rem; justify-items: center; text-align: center; }
.phone {
  width: 100%; padding: 0.55rem; border-radius: 3rem;
  background: linear-gradient(150deg, #3a302a, #120d0a 40%, #2a221d); box-shadow: 0 0 0 1px #4a3d34, 0 30px 80px rgb(255 107 20 / 0.14);
}
.screen { display: block; width: 100%; padding: 0; border: 0; border-radius: 2.5rem; overflow: hidden; background: #000; cursor: pointer; }
.screen img { width: 100%; height: auto; }
.screen img.swap { animation: swap 0.45s ease-out; }
@keyframes swap { from { opacity: 0.3; } }
.phone-wrap figcaption { display: flex; align-items: center; gap: 0.9rem; }
.listen {
  font: 600 var(--step--1) var(--font); color: #fff; cursor: pointer; border: 0; border-radius: 999px; padding: 0.6em 1.3em;
  background: linear-gradient(#ff9e40, var(--accent)); box-shadow: 0 0 18px rgb(227 92 20 / 0.45);
}
.listen[aria-pressed="true"] { background: var(--raised); color: var(--tube); box-shadow: inset 0 0 0 1.5px var(--accent); }
.now-playing { display: grid; text-align: left; line-height: 1.3; font-size: var(--step--1); }
.now-playing span { color: var(--muted); }
.phone-wrap .small { margin: 0; }

/* stations: all the neon signs, one grid (11 and your own: 6 x 2, 4 x 3, 3 x 4, 2 x 6) */
.tiles { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(6, 1fr); } }
.tile { position: relative; display: grid; align-content: start; gap: 0.35rem; margin: 0; padding: 1rem; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); }
.tile img { width: 6rem; height: 6rem; border-radius: 22%; margin-bottom: 0.5rem; transition: box-shadow 0.3s, transform 0.3s; }
.tile:hover img { transform: translateY(-2px); box-shadow: 0 0 26px rgb(255 107 20 / 0.35); }
.st-name { font: 600 1.05rem/1.25 var(--round); }
.st-line { color: var(--muted); font-size: var(--step--1); line-height: 1.45; }
.own { border-style: dashed; border-color: var(--accent); }
.tile-play {    /* play / pause, drawn in CSS */
  position: absolute; top: 5.4rem; left: 5.4rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--accent); background: rgb(0 0 0 / 0.75);    /* a badge on the logo's corner */
}
.tile-play::before {
  content: ""; position: absolute; left: 52%; top: 50%; translate: -50% -50%; border-style: solid; border-color: transparent transparent transparent var(--tube);
  border-width: 0.45rem 0 0.45rem 0.75rem;
}
.tile-play[aria-pressed="true"] { background: var(--accent); box-shadow: 0 0 16px rgb(227 92 20 / 0.6); }
.tile-play[aria-pressed="true"]::before { left: 50%; width: 0.7rem; height: 0.85rem; border: 0; border-inline: 0.25rem solid #fff; }
.caption { margin-top: 0.5rem; }

/* looks: the app's screens, side by side, scrolled */
.looks {
  list-style: none; margin: 0; padding: 0 0 1rem; display: grid; grid-auto-flow: column; grid-auto-columns: 9.5rem; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--accent) transparent;
}
.looks li { scroll-snap-align: start; display: grid; gap: 0.5rem; text-align: center; font: 600 var(--step--1) var(--round); }
.looks img { width: 100%; height: auto; border-radius: 1.2rem; border: 1px solid var(--line); }

/* lists with a small lit tube */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0.55rem 0 0.55rem 1.6rem; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 1.15rem; width: 0.75rem; height: 2px; border-radius: 1px;
  background: var(--tube); box-shadow: 0 0 6px var(--glow);
}

/* privacy label */
.label-box { border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem 1.5rem; background: var(--raised); }
.label-head { color: var(--muted); font-size: var(--step--1); margin: 0; }
.label-title { font: 700 var(--step-2)/1.15 var(--round); color: var(--tube); text-shadow: 0 0 14px rgb(255 107 20 / 0.6); margin: 0.1em 0 0.6em; }

/* pricing */
.plans { margin: 0 0 1.5rem; display: grid; gap: 0.75rem; max-width: 52rem; }
.plan { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; }
.plan dt { font: 700 var(--step-1) var(--round); }
.plan dd { margin: 0; color: var(--muted); grid-column: 1 / -1; }
.plan dd.price { grid-column: 2; grid-row: 1; color: var(--text); font-weight: 700; font-size: var(--step-1); text-align: right; }
.plan dd.price span { font-weight: 400; font-size: var(--step--1); color: var(--muted); }
.plan-main { border-color: var(--accent); background: var(--raised); box-shadow: 0 0 24px rgb(227 92 20 / 0.2); }
@media (min-width: 700px) { .plan { grid-template-columns: 10rem 1fr auto; align-items: baseline; } .plan dd { grid-column: 2; grid-row: 1; } .plan dd.price { grid-column: 3; } }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin: 0 0 0.4rem; max-width: 70ch; }

/* facts (requirements, press) */
.facts { margin: 0; display: grid; border-top: 1px solid var(--line); max-width: 46rem; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* faq */
.faq { max-width: 48rem; border-top: 1px solid var(--line); margin-bottom: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.9rem; color: var(--link); font-size: 1.3em; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); }

/* text pages */
.page { padding: 3rem 0 4rem; }
.prose > *, .prose > div > * { max-width: 46rem; }
.prose h1 { font-size: var(--step-2); }
.prose h2 { font-size: var(--step-1); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-0); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose .meta { color: var(--muted); font-size: var(--step--1); }
.prose .facts div { grid-template-columns: 9rem 1fr; }
pre.license {
  white-space: pre-wrap; font: var(--step--1)/1.5 var(--mono); color: var(--muted);
  background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; overflow-wrap: anywhere;
}
.button {
  display: inline-block; background: linear-gradient(#ff9e40, var(--accent)); color: #fff; padding: 0.7em 1.3em;
  border-radius: 999px; font-weight: 600; text-decoration: none;
}

/* footer */
.foot { border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: var(--step--1); color: var(--muted); }
.foot-in { display: grid; gap: 2rem; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot-name { display: flex; align-items: center; gap: 0.55rem; color: var(--text); font: 700 1.1rem var(--round); }
.foot-name img { border-radius: 7px; }
.foot-links { display: flex; flex-direction: column; gap: 0.35rem; }
.foot-links a { color: var(--text); text-decoration: none; padding: 0.15rem 0; }
.foot-links a:hover { text-decoration: underline; }
.trader { font-style: normal; display: flex; flex-direction: column; gap: 0.2rem; }
.trader-title { color: var(--text); font-weight: 600; }
.fine { margin-top: 2rem; font-size: 0.8rem; }
