:root {
  --black: #08090d;
  --ink: #12141b;
  --panel: #171a22;
  --panel-soft: #20242d;
  --white: #ffffff;
  --paper: #f4f3f0;
  --muted: #a7a9b2;
  --line: #343842;
  --pink: #ff2d8d;
  --cyan: #25d9f8;
  --orange: #ff9418;
  --green: #31d17c;
  --red: #ff4d54;
  font-family: "Inter", "Google Sans", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: var(--white);
  background: var(--black);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--black); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { width: 19px; height: 19px; flex: 0 0 auto; }
.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: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: var(--black); background: var(--cyan); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 62px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 9, 13, 0.94);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; text-decoration: none; }
.brand img { width: 44px; height: 44px; padding: 4px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.brand span, .footer-brand span { display: grid; gap: 2px; }
.brand strong, .footer-brand strong { font-size: 15px; }
.brand small, .footer-brand small { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.tabs { display: flex; align-self: stretch; gap: 26px; }
.tab { position: relative; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 13px; font-weight: 800; }
.tab::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 3px; background: var(--pink); content: ""; opacity: 0; transform: scaleX(0.65); transition: opacity 160ms ease, transform 160ms ease; }
.tab:hover, .tab:focus-visible, .tab.is-active { color: var(--white); }
.tab.is-active::after { opacity: 1; transform: scaleX(1); }
.header-download { display: inline-flex; justify-self: end; align-items: center; gap: 9px; min-height: 44px; padding: 0 17px; border: 1px solid var(--cyan); border-radius: 4px; color: var(--white); text-decoration: none; font-size: 13px; font-weight: 850; }
.header-download:hover, .header-download:focus-visible { color: var(--black); background: var(--cyan); }
.tab-panel[hidden] { display: none; }

.hero { position: relative; min-height: calc(100svh - 116px); max-height: 900px; padding: clamp(70px, 10vh, 110px) clamp(24px, 8vw, 128px) 70px; overflow: hidden; background: var(--black); }
.hero::after { position: absolute; bottom: 0; left: 0; width: 100%; height: 6px; background: var(--pink); border-right: 34vw solid var(--cyan); border-left: 34vw solid var(--orange); content: ""; }
.hero-copy { position: relative; z-index: 3; max-width: 690px; }
.hero-scene { position: absolute; z-index: 1; top: -40px; right: clamp(24px, 7vw, 118px); bottom: -170px; width: min(36vw, 430px); opacity: 0.9; transform: rotate(2deg); }
.hero-scene::before { position: absolute; top: 20%; right: -38%; width: 140%; height: 58%; border: 1px solid rgba(37, 217, 248, 0.34); border-right: 0; border-left: 0; content: ""; transform: skewY(-8deg); }
.hero-scene::after { position: absolute; z-index: -1; top: 18%; right: -22%; width: 95%; height: 64%; border: 1px solid rgba(255, 45, 141, 0.3); content: ""; transform: rotate(11deg); }
.device-shell { position: relative; width: 100%; padding: 10px; border: 2px solid #545963; border-radius: 54px; aspect-ratio: 9 / 19.8; background: #050608; box-shadow: 0 42px 100px rgba(0, 0, 0, 0.56); }
.device-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 44px; background: var(--white); }
.device-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.camera { position: absolute; z-index: 2; top: 14px; left: 50%; width: 14px; height: 14px; border: 2px solid #24262b; border-radius: 50%; background: #030303; transform: translateX(-50%); }
.side-key { position: absolute; right: -6px; width: 5px; border-radius: 0 3px 3px 0; background: #454a51; }
.side-key-top { top: 170px; height: 76px; }
.side-key-bottom { top: 270px; height: 120px; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: 0.12em; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(255, 77, 84, 0.13); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(44px, 6.1vw, 84px); line-height: 0.98; letter-spacing: 0; }
.hero-lede { max-width: 650px; margin-bottom: 32px; color: #d0d2d8; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; text-decoration: none; font-weight: 850; transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--black); background: var(--orange); }
.button-primary:hover { background: #ffad48; }
.button-secondary { border-color: #515660; color: var(--white); background: #181b22; }
.button-secondary:hover { border-color: var(--pink); }
.button:focus-visible, .tab:focus-visible, .header-download:focus-visible, .text-link:focus-visible, .icon-command:focus-visible, input:focus-visible { outline: 3px solid rgba(37, 217, 248, 0.42); outline-offset: 3px; }
.release-facts { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 1px; max-width: 620px; margin: 0 0 20px; border: 1px solid var(--line); background: var(--line); }
.release-facts div { min-width: 0; padding: 15px; background: rgba(23, 26, 34, 0.96); }
.release-facts dt { margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.release-facts dd { margin: 0; color: var(--white); font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.integrity { max-width: 660px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.integrity code, .security-list code { overflow-wrap: anywhere; color: #d9dbe1; }
.mainnet-strip { display: grid; grid-template-columns: minmax(150px, 0.25fr) 1fr; gap: 28px; padding: 24px clamp(24px, 8vw, 128px); color: #1a1212; background: var(--orange); }
.mainnet-strip strong { text-transform: uppercase; }
.mainnet-strip span { line-height: 1.5; }

.overview-band { padding: 80px clamp(24px, 8vw, 128px) 96px; background: var(--paper); color: var(--ink); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading .eyebrow { color: #b10c59; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c9c7c2; border-bottom: 1px solid #c9c7c2; }
.feature-grid article { min-width: 0; padding: 32px 32px 32px 0; }
.feature-grid article + article { padding-left: 32px; border-left: 1px solid #c9c7c2; }
.feature-grid svg { width: 27px; height: 27px; margin-bottom: 26px; color: #b10c59; }
.feature-grid h3 { margin-bottom: 12px; font-size: 20px; }
.feature-grid p { margin-bottom: 0; color: #50535b; line-height: 1.65; }

.page-intro { padding: 96px clamp(24px, 10vw, 160px) 62px; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 920px; }
.page-intro > p:last-child { max-width: 760px; margin-bottom: 0; color: #c6c8cf; font-size: 20px; line-height: 1.6; }
.steps { margin: 0; padding: 0 clamp(24px, 10vw, 160px); list-style: none; }
.steps li { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.step-number { color: var(--pink); font-size: 13px; font-weight: 900; }
.steps h2 { margin-bottom: 12px; font-size: 26px; }
.steps p { max-width: 780px; margin-bottom: 12px; color: #bfc1c8; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.external-link svg { width: 16px; height: 16px; }
.safety-note { display: flex; gap: 20px; margin: 44px clamp(24px, 10vw, 160px) 90px; padding: 24px; border-left: 5px solid var(--orange); color: var(--ink); background: var(--paper); }
.safety-note > svg { width: 25px; height: 25px; color: #a34d00; }
.safety-note p { margin: 5px 0 0; line-height: 1.55; }

.radio-layout { display: grid; grid-template-columns: minmax(300px, 0.7fr) minmax(520px, 1.3fr); align-items: center; gap: clamp(40px, 8vw, 120px); min-height: calc(100svh - 76px); padding: 80px clamp(24px, 8vw, 128px); background: var(--black); }
.radio-copy h1 { color: var(--pink); }
.radio-copy > p:not(.eyebrow) { max-width: 540px; color: #c4c6cd; font-size: 19px; line-height: 1.6; }
.player { display: grid; grid-template-columns: minmax(220px, 0.75fr) minmax(300px, 1.25fr); min-height: 420px; border: 1px solid var(--line); background: var(--panel); box-shadow: 18px 18px 0 var(--pink); }
.player-art { position: relative; min-height: 420px; overflow: hidden; background: #0d0f14; }
.player-art img { width: 100%; height: 100%; object-fit: cover; }
.station-state { position: absolute; top: 18px; left: 18px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 4px; background: rgba(8, 9, 13, 0.8); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.station-state.is-live::before { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--red); content: ""; }
.player-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 42px; }
.player-kicker { margin-bottom: 12px; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: 0.12em; }
.player h2 { margin-bottom: 10px; font-size: clamp(26px, 3vw, 42px); line-height: 1.08; overflow-wrap: anywhere; }
.track-artist { margin-bottom: 28px; color: #c4c6cd; font-size: 18px; }
.track-fidelity { margin-bottom: 26px; color: var(--cyan); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.player-controls { display: flex; align-items: center; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.icon-command { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border: 0; border-radius: 50%; color: var(--black); background: var(--orange); cursor: pointer; }
.icon-command svg { width: 24px; height: 24px; }
.volume-control { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.volume-control input { width: 120px; accent-color: var(--cyan); }
.playback-status { margin-left: auto; color: var(--muted); font-size: 12px; }

.security-list { padding: 0 clamp(24px, 10vw, 160px) 90px; }
.security-list article { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.security-list article > span { color: var(--orange); font-size: 13px; font-weight: 900; }
.security-list h2 { margin-bottom: 10px; font-size: 26px; }
.security-list p { max-width: 860px; margin-bottom: 0; color: #bfc1c8; line-height: 1.65; }

footer { display: grid; grid-template-columns: 1fr minmax(300px, 720px); align-items: center; gap: 40px; padding: 32px clamp(24px, 6vw, 92px); border-top: 1px solid var(--line); color: var(--muted); background: #0d0f14; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer-brand img { width: 36px; height: 36px; padding: 3px; object-fit: contain; border-radius: 6px; background: var(--white); }
footer p { margin: 0; font-size: 12px; line-height: 1.6; text-align: right; }

@media (max-width: 1060px) {
  .site-header { grid-template-columns: 1fr auto; }
  .tabs { grid-row: 2; grid-column: 1 / -1; justify-content: center; min-height: 44px; margin-top: 8px; border-top: 1px solid var(--line); }
  .tab::after { bottom: -10px; }
  .hero { min-height: 760px; }
  .hero-copy { max-width: 58%; }
  .hero-scene { right: -12px; width: 42vw; }
  .radio-layout { grid-template-columns: 1fr; }
  .radio-copy { max-width: 700px; }
}

@media (max-width: 760px) {
  .site-header { min-height: auto; padding: 10px 16px 0; }
  .brand small { display: none; }
  .header-download { min-height: 40px; padding: 0 12px; }
  .header-download span { display: none; }
  .tabs { justify-content: flex-start; gap: 22px; overflow-x: auto; }
  .tab { flex: 0 0 auto; min-height: 44px; }
  .hero { min-height: auto; max-height: none; padding: 42px 20px 38px; }
  .hero-copy { max-width: none; }
  .hero-scene { top: 132px; right: -122px; bottom: auto; width: 260px; opacity: 0.2; transform: rotate(2deg); }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-lede { margin-bottom: 24px; font-size: 16px; line-height: 1.5; }
  .hero-actions { flex-wrap: nowrap; gap: 8px; margin-bottom: 24px; }
  .hero-actions .button { min-height: 48px; padding: 0 10px; font-size: 12px; }
  .release-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
  .release-facts div { padding: 10px 8px; }
  .release-facts dt { font-size: 8px; }
  .release-facts dd { font-size: 11px; }
  .integrity { display: none; }
  .mainnet-strip { grid-template-columns: 1fr; gap: 8px; padding: 22px 20px; }
  .overview-band { padding: 62px 20px 72px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid #c9c7c2; }
  .feature-grid article:last-child { border-bottom: 0; }
  .page-intro { padding: 66px 20px 42px; }
  .page-intro > p:last-child { font-size: 17px; }
  .steps { padding: 0 20px; }
  .steps li { grid-template-columns: 50px 1fr; gap: 16px; }
  .safety-note { margin: 34px 20px 70px; }
  .radio-layout { min-height: auto; padding: 64px 20px 84px; }
  .player { grid-template-columns: 1fr; box-shadow: 9px 9px 0 var(--pink); }
  .player-art { min-height: 280px; }
  .player-body { padding: 30px 24px; }
  .player-controls { flex-wrap: wrap; }
  .playback-status { width: 100%; margin-left: 0; }
  .security-list { padding: 0 20px 70px; }
  .security-list article { grid-template-columns: 46px 1fr; gap: 14px; }
  footer { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; }
  footer p { text-align: left; }
}

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