/* ═══════════════════════════════════════════════════════════════
   VoiceScribe — Bright Purple Premium Design System
   Fonts: Syne (display) · Inter (UI)
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Core palette — bright purple */
  --bg:          #F4F0FF;
  --bg-card:     #FFFFFF;
  --bg-surface:  #FAF8FF;

  --purple-50:   #F4F0FF;
  --purple-100:  #E9E0FF;
  --purple-200:  #D4C4FF;
  --purple-300:  #B99BFF;
  --purple-400:  #9B6FFF;
  --purple-500:  #7C3FFF;
  --purple-600:  #6B2FEF;
  --purple-700:  #5A22D0;
  --purple-800:  #4518A8;

  --accent:      #7C3FFF;
  --accent-mid:  #9B6FFF;
  --accent-soft: rgba(124,63,255,0.10);
  --accent-glow: rgba(124,63,255,0.20);

  --text:        #0F0820;
  --text-2:      #2D1F52;
  --text-3:      #6B5B8A;
  --text-4:      #9E8FC0;
  --text-inv:    #FFFFFF;

  --border:      rgba(124,63,255,0.12);
  --border-mid:  rgba(124,63,255,0.22);
  --border-hi:   rgba(124,63,255,0.45);

  --ok:          #22C97A;
  --ok-bg:       rgba(34,201,122,0.10);
  --ok-border:   rgba(34,201,122,0.30);
  --err:         #F04E4E;
  --err-bg:      rgba(240,78,78,0.08);
  --warn:        #F59E0B;

  --shadow-sm:   0 1px 3px rgba(60,30,120,0.08), 0 1px 2px rgba(60,30,120,0.04);
  --shadow-md:   0 4px 16px rgba(60,30,120,0.10), 0 2px 6px rgba(60,30,120,0.06);
  --shadow-lg:   0 12px 40px rgba(60,30,120,0.14), 0 4px 12px rgba(60,30,120,0.08);
  --shadow-glow: 0 0 32px rgba(124,63,255,0.18);

  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 9999px;

  --font-d: 'Syne', sans-serif;
  --font-u: 'Inter', sans-serif;
  --t:      180ms ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-u);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: opacity var(--t); }
a:hover { opacity: 0.75; }
button, select, input { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
img, svg { display: block; }

/* ── Blob background ────────────────────────────────────────── */
.bg-blobs {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.bg-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.35;
}
.bg-blob--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #A855F7 0%, #7C3FFF 40%, transparent 70%);
  top: -200px; right: -150px;
  animation: blob1 20s ease-in-out infinite;
}
.bg-blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #C084FC 0%, #9B6FFF 40%, transparent 70%);
  bottom: -100px; left: -100px;
  opacity: 0.25;
  animation: blob2 26s ease-in-out infinite;
}
.bg-blob--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #E879F9 0%, #A855F7 50%, transparent 70%);
  top: 40%; left: 30%;
  opacity: 0.15;
  animation: blob3 16s ease-in-out infinite;
}
@keyframes blob1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-40px,30px) scale(1.05); }
  66% { transform: translate(20px,-40px) scale(0.96); }
}
@keyframes blob2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(50px,-30px) scale(1.08); }
}
@keyframes blob3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px,20px) scale(1.15); }
}

/* ── Top Bar ────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 300;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(244,240,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.topbar__logo {
  font-family: var(--font-d);
  font-size: 20px; font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.025em;
}
.topbar__logo span { color: var(--text); }
.topbar__logo:hover { opacity: 1; }

.topbar__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 13px; font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: opacity var(--t), box-shadow var(--t);
  letter-spacing: 0.01em;
}
.topbar__btn:hover {
  opacity: 0.90;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ── Page scaffold ──────────────────────────────────────────── */
.page {
  position: relative; z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 64px 0 48px;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero__pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.6); }
}
.hero__title {
  font-family: var(--font-d);
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 16px;
}
.hero__title span {
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(15px,2.5vw,17px);
  color: var(--text-3);
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.hero__badges {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em;
}
.badge--outline {
  border: 1px solid var(--border-mid);
  color: var(--text-3);
  background: rgba(255,255,255,0.6);
}
.badge--ok {
  border: 1px solid var(--ok-border);
  background: var(--ok-bg);
  color: var(--ok);
}

/* ── AI Status Pill ─────────────────────────────────────────── */
.status-wrap {
  display: flex; justify-content: center;
  margin-bottom: 32px;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  color: var(--text-3);
  backdrop-filter: blur(8px);
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
  min-width: 140px;
  justify-content: center;
  position: relative; overflow: hidden;
}
.status-pill__bar {
  position: absolute; inset: 0 auto 0 0;
  background: var(--accent-soft);
  transition: width 0.4s ease;
  display: none;
}
.status-pill__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-4); flex-shrink: 0;
}
/* States */
.status-pill[data-s="loading"] { border-color: var(--border-mid); color: var(--text-2); }
.status-pill[data-s="loading"] .status-dot {
  background: var(--accent);
  animation: sdot 1s ease-in-out infinite;
}
@keyframes sdot {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.3;transform:scale(0.6)}
}
.status-pill[data-s="ready"] {
  border-color: var(--ok-border);
  background: var(--ok-bg);
  color: var(--ok);
}
.status-pill[data-s="ready"] .status-dot { background: var(--ok); }

.status-pill[data-s="recording"] {
  border-color: rgba(240,78,78,0.3);
  background: var(--err-bg);
  color: var(--err);
}
.status-pill[data-s="recording"] .status-dot {
  background: var(--err);
  animation: srec 0.9s ease-in-out infinite;
}
@keyframes srec { 0%,100%{transform:scale(1)}50%{transform:scale(1.8);opacity:0.4} }

.status-pill[data-s="processing"] {
  border-color: var(--border-mid);
  color: var(--accent);
}
.status-pill[data-s="processing"] .status-dot {
  background: var(--accent);
  animation: sdot 0.6s linear infinite;
}
.status-pill[data-s="error"] {
  border-color: rgba(240,78,78,0.3);
  background: var(--err-bg);
  color: var(--err);
}
.status-pill[data-s="error"] .status-dot { background: var(--err); }

/* ── Main Tool Card ─────────────────────────────────────────── */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

/* Waveform / mic hero area */
.mic-hero {
  background: linear-gradient(160deg, var(--purple-100) 0%, var(--purple-50) 60%, #fff 100%);
  padding: 40px 32px 32px;
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.mic-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(124,63,255,0.12) 0%, transparent 65%);
}

/* Waveform bars */
.waveform {
  display: flex; align-items: center; gap: 4px;
  height: 48px;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.waveform__bar {
  width: 4px; border-radius: 2px;
  background: var(--accent);
  opacity: 0.3;
  transition: opacity var(--t);
}
.waveform--active .waveform__bar {
  opacity: 0.8;
  animation: wbar 1.1s ease-in-out infinite;
}
.waveform__bar:nth-child(1)  { height:14px; animation-delay:0.00s; }
.waveform__bar:nth-child(2)  { height:22px; animation-delay:0.09s; }
.waveform__bar:nth-child(3)  { height:32px; animation-delay:0.18s; }
.waveform__bar:nth-child(4)  { height:40px; animation-delay:0.27s; }
.waveform__bar:nth-child(5)  { height:48px; animation-delay:0.36s; }
.waveform__bar:nth-child(6)  { height:36px; animation-delay:0.45s; }
.waveform__bar:nth-child(7)  { height:48px; animation-delay:0.36s; }  /* mic button placeholder */
.waveform__bar:nth-child(8)  { height:48px; animation-delay:0.27s; }
.waveform__bar:nth-child(9)  { height:40px; animation-delay:0.18s; }
.waveform__bar:nth-child(10) { height:32px; animation-delay:0.09s; }
.waveform__bar:nth-child(11) { height:22px; animation-delay:0.00s; }
.waveform__bar:nth-child(12) { height:14px; animation-delay:0.09s; }
@keyframes wbar {
  0%,100%{transform:scaleY(1)}
  50%{transform:scaleY(0.35)}
}

/* Mic button — center of waveform row */
.mic-btn-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.mic-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(124,63,255,0.40), 0 1px 4px rgba(0,0,0,0.08);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  position: relative; z-index: 2;
}
.mic-btn::before {
  content: '';
  position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid rgba(124,63,255,0.25);
  transition: border-color var(--t);
}
.mic-btn:not([data-disabled="true"]):hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(124,63,255,0.55), 0 2px 8px rgba(0,0,0,0.10);
}
.mic-btn[data-disabled="true"] { opacity:0.4; cursor:not-allowed; }
.mic-btn.is-recording {
  background: var(--err);
  box-shadow: 0 4px 20px rgba(240,78,78,0.45);
  animation: mic-pulse 1.4s ease-in-out infinite;
}
@keyframes mic-pulse {
  0%,100%{box-shadow:0 4px 20px rgba(240,78,78,0.45)}
  50%{box-shadow:0 0 0 14px rgba(240,78,78,0),0 4px 20px rgba(240,78,78,0.45)}
}
.mic-label {
  font-size: 13px; color: var(--text-3); text-align: center;
  font-weight: 500;
}

/* ── Upload + File Queue panel ──────────────────────────────── */
.tool-body { padding: 24px 28px; }

.drop-zone {
  display: block;
  border: 1.5px dashed var(--border-mid);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  color: var(--text-3);
  font-size: 13px; line-height: 1.5;
  transition: border-color var(--t), background var(--t), color var(--t);
  background: var(--bg-surface);
  margin-bottom: 16px;
}
.drop-zone:hover, .drop-zone.drag-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.drop-zone svg { width: 20px; height: 20px; margin: 0 auto 7px; opacity: 0.55; }
.drop-zone strong { display: block; font-weight: 600; color: var(--text-2); margin-bottom: 2px; }
.drop-zone input[type="file"] { display: none; }

/* File queue */
.file-queue { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.file-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  transition: border-color var(--t);
}
.file-item.is-active { border-color: var(--accent); background: var(--accent-soft); }
.file-item.is-done   { border-color: var(--ok-border); }
.file-item__icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--purple-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.file-item.is-done .file-item__icon {
  background: var(--ok-bg);
  color: var(--ok);
}
.file-item__info { flex: 1; min-width: 0; }
.file-item__name {
  font-weight: 600; color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 240px;
}
.file-item__status { font-size: 11px; color: var(--text-4); margin-top: 1px; }
.file-item.is-active .file-item__status { color: var(--accent); }
.file-item.is-done   .file-item__status { color: var(--ok); font-weight: 600; }
.file-item__pct {
  font-size: 12px; font-weight: 600;
  color: var(--text-3); flex-shrink: 0;
}
.file-item.is-active .file-item__pct { color: var(--accent); }
.file-item__remove {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-4); flex-shrink: 0;
  transition: background var(--t), color var(--t);
}
.file-item__remove:hover { background: var(--err-bg); color: var(--err); }

/* ── Chunk progress bar ─────────────────────────────────────── */
.chunk-progress {
  display: none;
  margin-bottom: 16px;
}
.chunk-progress__row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.chunk-progress__label {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  letter-spacing: 0.04em;
}
.chunk-progress__time {
  font-size: 11px; color: var(--text-4);
  font-variant-numeric: tabular-nums;
}
.chunk-progress__track {
  height: 5px; border-radius: var(--radius-pill);
  background: var(--purple-100); overflow: hidden;
}
.chunk-progress__fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--purple-300));
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

/* ── Transcript ─────────────────────────────────────────────── */
.transcript-wrap { margin-bottom: 0; }
.transcript-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 9px;
}
.transcript-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-4);
}
.transcript-actions { display: flex; gap: 7px; }

.transcript-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  min-height: 120px;
  font-size: 15px; line-height: 1.78;
  color: var(--text-3);
  white-space: pre-wrap; word-break: break-word;
  transition: color var(--t), border-color var(--t);
  position: relative;
}
.transcript-box.has-text { color: var(--text); border-color: var(--border-mid); }
.transcript-box.is-partial { color: var(--text-3); font-style: italic; }
.transcript-box:empty::before {
  content: attr(data-ph);
  color: var(--text-4); font-style: normal;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-3);
  font-family: var(--font-u);
  font-size: 12px; font-weight: 500;
  transition: background var(--t), border-color var(--t), color var(--t);
  box-shadow: var(--shadow-sm);
}
.btn:not(:disabled):hover {
  border-color: var(--border-mid);
  background: var(--purple-50);
  color: var(--accent);
}
.btn:disabled { opacity:0.3; cursor:not-allowed; }
.btn svg { width:13px; height:13px; flex-shrink:0; }
.btn--accent {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 8px rgba(124,63,255,0.30);
}
.btn--accent:not(:disabled):hover {
  background: var(--purple-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,63,255,0.40);
}

/* ── Divider ────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 36px 0; }

/* ── Section titles ─────────────────────────────────────────── */
.section-title {
  font-family: var(--font-d);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 6px;
}
.section-sub {
  font-size: 14px; color: var(--text-3);
  margin-bottom: 24px; line-height: 1.6;
  max-width: 520px;
}

/* ── Use-case cards 2-col ───────────────────────────────────── */
.usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.usecase-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-2px);
}
.usecase-card__icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 12px;
}
.usecase-card__tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 10px;
}
.usecase-card__name {
  font-family: var(--font-d);
  font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.usecase-card__desc {
  font-size: 13px; color: var(--text-3); line-height: 1.55;
}

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t);
}
.faq-item.is-open { border-color: var(--border-mid); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
  text-align: left; gap: 10px;
  transition: color var(--t);
}
.faq-q:hover { color: var(--accent); }
.faq-item.is-open .faq-q { color: var(--accent); }
.faq-icon {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--text-3);
  transition: border-color var(--t), transform var(--t), background var(--t);
}
.faq-item.is-open .faq-icon {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 13px; color: var(--text-3); line-height: 1.6;
}
.faq-item.is-open .faq-a { max-height: 200px; }
.faq-a-inner { padding: 0 18px 16px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 36px 32px;
  margin-top: 60px;
  background: rgba(244,240,255,0.6);
  backdrop-filter: blur(12px);
}
.footer__inner {
  max-width: 780px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer__logo {
  font-family: var(--font-d);
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.footer__logo span { color: var(--text); }
.footer__logo:hover { opacity: 1; }
.footer__hub {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 12px; font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: opacity var(--t), box-shadow var(--t);
}
.footer__hub:hover { opacity: 0.88; box-shadow: var(--shadow-md); }
.footer__copy {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding-top: 20px; margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-4);
}
.footer__nav { display: flex; gap: 20px; }
.footer__nav a { font-size: 12px; color: var(--text-4); transition: color var(--t); }
.footer__nav a:hover { color: var(--accent); }

/* ── Prose pages ────────────────────────────────────────────── */
.prose-wrap {
  max-width: 680px; margin: 0 auto;
  padding: 56px 24px 100px;
  position: relative; z-index: 1;
}
.prose-wrap h1 {
  font-family: var(--font-d);
  font-size: clamp(28px,5vw,40px);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 6px;
}
.prose-meta { font-size: 12px; color: var(--text-4); margin-bottom: 36px; }
.prose-wrap h2 {
  font-family: var(--font-d);
  font-size: 16px; font-weight: 700;
  color: var(--text); margin: 32px 0 8px;
}
.prose-wrap p { color: var(--text-3); line-height:1.75; margin-bottom:13px; font-size:15px; }
.prose-wrap ul { padding-left:18px; color:var(--text-3); line-height:1.75; margin-bottom:13px; font-size:15px; }
.prose-wrap ul li { margin-bottom:4px; }
.prose-wrap a { color: var(--accent); border-bottom: 1px solid var(--border-mid); padding-bottom:1px; }
.prose-wrap a:hover { border-color: var(--accent); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .topbar { padding: 0 16px; }
  .page { padding: 0 14px 80px; }
  .hero { padding: 44px 0 36px; }
  .mic-hero { padding: 28px 16px 24px; }
  .tool-body { padding: 18px 16px; }
  .usecase-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer { padding: 24px 16px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__copy { flex-direction: column; }
  .footer__nav { flex-wrap: wrap; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
