/* CollabKit pre-launch page.
   Direction: The product performs (seed 364888065). Type: League Spartan / Figtree. Colour: plum-black and pink.
   Product fragments ([data-ui]) follow the app sheet "Accent ladder": pink only on small marks, pale tints on areas. */

:root {
  --bg: #0d060b;
  --surface: #1b0e17;
  --ink: #ffffff;
  --muted: #b3a8b0;
  --accent: #ff488b;
  --accent-ink: #0d060b;
  --plum: #470c35;
  --light: #ffffff;
  --light-ink: #101421;
  --light-muted: #4a4e5e;
  --tint: #fbf1f5;
  --tint-2: #ffe0ec;
  --well: #f5eef2;

  --display: "League Spartan", "Figtree", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.4rem, 0.9rem + 5.4vw, 5.25rem);
  --step-figure: clamp(7.5rem, 16vw, 15rem);

  --m: clamp(20px, 2.8vw, 40px);
  --gap: 24px;
  --section: clamp(104px, 11vw, 200px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;

  /* product fragments */
  --ui-ground: #fbf7f8;
  --ui-surface: #ffffff;
  --ui-border: #ecdfe5;
  --ui-text: #1a1016;
  --ui-muted: #6a5c65;
  --ui-tint: #ffe6ef;
  --ui-tint-ink: #8a1446;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-wrap: balance;
}
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { padding-inline: var(--m); }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 0;
  font-weight: 600; font-size: var(--step-body); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button[disabled] { opacity: 0.7; cursor: progress; }
.button-small { min-height: 40px; padding: 0 16px; font-size: var(--step-small); }
.link {
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 0.25em; text-decoration-thickness: 0.08em;
  transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--ink); color: var(--accent-ink); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- navigation ---------- */
.nav {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 28px;
}
.wordmark { font-family: var(--display); font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.04em; line-height: 1; text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: var(--step-small); }
.nav nav .link { text-decoration-color: transparent; }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero-copy { padding-top: clamp(48px, 7vw, 108px); }
.hero h1 { font-size: var(--step-display); text-wrap: initial; }
.hero-lead { margin-top: 32px; max-width: 34ch; font-size: var(--step-body); }
.waitlist { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.waitlist input, .sentence input {
  flex: 1 1 200px; min-width: 0; min-height: 52px; padding: 0 16px;
  background: var(--surface); color: var(--ink);
  border: 1px solid #5c4655; border-radius: 0;
  font-size: var(--step-body);
}
.waitlist input::placeholder, .sentence input::placeholder { color: #a89aa3; }
.waitlist input:focus-visible, .sentence input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
input[aria-invalid="true"] { border-color: var(--accent); }
.form-note { flex-basis: 100%; min-height: 1.5em; font-size: var(--step-small); color: var(--muted); }
.form-note[data-state="error"] { color: #ff8db5; }
.form-note[data-state="ok"], .form-note[data-state="soon"] { color: var(--ink); }
.hero-price { margin-top: 4px; font-size: var(--step-body); }
.hero-price strong { font-weight: 600; }

.stage { position: relative; margin-top: 56px; clip-path: polygon(0 0, 72px 0, 104px 32px, 100% 32px, 100% 100%, 0 100%); }
.stage-fill {
  position: relative;
  background: var(--plum);
  padding: 56px 16px 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero { min-height: max(100svh, 820px); }
  .hero-copy { padding-top: clamp(80px, 9vh, 120px); }
  .hero-lead, .waitlist, .hero-price { max-width: calc((100vw - 2 * var(--m) + var(--gap)) / 12 * 4 - var(--gap)); }
  .stage {
    position: absolute; margin: 0;
    left: calc(var(--m) + (100% - 2 * var(--m) + var(--gap)) / 12 * 4);
    right: 0; top: 42%; bottom: 0;
    clip-path: polygon(0 0, 200px 0, 248px 48px, 100% 48px, 100% 100%, 0 100%);
  }
  .stage-fill { position: absolute; inset: 0; padding: 0; }
  .stage .chatcards { position: absolute; left: 56px; top: 104px; }
}

/* ---------- shared fragment base ---------- */
.ui {
  font-family: var(--text);
  font-size: 14px; line-height: 1.4;
  color: var(--ui-text);
  background: var(--ui-surface);
  border-radius: 10px;
  text-align: left;
}
.ui strong { font-weight: 600; }
.ui small { display: block; font-size: 13px; color: var(--ui-muted); font-weight: 400; }
.ui .brand { display: block; font-size: 13px; color: var(--ui-muted); }
.ui .prod { display: block; font-size: 15px; font-weight: 600; color: var(--ui-text); }
.ui .meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--ui-muted); }
.pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  background: #f1ecef; color: #3d3238;
}
.pill-live { background: var(--ui-tint); color: var(--ui-tint-ink); }
.pill-done { background: #dcfae5; color: #04250e; }
.pill-warn { background: #fff1db; color: #6e3a00; }
.pill-soon { background: var(--ui-tint); color: var(--ui-tint-ink); }
.ui-btns { display: inline-flex; gap: 8px; }
.ui-btn {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 7px;
  border: 1px solid #d9c9d1; background: #fff; font-size: 13px; font-weight: 600; color: var(--ui-text); white-space: nowrap; /* inside [data-ui] fragment */
}
.ui-btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* hero: chat read into cards */
.chatcards {
  display: grid; grid-template-columns: 400px 300px;
  width: 700px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 6, 11, 0.35); /* inside [data-ui] fragment */
}
.cc-chat { border-right: 1px solid var(--ui-border); } /* inside [data-ui] fragment */
.cc-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--ui-border); } /* inside [data-ui] fragment */
.cc-head strong { display: block; font-size: 15px; }
.avatar {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ui-tint); color: var(--ui-tint-ink); font-weight: 600;
}
.cc-thread {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 16px 24px; max-height: 470px; overflow-y: auto; scrollbar-width: thin;
}
.cc-thread li {
  max-width: 82%; padding: 8px 12px; border-radius: 16px; font-size: 14px;
  transition: opacity var(--t-ui) ease, box-shadow var(--t-ui) ease, background-color var(--t-ui) ease;
}
.cc-thread .in { align-self: flex-start; background: #f2edf0; border-bottom-left-radius: 4px; }
.cc-thread .out { align-self: flex-end; background: var(--ui-tint); border-bottom-right-radius: 4px; }
.cc-thread .day { align-self: center; padding: 6px 0 0; font-size: 13px; color: var(--ui-muted); }
.chatcards[data-active]:not([data-active=""]) .cc-thread li[data-deal] { opacity: 0.32; }
.chatcards .cc-thread li.is-lit { opacity: 1 !important; box-shadow: 0 0 0 2px var(--accent); } /* inside [data-ui] fragment */
.cc-cards { background: var(--ui-ground); padding: 14px 14px 16px; }
.cc-cards-head { font-size: 14px; color: var(--ui-muted); padding: 4px 2px 12px; }
.cc-cards-head strong { color: var(--ui-text); }
.cc-cards ul { display: grid; gap: 8px; }
.dcard {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 10px 12px; border-radius: 8px;
  background: #fff; border: 1px solid var(--ui-border); /* inside [data-ui] fragment */
  transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.dcard:active { transform: scale(0.98); }
.dcard[aria-pressed="true"] { border-color: var(--accent); background: #fff6fa; box-shadow: 0 0 0 1px var(--accent); } /* inside [data-ui] fragment */
@media (hover: hover) and (pointer: fine) { .dcard:hover { border-color: #e6a9c1; } }
.cc-hint { margin-top: 12px; font-size: 13px; color: var(--ui-muted); }


@media (max-width: 1023px) {
  .chatcards { width: 100%; max-width: 700px; }
}
@media (max-width: 719px) {
  .chatcards { grid-template-columns: 1fr; }
  .cc-chat { border-right: 0; border-bottom: 1px solid var(--ui-border); } /* inside [data-ui] fragment */
  .cc-thread { max-height: 340px; }
  .stage-fill { padding-bottom: 0; }
  .chatcards { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
}

/* ---------- section fields ---------- */
.field-dark { background: var(--bg); color: var(--ink); }
.field-light { background: var(--light); color: var(--light-ink); }
.field-tint { background: var(--tint); color: var(--light-ink); }
.field-plum { background: var(--plum); color: var(--ink); }
section:not(.hero):not(.fields) { padding-block: var(--section); }
.field-light .button:hover, .field-tint .button:hover { background: var(--light-ink); color: var(--ink); }

/* 5/7 rows */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.split-text { grid-column: 1 / span 5; display: grid; gap: 20px; max-width: 30em; }
.split-text h2 { margin-bottom: 12px; }
.split-frag { grid-column: 7 / -1; min-width: 0; }
.bleed-right { margin-right: calc(-1 * var(--m)); overflow: hidden; }
@media (max-width: 1023px) {
  .split-text, .split-frag { grid-column: 1 / -1; }
}

/* board */
.board-sec .split { align-items: center; }
.board-sec .split-text { grid-column: 1 / span 4; }
.board-sec .split-frag { grid-column: 5 / -1; }
.board { width: 1188px; background: var(--ui-ground); padding: 16px 16px 20px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.board-bar { display: flex; align-items: center; gap: 16px; padding: 0 4px 16px; }
.board-bar > strong { font-size: 16px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: #efe6eb; font-size: 13px; }
.seg span { padding: 4px 10px; border-radius: 6px; color: var(--ui-muted); }
.seg .on { background: #fff; color: var(--ui-text); font-weight: 600; }
.toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ui-muted); }
.switch { width: 30px; height: 18px; border-radius: 9px; background: #d9ccd3; position: relative; }
.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.cols { display: grid; grid-template-columns: repeat(6, 184px); gap: 12px; align-items: start; }
.col { display: grid; gap: 8px; }
.col-h { font-size: 13px; font-weight: 600; padding: 0 4px 4px; display: flex; gap: 6px; }
.col-h span { color: var(--ui-muted); font-weight: 400; }
.bcard { position: relative; background: #fff; border: 1px solid var(--ui-border); border-radius: 8px; padding: 10px 12px; } /* inside [data-ui] fragment */
.bcard.is-open { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); } /* inside [data-ui] fragment */
.menu {
  position: absolute; z-index: 2; left: -8px; top: calc(100% + 8px); width: 272px;
  background: #fff; border: 1px solid var(--ui-border); border-radius: 10px; padding: 10px 12px 6px; /* inside [data-ui] fragment */
  box-shadow: 0 12px 32px rgba(26, 16, 22, 0.16); /* inside [data-ui] fragment */
}
.menu-h { font-size: 13px; font-weight: 600; color: var(--ui-muted); padding-bottom: 4px; }
.hist { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 7px 0; font-size: 14px; }
.hist + .hist { border-top: 1px solid #f3ecf0; } /* inside [data-ui] fragment */
.undo { font-size: 13px; font-weight: 600; color: var(--ui-tint-ink); }
.board .cols { padding-bottom: 150px; }
@media (max-width: 1023px) {
  .board-sec .split-text, .board-sec .split-frag { grid-column: 1 / -1; }
  .bleed-right { margin-right: 0; overflow: visible; }
  .board { width: 100%; border-radius: 10px; }
  .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .board .cols { padding-bottom: 0; }
  .menu { position: relative; left: auto; top: auto; width: auto; margin-top: 10px; box-shadow: none; } /* inside [data-ui] fragment */
  .seg span:not(.on) { display: none; }
}

@media (max-width: 699px) {
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .board { padding: 12px; }
  .board-bar { flex-wrap: wrap; gap: 10px; }
  .bcard { padding: 9px 10px; }
}

/* one card, four fields */
.fields { display: grid; grid-template-columns: repeat(4, 1fr); }
.field { position: relative; min-height: 84svh; padding: 28px; }
.field h2 { font-size: var(--step-lead); line-height: 1.05; letter-spacing: -0.02em; max-width: 9em; }
.f1 { background: var(--surface); color: var(--ink); }
.f2 { background: var(--plum); color: var(--ink); }
.f3 { background: var(--tint-2); color: var(--light-ink); }
.f4 { background: var(--tint); color: var(--light-ink); }
.lcard {
  position: absolute; top: 38%; left: 50%; margin-left: -130px; width: 260px;
  padding: 14px 14px 12px; border: 1px solid var(--ui-border); /* inside [data-ui] fragment */
  display: grid; gap: 2px;
  transition: translate 150ms var(--ease-out);
}
.lcard .row { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f3ecf0; font-size: 13px; color: var(--ui-muted); } /* inside [data-ui] fragment */
.lcard .row strong { color: var(--ui-text); text-align: right; }
.lcard .from { margin-top: 10px; padding-top: 8px; border-top: 1px solid #f3ecf0; font-size: 13px; color: var(--ui-muted); } /* inside [data-ui] fragment */
@media (hover: hover) and (pointer: fine) { .field:hover .lcard { translate: 0 -6px; } }
.clause {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.05; letter-spacing: -0.02em;
  text-wrap: balance; max-width: 11em;
}
@media (max-width: 1199px) {
  .fields { grid-template-columns: repeat(2, 1fr); }
  .field { min-height: 64svh; }
}
@media (max-width: 699px) {
  .fields { grid-template-columns: 1fr; }
  .field { min-height: 0; padding: 40px 20px 56px; display: flex; flex-direction: column; gap: 24px; }
  .field h2 { order: -2; }
  .clause { position: static; order: -1; }
  .lcard { position: relative; top: auto; left: auto; margin: 8px 0 0; }
}

/* drafts */
.drafts-sec .split-frag { grid-column: 7 / span 6; }
.drafts { background: var(--ui-ground); border: 1px solid var(--ui-border); padding: 16px; max-width: 600px; } /* inside [data-ui] fragment */
.mail { background: #fff; border: 1px solid var(--ui-border); border-radius: 8px; padding: 14px 16px; display: grid; gap: 6px; } /* inside [data-ui] fragment */
.mail-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mail-h small { display: inline; }
.mail-s { font-weight: 600; }
.drafts-h { margin: 16px 2px 8px; font-size: 13px; font-weight: 600; color: var(--ui-muted); }
.draft { background: #fff; border: 1px solid var(--ui-border); border-radius: 8px; padding: 12px 14px; } /* inside [data-ui] fragment */
.draft + .draft { margin-top: 8px; }
.draft.is-picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); } /* inside [data-ui] fragment */
.blank {
  display: inline-block; min-width: 4.2em; padding: 0 6px; border-radius: 4px;
  background: var(--ui-tint); color: var(--ui-tint-ink); font-size: 13px; font-weight: 600; text-align: center;
  border-bottom: 2px solid var(--accent);
}
.draft-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--ui-muted); }
@media (max-width: 1023px) { .drafts-sec .split-frag { grid-column: 1 / -1; } }

/* assistant */
.ask { min-height: 88svh; overflow-x: clip; }
.ask-h { font-size: var(--step-head); }
.ask-form { margin-top: 40px; position: relative; background: none; }
.ask-input {
  width: 100%; padding: 0; border: 0; background: transparent; color: var(--light-ink);
  font-family: var(--display); font-weight: 700; font-size: var(--step-display); letter-spacing: -0.04em; line-height: 1.05;
  caret-color: var(--accent); outline: none; white-space: nowrap; text-overflow: clip;
}
.ask-form:focus-within { outline: 2px solid var(--accent); outline-offset: 8px; }
.caret {
  position: absolute; top: 0.08em; width: 0.08em; height: 0.9em; background: var(--accent);
  font-size: var(--step-display); pointer-events: none;
  animation: blink 1.06s steps(1) infinite;
}
.ask-form:focus-within .caret { display: none; }
.mirror { position: absolute; left: 0; top: 0; max-width: none; visibility: hidden; white-space: pre; font-family: var(--display); font-weight: 700; font-size: var(--step-display); letter-spacing: -0.04em; }
@keyframes blink { 50% { opacity: 0; } }
.ask-answer { margin-top: 48px; max-width: 560px; padding: 16px 18px; border: 1px solid var(--ui-border); transition: opacity 200ms ease; } /* inside [data-ui] fragment */
.ask-answer.is-swapping { opacity: 0.25; }
.ans-h { font-size: 15px; font-weight: 600; }
.ans-rows { margin-top: 10px; }
.ans-rows li { display: grid; grid-template-columns: 1fr auto 96px; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #f3ecf0; font-size: 14px; color: var(--ui-muted); } /* inside [data-ui] fragment */
.ans-rows li strong { color: var(--ui-text); margin-right: 6px; }
.ans-rows .when { text-align: right; font-variant-numeric: tabular-nums; }
.ans-note { margin-top: 10px; font-size: 13px; color: var(--ui-muted); }
.ask-try { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.try {
  padding: 4px 0; border: 0; background: none; cursor: pointer; font-size: var(--step-body); color: var(--light-ink);
  text-decoration: underline; text-decoration-color: #e3b5c8; text-underline-offset: 0.25em; text-decoration-thickness: 0.08em;
  transition: text-decoration-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.try:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .try:hover { text-decoration-color: var(--light-ink); } }
.ask-note { margin-top: 28px; max-width: 46ch; color: var(--light-ink); }
@media (max-width: 699px) {
  .ask { min-height: 0; }
  .ask-form { margin-top: 28px; }
  .ask-answer { margin-top: 28px; }
  .ans-rows li { grid-template-columns: 1fr auto; }
  .ans-rows .when { grid-column: 1 / -1; text-align: left; margin-top: -6px; }
  .ask-try { gap: 8px; }
  .try { min-height: 44px; padding: 0 14px; background: #f3e4eb; text-decoration: none; text-align: left; }
}

/* small proofs */
.smalls-h { max-width: 14em; }
.smalls .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.smalls-h, .mods { grid-column: 3 / -1; }
.mods { margin-top: 64px; display: grid; gap: clamp(64px, 7vw, 112px); }
.mod { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 420px); gap: 32px; align-items: start; }
.panel { background: var(--well); padding: 20px; min-height: 120px; display: grid; align-content: center; }
.mod-text { display: grid; gap: 10px; }
.mod-text p { font-size: var(--step-body); }
.mod-text .soft { color: var(--light-muted); font-size: var(--step-small); }
.seen { padding: 14px 16px; border: 1px solid var(--ui-border); } /* inside [data-ui] fragment */
.seen-msg { display: inline-block; padding: 8px 12px; border-radius: 16px; border-bottom-left-radius: 4px; background: #f2edf0; }
.seen-meta { margin-top: 8px; font-size: 13px; color: var(--ui-muted); }
.upload { padding: 6px 16px; border: 1px solid var(--ui-border); } /* inside [data-ui] fragment */
.up-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; }
.up-row + .up-row { border-top: 1px solid #f3ecf0; } /* inside [data-ui] fragment */
.up-row > span:not(.pill) { color: var(--ui-muted); }
.undo { cursor: default; }
.ui.undo { padding: 6px 16px; border: 1px solid var(--ui-border); font-size: 14px; color: var(--ui-text); font-weight: 400; } /* inside [data-ui] fragment */
.blanks { padding: 14px 16px; border: 1px solid var(--ui-border); } /* inside [data-ui] fragment */
@media (max-width: 1023px) {
  .smalls-h, .mods { grid-column: 1 / -1; }
  .mod { grid-template-columns: 1fr; gap: 16px; }
  .mods { margin-top: 40px; gap: 64px; }
}

/* channels */
.channels-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: center; }
.list-col { grid-column: 1 / span 5; }
.rows { margin-top: 32px; }
.rows li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 0; }
.rows .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.rows .name { font-weight: 600; }
.rows .val { margin-left: auto; text-align: right; font-size: var(--step-small); color: var(--light-muted); }
.rows-group { margin-top: 28px; max-width: 36ch; }
.rows-soon { margin-top: 24px; font-size: var(--step-small); font-weight: 600; color: var(--light-muted); }
.rows.soon { margin-top: 4px; }
.rows.soon .dot { background: transparent; box-shadow: inset 0 0 0 2px var(--accent); }
.rows.soon .name { font-weight: 500; color: var(--light-muted); }
.photo { grid-column: 7 / -1; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.photo figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--light-muted); max-width: 52ch; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .photo { overflow: visible; }
    .photo img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { transform: scale(1.06) translateY(-2%); } to { transform: scale(1.06) translateY(2%); } }
  }
}
.photo-crop { overflow: hidden; }
@media (max-width: 1023px) {
  .list-col, .photo { grid-column: 1 / -1; }
}

/* coming later */
.later .split-frag { grid-column: 7 / span 5; }
.takes { border: 1px solid var(--ui-border); max-width: 440px; overflow: hidden; } /* inside [data-ui] fragment */
.takes-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.takes-head strong { display: block; font-size: 15px; }
.tabs { display: flex; gap: 20px; padding: 0 16px; border-bottom: 1px solid var(--ui-border); font-size: 14px; color: var(--ui-muted); } /* inside [data-ui] fragment */
.tabs span { padding: 8px 0; }
.tabs .on { color: var(--ui-text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); } /* inside [data-ui] fragment */
.take-rows li { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid #f3ecf0; } /* inside [data-ui] fragment */
.take-rows .dur { font-variant-numeric: tabular-nums; color: var(--ui-muted); }
.take-step { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ui-ground); border-bottom: 1px solid #f3ecf0; } /* inside [data-ui] fragment */
.take-foot { padding: 14px 16px; }
@media (max-width: 1023px) { .later .split-frag { grid-column: 1 / -1; } }

/* price */
.price-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.price-text { grid-column: 1 / span 4; align-self: start; display: grid; gap: 20px; }
.price-text p { max-width: 30ch; }
.price-fig { grid-column: 6 / -1; position: relative; display: grid; justify-items: start; gap: 28px; }
.figure {
  font-family: var(--display); font-weight: 700; font-size: var(--step-figure); line-height: 0.85; letter-spacing: -0.05em;
  display: flex; align-items: flex-start;
}
.figure .cur { margin-right: 0.02em; }
.figure .per { align-self: flex-end; margin-left: 0.4em; margin-bottom: 0.2em; font-family: var(--display); font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1; }
.fig-card { position: absolute; top: -18px; left: clamp(300px, 26vw, 420px); width: 220px; padding: 12px 14px; border: 1px solid var(--ui-border); } /* inside [data-ui] fragment */
.incl { display: grid; gap: 6px; font-size: var(--step-body); }
@media (max-width: 1023px) {
  .price-text, .price-fig { grid-column: 1 / -1; }
  .price-grid { min-height: 0; }
}
@media (max-width: 699px) {
  .figure { font-size: 34vw; }
  .fig-card { left: auto; right: 0; top: -12px; width: 36vw; min-width: 150px; padding: 10px; }
  .fig-card .meta { flex-wrap: wrap; gap: 4px; }
  .price-fig .button { width: 100%; }
}

/* faq */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: start; }
.faq-side { grid-column: 1 / span 4; display: grid; gap: 40px; }
.stamps img { width: 100%; height: auto; }
.stamps figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.tiles { grid-column: 5 / -1; display: grid; gap: 8px; }
.tiles details { background: var(--surface); transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.tiles summary {
  list-style: none; cursor: pointer; position: relative;
  min-height: 72px; padding: 22px 64px 22px 24px;
  font-size: var(--step-body); font-weight: 600; line-height: 1.3;
}
.tiles summary::-webkit-details-marker { display: none; }
.tiles summary::before, .tiles summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor;
  transition: transform var(--t-ui) var(--ease-out);
}
.tiles summary::after { transform: rotate(90deg); }
.tiles details[open] { background: var(--accent); color: var(--accent-ink); }
.tiles details[open] summary::after { transform: rotate(0deg); }
.tiles details p { padding: 0 24px 24px; max-width: 52ch; font-size: var(--step-body); }
@media (hover: hover) and (pointer: fine) { .tiles details:not([open]) summary:hover { background: #26141f; } }
@media (max-width: 1023px) {
  .faq-side, .tiles { grid-column: 1 / -1; }
  .faq-side { gap: 28px; }
  .stamps { max-width: 480px; }
  .tiles { gap: 6px; }
  .tiles summary { min-height: 64px; padding: 18px 56px 18px 20px; }
  .tiles details p { padding: 0 20px 20px; }
}

/* join */
.join { padding-bottom: clamp(120px, 16vw, 200px) !important; }
.sentence {
  margin-top: 40px; max-width: 1100px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  font-size: var(--step-lead); line-height: 1.3;
}
.sentence label { font-weight: 600; }
.sentence input { flex: 0 1 320px; min-height: 56px; }
.sentence > span { font-weight: 600; }
.sentence .form-note { font-size: var(--step-small); }
@media (max-width: 699px) {
  .sentence input { flex-basis: 100%; }
  .sentence .button { width: 100%; }
}

/* footer */
.foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 12px 24px;
  padding-bottom: 30px; font-size: var(--step-small); color: var(--muted);
}
.foot-links { display: flex; gap: 24px; color: var(--ink); }
.foot-year { text-align: right; }
.foot-legal { grid-column: 1 / -1; max-width: 68ch; }
.foot-legal a { color: var(--ink); }
@media (max-width: 699px) {
  .foot { grid-template-columns: 1fr; gap: 8px; padding-bottom: 24px; }
  .foot-year { text-align: left; }
  .foot-links { flex-wrap: wrap; gap: 8px 20px; }
}

/* nav on small screens */
@media (max-width: 699px) {
  .hide-sm { display: none; }
  .nav nav { gap: 20px; }
}

/* phone: tighter section rhythm, quieter board */
@media (max-width: 699px) {
  :root { --section: 80px; }
  .cc-thread { max-height: 280px; }
  .board .menu { display: none; }
  .mods { gap: 48px; }
  .field { padding: 32px 20px 40px; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform 900ms var(--ease-expo) var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter > .ui { transform: scale(1.12); transform-origin: 0 0; transition: transform 1500ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in > .ui { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
