/* Additions to the revamp: the call filling in the record, three questions,
   the follow-up writing itself, a recount on the pipeline, Mirror, a day with
   Nugget, who it is for, a founder note, recently shipped, the cursor in the
   tour, the hand off out of the tour and a calmer motion setting. Same zinc
   palette and tokens as style.css. Design preview only. */

/* ── one call, one record (pinned, scrubbed by scroll) ───────── */
.scene { height: 300vh; margin-top: 40px; }
.scene-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.scene-pin > .wrap { width: 100%; }
.scene-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; margin-top: 52px; align-items: start; }
.sc-card { border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--card); overflow: hidden; }
.sc-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--rule-soft); font-size: 13px; }
.sc-head i { width: 15px; height: 15px; color: var(--ink-2); }
.sc-head span { margin-left: auto; color: var(--ink-3); }
.sc-lines { padding: 8px 0; }
.sc-line { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; padding: 12px 18px; font-size: 14px; line-height: 1.55; color: var(--ink-3); transition: color 0.6s var(--out), background 0.6s var(--out); }
.sc-line::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform 0.6s var(--out); }
.sc-t { font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.sc-who { display: block; font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.sc-line.on { color: var(--ink); background: var(--well); }
.sc-line.on::before { transform: scaleY(1); }
.sc-line.on .sc-t, .sc-line.on .sc-who { color: var(--ink-2); }

.sc-rhead { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--rule-soft); }
.sc-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--solid); color: var(--on-solid); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.sc-rhead b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.sc-rhead small { display: block; font-size: 12px; color: var(--ink-3); }
.sc-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-3); }
.sc-live span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.scene.is-live .sc-live span { background: var(--ink); animation: sc-pulse 1.6s var(--soft-ease) infinite; }
@keyframes sc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.sc-fields { margin: 0; padding: 6px 0; }
.sc-f { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px; border-bottom: 1px solid var(--rule-soft); }
.sc-f:last-child { border-bottom: 0; }
.sc-f dt { font-size: 12.5px; color: var(--ink-3); }
.sc-f dd { position: relative; margin: 0; height: 36px; overflow: hidden; font-size: 14px; }
.sc-old, .sc-new { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; transition: transform 0.7s var(--out), opacity 0.5s var(--out), filter 0.6s var(--out); }
.sc-old { color: var(--ink-3); }
.sc-new { opacity: 0; transform: translateY(70%); filter: blur(4px); font-weight: 500; }
.sc-new small { font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.sc-f.on .sc-old { opacity: 0; transform: translateY(-70%); filter: blur(4px); }
.sc-f.on .sc-new { opacity: 1; transform: none; filter: none; }
.sc-f.on { animation: sc-flash 1.2s var(--out); }
@keyframes sc-flash { 0% { background: var(--well-2); } 100% { background: transparent; } }
.sc-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--rule-soft); background: var(--well); font-size: 12.5px; color: var(--ink-2); }
.sc-foot i { width: 14px; height: 14px; }
.sc-foot b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ── three questions ─────────────────────────────────────────── */
.q3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 52px; }
.q3-card { position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--card); overflow: hidden; }
.q3-k { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.q3-card h3 { margin-top: 14px; font-size: 22px; letter-spacing: -0.03em; }
.q3-card > p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.q3-mini { margin-top: 26px; padding: 14px; border-radius: var(--r-sm); background: var(--well); display: grid; gap: 8px; }
.q3-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--rule-soft); font-size: 13px; }
.q3-row i { width: 14px; height: 14px; color: var(--ink-2); }
.q3-row span { flex: 1; min-width: 0; }
.q3-row small { color: var(--ink-3); font-size: 12px; }
.q3-meter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.q3-meter span { height: 8px; border-radius: 2px; background: var(--rule); transition: background 0.5s var(--out); transition-delay: calc(var(--n) * 90ms + 300ms); }
html.js .q3-card.in .q3-meter span.on, html:not(.js) .q3-meter span.on { background: var(--solid); }
.q3-verdict { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); }
.q3-verdict b { font-weight: 500; color: var(--ink); }
.q3-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink); align-self: flex-start; }
.q3-link i { width: 14px; height: 14px; transition: transform 0.4s var(--out); }
.q3-link:hover i { transform: translate(2px, -2px); }

/* ── the follow-up writes itself ─────────────────────────────── */
.fu-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; margin-top: 52px; align-items: start; }
.fu-src .sc-line { cursor: default; }
.fu-mail { border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--card); overflow: hidden; }
.fu-meta { display: grid; grid-template-columns: 64px 1fr; gap: 8px 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule-soft); font-size: 13px; }
.fu-meta dt { color: var(--ink-3); }
.fu-meta dd { margin: 0; }
.fu-body { min-height: 264px; padding: 18px; font-size: 14.5px; line-height: 1.7; }
.fu-body p + p { margin-top: 12px; }
.fu-para { position: relative; color: var(--ink); }
.fu-para.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--ink); animation: fu-caret 1s steps(2) infinite; }
@keyframes fu-caret { 50% { opacity: 0; } }
.fu-para.linked { background: linear-gradient(var(--well-2), var(--well-2)) no-repeat 0 100% / 100% 0; }
.fu-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--rule-soft); background: var(--well); font-size: 12.5px; color: var(--ink-2); }
.fu-foot .badge { margin-right: 2px; }
.fu-actions { margin-left: auto; display: flex; gap: 8px; }
.fu-ghost { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--rule); background: var(--card); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.fu-solid { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-sm); background: var(--solid); color: var(--on-solid); font-size: 12.5px; font-weight: 500; opacity: 0.35; transition: opacity 0.6s var(--out); }
.fu-solid i { width: 13px; height: 13px; }
.fu-mail.done .fu-solid { opacity: 1; }
.fu-replay { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.fu-replay i { width: 13px; height: 13px; }
.fu-replay:hover { color: var(--ink); }

/* ── pipeline recount ────────────────────────────────────────── */
.pc-toggle { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule-soft); text-align: left; font-size: 13.5px; color: var(--ink-2); }
.pc-toggle:hover { color: var(--ink); }
.pc-toggle[aria-checked="true"] .sw-ctl { background: #18181b; }
:root[data-theme="dark"] .pc-toggle[aria-checked="true"] .sw-ctl { background: #f4f4f5; }
.pc-toggle[aria-checked="true"] .sw-ctl span { transform: translateX(16px); }
.pc-toggle:focus-visible { outline: none; }
.pc-toggle:focus-visible .sw-ctl { outline: 2px solid #a1a1aa; outline-offset: 2px; }
html.js .pipe-chart.recount .pc-bar { transition: transform 1.1s var(--out), bottom 0.9s var(--out), height 0.9s var(--out); transition-delay: 0s; }
html.js .pipe-chart.recount .pc-fig { transition: bottom 0.9s var(--out), opacity 0.4s; transition-delay: 0s; }
.pipe-note p { transition: opacity 0.35s var(--out); }
.pipe-note.swap p { opacity: 0; }

/* ── Mirror ──────────────────────────────────────────────────── */
.mirror-slate { --pos: 62%; padding: 96px 56px 56px; border-radius: 16px; color: #fafafa; }
.mirror-slate::before { background: linear-gradient(180deg, rgba(24, 24, 27, 0.86) 0%, rgba(24, 24, 27, 0.72) 40%, rgba(24, 24, 27, 0.8) 100%), url("assets/forest.jpg?v=2") center var(--pos, 62%) / cover no-repeat; }
:root[data-theme="dark"] .mirror-slate::before { background: linear-gradient(180deg, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0.78) 40%, rgba(9, 9, 11, 0.86) 100%), url("assets/forest.jpg?v=2") center var(--pos, 62%) / cover no-repeat; }
.mirror-slate .eyebrow { color: #d4d4d8; }
.mirror-slate .eyebrow-dot { background: #fafafa; }
.mi-sub { max-width: 560px; margin-top: 18px; font-size: 16px; line-height: 1.65; color: #d4d4d8; }
.mi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.mi-card { padding: 20px 20px 18px; border-radius: var(--r-card); background: var(--card); color: var(--ink); }
.mi-card .kicker { min-height: 2.6em; line-height: 1.3; }
.mi-fig { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.mi-fig b { font-size: 40px; font-weight: 500; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.mi-fig small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-2); }
.mi-fig small i { width: 13px; height: 13px; }
.mi-bars { display: grid; grid-template-columns: repeat(8, 1fr); align-items: end; gap: 5px; height: 72px; margin-top: 18px; }
.mi-bars span { height: calc(var(--v) * 1%); border-radius: 2px; background: var(--rule); transform-origin: bottom; }
.mi-bars span:last-child { background: var(--solid); }
html.js .mi-card .mi-bars span { transform: scaleY(0); transition: transform 0.9s var(--out); transition-delay: calc(var(--n) * 60ms + 200ms); }
html.js .mi-card.in .mi-bars span { transform: none; }
.mi-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--ink-3); }
.mi-miss { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 16px 20px; border-radius: var(--r-card); background: rgba(250, 250, 250, 0.08); border: 1px solid rgba(250, 250, 250, 0.12); font-size: 14px; color: #e4e4e7; backdrop-filter: blur(6px); }
.mi-miss i { width: 16px; height: 16px; color: #fafafa; }
.mi-miss span { flex: 1; }
.mi-miss b { font-weight: 500; color: #fafafa; }
.mi-note { margin-top: 18px; font-size: 12px; color: #a1a1aa; }

/* ── a day with Nugget ───────────────────────────────────────── */
.day-list { position: relative; max-width: 760px; margin: 56px auto 0; }
.day-items { list-style: none; margin: 0; padding: 0; }
.day-track { position: absolute; left: 95px; top: 10px; bottom: 10px; width: 1px; background: var(--rule); }
.day-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(var(--df, 0)); }
.day-list li { position: relative; display: grid; grid-template-columns: 64px 64px 1fr; align-items: start; gap: 0 0; padding: 14px 0; }
.day-time { padding-top: 1px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-3); text-align: right; transition: color 0.5s; }
.day-dot { justify-self: center; position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 5px; border-radius: 50%; background: var(--paper); border: 1px solid #d4d4d8; transition: background 0.5s, border-color 0.5s, box-shadow 0.5s; }
.day-body { opacity: 0.38; transform: translateX(-6px); transition: opacity 0.7s var(--out), transform 0.8s var(--out); }
.day-body b { display: block; font-size: 16px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.45; }
.day-body b .badge { margin-left: 8px; vertical-align: 2px; }
.day-body small { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.day-body .badge.you { background: var(--solid); color: var(--on-solid); }
.day-list li.lit .day-time { color: var(--ink); }
.day-list li.lit .day-dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 5px var(--well-2); }
.day-list li.lit .day-body { opacity: 1; transform: none; }

/* ── who it is for ───────────────────────────────────────────── */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 52px; }
.who-card { position: relative; padding: 24px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--card); overflow: hidden; }
.who-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--well-2); color: var(--ink); }
.who-card h3 { margin-top: 22px; font-size: 19px; letter-spacing: -0.025em; line-height: 1.25; }
.who-card > p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.who-gets { display: flex; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule-soft); font-size: 13.5px; line-height: 1.55; }
.who-gets i { width: 14px; height: 14px; margin-top: 3px; color: var(--ink-2); }

/* ── founder note ────────────────────────────────────────────── */
.note { max-width: 680px; margin: 0 auto; padding: 48px 52px 44px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); }
.note p:not(.kicker) { font-size: 17px; line-height: 1.75; letter-spacing: -0.005em; }
.note .kicker { margin-bottom: 24px; }
.note p + p { margin-top: 18px; }
.note-sign { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule-soft); }
.note-pfp { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; filter: grayscale(1); box-shadow: 0 0 0 1px var(--rule); }
.note-sign b { display: block; font-size: 15px; font-weight: 500; }
.note-sign small { display: block; font-size: 13px; color: var(--ink-3); }

/* ── recently shipped ────────────────────────────────────────── */
.ship { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; padding-top: 28px; border-top: 1px solid var(--rule); }
.ship-head h2 { font-size: 22px; letter-spacing: -0.03em; }
.ship-head p { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.ship-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ship-list li { padding: 0 20px; border-left: 1px solid var(--rule-soft); }
.ship-list time { display: block; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ship-list p { margin-top: 8px; font-size: 14px; line-height: 1.55; }

/* ── waitlist states ─────────────────────────────────────────── */
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-status { min-height: 20px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.wl-status.err { color: var(--ink); font-weight: 500; }
.wl-form.pending .btn-solid { opacity: 0.6; pointer-events: none; }

/* ── the cursor in the tour ──────────────────────────────────── */
.tour .app { position: relative; }
.t-cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 18px; height: 18px; pointer-events: none; opacity: 0; transform: translate(var(--cx, 40px), var(--cy, 40px)); transition: transform 1.1s var(--soft-ease), opacity 0.5s var(--out); }
.t-cursor svg { width: 18px; height: 18px; fill: #fafafa; stroke: #18181b; stroke-width: 1.4; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18)); }
.t-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #d4d4d8; opacity: 0; transform: scale(0.4); }
.t-cursor.on { opacity: 1; }
.t-cursor.press::after { animation: t-press 0.6s var(--out); }
@keyframes t-press { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.8); } }
.t-target { transition: background 0.4s var(--out), box-shadow 0.4s var(--out); }
.t-target.t-hit { box-shadow: 0 0 0 2px rgba(113, 113, 122, 0.35); border-radius: 6px; }

/* ── the tour hands off to the next section ──────────────────── */
.tour.on-ink { clip-path: inset(0 calc(max((1 - var(--open, 1)) * 3%, var(--tx, 0) * 3%)) round 28px 28px calc(var(--tx, 0) * 28px) calc(var(--tx, 0) * 28px)); }

/* ── appearance and motion controls ──────────────────────────── */
.foot-ctl { display: inline-flex; gap: 18px; }

/* ── responsive ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .q3-grid, .who-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .mi-grid { grid-template-columns: 1fr; }
  .ship { grid-template-columns: 1fr; gap: 20px; }
  .ship-list { grid-template-columns: 1fr 1fr; gap: 20px 0; }
}
@media (max-width: 900px) {
  .scene { height: auto; margin-top: 0; padding-top: 110px; }
  .scene-pin { position: static; height: auto; }
  .scene-grid, .fu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sc-f { grid-template-columns: 104px 1fr; padding: 8px 14px; }
  .sc-line { grid-template-columns: 44px 1fr; padding: 11px 14px; font-size: 13.5px; }
  .sc-head, .sc-rhead, .sc-foot { padding-left: 14px; padding-right: 14px; }
  .mirror-slate { padding: 64px 18px 20px; }
  .mi-fig b { font-size: 34px; }
  .mi-miss { align-items: flex-start; padding: 14px 16px; }
  .day-track { left: 63px; }
  .day-list li { grid-template-columns: 44px 40px 1fr; }
  .day-time { font-size: 12px; }
  .note { padding: 32px 22px 28px; }
  .note p:not(.kicker) { font-size: 16px; }
  .ship-list { grid-template-columns: 1fr; gap: 16px; }
  .ship-list li { padding: 0 0 0 16px; }
  .fu-meta { grid-template-columns: 52px 1fr; padding: 12px 14px; }
  .fu-body { padding: 16px 14px; min-height: 0; }
  .fu-foot { flex-wrap: wrap; padding: 12px 14px; }
  .fu-actions { margin-left: 0; width: 100%; }
  .foot-ctl { flex-wrap: wrap; gap: 12px; }
}

/* ── calm: reduced motion from the system or the footer setting ─ */
@media (prefers-reduced-motion: reduce) {
  .scene { height: auto; padding-top: 110px; }
  .scene-pin { position: static; height: auto; }
  .sc-line, .sc-f, .day-body, .q3-meter span, .mi-bars span { transition: none !important; animation: none !important; transform: none !important; }
  .t-cursor { display: none; }
}
html.calm .scene { height: auto; padding-top: 110px; }
html.calm .scene-pin { position: static; height: auto; }
html.calm .sc-line, html.calm .sc-f, html.calm .day-body, html.calm .q3-meter span, html.calm .mi-bars span { transition: none !important; animation: none !important; transform: none !important; }
html.calm .t-cursor { display: none; }

/* ── waitlist, carried over from the standalone waitlist page ── */
.wlx { --pos: 48%; --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: 72px 56px; border-radius: 16px; color: #fafafa; }
.wlx::before { background: linear-gradient(180deg, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0.8) 50%, rgba(9, 9, 11, 0.9) 100%), url("assets/forest.jpg?v=2") center var(--pos) / cover no-repeat !important; }
.wlx-intro { min-width: 0; }
.wlx-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: #3f3f46; color: #fafafa; font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em; }
.wlx-h { margin-top: 28px; font-size: clamp(34px, 3.5vw, 50px); line-height: 1.08; letter-spacing: -0.04em; }
.wlx-lede { margin-top: 24px; max-width: 50ch; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #a1a1aa; }
.wlx-join { margin-top: 36px; max-width: 480px; gap: 0; }
.wlx-row { display: flex; gap: 8px; }
.wlx .wl-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid #3f3f46; background: rgba(24, 24, 27, 0.72); color: #fafafa; font-family: var(--mono); font-size: 13px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.wlx .wl-form input::placeholder { color: #71717a; }
.wlx .wl-form input:focus { border-color: #a1a1aa; box-shadow: 0 0 0 4px rgba(250, 250, 250, 0.06); }
.wlx .wl-form.shake input { border-color: #d4d4d8; animation: wlx-nudge 0.4s var(--out); }
@keyframes wlx-nudge { 30% { transform: translateX(-4px); } 60% { transform: translateX(3px); } }
.wlx-btn { height: 44px; padding: 0 18px; border-radius: 6px; background: #fafafa; color: #18181b; font-family: var(--mono); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background 0.2s, transform 0.2s var(--out); }
.wlx-btn:hover { background: #e4e4e7; }
.wlx-btn:active { transform: scale(0.98); }
.wlx .wl-form.pending .wlx-btn { opacity: 0.6; pointer-events: none; }
.wlx .wl-status { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: #a1a1aa; }
.wlx .wl-status.err { color: #e4e4e7; font-weight: 400; }
.wlx-joined { display: none; margin-top: 36px; max-width: 480px; padding-top: 20px; border-top: 1px solid #3f3f46; outline: none; }
.wlx-joined p { font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #e4e4e7; }
.wlx-joined p + p { margin-top: 6px; color: #a1a1aa; }
.wlx[data-state="joined"] .wlx-join { display: none; }
.wlx[data-state="joined"] .wlx-joined { display: block; animation: wlx-in 0.8s var(--out); }
@keyframes wlx-in { from { opacity: 0; transform: translateY(8px); } }
.wlx-perks { list-style: none; max-width: 480px; margin: 12px 0 0; padding: 0; border-top: 1px solid rgba(63, 63, 70, 0.6); }
.wlx-perks li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(63, 63, 70, 0.6); }
.wlx-perks i { width: 16px; height: 16px; margin-top: 2px; color: #a1a1aa; }
.wlx-perks h3 { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; color: #fafafa; }
.wlx-perks p { margin-top: 4px; font-family: var(--mono); font-size: 12px; line-height: 1.65; color: #a1a1aa; }
.wlx-proof { display: flex; align-items: center; gap: 10px; max-width: 480px; margin-top: 24px; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: #a1a1aa; }
.wlx-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #d4d4d8; animation: sc-pulse 2.4s var(--soft-ease) infinite; }
.wlx-media { min-width: 0; }
.wlx-video { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; border: 1px solid #27272a; background: #18181b; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.wlx-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.05); transition: transform 1.6s var(--out); }
html.js .wlx-media.in .wlx-video video { transform: none; }
.wlx-video::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(9, 9, 11, 0.42) 0%, transparent 26%, transparent 52%, rgba(9, 9, 11, 0.86) 100%); }
.wlx-tag { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 9px; border-radius: 6px; background: #3f3f46; color: #fafafa; font-family: var(--mono); font-size: 11px; }
.wlx-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fafafa; animation: sc-pulse 2s var(--soft-ease) infinite; }
.wlx-over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 16px 18px; }
.wlx-over b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: #fafafa; }
.wlx-over small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11.5px; color: #a1a1aa; }
.wlx-over a { display: inline-flex; align-items: center; gap: 6px; flex: none; font-family: var(--mono); font-size: 12px; color: #fafafa; }
.wlx-over a i { width: 13px; height: 13px; transition: transform 0.4s var(--out); }
.wlx-over a:hover i { transform: translate(2px, -2px); }
.wlx-under { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.wlx-play { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: #e4e4e7; }
.wlx-play-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(250, 250, 250, 0.1); border: 1px solid rgba(250, 250, 250, 0.18); transition: background 0.3s, transform 0.4s var(--out); }
.wlx-play-ico i { width: 12px; height: 12px; margin-left: 2px; }
.wlx-play:hover .wlx-play-ico { background: rgba(250, 250, 250, 0.2); transform: scale(1.06); }
.wlx-cap { font-family: var(--mono); font-size: 11px; color: #71717a; }
/* Full page width, framed like the hero; the content keeps the page measure. */
.waitlist-full { margin-left: 12px; margin-right: 12px; }
.waitlist-full .wlx { min-height: 820px; border-radius: 24px; padding: 110px max(56px, calc((100% - var(--page)) / 2 + 32px)); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; }
.waitlist-full .wlx.slate { clip-path: inset(0 calc((1 - var(--open, 1)) * 2%) round 24px); }
@media (max-width: 1080px) {
  .wlx { grid-template-columns: 1fr; gap: 40px; padding: 56px 40px; }
}
@media (max-width: 1080px) {
  .waitlist-full .wlx { grid-template-columns: 1fr; gap: 40px; padding: 80px 40px 48px; min-height: 0; }
}
@media (max-width: 640px) {
  .waitlist-full { margin-left: 8px; margin-right: 8px; }
  .waitlist-full .wlx { padding: 48px 20px 24px; border-radius: 18px; gap: 32px; }
  .wlx { padding: 40px 20px 24px; gap: 32px; }
  .wlx-h { font-size: 36px; margin-top: 22px; }
  .wlx-lede { font-size: 13px; margin-top: 18px; }
  .wlx-row { flex-direction: column; }
  .wlx .wl-form input { flex: none; width: 100%; }
  .wlx-btn { width: 100%; }
  .wlx-join, .wlx-joined { margin-top: 28px; }
}
html.calm .wlx-dot, html.calm .wlx-tag::before { animation: none; }
html.calm .wlx-video video { transform: none; }
@media (max-width: 640px) { .wlx-over small { display: none; } .wlx-over { padding: 12px 14px; } }

/* ── film grain across the whole site ────────────────────────── */
/* One fixed layer over everything, so every surface shares the same texture.
   It never takes clicks, and remains stationary in every mode. */
body::after { content: ""; position: fixed; inset: -50%; z-index: 9999; pointer-events: none; background: var(--grain); background-size: 200px 200px; opacity: 0.14; animation: none; }
html.calm body::after { animation: none; }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* The criteria on the "Gaps are flagged" card sit a step smaller than the card titles. */
.tl-row.tl-row-sm { font-size: 12.5px; }
.tl-row.tl-row-sm i { width: 13px; height: 13px; }

/* ── menu on smaller screens ─────────────────────────────────── */
.nav-toggle { display: none; place-items: center; width: 36px; height: 36px; margin-right: 8px; border-radius: 6px; color: inherit; transition: background 0.2s; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: rgba(24, 24, 27, 0.06); }
.nav-wrap.on-dark .nav-toggle:hover, .nav-wrap.on-dark .nav-toggle[aria-expanded="true"], :root[data-theme="dark"] .nav-toggle:hover, :root[data-theme="dark"] .nav-toggle[aria-expanded="true"] { background: rgba(250, 250, 250, 0.08); }
.nav-toggle i { width: 18px; height: 18px; }
.nav-sheet { position: absolute; left: 32px; right: 32px; top: calc(100% + 8px); z-index: 60; display: grid; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.96); border: 1px solid var(--rule); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -28px rgba(24, 24, 27, 0.28); }
.nav-wrap.on-dark .nav-sheet, :root[data-theme="dark"] .nav-sheet { background: rgba(24, 24, 27, 0.94); border-color: #27272a; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8); }
.nav-sheet[hidden] { display: none; }
.nav-sheet a { display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 6px; font-size: 15px; color: var(--ink-2); }
.nav-sheet a:hover, .nav-sheet a:focus-visible { background: var(--well-2); color: var(--ink); }
.nav-wrap.on-dark .nav-sheet a, :root[data-theme="dark"] .nav-sheet a { color: #d4d4d8; }
.nav-wrap.on-dark .nav-sheet a:hover, .nav-wrap.on-dark .nav-sheet a:focus-visible, :root[data-theme="dark"] .nav-sheet a:hover, :root[data-theme="dark"] .nav-sheet a:focus-visible { background: rgba(250, 250, 250, 0.06); color: #fafafa; }
html:not(.calm) .nav-sheet:not([hidden]) { animation: sheet-in 0.35s var(--out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-6px); } }
.nav-end { display: flex; align-items: center; justify-content: flex-end; }
@media (max-width: 1080px) { .nav-toggle { display: grid; } }
@media (max-width: 720px) { .nav-sheet { left: 12px; right: 12px; } }
@media (min-width: 1081px) { .nav-sheet { display: none !important; } }

/* ── Ask ── */
.ask-sub { max-width: 560px; margin: 18px auto 0; text-align: center; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

/* The swipe strip keeps the page margin when it snaps to a screen. */
@media (max-width: 1100px) { .tour .panels { scroll-padding-inline: var(--pad); } }

/* ── phone and tablet refinements ────────────────────────────── */
@media (max-width: 960px) and (min-width: 721px) {
  /* The illustrated moment: two columns on tablets, the draft spans both. */
  .masonry { grid-template-columns: 1fr 1fr; }
  .masonry .col:nth-child(3) { grid-column: 1 / -1; }
  .col { transform: none !important; }
  .col:nth-child(2) { margin-top: 0; }
}
@media (max-width: 640px) {
  /* Ask tabs become one row you can swipe, instead of an uneven stack. */
  #use .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); }
  #use .chips::-webkit-scrollbar { display: none; }
  #use .chips button { flex: none; height: 38px; padding: 0 14px; font-size: 14px; }
  /* Under the founder film, the tour link and its caption stack. */
  .wlx-under { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Approved lighter texture for light surfaces. */
:root[data-theme="light"] body::after { filter: invert(1); opacity: 0.08; }

/* Approved mobile crop and dark texture. Desktop and light grain are retained. */
@media (max-width: 767px) {
  :root[data-theme="dark"] body::after { background-size: 150px 150px; opacity: 0.06; }
  :root[data-theme] .hero::before, html.loaded .hero::before {
    inset: 0; transform: none !important; transition: none;
    will-change: auto; background-position: center 55%;
  }
  :root[data-theme="dark"] .hero::after, :root[data-theme="dark"] .slate::after {
    opacity: 0.14; background-size: 180px 180px;
  }
}

/* Approved phone tour layout. Keep text at its intended size without scaling. */
@media(max-width:739px){
  .nav-wrap{top:calc(22px + env(safe-area-inset-top,0px))}
  .tour{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .tour .panels{align-items:flex-start}
  .tour .panel{width:min(680px,calc(100vw - 2 * var(--pad)));scroll-margin-top:104px}
  .tour .panel .app{zoom:1!important;min-width:0;width:100%;font-size:13px;line-height:1.55}
  .tour .app *, .tour .app *::before,.tour .app *::after{min-width:0}
  .tour .app-bar{padding:12px 14px;height:auto;min-height:44px;flex-wrap:wrap;gap:6px}
  .tour .app-body{padding:18px 14px 22px;overflow-wrap:anywhere}
  .tour .assess,.tour .deal-grid,.tour .ask-body,.tour .cap-grid,.tour .task-grid,.tour .mir-grid,.tour .cal-grid,.tour .wf-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .tour .row-head{flex-wrap:wrap;gap:4px 10px}
  .tour .row-head h4,.tour .app h5{font-size:13px;line-height:1.5}
  .tour .verdict-line{font-size:15px;line-height:1.5}
  .tour .verdict-sub,.tour .clear-note,.tour .src-name,.tour .src-meta,.tour .slot,.tour .slot-note{font-size:12px;line-height:1.6}
  .tour .cap-row{display:grid;grid-template-columns:14px minmax(0,1fr);gap:6px 10px;padding:12px}
  .tour .cap-row .cap-state,.tour .cap-row .stamp{grid-column:2;justify-self:start;margin-left:0}
  .tour .deal-head{flex-direction:column;gap:16px}
  .tour .deal-figs{width:100%;justify-content:space-between;gap:12px}
  .tour .deal-figs>div{align-items:flex-start;text-align:left}
  .tour .task{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:5px 9px}
  .tour .task-main{grid-column:2 / 4}
  .tour .task-acct{grid-column:2;width:auto;font-size:12px}
  .tour .task-due{grid-column:3;width:auto}
  .tour .wf-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px}
  .tour .wf-when{width:auto}
  .tour .wf-then{grid-row:2;grid-column:1 / -1}
  .tour .wf-state{grid-column:2;grid-row:1}
  .tour .wf-act{white-space:normal}
  .tour .bar-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px}
  .tour .bar-name{width:auto;font-size:12px}
  .tour .bar-val{grid-column:2;grid-row:1;width:auto}
  .tour .bar{grid-column:1 / -1;width:100%}
  .tour .cal{overflow-x:auto}
  .tour .cal-head,.tour .cal-body{min-width:560px}
  .tour .ev-pick{color:var(--invert)}
  .tour .ask-q{height:auto;min-height:44px;padding:10px 12px;align-items:flex-start}
  .tour .ask-answer{padding:16px;font-size:13px;line-height:1.65}
  .tour .tbl-wrap{overflow-x:auto}
  .tour table{min-width:560px}
  .tour .app-btn{min-height:40px;height:auto;white-space:normal;padding:8px 12px}
  .tour .tnav{scroll-margin-top:110px}
}
