/* Stationhand marketing site – a few static pages, no frameworks, no outside fonts (fast, private, easy to move to any host) */
:root {
  --bg: #070a12; --bg2: #0b1020; --panel: #111827; --panel2: #161f33; --line: rgba(255,255,255,.08);
  --text: #e8ecf4; --muted: #9aa6bd; --faint: #6b7690;
  --accent: #38bdf8; --accent2: #818cf8; --accent3: #f472b6; --ok: #34d399;
  --r: 18px; --shadow: 0 30px 80px rgba(0,0,0,.45);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 650;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #04111f; box-shadow: 0 10px 30px rgba(56,189,248,.25); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(56,189,248,.35); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); }
.btn.small { min-height: 38px; padding: 0 18px; font-size: 15px; }
.btn.big { min-height: 58px; padding: 0 34px; font-size: 19px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(7,10,18,.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 20px; letter-spacing: -.01em; }
.mark { width: 38px; height: 38px; display: block; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { color: var(--muted); font-size: 15px; font-weight: 500; } .nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn)[aria-current=page] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.menu { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; }
.glow { position: absolute; inset: -20% -10% auto; height: 700px; background:
  radial-gradient(600px 300px at 20% 20%, rgba(56,189,248,.18), transparent 70%),
  radial-gradient(500px 300px at 80% 10%, rgba(129,140,248,.18), transparent 70%),
  radial-gradient(400px 260px at 60% 60%, rgba(244,114,182,.10), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; }
.grad { background: linear-gradient(135deg, var(--accent), var(--accent2) 55%, var(--accent3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--muted); margin: 22px 0 30px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 15.5px; }
.ticks li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 10px; }
.hero-shot { position: relative; }
.frame { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: var(--panel); box-shadow: var(--shadow); }
.frame.big { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.phone { margin: 0; width: 200px; border-radius: 34px; overflow: hidden; border: 8px solid #1b2233; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08); background: #000; }
.hero-shot .phone { position: absolute; right: -28px; bottom: -70px; width: 160px; border-width: 6px; border-radius: 26px; }
.phone.small { width: 190px; }

/* the strip */
.strip { border-block: 1px solid var(--line); background: var(--bg2); }
.strip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 28px 0; }
.strip b { display: block; font-size: 19px; } .strip span { color: var(--muted); font-size: 14.5px; }

/* sections */
.section { padding: 100px 0; }
.section.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-block: 1px solid var(--line); }
.head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
h2 { font-size: clamp(32px, 3.8vw, 48px); font-weight: 780; }
.sub { color: var(--muted); font-size: 19px; margin: 18px 0 0; }
.feature { display: grid; grid-template-columns: .9fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 90px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .text { order: 2; }
h3 { font-size: 30px; font-weight: 750; margin-bottom: 12px; }
.text > p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.text ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.text li { position: relative; padding-left: 26px; color: var(--muted); }
.text li::before { content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.text li b { color: var(--text); font-weight: 650; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: -40px 0 90px; }
.mini-grid.three { grid-template-columns: repeat(3, 1fr); margin: 0; }
.mini-grid figcaption { padding: 12px 16px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.pair { position: relative; }
.pair .phone { position: absolute; right: -12px; bottom: -40px; }

/* listeners */
.listener-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; align-items: center; }
.phones { display: flex; gap: 18px; justify-content: center; }
.phones .phone { width: 46%; max-width: 220px; }
.phones .phone:nth-child(2) { margin-top: 60px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card h3, .card h4 { font-size: 18px; margin-bottom: 8px; } .card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.gallery img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); }
.zoomable { cursor: zoom-in; }

/* how it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; }
.steps li::before { content: counter(s); display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #04111f; margin-bottom: 16px; }
.steps b { display: block; font-size: 20px; margin-bottom: 6px; } .steps span { color: var(--muted); font-size: 15.5px; }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(56,189,248,.5); box-shadow: 0 0 0 1px rgba(56,189,248,.25), var(--shadow); }
.plan .price { color: var(--accent); font-weight: 700; margin: 6px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; color: var(--muted); flex: 1; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 10px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
summary { cursor: pointer; font-weight: 650; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; } details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* contact + footer */
.contact { text-align: center; background: radial-gradient(600px 260px at 50% 0%, rgba(56,189,248,.16), transparent 70%); }
.contact .sub { margin-bottom: 30px; }
.foot { border-top: 1px solid var(--line); padding: 34px 0; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14.5px; }
.brand.small { font-size: 17px; } .brand.small .mark { width: 30px; height: 30px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3,5,10,.92); display: flex; align-items: center; justify-content: center; padding: 50px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 12px; box-shadow: var(--shadow); }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 14px; top: 50%; } .lb-next { right: 14px; top: 50%; }
.lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--muted); margin: 0; }

/* fade in as they come into view */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* tablets and phones */
@media (max-width: 1000px) {
  .hero-grid, .feature, .listener-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .text { order: 0; }
  .frame.big { transform: none; }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .mini-grid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(7,10,18,.97); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 54px 0 80px; }
  .section { padding: 70px 0; }
  .head { margin-bottom: 40px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .cards, .steps, .plans, .mini-grid, .mini-grid.three { grid-template-columns: 1fr; }
  .mini-grid { margin-top: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-shot .phone { width: 130px; right: -6px; bottom: -40px; border-width: 5px; border-radius: 22px; }
  .pair .phone { width: 120px; border-width: 5px; border-radius: 22px; }
  .lightbox { padding: 60px 10px; } .lb-prev, .lb-next { top: auto; bottom: 10px; }
}

/* listen live */
.listen { background: radial-gradient(700px 300px at 50% 0%, rgba(129,140,248,.14), transparent 70%); }
.live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; }
.live-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s, transform .15s; }
.live-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.live-card .go { flex: 1; display: flex; align-items: center; gap: 16px; padding: 16px 18px; color: var(--text); }
.live-card .site { padding: 11px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; font-weight: 500; }
.live-card .site:hover, .live-card .site:focus-visible { color: var(--accent); background: rgba(255,255,255,.03); }
.live-card .art { width: 64px; height: 64px; flex: none; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; color: #fff; background: var(--st, linear-gradient(135deg, var(--accent2), var(--accent3))); }
.live-card .art img { width: 100%; height: 100%; object-fit: cover; }
.live-card .who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.live-card .who b { font-size: 18px; line-height: 1.25; }
.live-card .who small { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-card .who .np { color: var(--text); font-size: 14.5px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.live-card .who .np::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; margin-right: 8px; vertical-align: 1px; animation: onair 1.6s ease-in-out infinite; }
@keyframes onair { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-card .who .np::before { animation: none; } }
.live-card .play { width: 48px; height: 48px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #04111f; background: linear-gradient(135deg, var(--accent), var(--accent2)); padding-left: 3px; }
.cta.center { justify-content: center; margin-top: 34px; }
.hint { text-align: center; color: var(--faint); font-size: 14.5px; margin: 16px 0 0; }

/* for artists & labels */
.artists-shot { max-width: 880px; margin: 40px auto 0; }

/* resellers */
.note-pill { display: inline-block; margin: 18px auto 0; padding: 10px 18px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: var(--text); font-size: 15.5px; max-width: 720px; }
.note-pill a { color: var(--accent); }
.reseller-cards { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.contact-alt { margin: 22px 0 0; font-size: 16px; }
.contact-alt a { color: var(--accent); }
@media (max-width: 900px) { .reseller-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reseller-cards { grid-template-columns: 1fr; } .btn.big { font-size: 16px; padding: 0 20px; } }

/* the beta offer */
.beta-pill { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; padding: 7px 16px 7px 7px; border-radius: 999px; font-size: 14.5px; color: var(--text);
  background: color-mix(in srgb, var(--accent2) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent2) 40%, transparent); }
.beta-pill b { padding: 3px 11px; border-radius: 999px; color: #fff; font-size: 13px; background: linear-gradient(135deg, var(--accent2), var(--accent3)); }
.beta-pill:hover { border-color: var(--accent2); }
.beta-box { margin: 0 auto 90px; padding: 40px 32px; border-radius: 22px; background: var(--panel); border: 1px solid color-mix(in srgb, var(--accent2) 45%, var(--line));
  box-shadow: 0 20px 60px color-mix(in srgb, var(--accent2) 18%, transparent); scroll-margin-top: 90px; }
.beta-box h2 { margin: 4px 0 16px; }
.beta-box p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 600px; margin: 0 auto 26px; }
.beta-box p b { color: var(--text); }
@media (max-width: 560px) { .beta-box { padding: 30px 20px; } }

.foot-note { color: var(--faint); font-size: 13px; margin: 14px auto 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--muted); } .foot-links a:hover { color: var(--text); }

/* beat-matched mixing */
.mixdiagram { margin: 0 auto 40px; max-width: 980px; padding: 26px 22px 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.mixdiagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.mixdiagram figcaption { color: var(--muted); font-size: 14.5px; text-align: center; margin-top: 10px; }
.mx-window { fill: color-mix(in srgb, var(--accent2) 10%, transparent); stroke: color-mix(in srgb, var(--accent2) 45%, transparent); stroke-width: 1; }
.mx-bar { fill: var(--accent); }
.mx-bar.in { fill: url(#mx-in); }
.mx-phrase { stroke: var(--text); stroke-width: 1.5; }
.mx-vocal { fill: var(--accent3); }
.mx-mark { stroke: var(--text); stroke-width: 2; }
.mx-swap { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 4; }
.mx-label { fill: var(--text); font-size: 16px; font-weight: 650; }
.mx-cap { fill: var(--text); font-size: 15px; font-weight: 600; }
.mx-small { fill: var(--muted); font-size: 13px; }
.mix-cards { margin-top: 0; }
.mix-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0 18px; text-align: center; }
.mix-facts b { display: block; font-size: 34px; letter-spacing: -.02em; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mix-facts span { color: var(--muted); font-size: 15px; }
.strip a { color: inherit; text-decoration: none; } .strip a:hover b { color: var(--accent); }
@media (max-width: 900px) { .mix-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mixdiagram { padding: 16px 10px 10px; margin-left: -6px; margin-right: -6px; } .mx-small { font-size: 15px; } }
.mx-scroll { overflow-x: auto; }
@media (max-width: 700px) { .mx-scroll svg { min-width: 700px; } .mixdiagram figcaption::before { content: "Swipe to see the whole mix. "; } }
.stats-grid { align-items: start; }

/* the enquiry form */
.contact h2 + .sub { margin-bottom: 28px; }
.enquire { text-align: left; display: grid; gap: 18px; scroll-margin-top: 90px; }
.enquire fieldset { margin: 0; padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); min-width: 0; }
.enquire legend { padding: 0 8px; margin-left: -8px; font-weight: 650; font-size: 17px; }
.enquire em { color: var(--faint); font-style: normal; font-weight: 400; }
.enquire label { display: grid; gap: 6px; color: var(--muted); font-size: 14.5px; }
.enquire input:not([type=radio]):not([type=checkbox]), .enquire select, .enquire textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
.enquire textarea { resize: vertical; }
.enquire input:focus-visible, .enquire select:focus-visible, .enquire textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.enquire .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.enquire .fields.three { grid-template-columns: repeat(3, 1fr); }
.enquire fieldset > .fields:first-of-type, .enquire legend + .fields { margin-top: 6px; }
.enquire .full { grid-column: 1 / -1; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.choices.small { grid-template-columns: repeat(4, 1fr); }
.choice { position: relative; display: block !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: grid; gap: 3px; height: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); transition: border-color .15s, background .15s; }
.choice b { color: var(--text); font-weight: 600; font-size: 15.5px; } .choice small { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.choice input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choices.small .choice span { padding: 11px 13px; } .choices.small b { font-size: 14.5px; }
.ticks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; margin-top: 6px; }
.tick { display: flex !important; align-items: flex-start; gap: 9px !important; color: var(--text) !important; font-size: 15px !important; cursor: pointer; }
.tick input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-err { color: #f87171; margin: 0; min-height: 0; }
.form-err:empty { display: none; }
.form-send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-send small { color: var(--faint); font-size: 13.5px; flex: 1; min-width: 220px; }
.enquire-done { padding: 34px 24px; border-radius: var(--r); background: var(--panel); border: 1px solid color-mix(in srgb, var(--ok) 45%, var(--line)); outline: none; }
.enquire-done h3 { font-size: 24px; margin-bottom: 6px; } .enquire-done p { color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
  .enquire .fields, .enquire .fields.three, .choices, .ticks-grid { grid-template-columns: 1fr; }
  .choices.small { grid-template-columns: 1fr 1fr; }
  .enquire fieldset { padding: 16px 14px 18px; }
}

[hidden] { display: none !important; }

/* the "how it works" infographic */
.infographic { max-width: 1200px; margin: 0 auto 90px; border-radius: 28px; background: transparent; }
.infographic img { width: 100%; height: auto; display: block; }

/* the private form page (enquiry/) */
.form-page .contact { padding-top: 56px; }
.form-title { font-size: clamp(30px, 5vw, 44px); letter-spacing: -.02em; margin: 0 0 12px; }

/* ---- live demo sign-up (demo/) ---- */
.demo-closed { padding: 14px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.demo-done { text-align: left; }
.demo-done h4 { margin: 26px 0 8px; font-size: 17px; }
.demo-done p + p, .demo-done .demo-cred + p { margin-top: 14px; }
.demo-done .ticks { margin: 0; } .demo-done .ticks + p { margin-top: 16px; }
.demo-state { font-weight: 600; } .demo-state.ok { color: var(--ok); } .demo-state.wait { color: #fbbf24; }
.demo-cred { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; align-items: center; margin: 18px 0 0; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.demo-cred dt { color: var(--muted); font-size: 14px; }
.demo-cred dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.demo-cred dd .btn { flex: none; }
.demo-cred code { font: 600 19px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text); overflow-wrap: anywhere; user-select: all; }
@media (max-width: 520px) { .demo-cred { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px; } .demo-cred dd + dt { margin-top: 10px; } .demo-cred code { font-size: 16px; } }
.btn.disabled { opacity: .55; cursor: progress; }
.small-print { font-size: 14px; }
.demo-line { margin: 16px 0 0; color: var(--muted); font-size: 15px; } .demo-line a { color: var(--accent); }
.quick-mailing { margin-top: 16px; }

/* ---- pages: headings, the home page's topics, the features tabs ---- */
[id] { scroll-margin-top: 84px; }
.page-title { font-size: clamp(32px, 3.8vw, 48px); font-weight: 780; }
.section.first { padding-top: 72px; }
.page-head { position: relative; overflow: hidden; text-align: center; padding: 72px 0 34px; }
.page-head .wrap { position: relative; }
.page-head .page-title { font-size: clamp(36px, 4.8vw, 58px); font-weight: 800; }
.page-head .sub { max-width: 720px; margin-left: auto; margin-right: auto; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: grid; align-content: start; gap: 6px; padding: 22px 22px 46px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); color: var(--text); transition: border-color .15s, transform .15s, background .15s; }
.tile b { font-size: 18px; line-height: 1.25; } .tile span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.tile i { position: absolute; left: 22px; bottom: 16px; font-style: normal; color: var(--accent); transition: transform .15s; }
.tile:hover, .tile:focus-visible { border-color: var(--accent); background: var(--panel2); transform: translateY(-2px); } .tile:hover i { transform: translateX(4px); }
.home-beta { margin-bottom: 0; }
.tabs-bar { position: sticky; top: 68px; z-index: 40; background: rgba(7,10,18,.86); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; justify-content: safe center; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 15px; font-weight: 550; white-space: nowrap; transition: color .15s, border-color .15s; }
.tabs a:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.tabs a[aria-selected=true] { color: #04111f; border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.tab-panel { padding: 72px 0 96px; scroll-margin-top: 126px; }
.tab-panel [id] { scroll-margin-top: 140px; }
.tab-panel + .tab-panel { border-top: 1px solid var(--line); }
.js-tabs .tab-panel:not(.on) { display: none; }
.js-tabs .tab-panel + .tab-panel { border-top: 0; }
.tab-panel .cards:first-child { margin-top: 0; }
.infographic.in-panel { margin-bottom: 0; }
.mini-grid.after { margin-bottom: 0; }
.sub-block { margin-top: 90px; padding-top: 80px; border-top: 1px solid var(--line); }
.panel-next { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 64px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } .tile { padding: 18px 16px 42px; } .tile i { left: 16px; } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .page-head { padding: 48px 0 24px; } .section.first { padding-top: 52px; } .tab-panel { padding: 52px 0 70px; } .sub-block { margin-top: 60px; padding-top: 56px; } }
.tiles.notfound { grid-template-columns: 1fr 1fr; margin-top: 34px; text-align: left; }
@media (max-width: 480px) { .tiles.notfound { grid-template-columns: 1fr; } }
/* card and plan titles that sit straight under a page's h1 are h2s – they look the same as everywhere else */
.card h2 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.plan h2 { font-size: 30px; font-weight: 750; margin-bottom: 12px; }
