/* AudioSwitch Pro — audio.worldinspirelab.com
   Dark, precise, matching the app itself. Tokens first; nothing hardcoded twice. */

:root {
  /* Sampled from the app's own dark UI so the site and the product agree. */
  --bg: oklch(15% 0.012 265);
  --bg-raised: oklch(19% 0.014 265);
  --bg-sunken: oklch(12% 0.01 265);
  --line: oklch(30% 0.015 265);
  --line-soft: oklch(24% 0.012 265);

  --text: oklch(96% 0.005 265);
  --text-dim: oklch(72% 0.012 265);
  --text-faint: oklch(58% 0.014 265);

  --accent: oklch(68% 0.16 258);
  --accent-bright: oklch(76% 0.15 258);
  --accent-dim: oklch(68% 0.16 258 / 0.14);
  --star: oklch(84% 0.16 92);

  --text-hero: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem);
  --text-h2: clamp(1.9rem, 1.4rem + 1.9vw, 3rem);
  --text-h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --text-body: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --text-lead: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  --text-small: 0.9rem;

  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --measure: 62ch;
  --radius: 14px;
  --radius-lg: 22px;

  --duration: 200ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
          "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }

a { color: var(--accent-bright); text-decoration-color: oklch(76% 0.15 258 / 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.visually-hidden:focus {
  position: fixed; top: 1rem; left: 1rem; width: auto; height: auto;
  padding: 0.6rem 1rem; clip-path: none; background: var(--accent);
  color: #fff; border-radius: 8px; z-index: 100;
}

/* ── masthead ─────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: oklch(15% 0.012 265 / 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem 1rem; padding-block: 0.85rem;
  /* Measured at 375px: wordmark + four links come to 414px and the page scrolled
     sideways by 39px. Wrapping fixes it without hiding any link, and keeps
     working if a fifth is ever added. */
  flex-wrap: wrap;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 620; letter-spacing: -0.015em; color: var(--text);
  text-decoration: none; font-size: 1.02rem;
}
.wordmark img { border-radius: 7px; display: block; }
.masthead__nav {
  display: flex; gap: clamp(0.9rem, 2vw, 1.6rem); align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 520px) {
  /* Once wrapped, the nav owns its own line — spread it rather than leaving it
     hugging one edge. */
  .masthead__nav { width: 100%; justify-content: space-between; gap: 0.75rem; }
}
.masthead__nav a {
  color: var(--text-dim); text-decoration: none; font-size: var(--text-small);
  transition: color var(--duration) var(--ease);
}
.masthead__nav a:hover { color: var(--text); }

/* ── hero ─────────────────────────────────────────────────── */
.hero { position: relative; padding-block: clamp(3.5rem, 2rem + 7vw, 7rem) 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 120%;
  background: radial-gradient(60% 55% at 62% 18%, oklch(46% 0.14 262 / 0.55), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.02fr 0.98fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent-bright); margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6;
}
h1 {
  font-size: var(--text-hero); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 680; margin: 0 0 1.25rem; text-wrap: balance;
}
.lead { font-size: var(--text-lead); color: var(--text-dim); max-width: 46ch; margin: 0 0 2rem; }

.hero__shot {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 42px 90px -30px oklch(8% 0.02 265 / 0.95), 0 0 0 1px oklch(100% 0 0 / 0.04) inset;
}
.hero__shot img { display: block; width: 100%; height: auto; }

/* ── status strip: honest about what you can actually do today ── */
.status {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center;
  padding: 1rem 1.25rem; margin-bottom: 2rem;
  background: var(--bg-raised); border: 1px solid var(--line-soft);
  border-radius: var(--radius); max-width: 46ch;
}
.status__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--star);
  box-shadow: 0 0 0 4px oklch(84% 0.16 92 / 0.16); flex: none;
}
.status p { margin: 0; font-size: var(--text-small); color: var(--text-dim); }
.status strong { color: var(--text); font-weight: 600; }

.pricing-line {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline;
  font-size: var(--text-small); color: var(--text-faint);
}
.pricing-line b { color: var(--text); font-weight: 600; font-size: var(--text-body); }

/* ── sections ─────────────────────────────────────────────── */
section { padding-block: var(--space-section); }
.section-head { max-width: var(--measure); margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
h2 {
  font-size: var(--text-h2); line-height: 1.1; letter-spacing: -0.028em;
  font-weight: 660; margin: 0 0 0.9rem; text-wrap: balance;
}
.section-head p { color: var(--text-dim); margin: 0; font-size: var(--text-lead); }

/* ── feature grid: deliberately uneven, not a uniform card wall ── */
.features { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--bg-raised); padding: clamp(1.5rem, 3vw, 2.25rem); }
.feature--wide { grid-column: 1 / -1; }
@media (min-width: 1000px) { .feature--wide { grid-column: span 2; } }
.feature h3 { font-size: var(--text-h3); margin: 0 0 0.5rem; letter-spacing: -0.015em; font-weight: 620; }
.feature p { margin: 0; color: var(--text-dim); font-size: 0.98rem; }
.feature__icon {
  width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 1rem;
  border-radius: 9px; background: var(--accent-dim); color: var(--accent-bright);
}
.feature__icon svg { width: 18px; height: 18px; }
.feature__tag {
  display: inline-block; margin-left: 0.55rem; padding: 0.12rem 0.5rem;
  font-size: 0.68rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-bright); background: var(--accent-dim); border-radius: 5px;
  vertical-align: 0.16em;
}

/* ── shots ────────────────────────────────────────────────── */
.shots { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 860px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); background: var(--bg-sunken); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 0.85rem 1.1rem; font-size: var(--text-small); color: var(--text-faint); border-top: 1px solid var(--line-soft); }

/* ── pricing ──────────────────────────────────────────────── */
.tiers { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
.tier {
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius-lg);
  background: var(--bg-raised); border: 1px solid var(--line-soft);
}
.tier--paid { border-color: oklch(68% 0.16 258 / 0.45); background: linear-gradient(160deg, oklch(22% 0.03 262), var(--bg-raised)); }
.tier h3 { margin: 0 0 0.35rem; font-size: var(--text-h3); font-weight: 640; }
.tier__price { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); font-weight: 680; letter-spacing: -0.03em; margin: 0 0 0.25rem; }
.tier__note { color: var(--text-faint); font-size: var(--text-small); margin: 0 0 1.5rem; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.tier li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--text-dim); font-size: 0.98rem; }
.tier li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 0.28em; border-radius: 50%;
  background: var(--accent-dim);
  box-shadow: inset 0 0 0 1.5px oklch(68% 0.16 258 / 0.55);
}

/* ── faq ──────────────────────────────────────────────────── */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-soft); max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; padding: 1.15rem 2rem 1.15rem 0; font-weight: 600;
  list-style: none; position: relative; color: var(--text);
  transition: color var(--duration) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%;
  transform: translateY(-50%); color: var(--text-faint); font-weight: 400; font-size: 1.35rem;
  transition: transform var(--duration) var(--ease), color var(--duration) var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent-bright); }
.faq summary:hover { color: var(--accent-bright); }
.faq details > p { margin: 0 0 1.3rem; color: var(--text-dim); max-width: var(--measure); }

/* ── prose (privacy / support) ────────────────────────────── */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.75rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--text-dim); }
.prose ul { padding-left: 1.15rem; display: grid; gap: 0.55rem; }
.prose strong { color: var(--text); }
.meta { color: var(--text-faint); font-size: var(--text-small); font-family: var(--font-mono); }

.contact-card {
  margin: 2rem 0 0; padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--bg-raised); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
}
.contact-card p { margin: 0 0 0.4rem; }
.contact-card a { font-size: var(--text-lead); font-weight: 600; }

/* ── footer ───────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line-soft); padding-block: 3rem; margin-top: var(--space-section); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
footer a { color: var(--text-dim); text-decoration: none; font-size: var(--text-small); transition: color var(--duration) var(--ease); }
footer a:hover { color: var(--text); }
footer small { color: var(--text-faint); font-size: var(--text-small); }
