/* RealAIState — Papan Penjualan */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("../fonts/kalam-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("../fonts/kalam-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* enamel + ink */
  --enamel: oklch(0.975 0.005 215);
  --enamel-hi: oklch(0.995 0.002 215);
  --paper: oklch(0.995 0.001 240);
  --ink: oklch(0.22 0.014 262);
  --ink-soft: oklch(0.4 0.03 262);
  --ink-ai: oklch(0.47 0.2 263);
  --ink-ai-wash: oklch(0.94 0.035 263);
  --ink-red: oklch(0.53 0.2 27);
  --ink-green: oklch(0.5 0.13 152);
  --magnet: oklch(0.84 0.16 86);
  --tape: oklch(0.18 0.006 262);
  --tape-hi: oklch(0.32 0.008 262);
  --ghost: oklch(0.22 0.014 262 / 0.13);

  --font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --hand: "Kalam", "Segoe Print", cursive;

  --tape-w: 7px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1344px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --section-y: clamp(80px, 11vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--enamel);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ink);
}

::selection { background: var(--magnet); color: var(--ink); }
html { scrollbar-color: var(--tape) var(--enamel); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--enamel); }
::-webkit-scrollbar-thumb { background: var(--tape); border: 3px solid var(--enamel); border-radius: 8px; }

img, svg { display: block; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.22em; text-decoration-color: currentColor; }
a:hover { text-decoration-thickness: 3.5px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--tape); color: var(--enamel-hi); padding: 10px 14px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
.skip:hover, .skip:focus { color: var(--enamel-hi); }

.hand { font-family: var(--hand); font-weight: 700; line-height: 1.2; }
.ai-ink { color: var(--ink-ai); }

/* ---------- tape labels ---------- */
.label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  padding: 0.42em 0.75em 0.38em;
  background: linear-gradient(180deg, var(--tape-hi) 0 1px, var(--tape) 1px);
  color: var(--enamel-hi);
  font-size: 0.78rem;
  font-weight: 700;
  font-stretch: 78%;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 2px;
  box-shadow: 0 1px 1.5px oklch(0 0 0 / 0.28);
  white-space: nowrap;
}
.label b { font-weight: 800; color: var(--magnet); font-variant-numeric: tabular-nums; }
.label--sm { font-size: 0.7rem; }

/* ---------- magnets ---------- */
.magnet, .dot {
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--m, var(--magnet));
  box-shadow: 0 1.5px 3px oklch(0 0 0 / 0.3);
  flex: none;
}
.magnet--yellow { --m: var(--magnet); }
.magnet--red, .dot--red { --m: var(--ink-red); }
.magnet--green { --m: var(--ink-green); }
.magnet--ai { --m: var(--ink-ai); }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: var(--h);
  padding: 0 1.4em;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--tape-hi) 0 1px, var(--tape) 1px);
  color: var(--enamel-hi);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 88%;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 1px oklch(0 0 0 / 0.25), 0 6px 14px -8px oklch(0 0 0 / 0.5);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms;
}
.btn:hover { color: var(--enamel-hi); transform: translateY(-1px); box-shadow: 0 2px 2px oklch(0 0 0 / 0.22), 0 12px 22px -10px oklch(0 0 0 / 0.55); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; opacity: 0.72; transform: none; }
.btn--small { --h: 40px; padding: 0 1em; font-size: 0.92rem; }
.btn--big { --h: 58px; padding: 0 1.8em; font-size: 1.06rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--enamel);
  border-bottom: 4px solid var(--tape);
}
.nav__row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.wordmark {
  font-weight: 850; font-stretch: 82%; font-size: 1.32rem; letter-spacing: -0.015em;
  text-decoration: none; color: var(--ink); line-height: 1;
}
.wordmark span { color: var(--ink-ai); }
.wordmark:hover { color: var(--ink); }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav__links a { text-decoration: none; font-weight: 550; font-size: 0.97rem; padding: 6px 0; }
.nav__links a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.35em; color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(36px, 5.2vh, 64px);
  background:
    linear-gradient(112deg, transparent 0 34%, oklch(1 0 0 / 0.75) 44%, transparent 56%) no-repeat,
    var(--enamel);
}
.ghostwords span {
  position: absolute; left: var(--x); top: var(--y);
  transform: rotate(var(--r));
  font-family: var(--hand); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--ghost);
  filter: blur(0.6px);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: end;
}
.hero__copy { grid-column: 1 / span 9; }
.display {
  font-size: clamp(2.5rem, 1rem + 4.2vw, 5.1rem);
  font-weight: 820;
  font-stretch: 84%;
  line-height: 0.98;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.mark-under { position: relative; white-space: nowrap; }
.mark-under svg {
  position: absolute; left: -1%; right: -1%; bottom: -0.14em;
  width: 102%; height: 0.2em; overflow: visible;
}
.mark-under path {
  fill: none; stroke: var(--ink-ai); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.motion .mark-under path { animation: draw 1100ms 350ms var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.lede {
  margin-top: clamp(18px, 2.6vh, 28px);
  max-width: 60ch;
  font-size: clamp(1.06rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.quick { margin-top: clamp(20px, 3vh, 30px); max-width: 600px; }
.quick__label { display: block; font-weight: 650; font-size: 0.92rem; margin-bottom: 8px; }
.quick__row { display: flex; gap: 10px; }
.quick__row input { flex: 1; min-width: 0; }

input[type="text"], input[type="tel"], input[type="email"] {
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 160ms, box-shadow 160ms;
}
input::placeholder { color: oklch(0.5 0.03 262); opacity: 1; }
input:hover { box-shadow: inset 0 0 0 1px var(--ink); }
input:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 4px var(--magnet); }
input[aria-invalid="true"] { border-color: var(--ink-red); box-shadow: 0 0 0 3px oklch(0.53 0.2 27 / 0.18); }

.form-msg { margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft); min-height: 1.5em; }
.form-msg[data-state="error"] { color: var(--ink-red); font-weight: 600; }
.form-msg[data-state="ok"] { color: var(--ink-green); font-weight: 650; }
.form-fine { margin-top: 2px; font-size: 0.84rem; line-height: 1.45; color: var(--ink-soft); }
.form-fine a { font-weight: 650; color: var(--ink); }

.legend {
  grid-column: 10 / span 3;
  align-self: end;
  padding-bottom: 34px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.legend__title { font-weight: 750; margin-bottom: 10px; }
.legend ul { display: grid; gap: 6px; margin-bottom: 16px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.swatch { width: 26px; height: 6px; border-radius: 3px; background: var(--c); transform: rotate(-3deg); flex: none; }
.swatch--ink { --c: var(--ink); }
.swatch--ai { --c: var(--ink-ai); }
.swatch--red { --c: var(--ink-red); }
.swatch--green { --c: var(--ink-green); }
.legend__channels { color: var(--ink-soft); }
.legend__channels strong { color: var(--ink); font-weight: 650; }

/* ---------- the board ---------- */
.board { position: relative; margin-top: clamp(22px, 3.4vh, 40px); }
.board__arrow { height: 22px; margin: 0 2px 6px; color: var(--ink); }
.board__arrow svg { width: 100%; height: 100%; overflow: visible; }
.board__arrow path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.board__cols {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--tape-w);
  background: var(--tape);
  border-top: var(--tape-w) solid var(--tape);
}
.col {
  position: relative;
  background: var(--enamel);
  padding: 12px clamp(10px, 1.1vw, 18px) 14px;
  height: clamp(228px, 28vh, 292px);
  overflow: hidden;
}
.col:first-child { padding-left: 2px; }
.col:last-child { padding-right: 2px; }
.col__body { display: grid; align-content: start; gap: 14px; margin-top: 14px; }

.item { position: relative; display: grid; grid-template-columns: 16px 1fr; column-gap: 9px; align-items: baseline; }
.item .magnet { width: 14px; height: 14px; transform: translateY(2px); }
.item__name { font-family: var(--hand); font-weight: 700; font-size: clamp(1.08rem, 0.9rem + 0.4vw, 1.32rem); line-height: 1.15; color: var(--c, var(--ink)); }
.item__meta { grid-column: 2; font-size: 0.78rem; font-weight: 550; color: var(--ink-soft); line-height: 1.35; letter-spacing: 0.005em; }
.item__notes { grid-column: 2; display: grid; gap: 2px; margin-top: 4px; }
.note { font-family: var(--hand); font-weight: 400; font-size: 0.98rem; line-height: 1.2; color: var(--c, var(--ink)); display: flex; align-items: center; gap: 6px; }
.note svg { width: 15px; height: 15px; flex: none; }
.ink-team { --c: var(--ink); }
.ink-ai { --c: var(--ink-ai); }
.ink-red { --c: var(--ink-red); }
.ink-green { --c: var(--ink-green); }

/* writing + erasing: the only motion on the page */
.is-writing { animation: write 900ms var(--ease-out) both; }
@keyframes write {
  from { clip-path: inset(-6px 100% -6px -6px); }
  to { clip-path: inset(-6px -6px -6px -6px); }
}
.is-ghost {
  transition: opacity 700ms var(--ease-out), filter 700ms var(--ease-out), transform 700ms var(--ease-out);
  opacity: 0.13;
  filter: blur(0.8px) grayscale(1);
  transform: translateX(5px) skewX(-6deg);
}
.col__body .item:nth-child(3n+1) .item__name { transform: rotate(-1.2deg); }
.col__body .item:nth-child(3n+2) .item__name { transform: rotate(0.8deg) translateX(1px); }
.col__body .item:nth-child(3n) .item__name { transform: rotate(-0.4deg) translateY(1px); }
.item__name { display: inline-block; justify-self: start; }
.is-ghost .magnet { visibility: hidden; }
.is-gone { opacity: 0 !important; transition: opacity 600ms ease; }

/* tray strip under the board */
.tray { border-top: var(--tape-w) solid var(--tape); background: var(--enamel); }
.tray__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.tray__note { font-size: 0.82rem; font-weight: 650; color: var(--ink-soft); letter-spacing: 0.01em; }
.tray__toggle {
  flex: none; white-space: nowrap;
  font: inherit; font-size: 0.8rem; font-weight: 650;
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 4px 12px; cursor: pointer;
}
.tray__toggle:hover { background: var(--ink); color: var(--enamel-hi); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section + .section { padding-top: calc(var(--section-y) * 0.6); }
.h3 .dot { width: 15px; height: 15px; margin-right: 0.55em; vertical-align: 0.02em; }
.section__head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.h2 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  font-weight: 800;
  font-stretch: 86%;
  line-height: 1.02;
  letter-spacing: -0.014em;
  text-wrap: balance;
}
.section__lede { margin-top: 18px; max-width: 62ch; font-size: clamp(1.04rem, 0.98rem + 0.25vw, 1.16rem); color: var(--ink-soft); }
.h3 {
  font-size: clamp(1.32rem, 1.1rem + 0.7vw, 1.75rem);
  font-weight: 780; font-stretch: 88%;
  line-height: 1.1; letter-spacing: -0.012em;
  text-wrap: balance;
}
.cell p:not([class]) { max-width: 62ch; color: var(--ink-soft); margin-top: 12px; }

/* taped grid: tape shows through the gaps */
.taped {
  display: grid;
  gap: var(--tape-w);
  background: var(--tape);
  border-block: var(--tape-w) solid var(--tape);
}
.cell { background: var(--enamel); padding: clamp(24px, 3vw, 44px) clamp(20px, 3vw, 44px); min-width: 0; }

/* problems */
.problems { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.problem--lost { grid-column: span 7; grid-row: span 2; padding-left: 0; }
.problem--docs, .problem--owner { grid-column: span 5; }
.problem--owner { padding-bottom: clamp(28px, 3.4vw, 48px); }

.erased { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.erased ul { display: grid; gap: clamp(10px, 1.4vw, 18px); margin-top: 20px; }
.erased li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; color: oklch(0.22 0.014 262 / 0.15); filter: blur(0.7px); }
.erased li .hand { font-size: clamp(1.7rem, 1rem + 2vw, 2.9rem); line-height: 1.05; }
.erased li small { font-size: clamp(0.85rem, 0.75rem + 0.3vw, 1rem); font-weight: 650; }
.erased li:nth-child(2) { transform: translateX(10px) rotate(-1deg); }
.erased li:nth-child(3) { transform: translateX(-4px) rotate(0.8deg); }
.scrawl { font-family: var(--hand); font-weight: 700; font-size: 1.3rem; line-height: 1.2; display: inline-flex; align-items: center; gap: 8px; }
.scrawl svg { width: 42px; height: 18px; transform: scaleX(-1); }
.scrawl--red { color: var(--ink-red); }
.erased .scrawl { position: absolute; right: 4%; top: 38%; transform: rotate(-5deg); font-size: clamp(1.3rem, 1rem + 0.9vw, 1.9rem); }
.erased .scrawl svg { width: 56px; height: 22px; }

.scatter { position: relative; height: 196px; margin-top: 26px; }
.doc {
  position: absolute;
  width: 112px; height: 128px;
  padding: 10px;
  background: var(--paper);
  border-radius: 2px;
  transform: rotate(var(--r));
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.16), 0 10px 18px -12px oklch(0 0 0 / 0.45);
  display: grid; align-content: start; gap: 6px;
}
.doc b { font-size: 0.78rem; font-weight: 750; letter-spacing: 0.01em; }
.doc small { display: block; font-size: 0.64rem; font-weight: 550; line-height: 1.3; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc--id { height: 82px; width: 128px; }
.doc--missing { background: transparent; box-shadow: none; outline: 2px dashed oklch(0.53 0.2 27 / 0.6); outline-offset: -2px; }
.where { position: absolute; bottom: -26px; left: 6px; font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.where--red { color: var(--ink-red); font-size: 1.3rem; }
.scatter .doc:nth-child(1) { left: 0; top: 6px; }
.scatter .doc:nth-child(2) { left: 26%; top: 30px; }
.scatter .doc:nth-child(3) { left: 51%; top: 2px; }
.scatter .doc:nth-child(4) { left: 75%; top: 34px; }

.thread { margin-top: 26px; display: grid; gap: 10px; justify-items: start; }
.bubble {
  max-width: min(100%, 420px);
  padding: 10px 14px 11px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 1px 1.5px oklch(0 0 0 / 0.14), 0 6px 14px -10px oklch(0 0 0 / 0.4);
  font-size: 0.98rem; line-height: 1.45;
}
.bubble span { display: block; font-size: 0.74rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 2px; letter-spacing: 0.01em; }
.bubble--in { border-top-left-radius: 4px; }
.bubble--out { justify-self: end; border-top-right-radius: 4px; }
.bubble--ai { justify-self: end; background: var(--ink-ai-wash); border-top-right-radius: 4px; color: oklch(0.28 0.12 263); }
.bubble--ai span { color: var(--ink-ai); }
.thread .scrawl { justify-self: end; transform: rotate(-3deg); margin-top: 4px; }

/* features */
.features { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.feature { display: grid; gap: clamp(24px, 3vw, 40px); align-content: start; }
.feature--pipeline { grid-column: 1 / -1; padding-left: 0; padding-right: 0; }
.feature--pipeline .feature__text { max-width: 820px; }
.feature--reply { grid-column: span 7; padding-left: 0; }
.feature--docs { grid-column: span 5; }
.feature--report { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; padding-left: 0; padding-right: 0; }

.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--tape-w); background: var(--tape); border-top: var(--tape-w) solid var(--tape); }
.stages li { background: var(--enamel); padding: 16px 16px 4px 0; }
.stages li + li { padding-left: 16px; }
.stages p { margin-top: 12px; font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); }

.chat { display: grid; gap: 10px; justify-items: start; max-width: 560px; }
.chat__source { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.tagnote { justify-self: start; display: grid; gap: 2px; margin-top: 8px; padding-left: 4px; transform: rotate(-1.5deg); }
.tagnote .hand { font-size: 1.22rem; }

.checklist { background: var(--paper); border-radius: 3px; padding: 20px 22px 22px; box-shadow: 0 1px 2px oklch(0 0 0 / 0.14), 0 14px 26px -18px oklch(0 0 0 / 0.5); max-width: 420px; }
.checklist__who { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.checklist__who .hand { font-size: 1.4rem; }
.checklist__who small { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }
.checklist ul { display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; font-weight: 600; font-size: 0.98rem; }
.thumb { width: 30px; height: 22px; border-radius: 2px; background: linear-gradient(180deg, oklch(0.47 0.2 263 / 0.22), oklch(0.47 0.2 263 / 0.12)); box-shadow: inset 0 0 0 1.5px oklch(0.47 0.2 263 / 0.35); }
.thumb--empty { background: transparent; box-shadow: inset 0 0 0 2px oklch(0.53 0.2 27 / 0.55); }
.tick { width: 24px; height: 24px; color: var(--ink-ai); }
.missing { color: var(--ink-red); }
.miss { font-size: 1.12rem; color: var(--ink-red); }

.sheet {
  position: relative;
  background: var(--paper);
  border-radius: 2px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.14), 0 22px 40px -26px oklch(0 0 0 / 0.55);
  transform: rotate(0.6deg);
  max-width: 640px;
  justify-self: end;
  width: 100%;
}
.sheet__pin { position: absolute; top: -7px; left: 50%; width: 20px; height: 20px; }
.sheet__head { border-bottom: 3px solid var(--ink); padding-bottom: 12px; margin-bottom: 18px; }
.sheet__title { font-size: 1.35rem; font-weight: 800; font-stretch: 86%; letter-spacing: -0.01em; }
.sheet__sub { font-size: 0.86rem; color: var(--ink-soft); margin-top: 2px; }
.sheet__block + .sheet__block { margin-top: 18px; }
.sheet__label { font-size: 0.8rem; font-weight: 750; letter-spacing: 0.02em; margin-bottom: 8px; }
.sheet__label--red { color: var(--ink-red); }
.moves { display: grid; gap: 6px; }
.moves li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; font-size: 0.97rem; align-items: baseline; }
.moves li > span:first-child { font-weight: 650; }
.move { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); flex-wrap: wrap; }
.move svg { width: 26px; height: 11px; color: var(--ink-ai); }
.move--done { color: var(--ink-green); font-weight: 650; }
.move--done svg { color: var(--ink-green); }
.move--red { color: var(--ink-red); font-weight: 600; }
.sheet__foot { margin-top: 20px; font-size: 1.12rem; text-align: right; transform: rotate(-2deg); }

/* ---------- Claude: a compact ink note closing the feature board ---------- */
.inknote {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 18px clamp(24px, 4vw, 64px); align-items: start;
  border-bottom: var(--tape-w) solid var(--tape);
  padding-block: clamp(28px, 3.4vw, 44px);
}
.inknote__title { display: flex; align-items: center; gap: 14px; }
.inknote__title .swatch { width: 34px; height: 8px; border-radius: 4px; }
.inknote__lede { max-width: 62ch; font-size: clamp(1.04rem, 0.98rem + 0.25vw, 1.16rem); line-height: 1.55; color: var(--ink-soft); }
.inknote__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; margin-top: 20px; }
.inknote__list strong { display: block; font-weight: 750; font-stretch: 88%; font-size: 1.04rem; line-height: 1.35; }
.inknote__list span { display: block; margin-top: 2px; font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); }

/* ---------- data: a rules sheet pinned to the board ---------- */
.data { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sheet--rules { transform: rotate(-0.5deg); }
.rules { display: grid; gap: 18px; counter-reset: rule; }
.rules li { display: grid; grid-template-columns: 2rem 1fr; column-gap: 12px; counter-increment: rule; }
.rules li::before {
  content: counter(rule);
  grid-row: span 2;
  font-size: 1.35rem; font-weight: 800; font-stretch: 86%; line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.rules strong { font-size: 1.04rem; font-weight: 750; line-height: 1.35; }
.rules p { margin-top: 2px; font-size: 0.97rem; line-height: 1.5; color: var(--ink-soft); max-width: 58ch; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder__photo { position: relative; justify-self: start; width: min(100%, 340px); }
.founder__photo .magnet { position: absolute; top: -8px; left: 50%; z-index: 2; width: 22px; height: 22px; }
.polaroid {
  aspect-ratio: 4 / 5; background: var(--paper); padding: 14px 14px 56px;
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.14), 0 22px 36px -24px oklch(0 0 0 / 0.55);
  transform: rotate(-2.5deg);
  display: grid;
}
.polaroid { margin: 0; grid-template-rows: minmax(0, 1fr); }
.polaroid picture { display: block; min-height: 0; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 1px; }
.placeholder { outline: 2px dashed oklch(0.53 0.2 27 / 0.55); outline-offset: -2px; padding: 2px 8px; border-radius: 2px; color: var(--ink-red); }
.polaroid { position: relative; }
.polaroid__caption { position: absolute; left: 20px; bottom: 12px; font-family: var(--hand); font-weight: 700; font-size: 1.45rem; line-height: 1; color: var(--ink); transform: rotate(-2deg); }
.founder__quote { margin: 26px 0 0; max-width: 44ch; font-size: clamp(1.18rem, 1.04rem + 0.55vw, 1.45rem); line-height: 1.5; font-weight: 450; text-wrap: pretty; }
.founder__by { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.founder__name { font-size: clamp(1.2rem, 1.08rem + 0.45vw, 1.45rem); font-weight: 780; font-stretch: 88%; }
.founder__role { color: var(--ink-soft); font-weight: 600; }
.founder__link { font-weight: 650; }

/* ---------- waitlist ---------- */
.waitlist { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact { margin-top: 28px; font-weight: 600; }
.contact a { font-weight: 750; }
.contact--wa { margin-top: 10px; }
.form {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px;
  background: var(--paper);
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 3px;
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.14), 0 26px 46px -30px oklch(0 0 0 / 0.55);
}
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 650; font-size: 0.95rem; padding: 0; }
.field input { width: 100%; }
.opt { font-weight: 500; color: var(--ink-soft); }
.field--choice { grid-column: 1 / -1; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 0 16px 0 12px;
  border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 600; font-size: 0.96rem;
  transition: background-color 160ms, color 160ms, border-color 160ms;
}
.choices span::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: transparent; box-shadow: inset 0 0 0 2px var(--ink);
}
.choices label:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.choices input:checked + span { background: var(--ink); color: var(--enamel-hi); }
.choices input:checked + span::before { background: var(--magnet); box-shadow: none; }
.choices input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.field--choice[aria-invalid="true"] .choices span { border-color: var(--ink-red); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form__foot .form-msg { margin: 0; flex: 1 1 240px; }
.form__foot .form-msg:empty { min-height: 0; }
.form__fine { grid-column: 1 / -1; margin: 0; }

/* ---------- legal page ---------- */
.prose { max-width: 68ch; }
.prose__meta { margin-top: 14px; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
.prose .h3 { margin-top: clamp(36px, 5vw, 56px); }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.prose li::marker { color: var(--ink); }

/* 404: fills the viewport so the footer sits at the bottom */
.notfound { min-height: calc(100svh - 160px); display: grid; align-content: center; }

/* ---------- build log page ---------- */
.logmast {
  padding-top: clamp(48px, 7vw, 96px);
  background:
    linear-gradient(112deg, transparent 0 34%, oklch(1 0 0 / 0.75) 44%, transparent 56%) no-repeat,
    var(--enamel);
}
.logmast__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.logmast__copy { grid-column: 1 / span 8; }
.facts { grid-column: 10 / span 3; display: grid; gap: 12px; margin: 0; font-size: 0.92rem; line-height: 1.4; }
.facts dt { color: var(--ink-soft); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 700; }

.progress { margin-top: clamp(40px, 6vw, 72px); }
.progress__title { margin-bottom: clamp(16px, 2vw, 22px); }
.progress__cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tape-w); background: var(--tape);
  border-top: var(--tape-w) solid var(--tape);
}
.progress__col { background: var(--enamel); padding: 18px clamp(14px, 1.6vw, 24px) 26px; min-height: 200px; }
.progress__col:first-child { padding-left: 2px; }
.progress__col:last-child { padding-right: 2px; }
.progress__head { display: flex; align-items: baseline; gap: 10px; font-size: 1.12rem; font-weight: 780; font-stretch: 88%; letter-spacing: -0.01em; line-height: 1.2; }
.progress__head span { font-size: 0.92rem; font-weight: 650; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.progress__items { display: grid; gap: 16px; margin-top: 18px; }
.progress__items .item:nth-child(odd) .item__name { transform: rotate(-1deg); }
.progress__items .item:nth-child(even) .item__name { transform: rotate(0.7deg) translateX(1px); }

.logbook { padding-block: clamp(56px, 7vw, 96px); }
.section.logcta { padding-top: 0; }
.logbook__title { margin-bottom: clamp(28px, 4vw, 44px); }
.timeline { --date: 10rem; --gap: 56px; position: relative; display: grid; gap: clamp(40px, 6vw, 64px); }
.timeline::before {
  content: ""; position: absolute; top: 4px; bottom: 0;
  left: calc(var(--date) + var(--gap) / 2 - 2px);
  width: 4px; border-radius: 2px; background: var(--tape);
}
.tl { position: relative; display: grid; grid-template-columns: var(--date) minmax(0, 62ch); column-gap: var(--gap); }
.tl::before {
  content: ""; position: absolute; top: 3px;
  left: calc(var(--date) + var(--gap) / 2 - 8px);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--magnet); box-shadow: 0 1.5px 3px oklch(0 0 0 / 0.3);
}
.tl__date { text-align: right; font-size: 0.92rem; font-weight: 650; line-height: 1.5; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tl__body .h3 { line-height: 1.15; }
.tl__body p, .tl__body ul { margin-top: 12px; }
.tl__body ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.tl__body li::marker { color: var(--ink); }

.logcta__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  border-top: var(--tape-w) solid var(--tape);
  padding-top: clamp(28px, 3.4vw, 44px);
}
.logcta p { margin-top: 8px; max-width: 56ch; color: var(--ink-soft); }
.logcta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.logcta__mail { font-weight: 700; }

/* ---------- footer ---------- */
.foot { background: var(--tape); color: oklch(0.86 0.01 262); padding-block: 36px 40px; font-size: 0.92rem; }
.foot__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; }
.foot__row p:last-child { margin-left: auto; }
.foot a { color: var(--enamel-hi); }
.foot a:hover { color: var(--magnet); }
.wordmark--light { color: var(--enamel-hi); }
.wordmark--light:hover { color: var(--enamel-hi); }
.wordmark--light span { color: oklch(0.72 0.14 263); }
.foot ::selection { background: var(--enamel-hi); color: var(--tape); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__copy { grid-column: 1 / -1; }
  .legend { grid-column: 1 / -1; padding-bottom: 0; margin-top: 26px; display: grid; grid-template-columns: auto 1fr; gap: 6px 32px; align-items: start; }
  .legend__title { grid-column: 1 / -1; margin-bottom: 2px; }
  .legend ul { grid-template-columns: repeat(2, auto); column-gap: 24px; margin-bottom: 0; }
  .ghostwords span:nth-child(2), .ghostwords span:nth-child(4) { display: none; }
  .problem--lost { grid-column: 1 / -1; grid-row: auto; padding-right: 0; }
  .problem--docs, .problem--owner { grid-column: span 6; }
  .problem--docs { padding-left: 0; }
  .feature--reply { grid-column: 1 / -1; padding-right: 0; }
  .feature--docs { grid-column: 1 / -1; padding-left: 0; padding-right: 0; }
  .feature--report { grid-template-columns: 1fr; }
  .sheet { justify-self: start; }
  .inknote { grid-template-columns: 1fr; }
  .logmast__copy { grid-column: 1 / -1; }
  .facts { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; margin-top: 24px; }
}

@media (max-width: 900px) {
  .board__arrow { display: none; }
  .board__cols { grid-template-columns: 1fr; }
  .col {
    height: auto; min-height: 78px;
    display: grid; grid-template-columns: 7.4rem 1fr; align-items: start; gap: 12px;
    padding: 14px 0;
  }
  .col:first-child, .col:last-child { padding-inline: 0; }
  .col .label { justify-self: start; }
  .col__body { margin-top: 0; display: flex; flex-wrap: nowrap; gap: 18px; overflow: hidden; }
  .col__body .item { flex: 0 1 auto; min-width: 0; }
  .item__notes .note:not(:last-child) { display: none; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stages li:nth-child(4) { padding-left: 0; }
  .founder, .waitlist, .data { grid-template-columns: 1fr; }
  .founder__photo { width: min(70%, 300px); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .quick__row { flex-direction: column; }
  .quick__row input { flex: none; width: 100%; }
  .quick__row .btn { width: 100%; }
  .legend { grid-template-columns: 1fr; }
  .legend ul { grid-template-columns: 1fr; }
  .mark-under {
    white-space: normal;
    padding-bottom: 0.1em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C92 5.2 214 3.4 330 6.1c96 2.2 182 5.4 267 1.4' fill='none' stroke='%23164dc8' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left bottom / 100% 0.2em no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .mark-under svg { display: none; }
  .hero { display: flex; flex-direction: column; }
  .hero__grid { display: contents; }
  .hero__copy { order: 1; padding-inline: var(--gutter); }
  .board { order: 2; margin-top: 28px; }
  .legend { order: 3; padding: 24px var(--gutter) 8px; margin-top: 0; }
  .lede__more { display: none; }
  .ghostwords { display: none; }
  .problem--docs, .problem--owner { grid-column: 1 / -1; padding-inline: 0; }
  .scatter { height: 350px; }
  .scatter .doc:nth-child(1) { left: 2%; top: 4px; }
  .scatter .doc:nth-child(2) { left: 52%; top: 18px; }
  .scatter .doc:nth-child(3) { left: 4%; top: 166px; }
  .scatter .doc:nth-child(4) { left: 54%; top: 200px; }
  .erased .scrawl { position: static; margin-top: 18px; }
  .stages { grid-template-columns: 1fr 1fr; }
  .stages li:nth-child(odd) { padding-left: 0; }
  .stages li:nth-child(even) { padding-left: 16px; }
  .moves li { grid-template-columns: 1fr; gap: 0; }
  .inknote__list { grid-template-columns: 1fr; gap: 12px; }
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .progress__cols { grid-template-columns: 1fr; }
  .progress__col, .progress__col:first-child, .progress__col:last-child { min-height: 0; padding: 16px 0 22px; }
  .timeline { padding-left: 30px; }
  .timeline::before { left: 6px; }
  .tl { grid-template-columns: 1fr; }
  .tl::before { left: -30px; }
  .tl__date { text-align: left; }
  .logcta__actions { width: 100%; }
  .logcta__actions .btn { width: 100%; }
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .foot__row p:last-child { margin-left: 0; }
}

@media (max-width: 420px) {
  .col { grid-template-columns: 6.4rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .is-writing, .motion .mark-under path { animation: none; }
  .is-ghost { transition: none; }
  .btn { transition: none; }
}

.board.is-paused .is-writing,
.board.is-paused .is-ghost { animation-play-state: paused; }

.form__pin { position: absolute; top: -8px; left: clamp(28px, 6%, 56px); width: 20px; height: 20px; }
