/* Longwave site. Palette is the app's 0.4 A finish (design/src/gen04.py); orange only means "on air". */
/* Dark only, like the app's graphite finish. The glow at the top takes the colour of the time of day at the station
   (LongwaveApp.swift: dawn rose, day amber, dusk orange, night indigo); hero.js sets --glow-color, night is the default. */
:root{
  --bg:#191817;--panel:#201F1D;--face:#0E0E0D;--ink:#ECE9E2;--mut:#98938A;--line:#302E2B;
  --acc:#F06A2C;--dot:#8A857B;--dot-night:#4C4944;--lit:#F4A27A;
  --glow-color:rgba(87,66,184,.3);
  color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.55 -apple-system,BlinkMacSystemFont,system-ui,"Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
.wrap{max-width:960px;margin:0 auto;padding:0 16px}
.prose{max-width:640px}
h1,h2,h3{margin:0;line-height:1.1;letter-spacing:-.01em}
p{margin:0 0 1em}

/* header and footer */
.top{position:fixed;top:0;left:0;right:0;z-index:5;padding:14px 0;
  background:linear-gradient(color-mix(in srgb,var(--bg) 55%,transparent),transparent)}
.top .wrap{display:flex;align-items:center;gap:12px}
.sub .top{background:var(--bg);border-bottom:1px solid var(--line)}
.top img{width:36px;height:36px;border-radius:9px}
.top .name{font-weight:600;font-size:19px;text-decoration:none;margin-right:auto}
.top nav a{color:var(--mut);text-decoration:none;margin-left:22px;font-size:15px}
.top nav a:hover{color:var(--ink)}
footer{margin-top:72px;padding:22px 0 48px;border-top:1px solid var(--line);color:var(--mut);font-size:14px;display:flex;flex-wrap:wrap;gap:6px 22px}
footer a{text-decoration:none;color:inherit}
footer .copy{margin-left:auto}

/* hero */
.hero{margin-top:0;padding:40px 0 8px;text-align:center}
.hero h1{font-size:clamp(40px,7vw,68px);font-weight:700;letter-spacing:-.025em}
.hero .lead{font-size:clamp(18px,2.4vw,21px);line-height:1.5;color:var(--mut);max-width:600px;margin:22px auto 0;text-wrap:balance}

/* the map: the world as dots at the top of the page, the header floating over it; then the dial strip */
.map{padding:16px 2vw 0;overflow:hidden;background-image:radial-gradient(60% 80% at 50% 0%,var(--glow-color),transparent 70%)}
.world{display:block;width:100%;height:auto}
.world path{fill:none;stroke-linecap:round;stroke-width:.68}
.world .day{stroke:var(--dot)}
.world .night{stroke:var(--dot-night)}
.world .dusk{stroke:color-mix(in srgb,var(--dot) 50%,var(--dot-night))}
.world .near{stroke:var(--acc);opacity:.55;stroke-width:.8}
.world .lit{stroke:var(--lit);stroke-width:1.1}
.world .needle{stroke:var(--acc);stroke-width:.5;stroke-linecap:round}
.scale{position:relative;height:18px;margin:14px 0 0;
  background:repeating-linear-gradient(90deg,var(--line) 0 1px,transparent 1px 2%) 0 100%/100% 7px no-repeat,
             repeating-linear-gradient(90deg,var(--mut) 0 1px,transparent 1px 10%) 0 100%/100% 12px no-repeat}
.scale i{position:absolute;top:-2px;bottom:-2px;width:2px;margin-left:-1px;background:var(--acc);border-radius:1px}
.deg{display:flex;justify-content:space-between;margin-top:4px;font-size:11px;letter-spacing:.08em;color:var(--mut);font-variant-numeric:tabular-nums}
.deg span:first-child{margin-left:-.4em}
.readout{display:flex;align-items:baseline;gap:12px;margin-top:10px;font-size:15px;font-variant-numeric:tabular-nums;color:var(--mut)}
.readout b{color:var(--ink);font-weight:600}
.readout .cc{letter-spacing:.14em;font-weight:600;color:var(--acc);font-size:13px}
.readout .air{margin-left:auto;color:var(--acc);letter-spacing:.14em;font-weight:600;font-size:13px}
.readout .air::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--acc);margin-right:8px;vertical-align:1px;animation:air 2.4s ease-in-out infinite}
@keyframes air{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.readout .air::before{animation:none}}

/* price and the store line */
.buy{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 28px;margin:32px 0 0;text-align:center}
.buy .price{font-size:19px}
.buy .price small{display:block;color:var(--mut);font-size:15px}
.soon{margin:0;font-size:19px;font-weight:600;letter-spacing:-.01em}

/* features */
section{margin-top:80px}
.kicker{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--mut);margin-bottom:14px}
h2{font-size:clamp(26px,4vw,34px);font-weight:700;letter-spacing:-.02em;margin-bottom:28px}
.features{display:grid;grid-template-columns:1fr 1fr;gap:36px 44px}
.features h3{font-size:20px;margin-bottom:8px}
.features p{color:var(--mut);margin:0}
.mac-title{font-size:20px;margin:56px 0 18px}
.mac{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.mac li{padding:18px 18px 20px;border:1px solid var(--line);border-radius:16px;background:var(--panel);display:flex;flex-direction:column;gap:4px}
.mac svg{width:38px;height:38px;padding:8px;margin-bottom:10px;border-radius:10px;background:var(--face);border:1px solid var(--line);
  fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;box-sizing:border-box}
.mac svg .fill{fill:var(--ink);stroke:none}
.mac b{font-weight:600;font-size:15px}
.mac span{color:var(--mut);font-size:14px;line-height:1.4}

/* screenshots: six frames, 2880×1800, until the real ones exist */
.shots{display:grid;grid-template-columns:1fr 1fr;gap:28px 24px}
.shot{margin:0}
.frame{aspect-ratio:16/10;border:1px solid var(--line);border-radius:12px;background:var(--panel);position:relative;overflow:hidden;display:grid;place-items:center;color:var(--mut);font-size:13px;letter-spacing:.04em}
.frame::before{content:"";position:absolute;left:12px;top:11px;width:8px;height:8px;border-radius:50%;background:var(--line);box-shadow:14px 0 0 var(--line),28px 0 0 var(--line)}
.frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.shot figcaption{margin-top:10px;font-size:15px}
.shot figcaption b{font-weight:600}
.shot figcaption span{color:var(--mut)}

/* privacy and support */
.page{padding-top:112px}
.page h1{font-size:clamp(34px,5vw,44px);margin-bottom:12px}
.page .lead{font-size:20px;color:var(--mut);margin-bottom:36px}
.page h2{font-size:21px;margin:36px 0 8px}
.page ul{padding-left:20px}
.page li{margin-bottom:8px}
.page a{color:var(--acc)}

@media (max-width:640px){
  .features,.shots{grid-template-columns:1fr}
  .mac{grid-template-columns:1fr 1fr}
  .map{padding-top:20px}
  .world,.scale{width:720px;margin-left:calc(50% - 360px)}
  .deg{display:none}
  .readout .place{display:none}
  .top nav a{margin-left:16px}
  footer .copy{margin-left:0;width:100%}
}
