/* MixOutpost — palette taken from the app icon */
:root {
  --navy-950: #060e20;
  --navy-900: #081831;
  --navy-850: #0f1e3d;
  --navy-800: #142649;
  --line: rgba(170, 185, 215, .13);
  --line-strong: rgba(170, 185, 215, .26);
  --accent: #ff6501;          /* logo orange */
  --accent-soft: rgba(255, 101, 1, .13);
  --cream: #f8f4ee;           /* logo cream */
  --cream-soft: rgba(248, 244, 238, .10);
  --red: #ff3b4e;
  --text: #f8f4ee;
  --muted: #93a6c3;
  --dim: #62759a;

  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 18px;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font: 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.06; letter-spacing: -.02em; }
p { margin: 0; }
b { font-weight: 600; color: var(--text); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--navy-950); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.35em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy-950);
  font-weight: 600; font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(255, 101, 1, .6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-small { padding: .55em 1.05em; font-size: 14px; }
.btn[aria-disabled="true"] { cursor: default; color: var(--muted); }
.btn[aria-disabled="true"]:hover { transform: none; border-color: var(--line-strong); }

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(11, 23, 49, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand img { height: 22px; width: auto; border-radius: 0; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }


/* ── Hero ────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(24px, 3.5vw, 48px) 0 clamp(36px, 5vw, 64px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 101, 1, .10), transparent 60%),
    radial-gradient(700px 400px at 70% 90%, rgba(248, 244, 238, .07), transparent 60%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  opacity: .5; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--f-mono); letter-spacing: .02em;
  color: var(--muted);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(15, 30, 61, .6);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
h1 {
  margin-top: 26px;
  font-size: clamp(44px, 6.6vw, 84px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .98;
}
h1 em { font-style: normal; color: var(--accent); }
.lede { margin-top: 26px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row.center { justify-content: center; }
.fine { margin-top: 18px; font: 400 13px/1.5 var(--f-mono); color: var(--dim); }

/* Hero visual */
.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 70px 0.9fr; align-items: center; min-height: 420px; }
.plugin {
  background: linear-gradient(180deg, #16284c, #0f1d3a);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  overflow: hidden;
  transform: rotate(-2deg);
}
.plugin-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: rgba(0, 0, 0, .25); border-bottom: 1px solid var(--line); }
.plugin-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2b3e63; }
.plugin-bar b { margin-left: 8px; font: 500 11px var(--f-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plugin-body { padding: 16px; display: grid; gap: 12px; }
.plugin-status { display: flex; align-items: center; gap: 8px; font: 600 13px var(--f-body); color: var(--accent); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s infinite; }
.plugin-name { font: 500 12px var(--f-mono); color: var(--muted); }
.plugin-qr { width: 100%; max-width: 132px; aspect-ratio: 1; padding: 10px; background: var(--cream); color: var(--navy-900); border-radius: 10px; }
.plugin-qr svg { width: 100%; height: 100%; }
.plugin-listeners span { font: 500 10px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.plugin-listeners ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.plugin-listeners li { font-size: 12px; color: var(--text); display: flex; align-items: center; gap: 7px; }
.plugin-listeners li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cream); }

.waves { width: 100%; height: 90px; overflow: visible; }
.wave { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 14 10; animation: flow 1.4s linear infinite; }
.wave-a { stroke: var(--accent); }
.wave-b { stroke: var(--cream); animation-duration: 1.8s; }
@keyframes flow { to { stroke-dashoffset: -48; } }

.phone {
  position: relative;
  width: 100%; max-width: 250px; justify-self: center;
  aspect-ratio: 9 / 19;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, #22365e, #0b1731 60%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .03);
  transform: rotate(2deg);
}
.phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 76px; height: 22px; background: #000; border-radius: 20px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 31px; background: #050b19; padding: 50px 14px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ph-src { font-weight: 600; font-size: 14px; }
.ph-pill { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; font: 500 9.5px var(--f-mono); color: var(--accent); background: var(--accent-soft); padding: 4px 8px; border-radius: 99px; }
.ph-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.ph-pill svg { width: 9px; height: 9px; }
.ph-tabs, .ph-listen { display: flex; background: #0f1a33; border-radius: 9px; padding: 3px; font-size: 10px; }
.ph-tabs span, .ph-listen span { flex: 1; text-align: center; padding: 5px 0; border-radius: 7px; color: var(--muted); font-weight: 500; }
.ph-tabs .on, .ph-listen .on { background: #243a66; color: var(--text); }
.ph-meters { flex: 1; display: grid; grid-template-columns: 22px 22px 1fr; gap: 8px; min-height: 0; }
.meter { position: relative; background: #0f1a33; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.meter i {
  display: block; width: 100%;
  height: calc(var(--h) * 100%);
  background: linear-gradient(to top, var(--cream) 0 70%, var(--accent) 70% 90%, var(--red) 90%);
  background-size: 100% calc(100% / var(--h));
  background-position: bottom;
  transition: height .09s linear;
}
.meter b { position: absolute; bottom: 4px; width: 100%; text-align: center; font: 600 9px var(--f-mono); color: var(--navy-950); }
.ph-lufs { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-left: 8px; }
.ph-lufs span { font: 500 9px var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.ph-lufs strong { font: 500 34px/1.1 var(--f-mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ph-lufs em { font: 500 10px var(--f-mono); font-style: normal; color: var(--accent); }
.ph-dock { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 2px; }
.ph-rec { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #2b3e63; position: relative; }
.ph-rec::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--red); }
.ph-out { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #2b3e63; }
.ph-play { background: var(--accent); color: var(--navy-950); font-weight: 700; font-size: 12px; padding: 9px 22px; border-radius: 99px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .hero-visual { grid-template-columns: 1fr 36px 1fr; }
  .plugin-body { padding: 10px; gap: 8px; }
  .plugin-listeners { display: none; }
  .phone { border-radius: 30px; padding: 7px; }
  .phone-screen { border-radius: 24px; padding: 38px 9px 9px; gap: 8px; }
  .phone-notch { top: 12px; width: 52px; height: 16px; }
  .ph-lufs strong { font-size: 22px; }
  .ph-meters { grid-template-columns: 14px 14px 1fr; gap: 5px; }
  .ph-tabs, .ph-listen { font-size: 8px; }
  .ph-src { font-size: 11px; }
  .ph-play { padding: 7px 14px; font-size: 10px; }
  .ph-rec, .ph-out { width: 22px; height: 22px; }
  .ph-rec::after { inset: 5px; }
}

/* ── Strip ───────────────────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--navy-950); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 28px 12px; text-align: center; border-left: 1px solid var(--line); }
.strip-grid > div:first-child { border-left: 0; }
.strip strong { display: block; font: 500 clamp(26px, 3.4vw, 38px)/1.1 var(--f-mono); letter-spacing: -.03em; color: var(--accent); }
.strip span { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div:nth-child(3) { border-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ── Sections ────────────────────────────────── */
.section { padding: clamp(24px, 3.2vw, 44px) 0; }
.kicker { font: 500 13px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; }
.h2-wide { max-width: 20ch; }
.section p + p, h2 + p { margin-top: 22px; }
.why p, .room p, .sub { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 40em; }
.sub { margin-top: 20px; }
.center .sub, .room p { margin-inline: auto; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--navy-850), transparent); }
.step-n { font: 500 13px var(--f-mono); color: var(--accent); }
.steps h3 { margin: 16px 0 12px; font-size: 24px; }
.steps p { color: var(--muted); font-size: 16px; }
.step-alt { margin-top: 16px !important; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 14.5px !important; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Check grid */
.check { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.check-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--navy-850); padding: 28px; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }
.card-listen, .card-loud { grid-column: span 3; display: flex; flex-direction: column; gap: 24px; }
.mini { grid-column: span 2; }
.mini h3 { font-size: 19px; margin-top: 18px; }
.ico { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .card-listen, .card-loud { grid-column: span 6; }
  .mini { grid-column: span 3; }
}
@media (max-width: 560px) { .mini { grid-column: span 6; } }

.seg, .target-tabs { display: flex; background: var(--navy-950); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; }
.seg button, .target-tabs button {
  flex: 1; appearance: none; border: 0; background: transparent; color: var(--muted);
  font: 500 14px var(--f-body); padding: 9px 4px; border-radius: 9px; cursor: pointer; transition: background .15s, color .15s;
}
.seg button:hover, .target-tabs button:hover { color: var(--text); }
.seg button[aria-selected="true"], .target-tabs button[aria-selected="true"] { background: var(--navy-800); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.scope { margin-top: 14px; background: var(--navy-950); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 12px; }
.scope svg { width: 100%; height: 120px; }
.sc { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: opacity .25s; mix-blend-mode: screen; }
.sc-l { stroke: var(--accent); }
.sc-r { stroke: var(--cream); }
.scope-note { font: 400 13px var(--f-mono) !important; color: var(--dim) !important; margin-top: 8px !important; }

.target-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.target-list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding: 12px 14px; background: var(--navy-950); border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px;
}
.target-list .v { font: 500 14px var(--f-mono); color: var(--accent); font-variant-numeric: tabular-nums; }
.target-list .tp { font: 400 13px var(--f-mono); color: var(--dim); min-width: 8.5ch; text-align: right; }
.target-list small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; }

/* Reliable */
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ticks li { position: relative; padding: 18px 0 18px 38px; border-top: 1px solid var(--line); color: var(--muted); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 23px; width: 16px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* Room */
.room { background: radial-gradient(700px 360px at 50% 100%, rgba(248, 244, 238, .08), transparent 70%); }
.avatars { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.avatars span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--navy-850);
  font-size: 14.5px; font-weight: 500;
}
.avatars span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.avatars span:nth-child(even)::before { background: var(--cream); box-shadow: 0 0 0 4px var(--cream-soft); }

/* Different */
.diff { border-top: 1px solid var(--line); }
.diff-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.diff-grid > div { background: var(--navy-900); padding: 28px 24px 30px; }
.diff-grid h3 { font-size: 20px; color: var(--accent); }
.diff-grid p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* Plans */
.pro { background: var(--navy-950); border-block: 1px solid var(--line); }
.plans { margin: 48px 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; background: var(--navy-900); }
.plan-pro { border-color: rgba(255, 101, 1, .45); background: linear-gradient(170deg, rgba(255, 101, 1, .08), var(--navy-900) 50%); }
.plan h3 { font-size: 26px; display: flex; align-items: center; gap: 12px; }
.tag { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--navy-950); background: var(--accent); padding: 4px 9px; border-radius: 99px; }
.price { margin-top: 8px; font: 500 16px var(--f-mono); color: var(--muted); }
.plan ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan-pro li:first-child { color: var(--text); font-weight: 600; }
.plan-pro li:first-child::before { display: none; }
.plan-pro li:first-child { padding-left: 0; }

/* Specs */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 860px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-grid dl { margin: 0; padding-top: 18px; border-top: 2px solid var(--accent); }
.spec-grid dt { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.spec-grid dd { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }

/* FAQ */
.faq h2 { margin-bottom: 32px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--f-display); font-weight: 500; font-size: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 0 24px; color: var(--muted); max-width: 44em; }

/* Beta */
.beta-box {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  padding-block: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line-strong); border-radius: 28px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 101, 1, .14), transparent 70%),
    var(--navy-850);
  max-width: 980px;
}
.beta-box img { border-radius: 22px; box-shadow: 0 20px 50px -15px rgba(255, 101, 1, .45); }
.beta-box h2 { margin-top: 26px; }
.beta-box > p { color: var(--muted); margin-top: 14px; font-size: 18px; }


/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═════════════ Multi-page ═════════════ */

/* Nav: current page + mobile menu */
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { margin-left: 4px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--line);
    padding: 8px clamp(18px, 4vw, 40px) 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
}

/* Page header */
.page-head {
  padding: clamp(24px, 4vw, 48px) 0 clamp(22px, 3vw, 36px);
  background: radial-gradient(800px 380px at 85% 0%, rgba(255, 101, 1, .09), transparent 65%);
  border-bottom: 1px solid var(--line);
}
.page-head .wrap { max-width: 900px; }
.crumbs { font: 400 13px var(--f-mono); color: var(--dim); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }
.page-head h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.page-head h1 em { font-style: normal; color: var(--accent); }
.page-lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 40em; }

/* Article body */
.article { padding: clamp(20px, 3vw, 36px) 0; }
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 20px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 44px; }
.prose h3 { font-size: 21px; margin-top: 36px; }
.prose h2 + *, .prose h3 + * { margin-top: 14px; }
.prose p, .prose li { color: #c3d1e6; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
/* Buttons inside articles keep their own colours (the article link colour would hide the label). */
.prose a.btn { color: var(--navy-950); text-decoration: none; }
.prose a.btn-ghost { color: var(--text); }
.prose strong { color: var(--text); font-weight: 600; }
.prose code { font: 500 .88em var(--f-mono); background: var(--navy-850); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 48px; }
.prose .kicker { margin-bottom: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--navy-950); }
.prose tr:last-child td { border-bottom: 0; }
.prose td.num, .prose .mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
.yes, .no, .paid, .part { font: 500 13px var(--f-mono); white-space: nowrap; }
.yes { color: var(--cream); } .yes::before { content: "✓ "; }
.no { color: var(--dim); } .no::before { content: "— "; }
.paid { color: var(--accent); } .paid::before { content: "$ "; }
.part { color: var(--muted); } .part::before { content: "~ "; }

.callout { padding: 18px 20px; border-radius: 14px; background: var(--cream-soft); border: 1px solid var(--line-strong); }
.callout p { color: var(--text); }
.callout > * + * { margin-top: 10px; }
.callout.warn { background: var(--accent-soft); border-color: rgba(255, 101, 1, .4); }
.callout-title { font: 600 13px var(--f-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--accent) !important; }
.callout.warn .callout-title { color: var(--accent) !important; }

.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.figs > div { background: var(--navy-950); padding: 20px 18px; }
.figs strong { display: block; font: 500 clamp(24px, 3vw, 32px)/1.1 var(--f-mono); letter-spacing: -.03em; color: var(--accent); }
.figs span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.prose .steps { margin-top: 24px; grid-template-columns: 1fr; padding: 0; }
.prose .steps li { margin: 0; }
.prose .steps li + li { margin-top: 0; }
.prose .steps h3 { margin: 10px 0 8px; }
.prose .ticks { padding: 0; }
.prose .ticks li { margin: 0; }

.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cols2 > div { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--navy-850); }
.cols2 h3 { margin-top: 0 !important; font-size: 18px; }
.cols2 > div > * + * { margin-top: 10px; }
@media (max-width: 640px) { .cols2 { grid-template-columns: 1fr; } }

/* FAQ block on inner pages */
.page-faq { padding: 12px 0 clamp(28px, 4vw, 48px); }
.page-faq h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }

/* Related + hub cards */
.related { padding: clamp(24px, 3.5vw, 40px) 0; border-top: 1px solid var(--line); background: var(--navy-950); }
.related h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 24px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rel { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--navy-900); text-decoration: none; transition: border-color .15s, transform .15s; }
.rel:hover { border-color: rgba(255, 101, 1, .5); transform: translateY(-2px); }
.rel span { font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.rel strong { font-family: var(--f-display); font-size: 19px; font-weight: 700; }
.rel em { font-style: normal; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.prose .hub-grid { margin-top: 28px; }
.article-wide .prose { max-width: 1000px; }

/* CTA band */
.cta-band { padding: clamp(24px, 3.5vw, 40px) 0; border-top: 1px solid var(--line); }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.cta-band img { border-radius: 16px; }
.cta-band h2 { font-size: clamp(24px, 2.8vw, 32px); }
.cta-band p { color: var(--muted); margin-top: 6px; }
.cta-band > .wrap > div:nth-child(2) { flex: 1 1 320px; }
.cta-band .cta-row { margin-top: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--navy-950); }
.foot-cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px 28px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 12px 0 16px; max-width: 26em; }
.foot .brand { font-size: 17px; }
.foot .brand img { height: 20px; border-radius: 0; }
.foot h4 { margin: 0 0 12px; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot ul a:hover { color: var(--text); }
.foot-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-legal p { font-size: 12.5px; color: var(--dim); max-width: 70em; }
.foot-small { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 12px; }
.foot-small a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.foot-small a:hover { color: var(--text); }
@media (max-width: 1080px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* "Read more" links on the homepage */
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; margin-top: 14px; }
.more::after { content: "→"; transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }
.more-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; }
.more-row .more { margin-top: 0; }
.fine .more { font-family: var(--f-body); font-size: 14px; margin: 0 0 0 10px; }
.diff-grid h3 a, .spec-grid dd a, .room p a, .step-alt a { color: inherit; text-decoration-color: rgba(255, 101, 1,.5); text-underline-offset: 3px; }
.spec-grid dd a { color: var(--accent); }
.page-faq .narrow, .related .wrap, .cta-band .wrap { max-width: calc(760px + 2 * clamp(18px, 4vw, 40px)); }
.related .wrap, .cta-band .wrap { max-width: var(--wrap); }

.why .kicker, .room .kicker { color: var(--accent); }

/* Makers */
.makers { border-top: 1px solid var(--line); }
.makers-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .makers-grid { grid-template-columns: 1fr; } }
.maker { display: grid; grid-template-columns: 132px 1fr; gap: 22px; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--navy-850); }
@media (max-width: 420px) { .maker { grid-template-columns: 1fr; } }
.maker img, .maker-photo-placeholder { width: 132px; height: 132px; border-radius: 14px; object-fit: cover; }
.maker-photo-placeholder { display: grid; place-items: center; background: var(--navy-800); border: 1px dashed var(--line-strong); font: 700 34px var(--f-display); color: var(--muted); }
.maker h3 { font-size: 22px; }
.maker h3 span { color: var(--muted); font-weight: 500; }
.maker-role { margin-top: 4px; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.maker p:not(.maker-role):not(.maker-links) { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.maker-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.maker-links a { color: var(--accent); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.maker-links a:hover { text-decoration: underline; }

/* Outputs: any device the iPhone plays to */
.outputs .spec-grid { margin-top: 32px; }
.outputs .fine { margin-top: 28px; max-width: 60em; }

/* App screenshots: four small phones in one row, at every width */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 2.4vw, 32px); margin-top: 32px; }  /* full section width */
.screen { margin: 0; min-width: 0; }
.screen img { display: block; width: 100%; height: auto; border-radius: 22px; border: 4px solid #1c2433;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4); background: #000; }
.screen figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.screen figcaption b { display: block; color: var(--text); font-family: var(--f-display); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 600px) {
  .screens { gap: 8px; }
  .screen img { border-radius: 12px; border-width: 2px; }
  .screen figcaption { font-size: 0; margin-top: 8px; }  /* titles only on phones */
  .screen figcaption b { font-size: 12px; text-align: center; }
}
