/* spotlessplatform.com. Tokens follow the app's (apps/web/src/app/globals.css). */

@font-face {
  font-family: 'Jakarta';
  src: url('/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Jakarta';
  src: url('/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Jakarta';
  src: url('/fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --lemon: #ffde59;
  --lemon-deep: #f5cf3a;
  --brand-ink: #292927;
  --leaf: #a6cd75;

  --page: #fbfaf6;
  --surface: #ffffff;
  --tint: #f3f2ec;
  --line: rgb(41 41 39 / 0.09);
  --line-strong: rgb(41 41 39 / 0.16);
  --ink: #1f1f1d;
  --ink-2: #55554f;
  --muted: #85847e;
  --lemon-soft: #fff6d0;
  --mark: #292927;
  --red: #d93f3f;
  --red-soft: #fdecec;
  --green: #4f8a2a;
  --shadow: 0 1px 2px rgb(41 41 39 / 0.06), 0 12px 32px -12px rgb(41 41 39 / 0.18);

  --display: 'Jakarta', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --text: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #141412;
    --surface: #1c1c1a;
    --tint: #24241f;
    --line: rgb(239 239 236 / 0.08);
    --line-strong: rgb(239 239 236 / 0.16);
    --ink: #efefec;
    --ink-2: #b9b8b2;
    --muted: #8d8c86;
    --lemon-soft: #262418;
    --mark: #ffde59;
    --red: #ef6b6b;
    --red-soft: #2e1a1a;
    --green: #a6cd75;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -16px rgb(0 0 0 / 0.7);
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: var(--display);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  text-wrap: balance;
}
h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section {
  padding: clamp(72px, 11vw, 128px) 0;
  scroll-margin-top: 56px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--page);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13px/1 var(--display);
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--lemon);
  box-shadow: 0 0 0 4px rgb(255 222 89 / 0.3);
}
.body {
  color: var(--ink-2);
  font-size: 18px;
  margin-top: 18px;
  max-width: 34em;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 6vw, 60px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .body {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: 700 16px/1 var(--display);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-lemon {
  background: var(--lemon);
  color: var(--brand-ink);
  box-shadow:
    inset 0 -2px 0 rgb(0 0 0 / 0.08),
    0 8px 24px -10px rgb(245 207 58 / 0.9);
}
.btn-lemon:hover {
  background: var(--lemon-deep);
}
.btn-ink {
  background: var(--ink);
  color: var(--page);
}
.btn-ink:hover {
  box-shadow: 0 8px 24px -10px rgb(0 0 0 / 0.5);
}
.btn-ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover {
  background: var(--tint);
}
.btn-ghost-ink {
  color: var(--brand-ink);
  box-shadow: inset 0 0 0 1.5px rgb(41 41 39 / 0.25);
}
.btn-ghost-ink:hover {
  background: rgb(41 41 39 / 0.06);
}
.link-quiet {
  font: 600 14px/1 var(--display);
  text-decoration: none;
  color: var(--ink-2);
  padding: 10px 6px;
}
.link-quiet:hover {
  color: var(--ink);
}

/* Nav -------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--page) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font: 800 23px/1 var(--display);
  letter-spacing: -0.035em;
  color: var(--ink);
}
.logo-mark {
  width: 27px;
  height: 27px;
  fill: var(--mark);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font: 600 14px/1 var(--display);
  color: var(--ink-2);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  padding-top: clamp(40px, 7vw, 88px);
  position: relative;
  overflow-x: clip;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(closest-side, rgb(255 222 89 / 0.35), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
h1 {
  font-size: clamp(48px, 8.2vw, 104px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.comma {
  margin-left: -0.08em;
}
.swipe {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.swipe::after {
  content: '';
  position: absolute;
  left: -0.06em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.36em;
  z-index: -1;
  background: var(--lemon);
  border-radius: 0.12em;
  transform-origin: left center;
  animation: swipe 900ms cubic-bezier(0.65, 0, 0.35, 1) 300ms both;
}
@keyframes swipe {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.lead {
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--ink-2);
  margin-top: 26px;
  max-width: 30em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-actions.center {
  justify-content: center;
}
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* The live board */
.hero-visual {
  position: relative;
}
.board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.board-title {
  font: 800 22px/1.1 var(--display);
  letter-spacing: -0.02em;
}
.board-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.board-count {
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
.board-count b {
  font: 800 22px/1 var(--display);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.board-bar {
  height: 6px;
  background: var(--tint);
  border-radius: 99px;
  margin: 16px 0 18px;
  overflow: hidden;
}
.board-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lemon);
  border-radius: 99px;
  transition: width 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px 11px;
  background: var(--surface);
  min-height: 74px;
  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    transform 300ms ease;
}
.tile b {
  display: block;
  font: 800 20px/1 var(--display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tile small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--muted);
  align-items: flex-start;
}
.tile small::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 99px;
  border: 1.5px dashed var(--line-strong);
  flex: none;
}
.tile.now {
  border-color: var(--lemon);
  background: var(--lemon-soft);
  transform: translateY(-2px);
}
.tile.now small::before {
  border: 2px solid var(--lemon-deep);
  border-right-color: transparent;
  animation: spin 900ms linear infinite;
}
.tile.done small {
  color: var(--ink-2);
}
.tile.done small::before {
  border: 0;
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.tile.issue {
  border-color: color-mix(in oklab, var(--red) 45%, transparent);
  background: var(--red-soft);
}
.tile.issue small {
  color: var(--red);
  font-weight: 500;
}
.tile.issue small::before {
  border: 0;
  background: var(--red);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-color-scheme: dark) {
  .tile.done small::before {
    background-color: var(--ink);
    filter: invert(1);
  }
}

.toast {
  position: absolute;
  left: -28px;
  bottom: -44px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow);
  max-width: 300px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}
.toast.show {
  opacity: 1;
  transform: none;
}
.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: none;
  background: var(--red-soft);
  position: relative;
}
.toast-icon::after {
  content: '!';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 800 18px/1 var(--display);
  color: var(--red);
}
.toast-icon.who {
  background: var(--lemon-soft);
}
.toast-icon.who::after {
  content: 'R';
  color: var(--ink);
  font-size: 15px;
}
.toast-icon.ok {
  background: var(--ink);
}
.toast-icon.ok::after {
  content: '✓';
  color: var(--page);
  font-size: 16px;
}
.toast-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}
.toast-text b {
  font: 700 14px/1.25 var(--display);
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Verbs ------------------------------------------------------------------ */
.verb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.verb {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
}
.verb-n {
  font: 700 13px/1 var(--display);
  color: var(--muted);
}
.verb h3 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 14px 0 12px;
}
.verb > p {
  color: var(--ink-2);
  font-size: 16px;
}
.ui {
  margin-top: 26px;
  border-radius: 16px;
  background: var(--tint);
  padding: 16px;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.ui-kicker {
  font: 700 12px/1 var(--display);
  color: var(--muted);
  margin-bottom: 12px;
}
.ui-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 14px;
  margin-top: 6px;
  white-space: nowrap;
}
.ui-row span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-row i {
  width: 16px;
  height: 16px;
  border-radius: 99px;
  border: 1.5px solid var(--line-strong);
  flex: none;
}
.ui-row.done {
  color: var(--muted);
}
.ui-row.done span {
  text-decoration: line-through;
  text-decoration-color: var(--line-strong);
}
.ui-row.done i {
  border: 0;
  background: var(--ink);
}
.ui-row.now {
  box-shadow: inset 0 0 0 1.5px var(--lemon);
}
.ui-row.now i {
  border-color: var(--lemon-deep);
}
.ui-row em {
  margin-left: auto;
  font: 700 11px/1 var(--display);
  font-style: normal;
  background: var(--lemon);
  color: var(--brand-ink);
  padding: 5px 8px;
  border-radius: 99px;
}

.ui-proof {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proof-photo {
  position: relative;
  height: 132px;
  border-radius: 12px;
  overflow: hidden;
  background: #dfe7ea;
}
.proof-photo svg {
  display: block;
  width: 100%;
  height: 100%;
}
.proof-glint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgb(255 255 255 / 0.55) 48%,
    transparent 60%
  );
  transform: translateX(-100%);
}
.verb.in .proof-glint {
  animation: glint 1600ms ease 600ms both;
}
@keyframes glint {
  to {
    transform: translateX(100%);
  }
}
.proof-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  color: var(--muted);
}
.proof-meta b {
  font: 700 14px/1.2 var(--display);
  color: var(--ink);
}
.stamp {
  position: absolute;
  right: 18px;
  top: 104px;
  transform: rotate(-8deg) scale(1.4);
  opacity: 0;
  font: 800 13px/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  border: 2px solid currentColor;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface);
}
.verb.in .stamp {
  animation: stamp 420ms cubic-bezier(0.3, 1.6, 0.5, 1) 1200ms both;
}
@keyframes stamp {
  to {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

.ui-issue {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ui-issue > b {
  font: 700 16px/1.2 var(--display);
  letter-spacing: -0.01em;
}
.issue-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.issue-time {
  font-size: 12px;
  color: var(--muted);
}
.pill {
  font: 700 11px/1 var(--display);
  padding: 5px 9px;
  border-radius: 99px;
}
.pill-red {
  background: var(--red);
  color: #fff;
}
.issue-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
}
.who {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}
.who i {
  width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--lemon);
  color: var(--brand-ink);
  font: 800 11px/22px var(--display);
  font-style: normal;
  text-align: center;
  flex: none;
}
.who.red {
  color: var(--red);
}
.who.red i {
  background: var(--red);
  color: #fff;
}
.issue-why {
  font-size: 13px;
  color: var(--red);
  padding: 0 4px;
}

/* Words ------------------------------------------------------------------ */
.words {
  background: var(--lemon-soft);
}
.words-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 30px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font: 700 14px/1 var(--display);
  padding: 11px 16px;
  border-radius: 999px;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.tabs button[aria-selected='true'] {
  background: var(--ink);
  color: var(--page);
}
.words-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.wc-crumb {
  font-size: 14px;
  color: var(--muted);
}
.wc-crumb b {
  color: var(--ink);
  font-weight: 500;
}
.sep {
  margin: 0 4px;
}
.wc-title {
  font: 800 30px/1.1 var(--display);
  letter-spacing: -0.03em;
  margin: 10px 0 20px;
}
.wc-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wc-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--tint);
  font-size: 15px;
}
.wc-check i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--line-strong);
  flex: none;
}
.wc-check.on i {
  border: 0;
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/14px no-repeat;
}
@media (prefers-color-scheme: dark) {
  .wc-check.on i {
    filter: invert(1);
  }
}
.wc-foot {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.swap {
  animation: swap 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* People ----------------------------------------------------------------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.fact {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}
.fact p {
  color: var(--ink-2);
  font-size: 16px;
  margin-top: 10px;
}

/* Ink -------------------------------------------------------------------- */
.ink {
  background: #1c1c1a;
  color: #efefec;
}
.ink .eyebrow {
  color: #b9b8b2;
}
.ink-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.ink-mark {
  width: 56px;
  height: 56px;
  fill: var(--lemon);
  margin-bottom: 26px;
}
.ink h2 {
  font-size: clamp(34px, 5vw, 60px);
}
.ink-list {
  display: flex;
  flex-direction: column;
}
.ink-list > div {
  padding: 24px 0;
  border-top: 1px solid rgb(239 239 236 / 0.12);
}
.ink-list > div:first-child {
  border-top: 0;
  padding-top: 6px;
}
.ink-list h3 {
  color: var(--lemon);
  font-size: 21px;
}
.ink-list p {
  color: #c9c8c2;
  margin-top: 8px;
}

/* Bento ------------------------------------------------------------------ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.cell p {
  color: var(--ink-2);
  font-size: 16px;
}
.cell-wide {
  grid-column: span 2;
  grid-row: span 1;
}
.mini-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.mb {
  aspect-ratio: 1.25;
  border-radius: 10px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.mb.done {
  background: var(--ink);
  border-color: var(--ink);
}
.mb.now {
  background: var(--lemon);
  border-color: var(--lemon);
}
.mb.issue {
  background: var(--red);
  border-color: var(--red);
}
.mb.late {
  background: transparent;
  border: 1.5px dashed var(--red);
}
.doc {
  margin-top: auto;
  align-self: flex-start;
  width: 132px;
  padding: 14px;
  border-radius: 10px;
  background: var(--tint);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transform: rotate(-3deg);
}
.doc b {
  font: 800 12px/1 var(--display);
}
.doc span {
  height: 6px;
  border-radius: 9px;
  background: var(--line-strong);
}
.doc span.short {
  width: 60%;
}
.chat {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  align-self: flex-start;
  max-width: 92%;
  background: var(--tint);
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  font-size: 13px;
  line-height: 1.4;
}
.bubble.me {
  align-self: flex-end;
  background: var(--lemon);
  color: var(--brand-ink);
  border-radius: 14px 14px 4px 14px;
  font: 700 12px/1 var(--display);
  padding: 10px 12px;
  letter-spacing: 0.04em;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 14px;
  height: 11px;
  aspect-ratio: auto;
  border-radius: 4px;
  display: inline-block;
}
.otable {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ot-head {
  display: flex;
  justify-content: space-between;
  font: 700 11px/1 var(--display);
  color: var(--muted);
  padding: 4px 4px 2px;
}
.ot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--tint);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
}
.ot-row b {
  font: 800 14px/1 var(--display);
  font-variant-numeric: tabular-nums;
}
.ot-row b.bad {
  color: var(--red);
}
.guest {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--tint);
  border-radius: 14px;
  padding: 12px;
}
.g-check {
  width: 30px;
  height: 30px;
  border-radius: 99px;
  flex: none;
  background: var(--leaf)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23292927' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/16px no-repeat;
}
.g-text {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
  flex: 1;
  min-width: 120px;
}
.g-text b {
  font: 700 14px/1.2 var(--display);
  color: var(--ink);
}
.g-btn {
  font: 700 12px/1 var(--display);
  padding: 9px 12px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

/* Add-ons ---------------------------------------------------------------- */
.addons {
  padding-top: 0;
}
.addon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.addon {
  border-radius: 20px;
  padding: 22px;
  background: var(--tint);
}
.addon p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 8px;
}

/* Trust ------------------------------------------------------------------ */
.trust {
  border-top: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
}
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.trust-list li {
  padding: 18px 0 18px 36px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  position: relative;
}
.trust-list li:first-child {
  padding-top: 0;
}
.trust-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 99px;
  background: var(--lemon)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23292927' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.trust-list li:first-child::before {
  top: 4px;
}
.trust-list b {
  color: var(--ink);
  font-weight: 500;
}

/* Pricing ---------------------------------------------------------------- */
.pricing {
  background: var(--tint);
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.plan h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 10px;
}
.plans-note {
  text-align: center;
  color: var(--ink-2);
  margin: 30px auto 0;
  max-width: 40em;
  font-size: 16px;
}
.plans-note a {
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 3px;
}

/* FAQ -------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 6vw, 80px);
}
.qs details {
  border-bottom: 1px solid var(--line);
}
.qs summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font: 700 18px/1.3 var(--display);
  letter-spacing: -0.01em;
}
.qs summary::-webkit-details-marker {
  display: none;
}
.qs summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 200ms ease;
}
.qs details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.qs details p {
  color: var(--ink-2);
  padding: 0 40px 22px 0;
}

/* Close ------------------------------------------------------------------ */
.close {
  padding-top: 0;
}
.close-card {
  background: var(--lemon);
  color: var(--brand-ink);
  border-radius: 32px;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.close-mark {
  width: 64px;
  height: 64px;
  fill: var(--brand-ink);
  margin-bottom: 22px;
}
.close-card h2 {
  font-size: clamp(34px, 5.4vw, 64px);
}
.close-card p {
  margin: 16px auto 0;
  max-width: 30em;
  font-size: 18px;
  color: rgb(41 41 39 / 0.75);
}
.close-card .btn-ink {
  background: var(--brand-ink);
  color: #fff;
}

/* Footer ----------------------------------------------------------------- */
.foot {
  padding: 40px 0 56px;
}
.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.foot-links a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--ink);
}
.foot-small {
  font-size: 13px;
  color: var(--muted);
}

/* Reveal: only with JS, never for reduced motion -------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Layout: tablet and phone ----------------------------------------------- */
@media (max-width: 1100px) {
  .verb-grid {
    grid-template-columns: 1fr;
  }
  .verb {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
  .verb .ui {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 0;
  }
}
@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }
  .hero-grid,
  .words-grid,
  .ink-grid,
  .trust-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    max-width: 560px;
  }
  .verb-grid {
    grid-template-columns: 1fr;
  }
  .verb {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
  .verb .ui {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 0;
  }
  .people-grid,
  .addon-grid,
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .nav-row {
    height: 60px;
  }
  .link-quiet {
    display: none;
  }
  .verb {
    display: flex;
  }
  .verb .ui {
    margin-top: 22px;
  }
  .people-grid,
  .addon-grid,
  .plans,
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .cell-wide {
    grid-column: auto;
  }
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .tile small {
    font-size: 11px;
  }
  .tile {
    min-height: 66px;
    padding: 10px;
  }
  .board {
    padding: 16px;
    border-radius: 20px;
  }
  .toast {
    left: 12px;
    right: 12px;
    bottom: -34px;
    max-width: none;
  }
  .hero-visual {
    margin-bottom: 24px;
  }
  .mini-board {
    grid-template-columns: repeat(6, 1fr);
  }
  .mb:nth-child(n + 13) {
    display: none;
  }
  .btn {
    height: 48px;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .stamp {
    opacity: 1;
    transform: rotate(-8deg);
  }
}

/* Policy pages (generated from docs/legal, ADR-089) ------------------------ */
.legal {
  max-width: 760px;
  padding-top: clamp(32px, 6vw, 64px);
  padding-bottom: clamp(48px, 8vw, 96px);
  color: var(--ink-2);
  font-size: 16px;
}
.legal h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 24px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 12px;
  scroll-margin-top: 80px;
}
.legal h3 {
  font-size: 17px;
  color: var(--ink);
  margin: 24px 0 8px;
  scroll-margin-top: 80px;
}
.legal p,
.legal ul,
.legal ol {
  margin: 0 0 14px;
}
.legal li {
  margin-bottom: 6px;
}
.legal strong {
  color: var(--ink);
  font-weight: 500;
}
.legal a {
  color: var(--ink);
  text-underline-offset: 3px;
}
.legal code {
  font-size: 0.9em;
  background: var(--tint);
  padding: 1px 5px;
  border-radius: 5px;
}
.legal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.legal-draft {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lemon);
  color: var(--brand-ink);
  font: 700 13px/1.2 var(--display);
}
.legal-note {
  background: var(--lemon-soft);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 20px;
  font-size: 15px;
}
.legal-note p:last-child {
  margin-bottom: 0;
}
.legal-table {
  overflow-x: auto;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.legal-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.legal-table th {
  background: var(--tint);
  color: var(--ink);
  font-weight: 500;
}
.legal-table tr:last-child td {
  border-bottom: 0;
}
