/* Muster: a dotted whiteboard canvas with sticky notes, connectors and live cursors.
   Page Lemon template. Edit the tokens below to rebrand. */
:root {
  --canvas: #f2f3f7;      /* page canvas behind everything */
  --dot: #c2c7d3;         /* canvas dot grid */
  --paper: #ffffff;       /* boards, cards, header */
  --ink: #16171f;         /* text and outlines */
  --ink-2: #4a4d5d;       /* secondary text */
  --line: #d8dbe5;        /* hairlines and frame borders */
  --coral: #ff7a5c;       /* sticky note colours */
  --lemon: #ffd84a;
  --mint: #52e0a2;
  --pink: #ff93c9;
  --lilac: #b59dff;
  --aqua: #58d3e8;
  --coral-ink: #b2361a;   /* handwritten labels on the canvas (AA on canvas) */
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;   /* geometric sans */
  --hand: "Shantell Sans", "Segoe Print", "Comic Sans MS", cursive;   /* marker hand for notes */
  --radius: 16px;
  --lift: 0 1px 1px rgba(22, 23, 31, .06), 0 14px 18px -12px rgba(22, 23, 31, .4);
  --lift-hi: 0 2px 2px rgba(22, 23, 31, .06), 0 24px 28px -14px rgba(22, 23, 31, .45);
  --card: 0 1px 0 rgba(22, 23, 31, .05), 0 18px 40px -24px rgba(22, 23, 31, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background-color: var(--canvas);
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1.15px, transparent 1.6px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--lemon); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* colour helpers: any element with a --c gets that note colour */
.c-coral { --c: var(--coral); } .c-lemon { --c: var(--lemon); } .c-mint { --c: var(--mint); }
.c-pink { --c: var(--pink); } .c-lilac { --c: var(--lilac); } .c-aqua { --c: var(--aqua); }

/* handwritten label used instead of eyebrows */
.scribble { display: inline-block; font-family: var(--hand); font-weight: 500; font-size: 1.2rem; line-height: 1.3; color: var(--coral-ink); transform: rotate(-2deg); margin: 0 0 .6rem; }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 36em; }

/* buttons */
.button {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .7em 1.25em;
  border-radius: 12px; border: 2px solid var(--ink); background: var(--ink); color: #fff;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--lemon);
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--lemon); }
.button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--lemon); }
.button.ghost { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--line); }
.button.ghost:hover { box-shadow: 6px 6px 0 var(--lilac); }
.button svg { width: 18px; height: 18px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: .25em; }
.text-link:hover { text-decoration-color: var(--ink); }

/* ---------- header: a floating toolbar ---------- */
.site-header { position: sticky; top: 10px; z-index: 30; margin-top: 10px; }
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 6px 6px 6px 14px; box-shadow: var(--card); position: relative;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; letter-spacing: -.04em; text-decoration: none; min-height: 44px; }
.wordmark svg { width: 30px; height: 30px; flex: none; }
.desktop-nav { display: none; }
.desktop-nav a:not(.button), .mobile-nav nav a:not(.button) { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.desktop-nav a:not(.button):hover { background: var(--canvas); color: var(--ink); }
.desktop-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--lemon) 55%, transparent); }
.desktop-nav .button { margin-left: 8px; box-shadow: 3px 3px 0 var(--lemon); padding-inline: 1em; }
.mobile-nav summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary i { width: 16px; height: 10px; border-block: 2px solid currentColor; position: relative; }
.mobile-nav summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.mobile-nav[open] summary i { border-color: transparent; }
.mobile-nav[open] summary i::after { transform: rotate(45deg); box-shadow: none; }
.mobile-nav[open] summary i::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid #fff; transform: rotate(-45deg); }
.mobile-nav nav {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; gap: 2px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--card);
}
.mobile-nav nav a:not(.button) { font-size: 1.1rem; color: var(--ink); }
.mobile-nav nav .button { justify-content: center; margin-top: 8px; }
@media (min-width: 900px) {
  .desktop-nav { display: flex; align-items: center; gap: 2px; }
  .mobile-nav { display: none; }
}

/* ---------- sticky notes ---------- */
.note {
  position: relative; background-color: var(--c, var(--lemon));
  background-image: linear-gradient(rgba(22, 23, 31, .07), rgba(22, 23, 31, 0) 14%);
  color: var(--ink); border-radius: 3px 3px 10px 3px; box-shadow: var(--lift);
  transform: rotate(var(--r, 0deg));
}
.tape::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; margin-left: -42px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(22, 23, 31, .06); transform: rotate(-4deg);
}

/* ---------- hero ---------- */
.hero { display: grid; gap: 36px; padding-block: 40px 32px; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.6rem); line-height: 1; letter-spacing: -.045em; }
.hero h1 .mark { position: relative; display: inline-block; z-index: 0; }
.hero h1 .mark svg { position: absolute; left: -4%; width: 108%; bottom: -.16em; height: .34em; z-index: -1; overflow: visible; }
.hero h1 .mark path { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; }
.hero .lede { margin-top: 1.25rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; margin-top: 1.75rem; }
.hint { display: flex; align-items: flex-start; gap: 8px; margin-top: 1.1rem; font-family: var(--hand); font-weight: 500; color: var(--ink-2); font-size: 1.05rem; }
.hint svg { width: 44px; height: 30px; flex: none; transform: translateY(-6px); }
.hint svg path { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px; padding-block: 64px 48px; }
}

/* the live board */
.board-wrap { position: relative; container: wrap / inline-size; }
.board {
  position: relative; container-type: inline-size; aspect-ratio: 4 / 5; overflow: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, #d9dce6 1px, transparent 1.4px);
  background-size: 18px 18px; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--card);
  margin: 0;
}
@container wrap (min-width: 540px) { .board { aspect-ratio: 4 / 3; } }
.board > * { position: absolute; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); }
.frame-label { --x: 4; --y: 4; font-size: max(12px, 3.1cqw); font-weight: 600; color: var(--ink-2); display: flex; gap: .5em; align-items: center; }
.frame-label b { color: var(--ink); }
.frame-label i { width: .55em; height: .55em; border-radius: 50%; background: #1fb874; box-shadow: 0 0 0 .2em rgba(31, 184, 116, .2); }
.col-label { font-family: var(--hand); font-weight: 700; font-size: 6.4cqw; line-height: 1; transform: rotate(-3deg); }
.col-label.a { --x: 5; --y: 11; } .col-label.b { --x: 39; --y: 58.6; }
.board .note {
  width: 36cqw; aspect-ratio: 1; padding: 3.2cqw 3.4cqw 2.6cqw; font-family: var(--hand); font-weight: 500;
  font-size: 4.5cqw; line-height: 1.18; display: flex; flex-direction: column; justify-content: space-between;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r, 0deg));
  transition: transform .5s cubic-bezier(.3, .7, .3, 1), box-shadow .2s;
}
.board .note p { margin: 0; }
.board .note small { font-family: var(--sans); font-size: max(12px, 2.6cqw); font-weight: 500; color: rgba(22, 23, 31, .78); display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.votes { display: inline-flex; gap: 3px; }
.votes i { width: max(9px, 2.4cqw); height: max(9px, 2.4cqw); border-radius: 50%; background: var(--v, var(--ink)); border: 1.5px solid var(--ink); }
.votes i.pop { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(0); } }
.n1 { --x: 5; --y: 17; --r: -3deg; } .n2 { --x: 54; --y: 20; --r: 2.5deg; }
.n4 { --x: 6; --y: 71; --r: 2deg; } .n5 { --x: 55; --y: 73; --r: -2deg; }
.board .n3, .board .n6 { display: none; }
.wires.wide { visibility: hidden; }
.timer { --x: 63; --y: 3.4; display: flex; align-items: center; gap: .45em; padding: .45em .8em .45em .5em; border-radius: 99px; background: var(--ink); color: #fff; font-size: max(12px, 3cqw); font-weight: 500; z-index: 3; }
.timer b { font-variant-numeric: tabular-nums; font-weight: 600; }
.timer svg { width: 1.3em; height: 1.3em; }
.tools { --x: 18; --y: 112.5; display: flex; gap: 1cqw; padding: 1.2cqw; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--card); z-index: 3; }
.tools span { width: 9cqw; height: 9cqw; display: grid; place-items: center; border-radius: 9px; color: var(--ink-2); }
.tools span.on { background: var(--lemon); color: var(--ink); }
.tools svg { width: 55%; height: 55%; }
.wires { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires path { fill: none; stroke: var(--ink); stroke-width: 2.2px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.wires { animation: wipe 1.5s .3s cubic-bezier(.3,.6,.3,1) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.wires .ring { stroke: var(--coral); stroke-width: 3px; }

@container (min-width: 540px) {
  .frame-label { font-size: 1.7cqw; --x: 3; --y: 3; }
  .col-label { font-size: 3.6cqw; }
  .col-label.a { --x: 6; --y: 9.5; } .col-label.b { --x: 59.6; --y: 9.5; }
  .board .note { width: 20cqw; padding: 1.8cqw 1.8cqw 1.4cqw; font-size: max(12.5px, 2.15cqw); }
  .board .note small { font-size: max(12px, 1.35cqw); }
  .votes i { width: 1.3cqw; height: 1.3cqw; }
  .n1 { --x: 5; --y: 15.5; } .n2 { --x: 27; --y: 31.5; --r: 2.5deg; } .board .n3 { --x: 6; --y: 44; --r: 1.5deg; display: flex; }
  .n4 { --x: 57; --y: 15.5; --r: 3deg; } .n5 { --x: 77.5; --y: 30; --r: -2deg; } .board .n6 { --x: 58; --y: 44; --r: -1deg; display: flex; }
  .wires.wide { visibility: visible; } .wires.tall { visibility: hidden; }
  .timer { --x: 76; --y: 2.4; font-size: 1.55cqw; }
  .tools { --x: 33; --y: 66; gap: .6cqw; padding: .7cqw; }
  .tools span { width: 4.6cqw; height: 4.6cqw; }
}

/* cursors */
.cursor {
  left: 0; top: 0; z-index: 6; pointer-events: none; color: var(--c);
  transform: translate(calc(var(--cx) * 1cqw), calc(var(--cy) * 1cqw));
  transition: transform 1.5s cubic-bezier(.5, .05, .2, 1);
}
.cursor svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 2px rgba(22, 23, 31, .25)); transition: transform .2s; }
.cursor span { display: inline-block; margin: -2px 0 0 16px; padding: 3px 9px 4px; border-radius: 4px 10px 10px 10px; background: var(--c); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; border: 1.5px solid var(--ink); }
.cursor.typing span::after { content: " is writing…"; font-weight: 400; }
.cursor.grab { transition-duration: .55s; }
.cursor.grab svg { transform: scale(.82) rotate(-8deg); }
.k1 { --cx: 27; --cy: 45; } .k2 { --cx: 62; --cy: 58; } .k3 { --cx: 24; --cy: 102; } .k4 { --cx: 62; --cy: 106; }
@container (min-width: 540px) {
  .k1 { --cx: 18; --cy: 31; } .k2 { --cx: 46; --cy: 22; } .k3 { --cx: 70; --cy: 61; } .k4 { --cx: 84; --cy: 21; }
}
.board.live .note { cursor: grab; touch-action: none; user-select: none; }
.board.live .note.dragging { cursor: grabbing; z-index: 8; box-shadow: var(--lift-hi); transition: box-shadow .2s; }
.board .note.nudged { box-shadow: var(--lift-hi); }
.board .note.new { animation: drop .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes drop { from { opacity: 0; scale: 1.25; } }
.board-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; color: var(--ink-2); font-size: .95rem; }
.board-actions p { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 99px;
  background: var(--paper); border: 1.5px solid var(--ink); color: var(--ink); font: 600 .95rem/1 var(--sans); cursor: pointer;
  transition: background .15s, transform .15s;
}
.chip:hover { background: var(--lemon); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip[hidden] { display: none; }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(56px, 4vw + 32px, 96px); }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.head p:not(.scribble) { color: var(--ink-2); margin: 0; font-size: 1.1rem; }
.head.split { max-width: none; }
@media (min-width: 900px) { .head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; } }

/* teams strip */
.teams { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 8px 24px; color: var(--ink-2); }
.teams p { margin: 0; font-family: var(--hand); font-size: 1.1rem; color: var(--ink); }
.teams ul { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; letter-spacing: -.02em; font-size: 1.05rem; }
.teams li { display: inline-flex; align-items: center; gap: 8px; }
.teams li::before { content: ""; width: 12px; height: 12px; background: var(--c); border: 1.5px solid var(--ink); border-radius: 2px 2px 5px 2px; transform: rotate(-8deg); }

/* flow: three frames joined by arrows */
.flow { display: grid; gap: 8px; }
.frame { position: relative; background: rgba(255, 255, 255, .7); border: 1.5px solid var(--line); border-radius: 14px; padding: 26px 22px 24px; }
.frame-tab { position: absolute; top: -13px; left: 16px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 8px; padding: 1px 10px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.frame h3 { margin: 18px 0 8px; font-size: 1.5rem; }
.frame p { margin: 0; color: var(--ink-2); }
.minis { position: relative; height: 150px; }
.mini { position: absolute; width: 64px; height: 64px; padding: 9px 8px; font-family: var(--hand); font-size: 12px; line-height: 1.15; font-weight: 500; }
.mini.sm { width: 54px; height: 54px; }
.minis .lbl { position: absolute; font-family: var(--hand); font-weight: 700; font-size: 1rem; }
.minis .dots { position: absolute; display: flex; gap: 3px; }
.minis .dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--c); }
.minis .owner { position: absolute; background: var(--ink); color: #fff; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.minis .loop { position: absolute; border: 2px dashed var(--ink-2); border-radius: 50% 46% 52% 44%; }
.flow-arrow { width: 56px; height: 56px; justify-self: center; transform: rotate(90deg); }
.flow-arrow path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
  .flow { grid-template-columns: 1fr 64px 1fr 64px 1fr; align-items: center; gap: 0; }
  .flow-arrow { transform: none; width: 64px; }
}
/* the mini notes get their spots */
.p1 { left: 4%; top: 6px; --r: -6deg; } .p2 { left: 36%; top: 40px; --r: 5deg; } .p3 { left: 64%; top: 2px; --r: -2deg; } .p4 { left: 18%; top: 82px; --r: 3deg; } .p5 { left: 56%; top: 84px; --r: -5deg; }
.q1 { left: 2%; top: 30px; --r: -3deg; } .q2 { left: 16%; top: 62px; --r: 4deg; } .q3 { left: 26%; top: 24px; --r: -1deg; }
.q4 { left: 58%; top: 34px; --r: 2deg; } .q5 { left: 72%; top: 66px; --r: -4deg; }
.ql1 { left: 4%; top: 0; } .ql2 { left: 60%; top: 0; }
.loop.a { left: 0; top: 18px; width: 47%; height: 128px; } .loop.b { left: 55%; top: 22px; width: 42%; height: 124px; }
.r1 { left: 6%; top: 18px; --r: -2deg; } .r2 { left: 38%; top: 30px; --r: 3deg; } .r3 { left: 70%; top: 14px; --r: -4deg; }
.d1 { left: 9%; top: 90px; } .d2 { left: 41%; top: 102px; } .d3 { left: 73%; top: 86px; }
.ow { left: 30%; top: 124px; }

/* product shot with callouts */
.shot { position: relative; display: grid; gap: 20px; }
.shot figure { margin: 0; }
.photo { width: 100%; height: auto; object-fit: cover; display: block; }
.screen { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--card); background: var(--paper); }
.screen .photo { aspect-ratio: 16 / 10; }
.callouts { display: grid; gap: 18px; }
.callout { padding: 18px 18px 16px; max-width: 360px; }
.callout.a { --r: -2.5deg; } .callout.b { --r: 2deg; } .callout.c { --r: -1deg; }
@media (max-width: 639px) { .callout { width: 90%; } .callout.b { margin-left: auto; } .kit .note { margin-inline: 6px; } .quote-note, .quote-card { margin-inline: 4px; } }
.callout h3 { font-size: 1.1rem; margin-bottom: 4px; }
.callout p { margin: 0; font-size: .98rem; }
@media (min-width: 640px) { .callouts { grid-template-columns: repeat(3, 1fr); } .callout { max-width: none; } }
@media (min-width: 1100px) {
  .shot { padding: 40px 0 70px; }
  .shot figure { width: 84%; margin-inline: auto; }
  .callouts { display: block; }
  .callout { position: absolute; width: 250px; }
  .callout.a { left: 0; top: -30px; } .callout.b { right: 0; top: 34%; } .callout.c { left: 4%; bottom: 0; }
}

/* kit wall: notes of different sizes */
.kit { display: grid; gap: 22px; }
.kit .note { padding: 24px 22px 22px; transition: transform .25s cubic-bezier(.3, .7, .3, 1), box-shadow .25s; }
.kit .note:hover { transform: rotate(0deg) translateY(-6px); box-shadow: var(--lift-hi); }
.kit .note h3 { margin: 14px 0 6px; font-size: 1.3rem; }
.kit .note p { margin: 0; }
.kit .note .tag { font-family: var(--hand); font-weight: 700; font-size: 1.05rem; }
.icon { width: 46px; height: 46px; }
.icon path, .icon circle, .icon rect { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kit .note:nth-child(odd) { --r: -1.2deg; } .kit .note:nth-child(even) { --r: 1.4deg; }
@media (min-width: 700px) { .kit { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 1000px) {
  .kit { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .kit .note:nth-child(1) { grid-column: span 5; --r: -2deg; }
  .kit .note:nth-child(2) { grid-column: span 4; --r: 1.5deg; margin-top: 36px; }
  .kit .note:nth-child(3) { grid-column: span 3; --r: -1deg; }
  .kit .note:nth-child(4) { grid-column: span 3; --r: 2deg; }
  .kit .note:nth-child(5) { grid-column: span 5; --r: -1.5deg; margin-top: -10px; }
  .kit .note:nth-child(6) { grid-column: span 4; --r: 1deg; margin-top: 24px; }
}

/* numbers */
.numbers { display: grid; gap: 40px; align-items: center; }
.nums { display: grid; gap: 28px; }
.num { position: relative; padding-left: 4px; }
.num b small { font-size: .42em; margin-left: .34em; }
.num b { position: relative; display: inline-block; white-space: nowrap; font-family: var(--hand); font-weight: 700; font-size: clamp(3.6rem, 2.6rem + 4vw, 6rem); line-height: 1; letter-spacing: -.02em; }
.num b .n { position: relative; display: inline-block; }
.num b svg { position: absolute; top: -18%; left: 50%; translate: -50% 0; width: max(128%, 1.5em); max-width: none; height: 136%; overflow: visible; }
.num b svg path { fill: none; stroke: var(--c); stroke-width: 5; stroke-linecap: round; }
.num p { margin: 10px 0 0; color: var(--ink-2); max-width: 17em; }
@media (min-width: 900px) {
  .numbers { grid-template-columns: 4fr 8fr; gap: 56px; }
  .nums { grid-template-columns: repeat(3, 1fr); }
  .num:nth-child(2) { margin-top: 48px; }
}

/* quotes */
.quotes { display: grid; gap: 40px; align-items: start; }
.quote-card { background: var(--paper); border-radius: 6px; padding: 40px 28px 28px; box-shadow: var(--card); position: relative; transform: rotate(-.6deg); margin: 0; }
.quote-card blockquote { margin: 0; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption, .quote-note figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); }
.who b { display: block; font-weight: 600; }
.who span { color: var(--ink-2); font-size: .95rem; }
.quote-note { padding: 30px 26px 24px; margin: 0; --r: 2deg; }
.quote-note blockquote { margin: 0; font-family: var(--hand); font-weight: 500; font-size: 1.35rem; line-height: 1.3; }
.quote-note blockquote p { margin: 0; }
.quote-note .who span { color: var(--ink); }
@media (min-width: 900px) { .quotes { grid-template-columns: 7fr 5fr; gap: 56px; } .quote-note { margin-top: 80px; } .quote-card { padding: 52px 48px 40px; } }

/* template cards */
.cards { display: grid; gap: 28px; }
.card { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--card); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s cubic-bezier(.3, .7, .3, 1); }
.card:hover { transform: translateY(-5px) rotate(-.4deg); }
.card .photo { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); background: var(--canvas); }
.card-body { padding: 20px 22px 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.meta span { padding: 2px 10px; border-radius: 99px; background: var(--canvas); border: 1px solid var(--line); }
.meta .kind { background: var(--c); border-color: var(--ink); color: var(--ink); font-weight: 600; }
.card-body p { margin: 0; color: var(--ink-2); }
.steps { counter-reset: s; display: grid; gap: 4px; margin-top: 6px; font-size: .95rem; }
.steps li { counter-increment: s; display: flex; gap: 10px; }
.steps li::before { content: counter(s); font-family: var(--hand); font-weight: 700; width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); font-size: .8rem; margin-top: 2px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters[hidden] { display: none; }
[data-kind][hidden] { display: none; }

/* closing call to action */
.closing { padding-block: clamp(64px, 6vw + 32px, 128px); }
.closing-note { position: relative; max-width: 880px; margin-inline: auto; padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 72px); --r: -1.2deg; text-align: left; }
.closing-note h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); max-width: 12em; }
.closing-note p { font-size: 1.15rem; max-width: 30em; margin: 16px 0 28px; }
.closing-note .cursor { position: absolute; left: min(300px, 62%); top: auto; bottom: clamp(14px, 3vw, 34px); transform: none; transition: none; }
.closing-note .cursor.k3 { left: auto; right: 12%; bottom: auto; top: 22%; }
@media (max-width: 640px) { .closing-note .cursor.k3 { display: none; } .closing-note { padding-bottom: 72px; } }

/* ---------- page heros (inner pages) ---------- */
.page-hero { padding-block: 56px 40px; display: grid; gap: 24px; position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; max-width: 14em; }
.page-hero .lede { margin: 1.25rem 0 0; }
.page-hero + .section { padding-top: 16px; }
.page-hero .stickers { display: none; }
@media (min-width: 1000px) {
  .page-hero { grid-template-columns: 8fr 4fr; align-items: end; padding-block: 88px 56px; }
  .page-hero .stickers { display: block; position: relative; height: 220px; }
  .stickers .note { position: absolute; width: 150px; height: 150px; padding: 16px; font-family: var(--hand); font-weight: 500; font-size: 1.1rem; line-height: 1.2; }
  .stickers .note:nth-child(1) { right: 120px; top: 10px; --r: -5deg; }
  .stickers .note:nth-child(2) { right: 10px; top: 60px; --r: 4deg; }
  .stickers .cursor { right: 60px; top: 170px; left: auto; transform: none; position: absolute; }
}

/* anatomy timeline (templates page) */
.agenda { display: grid; gap: 10px; }
.slot-row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: stretch; }
.slot-row time { font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 14px; color: var(--ink-2); }
.slot-row .note { padding: 14px 16px; }
.slot-row .note h3 { font-size: 1.1rem; }
.slot-row .note p { margin: 2px 0 0; font-size: .95rem; }
@media (min-width: 1000px) {
  .agenda { grid-template-columns: minmax(130px, 10fr) 15fr 25fr 20fr 15fr minmax(120px, 6fr); gap: 12px; align-items: start; }
  .slot-row { grid-template-columns: 1fr; gap: 8px; }
  .slot-row time { padding: 0 0 0 4px; border-left: 2px solid var(--ink); }
  .slot-row .note { min-height: 168px; }
  .slot-row:nth-child(even) .note { margin-top: 26px; }
}

/* ---------- pricing ---------- */
.toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--paper); border: 1.5px solid var(--ink); margin-bottom: 28px; }
.toggle .chip { border: 0; min-height: 40px; }
.toggle[hidden] { display: none; }
.plans { display: grid; gap: 28px; align-items: start; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card); padding: 30px 26px 28px; display: grid; gap: 14px; }
.plan h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.plan .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .amount { font-size: 3.2rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .per { color: var(--ink-2); font-size: .95rem; }
.plan ul { display: grid; gap: 8px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 10px; margin-top: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) scale(.8); }
.plan .button { justify-content: center; margin-top: 6px; }
.plan.pick { background-color: var(--lemon); border-color: var(--ink); box-shadow: var(--lift-hi); }
.plan.pick .per { color: var(--ink); }
.plan.pick .button { box-shadow: 4px 4px 0 var(--paper); }
.pick-note { position: absolute; top: -40px; right: 14px; display: flex; align-items: flex-end; gap: 4px; font-family: var(--hand); font-weight: 700; font-size: 1.1rem; color: var(--coral-ink); transform: rotate(3deg); }
.pick-note svg { width: 40px; height: 34px; }
.pick-note path { fill: none; stroke: var(--coral-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.year-note { font-size: .9rem; color: var(--ink-2); margin: 0; }
.plan.pick .year-note { color: var(--ink); }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan.pick { transform: translateY(-14px) rotate(-.6deg); } }
.calc { display: grid; gap: 24px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--card); padding: clamp(24px, 4vw, 48px); }
.calc[hidden] { display: none; }
.calc label { font-weight: 600; display: block; margin-bottom: 10px; }
.calc input[type="range"] { width: 100%; accent-color: var(--ink); height: 44px; }
.calc output { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; line-height: 1; display: block; }
.calc .tally { font-family: var(--hand); font-size: 1.15rem; font-weight: 500; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 56px; } }
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .98rem; }
caption { text-align: left; padding: 20px 20px 4px; font-weight: 600; font-size: 1.1rem; }
th, td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 600; background: var(--canvas); }
tbody th { font-weight: 500; }
td.on { font-weight: 600; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { table { min-width: 0; font-size: .875rem; } th, td { padding: 11px 6px; } th:first-child, td:first-child { padding-left: 12px; } th:last-child, td:last-child { padding-right: 10px; } }
.faq { display: grid; gap: 14px; max-width: 860px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 600; position: relative; min-height: 44px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-family: var(--hand); font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--ink); box-shadow: 4px 4px 0 var(--mint); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

/* ---------- integrations ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 4px 4px 0 var(--c); }
.tile h3 { font-size: 1.1rem; }
.tile p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--ink-2); font-size: .97rem; }
.tile .kind { font-size: .85rem; color: var(--ink-2); font-weight: 500; }
.glyph { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: var(--c); border: 1.5px solid var(--ink); display: grid; place-items: center; }
.glyph svg { width: 28px; height: 28px; }
.glyph path, .glyph circle, .glyph rect { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pipe { display: grid; gap: 18px; align-items: center; }
.pipe-col { display: grid; gap: 12px; }
.pipe-col h3 { font-family: var(--hand); font-weight: 700; font-size: 1.3rem; }
.pill { margin: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-weight: 500; }
.pill i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); border: 1.5px solid var(--ink); flex: none; }
.pipe-board { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; justify-self: center; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--card); background-image: radial-gradient(circle at 1px 1px, #d9dce6 1px, transparent 1.4px); background-size: 16px 16px; }
.pipe-board .note { position: absolute; width: 38%; aspect-ratio: 1; padding: 10px; font-family: var(--hand); font-weight: 500; font-size: .95rem; line-height: 1.15; }
.pipe-board .note:nth-child(1) { left: 8%; top: 10%; --r: -4deg; } .pipe-board .note:nth-child(2) { right: 9%; top: 16%; --r: 3deg; } .pipe-board .note:nth-child(3) { left: 30%; bottom: 9%; --r: -1deg; }
.pipe-arrow { width: 60px; height: 44px; justify-self: center; transform: rotate(90deg); }
.pipe-arrow path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1000px) { .pipe { grid-template-columns: 1fr 70px 1.2fr 70px 1fr; } .pipe-arrow { transform: none; width: 70px; } }
.code { display: grid; gap: 28px; align-items: center; }
.code .lede { margin: 16px 0 20px; }
.code pre { margin: 0; background: var(--ink); color: #eef0f6; border-radius: var(--radius); padding: 24px; overflow-x: auto; font: 500 .9rem/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; box-shadow: 6px 6px 0 var(--aqua); }
.code pre .k { color: var(--lemon); } .code pre .s { color: var(--mint); }
@media (min-width: 900px) { .code { grid-template-columns: 5fr 7fr; gap: 56px; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 40px; align-items: start; }
.slot-card { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--card); padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; }
.slot-card h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.slot p:last-child { margin-bottom: 0; }
.slot .button { margin-top: 6px; }
.big-mail { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.next { display: grid; gap: 22px; }
.next .note { padding: 20px 20px 18px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.next .note b { grid-row: span 2; font-family: var(--hand); font-weight: 700; font-size: 2.2rem; line-height: 1; }
.next .note h3 { font-size: 1.1rem; }
.next .note p { margin: 0; font-size: .97rem; }
.next .note:nth-child(1) { --r: -1.5deg; } .next .note:nth-child(2) { --r: 1.2deg; margin-left: 18px; } .next .note:nth-child(3) { --r: -.6deg; }
.office { display: grid; gap: 4px; padding-top: 28px; }
.office a { font-weight: 600; }
@media (min-width: 960px) { .contact { grid-template-columns: 7fr 5fr; gap: 64px; } }

/* forms (styled for the Forms plugin, inert in the demo) */
.slot-form { display: grid; gap: 8px; }
.slot-form label { font-weight: 600; font-size: .95rem; margin-top: 8px; }
.slot-form input, .slot-form select, .slot-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; }
.slot-form input:focus, .slot-form select:focus, .slot-form textarea:focus { outline: 3px solid var(--lemon); outline-offset: 1px; }
.slot-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.slot-form .check input { width: 22px; min-height: 22px; margin-top: 2px; }
.slot-form .button { justify-content: center; margin-top: 14px; }

/* ---------- prose pages (privacy) ---------- */
.prose { max-width: 720px; padding-bottom: 40px; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose .note { padding: 22px; margin: 28px 0; --r: -.8deg; }
.prose .note p { color: var(--ink); margin: 0; }

/* 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.lost-board { position: relative; width: min(520px, 100%); height: 240px; margin: 0 auto 32px; }
.lost-board .note { position: absolute; width: 150px; height: 150px; padding: 16px; font-family: var(--hand); font-weight: 600; font-size: 1.15rem; line-height: 1.2; text-align: left; }
.lost-board .note:nth-child(1) { left: 6%; top: 30px; --r: -7deg; } .lost-board .note:nth-child(2) { right: 8%; top: 50px; --r: 6deg; }
.lost-board .cursor { left: 42%; top: 140px; transform: none; position: absolute; animation: wander 6s ease-in-out infinite; }
@keyframes wander { 0%, 100% { translate: 0 0; } 30% { translate: 60px -40px; } 60% { translate: -50px -90px; } }
.lost h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); letter-spacing: -.04em; }
.lost p { color: var(--ink-2); max-width: 30em; margin: 16px auto 28px; }
.lost .cta-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); margin-top: 32px; padding-block: 56px 32px; }
.sign-off { font-family: var(--hand); font-weight: 700; font-size: clamp(2.2rem, 1.4rem + 3.5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.sign-off .button { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 32px; border-top: 1.5px dashed var(--line); }
.footer-grid h2 { font-size: .95rem; letter-spacing: 0; margin-bottom: 10px; color: var(--ink-2); font-weight: 500; }
.footer-grid ul { display: grid; gap: 2px; }
.footer-grid a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 500; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid address { font-style: normal; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--ink-2); max-width: 22em; margin: 10px 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 32px; color: var(--ink-2); font-size: .9rem; }
.footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 899px) { .footer-grid > div:last-child { grid-column: 1 / -1; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } .footer-brand { grid-column: auto; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .card:hover, .kit .note:hover, .button:hover, .tile:hover { transform: none; }
}
