/* SeventySevenLabs shared styles: tokens, header, buttons, phone mockup,
   waitlist dialog, footer, and the Splitsimple product page. Used by
   index.html (with home.css on top) and splitsimple.html.
   Reference: design_handoff_site_redesign/reference/*.dc.html. */

:root {
  --ground: #FFFFFF;
  --card: #FAF9F6;
  --line: #EFEDE8;      /* hairlines */
  --control: #E1DDD4;   /* control borders */
  --ink: #14150F;
  --text-2: #5C5951;    /* body grey, 7.0:1 */
  --text-3: #6E6A63;    /* lightest allowed text, 5.4:1 */
  --muted: #8A857C;     /* input placeholders only */
  --green: #0E6B56;     /* money owed to you */
  --red: #C4483A;       /* money you owe, errors */
  --tint: #E9F2EF;      /* selected row inside the phone */
  --on-ink-2: #A8A29A;  /* secondary text on the ink card */
  --on-ink-hover: #8FE3CD;

  --ease-out: cubic-bezier(.22,1,.36,1);
  --pop: cubic-bezier(.34,1.3,.64,1);

  --hdr-top: 48px;      /* studio row */
  --hdr-app: 64px;      /* product row; also the collapsed header height */
  --gutter: 26px;
  --sec: 128px;
}
@media (max-width: 819.98px) {
  :root { --hdr-top: 44px; --hdr-app: 56px; --gutter: 20px; --sec: 88px; }
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--green); }
button, input { font-family: inherit; }
input::placeholder { color: var(--muted); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1128px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--text-2);
}
.h2 {
  margin: 14px 0 0;
  font-size: 44px;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -1.2px;
  text-wrap: balance;
}
@media (max-width: 819.98px) { .h2 { font-size: 34px; } }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 14px;
}
.skip:focus { left: 12px; color: #FFFFFF; }

/* ---------- Wordmark ---------- */
.mark { display: flex; align-items: flex-end; gap: 5px; }
.mark-bars { display: flex; align-items: flex-end; gap: 2.6px; flex: none; }
.mark-bars span { display: block; width: 3.2px; background: var(--ink); transform: skewX(-15deg); }
.mark-bars span:first-child { height: 14px; }
.mark-bars span:last-child { height: 10px; }
.mark-name { font-size: 14.5px; font-weight: 500; letter-spacing: -.45px; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  border: 0;
  border-radius: 99px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: var(--green); color: #FFFFFF; }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-white:hover { background: var(--on-ink-hover); color: var(--ink); }
.btn-line { background: #FFFFFF; border: 1px solid var(--control); color: var(--ink); }
.btn-line:hover { border-color: var(--green); color: var(--green); }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-md { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }

/* ---------- Header ----------
   Fixed, with a spacer of its full expanded height in the flow, so the
   studio row can collapse on scroll without moving the page. */
.site-hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.hdr-spacer { height: calc(var(--hdr-top) + 1px); }
.has-app-nav .hdr-spacer { height: calc(var(--hdr-top) + var(--hdr-app) + 1px); }

.hdr-top-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 260ms var(--ease-out); }
.hdr-top-wrap > div { overflow: hidden; min-height: 0; }
.hdr-row {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.hdr-top { height: var(--hdr-top); gap: 24px; transition: opacity 200ms ease, visibility 0s; }
.hdr-top .mark { flex: 1; min-width: 0; }
.has-app-nav .hdr-top-wrap > div { border-bottom: 1px solid var(--line); }
.hdr-link { font-size: 13.5px; font-weight: 400; color: var(--text-2); white-space: nowrap; }

.site-hdr.is-collapsed .hdr-top-wrap { grid-template-rows: 0fr; }
.site-hdr.is-collapsed .hdr-top-wrap > div { border-bottom-width: 0; }
.site-hdr.is-collapsed .hdr-top { opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 260ms; }

.hdr-app { height: var(--hdr-app); gap: 26px; }
.hdr-app .hdr-link { font-size: 14px; }
.hdr-app-name { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; font-size: 15.5px; font-weight: 500; letter-spacing: -.2px; }
.hdr-app-name img { width: 26px; height: 26px; border-radius: 7px; display: block; flex: none; }
.hdr-app .btn { margin-left: 6px; }
@media (max-width: 819.98px) {
  .hdr-app { gap: 14px; }
  .hdr-app .hdr-link { font-size: 13px; }
  .hdr-app .btn { display: none; } /* the bottom bar carries it on mobile */
}
@media (max-width: 359.98px) {
  .hdr-app-name span { display: none; }
  .hdr-top { gap: 18px; }
  .hdr-top .mark-name { display: none; } /* the bars alone, so all three links fit */
}

/* Anchor targets land just under the collapsed header. */
[data-anchor] { scroll-margin-top: calc(var(--hdr-app) + 1px); }
.home [data-anchor] { scroll-margin-top: calc(var(--hdr-top) + 1px); }

/* ---------- Phone ----------
   One frame everywhere: 300 × 620 base, only ever scaled with --ps inside a
   box sized to match. Screens are HTML so text stays sharp; the markup is
   written by scripts/render-shared.js. */
.ph { --ps: 1; position: relative; flex: none; width: calc(300px * var(--ps)); height: calc(620px * var(--ps)); color: var(--ink); font-family: 'Jost', sans-serif; }
.ph-scale { position: absolute; left: 0; top: 0; width: 300px; height: 620px; transform: scale(var(--ps)); transform-origin: left top; }
.ph-ground { position: absolute; left: 28px; right: 28px; bottom: -14px; height: 36px; border-radius: 50%; background: rgba(20,21,15,.24); filter: blur(18px); }
.ph-body {
  position: relative;
  width: 300px;
  height: 620px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 50px;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(20,21,15,.6), 0 30px 60px -24px rgba(20,21,15,.4);
}
.ph-btn { position: absolute; width: 2.5px; background: var(--ink); }
.ph-btn.l { left: -2.5px; border-radius: 2px 0 0 2px; }
.ph-btn.r { right: -2.5px; border-radius: 0 2px 2px 0; }
.ph-screen { position: relative; height: 100%; border-radius: 40px; background: #FFFFFF; overflow: hidden; font-size: 13px; }
.ph-status {
  position: absolute;
  left: 0; right: 0; top: 0;
  z-index: 4;
  height: 48px;
  padding: 0 24px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -.2px;
}
.ph-icons { display: flex; align-items: center; gap: 4px; }
.ph-icons i { display: block; height: 8.5px; border-radius: 1.5px; background: var(--ink); }
.ph-icons i:nth-child(1) { width: 13px; }
.ph-icons i:nth-child(2) { width: 12px; }
.ph-icons i:nth-child(3) { width: 19px; height: 9.5px; border-radius: 2.5px; }
.ph-island { position: absolute; top: 10px; left: 50%; z-index: 5; width: 84px; height: 25px; margin-left: -42px; border-radius: 13px; background: var(--ink); }

/* Screens cross-fade in place, so the phone is never blank. */
.scr { position: absolute; inset: 0; padding: 60px 20px 0; box-sizing: border-box; opacity: 0; transition: opacity 420ms var(--ease-out); }
.scr.is-on { opacity: 1; }
.scr-tap { padding: 60px 14px 0; }

.s-eyebrow { font-size: 10px; font-weight: 400; letter-spacing: 2.6px; text-transform: uppercase; color: var(--text-3); }
.s-top { display: flex; align-items: center; justify-content: space-between; }
.s-action { font-size: 12px; font-weight: 500; }
.s-back { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-menu { display: flex; flex-direction: column; gap: 4px; }
.s-menu i { display: block; height: 1.5px; background: var(--ink); }
.s-menu i:first-child { width: 16px; }
.s-menu i:last-child { width: 11px; }
.s-title { margin-top: 14px; font-size: 22px; font-weight: 400; letter-spacing: -.5px; }
.s-meta { margin-top: 2px; font-size: 12px; color: var(--text-3); }
.s-pad { padding: 0 6px; }
.s-green { color: var(--green); }

.s-receipt { margin-top: 14px; padding: 4px 14px 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.s-row { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.s-row span:first-child { flex: 1; min-width: 0; }
.s-row.s-sub { padding: 8px 0 2px; border-bottom: 0; font-size: 12px; color: var(--text-2); }
.s-row.s-tax { padding: 3px 0 6px; border-bottom: 1px solid var(--line); }
.s-row.s-total { padding: 8px 0 2px; border-bottom: 0; font-weight: 500; }
.s-found { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.s-found i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: block; }

.t-list { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.t-row { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 14px; }
.t-row.is-sel { background: var(--tint); }
.t-check { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #CFCAC0; box-sizing: border-box; flex: none; display: flex; align-items: center; justify-content: center; }
.t-row.is-sel .t-check { border: 0; background: var(--green); }
.t-check path { fill: none; stroke: #FFFFFF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.t-name { flex: 1; min-width: 0; }
.t-tag { font-size: 11px; font-weight: 500; color: var(--green); }
.s-share { position: absolute; left: 20px; right: 20px; bottom: 86px; display: flex; align-items: baseline; justify-content: space-between; }
.s-share > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.s-note { font-size: 11px; color: var(--text-3); }
.s-share .num { font-size: 20px; letter-spacing: -.4px; }

.s-hero { padding-top: 30px; }
.s-hero .s-eyebrow { display: block; margin-bottom: 12px; }
.s-big { font-size: 52px; font-weight: 300; line-height: 50px; letter-spacing: -1.5px; color: var(--green); }
.s-hero .s-meta { margin-top: 8px; }
.s-people { margin-top: 26px; }
.s-people .s-eyebrow { display: block; margin-bottom: 4px; }
.s-person { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.s-person:last-child { border-bottom: 0; }
.s-person span:first-child { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; }
.s-person .num { font-size: 13px; font-weight: 500; }
.s-method { display: block; margin-top: 28px; }
.s-handle { display: flex; align-items: center; gap: 10px; height: 46px; margin-top: 10px; padding: 0 6px 0 14px; box-sizing: border-box; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.s-handle span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-copy { flex: none; height: 32px; padding: 0 13px; display: flex; align-items: center; border-radius: 99px; background: #FFFFFF; border: 1px solid var(--control); font-size: 12px; font-weight: 500; }
.s-help { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--text-2); }
.s-cta { position: absolute; left: 20px; right: 20px; bottom: 26px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 99px; background: var(--ink); color: #FFFFFF; font-size: 14px; font-weight: 500; }

/* ---------- Waitlist dialog ----------
   Built by js/site.js. Centred on desktop, a bottom sheet under 820px. */
/* Keyed to [open] rather than a class, so the lock can never outlive the
   dialog however the browser closes it. */
html:has(.wl[open]) { overflow: hidden; }
.wl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  overflow: hidden;
}
.wl[open] { display: flex; align-items: center; justify-content: center; }
.wl::backdrop { background: transparent; }
.wl-scrim { position: absolute; inset: 0; background: rgba(20,21,15,.42); opacity: 0; transition: opacity 260ms ease; }
.wl-panel {
  position: relative;
  width: 440px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 32px 32px 30px;
  border-radius: 28px;
  background: #FFFFFF;
  box-shadow: 0 30px 80px -30px rgba(20,21,15,.45);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity 220ms ease, transform 420ms var(--ease-out);
}
.wl.is-vis .wl-scrim { opacity: 1; }
.wl.is-vis .wl-panel { opacity: 1; transform: none; }
.wl-grab { display: none; width: 40px; height: 5px; margin: 0 auto 18px; border-radius: 3px; background: var(--control); }
@media (max-width: 819.98px) {
  .wl[open] { align-items: flex-end; }
  .wl-panel {
    width: 100%;
    max-width: none;
    max-height: calc(100% - 24px);
    padding: 10px 22px calc(26px + env(safe-area-inset-bottom)) 22px;
    border-radius: 28px 28px 0 0;
    opacity: 1;
    transform: translateY(100%);
  }
  .wl-grab { display: block; }
}
.wl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.wl-close:hover { background: var(--line); }
.wl-close svg, .wl svg.stroke { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.wl-icon { width: 56px; height: 56px; border-radius: 13px; border: 1px solid var(--line); box-sizing: border-box; display: block; }
.wl-h { margin: 20px 0 0; font-size: 28px; font-weight: 300; line-height: 1.12; letter-spacing: -.8px; text-wrap: balance; }
.wl-form { margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.wl-label { font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--text-2); }
.wl-input {
  height: 52px;
  margin-top: -4px;
  padding: 0 20px;
  box-sizing: border-box;
  border-radius: 99px;
  border: 1.5px solid var(--control);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: border-color 150ms ease, opacity 150ms ease;
}
.wl-input:focus { border-color: var(--ink); }
.wl-input[aria-invalid="true"] { border-color: var(--red); }
.wl-input:disabled { opacity: .55; }
.wl-err { display: flex; align-items: center; gap: 8px; margin-top: -2px; padding-left: 4px; font-size: 13.5px; color: var(--red); }
.wl-err:empty { display: none; }
.wl-err svg { flex: none; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; }
.wl-submit { height: 52px; font-size: 15.5px; gap: 10px; }
.wl-submit:active { transform: scale(.98); }
.wl-submit:disabled { cursor: progress; background: var(--ink); }
.wl-spin { display: none; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #FFFFFF; animation: wl-spin 800ms linear infinite; }
.wl-submit[aria-busy="true"] .wl-spin { display: block; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
.wl-opt { display: flex; align-items: flex-start; gap: 12px; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.wl-opt input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.wl-fine { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.wl-fine a { text-decoration: underline; text-underline-offset: 3px; }
.wl-done-head { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.wl-done-head .wl-h { margin: 0; }
.wl-tick { width: 26px; height: 26px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.wl-tick svg { stroke: #FFFFFF; stroke-width: 1.8; }
.wl-done-p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.wl-done-p strong { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.wl-share { width: 100%; height: 52px; margin-top: 24px; gap: 10px; border: 1.5px solid var(--ink); background: #FFFFFF; color: var(--ink); font-size: 15px; }
.wl-share:hover { background: var(--card); }
.wl-share svg { stroke-width: 1.5; }
.wl-done { width: 100%; height: 48px; margin-top: 10px; border: 0; background: none; font-size: 14.5px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.wl-done:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { margin-top: var(--sec); border-top: 1px solid var(--line); }
.footer-in { padding-top: 64px; padding-bottom: 46px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 38px 26px; }
.footer-blurb { max-width: 260px; }
.footer-blurb p { margin: 11px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.footer-app { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; letter-spacing: -.2px; }
.footer-app img { width: 23px; height: 23px; border-radius: 6px; display: block; }
.footer .mark-name { font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .eyebrow { margin-bottom: 2px; }
.footer-col a { font-size: 14px; color: var(--text-2); }
.copyright { margin-top: 52px; font-size: 10.5px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--text-2); }

/* =====================================================================
   Splitsimple product page
   ===================================================================== */
.sec { padding-top: var(--sec); }

/* ---------- Hero ---------- */
.p-hero {
  padding-top: 72px;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 48px;
  align-items: center;
}
.p-hero-copy { max-width: 520px; }
.p-hero h1 { margin: 0; font-size: 68px; font-weight: 300; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.p-lead { margin: 22px 0 0; max-width: 420px; font-size: 20px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.p-hero .btn { margin-top: 32px; }
.p-caption { margin-top: 18px; }
.p-shot { display: flex; justify-content: center; padding: 44px 0; background: var(--card); border: 1px solid var(--line); border-radius: 32px; }
.p-shot .ph { --ps: .86; }
@media (max-width: 819.98px) {
  .p-hero { padding-top: 36px; grid-template-columns: minmax(0,1fr); gap: 36px; }
  .p-hero h1 { font-size: 46px; }
  .p-lead { font-size: 18px; }
  .p-shot { padding: 32px 0; }
  .p-shot .ph { --ps: .78; }
}

/* ---------- How it works ----------
   Two layouts. The pinned one (html.pin, set by site.js when motion is
   allowed) keeps the phone still while the steps change; the static one
   shows all three screens side by side, and is what you get with reduced
   motion or no JS. */
.how-pinned { display: none; }
.pin .how-pinned { display: block; }
.pin .how-static { display: none; }

/* svh: on iOS Safari 100vh is the viewport with the toolbar hidden, which
   would push the bottom of the pinned phone under the toolbar. */
.how-outer { height: calc(3.2 * (100vh - var(--hdr-app))); height: calc(3.2 * (100svh - var(--hdr-app))); margin-top: 40px; }
.how-panel {
  position: sticky;
  top: var(--hdr-app);
  height: calc(100vh - var(--hdr-app));
  height: calc(100svh - var(--hdr-app));
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 40px;
  align-items: center;
}
.how-copy { max-width: 440px; }
.how-copy .h2 { margin-bottom: 34px; font-size: 40px; }
.how-steps { margin: 0; padding: 0; list-style: none; }
.how-step {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.how-track { height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.how-fill { height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left center; }
.how-step-body { display: flex; gap: 18px; padding: 20px 0 24px; }
.how-n { padding-top: 8px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text-3); transition: color 250ms ease; }
.how-step-main { flex: 1; min-width: 0; }
.how-title { font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -.5px; color: var(--text-3); transition: color 250ms ease; }
.how-desc-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out); }
.how-desc-wrap > div { overflow: hidden; min-height: 0; }
.how-desc { margin: 0; padding-top: 10px; font-size: 16.5px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.how-step.is-on .how-n, .how-step.is-on .how-title { color: var(--ink); }
.how-step.is-on .how-desc-wrap { grid-template-rows: 1fr; }
.how-mob { display: none; }
.how-phone { display: flex; justify-content: center; }

@media (max-width: 819.98px) {
  .how-outer { margin-top: 24px; }
  .how-panel { display: flex; flex-direction: column; gap: 0; padding-top: 18px; align-items: stretch; background: #FFFFFF; }
  .how-copy { display: none; }
  .how-mob { display: block; }
  .how-mob-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .how-seg { display: flex; gap: 4px; padding: 3px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
  .how-seg button {
    min-width: 48px;
    height: 40px;
    border: 0;
    border-radius: 99px;
    background: transparent;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background-color 200ms ease, color 200ms ease;
  }
  .how-seg button.is-on { background: var(--ink); color: #FFFFFF; }
  .how-caps { display: grid; margin-top: 16px; }
  .how-cap { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s linear 300ms; }
  .how-cap.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
  .how-cap-title { font-size: 23px; letter-spacing: -.4px; }
  .how-cap p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
  .how-phone { margin-top: 18px; }
}

.how-static-list { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.how-static-list li { display: flex; flex-direction: column; gap: 20px; }
.how-static-shot { display: flex; justify-content: center; padding: 28px 0; background: var(--card); border: 1px solid var(--line); border-radius: 28px; }
.how-static-shot .ph { --ps: .74; }
.how-static-cap { display: flex; gap: 14px; }
.how-static-cap .how-n { padding-top: 6px; color: var(--ink); }
.how-static-cap h3 { margin: 0; font-size: 23px; font-weight: 400; letter-spacing: -.4px; }
.how-static-cap p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

/* ---------- Privacy ---------- */
.p-card { padding: 56px 52px; background: var(--card); border: 1px solid var(--line); border-radius: 32px; }
.p-card .h2 { max-width: 560px; }
.p-points { margin: 44px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.p-points li { padding-top: 26px; border-top: 1px solid var(--control); }
.p-points svg { display: block; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.p-points h3 { margin: 18px 0 0; font-size: 21px; font-weight: 400; letter-spacing: -.4px; }
.p-points p, .faq-a p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; font-size: 15px; font-weight: 500; }
.arrow-link svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.arrow-link:hover svg { transform: translateX(2px); }
@media (max-width: 819.98px) { .p-card { padding: 36px 22px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 48px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-q {
  width: 100%;
  min-height: 64px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: none;
  text-align: left;
  color: var(--ink);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -.3px;
  cursor: pointer;
}
.faq-q span { flex: 1; }
.faq-q svg { flex: none; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; transition: transform 300ms var(--ease-out); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 380ms var(--ease-out); }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { margin: 0; padding: 0 40px 22px 0; }
.js .faq-a { grid-template-rows: 0fr; }
.js .faq-a > div { visibility: hidden; transition: visibility 0s linear 380ms; }
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.js .faq-item.is-open .faq-a > div { visibility: visible; transition-delay: 0s; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
@media (max-width: 819.98px) { .faq { grid-template-columns: minmax(0,1fr); gap: 28px; } }

/* ---------- Founder note ---------- */
.founder { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.founder-head { display: flex; align-items: center; gap: 16px; }
/* Portrait slot: swap the placeholder for <img src="…" alt=""> when a photo arrives. */
.founder-portrait { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; background: var(--card); border: 1px solid var(--control); box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-portrait svg { fill: none; stroke: var(--text-3); stroke-width: 1.5; stroke-linecap: round; }
.founder-role { margin-top: 6px; font-size: 15px; font-weight: 500; }
.founder-note { margin: 0; font-size: 26px; font-weight: 300; line-height: 1.5; letter-spacing: -.3px; text-wrap: pretty; }
@media (max-width: 819.98px) { .founder-note { font-size: 21px; } }

/* ---------- Closing ---------- */
.p-join { padding: 76px 40px 68px; background: var(--ink); border-radius: 32px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.p-join img { width: 64px; height: 64px; border-radius: 15px; display: block; }
.p-join .h2 { margin-top: 26px; color: #FFFFFF; }
.p-join .btn { margin-top: 30px; }
.p-join .eyebrow { margin-top: 20px; color: var(--on-ink-2); }
.p-join noscript p { margin: 20px 0 0; font-size: 15px; color: var(--on-ink-2); }
.p-join noscript a { color: #FFFFFF; text-decoration: underline; }
@media (max-width: 819.98px) { .p-join { padding: 56px 22px; } }

/* ---------- Mobile waitlist bar ---------- */
.wl-bar { display: none; }
@media (max-width: 819.98px) {
  .wl-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: saturate(1.4) blur(16px);
    backdrop-filter: saturate(1.4) blur(16px);
    border-top: 1px solid var(--line);
    transform: translateY(calc(100% + 2px));
    transition: transform 320ms var(--ease-out);
  }
  .wl-bar.is-on { transform: none; }
  .wl-bar img { width: 36px; height: 36px; border-radius: 9px; display: block; flex: none; }
  .wl-bar-name { flex: 1; min-width: 0; }
  .wl-bar-name b { display: block; font-size: 14.5px; font-weight: 500; }
  .wl-bar-name span { font-size: 12.5px; color: var(--text-2); }
  .wl-bar .btn { height: 46px; padding: 0 20px; font-size: 14.5px; }
  .product .footer-in { padding-bottom: 110px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
  .wl-spin { animation-duration: 1600ms; }
  .btn:active { transform: none; }
  .wl-panel, .wl.is-vis .wl-panel { transform: none; }
}
