:root {
  --page: #FFFFFF;
  --band: #FAFAFA;
  --line: #ECE8E5;
  --ink: #24170F;
  --body: #3A2C24;
  --muted: #6E6058;
  --lamp: #E8A33D;
  --green: #3E7A4F;
  --booth: #0B0908;
  --booth-text: #F4ECE4;
  --booth-muted: #CDBFB3;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: max(20px, env(safe-area-inset-left));
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

section { padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right)); }

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.label-lamp { color: var(--lamp); }
h2 {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.h2-sm { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.lede { max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* Buttons: 48px tall on every device, easy to hit with a thumb. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn svg { width: 17px; height: 20px; margin-top: -2px; }
.btn-ink { background: var(--ink); color: #FFFFFF; box-shadow: 0 10px 24px rgba(36, 23, 15, 0.18); }
.btn-ink:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(36, 23, 15, 0.22); }
.btn-ink:active { transform: translateY(0); }
.btn-line { background: #FFFFFF; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: #D9D2CC; }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 15px; }

/* Nav: a floating pill that stays reachable while scrolling. */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 0;
  pointer-events: none;
}
.pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 7px 7px 7px 18px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(36, 23, 15, 0.04), 0 8px 24px rgba(36, 23, 15, 0.06);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; min-height: 44px; }
.brand-mark { width: 22px; height: 20px; color: var(--ink); }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  background: var(--ink); color: #FFFFFF; border-radius: 999px;
  font-size: 14px; font-weight: 600;
}
.nav-cta svg { width: 13px; height: 15px; margin-top: -2px; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 72px; }
.lamp-chip, .air-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
}
.lamp-chip { padding: 7px 14px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--ink); }
.lamp {
  width: 10px; height: 10px; border-radius: 999px; background: var(--lamp); flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.22), 0 0 14px var(--lamp);
}
h1 {
  margin-top: 26px;
  font-weight: 800;
  font-size: clamp(42px, 7.6vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.sub { margin-top: 24px; max-width: 600px; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 32px; width: 100%; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 14px; font-weight: 500; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 7px; }
.checks svg, .ok svg { width: 14px; height: 14px; color: var(--green); }
.ok { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--green); }
.note {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 460px; padding: 20px 22px; border-radius: 20px;
  background: var(--band); border: 1px solid var(--line);
  font-size: 16px; line-height: 1.5; color: var(--body);
}
.note strong { color: var(--ink); }
.note-warn { background: #FFF6E8; border-color: #F1D9B0; display: block; text-align: left; }
.copy-status { font-size: 14px; font-weight: 600; color: var(--green); }
.copy-status:empty { display: none; }
.nav-copy { border: 0; font-family: var(--sans); cursor: pointer; }
.copy-status input { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; font: 15px var(--sans); border: 1px solid var(--line); border-radius: 10px; }

/* Studio panel: the app, large and readable, on the lamp glow. */
.studio { display: flex; justify-content: center; padding-top: 64px; }
.studio-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  padding: 80px 40px 0;
  border-radius: 32px;
  overflow: hidden;
  background: #110D0A url("img/grille-glow.jpg") center 14% / cover no-repeat;
}
.air-chip {
  position: absolute; top: 22px; left: 40px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(17, 13, 10, 0.72); border: 1px solid rgba(232, 163, 61, 0.35);
  color: #F3E6D6; letter-spacing: 0.06em;
}
.air-chip b { font-weight: 600; letter-spacing: 0.14em; color: var(--lamp); }
.air-chip .lamp { width: 9px; height: 9px; box-shadow: 0 0 12px var(--lamp); }
.screen {
  width: 100%;
  max-width: 1200px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Shared two-column section rhythm */
.how, .before, .faq { display: flex; gap: 80px; max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding-top: 150px; }
.section-intro { display: flex; flex-direction: column; gap: 18px; width: 400px; flex-shrink: 0; }

.steps { flex: 1; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.num { width: 48px; flex-shrink: 0; padding-top: 5px; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink); }
.steps h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.steps p { max-width: 62ch; margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--muted); }

.features { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding-top: 160px; }
.features-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.features-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.features-head .lede { max-width: 380px; padding-bottom: 6px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; margin-top: 56px; }
.feature { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--ink); }
.feature svg { width: 26px; height: 26px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--ink); }
.feature h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* Privacy band */
.privacy { display: flex; justify-content: center; padding-top: 160px; }
.booth {
  display: flex; align-items: center; gap: 72px;
  width: 100%; max-width: 1280px;
  padding: 56px 80px 56px 40px;
  border-radius: 32px;
  background: var(--booth);
}
.mic { width: 46%; max-width: 480px; flex-shrink: 0; -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%); }
.booth-copy { display: flex; flex-direction: column; gap: 22px; flex: 1; }
.booth-copy h2 { color: var(--booth-text); font-size: clamp(36px, 4.6vw, 56px); }
.booth-lede { font-size: 18px; line-height: 1.6; color: var(--booth-muted); }
.facts { border-top: 1px solid rgba(244, 236, 228, 0.14); margin-top: 6px; }
.facts div { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(244, 236, 228, 0.14); }
.facts div:last-child { border-bottom: 0; }
.facts dt { width: 140px; flex-shrink: 0; padding-top: 3px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--lamp); }
.facts dd { font-size: 16px; line-height: 1.5; color: var(--booth-text); }

/* Models */
.models { display: flex; gap: 80px; max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding-top: 150px; }
.model-list { flex: 1; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.model { display: grid; grid-template-columns: 300px 1fr; grid-template-rows: auto 1fr auto; gap: 6px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.model-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.model-meta { grid-column: 1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.model > p:not(.model-name):not(.model-meta) { grid-column: 2; grid-row: 1 / span 2; font-size: 16px; line-height: 1.6; color: var(--body); }
.model-link { grid-column: 2; display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.model-link:hover { text-decoration-color: var(--ink); }

/* Before you record + requirements */
.checklist { display: flex; flex-direction: column; gap: 22px; flex: 1; }
.checklist ul { border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tick { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex-shrink: 0; border: 1.5px solid var(--ink); border-radius: 999px; }
.tick svg { width: 13px; height: 13px; color: var(--ink); }
.checklist h3 { font-size: 18px; font-weight: 700; }
.checklist li p { margin-top: 5px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.needs {
  align-self: flex-start;
  display: flex; flex-direction: column; gap: 20px;
  width: 440px; flex-shrink: 0;
  padding: 32px; border-radius: 24px;
  background: var(--band); border: 1px solid var(--line);
}
.needs dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.needs dl div:last-child { border-bottom: 0; }
.needs dt { color: var(--muted); }
.needs dd { font-weight: 600; text-align: right; }
.tip { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* FAQ: native details, so it works without JavaScript and with screen readers. */
.faq-list { flex: 1; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 72px; padding: 18px 0;
  font-size: 19px; font-weight: 700; color: var(--ink);
  cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; width: 20px; flex-shrink: 0; text-align: center; font-size: 24px; font-weight: 300; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { max-width: 640px; padding: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Closing */
.closing { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding-top: 180px; }
.closing-mark { width: 64px; height: 58px; color: var(--ink); }
.closing h2 { max-width: 900px; font-size: clamp(40px, 6.4vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.closing-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.meta { font-size: 14px; color: var(--muted); }

.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: var(--wrap); margin: 72px auto 0;
  padding: 24px var(--gutter) max(40px, calc(env(safe-area-inset-bottom) + 24px));
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.footer-brand { font-weight: 600; color: var(--ink); }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; }
.footer nav > span { display: inline-flex; align-items: center; }

/* Jump links land with the heading just under the header, not a section's worth of padding below it. */
.how, .features, .models, .before, .faq { scroll-margin-top: -118px; }
.privacy { scroll-margin-top: -128px; }

/* Tablet */
@media (max-width: 1080px) {
  .how, .before, .faq, .models { flex-direction: column; gap: 40px; padding-top: 120px; }
  .how, .features, .models, .before, .faq, .privacy { scroll-margin-top: -88px; }
  .section-intro, .faq .section-intro, .needs { width: 100%; }
  .features { padding-top: 120px; }
  .features-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .booth { flex-direction: column; align-items: stretch; gap: 32px; padding: 40px; }
  .mic { width: 100%; max-width: 420px; align-self: center; }
  .privacy { padding-top: 120px; }
}

/* Phones (iPhone and Android) */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav { padding-top: max(10px, env(safe-area-inset-top)); }
  .pill { width: 100%; justify-content: space-between; gap: 12px; padding: 5px 5px 5px 14px; }
  .brand { min-height: 44px; font-size: 16px; }
  .nav-cta { min-height: 44px; }
  .hero { padding-top: 48px; }
  h1 { margin-top: 22px; line-height: 1; letter-spacing: -0.03em; }
  .sub { margin-top: 18px; }
  .cta { margin-top: 26px; }
  .cta-row { flex-direction: column; width: 100%; max-width: 360px; }
  .cta-row .btn { width: 100%; }
  .note { width: 100%; gap: 12px; padding: 16px 16px; border-radius: 18px; font-size: 15px; }
  .note .btn { width: 100%; min-height: 48px; }
  .studio { padding-top: 44px; }
  .studio-panel { padding: 64px 14px 0; border-radius: 24px; }
  .air-chip { top: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10.5px; letter-spacing: 0.03em; gap: 8px; }
  .mic { max-width: 300px; }
  .screen { border-radius: 12px 12px 0 0; }
  .how, .before, .faq, .models { padding-top: 96px; gap: 28px; }
  .how, .features, .models, .before, .faq, .privacy { scroll-margin-top: -64px; }
  .model { grid-template-columns: 1fr; grid-template-rows: none; padding: 22px 0; }
  .model > p:not(.model-name):not(.model-meta), .model-link { grid-column: 1; grid-row: auto; }
  .model-link { min-height: 44px; }
  .features, .privacy { padding-top: 96px; }
  .steps li { gap: 16px; padding: 24px 0; }
  .num { width: 32px; }
  .steps h3 { font-size: 20px; }
  .feature-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
  .booth { padding: 28px 22px 32px; border-radius: 24px; }
  .facts div { flex-direction: column; gap: 4px; }
  .facts dt { width: auto; }
  .needs { padding: 24px 20px; }
  .needs dl div { flex-direction: column; gap: 2px; }
  .needs dd { text-align: left; }
  summary { font-size: 17px; min-height: 64px; }
  .closing { padding-top: 120px; }
  .closing-cta, .closing-cta .btn { width: 100%; max-width: 360px; }
  .closing-cta .btn[hidden] { display: none !important; }
  .footer { margin-top: 56px; }
}

/* The download buttons only make sense on a Mac. */
.is-not-mac [data-download] { display: none !important; }
.is-not-mac .closing-cta::before {
  content: "Open onmic.app on your Mac to download.";
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
