/* Offword site styles. One accent, system type, no web fonts. */
:root {
  --paper: #f3f5f7;
  --paper-2: #e8ecf0;
  --ink: #141820;
  --muted: #566070;
  --line: #d5dbe3;
  --accent: #2f45cf;
  --accent-ink: #ffffff;
  --accent-soft: #dfe4fb;
  --sans: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --measure: 38rem;
  --wide: 70rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1217;
    --paper-2: #171b22;
    --ink: #e7eaf0;
    --muted: #9aa3b1;
    --line: #2a303a;
    --accent: #93a2ff;
    --accent-ink: #0f1217;
    --accent-soft: #1d2340;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  font-feature-settings: "kern", "liga";
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 0.75rem; z-index: 10; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.mark svg { width: 1.6rem; height: 1.6rem; }
.nav { display: flex; gap: 0.25rem 1.25rem; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; padding: 0.4rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

/* Type */
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 0.6em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 34rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 650; font-size: 1.05rem; text-decoration: none;
  padding: 0.85rem 1.35rem; border-radius: 999px; border: 2px solid var(--accent);
}
.btn:hover { filter: brightness(1.08); }
.btn svg { width: 1.1rem; height: 1.1rem; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn[aria-disabled="true"] { background: transparent; color: var(--muted); border-color: var(--line); border-style: dashed; pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.75rem; }

/* Sections */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; border-top: 1px solid var(--line); }
.section-head { max-width: var(--measure); margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }

/* Hero */
.hero { padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(3rem, 8vw, 5.5rem); }
.hero .wrap { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.meta { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

/* Transcript tape: the signature element */
.tape { border-left: 3px solid var(--accent); padding: 0.25rem 0 0.25rem clamp(1rem, 3vw, 1.75rem); }
.tape-status { display: flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.rec-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--accent); }
.wave { width: 100%; height: auto; color: var(--accent); margin-bottom: 1.5rem; }
.wave circle { fill: currentColor; }
.wave .dim { opacity: 0.28; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0.75rem; padding: 0.55rem 0; }
.lines time { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 0.3rem; }
.lines p { margin: 0; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.45; }
.lines .live p { color: var(--muted); }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: -0.15em; margin-left: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .rec-dot { animation: pulse 1.6s ease-in-out infinite; }
  .caret { animation: blink 1s steps(1) infinite; }
  .lines li { animation: appear 0.5s ease-out both; }
  .lines li:nth-child(2) { animation-delay: 0.6s; }
  .lines li:nth-child(3) { animation-delay: 1.2s; }
  .lines li:nth-child(4) { animation-delay: 1.8s; }
}
@keyframes pulse { 50% { opacity: 0.3; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* Steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
  font-weight: 700; margin-bottom: 1rem;
}
.steps p { color: var(--muted); }

/* Modes */
.modes { display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 48rem) { .modes { grid-template-columns: 1fr 1fr; } .modes > div + div { border-left: 1px solid var(--line); padding-left: 2.5rem; } .modes > div:first-child { padding-right: 2.5rem; } }
.modes > div { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.modes > div + div { border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .modes > div + div { border-top: 0; } }
.modes h3 { font-size: 1.5rem; }
.modes p { color: var(--muted); max-width: 30rem; }
.mode-wave { width: 9rem; height: auto; color: var(--accent); margin-bottom: 1.25rem; }
.mode-wave circle { fill: currentColor; }
.mode-wave .dim { opacity: 0.28; }

/* Mic sources */
.sources { list-style: none; margin: 0; padding: 0; }
.sources li { display: grid; gap: 0.25rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.sources li:first-child { border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .sources li { grid-template-columns: 16rem 1fr; } }
.sources h3 { margin: 0; }
.sources p { margin: 0; color: var(--muted); max-width: 40rem; }
.soon { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 0.05rem 0.55rem; margin-left: 0.4rem; vertical-align: 0.15em; letter-spacing: 0; }

/* Privacy promise */
.promise { background: var(--accent-soft); }
.promise .section { border-top: 0; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 3rem; }
@media (min-width: 48rem) { .promise-list { grid-template-columns: 1fr 1fr; } }
.promise-list li { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; padding-left: 1.5rem; position: relative; max-width: 30rem; }
.promise-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); }

/* Pricing */
.plans { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .plans { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.plan { padding: 1.75rem; border-radius: 1rem; border: 2px solid var(--ink); }
.plan-pro { border: 2px dashed var(--line); }
.plan h3 { font-size: 1.5rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.plan .price { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.plan li { margin-bottom: 0.45rem; }
.plan li::marker { color: var(--accent); }

/* Download CTA band */
.cta-band h2 { max-width: 32rem; }

/* Documents: privacy, terms, support */
.doc { padding: clamp(2.5rem, 7vw, 4.5rem) 0 4rem; }
.doc .wrap { max-width: calc(var(--measure) + 2 * var(--gutter) + 6rem); }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.doc h2 { font-size: 1.45rem; margin-top: 2.5em; letter-spacing: -0.015em; }
.doc h3 { font-size: 1.1rem; margin-top: 1.75em; }
.doc .body { font-family: var(--serif); font-size: 1.125rem; line-height: 1.68; max-width: var(--measure); }
.doc .body h2, .doc .body h3 { font-family: var(--sans); }
.doc .body li { margin-bottom: 0.5em; }
.doc .body ul, .doc .body ol { padding-left: 1.3rem; }
.doc .effective { color: var(--muted); font-size: 0.95rem; }
.summary { border-left: 3px solid var(--accent); background: var(--paper-2); padding: 1.25rem 1.5rem; margin: 2rem 0 1rem; max-width: var(--measure); }
.summary h2 { font-family: var(--sans); font-size: 1.15rem; margin: 0 0 0.6rem; }
.summary ul { margin: 0; padding-left: 1.2rem; font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; }
.summary li { margin-bottom: 0.35rem; }
.perm { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.95rem; line-height: 1.45; margin: 1rem 0 1.5rem; }
.perm th, .perm td { text-align: left; vertical-align: top; padding: 0.65rem 0.75rem 0.65rem 0; border-bottom: 1px solid var(--line); }
.perm th { font-weight: 650; }
.perm td:first-child { white-space: nowrap; font-weight: 600; }
.toc { font-family: var(--sans); font-size: 0.95rem; columns: 2 12rem; padding-left: 1.2rem; margin: 1.5rem 0 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 0.25rem 0; font-family: var(--sans); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; padding: 0.9rem 0; list-style-position: outside; }
.faq details[open] summary { color: var(--accent); }
.faq details > div { font-family: var(--serif); padding-bottom: 1rem; }

/* Download page */
.release { margin: 2rem 0 1rem; padding: 1.75rem; border: 2px solid var(--ink); border-radius: 1rem; max-width: var(--measure); font-family: var(--sans); }
.release[data-state="soon"] { border-style: dashed; border-color: var(--line); }
.release h2 { margin: 0 0 0.35rem; font-size: 1.6rem; }
.release .notes { white-space: pre-line; color: var(--muted); margin: 0.75rem 0 0; font-family: var(--serif); }
.release .cta-row { margin-top: 1.25rem; }
.hash { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.85rem; word-break: break-all; background: var(--paper-2); padding: 0.75rem 1rem; border-radius: 0.5rem; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; background: var(--paper-2); padding: 0.1em 0.35em; border-radius: 0.3em; }
.hidden { display: none !important; }

/* 404 */
.lost { padding: clamp(4rem, 14vw, 9rem) 0; }
.lost .wave { max-width: 26rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: 0.92rem; color: var(--muted); }
.site-foot .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .site-foot .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.site-foot p { margin: 0.25rem 0; }

/* Wordmark */
.mark rect { fill: var(--accent); }
.mark circle { fill: var(--paper); }
