/* Mona Radio — public site. Dark-first, system type, no framework.
   Logo and colours come from the approved Mona Radio brand board; they dress
   the chrome only. Product screenshots carry the visual story. */

:root {
  color-scheme: dark;

  /* Approved brand board palette. */
  --ink-0: #0B1020;          /* Dark BG */
  --ink-1: #111830;          /* raised surface */
  --ink-2: #18213f;          /* raised further */
  --line: rgba(160, 180, 255, 0.12);
  --line-strong: rgba(160, 180, 255, 0.22);

  --text: #f4f6fb;
  --text-2: rgba(226, 232, 248, 0.66);
  --text-3: rgba(226, 232, 248, 0.42);

  --cyan: #00E0FF;           /* Cyan */
  --blue: #0A84FF;           /* Radio Blue */
  --purple: #8B5CFF;         /* Purple */
  --accent: #00E0FF;         /* eyebrows */
  --link: #3D9EFF;           /* Radio Blue, lifted for small text on Dark BG */

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(88px, 12vw, 152px);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(44px, 8.4vw, 96px); letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 5.2vw, 60px); }
h3 { font-size: 21px; letter-spacing: -0.012em; line-height: 1.25; }
p { margin: 0; }

.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--text); color: var(--ink-0); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent); margin-bottom: 18px; }
.lede { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.45; color: var(--text-2); letter-spacing: -0.01em; text-wrap: pretty; }
.muted { color: var(--text-2); }
.fine { font-size: 14px; color: var(--text-3); }

/* ── Brand ─────────────────────────────────────────────── */

/* The approved brand lockups, used as delivered (assets/brand/). Never
   redrawn, recoloured or re-typeset here. */
.brand-link { display: inline-flex; align-items: center; }
.brand-link:hover { text-decoration: none; }
.brand-horizontal { height: 32px; width: auto; }
.brand-link--footer .brand-horizontal { height: 30px; }
/* 357 px raster: 165 CSS px wide keeps it above 2x on Retina. */
.brand-primary { width: 165px; height: auto; margin: 0 auto 36px; }
.brand-primary--small { width: 140px; margin-bottom: 28px; }

/* ── Header ────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 16, 32, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text-2); font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav .nav-cta { color: #fff; background: var(--blue); padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.nav .nav-cta:hover { color: #fff; background: #2b95ff; }
.menu-toggle { display: none; }

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 1px solid var(--line-strong); color: var(--text);
    font: 600 14px var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer;
  }
  .nav {
    position: absolute; left: 0; right: 0; top: 56px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(11, 16, 32, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  /* Without JavaScript the menu is simply open. */
  .no-js .nav { position: static; display: flex; }
  .no-js .menu-toggle { display: none; }
}

/* ── Buttons ───────────────────────────────────────────── */

.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px var(--font); letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer;
}
.button:hover { text-decoration: none; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: #2b95ff; }
.button.secondary { color: var(--text); border-color: var(--line-strong); }
.button.secondary:hover { border-color: var(--text-2); }
/* Local prototype placeholder styles retained for future drafts. */
.button.pending { background: var(--ink-2); color: var(--text-2); border-color: var(--line); cursor: default; flex-direction: column; gap: 0; line-height: 1.15; padding: 6px 24px; }
.button.pending small { font-size: 11px; font-weight: 500; color: var(--text-3); letter-spacing: 0.02em; }

/* ── Sections ──────────────────────────────────────────── */

.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 + .lede { margin-top: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(56px, 8vw, 96px); text-align: center; }
.hero::before {
  /* One quiet field of light behind the product: the mark's gradient, far away. */
  content: ""; position: absolute; inset: auto 0 0 0; height: 75%;
  background:
    radial-gradient(60% 55% at 50% 70%, rgba(10, 132, 255, 0.20), transparent 70%),
    radial-gradient(40% 40% at 35% 80%, rgba(0, 224, 255, 0.10), transparent 70%),
    radial-gradient(40% 40% at 68% 78%, rgba(139, 92, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.hero .shell { position: relative; }
.hero h1 { max-width: 12ch; margin-inline: auto; }
.hero .lede { max-width: 640px; margin: 24px auto 0; }
.hero .actions { justify-content: center; margin-top: 36px; }
.hero .hero-visual { margin-top: clamp(48px, 7vw, 88px); }

/* Device frames — real captures only; empty slots say so. */
.frame {
  position: relative; margin: 0;
  border-radius: clamp(18px, 2.4vw, 34px);
  padding: clamp(7px, 0.9vw, 12px);
  background: linear-gradient(180deg, #1c2235, #0d111d);
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 120px -40px rgba(10, 132, 255, 0.40), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.frame img, .frame .slot { border-radius: clamp(11px, 1.6vw, 22px); width: 100%; }
.frame.ipad { max-width: 1040px; margin-inline: auto; }
figure.shot { margin: 0; }
figure figcaption { margin-top: 14px; font-size: 14px; color: var(--text-3); text-align: center; }

.slot {
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(160, 180, 255, 0.035) 0 1px, transparent 1px 14px),
    var(--ink-1);
  border: 1px dashed var(--line-strong);
  color: var(--text-3); font-size: 14px; line-height: 1.4;
  padding: 24px;
}
.slot strong { display: block; color: var(--text-2); font-size: 15px; margin-bottom: 4px; }
.slot.r-ipad { aspect-ratio: 4 / 3; }
.slot.r-mac { aspect-ratio: 16 / 10; }
.slot.r-iphone { aspect-ratio: 9 / 19.5; }

/* Apple ecosystem */
.devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.device {
  background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 28px 22px 26px; display: flex; flex-direction: column; gap: 10px; min-height: 220px;
}
.device svg { width: 34px; height: 34px; color: var(--cyan); margin-bottom: 10px; }
.device p { color: var(--text-2); font-size: 15px; line-height: 1.45; }
.device .tag { margin-top: auto; }
@media (max-width: 1000px) { .devices { grid-template-columns: repeat(2, 1fr); } .device:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .devices { grid-template-columns: 1fr; } .device:last-child { grid-column: auto; } .device { min-height: 0; } }

/* Capabilities */
.capabilities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.capability {
  background: linear-gradient(180deg, var(--ink-1), rgba(11, 15, 26, 0.4));
  border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 44px);
}
.capability h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 12px; }
.capability p { color: var(--text-2); }
.capability ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.capability li { font-size: 13px; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 760px) { .capabilities { grid-template-columns: 1fr; } }

.feature-visual { margin-top: clamp(48px, 7vw, 80px); }

/* Tags — the only public radio labels are Preview and Receive Only. */
.tag {
  display: inline-flex; align-items: center; width: fit-content;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: 999px;
  color: var(--text-2); border: 1px solid var(--line-strong);
}
.tag.preview { color: #cfe5ff; border-color: rgba(10, 132, 255, 0.55); background: rgba(10, 132, 255, 0.14); }
.tag.rx { color: #c6f8ff; border-color: rgba(0, 224, 255, 0.45); background: rgba(0, 224, 255, 0.10); }
.tag.later { color: var(--text-3); }

/* Radios */
.radio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.radio {
  background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; min-height: 120px;
}
.radio .model { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.radio .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
@media (max-width: 900px) { .radio-grid { grid-template-columns: repeat(2, 1fr); } }
.radio-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }

/* Relay */
.relay { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.relay-diagram { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(18px, 3vw, 32px); }
.relay-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.relay-points li { padding-left: 22px; position: relative; color: var(--text-2); }
.relay-points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.relay-points strong { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .relay { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: start; }
.gallery figure { margin: 0; }
.gallery .g-ipad { grid-column: span 6; }
.gallery .g-mac { grid-column: span 4; }
.gallery .g-iphone { grid-column: span 2; justify-self: center; width: min(100%, 236px); }
.gallery .frame { box-shadow: 0 30px 70px -40px rgba(10, 132, 255, 0.35); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-ipad { grid-column: 1 / -1; }
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--cyan); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--text-2); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Final CTA */
.final { text-align: center; }
.final h2 { max-width: 16ch; margin-inline: auto; }
.final .lede { max-width: 560px; margin: 20px auto 0; }
.final .actions { justify-content: center; margin-top: 34px; }

/* ── Inner pages ───────────────────────────────────────── */

.page-hero { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 72px); max-width: 16ch; }
.page-hero .lede { max-width: 680px; margin-top: 22px; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p, .prose ul + p, .prose ol + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 14px 0 0; display: grid; gap: 8px; }
.prose strong { color: var(--text); font-weight: 600; }

.card { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 40px); }
.card + .card { margin-top: 14px; }
.card h2 { font-size: clamp(24px, 2.8vw, 30px); margin-bottom: 14px; }
.card h3 { margin: 24px 0 8px; }
.card p, .card li { color: var(--text-2); }
.card ol, .card ul { padding-left: 1.25em; margin: 12px 0 0; display: grid; gap: 8px; }
.card strong { color: var(--text); font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.aside { position: sticky; top: 84px; }
.aside nav { display: grid; gap: 10px; margin-top: 12px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .aside { position: static; } }

/* Radio table */
.radio-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.radio-table th, .radio-table td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.radio-table th { font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: 0.02em; }
.radio-table td { color: var(--text-2); font-size: 15px; }
.radio-table td.model { color: var(--text); font-weight: 700; font-size: 18px; white-space: nowrap; }
.radio-table .tags { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 760px) {
  .radio-table thead { display: none; }
  .radio-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .radio-table td { border: 0; padding: 0; }
  .radio-table td.status { grid-column: 2; grid-row: 1; }
  .radio-table td:not(.model):not(.status) { grid-column: 1 / -1; }
  .radio-table td[data-label]:not(.model):not(.status)::before { content: attr(data-label) " · "; color: var(--text-3); }
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--text-2); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-grid .card + .card { margin-top: 0; }
.contact-grid a { font-weight: 600; word-break: break-word; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }


/* ── Footer ────────────────────────────────────────────── */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a { color: var(--text-2); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.footer-bottom p { font-size: 13px; color: var(--text-3); }
