:root{
  --bg: oklch(98.7% 0.006 90);
  --bg-soft: oklch(96.5% 0.012 90);
  --ink: oklch(21% 0.012 90);
  --ink-soft: oklch(46% 0.014 90);
  --line: oklch(21% 0.012 90 / 0.14);
  --yellow: oklch(83% 0.16 95);
  --yellow-ink: oklch(30% 0.09 90);
  --turquoise: oklch(74% 0.115 195);
  --turquoise-deep: oklch(46% 0.09 195);
  --white: oklch(100% 0 0);
  --radius: 16px;
  --maxw: 1600px;
}
*{ box-sizing: border-box; }
body{ margin:0; background: var(--bg); color: var(--ink);
  font-family: 'Atkinson Hyperlegible', Verdana, Arial, sans-serif;
  font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1,h2,h3{ font-weight: 700; line-height: 1.15; text-wrap: pretty; margin: 0; }
p{ margin: 0; text-wrap: pretty; }
a{ color: var(--turquoise-deep); text-decoration-thickness: 2px; }
a:hover{ color: var(--ink); }
.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.prose-wrap{ max-width: 960px; margin: 0 auto; padding: 0 32px; }
.btn{ display:inline-flex; align-items:center; gap:10px; justify-content:center;
  padding: 16px 28px; border-radius: 100px; font-family: inherit; font-weight: 700;
  font-size: 17px; text-decoration:none; border: 2.5px solid var(--ink); cursor: pointer;
  min-height: 44px; line-height: 1; }
.btn-primary{ background: var(--yellow); color: var(--yellow-ink); }
.btn-primary:hover{ background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.btn-secondary{ background: var(--turquoise); color: var(--ink); }
.btn-secondary:hover{ background: var(--ink); color: var(--turquoise); border-color: var(--ink); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--ink); background: var(--white); }
a:focus-visible, .btn:focus-visible, .navlink:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--turquoise-deep); outline-offset: 3px; border-radius: 4px; }
.taplink{ display: inline-flex; align-items: center; min-height: 44px; padding: 6px 4px; font-weight: 700; }
.eyebrow{ display:inline-flex; align-items:center; gap:8px; padding: 8px 16px;
  border-radius: 100px; border: 2px solid var(--ink); font-weight:700; font-size: 14px;
  letter-spacing: 0.02em; background: var(--white); }
.dot{ width:9px; height:9px; border-radius:50%; background: var(--turquoise-deep); flex:0 0 auto; }
section{ padding: 88px 0; }
.card{ background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--radius);
  padding: 32px; }
.grid2{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.stack{ display:flex; flex-direction:column; }
.row{ display:flex; align-items:center; }
.tag{ display:inline-block; padding: 5px 12px; border-radius: 100px; background: var(--bg-soft);
  border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.icon-badge{ width:56px; height:56px; border-radius: 14px; display:flex; align-items:center;
  justify-content:center; border: 2.5px solid var(--ink); flex: 0 0 auto; }
nav a.navlink{ color: var(--ink); font-weight: 700; text-decoration: none; font-size: 16px; }
nav a.navlink:hover{ color: var(--turquoise-deep); }
nav a.navlink[aria-current="page"]{ color: var(--turquoise-deep); border-bottom: 2.5px solid var(--turquoise-deep); }
footer a{ color: var(--white); }
footer a:hover{ color: var(--yellow); }

/* ---- top nav (shared) ---- */
.site-nav{ position: sticky; top:0; z-index: 20; background: var(--bg); border-bottom: 2.5px solid var(--ink); }
.site-nav .wrap{ display:flex; justify-content: space-between; align-items:center; height: 84px; gap: 20px; flex-wrap: wrap; }

/* ---- page hero (sub-pages) ---- */
.page-hero{ padding: 56px 0 40px; border-bottom: 2.5px solid var(--ink); background: var(--bg-soft); }

/* ---- prose (manual, changelog) ---- */
.prose h2{ font-size: 28px; margin-top: 0; }
.prose h3{ font-size: 19px; color: var(--turquoise-deep); text-transform: uppercase; letter-spacing: 0.03em; }
.prose p{ margin-bottom: 0; }
.prose > * + *{ margin-top: 18px; }
.prose ol, .prose ul{ padding-left: 26px; margin: 0; }
.prose li + li{ margin-top: 10px; }
.callout{ background: var(--bg-soft); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; }
.callout-dark{ background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 22px 24px; }
.callout-dark .ink-soft{ color: oklch(100% 0 0 / 0.7); }
dl.kv{ display:grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin:0; }
dl.kv dt{ font-weight: 700; }
dl.kv dd{ margin:0; color: var(--ink-soft); }
.divider{ height: 2px; background: var(--line); border:0; margin: 0; }
.section-jump{ font-size: 15px; }

/* ---- changelog ---- */
.version-block{ padding: 36px 0; border-bottom: 2px solid var(--line); }
.version-block:first-of-type{ padding-top: 0; }
.version-block:last-of-type{ border-bottom: none; }
.version-title{ font-size: 24px; }
.version-meta{ color: var(--ink-soft); font-size: 15px; }
.change-label{ display:inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--turquoise-deep); margin-bottom: 6px; }

/* ---- survey form ---- */
fieldset{ border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 26px 26px 30px;
  margin: 0; background: var(--white); }
legend{ font-weight: 700; font-size: 21px; padding: 0 10px; }
.q{ padding: 16px 0; border-top: 1.5px solid var(--line); }
.q:first-of-type{ border-top: none; padding-top: 6px; }
.q-label{ font-weight: 700; margin-bottom: 10px; display:block; }
.q-hint{ color: var(--ink-soft); font-size: 15px; margin-top: 4px; display:block; }
.options{ display:flex; flex-wrap: wrap; gap: 10px; }
.option{ display:inline-flex; align-items:center; gap: 8px; border: 2px solid var(--line);
  border-radius: 100px; padding: 10px 18px; min-height: 44px; cursor:pointer; background: var(--bg-soft); }
.option:hover{ border-color: var(--ink); }
.option input{ width: 18px; height: 18px; accent-color: var(--turquoise-deep); flex: 0 0 auto; }
input[type="text"], textarea{
  width: 100%; font-family: inherit; font-size: 17px; padding: 12px 14px;
  border: 2px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: var(--ink); }
textarea{ min-height: 90px; resize: vertical; }
label.field-label{ font-weight: 700; display:block; margin-bottom: 8px; }

@media (max-width: 820px){
  .grid2{ grid-template-columns: 1fr; }
  h1{ font-size: 40px !important; }
}
