
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/BricolageGrotesque-400.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/BricolageGrotesque-500.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/BricolageGrotesque-700.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/BricolageGrotesque-800.woff2') format('woff2'); }
@font-face { font-family: 'Gochi Hand'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/GochiHand-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/DMMono-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/DMMono-500.woff2') format('woff2'); }

:root {
  --paper: #f6f5f0;
  --cork: #e9e6dc;
  --cork-dot: #d6d1c2;
  --sticky: #fff27a;
  --tape: rgba(255, 214, 77, .78);
  --pen: #2340b8;
  --pen-bg: #eef1fb;
  --ink: #1f2430;
  --ink-soft: #45423a;
  --soft: #6b6759;
  --on-ink-soft: #b9b6aa;
  --line: #d8d3c3;
  --white: #ffffff;
  --ok: #2f7d42;
  --ok-bg: #d9efdd;
  --note-ink: #6a6440;
  --coral: #c2401f;
  --paper-2: #f8f7f2;
  --panel: #fbfaf6;
  --card: #fffdf8;
  --card-line: #e7e3da;
  --chip-line: #cfc9bc;
  --cork-soft: #f3f1ea;
  --pin-shadow: 0 2px 0 rgba(0,0,0,.05), 0 10px 20px -12px rgba(31,36,48,.45);
  --note-shadow: 0 10px 18px -12px rgba(31,36,48,.5);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-display: clamp(32px, 7vw, 54px);
  --fs-h1: clamp(30px, 5vw, 40px);
  --fs-h2: 20px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-micro: 11px;
  --label-track: .08em;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background-color: var(--paper);
  background-image: radial-gradient(var(--cork-dot) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--ink); font: 400 15px/1.5 var(--display);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p, li, .handnote, .from, .note, .hint { text-wrap: pretty; }
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.shell > main { flex: 1 0 auto; width: 100%; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
code, time, .mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sticky); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 60; padding: 9px 14px; border-radius: 10px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
svg.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn svg.ic { width: 18px; height: 18px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 760px) { .wrap { padding-left: 36px; padding-right: 36px; } }

/* ---------- brand ---------- */
.logo { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.04em; line-height: 1; position: relative; display: inline-block; isolation: isolate; color: var(--ink); white-space: nowrap; }
.logo em { font-style: normal; color: var(--pen); }
.logo::after { content: ""; position: absolute; left: -4px; right: 46%; bottom: 1px; height: 8px; background: var(--tape); z-index: -1; transform: rotate(-2deg); }
.logo.lg { font-size: 26px; }
.foot-brand { justify-items: start; }
.b-side-in > .logo, .b-side-in > .btn, .b-side-in > .handnote { justify-self: start; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 700; font-size: 14px; line-height: 1.2; background: var(--ink); color: var(--paper); text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 3px 0 var(--pen); }
.btn:active { transform: none; box-shadow: none; }
.btn.lg { padding: 14px 20px; font-size: 15px; }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); padding: 9.5px 14.5px; }
.btn.ghost.lg { padding: 12.5px 18.5px; }
.btn.ghost.sm { padding: 5.5px 10.5px; }
.btn.ghost:hover { box-shadow: 0 3px 0 var(--ink); }
.btn.pen { background: var(--pen); color: var(--white); }
.btn.coral { background: var(--coral); color: var(--white); }
.btn.coral:hover { box-shadow: 0 3px 0 var(--ink); }
.btn.block { width: 100%; }
.btn.google { background: var(--ink); color: var(--paper); gap: 10px; }
.btn.google .g { width: 22px; height: 22px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.linkish { background: none; border: 0; padding: 0; color: var(--pen); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- small pieces ---------- */
.label { font-family: var(--mono); font-size: 11px; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--soft); }
.handnote { font-family: var(--hand); color: var(--pen); font-size: 18px; line-height: 1.15; transform: rotate(-1.5deg); display: inline-block; }
.from { font-family: var(--mono); font-size: 11px; color: var(--soft); }
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; padding: 3px 8px; border-radius: 6px; background: var(--sticky); color: var(--ink); }
.tag.line { background: transparent; border: 1px solid var(--line); color: var(--soft); }
a.tag.line:hover { border-color: var(--ink); color: var(--ink); }
.plan-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; line-height: 1.3; padding: 3px 10px; border-radius: 99px; border: 1.5px solid var(--ink); background: var(--sticky); color: var(--ink); white-space: nowrap; }
.plan-badge.free { background: transparent; border: 1px solid var(--line); color: var(--soft); }
.btn.is-current { opacity: .55; cursor: default; pointer-events: none; }
.state { font-family: var(--mono); font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--cork); color: var(--soft); white-space: nowrap; }
.state.ok { background: var(--ok-bg); color: var(--ok); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sticky); border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--ink); flex: none; }
.backbtn { width: 34px; height: 34px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--white); display: grid; place-items: center; color: var(--ink); flex: none; cursor: pointer; padding: 0; }
.backbtn svg.ic { width: 20px; height: 20px; }

/* ---------- the pin: a polaroid with tape ---------- */
.pin { background: var(--white); padding: 7px 7px 10px; position: relative; box-shadow: var(--pin-shadow); break-inside: avoid; margin: 0 0 14px; display: block; color: var(--ink); }
.pin::before { content: ""; position: absolute; top: -8px; left: 50%; width: 50px; height: 17px; margin-left: -25px; background: var(--tape); transform: rotate(-3deg); z-index: 2; }
.tl { transform: rotate(-1.3deg); } .tr { transform: rotate(1.2deg); } .t0 { transform: none; }
a.pin { transition: transform .15s ease, box-shadow .15s ease; }
a.pin:hover { transform: rotate(0deg) translateY(-2px); box-shadow: 0 2px 0 rgba(0,0,0,.05), 0 16px 26px -14px rgba(31,36,48,.55); }

.pin h4 { font-family: var(--hand); font-weight: 400; font-size: 17px; line-height: 1.12; color: var(--pen); margin-top: 6px; overflow-wrap: anywhere; }
.pin .meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 4px; }
.pin .meta span { font-family: var(--mono); font-size: 10px; color: var(--soft); }
.pin .meta .cat { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; color: var(--soft); }
.pin .meta .wait { color: var(--pen); }
.thumb { aspect-ratio: 9 / 13; width: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 8px; color: #fff; }
.thumb.sq { aspect-ratio: 1 / 1; }
.thumb.wide { aspect-ratio: 4 / 5; }
.thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .ov { position: relative; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 15px; line-height: .98; letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0,0,0,.35); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.thumb .dur { position: relative; align-self: flex-end; margin-top: auto; font-family: var(--mono); font-size: 10px; background: rgba(0,0,0,.45); border-radius: 4px; padding: 1px 5px; }
.thumb .play { position: absolute; inset: 0; margin: auto; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.88); z-index: 1; }
.thumb .play::after { content: ""; position: absolute; left: 15px; top: 11px; border-left: 12px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.g1 { background: linear-gradient(160deg, #ff9f6b, #d9480f 60%, #7c2d12); }
.g2 { background: linear-gradient(160deg, #7dd3fc, #2563eb 60%, #1e1b4b); }
.g3 { background: linear-gradient(160deg, #bef264, #16a34a 60%, #14532d); }
.g4 { background: linear-gradient(160deg, #f9a8d4, #db2777 60%, #500724); }
.g5 { background: linear-gradient(160deg, #fde68a, #ca8a04 55%, #422006); }
.g6 { background: linear-gradient(160deg, #c4b5fd, #7c3aed 55%, #2e1065); }
.g7 { background: linear-gradient(160deg, #99f6e4, #0d9488 60%, #134e4a); }

/* ---------- sticky notes ---------- */
.note { background: var(--sticky); padding: 12px 12px 10px; font-family: var(--hand); font-size: 18px; line-height: 1.18; color: var(--ink); box-shadow: var(--note-shadow); position: relative; overflow-wrap: anywhere; }
.note .q { color: var(--pen); }
.note small { display: block; font-family: var(--mono); font-size: 10px; color: var(--note-ink); margin-top: 6px; line-height: 1.4; }
.note.white { background: var(--white); }
.note.white small { color: var(--soft); }
.note ol, .note ul { margin: 2px 0 0; padding-left: 22px; }
.note p + p { margin-top: 6px; }
.answers { display: grid; gap: 14px; padding-top: 4px; }
.answers > .note:nth-child(odd) { transform: rotate(-1deg); }
.answers > .note:nth-child(even) { transform: rotate(1deg); }

/* ---------- fields ---------- */
.searchbox { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 14px; padding: 0 12px; color: var(--soft); min-height: 46px; }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); padding: 11px 0; }
.searchbox input::placeholder { color: var(--soft); }
.searchbox:focus-within { box-shadow: 0 3px 0 var(--pen); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.input, .field input, .field select { width: 100%; background: var(--white); border: 1.5px solid var(--ink); border-radius: 12px; padding: 11px 12px; font-size: 14px; color: var(--ink); outline: 0; }
.input:focus, .field input:focus { box-shadow: 0 3px 0 var(--pen); }
.addr { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px dashed var(--ink); border-radius: 12px; padding: 6px 6px 6px 12px; }
.addr code, .addr input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; border: 0; background: transparent; outline: 0; color: var(--ink); padding: 6px 0; }
.inline-form { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 220px; }

/* ---------- segmented control ---------- */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1.5px solid var(--ink); border-radius: 12px; padding: 3px; }
.seg a { border-radius: 9px; padding: 7px 8px; font-weight: 700; font-size: 13px; text-align: center; }
.seg a.on { background: var(--ink); color: var(--paper); }
.seg.sm a { padding: 5px 4px; font-size: 11.5px; }

/* ---------- rows + boxes ---------- */
.app-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.app-row.on { border-color: var(--ink); }
.app-row b { display: block; font-size: 15px; }
.app-row .hint { display: block; font-size: 12.5px; color: var(--soft); }
.stack { display: grid; gap: 18px; align-content: start; }
.box { background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; align-content: start; }
.box.ink { border-color: var(--ink); }
.box h2 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.box-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rows > li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--line); padding-top: 8px; font-size: 14px; }
.rows > li:first-child { border-top: 0; padding-top: 0; }
.rows .empty { color: var(--soft); }
.said { display: grid; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.said > div { display: grid; grid-template-columns: 40px 1fr; gap: 8px; font-size: 13.5px; }
.said time { font-size: 11px; color: var(--pen); padding-top: 2px; }
.said .scr-text { background: var(--pen-bg); border-radius: 4px; padding: 0 4px; margin-left: -4px; }
.steps { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; }
.steps .n { width: 40px; height: 40px; border-radius: 50%; background: var(--sticky); font-family: var(--hand); font-size: 22px; display: grid; place-items: center; transform: rotate(-6deg); }
.steps b { display: block; font-size: 15px; }
.steps span:not(.n) { color: var(--soft); font-size: 13.5px; }
.banner { background: var(--sticky); box-shadow: var(--note-shadow); padding: 12px 14px; font-size: 14px; font-weight: 600; transform: rotate(-.5deg); }
.banner.ok { background: var(--ok-bg); color: var(--ok); transform: none; box-shadow: none; border-radius: 12px; }
.banner.quiet { background: var(--white); border: 1.5px dashed var(--ink); box-shadow: none; transform: none; border-radius: 12px; font-weight: 500; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topnav { display: none; gap: 28px; font-weight: 600; font-size: 15px; justify-self: center; justify-content: center; flex-wrap: wrap; width: 100%; }
.topnav a { padding: 4px 0; border-bottom: 2px solid transparent; color: var(--ink-soft); }
.topnav a:hover, .topnav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.top-actions .wide-only { display: none; }
.top-actions .share-btn { padding: 7px 11px; font-size: 13px; border-radius: 10px; white-space: nowrap; }
@media (min-width: 900px) {
  .topbar-in { min-height: 64px; gap: 20px; }
  .topnav { display: flex; }
  .app-top > .wrap.topbar-in { max-width: none; width: 100%; padding-left: 24px; padding-right: 24px; }
  .top-actions .share-btn { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
  .top-actions .wide-only { display: inline-flex; }
  .topbar .logo { font-size: 24px; }
  .topbar .btn.sm { padding: 9px 15px; font-size: 14px; }
  .topbar .btn.ghost.sm { padding: 7.5px 13.5px; }
}

/* ---------- phone tab bar (signed in) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 8px 8px calc(12px + env(safe-area-inset-bottom, 0px)); }
.tab { display: grid; justify-items: center; gap: 2px; font-size: 10px; font-weight: 600; color: var(--soft); }
.tab.on { color: var(--ink); }
.tab .plus { width: 48px; height: 48px; border-radius: 16px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 26px; line-height: 1; transform: rotate(-4deg); box-shadow: 0 3px 0 var(--pen); }
.has-tabs { padding-bottom: 84px; }
@media (min-width: 900px) { .tabbar { display: none; } .has-tabs { padding-bottom: 0; } }

/* ---------- footer ---------- */
/* Light, like the rest of the site (Prince: no black bands): paper, thin top rule, ink text. */
.foot { background: var(--paper); color: var(--ink); border-top: 1.5px solid var(--line); margin-top: 56px; }
.foot-in { display: grid; gap: 18px; padding-top: 30px; padding-bottom: 30px; }
.foot-brand { display: grid; gap: 12px; }
.foot .logo { font-size: 24px; color: var(--ink); }
.foot .logo em { color: var(--pen); }
.foot .handnote { color: var(--pen); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--soft); }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-copy { font-family: var(--mono); font-size: 11px; color: var(--soft); }
.foot .foot-brand .btn { justify-self: stretch; }
@media (min-width: 760px) { .foot .foot-brand .btn { justify-self: start; } }
@media (min-width: 760px) {
  .foot-in { grid-template-columns: 1fr auto; align-items: center; column-gap: 40px; }
  .foot-in .foot-side { display: grid; gap: 12px; justify-items: end; text-align: right; }
}
.foot.slim { background: var(--paper); color: var(--soft); border-top: 1.5px dashed var(--line); margin-top: 40px; }
.foot.slim .logo { font-size: 18px; color: var(--ink); }
.foot.slim .logo em { color: var(--pen); }
.foot.slim .foot-links, .foot.slim .foot-copy { color: var(--soft); }
.foot.slim .foot-links a:hover { color: var(--ink); }

/* ---------- page heads ---------- */
.page { padding-top: 18px; padding-bottom: 8px; display: grid; gap: 22px; }
.page.narrow { max-width: 820px; }
.page-head, .page-header { display: grid; gap: 8px; }
.page-head h1, .page-header h1 { max-width: 18ch; font-size: clamp(32px, 7vw, 54px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.page-head h1 u { text-decoration: none; background: linear-gradient(transparent 60%, var(--sticky) 60%); }
.page-head .handnote, .page-header .page-sub { font-family: var(--hand); color: var(--pen); font-size: 19px; line-height: 1.15; transform: rotate(-1.5deg); justify-self: start; }
.page-head .sub { color: var(--ink-soft); font-size: 16px; max-width: 60ch; }
.sec-title { font-size: 15px; font-weight: 700; }
.split { display: grid; gap: 16px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } .page { padding-top: 26px; gap: 28px; } }

/* ---------- paper sheet (legal) ---------- */
.sheet, .legal-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--pin-shadow); padding: 26px 20px 28px; position: relative; display: grid; gap: 12px; max-width: 760px; }
.sheet::before, .legal-card::before { content: ""; position: absolute; top: -9px; left: 50%; width: 76px; height: 19px; margin-left: -38px; background: var(--tape); transform: rotate(-2deg); }
.sheet h2, .legal-card h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.sheet h2:first-child, .legal-card h2:first-child { margin-top: 0; }
.sheet p, .sheet li, .legal-card p, .legal-card li { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.sheet ul, .sheet ol, .legal-card ul, .legal-card ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.sheet ul li::marker, .legal-card ul li::marker { color: var(--pen); }
.sheet a, .legal-card a, .prose a { color: var(--pen); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.sheet .lead-text, .legal-card .lead-text { font-size: 17px; color: var(--ink); font-weight: 500; }
.sheet strong, .legal-card strong { color: var(--ink); }
.refund-facts { list-style: none; padding: 0 !important; display: grid; gap: 10px !important; grid-template-columns: 1fr; }
.refund-facts li { background: var(--sticky); padding: 10px 12px; font-family: var(--hand); font-size: 18px; color: var(--ink) !important; line-height: 1.2 !important; box-shadow: var(--note-shadow); }
.refund-facts li:nth-child(odd) { transform: rotate(-1deg); } .refund-facts li:nth-child(even) { transform: rotate(1deg); }
.refund-facts strong { font-family: var(--display); font-weight: 800; display: block; font-size: 17px; }
@media (min-width: 760px) { .sheet, .legal-card { padding: 34px 40px 36px; } .refund-facts { grid-template-columns: repeat(3, 1fr); } }
.mail-big, .contact-mail { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--pen); }

/* ---------- plans (pricing) ---------- */
.plans { display: grid; gap: 22px; align-items: stretch; }
.plan { background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan > .btn { margin-top: auto; }
@media (max-width: 759px) { .plans > .plan.pro { order: -1; } }
.plan > ul + .btn { margin-top: auto; }
.plan.pro { background: var(--ink); color: var(--paper); }
.plan.pro .ex, .plan.pro .billnote, .plan.pro .fine { color: var(--on-ink-soft); }
.plan.pro .fine a { color: var(--paper); text-decoration: underline; }
.plan .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan .top b { font-size: 18px; }
.plan .amount { font-size: 30px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.plan .amount small { font-size: 13px; font-weight: 500; letter-spacing: 0; }
.plan ul { margin: 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; }
.plan.pro .btn { background: var(--paper); color: var(--ink); }
.plan.pro .btn:hover { box-shadow: 0 3px 0 var(--pen); }
.billnote, .ex { font-family: var(--mono); font-size: 11px; color: var(--soft); }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } .plan { padding: 22px; } }
.legal-card.wide { max-width: 760px; width: 100%; justify-self: center; }
@media (min-width: 900px) { .page:has(> .legal-card):not(:has(> .plans)) { max-width: 820px; margin: 0 auto; width: 100%; } .page:has(> .legal-card) > .legal-card { max-width: none; } }

/* ---------- Monthly / Yearly toggle (mockup .bill): radios + :has(), no script ---------- */
.plan-pick { display: grid; gap: 22px; }
.bill { display: inline-grid; grid-template-columns: auto auto; background: var(--white); border: 1.5px solid var(--ink); border-radius: 12px; padding: 3px; justify-self: start; position: relative; }
.bill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.bill label { border-radius: 9px; padding: 7px 14px; font-weight: 700; font-size: 13px; cursor: pointer; text-align: center; white-space: nowrap; color: var(--ink); }
.bill i { font-style: normal; font-family: var(--hand); font-weight: 400; color: var(--pen); font-size: 15px; }
.bill input:checked + label { background: var(--ink); color: var(--paper); }
.bill input:checked + label i { color: var(--sticky); }
.bill input:focus-visible + label { outline: 2px solid var(--pen); outline-offset: 2px; }
@media (max-width: 759px) { .bill { width: min(100%, 340px); grid-template-columns: 1fr 1fr; } .bill label { padding: 9px 10px; } }
.y-only, .y-in { display: none; }
.plan-pick:has(input[value="yearly"]:checked) .m-only,
.plan-pick:has(input[value="yearly"]:checked) .m-in { display: none; }
.plan-pick:has(input[value="yearly"]:checked) .y-only { display: block; }
.plan-pick:has(input[value="yearly"]:checked) .y-in { display: inline; }
.plan-pick:has(input[value="yearly"]:checked) .btn.y-only { display: flex; }
.plan .amount.m-in, .plan-pick:has(input[value="yearly"]:checked) .plan .amount.y-in { display: inline-block; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--white); border-radius: 12px; padding: 12px 14px; border: 1px solid var(--line); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 6px; color: var(--soft); font-size: 14px; }

/* ---------- details (expanders) ---------- */
.more { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.more summary { font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-weight: 400; font-size: 18px; line-height: 1; }
.more[open] summary::after { content: "–"; }
.more[open] summary { margin-bottom: 10px; }
.more ol, .more ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.more .addr { margin-top: 8px; }

/* ---------- sign in ---------- */
.auth-container { display: grid; gap: 28px; padding-top: 18px; align-items: center; }
.auth-card { display: grid; gap: 16px; max-width: 460px; min-width: 0; }
.auth-card h1 { font-size: clamp(34px, 8vw, 54px); font-weight: 800; letter-spacing: -.045em; line-height: .98; overflow-wrap: anywhere; }
.auth-card h1 u { text-decoration: none; background: linear-gradient(transparent 60%, var(--sticky) 60%); }
.auth-card .handnote { justify-self: start; font-size: 19px; }
.auth-card .fine { font-size: 12.5px; color: var(--soft); }
.auth-card .fine a { color: var(--pen); text-decoration: underline; text-underline-offset: 2px; }
.auth-card a.dm-tap-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; }
.auth-card h1 .dm-code-nowrap { white-space: nowrap; }
.auth-card .field-error { margin: 0; font-size: 13px; font-weight: 600; color: var(--coral); line-height: 1.35; }
.auth-card .field input.field-invalid { border-color: var(--coral); box-shadow: 0 3px 0 rgba(194, 64, 31, .25); }
.auth-card .field input.field-invalid:focus { box-shadow: 0 3px 0 var(--pen); }
.auth-card .box.dm-pro { border-color: var(--line); background: var(--panel); }
.auth-card .box.dm-connect { border-color: var(--ink); }
.auth-dev { display: grid; gap: 10px; border-top: 1.5px dashed var(--line); padding-top: 14px; }
.auth-side { position: relative; height: 330px; max-width: 460px; width: 100%; justify-self: center; }
.auth-side .pin { position: absolute; width: 150px; margin: 0; }
.auth-side .note { position: absolute; width: 210px; }
.auth-side .ap1 { left: 2%; top: 22px; transform: rotate(-5deg); }
.auth-side .ap2 { right: 2%; top: 6px; transform: rotate(3deg); }
.auth-side .ap3 { display: none; }
.auth-side .an1 { right: 4%; bottom: 0; width: 200px; font-size: 16px; transform: rotate(-3deg); z-index: 3; }
@media (max-width: 759px) { .auth-side { height: 330px; } .auth-side .pin { width: 132px; } }
@media (min-width: 900px) {
  .auth-container { grid-template-columns: 1fr 1fr; padding-top: 36px; gap: 48px; }
  .auth-side { height: 440px; max-width: 470px; background: var(--cork); background-image: radial-gradient(var(--cork-dot) 1px, transparent 1px); background-size: 16px 16px; border-radius: 20px; }
  .auth-side .pin { width: 128px; }
  .auth-side .ap1 { left: 20px; top: 34px; transform: rotate(-6deg); }
  .auth-side .ap2 { left: 170px; right: auto; top: 18px; transform: rotate(3deg); }
  .auth-side .ap3 { display: block; right: 20px; top: 48px; transform: rotate(-2deg); }
  .auth-side .an1 { left: 120px; right: auto; bottom: 26px; width: 220px; font-size: 17px; }
}

/* ---------- board (approved layout 2026-11-10: stats on top, settings rail, 5-block panel) ---------- */
.board { display: block; }
.b-side, .b-panel { display: none; }
.b-main { display: grid; gap: 12px; align-content: start; padding: 14px 16px 16px; min-width: 0; container-type: inline-size; }
.widget-close { position: absolute; top: 8px; right: 8px; margin: 0; }
.widget-close button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; font-size: 18px; line-height: 1; color: var(--soft); cursor: pointer; border-radius: 10px; }
.widget-close button:hover { color: var(--ink); background: var(--cork-soft); }
.dismissible-widget { position: relative; }
.dismissible-widget > .box-top { padding-right: 36px; }
.setup-checklist { display: grid; gap: 12px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px; padding: 16px 18px; }
.setup-step .setup-btn-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; margin-top: 6px; }
.setup-checklist.box.ink { padding: 18px; }
.setup-example { display: block; margin-top: 6px; padding: 8px 10px; background: var(--cork-soft); border-radius: 8px; font-family: var(--mono); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.setup-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.setup-step { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; }
.setup-step.setup-done { opacity: .72; }
.setup-n { width: 36px; height: 36px; border-radius: 50%; background: var(--sticky); font-family: var(--hand); font-size: 20px; display: grid; place-items: center; transform: rotate(-4deg); }
.setup-step b { display: block; font-size: 15px; }
.setup-step span:not(.setup-n):not(.setup-btn-row) { color: var(--soft); font-size: 13.5px; display: block; }
.setup-step .btn { margin-top: 8px; justify-self: start; }
.setup-survey p { color: var(--ink-soft); font-size: 14px; }
.setup-compact .setup-steps { display: none; }
.setup-oneline { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.setup-compact { padding: 10px 14px; gap: 6px; }
.setup-survey .btn-self-start, .btn-self-start { justify-self: start; }
.board-empty .b-panel { display: none !important; }
.link-split { display: grid; gap: 18px; }
.link-qr { display: grid; gap: 8px; justify-items: start; }
.link-next { display: grid; gap: 10px; }
.connect-gate h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.b-head { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.b-tools-row { display: grid; gap: 8px; }
@media (max-width: 899px) {
  .board-has-reels .b-main { display: flex; flex-direction: column; }
  .board-has-reels .b-head { order: 1; }
  .board-has-reels .b-tools-row { order: 2; }
  .board-has-reels .setup-checklist { order: 3; }
  .board-has-reels .paste-box { order: 4; }
  .board-has-reels .board-listing { order: 5; }
}
.b-title { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.b-title h1 { font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.b-sub { font-size: 13.5px; color: var(--soft); }
.stats-line { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin: 0; line-height: 1.35; }
.stats-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stats-strip.stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899px) {
  .stats-line { display: block; }
  .stats-strip { display: none; }
  .b-tools .seg a { min-height: 44px; padding: 10px 12px; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
  .on-reel .btn { min-height: 44px; font-size: 15px; }
}
@media (min-width: 900px) {
  .stats-line { display: none; }
}
.stat-tile { display: grid; gap: 1px; align-content: start; min-width: 0; background: var(--card); border: 1px solid var(--card-line); border-radius: 10px; padding: 9px 10px; }
.stat-label { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); line-height: 1.3; }
.stat-value { font-weight: 800; font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.stat-delta { font-size: 11.5px; font-weight: 600; color: var(--ok); }
.stat-delta.quiet { color: var(--soft); font-weight: 500; }
.b-tools { display: grid; gap: 8px; }
.b-tools .searchbox { border-radius: 10px; min-height: 44px; }
.b-tools .seg { border-radius: 10px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--chip-line); background: var(--card); border-radius: 99px; padding: 4px 11px; font-size: 12.5px; font-weight: 600; white-space: nowrap; min-height: 44px; align-items: center; display: inline-flex; }
.chip span { font-family: var(--mono); font-size: 11px; color: var(--soft); margin-left: 5px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--pen); border-color: var(--pen); color: var(--white); }
.chip.on span { color: #c7cdf5; }
label.chip.more { cursor: pointer; color: var(--pen); }
.chip.extra { display: none; }
.chips:has(.chips-toggle:checked) .chip.extra { display: block; }
.chips:has(.chips-toggle:checked) label.chip.more { display: none; }
.chips-toggle:focus-visible + label.chip { outline: 2px solid var(--pen); outline-offset: 2px; }
.b-plan { flex-basis: 100%; font-size: 13px; font-weight: 700; color: var(--pen); }
.sess { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-top: 14px; scroll-margin-top: 90px; }
.sess b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.sess span { font-family: var(--hand); color: var(--pen); font-size: 16px; }
.mason { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; padding-top: 12px; }
.mason > .pin { margin: 0; width: 100%; padding: 8px 8px 10px; }
.mason > .pin.tl { transform: rotate(-.6deg); }
.mason > .pin.tr { transform: rotate(.7deg); }
.mason > a.pin:hover { transform: rotate(0deg) translateY(-2px); }
.mason .thumb { aspect-ratio: auto; height: 200px; }
.mason .pin h4 { margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--ink); transform: none; }
.paste-box { display: none; gap: 10px; background: var(--white); border: 1.5px dashed var(--ink); border-radius: 14px; padding: 14px; scroll-margin-top: 90px; }
.paste-box.open, .paste-box:target { display: grid; }
.paste-box h2 { font-size: 15px; font-weight: 700; }
.empty-board { display: grid; gap: 14px; justify-items: start; padding: 10px 0; }
.empty-board .note { max-width: 340px; transform: rotate(-1.5deg); }
/* left rail */
.side-group { display: grid; gap: 4px; }
.side-group + .side-group { margin-top: 14px; }
.side-group > .label { padding: 0 8px; letter-spacing: var(--label-track); }
.b-side ul { list-style: none; margin: 0; padding: 0 6px; display: grid; gap: 2px; }
.b-side li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; min-width: 0; }
.b-side li a .n { flex: none; }
.b-side li a:hover { background: var(--cork); }
.b-side li a .n { font-family: var(--mono); font-size: 11px; color: var(--soft); font-weight: 400; }
.b-side li a.on { background: var(--ink); color: var(--paper); }
.b-side li a.on .n { color: var(--on-ink-soft); }
.ai-row { display: flex; align-items: center; gap: 8px; padding: 5px 10px; font-size: 14px; font-weight: 600; }
.ai-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.side-more { padding: 5px 10px; font-size: 13.5px; font-weight: 700; color: var(--pen); }
.side-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.plan-card { display: grid; gap: 2px; margin: 10px 8px 0; border: 1px dashed var(--chip-line); border-radius: 8px; padding: 10px; font-size: 13px; color: var(--ink-soft); }
.plan-card b { font-size: 14px; color: var(--ink); }
.plan-card:hover { border-color: var(--ink); }
.b-side .side-link, .b-panel .side-link { font-family: var(--mono); font-size: 11px; color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }
/* right panel */
.p-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); line-height: 1.5; }
.fmt { font-style: normal; color: var(--coral); }
.b-panel h3 { font-size: 23px; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; overflow-wrap: anywhere; }
.b-panel .panel-empty { color: var(--soft); font-size: 14px; }
.p-acts { display: flex; flex-wrap: nowrap; gap: 12px; align-items: center; }
.act-link { display: inline-flex; align-items: center; gap: 5px; color: var(--pen); font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.act-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.act { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--chip-line); border-radius: 6px; padding: 4px 8px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.act:hover { border-color: var(--ink); }
.act svg.ic { width: 14px; height: 14px; }
.shell.on-board > main.wrap { max-width: none; padding-left: 0; padding-right: 0; width: 100%; }
.shell.on-board .topbar .wrap.topbar-in { max-width: none; width: 100%; padding-left: 16px; padding-right: 16px; }
@media (min-width: 760px) {
  .link-split { grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 24px; }
}
/* Sized by the main column, not the window: a 1024 px laptop with both side columns stays roomy. */
@container (min-width: 640px) {
  .stats-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stats-strip.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .b-tools:has(> .seg) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
  .b-tools .seg { display: flex; }
  .b-tools .seg a { padding: 7px 12px; }
}
@media (min-width: 900px) {
  .on-board .topbar > .wrap.topbar-in { max-width: none; width: 100%; padding-left: 24px; padding-right: 24px; }
  .on-board main.wrap { max-width: none; padding: 0; }
  .on-board .foot .wrap { max-width: none; padding-left: 24px; padding-right: 24px; }
  .on-board .foot.slim { margin-top: 0; }
  .board { display: grid; grid-template-columns: 210px minmax(0, 1fr) 360px; align-items: start; min-height: calc(100vh - 64px); border-bottom: 1px solid var(--line); }
  .board-empty.board { grid-template-columns: 210px minmax(0, 1fr); }
  .b-side { display: block; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-x: hidden; overflow-y: auto; background: var(--paper-2); border-right: 1px solid var(--line); }
  .b-side-in { display: grid; align-content: start; padding: 20px 14px 24px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
  .b-side-in > * { min-width: 0; }
  .b-side li.ig-row a { flex-direction: column; align-items: stretch; gap: 2px; }
  .b-side li.ig-row .ig-handle { display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
  .b-main { padding: 24px 28px 32px; gap: 14px; }
  .b-title h1 { font-size: var(--fs-h1); letter-spacing: -.03em; }
  .b-sub { font-size: 14px; }
  .stats-strip { gap: 10px; }
  .stat-tile { padding: 10px 12px; }
  .stat-label { font-size: 10.5px; letter-spacing: .1em; }
  .stat-value { font-size: 22px; }
  .chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .b-plan { display: none; }
  .mason { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 18px; padding-top: 10px; }
  .b-main .sess { padding-top: 8px; }
  a.pin.is-open { outline: 3px solid var(--pen); outline-offset: 3px; }
  .b-panel { display: block; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; background: var(--panel); border-left: 1px solid var(--line); min-width: 0; }
  .b-panel-in { display: grid; gap: 12px; align-content: start; padding: 20px 20px 40px; }
}
@media (min-width: 1200px) {
  .board { grid-template-columns: 210px minmax(0, 1fr) 400px; }
}

/* ---------- the 5-block reel read (board panel + reel page) ---------- */
.rb { position: relative; display: grid; gap: 6px; min-width: 0; background: var(--white); border: 1px solid var(--card-line); padding: 12px 14px; }
.rb-sticky { background: var(--sticky); border-color: transparent; box-shadow: var(--note-shadow); }
.rb-h { font-family: var(--hand); font-weight: 400; font-size: 21px; line-height: 1.1; color: var(--pen); letter-spacing: 0; }
.rb .hw, .rb-list { font-family: var(--hand); font-size: 17px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.rb-list { margin: 0; padding-left: 20px; display: grid; gap: 3px; }
.rb .t { font-family: var(--mono); font-size: 11px; color: var(--coral); margin-right: 6px; white-space: nowrap; }
.rb-sub { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-top: 2px; }
.rb-row { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.4; }
.rb-row .k { flex: none; width: 92px; padding-top: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.beats { display: grid; gap: 6px; }
.beat { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px; font-size: 13.5px; line-height: 1.4; }
.beat .t { margin: 0; padding-top: 1px; }
.ost { font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); background: var(--cork-soft); padding: 1px 4px; overflow-wrap: anywhere; }
.ost a { color: var(--pen); text-decoration: underline; text-underline-offset: 2px; }
.rb-folds { display: flex; flex-wrap: wrap; gap: 0 16px; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 2px; }
.rb-folds > .rb-fold { border-top: 0; padding-top: 0; }
.rb-folds > .rb-fold[open] { flex-basis: 100%; }
.rb-fold { border-top: 1px dashed var(--line); padding-top: 8px; font-size: 13px; color: var(--ink-soft); }
.rb-fold summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.rb-fold summary::-webkit-details-marker { display: none; }
.rb-fold summary::after { content: " \25BE"; color: var(--soft); }
.rb-fold[open] summary::after { content: " \25B4"; }
.rb-fold[open] summary { margin-bottom: 6px; }
.rb-caption-body { font-family: var(--display); font-size: 15px; line-height: 1.45; color: var(--ink-soft); margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.rb-caption-teaser { cursor: pointer; list-style: none; }
.rb-caption-teaser::-webkit-details-marker { display: none; }
.rb-caption-fold:not([open]) .rb-caption-teaser { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rb-caption-fold:not([open]) .rb-caption-rest { display: none; }
.rb-caption-fold[open] .rb-caption-teaser { display: none; }
.rb-fold .transcript { font-size: 13.5px; }
.rb-chapters, .rb-comments, .rb-screen { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; line-height: 1.4; }
.rb-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* ---------- reel (mockup 04) ---------- */
.reel-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0 10px; position: sticky; top: 0; z-index: 25; background: var(--paper); }
.on-reel .topbar { display: none; }
.on-reel .page { padding-top: 6px; }
.reel-columns { display: grid; gap: 18px; padding-top: 10px; }
.r-top { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: start; }
.r-top .pin { margin: 6px 0 0; }
.r-top h1 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.04; overflow-wrap: anywhere; }
.r-top .by { font-size: 13px; color: var(--soft); margin-top: 4px; }
.reel-read .rb-h { font-size: 23px; }
.reel-read .rb .hw, .reel-read .rb-list { font-size: 18px; }
.r-top .row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.r-top .from { margin-top: 8px; }
.ask-side { display: none; }
.r-top.no-pin { grid-template-columns: 1fr; }
.reel-visual { display: none; }
.reel-read { display: grid; gap: 22px; min-width: 0; }
.r-sec { display: grid; gap: 10px; }
.r-sec h2 { font-size: 15px; font-weight: 700; }
.r-sec .note { font-size: 18px; }
.r-sec .hook { font-family: var(--hand); font-size: 20px; color: var(--pen); }
.r-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-soft); }
.r-list time { font-size: 11px; color: var(--pen); }
.slides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.slide-card { margin: 0; }
.slide-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.slide-card figcaption { display: grid; gap: 2px; margin-top: 6px; }
.slide-card figcaption span { font-family: var(--mono); font-size: 10px; color: var(--soft); text-transform: uppercase; letter-spacing: .05em; }
.slide-card figcaption p { font-family: var(--hand); color: var(--pen); font-size: 15px; line-height: 1.15; }
.transcript { white-space: pre-wrap; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.chipsw { display: flex; flex-wrap: wrap; gap: 6px; }
.askbar { position: sticky; bottom: 0; z-index: 20; background: var(--paper); padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); margin: 0 -16px; border-top: 1px solid var(--line); box-shadow: 0 -10px 18px -14px rgba(31,36,48,.35); display: grid; gap: 6px; }
.has-tabs .askbar { bottom: 74px; }
.askbar .from { text-align: center; }
.ai-note { border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; color: var(--soft); font-size: 13.5px; }
.ai-note b { color: var(--ink); font-size: 14px; }
.ai-note a { color: var(--pen); text-decoration: underline; text-underline-offset: 2px; }
.status-note { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--pen); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } a.pin, .btn { transition: none; } }
@media (min-width: 900px) {
  .r-top { grid-template-columns: 1fr; }
  .r-top > .pin { display: none; }
  .r-top h1 { font-size: 40px; letter-spacing: -.04em; }
  .on-reel .topbar { display: block; }
  .reel-bar { position: static; background: transparent; }
  .reel-columns { max-width: 760px; }
  .reel-columns:has(.reel-visual) { max-width: 1100px; margin: 0 auto; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
  .on-reel .reel-bar { max-width: 1100px; margin: 0 auto; width: 100%; }
  .reel-read .answers:has(> .note + .note) { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 18px; }
  .reel-visual { display: block; position: sticky; top: 96px; padding-top: 12px; }
  .reel-visual .pin { transform: rotate(-1.5deg); }
  .reel-visual .thumb .ov { font-size: 26px; }
  .has-tabs .askbar { bottom: 0; }
  .reel-read .askbar { display: none; }
  .reel-columns:not(:has(.reel-visual)) .reel-read .askbar { display: grid; justify-items: start; background: transparent; border-top: 0; box-shadow: none; position: static; padding: 0; margin: 0; }
  .ask-side { display: grid; gap: 6px; margin-top: 22px; }
  .reel-read { max-width: 744px; }
  .askbar .from { text-align: left; }
}

/* ---------- connect (mockup 05) ---------- */
.connect-grid { display: grid; gap: 22px; }
.connect-help { gap: 10px; }
.connect-help h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.02em; }
.connect-side-tight { gap: 24px; }
.inline-form.mid { align-items: center; }
.link-actions { justify-self: start; }
.app-rows { display: grid; gap: 10px; }
.consent-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 900px) {
  .connect-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); grid-template-areas: 'main side' 'help side'; column-gap: 36px; row-gap: 12px; align-items: start; max-width: 980px; }
  .connect-main { grid-area: main; }
  .connect-side { grid-area: side; }
  .connect-help { grid-area: help; }
  .connect-main .page-head h1 { font-size: var(--fs-h1); max-width: none; }
  .page:has(.connect-grid) { gap: 18px; padding-top: 20px; max-width: 1040px; }
  .page:has(.acct-grid) { max-width: 1040px; gap: 18px; padding-top: 20px; }
}

/* ---------- account ---------- */
.acct-grid { display: grid; gap: 16px; }
.acct-stack { display: grid; gap: 0; max-width: 640px; width: 100%; }
.acct-sec { display: grid; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.acct-sec:last-child { border-bottom: 0; }
.acct-sec > h2 { font-size: 15px; font-weight: 700; margin: 0; }
.acct-sec h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.02em; }
.acct-sec > .btn { justify-self: start; }
.acct-sec .from { font-family: inherit; font-size: var(--fs-small); color: var(--soft); }
.acct-head .page-head h1 { font-size: var(--fs-h1); }
.acct-sec .sec-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.acct-sec.danger h2 { color: var(--coral); }
.acct-head { display: flex; align-items: center; gap: 14px; }
.acct-head .avatar { width: 52px; height: 52px; font-size: 22px; }
.acct-head .email { font-family: var(--mono); font-size: 13px; color: var(--soft); overflow-wrap: anywhere; }
.acct-grid > .stack { gap: 16px; }
@media (min-width: 900px) { .acct-grid { grid-template-columns: 1fr 1fr; align-items: start; } .acct-grid .wide { grid-column: 1 / -1; } }
.acct-head .page-head { gap: 4px; }

/* ---------- message / error / survey ---------- */
.msg-wrap { display: grid; gap: 30px; align-items: center; }
.msg-art { display: none; }
.msg { display: grid; gap: 16px; justify-items: start; padding-top: 30px; max-width: 560px; }
.msg .note small { font-size: 12px; }
@media (min-width: 900px) { .msg-wrap { grid-template-columns: 1fr 1fr; min-height: 380px; } .msg-art { display: grid; place-items: center; height: 100%; background: var(--cork); background-image: radial-gradient(var(--cork-dot) 1px, transparent 1px); background-size: 16px 16px; border-radius: 20px; min-height: 340px; } .msg-art .pin { width: 170px; transform: rotate(14deg) translateY(30px); } }
.msg .note { font-size: 22px; transform: rotate(-1.5deg); max-width: 420px; }
.msg h1 { font-size: clamp(32px, 7vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.msg .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.survey { display: grid; gap: 10px; max-width: 460px; }
.copy-key { display: flex; gap: 8px; align-items: center; }

/* ---------- landing hero (mockup 01 + desktop landing) ---------- */
.d-hero { display: grid; gap: 22px; padding-top: 10px; padding-bottom: 30px; }
.hero-copy { display: flex; flex-direction: column; gap: 14px; }
.d-hero h1 { font-size: clamp(40px, 12vw, 50px); font-weight: 800; letter-spacing: -.045em; line-height: .96; }
.d-hero h1 u, .l-head h2 u { text-decoration: none; background: linear-gradient(transparent 58%, var(--sticky) 58%); }
.lede { color: var(--ink-soft); font-size: 15px; }
.scribble { font-family: var(--hand); color: var(--pen); font-size: 19px; transform: rotate(-2deg); align-self: flex-start; }
.scribble::after { content: " \2192"; }
.ctas { display: grid; gap: 12px; }
.fine { font-size: 13.5px; color: var(--soft); }
.fine a { color: var(--pen); text-decoration: underline; text-underline-offset: 3px; }

/* pin wall: phone = 3 pins + 1 note (mockup 01), wider = 4 pins + 2 notes (desktop). No caption is ever covered. */
.d-wall { position: relative; height: 350px; margin-top: 10px; }
.d-wall .pin { position: absolute; margin: 0; width: 37%; }
.d-wall .note { position: absolute; }
.d-wall .wp1 { left: 0; top: 16px; transform: rotate(-6deg); }
.d-wall .wp2 { left: 31.5%; top: 0; transform: rotate(2deg); z-index: 1; }
.d-wall .wp3 { right: 0; top: 24px; transform: rotate(6deg); z-index: 2; }
.d-wall .wp4, .d-wall .wn2 { display: none; }
.d-wall .wn1 { left: 8%; bottom: 0; width: 220px; z-index: 3; transform: rotate(-3deg); font-size: 16px; }
.d-wall .pin h4 { font-size: 16px; }
.d-wall .thumb .ov { font-size: 13px; }
@media (min-width: 640px) {
  .d-wall { width: 540px; height: 470px; justify-self: center; background: var(--cork); background-image: radial-gradient(var(--cork-dot) 1px, transparent 1px); background-size: 16px 16px; border-radius: 20px; margin-top: 10px; }
  .d-wall .pin { width: 150px; }
  .d-wall .thumb .ov { font-size: 15px; }
  .d-wall .pin h4 { font-size: 17px; }
  .d-wall .wp1 { left: 20px; top: 30px; transform: rotate(-6deg); }
  .d-wall .wp2 { left: 186px; top: 16px; transform: rotate(3deg); }
  .d-wall .wp3 { right: 20px; left: auto; top: 38px; transform: rotate(-2deg); }
  .d-wall .wp4 { display: block; left: 216px; top: 224px; width: 128px; transform: rotate(-3deg); }
  .d-wall .wn1 { left: 14px; bottom: 16px; width: 212px; font-size: 17px; transform: rotate(-4deg); }
  .d-wall .wn2 { display: block; right: 18px; bottom: 22px; width: 168px; font-size: 17px; transform: rotate(3deg); }
  .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
  .d-hero h1 { font-size: 56px; }
  .lede { font-size: 17px; max-width: 46ch; }
}
@media (min-width: 1100px) {
  .d-hero { grid-template-columns: minmax(0, 1fr) 540px; gap: 40px; align-items: center; padding-top: 30px; padding-bottom: 56px; }
  .d-hero h1 { font-size: clamp(54px, 4.6vw, 66px); letter-spacing: -.05em; line-height: .92; }
  .hero-copy { gap: 0; }
  .hero-copy .lede { font-size: 18px; margin-top: 18px; }
  .hero-copy .ctas { order: 2; margin-top: 24px; }
  .hero-copy .scribble { order: 3; margin-top: 18px; font-size: 22px; transform: rotate(-3deg); }
  .hero-copy .scribble::after { content: ""; }
  .hero-copy .fine { order: 4; margin-top: 14px; }
  .d-wall { margin-top: 0; }
}

/* ---------- landing blocks ---------- */
#how .l-head h2 { max-width: none; }
.l-block { display: grid; gap: 16px; padding-top: 26px; padding-bottom: 26px; border-top: 1.5px dashed var(--line); scroll-margin-top: 76px; }
.l-head { display: grid; gap: 10px; align-content: start; }
.l-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
@media (min-width: 900px) {
  .l-block { gap: 26px; padding-top: 48px; padding-bottom: 48px; }
  .l-head h2 { font-size: 40px; letter-spacing: -.04em; max-width: 20ch; }
  .l-two { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
}

/* sharing story (mockup 02): tap 1 on the reel, tap 2 on @quickrix, then a sticky note */
.share-grid { display: grid; gap: 22px; }
.share-step { display: grid; gap: 16px; align-content: start; }
.feed { position: relative; width: 74%; max-width: 250px; justify-self: center; border: 6px solid var(--white); box-shadow: 0 12px 22px -14px rgba(31,36,48,.6); transform: rotate(-1.5deg); }
.feed .thumb { aspect-ratio: 9 / 12; }
.feed .thumb .ov { font-size: 20px; }
.rail { position: absolute; right: 8px; bottom: 34px; display: grid; gap: 10px; justify-items: center; color: #fff; }
.rail svg.ic { width: 20px; height: 20px; }
.rail .hit { width: 38px; height: 38px; border-radius: 50%; background: var(--sticky); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,242,122,.45); }
.tapmark { position: absolute; font-family: var(--hand); color: var(--pen); font-size: 18px; background: var(--white); padding: 0 8px; border-radius: 6px; box-shadow: 0 4px 10px -6px rgba(0,0,0,.4); white-space: nowrap; z-index: 2; }
.tapmark.t1 { right: 52px; bottom: 44px; transform: rotate(4deg); }
.sendto { background: var(--white); border: 1.5px solid var(--ink); border-radius: 18px; padding: 12px; display: grid; gap: 10px; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding-top: 8px; }
.person { display: grid; justify-items: center; gap: 5px; font-size: 11px; font-weight: 600; position: relative; }
.person i { width: 46px; height: 46px; border-radius: 50%; background: var(--cork); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 17px; }
.person.qr i { background: var(--ink); color: var(--sticky); box-shadow: 0 0 0 3px var(--sticky), 0 0 0 5px var(--ink); }
.person.blank span { width: 34px; height: 7px; border-radius: 4px; background: var(--cork); margin-top: 3px; }
.person.blank i { opacity: .8; }
.tapmark.t2 { top: -18px; left: 34px; transform: rotate(-5deg); }
.note.sent { transform: rotate(-1.5deg); font-size: 19px; }
.first { border-top: 1.5px dashed var(--line); padding-top: 12px; display: grid; gap: 4px; font-size: 13.5px; color: var(--soft); }
@media (min-width: 900px) {
  .share-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; align-items: start; }
  .share-step .steps { min-height: 92px; }
  .share-step:last-child { padding-top: 108px; }
  .feed { max-width: 210px; }
  .note.sent { margin-top: 8px; font-size: 21px; padding: 16px 16px 12px; }
}

/* ai chat demo */
.aichat { background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden; }
.aichat-top { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--soft); }
.chat { padding: 12px; display: grid; gap: 14px; }
.bubble-me { justify-self: end; max-width: 82%; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 13.5px; }
.tool { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--pen); background: var(--pen-bg); border-radius: 8px; padding: 5px 8px; justify-self: start; }
.tool svg.ic { width: 15px; height: 15px; }
.bubble-ai { display: grid; gap: 6px; font-size: 13.5px; background: var(--paper); border-radius: 16px 16px 16px 4px; padding: 10px 12px; max-width: 92%; }
@media (min-width: 900px) { .chat { padding: 18px; gap: 16px; } .bubble-me, .bubble-ai { font-size: 15px; } }

/* kinds */
.kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.kinds span { background: var(--white); border: 1.5px solid var(--ink); border-radius: 99px; padding: 4px 11px; font-size: 13px; font-weight: 600; }
.kinds span:nth-child(3n) { background: var(--sticky); }
.kinds span:nth-child(4n) { transform: rotate(-2deg); }
@media (min-width: 900px) { .kinds { gap: 10px; } .kinds span { font-size: 15px; padding: 6px 14px; } }

@media (max-width: 400px) {
  .d-hero h1 { font-size: 38px; }
  .d-wall .wn1 { left: 6%; width: 200px; }
}
