/* Inkdot — its own stylesheet. Sound becomes text:
   a waveform that settles into lines of a transcript. Apple-native system type. */
:root {
  --paper: #F5F6F8;
  --sheet: #FFFFFF;
  --ink: #16191F;
  --ink-2: #545B68;
  --rule: #DADDE3;
  --link: #0A6A6C;
  --rec: #E0352B;
  --wave: #9AA3B2;
  --focus: #0A6A6C;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15171B; --sheet: #1D2026; --ink: #ECEEF2; --ink-2: #A3AAB6;
    --rule: #30343C; --link: #5CC8C4; --rec: #FF5A4E; --wave: #5B6372; --focus: #5CC8C4;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #15171B; --sheet: #1D2026; --ink: #ECEEF2; --ink-2: #A3AAB6;
  --rule: #30343C; --link: #5CC8C4; --rec: #FF5A4E; --wave: #5B6372; --focus: #5CC8C4;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--sheet); padding: 8px 12px; z-index: 10; }

.container { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 16px; }
.container.wide { max-width: 64rem; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 20px; flex: none; }
.brand small { font-weight: 400; color: var(--ink-2); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.site-nav a { color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }

/* Hero: the waveform that becomes transcript lines */
.hero { padding: 56px 0 8px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 16px; max-width: 18ch; }
.hero .lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36rem; margin: 0 0 12px; }
.hero .status { font-size: 15px; color: var(--ink-2); margin: 0; }
.signal { margin: 36px 0 8px; }
.signal svg { display: block; width: 100%; height: auto; }
.signal .bar { fill: var(--wave); }
.signal .line { fill: var(--ink); opacity: 0.85; }
.signal .line.soft { opacity: 0.35; }
.signal .dot { fill: var(--rec); }
.signal figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; max-width: 34rem; }
@media (prefers-reduced-motion: no-preference) {
  .signal .line { transform-box: fill-box; transform-origin: left center; animation: write 900ms cubic-bezier(.2,.7,.2,1) both; }
  .signal .lines .line:nth-child(2) { animation-delay: 120ms; }
  .signal .lines .line:nth-child(3) { animation-delay: 240ms; }
  .signal .lines .line:nth-child(4) { animation-delay: 360ms; }
  @keyframes write { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.legal-index { margin: 40px 0 72px; }
.legal-index h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin: 0 0 12px; }
.legal-index ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.legal-index li { border-bottom: 1px solid var(--rule); }
.legal-index a { display: grid; gap: 2px; padding: 16px 0; color: var(--ink); text-decoration: none; }
.legal-index a strong { font-weight: 600; }
.legal-index a span { color: var(--ink-2); font-size: 15px; }
.legal-index a:hover strong { color: var(--link); }

/* Documents */
.doc { padding-top: 40px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin: 4px 0 24px; }
.doc h2 { font-size: 1.2rem; letter-spacing: -0.01em; margin: 40px 0 8px; line-height: 1.3; }
.doc p, .doc li { max-width: 40rem; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.updated { font-size: 14px; color: var(--ink-2); margin: 0; }
.short { background: var(--sheet); border: 1px solid var(--rule); border-left: 4px solid var(--rec); border-radius: 10px; padding: 4px 20px; margin: 0 0 8px; }
.mail { font-size: 1.35rem; font-weight: 600; margin: 20px 0; }

.table-wrap { margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
caption { text-align: left; font-size: 14px; color: var(--ink-2); padding: 0 0 8px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  table, tbody, tr, td { display: block; width: 100%; }
  table tr:first-child { display: none; }
  tr { border-bottom: 1px solid var(--rule); padding: 8px 0; }
  tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 4px 14px; }
  td::before { content: attr(data-label); display: block; font-size: 13px; color: var(--ink-2); }
}

.site-footer { border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer a { color: var(--ink-2); }
