/* Kansoboard — www placeholder. Static, no JS, all CSS lives here (strict CSP: style-src 'self'). */

/* ── fonts (OFL, self-hosted; see fonts/OFL-*.txt) ─────────────────────────── */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces72pt-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces72pt-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── tokens (v3) ───────────────────────────────────────────────────────────── */
:root {
  --bg: #F8F5EF;
  --surface: #FFFFFF;
  --raised: #F2EDE2;
  --sunken: #EDE6D7;
  --line: #ECE5D6;
  --line-2: #DCD3BF;
  --line-amber: rgba(196, 150, 58, 0.30);
  --ink: #161311;
  --ink-2: #4A433C;
  --ink-3: #8A8278;
  --ink-4: #B3AB9F;
  --amber: #C4963A;
  --amber-deep: #A57E2C;
  --amber-soft: rgba(196, 150, 58, 0.10);
  --amber-tint: #FBF4E2;
  --amber-ink: #87661F;           /* small amber text on paper (AA) */
  --amber-display: #A57E2C;       /* large amber text on paper (>= 3:1) */
  --danger: #A34E37;
  --live: #2F7A4B;
  --live-soft: rgba(47, 122, 75, 0.10);
  --live-dot: #22C55E;
  --shadow-1: 0 1px 0 rgba(60, 42, 18, 0.04);
  --shadow-2: 0 4px 14px rgba(60, 42, 18, 0.06), 0 1px 0 rgba(60, 42, 18, 0.04);
  --shadow-3: 0 16px 40px rgba(60, 42, 18, 0.10), 0 2px 8px rgba(60, 42, 18, 0.05);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: light;
}


/* ── base ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: rgba(196, 150, 58, 0.25); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  padding: 8px 14px; border-radius: 8px;
  background: var(--ink); color: var(--bg); font-size: 14px;
  transition: top 160ms var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; font-synthesis: none; }
.display em { color: var(--amber-display); }
.eyebrow {
  font-family: var(--sans); font-size: 13px; line-height: 1.4; font-weight: 500;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.eyebrow-amber { color: var(--amber-ink); }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 560px; }

/* ── motion: gentle staggered rise on load ─────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 700ms var(--ease) both; }
.d1 { animation-delay: 60ms; }
.d2 { animation-delay: 140ms; }
.d3 { animation-delay: 220ms; }
.d4 { animation-delay: 300ms; }

/* ── nav ───────────────────────────────────────────────────────────────────── */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; border-radius: 8px; }
.mark {
  display: inline-grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--amber); color: #FBF4E2;
  font-family: var(--display); font-size: 19px; line-height: 1;
  box-shadow: var(--shadow-1), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}
.mark-sm { width: 20px; height: 20px; border-radius: 6px; font-size: 12.5px; }
.wordmark-name { font-family: var(--display); font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  font-size: 14px; color: var(--ink-2); border-radius: 8px;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--raised); }

/* ── hero ──────────────────────────────────────────────────────────────────── */
.hero { padding-top: 72px; padding-bottom: 72px; }
.hero-title {
  margin-top: 18px; max-width: 820px;
  font-size: clamp(42px, 6.4vw, 76px); line-height: 1.03; letter-spacing: -0.02em;
}
.hero .lede { margin-top: 22px; font-size: 19px; }
.hero-q { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin-bottom: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-meta li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; color: var(--ink-2); background: var(--surface);
}
.hero-meta .num { font-family: var(--display); font-size: 15px; color: var(--amber-ink); }

/* ── section heads ─────────────────────────────────────────────────────────── */
.section-head { margin-bottom: 28px; }
.section-title { margin-top: 8px; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; }

/* ── tools ─────────────────────────────────────────────────────────────────── */
.tools { padding-top: 104px; padding-bottom: 96px; }
.tool-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }

.tool {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-2); overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: var(--line-2); }
@media (min-width: 680px) and (max-width: 999px) {
  .tool { flex-direction: row; }
  .tool .shot { flex: 0 0 44%; display: flex; flex-direction: column; justify-content: center; padding: 24px; border-bottom: 0; border-right: 1px solid var(--line); }
  .tool .shot-body { height: auto; min-height: 168px; border-bottom: 1px solid var(--line-2); border-radius: 0 0 12px 12px; -webkit-mask-image: none; mask-image: none; }
}
.tool-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tool-name { font-size: 26px; line-height: 1.15; }
.tool-desc { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
}
.chip-live { color: var(--live); background: var(--live-soft); }
.chip-soon { color: var(--amber-ink); background: var(--amber-soft); }
.chip-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.chip-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live-dot);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.highlights { margin-top: 18px; display: grid; gap: 9px; }
.highlights li {
  position: relative; padding-left: 18px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
.highlights li::before {
  content: ""; position: absolute; left: 2px; top: 0.58em;
  width: 7px; height: 7px; border-radius: 2px; border: 1.5px solid var(--amber);
  transform: rotate(45deg);
}

.built { margin-top: 20px; }
.built-label { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.stack li {
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--raised); font-family: var(--sans); font-size: 12.5px; color: var(--ink-2);
}

.tool-actions { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface);
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.btn span { color: var(--amber-ink); transition: transform 200ms var(--ease); }
.btn:hover { background: var(--amber-soft); border-color: var(--line-amber); }
.btn:hover span { transform: translate(2px, -2px); }

/* mini UI renditions (decorative) */
.shot { position: relative; background: var(--raised); border-bottom: 1px solid var(--line); padding: 18px 18px 0; overflow: hidden; }
.shot-bar, .shot-body {
  background: var(--surface); border: 1px solid var(--line-2);
}
.shot-bar {
  display: flex; align-items: center; gap: 5px; padding: 8px 10px;
  border-bottom: 0; border-radius: 12px 12px 0 0;
}
.shot-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.shot-bar em {
  margin-left: 8px; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-body {
  border-top-color: var(--line); padding: 14px 16px 16px; height: 168px; box-shadow: var(--shadow-2);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.tool:hover .shot-body { box-shadow: var(--shadow-3); }

/* todo */
.s-day { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-size: 17px; }
.s-dim { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.s-rows { margin-top: 10px; }
.s-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.s-row b { flex: 1; font-weight: 400; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-box { flex: none; width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid var(--line-2); }
.is-done .s-box { border-color: transparent; background: var(--amber) var(--check) center / 8px no-repeat; }
.is-done b { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--ink-4); }
.s-pri { font-style: normal; font-family: var(--mono); font-size: 9.5px; padding: 1px 5px; border-radius: 4px; }
.p1 { color: var(--amber-ink); background: var(--amber-soft); }
.p2 { color: var(--ink-2); background: var(--raised); }

/* writer */
.shot-writer .shot-body { padding: 18px 22px; }
.s-doc-title { font-family: var(--display); font-size: 19px; line-height: 1.2; }
.s-line { height: 6px; margin-top: 11px; border-radius: 3px; background: var(--sunken); }
.s-line.l1 { margin-top: 14px; width: 96%; }
.s-line.l2 { width: 88%; }
.s-line.l3 { width: 92%; }
.s-line.l4 { width: 44%; position: relative; overflow: visible; }
.caret {
  position: absolute; right: -6px; top: -5px; width: 2px; height: 16px; border-radius: 1px;
  background: var(--amber); animation: blink 1.1s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.s-foot {
  display: flex; justify-content: space-between; margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.04em; color: var(--ink-2);
}

/* clothes */
.s-tabs { display: flex; gap: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.s-tabs span { padding: 4px 8px; border-radius: 6px; color: var(--ink-2); }
.s-tabs .on { background: var(--amber-soft); color: var(--amber-ink); }
.s-outfits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.s-outfit { display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.s-outfit b { font-weight: 500; font-size: 11px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-outfit small { font-size: 10px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw { display: block; height: 58px; border-radius: 7px; margin-bottom: 4px; position: relative; }
.sw svg { position: absolute; left: 50%; top: 50%; width: 30px; height: 19px; transform: translate(-50%, -50%); }
.sw path { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sw-a { background: linear-gradient(160deg, #D9CDB5, #BFAE8D); }
.sw-b { background: linear-gradient(160deg, #D8B061, #C4963A); }
.sw-c { background: linear-gradient(160deg, #4B4038, #2B2420); }

/* more tools */
.more {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 20px;
  padding: 18px 24px; border: 1px dashed var(--line-2); border-radius: 16px;
}
.more-star { color: var(--amber-ink); }
.more-text { font-size: 14px; color: var(--ink-2); }

/* ── featured showcase ─────────────────────────────────────────────────────── */
.showcase {
  padding: 88px 0 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 360px at 85% 0%, var(--amber-soft), transparent 70%),
    var(--raised);
}
.show-intro { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 900px) { .show-intro { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.show-title { margin-top: 12px; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.showcase .lede { margin-top: 16px; }
.cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (min-width: 900px) { .cta-row { align-items: flex-end; text-align: right; max-width: 280px; } }
.soon-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-amber); background: var(--amber-soft);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--amber-ink); cursor: default; user-select: none;
}
.soon-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.soft-note { font-size: 14px; color: var(--ink-2); }

/* Board → Card → Task */
.tiers { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 48px; margin-bottom: 40px; }
@media (min-width: 768px) { .tiers { flex-direction: row; align-items: center; } }
.tier {
  flex: 1; padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-1);
}
.tier-head { display: flex; align-items: center; gap: 8px; }
.tier-name { font-size: 20px; }
.tag {
  padding: 2px 6px; border-radius: 4px; background: var(--raised);
  font-family: var(--sans); font-size: 12px; color: var(--ink-2);
}
.tier-ex { margin-top: 10px; font-family: var(--sans); font-size: 14px; color: var(--amber-ink); }
.tier-desc { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.arrow { display: flex; justify-content: center; align-items: center; }
.arrow path { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow-r { display: none; }
@media (min-width: 768px) { .arrow-r { display: block; } .arrow-d { display: none; } }

/* demo */
.demo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 48px 0 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.demo-title { font-size: 14px; font-weight: 500; }
.demo-sub { font-size: 14px; color: var(--ink-2); }
.panel {
  padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-2);
}
.panel + .panel { margin-top: 16px; }
.panel-label { margin-bottom: 14px; font-size: 10.5px; }

.board { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .board { grid-template-columns: repeat(3, 1fr); } }
.col { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--raised); }
.col-label { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; }
.count { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--surface); text-align: center; }
.card {
  position: relative; overflow: hidden; padding: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-1);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card-live { box-shadow: var(--shadow-2); padding-top: 18px; display: flex; flex-direction: column; }
.card-band { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--amber); }
.card-title { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.card-done .card-title { color: var(--ink-2); }
.meter { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.meter .eyebrow { font-size: 10px; min-width: 22px; }
.bar { flex: 1; height: 4px; border-radius: 999px; background: var(--sunken); overflow: hidden; }
.fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--amber); transition: width 360ms var(--ease); }
.w-0 { width: 0; } .w-33 { width: 33.34%; } .w-40 { width: 40%; } .w-100 { width: 100%; }

/* live card: progress follows the checkboxes (counter + :has) */
.card-live .meter { order: 1; margin-top: 10px; }
.card-live .checklist { order: 2; }
.card-live { counter-reset: done; }
.checklist { margin-top: 10px; display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: 2px 9px; }
.task { display: flex; align-items: center; gap: 9px; }
.checklist input:checked { counter-increment: done; }
.meter-count::before { content: counter(done); }
.meter-live .fill { width: 33.34%; }
.card-live:not(:has(:checked)) .fill { width: 0; }
.card-live:has(:checked) .fill { width: 33.34%; }
.card-live:has(:checked ~ :checked) .fill { width: 66.67%; }
.card-live:has(:checked ~ :checked ~ :checked) .fill { width: 100%; }
/* counters in flex order: the meter is after the list in source, so the count is right */

/* checkboxes (native, restyled) */
input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--ink-3);
  background: transparent center / 9px no-repeat; cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
input[type="checkbox"]:hover { border-color: var(--amber); }
input[type="checkbox"]:active { transform: scale(0.9); }
input[type="checkbox"]:checked { border-color: var(--amber); background-color: var(--amber); background-image: var(--check); }
input[type="checkbox"]:focus-visible { outline-offset: 2px; border-radius: 4px; }
.checklist label { font-size: 12.5px; color: var(--ink-2); cursor: pointer; padding: 4px 0; }
.checklist input:checked + label, .task input:checked + label .task-title {
  color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--ink-3);
}

.tasks li + li { border-top: 1px solid var(--line); }
.task { gap: 12px; padding: 10px 2px; }
.task label { flex: 1; min-width: 0; cursor: pointer; }
.task-title { display: block; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-ctx { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.tdot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.tdot-ink { background: #7C6F58; }
.due { font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); }
.due-amber { color: var(--amber-ink); }
.due-danger { color: var(--danger); }
.task input:checked ~ .due { visibility: hidden; }

/* board highlights (replaces the v3 comparison table) */
.board-highlights { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 32px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
@media (min-width: 640px) { .board-highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .board-highlights { grid-template-columns: repeat(4, 1fr); } }
.board-highlights li { padding: 18px 20px; background: var(--surface); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.board-highlights .display { display: block; margin-bottom: 4px; font-size: 18px; color: var(--ink); }

/* ── principles ────────────────────────────────────────────────────────────── */
.how { padding-top: 96px; padding-bottom: 104px; }
.principle-list { display: grid; gap: 28px 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .principle-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .principle-list { grid-template-columns: repeat(4, 1fr); } }
.principle { padding-top: 20px; border-top: 1px solid var(--line-2); }
.p-ico { width: 26px; height: 26px; }
.p-ico .ink, .p-ico .amber { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p-ico .ink { stroke: var(--ink); }
.p-ico .amber { stroke: var(--amber); }
.principle-name { margin-top: 14px; font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.principle p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* ── footer ────────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; padding-bottom: 32px; }
@media (min-width: 720px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 2px 4px; margin-left: -10px; }
@media (min-width: 720px) { .footer-links { margin-left: 0; margin-right: -10px; } }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 8px;
  font-size: 13.5px; color: var(--ink-2); transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.footer-links a:hover { color: var(--ink); background: var(--raised); }

/* ── 404 ───────────────────────────────────────────────────────────────────── */
.rest { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.rest-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 96px; }
.rest-code { font-family: var(--sans); font-size: 15px; color: var(--amber-ink); }
.rest-title { margin-top: 14px; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.rest .lede { margin-top: 16px; }
.rest-actions { margin-top: 28px; }

/* ── small screens ─────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hide-sm { display: none; }
  .hero { padding-top: 44px; padding-bottom: 56px; }
  .hero .lede { font-size: 17px; }
  .tool-body { padding: 20px; }
  .shot { padding: 14px 14px 0; }
  .showcase { padding: 64px 0 72px; }
  .panel { padding: 14px; border-radius: 16px; }
  .how { padding-top: 72px; padding-bottom: 80px; }
}

/* ── reduced motion ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tool:hover, .card:hover { transform: none; }
}
