/* Nowstaffed — site styles. Light by default, dark via prefers-color-scheme. */

:root {
  --bg: #F5F2EB;
  --paper: #FFFFFF;
  --ink: #121C2C;
  --body: #3A4658;
  --muted: #5A6474;
  --line: #DCD5C8;
  --line-soft: #E8E2D7;
  --rule: #121C2C;
  --accent: #1E5B43;
  --on-accent: #FFFFFF;
  --accent-soft: #E9F1EC;
  --amber-ink: #8A5A12;
  --row-hover: #FAF8F3;
  --dashed: #B9B09F;
  --btn-line: #CFC7B8;

  /* Always-dark bands (hero, control, contact, footer) */
  --navy: #0E1828;
  --navy-2: #131F33;
  --navy-3: #101B2D;
  --navy-deep: #0B1422;
  --navy-line: #22304A;
  --navy-line-2: #26354F;
  --navy-line-3: #2C3B56;
  --cream: #F3EFE7;
  --n-text: #E4E8EE;
  --n-body: #D3D9E2;
  --n-muted: #A9B3C2;
  --n-faint: #7F8A9C;
  --mint: #9ED2B8;
  --mint-dot: #6FCF97;
  --amber: #E7B15A;
  --sky: #A9C4E6;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1240px;
  --gutter: 28px;
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A121F;
    --paper: #0F192A;
    --ink: #EEF0F3;
    --body: #C3CAD5;
    --muted: #97A1B0;
    --line: #23314A;
    --line-soft: #1C283D;
    --rule: #8C97A8;
    --accent: #8CCBAA;
    --on-accent: #0A121F;
    --accent-soft: #15302A;
    --amber-ink: #E7B15A;
    --row-hover: #122036;
    --dashed: #4A5872;
    --btn-line: #33425E;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--mint); }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--cream); color: var(--navy); padding: 10px 14px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.dark { background: var(--navy); color: var(--cream); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px; border-radius: 6px; border: 0;
  background: var(--cream); color: var(--navy);
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: filter .2s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { min-height: 56px; font-size: 17px; border-radius: 8px; }

.navlink {
  text-decoration: underline; text-decoration-color: transparent;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.navlink:hover { text-decoration-color: currentColor; }
.dark .navlink:hover { color: #FFFFFF; }
.textlink { text-decoration: underline; text-decoration-color: var(--dashed); transition: text-decoration-color .2s ease; }
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 24, 40, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--navy-line);
}
.site-header .wrap {
  min-height: var(--header-h); display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 8px 24px;
}
.wordmark {
  font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -0.015em;
  color: var(--cream); text-decoration: none;
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; font-size: 14px; }
.site-nav a.navlink { color: var(--n-muted); min-height: 44px; display: inline-flex; align-items: center; }
.site-nav .btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
@media (max-width: 720px) {
  .site-nav a.navlink { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(64px, 9vw, 116px); padding-bottom: clamp(56px, 7vw, 88px); }
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--n-muted);
  margin-bottom: 30px;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--mint); }
.hero h1 {
  max-width: 1080px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.6vw, 96px); line-height: 1.0; letter-spacing: -0.03em; color: var(--cream);
}
.hero h1 em, .contact h2 em { font-style: italic; }
.hero-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px clamp(40px, 6vw, 88px);
}
.hero-copy { flex: 1 1 360px; min-width: 0; max-width: 460px; }
.hero-copy p { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--n-body); }
.hero-copy p + p { margin-top: 20px; }
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta-row .mono { font-size: 14px; color: var(--n-muted); }

/* Activity log (example) */
.log { flex: 999 1 560px; min-width: 0; }
.panel {
  background: var(--navy-2); border: 1px solid var(--navy-line-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 50px 90px -40px rgba(0,0,0,0.65);
}
.panel-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 16px; padding: 16px 22px; border-bottom: 1px solid var(--navy-line-2);
}
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar {
  position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 20px;
}
.avatar-dark { background: #22324E; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10); color: var(--n-text); }
.avatar-light { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(30,91,67,0.18); color: var(--accent); }
.avatar .dot {
  position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--mint-dot); border: 2px solid var(--navy-2);
}
.avatar-light .dot { background: #3FA36F; border-color: var(--paper); }
.who-name { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--cream); }
.who-role { font-size: 13px; color: var(--n-muted); }
.ai-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; line-height: 16px;
  color: var(--n-muted); border: 1px solid #3A4C6B; border-radius: 4px; padding: 0 5px;
}
.ai-tag-light { color: var(--muted); border-color: var(--btn-line); }
.status { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; color: var(--n-muted); }
.status .working { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); }
.status .working::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-dot);
  animation: pulse 2.6s ease-out infinite;
}

.log-rows { padding: 6px 0; }
.log-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px;
  padding: 12px 22px; border-bottom: 1px solid #1E2B42;
  animation: rowIn .6s cubic-bezier(.2,.7,.2,1) both;
}
.log-row:last-child { border-bottom: 0; }
.log-row .t { flex: none; width: 48px; font-family: var(--mono); font-size: 13px; color: var(--n-faint); }
.log-row .what { flex: 1 1 240px; min-width: 0; font-size: 15px; color: var(--n-text); }
.log-row .s { flex: none; font-family: var(--mono); font-size: 12px; color: var(--mint); }
.log-row .s.ask { color: var(--sky); }
.log-row .s.wait { color: var(--amber); }
.log-row .s.quiet { color: var(--n-muted); }
.log-row.waiting { background: rgba(231,177,90,0.07); padding-top: 10px; padding-bottom: 10px; }
.log-row .actions { flex: none; display: inline-flex; align-items: center; gap: 12px; }
.btn-approve {
  min-height: 36px; padding: 0 14px; border: 0; border-radius: 6px;
  background: var(--amber); color: var(--navy); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: filter .2s ease;
}
.btn-approve:hover { filter: brightness(1.06); }
.panel-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
  padding: 12px 22px; border-top: 1px solid var(--navy-line-2); background: var(--navy-3);
  font-family: var(--mono); font-size: 12px; color: var(--n-muted);
}
.panel-foot .right { display: inline-flex; align-items: center; gap: 12px; }
.example-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  border: 1px dashed #4A5872; border-radius: 4px; padding: 1px 8px; color: var(--n-muted);
}
.example-tag-light { border-color: var(--dashed); color: var(--muted); }
.btn-reset {
  min-height: 32px; padding: 0 10px; border-radius: 4px; background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  border: 1px solid var(--navy-line-3); color: var(--n-muted);
}
.btn-reset:hover { background: rgba(255,255,255,0.06); }
.btn-reset-light { border-color: var(--line); color: var(--muted); }
.btn-reset-light:hover { background: var(--bg); }

/* Demo states: [data-decision] on <body> */
[data-when] { display: none; }
body[data-decision="pending"] [data-when~="pending"],
body[data-decision="approved"] [data-when~="approved"],
body[data-decision="held"] [data-when~="held"],
body[data-decision="approved"] [data-when~="decided"],
body[data-decision="held"] [data-when~="decided"] { display: flex; }
html.no-js [data-js] { display: none !important; }

/* Facts strip */
.facts { border-top: 1px solid var(--navy-line); }
.facts ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); column-gap: 40px; }
.facts li { padding: 32px 0 38px; }
.facts strong { display: block; font-size: 17px; font-weight: 600; color: var(--cream); }
.facts span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--n-muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.paper + .section.paper { border-top: 0; }
.split { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.split > .label { flex: 1 1 220px; min-width: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.dark .split > .label { color: var(--n-muted); }
.split > .main { flex: 999 1 720px; min-width: 0; }
.h2 {
  max-width: 860px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -0.025em;
}
.lede { margin-top: 28px; max-width: 680px; font-size: 19px; color: var(--body); }

/* 01 What it is */
.two-col {
  margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 48px; border-top: 1px solid var(--rule);
}
.two-col > div { padding: 28px 0 8px; }
.two-col h3 { margin-bottom: 18px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); }
.two-col li { padding: 14px 0; border-top: 1px solid var(--line); }
.two-col li strong { font-weight: 600; }
.two-col li span { display: block; font-size: 15px; color: var(--muted); }
.callout {
  margin-top: 48px; padding: 26px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline;
}
.callout .big { font-family: var(--serif); font-size: 23px; letter-spacing: -0.01em; }
.callout .small { flex: 1 1 320px; font-size: 15px; color: var(--body); }

/* 02 Steps */
.steps {
  margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  column-gap: 28px; border-top: 1px solid var(--rule);
}
.steps li { padding: 24px 0 8px; }
.steps .meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.steps .meta b { color: var(--accent); font-weight: 500; }
.steps h3 { margin: 28px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; }
.steps p { font-size: 15px; color: var(--body); }

/* 03 Examples */
.examples { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.examples figure { flex: 1 1 420px; min-width: 0; }
.examples figure:first-child { flex-basis: 480px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(18,28,44,0.3);
}
.card-head { padding: 18px 24px; border-bottom: 1px solid var(--line-soft); display: flex; gap: 14px; align-items: center; }
.card-head .from { min-width: 0; flex: 1; font-size: 13px; color: var(--muted); }
.card-head .from .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.card-head .from b { color: var(--ink); font-weight: 600; }
.card-body { padding: 24px; font-size: 15px; line-height: 1.55; }
.report { display: flex; flex-direction: column; gap: 20px; }
.report .subject { font-size: 17px; font-weight: 600; }
.report .group-h {
  display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px;
  margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line-soft);
}
.report .g-done { color: var(--accent); }
.report .g-wait { color: var(--amber-ink); }
.report ul { list-style: disc; padding-left: 18px; color: var(--body); }
.report .sig { padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.chat-head {
  padding: 14px 24px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between;
  gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.chat { display: flex; gap: 14px; }
.chat .msg { min-width: 0; flex: 1; }
.chat .name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chat .name b { font-size: 15px; font-weight: 700; }
.chat .name .mono { font-size: 12px; color: var(--muted); }
.chat p { margin-top: 6px; }
.items { margin-top: 14px; border: 1px solid var(--line-soft); border-radius: 8px; padding: 12px 14px; font-size: 13px; color: var(--body); }
.items div { display: flex; justify-content: space-between; gap: 12px; }
.items div + div { margin-top: 6px; }
.items .mono { color: var(--ink); }
.items .more { color: var(--muted); }
.chat-actions { margin-top: 14px; flex-wrap: wrap; gap: 8px; }
.btn-sm {
  min-height: 40px; padding: 0 16px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: filter .2s ease, background-color .2s ease;
}
.btn-primary { border: 0; background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { border: 1px solid var(--btn-line); background: var(--paper); color: var(--ink); }
.btn-secondary:hover { background: var(--bg); }
.outcome {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--body);
  animation: rowIn .5s cubic-bezier(.2,.7,.2,1) both;
}
.outcome span { flex: 1; }
figcaption { margin-top: 14px; display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: var(--body); }

/* 04 Table */
.table-wrap { margin-top: 64px; overflow-x: auto; }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
thead tr { border-bottom: 1px solid var(--rule); text-align: left; }
thead th { padding: 0 24px 14px 0; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); }
thead th:last-child { padding-right: 0; }
tbody tr { border-bottom: 1px solid var(--line-soft); transition: background-color .2s ease; }
tbody tr:hover { background: var(--row-hover); }
tbody tr:last-child { border-bottom: 1px solid var(--rule); }
tbody th { padding: 18px 24px 18px 0; text-align: left; font-weight: 600; }
tbody td { padding: 18px 24px 18px 0; color: var(--body); }
tbody td:last-child { padding-right: 0; color: var(--muted); }
tbody tr.yours th { color: var(--accent); }
tbody tr.yours td:last-child a { color: var(--ink); font-weight: 600; }

/* 05 Control */
.controls { margin-top: 64px; border-top: 1px solid var(--cream); }
.controls > div { display: flex; flex-wrap: wrap; gap: 6px 64px; padding: 24px 0; border-bottom: 1px solid var(--navy-line); }
.controls dt { flex: 1 1 220px; font-family: var(--mono); font-size: 13px; color: var(--mint); padding-top: 3px; }
.controls dd { flex: 999 1 640px; font-size: 18px; color: var(--n-body); }
.controls dd strong { font-weight: 600; color: var(--cream); }
.never {
  margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 64px; padding: 28px;
  border: 1px solid var(--navy-line-3); border-radius: 12px; background: var(--navy-2);
}
.never p { flex: 1 1 200px; font-family: var(--mono); font-size: 13px; color: var(--amber); padding-top: 2px; }
.never ul { flex: 999 1 600px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 32px; font-size: 16px; color: var(--n-text); }
.never li { display: flex; gap: 10px; align-items: baseline; }
.never li::before { content: "—"; color: var(--amber); }

/* 06 FAQ */
.faq { border-top: 1px solid var(--rule); margin-top: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 24px 0; min-height: 44px; font-size: 20px; font-weight: 600; transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary svg { flex: none; transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; max-width: 680px; color: var(--body); }

/* Contact */
.contact { padding: clamp(80px, 10vw, 140px) 0; }
.contact .kicker { margin-bottom: 28px; }
.contact h2 {
  max-width: 1000px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.03em; color: var(--cream);
}
.contact-grid {
  margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--navy-line);
  display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end;
}
.contact-grid > div { flex: 1 1 380px; min-width: 0; }
.contact-grid .intro { margin-bottom: 18px; font-size: 18px; color: var(--n-body); }
.three li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--navy-line); font-size: 17px; color: var(--n-text); }
.three li:last-child { border-bottom: 1px solid var(--navy-line); }
.three .mono { font-size: 13px; color: var(--mint); padding-top: 3px; }
.reply-note { margin-top: 18px; font-size: 15px; color: var(--n-muted); }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.email-box {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--navy-line-3); border-radius: 8px;
  padding: 8px 8px 8px 20px; background: var(--navy-2);
}
.email-box .mono { flex: 1; min-width: 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--cream); overflow-wrap: anywhere; }
.btn-copy {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--navy-line-3); border-radius: 6px; background: transparent; color: var(--cream);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-copy:hover { background: rgba(255,255,255,0.06); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--n-muted); padding: 64px 0 40px; border-top: 1px solid var(--navy-line); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; font-size: 14px; }
.foot-cols > div, .foot-cols > nav { flex: 1 1 160px; min-width: 0; }
.foot-cols .brand { flex: 2 1 300px; }
.foot-cols .brand .wordmark { font-size: 24px; }
.foot-cols .brand p { margin-top: 12px; max-width: 320px; line-height: 1.6; }
.foot-cols h2 { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--n-faint); margin-bottom: 14px; }
.foot-cols .links { display: flex; flex-direction: column; gap: 10px; }
.foot-cols .links a { color: var(--n-body); }
.foot-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid #1C2940;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 13px;
}

/* Privacy / simple pages */
.doc { padding: clamp(56px, 8vw, 104px) 0 clamp(80px, 10vw, 128px); }
.doc .inner { max-width: 720px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.025em; }
.doc .updated { margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.doc h2 { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 600; }
.doc p, .doc ul { margin-top: 14px; color: var(--body); }
.doc ul { list-style: disc; padding-left: 20px; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--ink); }

/* ---------- Motion ---------- */
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111,207,151,.55); }
  70% { box-shadow: 0 0 0 7px rgba(111,207,151,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,207,151,0); }
}
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
