/* ID-52 Plus Workstation — id52workstation.com
   The site is built like the radio's own display: the live panel's black, its off-white, its display face for
   frequencies and call signs, cyan for links and amber only where the radio uses it. One device of its own: the
   S-meter under the nav that fills as you scroll. Mobile first. Motion is off under Reduce Motion. */
/* Fonts, self-hosted (28 Nov 2026) so no page calls Google. Onest is a variable font: one file covers 400-800.
   Licence: SIL Open Font License 1.1 (both families). Files from Google Fonts, Onest v11, Share Tech Mono v16. */
@font-face { font-family:'Onest'; font-style:normal; font-weight:400 800; font-display:swap; src:url(../assets/fonts/onest-latin-ext.woff2) format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Onest'; font-style:normal; font-weight:400 800; font-display:swap; src:url(../assets/fonts/onest-latin.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Share Tech Mono'; font-style:normal; font-weight:400; font-display:swap; src:url(../assets/fonts/share-tech-mono-latin.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg:#0b0f14; --bg-deep:#07090d; --panel:#111820; --panel-2:#161f2a; --line:#1f2a37; --line-2:#2a3442;
  --seg:#e8f1ff; --text:#cfd9e6; --muted:#9fb0c3; --dim:#6f8197;
  --cyan:#5bc8ff; --amber:#ffb13d; --green:#35d07f; --red:#ff5a4a; --emilitek:#ff0000;
  --font:"Onest","Helvetica Neue",Arial,sans-serif; --display:"Share Tech Mono",ui-monospace,Menlo,monospace;
  --t-sm:clamp(.86rem,.83rem + .15vw,.95rem); --t-base:clamp(1.02rem,.98rem + .25vw,1.15rem);
  --t-md:clamp(1.18rem,1.08rem + .5vw,1.4rem); --t-lg:clamp(1.5rem,1.2rem + 1.4vw,2.2rem);
  --t-xl:clamp(2.1rem,1.5rem + 2.8vw,3.6rem); --t-2xl:clamp(2.4rem,1.3rem + 4.2vw,4.4rem);
  --gutter:clamp(1.25rem,5vw,4.5rem); --wrap:1240px; --section:clamp(5rem,11vw,9.5rem);
  --r:12px; --r-lg:20px; --ease:cubic-bezier(.2,.7,.2,1); --dur:.9s;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--text); font-family:var(--font); font-size:var(--t-base); line-height:1.6; -webkit-font-smoothing:antialiased; }
img, svg { max-width:100%; height:auto; display:block; }
a { color:inherit; }
h1,h2,h3,h4 { margin:0; line-height:1.05; letter-spacing:-.025em; color:var(--seg); font-weight:800; }
h2 { font-size:var(--t-xl); max-width:24ch; }
h3 { font-size:var(--t-lg); font-weight:700; }
p { margin:0 0 1em; }
.wrap { width:min(100% - 2*var(--gutter), var(--wrap)); margin-inline:auto; }
.data { font-family:var(--display); letter-spacing:.01em; }
.lede { font-size:var(--t-md); color:var(--muted); max-width:56ch; }
.btn { display:inline-flex; align-items:center; gap:.6rem; padding:.9rem 1.5rem; border-radius:999px; font-weight:700; text-decoration:none; border:1px solid var(--line-2); color:var(--seg); background:var(--panel); transition:transform .25s var(--ease), background .25s, border-color .25s, color .25s; }
.btn:hover { transform:translateY(-1px); border-color:var(--cyan); }
.btn--primary { background:var(--seg); border-color:var(--seg); color:#06202e; }
.btn--primary:hover { background:#fff; border-color:#fff; }
.btn--ghost { background:transparent; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline:3px solid var(--amber); outline-offset:3px; }

/* The S-meter: a bar under the nav that fills as you read, green to S9, amber and red above it — the radio's own scale. */
.meter { position:fixed; top:var(--nav-h, 64px); left:0; height:3px; width:100%; z-index:60; background:transparent; pointer-events:none; }
.meter i { display:block; height:100%; width:100%; transform-origin:left; transform:scaleX(var(--p, 0)); background:linear-gradient(90deg, var(--green) 0 58%, var(--amber) 58% 80%, var(--red) 80%); transition:transform .12s linear; }

/* Nav: Emilitek Software first, then the app's own icon and name. */
.nav { position:sticky; top:0; z-index:50; background:rgba(11,15,20,.72); backdrop-filter:saturate(1.4) blur(14px); -webkit-backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid var(--line); }
.nav__inner { display:flex; align-items:center; gap:1rem; min-height:72px; }
.nav__emilitek { display:block; flex:none; }
.nav__emilitek img { height:38px; width:auto; }
.nav__sep { width:1px; height:32px; background:var(--line-2); flex:none; }
.nav__brand { display:flex; align-items:center; gap:.65rem; text-decoration:none; color:var(--seg); font-weight:700; letter-spacing:-.01em; min-width:0; }
.nav__brand img { width:46px; height:46px; border-radius:10px; flex:none; }
.nav__brand span { white-space:nowrap; }
.nav__brand small { display:block; font-weight:500; font-size:var(--t-sm); color:var(--dim); line-height:1.1; }
.nav__links { display:none; gap:1.5rem; margin-left:auto; }
.nav__links a { text-decoration:none; color:var(--muted); font-size:var(--t-sm); font-weight:600; }
.nav__links a:hover { color:var(--seg); }
.nav__cta { font-size:var(--t-sm); padding:.55rem 1.05rem; margin-left:auto; flex:none; }
@media (min-width:980px) { .nav__links { display:flex; } .nav__cta { margin-left:0; } }
@media (max-width:640px) { .nav__brand span, .nav__sep { display:none; } .nav__emilitek img { height:30px; } .nav__brand img { width:38px; height:38px; } .nav__cta { padding:.5rem .9rem; } }

/* Hero */
.hero { position:relative; padding:clamp(3rem,7vw,5rem) 0 0; overflow:hidden; background:radial-gradient(90% 60% at 50% -10%, rgba(91,200,255,.13), transparent 70%), var(--bg-deep); }
.hero h1 { font-size:var(--t-2xl); max-width:24ch; }
.hero h1 .w { display:inline-block; }
.hero__kicker { display:block; margin-bottom:1.1rem; font-size:var(--t-sm); font-weight:600; letter-spacing:.02em; line-height:1.4; color:var(--cyan); }
.hero .lede { margin:1.4rem 0 2rem; }
.hero__cta { display:flex; flex-wrap:wrap; gap:.8rem; align-items:center; }
.hero__fits { margin:1.3rem 0 0; color:var(--dim); font-size:var(--t-sm); }
.hero__fits b { color:var(--muted); font-weight:600; }

/* The stage: your pictures, drifting and crossfading. A video will drop into the same box later. */
.stage { position:relative; margin:clamp(2.2rem,5vw,3.5rem) auto 0; aspect-ratio:16/10; max-height:min(78vh,720px); width:100%; border-radius:var(--r-lg) var(--r-lg) 0 0; overflow:hidden; border:1px solid var(--line-2); border-bottom:0; background:#000; box-shadow:0 -1px 0 rgba(255,255,255,.04) inset, 0 40px 120px -40px rgba(91,200,255,.25); }
@media (min-width:700px) { .stage { aspect-ratio:21/9; } }
@media (min-width:1000px) { .stage { aspect-ratio:3/1; } }
.stage__slide { position:absolute; inset:0; opacity:0; transition:opacity 1.6s var(--ease); }
.stage__slide img { width:100%; height:100%; object-fit:cover; object-position:var(--focus, 50% 50%); transform:scale(1.06); }
.stage__slide.is-on { opacity:1; }
.stage__slide.is-on img { animation:drift 9s var(--ease) forwards; }
@keyframes drift { from { transform:scale(1.06) translate(var(--dx, 0), var(--dy, 0)); } to { transform:scale(1) translate(0,0); } }
.stage__cap { position:absolute; left:0; right:0; bottom:0; padding:1rem clamp(1rem,3vw,1.6rem); display:flex; flex-wrap:wrap; gap:.4rem .9rem; align-items:center; background:linear-gradient(180deg, transparent, rgba(7,9,13,.88)); color:var(--muted); font-size:var(--t-sm); }
.stage__cap b { color:var(--seg); font-weight:600; }
.stage__cap .data { color:var(--cyan); }
.stage__dots { position:absolute; right:clamp(1rem,3vw,1.6rem); top:1rem; display:flex; gap:.4rem; }
.stage__dots button { width:26px; height:6px; border-radius:3px; border:0; padding:0; background:rgba(232,241,255,.25); cursor:pointer; transition:background .3s; }
.stage__dots button[aria-current="true"] { background:var(--cyan); }

/* Sections */
.sec { padding:var(--section) 0; }
.sec + .sec { border-top:1px solid var(--line); }
.sec--deep { background:var(--bg-deep); }
.sec__head { max-width:64ch; margin-bottom:clamp(2.2rem,5vw,3.5rem); }
.sec__head .lede { margin-top:1.1rem; }

/* Two-column rows: text one side, picture the other. */
.row { display:grid; gap:clamp(1.6rem,4vw,3.5rem); align-items:center; }
.row + .row { margin-top:clamp(3rem,7vw,5.5rem); }
.row h3 { margin-bottom:.8rem; }
.row p { color:var(--muted); }
.row ul { margin:1.1rem 0 0; padding:0; list-style:none; display:grid; gap:.55rem; color:var(--muted); }
.row li { padding-left:1.3rem; position:relative; }
.row li::before { content:""; position:absolute; left:0; top:.7em; width:.5rem; height:.5rem; border-radius:50%; background:var(--cyan); }
@media (min-width:900px) { .row { grid-template-columns:5fr 7fr; } .row--flip .row__text { order:2; } }

/* Picture frames. .shot is a plain framed capture; .mac adds a window's title bar. */
.shot { border-radius:var(--r-lg); border:1px solid var(--line-2); background:var(--panel); overflow:hidden; box-shadow:0 30px 80px -30px rgba(0,0,0,.9); }
.shot img { width:100%; }
.mac { border-radius:var(--r-lg); border:1px solid var(--line-2); background:#1a2230; overflow:hidden; box-shadow:0 40px 100px -30px rgba(0,0,0,.9); }
.mac__bar { height:34px; display:flex; align-items:center; gap:7px; padding:0 14px; background:#1a2230; border-bottom:1px solid #0d1219; }
.mac__bar i { width:12px; height:12px; border-radius:50%; background:#3a4453; }
.mac__bar i:nth-child(1) { background:#ff5f57; } .mac__bar i:nth-child(2) { background:#febc2e; } .mac__bar i:nth-child(3) { background:#28c840; }
.mac img { width:100%; }

/* The live section: what the radio heard, in the radio's figures. */
.heard { display:grid; gap:1rem 2rem; margin:2rem 0 0; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); }
.heard div { border-top:1px solid var(--line-2); padding-top:.8rem; }
.heard b { display:block; font-family:var(--display); font-weight:400; font-size:var(--t-lg); color:var(--seg); letter-spacing:0; line-height:1.1; }
.heard > div > span { display:block; font-size:var(--t-sm); color:var(--dim); margin-top:.25rem; }
.heard .is-cyan { color:var(--cyan); }
.detail-pair { display:grid; gap:1rem; margin-top:clamp(2rem,5vw,3.5rem); align-items:start; }
@media (min-width:760px) { .detail-pair { grid-template-columns:1fr 1fr; } }
.rules { margin-top:clamp(2.5rem,6vw,4rem); display:grid; gap:1.2rem 2.5rem; }
.rules p { color:var(--muted); margin:0; }
@media (min-width:900px) { .rules { grid-template-columns:1fr 1fr; } }

/* Read & write: a status block in the panel's style, since the moment itself is a dialog not worth a picture. */
.verify { border:1px solid var(--line-2); border-radius:var(--r-lg); background:var(--panel); padding:1.4rem 1.6rem; font-family:var(--display); font-size:var(--t-sm); color:var(--muted); display:grid; gap:.55rem; }
.verify div { display:flex; justify-content:space-between; gap:1rem; }
.verify .ok { color:var(--green); }
.verify .seg { color:var(--seg); }

/* The spec: one column, what this software does, grouped. "no" and "soon" rows are the honest ones. */
.spec { display:grid; gap:clamp(1.5rem,3vw,2.5rem) clamp(2rem,4vw,3.5rem); }
.spec__group h3 { font-size:var(--t-md); margin-bottom:.6rem; }
.spec table { width:100%; border-collapse:collapse; font-size:var(--t-sm); }
.spec td { padding:.6rem 0; border-top:1px solid var(--line); vertical-align:top; color:var(--muted); }
.spec td:first-child { color:var(--text); padding-right:1rem; width:46%; }
.spec td:last-child { position:relative; padding-left:1.4rem; }
.spec td:last-child::before { content:"✓"; position:absolute; left:0; color:var(--green); font-weight:700; }
.spec td.no::before { content:"✕"; color:var(--red); }
.spec td.soon::before { content:"◔"; color:var(--amber); }
@media (min-width:900px) { .spec { grid-template-columns:1fr 1fr; } }

/* Built on the radio */
.built { display:grid; gap:2rem; }
.built p { color:var(--muted); }
.built blockquote { margin:0; padding:1.4rem 1.6rem; border-left:3px solid var(--amber); background:var(--panel); border-radius:0 var(--r) var(--r) 0; color:var(--muted); font-size:var(--t-md); }
.built blockquote footer { margin-top:.8rem; font-size:var(--t-sm); color:var(--dim); }
@media (min-width:900px) { .built { grid-template-columns:7fr 5fr; align-items:start; } }

/* Requirements: two cards because they are two answers to one question. */
.req { display:grid; gap:1rem; }
.req__card { border:1px solid var(--line-2); border-radius:var(--r-lg); padding:1.4rem 1.6rem; background:var(--panel); }
.req__card h3 { font-size:var(--t-md); margin-bottom:.8rem; }
.req__card ul { margin:0; padding:0; list-style:none; display:grid; gap:.55rem; color:var(--muted); }
.req__card li { padding-left:1.5rem; position:relative; }
.req__card li::before { content:"✓"; position:absolute; left:0; color:var(--green); font-weight:700; }
.req__card--no li::before { content:"✕"; color:var(--red); }
.req__card--no { border-color:rgba(255,90,74,.35); }
.req__note { color:var(--dim); font-size:var(--t-sm); margin:1rem 0 0; }
.req__note a { color:var(--cyan); }
@media (min-width:760px) { .req { grid-template-columns:1fr 1fr; } }
.faq { display:grid; gap:1rem; }
.faq__item { border:1px solid var(--line-2); border-radius:var(--r-lg); padding:1.4rem 1.6rem; background:var(--panel); }
.faq__item h3 { font-size:var(--t-md); margin-bottom:.6rem; }
.faq__item p { margin:0; color:var(--muted); }
@media (min-width:900px) { .faq { grid-template-columns:1fr 1fr; } }

/* Price */
.price { display:grid; gap:1.5rem; align-items:center; }
.price__card { border:1px solid var(--line-2); border-radius:var(--r-lg); padding:clamp(1.6rem,4vw,2.4rem); background:linear-gradient(180deg, var(--panel-2), var(--panel)); }
.price__amount { font-family:var(--display); font-size:var(--t-2xl); color:var(--seg); line-height:1; }
.price__amount small { font-family:var(--font); font-size:var(--t-md); color:var(--dim); margin-left:.5rem; }
.price__card ul { margin:1.4rem 0 1.6rem; padding:0; list-style:none; display:grid; gap:.55rem; color:var(--muted); }
.price__card li { padding-left:1.5rem; position:relative; }
.price__card li::before { content:"✓"; position:absolute; left:0; color:var(--green); font-weight:700; }
.price__fine { color:var(--dim); font-size:var(--t-sm); margin:1rem 0 0; }
.price__side p { color:var(--muted); }
.steps { margin:1rem 0 1.2rem; padding:0; list-style:none; counter-reset:step; display:grid; gap:.8rem; color:var(--muted); }
.steps li { position:relative; padding-left:2.4rem; }
.steps li::before { counter-increment:step; content:counter(step); position:absolute; left:0; top:.05em; width:1.7rem; height:1.7rem; border-radius:50%; border:1px solid var(--line-2); display:grid; place-items:center; font-family:var(--display); font-size:var(--t-sm); color:var(--cyan); }
@media (min-width:900px) { .price { grid-template-columns:1fr 1fr; } }

/* Notify form */
.form { display:grid; gap:.8rem; max-width:560px; }
.form input[type=email], .form input[type=text] { font:inherit; padding:.9rem 1rem; border-radius:var(--r); border:1px solid var(--line-2); background:var(--panel); color:var(--seg); }
.form__row { display:flex; flex-wrap:wrap; gap:.6rem; }
.form__row input { flex:1 1 220px; }
.form label { font-size:var(--t-sm); color:var(--muted); }
.form__msg { font-size:var(--t-sm); color:var(--muted); min-height:1.4em; }
.form__msg.ok { color:var(--green); } .form__msg.bad { color:var(--red); }
.form .hp { position:absolute; left:-9999px; }

/* Footer: the same shell as software.emilitek.com */
.footer { border-top:1px solid var(--line); padding:3.5rem 0 2.5rem; background:var(--bg-deep); color:var(--muted); font-size:var(--t-sm); }
.footer__top { display:grid; gap:2rem; align-items:start; }
.footer__logo { display:inline-block; }
.footer__brand .footer__logo img { width:min(220px, 60vw); }
.footer__parent { display:inline-flex; align-items:center; gap:.7rem; margin-top:1rem; text-decoration:none; color:var(--dim); font-size:var(--t-sm); }
.footer__parent img { height:22px; width:auto; }
.footer h4 { color:var(--seg); font-size:var(--t-sm); margin-bottom:.7rem; }
.footer ul { margin:0; padding:0; list-style:none; display:grid; gap:.4rem; }
.footer a { text-decoration:none; color:var(--muted); } .footer a:hover { color:var(--seg); }
.footer__bar { display:flex; flex-wrap:wrap; gap:.6rem 2rem; margin-top:2.5rem; padding-top:1.2rem; border-top:1px solid var(--line); color:var(--dim); font-size:var(--t-sm); }
.footer__trade { margin-top:1rem; color:var(--dim); font-size:var(--t-sm); max-width:80ch; }
@media (min-width:860px) { .footer__top { grid-template-columns:1.6fr 1fr 1fr 1fr; } }

/* Motion. Without JS everything is simply visible. With it, the hero plays once on load; everything else rises in as
   it arrives and settles back as it leaves, so the page animates both ways. Reduce Motion turns all of it off. */
.js .hero h1 .w { opacity:0; transform:translateY(.6em); transition:opacity .7s var(--ease), transform .7s var(--ease); transition-delay:calc(var(--i) * 70ms); }
.js .hero.is-ready h1 .w { opacity:1; transform:none; }
.js .hero .lede, .js .hero__cta, .js .hero__fits { opacity:0; transform:translateY(14px); transition:opacity .8s var(--ease) .45s, transform .8s var(--ease) .45s; }
.js .hero .stage { opacity:0; transform:translateY(40px) scale(.985); transition:opacity 1.1s var(--ease) .6s, transform 1.1s var(--ease) .6s; }
.js .hero.is-ready .lede, .js .hero.is-ready .hero__cta, .js .hero.is-ready .hero__fits, .js .hero.is-ready .stage { opacity:1; transform:none; }
.js .reveal { opacity:0; transform:translateY(28px); transition:opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay:var(--d, 0ms); }
.js .reveal--zoom { transform:translateY(28px) scale(.965); }
.js .reveal--left { transform:translateX(-34px); }
.js .reveal--right { transform:translateX(34px); }
.js .reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .js .reveal, .js .hero h1 .w, .js .hero .lede, .js .hero__cta, .js .hero__fits, .js .hero .stage { opacity:1; transform:none; transition:none; }
  .stage__slide.is-on img { animation:none; transform:none; }
  .meter i { transition:none; }
}

/* Legal and thanks pages */
.legal { padding:var(--section) 0; }
.legal__head { margin-bottom:2.5rem; }
.legal__head h1 { font-size:var(--t-xl); }
.legal__meta { color:var(--dim); font-size:var(--t-sm); margin-top:.8rem; }
.policy-body { max-width:72ch; }
.policy-body h2 { font-size:var(--t-lg); margin:2.2rem 0 .8rem; }
.policy-body h3 { font-size:var(--t-md); margin:1.6rem 0 .6rem; }
.policy-body p, .policy-body li { color:var(--muted); }
.policy-body a { color:var(--cyan); }
.thanks { min-height:60vh; display:grid; place-items:center; text-align:center; padding:var(--section) 0; }
.thanks h1 { font-size:var(--t-xl); }
.thanks p { color:var(--muted); max-width:50ch; margin:1rem auto; }
.thanks .btn { margin-top:1rem; }

/* Download page: the current version as a card, then install steps, release notes and help. */
.dl-hero { background:radial-gradient(90% 60% at 50% -10%, rgba(91,200,255,.13), transparent 70%), var(--bg-deep); }
.dl-hero h1 { font-size:var(--t-2xl); }
.dl-hero .lede a, .price__side a, .dl__plain a, .notes a { color:var(--cyan); }
.dl__ver { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.4rem 1rem; margin:0 0 1.2rem; color:var(--dim); font-size:var(--t-sm); }
.dl__ver .data { color:var(--seg); font-size:var(--t-lg); }
.dl__file { margin-top:1.4rem; display:block; }
.dl__file td:last-child::before { content:none; }
.dl__file td:last-child { padding-left:0; }
.dl__hash { word-break:break-all; font-size:.8rem; color:var(--muted); }
.dl__steps { max-width:72ch; }
.dl__steps strong { color:var(--seg); }
.dl__plain p { color:var(--muted); }
.dl__cmd { background:var(--bg-deep); border:1px solid var(--line-2); border-radius:var(--r); padding:.7rem .9rem; color:var(--seg); font-size:var(--t-sm); word-break:break-all; }
.notes { border:1px solid var(--line-2); border-radius:var(--r-lg); background:var(--panel); padding:clamp(1.4rem,4vw,2.2rem); }
.notes__head { display:flex; flex-wrap:wrap; align-items:baseline; gap:.4rem 1rem; padding-bottom:1rem; border-bottom:1px solid var(--line); }
.notes__head h3 { font-size:var(--t-lg); }
.notes__date { color:var(--dim); font-size:var(--t-sm); }
.notes__body h4 { color:var(--seg); font-size:var(--t-base); margin:1.4rem 0 .5rem; }
.notes__body ul { margin:0; padding:0; list-style:none; display:grid; gap:.45rem; color:var(--muted); }
.notes__body li { padding-left:1.3rem; position:relative; }
.notes__body li::before { content:""; position:absolute; left:0; top:.7em; width:.45rem; height:.45rem; border-radius:50%; background:var(--cyan); }
.notes__limits li::before { background:var(--amber); }
.notes__older { margin-top:2rem; }
.notes__older h3 { font-size:var(--t-md); margin-bottom:.5rem; }
.notes__older p { color:var(--dim); }
.thanks p a { color:var(--cyan); }
