/* Tune For Us: calm and clear. Navy for the frame (header, hero, footer), deep-blue accent with sand highlights, warm light page, white cards.
   System fonts only. Dark theme follows the device until the visitor picks one (theme.js sets data-theme). */
:root {
  --bg: #F6F3EB; --surface: #FFFFFF; --ink: #061221; --muted: #4E5F6E; --line: #E3DDCC; --chip: #DDE8ED;
  --accent: #2D5A74; --accent-strong: #2D5A74; --accent-ink: #FFFFFF; --highlight: #E6DFC9;
  --navy: #061221; --navy-2: #0F2438; --on-navy: #DDE8ED; --on-navy-muted: #9DB2C1; --navy-line: rgba(221,232,237,.12);
  --al: #2D5A74; --xk: #5A8AA6; --ds: #5A8AA6;
  --radius: 16px; --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: var(--font);
  --shadow: 0 1px 2px rgba(6,18,33,.04), 0 8px 24px rgba(6,18,33,.06);
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #061221; --surface: #0F2438; --ink: #EEF3F5; --muted: #A3B6C3; --line: #1E3A50; --chip: #163049;
  --accent: #8DB4CB; --accent-strong: #5A8AA6; --accent-ink: #061221;
  --navy: #030A14; --navy-2: #0F2438; --al: #8DB4CB; --xk: #E6DFC9; --ds: #E6DFC9;
  --shadow: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #061221; --surface: #0F2438; --ink: #EEF3F5; --muted: #A3B6C3; --line: #1E3A50; --chip: #163049;
    --accent: #8DB4CB; --accent-strong: #5A8AA6; --accent-ink: #061221;
    --navy: #030A14; --navy-2: #0F2438; --al: #8DB4CB; --xk: #E6DFC9; --ds: #E6DFC9;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 30; border-radius: 8px; }

/* Header: navy, sticky, compact. On phones the nav folds behind "Menu" (theme.js adds .js and opens it). */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--on-navy); border-bottom: 1px solid var(--navy-line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: .6px; }
.brand img { width: 34px; height: 34px; }
.nav { margin-left: auto; display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--on-navy); text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 500; font-size: 16px; }
.nav a:hover { background: var(--navy-2); }
.nav a[aria-current="page"] { background: var(--navy-2); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.site-header :focus-visible { outline-color: #fff; }
.lang { border: 1px solid var(--navy-line); margin-left: 4px; }
.theme-toggle { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--navy-line); border-radius: 10px; background: none; color: var(--on-navy); cursor: pointer; padding: 0; margin-left: 6px; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { background: var(--navy-2); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--accent-strong); color: var(--accent-ink); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-cta:hover { filter: brightness(1.08); }
.header-cta svg { width: 16px; height: 16px; }
.menu-toggle { display: none; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; color: var(--on-navy); background: none; border: 1px solid var(--navy-line); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; position: relative; transition: transform .2s; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -5px; } .menu-toggle .bars::after { top: 5px; }
.nav-open .menu-toggle .bars { background: transparent; }
.nav-open .menu-toggle .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle .bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 920px) {
  .header-cta { margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; margin: 0 0 10px; }
  .js .menu-toggle { display: inline-flex; }
  .js .nav { display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 14px; border-top: 1px solid var(--navy-line); margin: 0; }
  .js .nav-open .nav { display: flex; }
  .js .nav a { padding: 12px; font-size: 17px; }
  .js .nav .theme-toggle, .js .nav .lang { margin: 6px 0 0; }
  .js .nav .lang { align-self: flex-start; }
  .js .nav .theme-toggle { align-self: flex-start; }
}
@media (max-width: 560px) {
  .menu-toggle { padding: 0; width: 42px; height: 40px; justify-content: center; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header .wrap { gap: 10px; min-height: 60px; }
  .brand img { width: 30px; height: 30px; }
}
@media (max-width: 380px) { .header-cta svg { display: none; } .brand { font-size: 17px; } }

/* Hero: navy, continues the header. */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); padding: 64px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 82% 30%, rgba(90,138,166,.28), transparent 70%), radial-gradient(40% 60% at 10% 100%, rgba(230,223,201,.25), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: end; }
.hero-text { padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }
.hero .eyebrow { color: var(--on-navy-muted); }
.hero .eyebrow::before { box-shadow: 0 0 0 4px rgba(90,138,166,.25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(90,138,166,0); } }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.02; margin: 16px 0 20px; }
.hero h1 span { display: block; color: var(--highlight); }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.hero .lead { color: var(--on-navy-muted); font-size: clamp(18px, 2.2vw, 22px); }
.hero .lead strong { color: var(--on-navy); font-weight: 700; display: block; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.reassure { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--on-navy-muted); font-size: 15px; font-weight: 600; }
.reassure li { display: inline-flex; align-items: center; gap: 7px; }
.reassure li::before { content: ""; width: 16px; height: 16px; border-radius: 8px; background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23E6DFC9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.hero-phone { margin: 0; justify-self: center; width: min(78%, 300px); }
.hero-phone img { width: 100%; border: 8px solid #061221; border-bottom: 0; border-radius: 40px 40px 0 0; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); aspect-ratio: 486 / 860; object-fit: cover; object-position: top; }
.badge-soon { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 14px; background: var(--ink); color: var(--bg); font-weight: 700; }
.badge-soon small { font-weight: 500; opacity: .8; white-space: nowrap; }
.button-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; background: var(--surface); }
.button-ghost:hover { border-color: var(--muted); }
.button-ghost svg { width: 16px; height: 16px; }
.button-ghost.on-dark { background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,.28); min-height: 58px; }
.button-ghost.on-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: 14px; background: var(--accent-strong); color: var(--accent-ink); text-decoration: none; font-weight: 700; }
.button-primary:hover { filter: brightness(1.08); }
.phones { display: flex; gap: 18px; justify-content: center; }
/* Two phones side by side (not used on the home page any more). */
.devices { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.device { margin: 0; width: min(46%, 250px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.device img { width: 100%; height: auto; display: block; background: #111; border: 7px solid #111; box-shadow: 0 24px 60px rgba(0,0,0,.18); border-radius: 30px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat b { display: block; font: 800 34px/1 var(--display); }
.stat span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin-top: 6px; }
.dot { width: 8px; height: 8px; border-radius: 4px; display: inline-block; }
.dot.al { background: var(--al); } .dot.xk { background: var(--xk); } .dot.ds { background: var(--ds); } .dot.all { background: var(--ink); }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 40em; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 10px; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(90,138,166,.1); display: grid; place-items: center; margin-bottom: 16px; color: var(--accent-strong); }
.icon svg { width: 22px; height: 22px; }

.intl-grid h3 { display: flex; align-items: baseline; gap: 8px; font-size: 18px; margin-bottom: 8px; }
.intl-grid h3 small { color: var(--muted); font-weight: 500; font-size: 14px; }
.intl-grid ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 16px; font-size: 15px; }
.intl-grid li { padding: 3px 0; break-inside: avoid; }
.stations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stations ol { margin: 0; padding-left: 22px; }
.stations li { padding: 4px 0; }
.stations h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 10px; }

.auto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.auto ul { padding-left: 20px; margin: 0; }
.auto li { padding: 4px 0; }
.car { background: #0E0F11; color: #F1F0EC; border-radius: 22px; padding: 18px; font-family: var(--display); border: 1px solid #22252A; }
.car .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.car .tabs span { padding: 8px 14px; border-radius: 999px; font-size: 15px; color: #A2A6AC; }
.car .tabs span.on { background: #2A2D32; color: #fff; font-weight: 700; }
.car .row { display: flex; justify-content: space-between; padding: 12px 6px; border-top: 1px solid #22252A; }
.car .row small { color: #A2A6AC; font-family: var(--font); }

.faq .wrap { max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > p { padding: 0 20px 18px; }
.faq-more { color: var(--muted); margin: 22px 0 0; text-align: center; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Policy pages */
.prose { max-width: 46em; padding: 56px 0 72px; }
.prose h1 { font-size: clamp(32px, 5vw, 46px); }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink); }
.prose .meta { color: var(--muted); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.summary ul { margin: 0; padding-left: 20px; }

/* Footer: navy, four columns. */
.site-footer { background: var(--navy); color: var(--on-navy-muted); font-size: 15px; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand .brand { color: var(--on-navy); }
.foot-brand p { margin: 14px 0 0; max-width: 26em; }
.foot-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-h { margin: 0 0 4px; color: var(--on-navy); font-weight: 700; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-navy); text-decoration: underline; }
.site-footer :focus-visible { outline-color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--navy-line); font-size: 14px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Live-listen page (degjo.html / en/listen.html) */
.listen-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
/* Country chips wrap onto more lines, so every country is visible and easy to tap (no hidden sideways scrolling). */
.filter { display: flex; flex-wrap: wrap; max-width: 100%; gap: 8px; }
.filter button:hover { border-color: var(--accent); }
.filter::-webkit-scrollbar { display: none; }
.filter.countries { display: flex; flex-wrap: wrap; overflow: visible; background: none; padding: 0; gap: 6px; flex-basis: 100%; }
.filter.countries[hidden] { display: none; }
.filter.countries button { background: var(--chip); font-size: 14px; padding: 6px 12px; }
.filter.countries button[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.filter.countries button[aria-pressed="true"] small { color: inherit; }
.filter button { font: inherit; font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 8px 14px; min-height: 40px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; flex: none; white-space: nowrap; }
.filter button small { color: var(--muted); font-weight: 500; }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter button[aria-pressed="true"] small { color: inherit; opacity: .75; }
.search { flex: 1 1 220px; max-width: 360px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; }
.station-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.st { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.st-play { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 10px 12px; font: inherit; color: var(--ink); background: none; border: 0; text-align: left; cursor: pointer; border-radius: 14px; }
.st-play:hover { background: var(--chip); }
.st-play:disabled { cursor: default; background: none; }
.st-art, .np-art { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font: 800 16px/1 var(--display); color: #fff; overflow: hidden; }

.st-art, .np-art { position: relative; }
/* The logo waits invisibly over the monogram until it has loaded (display:none would stop lazy loading). */
.st-art img, .np-art img { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; object-fit: contain; }
.st-art.has-logo img, .np-art.has-logo img { opacity: 1; }
/* Monograms (stations without a logo): pale tint with coloured letters, like the app. */
[data-tint="0"] { --t: #2D5A74; } [data-tint="1"] { --t: #2F5FC4; } [data-tint="2"] { --t: #2E7D5B; }
[data-tint="3"] { --t: #8A5A2B; } [data-tint="4"] { --t: #6B4FA0; } [data-tint="5"] { --t: #3D5560; }
.st-art[data-tint], .np-art[data-tint] { background: #fff; background: color-mix(in srgb, var(--t) 14%, var(--surface)); color: var(--t); }
:root[data-theme="dark"] .st-art[data-tint]:not(.has-logo), :root[data-theme="dark"] .np-art[data-tint]:not(.has-logo) { color: color-mix(in srgb, var(--t) 45%, #fff); background: color-mix(in srgb, var(--t) 30%, var(--surface)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .st-art[data-tint]:not(.has-logo), :root:not([data-theme="light"]) .np-art[data-tint]:not(.has-logo) { color: color-mix(in srgb, var(--t) 45%, #fff); background: color-mix(in srgb, var(--t) 30%, var(--surface)); } }
.st-art.has-logo, .np-art.has-logo { background: #fff; border: 1px solid var(--line); }
.st-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.st-icon { flex: none; width: 36px; height: 36px; border-radius: 18px; background: var(--chip); position: relative; }
.st-icon::before { content: ""; position: absolute; left: 14px; top: 11px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.st.is-playing { border-color: var(--accent); }
.st.is-playing .st-name { color: var(--accent); }
.st.is-playing .st-icon { background: var(--accent); }
.st.is-playing .st-icon::before { left: 12px; top: 11px; width: 4px; height: 14px; border: 0; background: var(--accent-ink); box-shadow: 8px 0 0 var(--accent-ink); }
.st.is-offline .st-art, .st.is-offline .st-name { opacity: .45; }
.st.is-offline .st-icon { opacity: .35; }
.st-site { flex: none; width: 44px; align-self: stretch; display: grid; place-items: center; color: var(--muted); text-decoration: none; border-left: 1px solid var(--line); }
.st-site:hover { color: var(--accent); }
.listen-note { color: var(--muted); font-size: 15px; margin-top: 28px; max-width: 46em; }
.now-playing { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,.08); }
.now-playing .wrap { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.np-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.np-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-status { color: var(--muted); font-size: 14px; }
.now-playing[data-state="live"] .np-status { color: var(--accent); font-weight: 700; }
.now-playing[data-state="live"] .np-status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.np-toggle { flex: none; width: 52px; height: 52px; border-radius: 26px; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.np-toggle::before { content: ""; position: absolute; left: 19px; top: 17px; width: 5px; height: 18px; background: var(--bg); box-shadow: 10px 0 0 var(--bg); }
.now-playing.is-paused .np-toggle::before { left: 21px; top: 16px; width: 0; height: 0; background: none; box-shadow: none; border-left: 16px solid var(--bg); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
body.has-player .site-footer { padding-bottom: 120px; }
@media (max-width: 820px) { .station-list { grid-template-columns: minmax(0, 1fr); } .search { max-width: none; } }
@media (max-width: 480px) { .filter { gap: 6px; } .filter button { font-size: 14px; padding: 8px 12px; } }

/* Premium: plans on the home page and premium.html */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan h3 { font-size: 24px; font-weight: 800; }
.plan .price { font: 800 34px/1 var(--display); letter-spacing: -.5px; }
.plan .price small { display: block; font: 500 15px/1.4 var(--font); color: var(--muted); letter-spacing: 0; margin-top: 8px; }
.plan.premium { border: 2px solid var(--accent); box-shadow: 0 24px 60px rgba(90,138,166, .14); position: relative; }
.plan.premium .ribbon { position: absolute; top: -14px; left: 24px; background: var(--accent-strong); color: var(--accent-ink); font-size: 13px; font-weight: 700; letter-spacing: .5px; padding: 5px 12px; border-radius: 999px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
/* Plain block text with the tick hung in the margin, so links inside flow with the words. */
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 10px; background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23E13B45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checks li.limit::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' fill='none' stroke='%235C6066' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.checks small { color: var(--muted); }
.plan .more { margin-top: auto; }
.tag { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 12px; font-weight: 700; letter-spacing: .3px; padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--muted); white-space: nowrap; }
.tag.now { background: var(--accent-strong); color: var(--accent-ink); }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.promise b { display: block; font: 800 17px/1.3 var(--display); margin-bottom: 4px; }
.promise span { color: var(--muted); font-size: 15px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--display); font-size: 15px; background: var(--chip); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare .yes { color: var(--accent); font-weight: 800; }
.compare .no { color: var(--muted); }
.premium-hero { padding: 72px 0 24px; }
.premium-hero .lead { max-width: 38em; }
.feature-grid .card { position: relative; }
.feature-grid .card .tag { position: absolute; top: 30px; right: 24px; margin: 0; }

@media (max-width: 820px) {

  .hero .wrap, .auto, .stations { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .plans, .promises { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px 10px; }
  .phones img:nth-child(2) { margin-top: 24px; }
  .device.iphone { margin-top: 24px; }
  .nav { margin-left: 0; }
}

/* ------------------------------------------------------------------ Download buttons */
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px; border-radius: 14px; background: var(--accent-strong); color: var(--accent-ink); text-decoration: none; line-height: 1.15; min-height: 58px; box-shadow: 0 8px 24px rgba(90,138,166,.25); }
.store-btn:hover { filter: brightness(1.08); }
.store-btn svg { width: 28px; height: 28px; flex: none; }
.store-btn span { display: flex; flex-direction: column; }
.store-btn small { font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; opacity: .8; }
.store-btn b { font: 800 19px/1.1 var(--display); }
.store-btn.is-soon { background: var(--chip); color: var(--muted); cursor: default; box-shadow: none; filter: none; }
.dark .store-btn.is-soon { background: rgba(255,255,255,.08); color: var(--on-navy-muted); }
.cta-note { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.download-band { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.download-band h2 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; margin-bottom: 8px; }
.download-band p { margin: 0; color: var(--muted); }
.download-band.dark { background: var(--navy); border-color: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.download-band.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(90,138,166,.3), transparent 70%); pointer-events: none; }
.download-band.dark > * { position: relative; }
.download-band.dark p { color: var(--on-navy-muted); }
:root[data-theme="dark"] .download-band.dark { border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .download-band.dark { border-color: var(--line); } }
.final-cta { padding-top: 24px; padding-bottom: 24px; }

/* ------------------------------------------------------------------ Platforms: car and TV screens */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.platform { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.platform header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.platform h3 { font-size: 22px; font-weight: 800; margin: 0; }
.platform header .tag { margin: 0; }
.tag.free { background: #E3F2E8; color: #1D6B3C; }
:root[data-theme="dark"] .tag.free { background: #1C3326; color: #8FDDAE; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.free { background: #1C3326; color: #8FDDAE; } }
.tag.soon { background: var(--chip); color: var(--muted); }
.platform p { margin: 0; color: var(--muted); font-size: 16px; }
.platform ul { margin: 0; padding-left: 20px; font-size: 15px; }
.platform li { padding: 2px 0; }
.platform .caption { font-size: 13px; color: var(--muted); margin-top: -6px; }
.platform-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: center; }
.platform-wide .text { display: flex; flex-direction: column; gap: 14px; }
.tv-shots { position: relative; padding-bottom: 22%; }
.tv-shots .frame-tv:first-child { width: 84%; }
.tv-shots .frame-tv:last-child { position: absolute; right: 0; bottom: 0; width: 50%; margin: 0; box-shadow: 0 24px 60px rgba(0,0,0,.35), inset 0 0 0 1px #26292E; }
.tv-shots .frame-tv:last-child::after { display: none; }

/* Frames: a car dashboard screen and a TV. */
.frame-car { background: #050506; border-radius: 26px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.18), inset 0 0 0 1px #26292E; }
.frame-car > * { border-radius: 16px; overflow: hidden; }
.frame-tv { background: #050506; border-radius: 12px; padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.18), inset 0 0 0 1px #26292E; position: relative; margin-bottom: 18px; }
.frame-tv::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 22%; height: 8px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #2A2D32; }
.frame-tv > img, .frame-tv > .ui { border-radius: 6px; overflow: hidden; display: block; width: 100%; }

/* Mock-ups are drawn in em units; 1em = 1/64 of the screen's width, so they scale with the page. */
.ui { container-type: inline-size; aspect-ratio: 16 / 9; background: #0E0F11; color: #F1F0EC; position: relative; }
.ui > div { font-size: 1.5625cqw; position: absolute; inset: 0; font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; line-height: 1.2; }
.ui .mono { display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #F1F0EC; }
.ui .eq { display: inline-flex; align-items: flex-end; gap: .2em; height: 1.2em; }
.ui .eq i { width: .25em; background: #8DB4CB; border-radius: .15em; animation: eq 1s ease-in-out infinite; }
.ui .eq i:nth-child(1) { height: 50%; } .ui .eq i:nth-child(2) { height: 100%; animation-delay: -.3s; } .ui .eq i:nth-child(3) { height: 70%; animation-delay: -.6s; }
@keyframes eq { 50% { transform: scaleY(.4); } }
@media (prefers-reduced-motion: reduce) { .ui .eq i { animation: none; } }
.ui svg { display: block; }

/* Android Auto */
.aa { display: flex; background: #0E0F11; }
.aa .rail { width: 5.5em; flex: none; background: #060708; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.2em 0; }
.aa .rail .time { font-size: 1.1em; font-weight: 600; color: #C9CCD1; }
.aa .rail .apps { display: flex; flex-direction: column; gap: 1.1em; }
.aa .rail .btn { width: 3.5em; height: 3.5em; border-radius: 50%; background: #1E2125; display: grid; place-items: center; color: #C9CCD1; }
.aa .rail .btn svg { width: 1.6em; height: 1.6em; }
.aa .rail .btn.on { background: #2D5A74; color: #fff; font: 800 1em/1 var(--display); }
.aa .main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.aa .tabs { display: flex; align-items: center; gap: .5em; height: 4.6em; padding: 0 1.5em; border-bottom: 1px solid #22252A; }
.aa .tabs span { height: 2.8em; padding: 0 1.2em; border-radius: 1.4em; display: flex; align-items: center; font-size: 1.15em; color: #A2A6AC; white-space: nowrap; }
.aa .tabs span.on { background: #2A2D32; color: #fff; font-weight: 700; }
.aa .tabs .srch { margin-left: auto; width: 3em; height: 3em; padding: 0; border-radius: 50%; background: #1E2125; display: grid; place-items: center; flex: none; }
.aa .tabs .srch svg { width: 1.4em; height: 1.4em; }
.aa .tabs span svg { width: 1.25em; height: 1.25em; margin-right: .45em; flex: none; }
.aa .rows { flex: 1; min-height: 0; padding: .4em 1.5em; display: flex; flex-direction: column; overflow: hidden; }
.aa .row { display: flex; align-items: center; gap: 1em; height: 4.4em; flex: none; border-bottom: 1px solid #22252A; padding: 0 .4em; border-radius: .6em; }
.aa .row:last-child { border-bottom: 0; }
.aa .row.on { background: #1A1D21; border-bottom-color: transparent; }
.aa .row .mono { width: 3.1em; height: 3.1em; border-radius: .55em; font-size: 1em; flex: none; }
.aa .row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15em; }
.aa .row .t b { font-size: 1.2em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aa .row .t small { font-size: 1em; color: #A2A6AC; }
.aa .bar { display: flex; align-items: center; gap: 1em; height: 5.2em; padding: 0 1em 0 1.5em; background: #17191C; border-top: 1px solid #22252A; }
.aa .bar .mono { width: 3.4em; height: 3.4em; border-radius: .6em; font-size: 1em; }
.aa .bar .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2em; }
.aa .bar .t b { font-size: 1.2em; font-weight: 600; }
.aa .bar .t small { font-size: 1em; color: #A2A6AC; }
.aa .bar .pp { width: 3.8em; height: 3.8em; border-radius: 50%; background: #F1F0EC; display: grid; place-items: center; }
.aa .bar .pp svg { width: 1.6em; height: 1.6em; }

/* CarPlay (preview: coming with the iPhone app) */
.cp { display: flex; background: #000; font-family: -apple-system, "SF Pro Text", Inter, system-ui, sans-serif; }
.cp .side { width: 6.2em; flex: none; background: #1C1C1E; display: flex; flex-direction: column; align-items: center; padding: 1em 0; gap: 1em; }
.cp .side .time { font-size: 1.15em; font-weight: 600; }
.cp .side .ico { width: 3.6em; height: 3.6em; border-radius: .9em; display: grid; place-items: center; color: #fff; }
.cp .side .ico svg { width: 1.8em; height: 1.8em; }
.cp .side .ico.rj { background: #2D5A74; font: 800 1.05em/1 var(--display); }
.cp .side .ico.np { background: #2C2C2E; }
.cp .side .ico.maps { background: #34C759; }
.cp .side .ico.phone { background: #30D158; }
.cp .side .grid-ico { margin-top: auto; width: 2.4em; height: 2.4em; display: grid; grid-template-columns: 1fr 1fr; gap: .25em; }
.cp .side .grid-ico i { background: #8E8E93; border-radius: .2em; }
.cp .main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #000; }
.cp .cp-head { height: 4.2em; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid #2C2C2E; }
.cp .cp-head b { font-size: 1.35em; font-weight: 700; }
.cp .cp-head .np-link { position: absolute; right: 1.2em; font-size: 1.05em; color: #8DB4CB; display: flex; align-items: center; gap: .4em; }
.cp .list { flex: 1; min-height: 0; padding: .3em 1.6em; overflow: hidden; }
.cp .row { display: flex; align-items: center; gap: 1em; height: 5.2em; border-bottom: 1px solid #2C2C2E; }
.cp .row .mono { width: 3.8em; height: 3.8em; border-radius: .7em; font-size: 1.05em; }
.cp .row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2em; }
.cp .row .t b { font-size: 1.3em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp .row .t small { font-size: 1.05em; color: #8E8E93; }
.cp .row .chev { color: #5A5A5E; font-size: 1.6em; }
.cp .tabbar { height: 4.6em; display: flex; justify-content: space-around; align-items: center; background: #1C1C1E; border-top: 1px solid #2C2C2E; }
.cp .tabbar span { display: flex; flex-direction: column; align-items: center; gap: .25em; font-size: .95em; color: #8E8E93; }
.cp .tabbar span svg { width: 1.6em; height: 1.6em; }
.cp .tabbar span.on { color: #8DB4CB; }

/* Apple TV (preview) */
.atv { background: radial-gradient(120% 90% at 20% 0%, #0F2A3D 0%, #0B0B0D 55%); font-family: -apple-system, "SF Pro Display", Inter, system-ui, sans-serif; padding: 2.2em 3.2em; display: flex; flex-direction: column; }
.atv .top { display: flex; justify-content: center; gap: .4em; }
.atv .top span { padding: .55em 1.3em; border-radius: 2em; font-size: 1.1em; color: #B5B5BA; }
.atv .top span.on { background: rgba(255,255,255,.92); color: #111; font-weight: 600; }
.atv h4 { margin: 2em 0 1em; font: 700 1.5em/1 inherit; color: #F1F0EC; }
.atv .cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6em; align-items: start; }
.atv .card2 { display: flex; flex-direction: column; gap: .6em; min-width: 0; }
.atv .card2 .mono { aspect-ratio: 1; border-radius: 1.1em; font-size: 2.6em; box-shadow: 0 .4em 1em rgba(0,0,0,.4); }
.atv .card2.focus .mono { transform: scale(1.12); box-shadow: 0 1em 2em rgba(0,0,0,.6); }
.atv .card2 span { font-size: 1em; color: #B5B5BA; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atv .card2.focus span { color: #fff; font-weight: 600; margin-top: .5em; }
.atv .np { margin-top: auto; display: flex; align-items: center; gap: 1em; background: rgba(255,255,255,.08); border-radius: 1.2em; padding: .9em 1.2em; width: 50%; }
.atv .np .mono { width: 3.2em; height: 3.2em; border-radius: .6em; font-size: .95em; }
.atv .np .t { display: flex; flex-direction: column; gap: .2em; min-width: 0; }
.atv .np .t b { font-size: 1.1em; }
.atv .np .t small { color: #B5B5BA; font-size: .95em; }

/* ------------------------------------------------------------------ Premium feature rows */
.feature-rows { display: grid; gap: 16px; }
.feature-row { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; }
.feature-row .icon { grid-row: span 3; margin: 0; width: 56px; height: 56px; border-radius: 16px; }
.feature-row .icon svg { width: 26px; height: 26px; }
.feature-row h3 { font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature-row h3 .tag { margin: 0; }
.feature-row p { margin: 4px 0 0; color: var(--muted); }
.feature-row ul { margin: 10px 0 0; padding-left: 20px; }
.feature-row li { padding: 2px 0; }
.coming-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.compare .group td { background: var(--chip); font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }
.compare .soon { color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------------ Contact form */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 14px; }
.contact-aside .card p { font-size: 15px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { font-size: 14px; color: var(--muted); margin: 0; }
.form button { font: inherit; font-weight: 700; font-size: 17px; border: 0; border-radius: 14px; padding: 14px 24px; background: var(--accent); color: var(--accent-ink); cursor: pointer; justify-self: start; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form-status { border-radius: 14px; padding: 14px 16px; font-weight: 600; margin: 0; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #E3F2E8; color: #1D6B3C; }
.form-status.err { background: #F8E1E4; color: #7A0A1C; }
:root[data-theme="dark"] .form-status.ok { background: #1C3326; color: #8FDDAE; }
:root[data-theme="dark"] .form-status.err { background: #3A1E22; color: #FFD3D7; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .form-status.ok { background: #1C3326; color: #8FDDAE; }
  :root:not([data-theme="light"]) .form-status.err { background: #3A1E22; color: #FFD3D7; }
}

@media (max-width: 820px) {
  .platforms, .platform-wide, .contact, .coming-grid, .download-band, .row2 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row .icon { grid-row: auto; }
}

/* ------------------------------------------------------------------ Home: discover stations (cards; player.js renders them) */
.discover { padding-top: 64px; }
.station-list.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.st-card { border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.st-card:hover { transform: translateY(-2px); border-color: #BFD0DA; }
.st-card .st-play { flex-wrap: wrap; gap: 12px 10px; padding: 12px; border-radius: var(--radius); height: 100%; align-content: flex-start; }
.st-card .st-play:hover { background: none; }
.st-card .st-art { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 12px; font-size: clamp(22px, 3vw, 30px); }
.st-card .st-art.has-logo img { padding: 12px; }
.st-card { position: relative; container-type: inline-size; }
.st-card .st-name { font-size: 16px; line-height: 1.3; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.st-card .st-text { flex: 1 1 100%; }
.st-card .st-meta { font-size: 13px; }
/* Play button sits on the logo's bottom-right corner (art height = (card width - padding) × 10/16). */
.st-card .st-icon { position: absolute; right: 20px; top: calc(12px + (100cqw - 24px) * .625 - 46px); width: 38px; height: 38px; border-radius: 19px; background: var(--surface); box-shadow: 0 2px 8px rgba(6,18,33,.18); }
.st-card .st-play:hover .st-icon { background: var(--accent-strong); }
.st-card .st-play:hover .st-icon::before { border-left-color: var(--accent-ink); }
.st-card.is-offline:hover { transform: none; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 20px; color: var(--muted); }
.empty-state[hidden] { display: none; }
.empty-state b { color: var(--ink); font-size: 18px; }
.more-row { text-align: center; margin: 28px 0 0; }
.more-row a[hidden] { display: none; }
.disc-note { color: var(--muted); font-size: 14px; text-align: center; margin: 14px auto 0; max-width: 40em; }
@media (max-width: 1000px) { .station-list.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .station-list.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .st-card .st-play { padding: 10px; }
  .st-card .st-icon { right: 16px; top: calc(10px + (100cqw - 20px) * .625 - 42px); }
  .st-card .st-name { font-size: 15px; }
}

/* ------------------------------------------------------------------ Home: listen everywhere */
.evw { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto auto; gap: 20px; }
.evw-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.evw-phone { grid-row: 1 / 3; }
/* The phone fills the card's height (set by the two cards beside it); on phones the card gets a fixed height. */
.evw-shot { flex: 1; position: relative; background: var(--chip); border-radius: 18px; overflow: hidden; min-height: 420px; }
.evw-shot img { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); height: calc(100% - 28px); width: auto; max-width: calc(100% - 40px); border: 6px solid #061221; border-bottom: 0; border-radius: 30px 30px 0 0; object-fit: cover; object-position: top; }
.evw-text header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.evw-text h3 { font-size: 22px; font-weight: 800; }
.evw-text .tag { margin: 0; }
.evw-text ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.evw-text li { padding: 2px 0; }
.evw .frame-tv { margin-bottom: 16px; }
.evw-soon { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; margin: 24px 0 0; color: var(--muted); }
.evw-soon svg { width: 20px; height: 20px; color: var(--ink); flex: none; }
.evw-soon b { color: var(--ink); }
@media (max-width: 820px) {
  .evw { grid-template-columns: 1fr; }
  .evw-phone { grid-row: auto; }
}

/* ------------------------------------------------------------------ Responsive hero and motion */
@media (max-width: 820px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-text { padding-bottom: 24px; }
  .hero-phone { width: min(70%, 260px); }
  section { padding: 56px 0; }
  .download-band { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .cta .store-btn, .cta .button-ghost.on-dark { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* On the midnight frame (header, hero, dark bands) the main buttons are sand, so they stand out. */
.header-cta, .hero .store-btn:not(.is-soon), .dark .store-btn:not(.is-soon) { background: var(--highlight); color: #061221; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
