@charset "UTF-8";
:root { color-scheme: light; --bg: #faf9f6; --panel: #fff; --text: #24211d; --muted: #665f55; --brown: #8b6f47; --accent: #386f68; --line: #d8d1c6; --soft: #eeeae3; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; padding: 0; max-width: none; background: var(--bg); color: var(--text); font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: #d6e4dd; color: var(--text); }
main, .site-wrap { width: min(1232px, calc(100% - 96px)); margin-inline: auto; }
main { padding: 32px 0 64px; }
a { color: var(--accent); text-decoration: none; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -80px; left: 20px; background: #fff; padding: 12px; z-index: 5; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.site-brand:hover { text-decoration: none; }
.site-brand img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); }
.site-brand span { color: var(--muted); font-weight: 400; margin-left: -8px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-nav a { color: var(--text); font-size: 14px; padding: 10px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-color: var(--brown); text-decoration: none; }
.eyebrow, .card .num { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); font-weight: 650; }
h1 { font-size: clamp(36px, 5.2vw, 72px); letter-spacing: -.05em; line-height: 1.05; font-weight: 650; margin: 18px 0 26px; }
h2 { font-size: clamp(23px, 2.3vw, 29px); letter-spacing: -.035em; line-height: 1.2; font-weight: 650; margin: 0 0 18px; }
p { margin: 12px 0; color: var(--muted); }
.intro { font-size: 18px; max-width: 800px; }
.nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 32px; font-size: 14px; }
.pill { display: inline-block; border-left: 2px solid var(--brown); padding: 0 10px; font-size: 13px; margin: 8px 10px 8px 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 32px 0; }
.stat, .panel, .card { background: var(--panel); border: 1px solid var(--line); border-radius: 0; padding: 26px 28px; min-width: 0; }
.stat { border-top: 3px solid var(--accent); }
.stat strong { display: block; font-size: 32px; letter-spacing: -.04em; color: var(--accent); }
.stat span { color: var(--muted); font-size: 13px; }
.panel { margin: 24px 0; }
.controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
button, .button { border: 1px solid var(--line); border-radius: 0; background: var(--soft); color: var(--text); padding: 11px 17px; font: inherit; font-size: 14px; cursor: pointer; }
button:hover { border-color: var(--accent); }
button[aria-pressed=true], button.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.time { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--accent); }
input[type=range] { width: 100%; accent-color: var(--accent); }
input[type=number] { max-width: 100%; border: 1px solid var(--line); padding: 7px; background: #fff; color: var(--text); font: inherit; }
.wave { display: block; width: 100%; height: 130px; cursor: crosshair; border-radius: 0; background: #f4f1eb; }
.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.note { font-size: 13px; }
.good { border-left: 3px solid var(--accent); padding-left: 16px; margin: 20px 0; }
.plot { width: 100%; height: auto; display: block; border-radius: 0; }
.words { display: flex; flex-wrap: wrap; gap: 6px; }
.words button { padding: 6px 10px; font-size: 13px; }
.words button.active { border-color: var(--accent); background: #e7efec; color: var(--accent); }
ul { padding-left: 20px; color: var(--muted); }
li { margin: 8px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
td, th { text-align: left; border-bottom: 1px solid var(--line); padding: 11px 9px; }
th { color: var(--muted); font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 26px 0 48px; }
.card { border-top: 4px solid var(--accent); display: flex; flex-direction: column; }
.card h2 { color: var(--text); margin-top: 18px; }
.card audio { width: 100%; margin: auto 0 10px; padding-top: 16px; }
.card .foot { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 15px; margin-top: 10px; }
.wide { grid-column: 1 / -1; }
.status { min-height: 22px; color: var(--muted); font-size: 13px; }
textarea { width: 100%; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 0; color: var(--text); font: inherit; resize: vertical; }
footer { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }
.scroll { overflow: auto; }
.analysis-report main > section { background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 26px; margin: 24px 0; }
.analysis-report .muted { color: var(--muted); }
.analysis-report img { max-width: 100%; }
@media(max-width:1000px) { main, .site-wrap { width: calc(100% - 64px); } }
@media(max-width:720px) {
  main, .site-wrap { width: calc(100% - 40px); }
  main { padding-block: 24px 48px; }
  .site-header { min-height: 96px; padding-block: 18px; gap: 14px; flex-wrap: wrap; }
  .site-brand { font-size: 16px; }
  .site-nav { gap: 18px; }
  .site-nav a { padding-block: 3px; }
  h1 { font-size: clamp(33px, 7.5vw, 52px); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .two, .cards { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 16px; }
  .stat strong { font-size: 26px; }
  .panel, .card, .analysis-report main > section { padding: 22px 20px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
