/* Voice Tide site styles v1.0.0 (2026-09-28). The studio house style (the reference is Docsnug's site
   v2.0.1: aurora, glass surfaces, a system sans with an EB Garamond italic accent, pill buttons).
   Voice Tide's own two colours: the app's amber (#FFB224, from src/styles/theme.css) and a tide teal.
   Dark first; light follows prefers-color-scheme. Text on amber is dark (#1A1400), as in the app.
   No external requests. */

@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-Italic-500-latin.woff") format("woff");
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --on-accent: #1A1400;
  --accent-hi: #FFE3A6;
  --bg: #0A0B0F;
  --bg-top: #171207;
  --surface: #141519;
  --glass: rgba(22, 23, 28, 0.6);
  --glass-hi: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: rgba(255, 255, 255, 0.94);
  --text-dim: rgba(255, 255, 255, 0.68);
  --text-faint: rgba(255, 255, 255, 0.48);
  --accent: #FFB224;
  --accent-deep: #E39A0E;
  --accent-soft: #FFC95C;
  --accent-fill: linear-gradient(180deg, #FFC857 0%, #FFB224 52%, #F09A0A 100%);
  --tide: #2EC4B6;
  --tide-soft: #6FE3D8;
  --tide-hi: #C8FBF6;
  --tide-bg: rgba(46, 196, 182, 0.13);
  --tide-line: rgba(46, 196, 182, 0.38);
  --bar-track: rgba(255, 255, 255, 0.1);
  --bloom-1: rgba(255, 178, 36, 0.26);
  --bloom-2: rgba(24, 74, 120, 0.5);
  --bloom-3: rgba(46, 196, 182, 0.16);
  --horizon: rgba(255, 201, 92, 0.95);
  --horizon-glow: rgba(255, 178, 36, 0.5);
  --shadow: 0 30px 80px -26px rgba(0, 0, 0, 0.78);
  --phone-edge: #2A2B31;
  --radius: 22px;
  --radius-sm: 16px;
  --wrap: 1140px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #F7F5F0;
    --bg-top: #FFFFFF;
    --surface: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-hi: rgba(255, 255, 255, 0.8);
    --line: rgba(40, 30, 0, 0.1);
    --line-strong: rgba(40, 30, 0, 0.18);
    --text: #17140B;
    --text-dim: #4B4638;
    --text-faint: #6E6857;
    --accent: #A36600;
    --accent-deep: #8A5600;
    --accent-soft: #8A5600;
    --accent-hi: #6E4300;
    --tide: #0F8F84;
    --tide-soft: #0B7A70;
    --tide-hi: #075F57;
    --tide-bg: rgba(15, 143, 132, 0.1);
    --tide-line: rgba(15, 143, 132, 0.35);
    --bar-track: rgba(40, 30, 0, 0.1);
    --bloom-1: rgba(255, 178, 36, 0.22);
    --bloom-2: rgba(46, 196, 182, 0.16);
    --bloom-3: rgba(255, 201, 92, 0.2);
    --horizon: rgba(184, 116, 0, 0.7);
    --horizon-glow: rgba(255, 178, 36, 0.32);
    --shadow: 0 26px 60px -30px rgba(80, 55, 0, 0.35);
    --phone-edge: #DCD8CE;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- the aurora ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 70% at 50% -10%, var(--bg-top) 0%, var(--bg) 60%); }
.aurora i { position: absolute; border-radius: 50%; }
.aurora .b1 { width: 72vmax; height: 72vmax; left: -26vmax; top: -34vmax; background: radial-gradient(closest-side, var(--bloom-1), transparent); }
.aurora .b2 { width: 62vmax; height: 62vmax; right: -30vmax; top: 6vh; background: radial-gradient(closest-side, var(--bloom-2), transparent); }
.aurora .b3 { width: 64vmax; height: 40vmax; left: 12vw; top: 55vh; background: radial-gradient(closest-side, var(--bloom-3), transparent); }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; color: var(--text); text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-soft); text-wrap: balance; }
.display { font-size: clamp(40px, 6.6vw, 82px); font-weight: 800; line-height: 1.02; letter-spacing: -0.037em; }
.title { font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -0.032em; }
.accent {
  font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.012em;
  font-size: 1.08em; line-height: 0.95; padding-inline-end: 0.06em;
  background: linear-gradient(100deg, var(--accent-hi) 0%, var(--accent-soft) 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6; color: var(--text-dim); max-width: 38em; }
.center .lede, .lede.center { margin-inline: auto; }
.small { font-size: 14px; line-height: 1.6; color: var(--text-faint); }
.eyebrow + .title, .eyebrow + .display { margin-top: 14px; }
.title + .lede { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 650 15.5px/1 var(--font-sans); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: var(--on-accent); background: var(--accent-fill);
  box-shadow: 0 12px 32px -12px rgba(255, 178, 36, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(255, 178, 36, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { color: var(--text); background: var(--glass-hi); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent-soft); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- glass ---------- */
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 64%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid var(--line); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand-name { font-weight: 750; font-size: 17px; letter-spacing: -0.015em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-link { color: var(--text-dim); text-decoration: none; font-size: 14.5px; font-weight: 550; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
@media (max-width: 820px) { .nav-link { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(60px, 8vw, 104px); text-align: center; overflow-x: clip; }
.hero .display { margin: 18px auto 0; max-width: 11.5em; }
.hero .lede { margin: clamp(22px, 3vw, 30px) auto 0; }
.hero .ctas { margin-top: 28px; }
.store-note { margin-top: 14px; font-size: 13.5px; color: var(--text-faint); }

.stage { position: relative; margin: clamp(40px, 5vw, 64px) auto 0; max-width: 980px; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(20px, 3.4vw, 44px); align-items: center;
  padding-bottom: clamp(26px, 3.4vw, 40px); text-align: start; }
.stage::before { content: ""; position: absolute; left: 50%; bottom: 0; z-index: -1; width: 100vw; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, transparent 8%, var(--horizon) 50%, transparent 92%, transparent 100%);
  box-shadow: 0 0 16px 1px var(--horizon-glow); }
.stage::after { content: ""; position: absolute; left: 50%; bottom: 0; z-index: -2; pointer-events: none;
  width: min(1200px, 130vw); height: 380px; transform: translate(-50%, 50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 178, 36, 0.32), rgba(46, 196, 182, 0.08) 48%, transparent 72%); }

/* the fit card: the app's own Send screen, live */
.fit { padding: clamp(18px, 2.6vw, 26px); }
.fit-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fit-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--glass-hi); border: 1px solid var(--line); }
.seg button { appearance: none; border: 0; background: transparent; color: var(--text-dim); cursor: pointer;
  font: 650 13.5px/1 var(--font-sans); padding: 9px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; }
.seg button svg { width: 15px; height: 15px; }
.seg button[aria-pressed="true"] { background: var(--accent-fill); color: var(--on-accent); box-shadow: 0 6px 16px -8px rgba(255, 178, 36, 0.9); }
.fit-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(14px, 2.4vw, 24px); align-items: center; margin-top: 20px; }
.doc { width: clamp(78px, 11vw, 112px); aspect-ratio: 8.5 / 11; border-radius: 8px; background: #FBFAF7; padding: 13px 11px;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.06); display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.doc b { flex: none; height: 7px; width: 72%; margin-bottom: 4px; border-radius: 2px; background: #2B2540; opacity: 0.85; }
.doc i { flex: none; height: 3px; width: 100%; border-radius: 2px; background: #5A5570; opacity: 0.38; }
.doc i:nth-child(3n) { width: 86%; } .doc i:nth-child(4n) { width: 64%; } .doc i:nth-child(7n) { width: 40%; margin-bottom: 5px; }
.size { font-size: clamp(44px, 6.4vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.size small { font-size: 0.5em; font-weight: 750; letter-spacing: -0.02em; margin-inline-start: 0.12em; color: var(--text-dim); }
.meta-line { margin-top: 8px; font-size: 15px; color: var(--text-dim); }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 14px 7px 9px; border-radius: 999px;
  background: var(--tide-bg); border: 1px solid var(--tide-line); color: var(--tide-soft); font-weight: 700; font-size: 14.5px; }
.pill svg { width: 18px; height: 18px; }
.bar { position: relative; margin-top: 22px; height: 10px; border-radius: 999px; background: var(--bar-track); }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: 70%; border-radius: inherit; background: var(--accent-fill);
  box-shadow: 0 0 18px -2px rgba(255, 178, 36, 0.8); transition: width 0.9s cubic-bezier(0.3, 0.7, 0.2, 1); }
.bar-limit { position: absolute; right: 0; top: -6px; width: 2px; height: 22px; border-radius: 2px; background: var(--text); }
.bar-cap { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.fit-note { margin-top: 16px; font-size: 13px; color: var(--text-faint); }

/* the phone: a real screenshot from the app */
.phone { position: relative; justify-self: center; width: min(100%, 290px); aspect-ratio: 640 / 1391; border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, var(--phone-edge), #0E0A1A 60%); box-shadow: var(--shadow), 0 0 0 1px var(--line-strong); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 32%; height: 26px; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px);
  transition: opacity 0.5s ease; }
.phone img.off { opacity: 0; }
@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; max-width: 560px; }
  .phone { width: min(78%, 280px); }
}
@media (max-width: 460px) {
  .fit-body { grid-template-columns: 1fr; }
  .doc { display: none; }
  .seg button { padding: 9px 12px; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(64px, 8.5vw, 112px) 0; }
.section-head { margin-bottom: clamp(32px, 4.4vw, 52px); }
.section-head .title { margin-top: 14px; }
.section-head .lede { margin-top: 18px; }

/* the problem */
.problems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.problem { padding: 24px; }
.problem .x { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255, 90, 110, 0.12); color: #FF7B8A; font-weight: 800; }
.problem h3 { margin: 14px 0 6px; font-size: 19px; font-weight: 750; letter-spacing: -0.015em; }
.problem p { color: var(--text-dim); font-size: 15.5px; }
.answer-line { margin: clamp(26px, 3.4vw, 36px) auto 0; max-width: 40em; font-size: clamp(18px, 1.8vw, 21px); color: var(--text); }
.answer-line .accent { font-size: 1.14em; }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { padding: 26px 24px; }
.step-num { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 42px; line-height: 1; color: var(--tide-soft); }
.step h3 { margin: 16px 0 8px; font-size: 22px; font-weight: 750; letter-spacing: -0.02em; }
.step p { color: var(--text-dim); font-size: 16px; }
.tools { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tool { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm); }
.tool svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent-soft); }
.tool b { display: block; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.tool span { display: block; margin-top: 2px; color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 880px) { .steps, .problems { grid-template-columns: 1fr; } .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tools { grid-template-columns: 1fr; } }

/* more than dictation: meetings and read aloud (site v1.1.0) */
.extras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.extra { padding: clamp(24px, 3vw, 34px); }
.extra .badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--glass-hi); border: 1px solid var(--line); color: var(--accent-soft); }
.extra .badge svg { width: 23px; height: 23px; }
.extra h3 { margin: 18px 0 8px; font-size: 22px; font-weight: 750; letter-spacing: -0.02em; }
.extra p { color: var(--text-dim); font-size: 16px; }
.extra .checks { margin-top: 18px; gap: 10px; }
@media (max-width: 880px) { .extras { grid-template-columns: 1fr; } }

/* screens */
.screens { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 26px;
  scrollbar-width: none; justify-content: safe center; }
.screens::-webkit-scrollbar { display: none; }
.shot { flex: none; width: clamp(200px, 16vw, 226px); scroll-snap-align: center; margin: 0; text-align: center; }
.shot .phone { width: 100%; border-radius: 36px; padding: 7px; }
.shot .phone::before { top: 13px; height: 20px; }
.shot .phone img { border-radius: 30px; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); }
.shot figcaption { margin-top: 14px; font-weight: 650; font-size: 15px; color: var(--text-dim); }

/* privacy */
.privacy-card { padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.privacy-card .title { margin-top: 14px; font-size: clamp(28px, 3.6vw, 44px); }
.privacy-card .lede { margin-top: 16px; }
.privacy-card .more { margin-top: 20px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--glass-hi); border: 1px solid var(--line); font-weight: 650; }
.facts svg { flex: none; width: 20px; height: 20px; color: var(--tide-soft); }
@media (max-width: 760px) { .privacy-card { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.plan { padding: clamp(24px, 3vw, 34px); }
.plan-buy { border-color: rgba(255, 178, 36, 0.45); background: linear-gradient(180deg, rgba(255, 178, 36, 0.16), transparent 62%), var(--glass); }
.plan-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tide-soft); }
.plan-buy .plan-tag { color: var(--accent-soft); }
.plan h3 { margin: 12px 0 0; font-size: clamp(22px, 2.4vw, 27px); font-weight: 780; letter-spacing: -0.022em; line-height: 1.2; }
.price { margin-top: 14px; font-size: clamp(44px, 5vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price span { font-size: 0.34em; font-weight: 650; letter-spacing: 0; color: var(--text-faint); margin-inline-start: 6px; }
.launch { margin-top: 10px; display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--tide-bg); color: var(--tide-soft); font-weight: 700; font-size: 13.5px; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-inline-start: 30px; color: var(--text-dim); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.42em; width: 13px; height: 7px;
  border-left: 2px solid var(--tide-soft); border-bottom: 2px solid var(--tide-soft); transform: rotate(-45deg); }
.pricing-note { margin: 22px auto 0; max-width: 42em; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* notify */
.notify { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px); text-align: center; }
.notify::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--horizon), transparent); box-shadow: 0 0 18px 1px var(--horizon-glow); }
.notify .title { margin: 14px 0 16px; }
.notify .ctas { margin-top: 28px; }
.notify .small { margin-top: 18px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--text-faint); font-size: 14px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--text-dim); text-decoration: none; font-weight: 550; }
.foot-links a:hover { color: var(--text); }
.fine { font-size: 12.5px; line-height: 1.7; max-width: 64em; }
.fine + .fine { margin-top: 10px; }
.fine a { color: var(--text-dim); }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(44px, 7vw, 92px) 0 clamp(8px, 2vw, 20px); }
.page-hero .title { margin-top: 14px; }
.page-hero .lede { margin-top: 18px; }
.meta { margin-top: 16px; font-size: 13.5px; color: var(--text-faint); }
.prose { padding-bottom: clamp(64px, 9vw, 110px); }
.prose h2 { margin: clamp(40px, 5vw, 56px) 0 14px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.025em; }
.prose p, .prose li { color: var(--text-dim); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-inline-start: 22px; display: grid; gap: 10px; }
.prose li::marker { color: var(--tide-soft); }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--accent-soft); text-underline-offset: 3px; }
.panel { margin-top: 22px; padding: clamp(20px, 3vw, 28px); }
.panel p + p { margin-top: 10px; }
.contact { margin-top: 30px; padding: clamp(24px, 4vw, 36px); display: grid; gap: 8px; justify-items: start; }
.contact-mail { font-size: clamp(22px, 3.4vw, 32px); font-weight: 780; letter-spacing: -0.02em; text-decoration: none; color: var(--text); overflow-wrap: anywhere; }
.contact-mail:hover { color: var(--tide-soft); }
.faq { margin-top: 8px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: var(--tide-soft); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 2px 20px; }
.faq .answer p + p { margin-top: 10px; }
.notfound { min-height: 60vh; display: grid; align-content: center; justify-items: center; gap: 18px; text-align: center; padding: 80px 0; }

/* ---------- motion (only when the reader has not asked for less) ---------- */
/* Depth on scroll: [data-depth] gets --depth from 0 (just entering from below) to 1 (settled) in site.js.
   Flat without script, and for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .stage .mac[data-depth] { transform-origin: 50% 100%;
    transform: perspective(1600px) rotateX(calc((1 - var(--depth, 1)) * 24deg)) scale(calc(0.9 + var(--depth, 1) * 0.1)); }
  .shot[data-depth] { opacity: calc(0.25 + var(--depth, 1) * 0.75); transform-origin: 50% 100%;
    transform: perspective(1400px) translateY(calc((1 - var(--depth, 1)) * 48px)) rotateX(calc((1 - var(--depth, 1)) * 16deg)); }
}
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .rise.d1 { animation-delay: 0.08s; } .rise.d2 { animation-delay: 0.16s; } .rise.d3 { animation-delay: 0.24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar-fill, .phone img { transition: none; }
}


/* ---------- Voice Tide: the hero's live dictation (hold to talk, words type into a chat box) ---------- */
.talk { padding: clamp(18px, 2.6vw, 26px); max-width: 760px; margin-inline: auto; text-align: start; }
.chat { position: relative; margin-top: 16px; min-height: 150px; padding: 16px 18px 46px; border-radius: 16px;
  background: var(--glass-hi); border: 1px solid var(--line-strong); font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6; color: var(--text); }
.chat-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12.5px; font-weight: 650;
  letter-spacing: 0.02em; color: var(--text-faint); }
.chat-head svg { width: 15px; height: 15px; }
.chat-text { min-height: 3.2em; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-placeholder { color: var(--text-faint); }
.caret { display: inline-block; width: 2px; height: 1.15em; margin-inline-start: 2px; vertical-align: -0.2em;
  background: var(--accent); border-radius: 1px; }
.chat-send { position: absolute; inset-inline-end: 12px; bottom: 10px; width: 30px; height: 30px; border-radius: 999px;
  display: grid; place-items: center; background: var(--line-strong); color: var(--text-dim); }
.chat-send svg { width: 16px; height: 16px; }
.chat[data-state="done"] .chat-send { background: var(--accent-fill); color: var(--on-accent); }
.talk-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.talk-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; user-select: none;
  -webkit-user-select: none; touch-action: none; color: var(--on-accent); background: var(--accent-fill);
  box-shadow: 0 12px 32px -12px rgba(255, 178, 36, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.talk-btn svg { width: 20px; height: 20px; }
.talk-btn[aria-pressed="true"] { transform: translateY(1px) scale(0.98); box-shadow: 0 6px 18px -10px rgba(255, 178, 36, 0.9); }
.rec { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px 0 12px; border-radius: 999px;
  background: #16171A; border: 1px solid rgba(255, 255, 255, 0.12); color: #EDEDEF; font-size: 14px; font-weight: 600; }
.rec .dot { width: 9px; height: 9px; border-radius: 50%; background: #FF5A4E; box-shadow: 0 0 10px #FF5A4E; }
.rec .bars { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.rec .bars i { width: 3px; height: 30%; border-radius: 2px; background: #FFB224; }
.talk-stats { margin-top: 16px; font-size: 15px; color: var(--text-dim); }
.talk-stats b { color: var(--text); font-weight: 750; }
.talk-note { margin-top: 8px; font-size: 13px; color: var(--text-faint); }
kbd { font-family: inherit; font-size: 0.92em; font-weight: 650; padding: 1px 7px; border-radius: 7px;
  border: 1px solid var(--line-strong); border-bottom-width: 2px; background: var(--glass-hi); color: var(--text); }

/* ---------- Voice Tide: Mac window frames for the real screens ---------- */
.mac { position: relative; overflow: hidden; border-radius: 14px; padding-top: 28px; background: #1B1C20;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.mac::before { content: ""; position: absolute; top: 10px; left: 13px; width: 10px; height: 10px; border-radius: 50%;
  background: #FF5F57; box-shadow: 16px 0 0 #FEBC2E, 32px 0 0 #28C840; }
.mac img { display: block; width: 100%; height: auto; }
.shot-mac { width: clamp(300px, 52vw, 620px); }
.shot-mac .mac { width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1.05s steps(1) infinite; }
  .talk[data-state="listening"] .caret, .talk[data-state="typing"] .caret { animation: none; }
  .rec .bars i { animation: level 0.9s ease-in-out infinite; }
  .rec .bars i:nth-child(2) { animation-delay: -0.2s; } .rec .bars i:nth-child(3) { animation-delay: -0.45s; }
  .rec .bars i:nth-child(4) { animation-delay: -0.1s; } .rec .bars i:nth-child(5) { animation-delay: -0.6s; }
  @keyframes blink { 50% { opacity: 0; } }
  @keyframes level { 0%, 100% { height: 25%; } 50% { height: 100%; } }
}
.prose code { font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: var(--glass-hi); border: 1px solid var(--line);
  overflow-wrap: anywhere; }

/* The stage pairs the live demo with the real Home screen; a Mac window is wider than a phone, so equal halves. */
.stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1120px; }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; max-width: 620px; } }
