/* Ownhaus landing page. Paper and ink, the same palette as the app (src/styles/globals.css), set as an editorial ledger. */

/* The three typefaces, served from this site (Latin subset). Licence: fonts/LICENSE.txt. */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/newsreader.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('/fonts/newsreader-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/hanken-grotesk.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-mono-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/dm-mono-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light dark;
  --canvas: #f4f0e7;
  --surface: #fffdf8;
  --raised: #ece7da;
  --line: rgba(52, 40, 14, 0.14);
  --line-2: rgba(52, 40, 14, 0.3);
  --ink: #17130d;
  --body: #2b261e;
  --muted: #6a6355;
  --faint: #938b7b;
  --accent: #2f48c9;
  --on-accent: #ffffff;
  --ok: #0f7b55;
  --risk: #c0263a;
  --draft: #a35a06;
  --draft-on-night: #fcd34d;
  --risk-on-night: #fda4af;
  --ok-on-night: #6ee7b7;
  --focus-on-night: #9db4ff;
  --night: #14110d;
  --on-night: #f4f0e7;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 4px rgba(60, 45, 20, 0.05), 0 30px 60px -30px rgba(60, 45, 20, 0.35);

  --display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0c0d11;
    --surface: #14151b;
    --raised: #1c1e26;
    --line: rgba(236, 231, 220, 0.12);
    --line-2: rgba(236, 231, 220, 0.28);
    --ink: #fbf8f1;
    --body: #e6e1d6;
    --muted: #9c978c;
    --faint: #6f6b63;
    --accent: #9db4ff;
    --on-accent: #0d1020;
    --ok: #6ee7b7;
    --risk: #fda4af;
    --draft: #fcd34d;
    --draft-on-night: #a35a06;
    --risk-on-night: #c0263a;
    --ok-on-night: #0f7b55;
    --focus-on-night: #2f48c9;
    --night: #f3efe6;
    --on-night: #14110d;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paper grain over everything. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .05 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::before { mix-blend-mode: screen; opacity: 0.12; } }

h1, h2, h3, h4, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
em, .logo i { font-style: italic; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--canvas); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.mono { font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
/* The wordmark: "Own" set upright and firm, "haus" in the italic the headings use for their second thought. */
.logo { font: 600 26px/1 var(--display); color: var(--ink); letter-spacing: -0.025em; white-space: nowrap; }
.logo i { font-weight: 400; letter-spacing: -0.01em; margin-left: 0.02em; }
.nav nav { display: flex; gap: 28px; font-size: 14.5px; color: var(--muted); }
.nav nav a { position: relative; padding: 4px 0; transition: color 0.2s; }
.nav nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav nav a:hover { color: var(--ink); }
.nav nav a:hover::after { transform: scaleX(1); }

/* ---------- Buttons and forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--night); color: var(--on-night);
  font: 600 16px/1 var(--sans); white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--ink) 70%, transparent); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-light { background: #f4f0e7; color: #14110d; }

.waitlist { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 520px; }
.waitlist.stacked { grid-template-columns: 1fr; }
.waitlist input {
  min-height: 52px; min-width: 0; padding: 0 20px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font: 400 16px/1 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist input::placeholder { color: var(--muted); }
.waitlist input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.waitlist input[aria-invalid='true'] { border-color: var(--risk); }
.form-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); padding-left: 6px; }
.form-note[data-state='error'] { color: var(--risk); }
.form-note[data-state='ok'] { color: var(--ok); font-weight: 600; }
.form-use { grid-column: 1 / -1; margin-top: -4px; font-size: 12.5px; color: var(--muted); padding-left: 6px; }
.waitlist noscript { grid-column: 1 / -1; font-size: 13.5px; padding-left: 6px; }
/* The honeypot: off screen, out of the tab order and hidden from screen readers. Only bots fill it in. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(40px, 5vw, 72px);
  max-width: 1440px; margin: 0 auto;
}
.eyebrow { display: inline-flex; align-items: flex-start; gap: 10px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.eyebrow::before { content: ''; flex: none; width: 28px; height: 1px; margin-top: 0.7em; background: var(--ink); }
h1 {
  font: 500 clamp(46px, 7.4vw, 112px)/0.95 var(--display);
  letter-spacing: -0.035em; color: var(--ink); text-wrap: balance;
}
h1 .ink { position: relative; display: inline-block; font-style: italic; font-weight: 400; color: var(--accent); white-space: nowrap; }
h1 .ink svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.2em; overflow: visible; }
h1 .ink path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s var(--ease) 0.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lede { margin: 30px 0 34px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--body); }

.load { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
.d0 { --d: 0; } .d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* A restrained window around each screenshot: a paper bar with three ink rings and the page's name, then the capture itself. */
.frame { position: relative; overflow: hidden; background: var(--raised); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-2); }
.frame-bar span { margin-left: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.frame picture, .frame img, .phone img { display: block; width: 100%; height: auto; }

.hero-shot { margin: 0; }
.demo-note { display: flex; gap: 10px; max-width: 25rem; margin-top: 20px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.demo-note::before { content: ''; flex: none; width: 18px; height: 1px; margin-top: 0.72em; background: var(--ink); }

/* ---------- Ticker ---------- */
.ticker {
  border-block: 1px solid var(--line-2); overflow: hidden; padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(#000 1px, transparent 1px, transparent calc(100% - 1px), #000 calc(100% - 1px));
}
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker span { font: 400 italic clamp(22px, 2.6vw, 34px)/1 var(--display); color: var(--ink); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.ticker span::after { content: '✦'; font-style: normal; font-size: 0.45em; color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Bands ---------- */
.band { padding: clamp(72px, 10vw, 150px) var(--gutter); max-width: 1440px; margin: 0 auto; }
.band-head { max-width: 980px; margin-bottom: clamp(40px, 6vw, 80px); }
.num { color: var(--muted); margin-bottom: 22px; }
h2 { font: 500 clamp(34px, 5vw, 72px)/1.02 var(--display); letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
h2 em { font-weight: 400; color: var(--accent); }
h3 { font: 500 clamp(22px, 2.1vw, 30px)/1.15 var(--display); letter-spacing: -0.015em; color: var(--ink); }

/* Hidden only once main.js has put .js on <html>, so the page reads in full if the script never runs. Hiding is instant; the reveal eases in. */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--stagger, 0ms); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); transition: none; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.big { font: 400 clamp(21px, 2.2vw, 30px)/1.4 var(--display); color: var(--ink); }
.ledger { border-top: 2px solid var(--ink); }
.ledger li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
.ledger li span:last-child { font: 400 12.5px/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); text-align: right; }
.ledger .total { border-bottom: 2px solid var(--ink); font-weight: 700; color: var(--ink); }
.ledger .total span:last-child { font: 400 italic 30px/1 var(--display); letter-spacing: 0; text-transform: none; color: var(--risk); }

/* Day */
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.day-grid article { padding: 34px 32px 8px 0; border-right: 1px solid var(--line); }
.day-grid article + article { padding-left: 32px; }
.day-grid article:last-child { border-right: 0; }
.time { display: block; color: var(--accent); margin-bottom: 44px; }
.day-grid h3 { margin-bottom: 12px; }
.day-grid p { color: var(--muted); }

/* What's inside: four features, each copy beside a framed screenshot on alternating sides, then the smaller cells two to a row. */
.features { display: grid; gap: 16px; margin-bottom: 16px; }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cell {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(24px, 2.6vw, 36px);
  transition: opacity 0.9s var(--ease), transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease);
}
.cell.in:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.cell.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.cell.feature:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cell.feature:nth-child(even) .feature-shot { order: -1; }
.cell.feature.in:hover { transform: translateY(-3px); }
.feature-copy { display: flex; flex-direction: column; gap: 14px; align-self: stretch; }
.feature-shot { margin: 0; }
.cell > .frame { margin-top: 4px; }
/* The signer's phone overlaps the corner of the sender's window. */
.feature-shot.pair { position: relative; padding-bottom: 30%; }
.phone { position: absolute; right: -12px; bottom: 0; width: 46%; border: 6px solid #14110d; border-radius: 24px; background: #14110d; box-shadow: 0 0 0 1px var(--line-2), 0 30px 50px -24px rgba(0, 0, 0, 0.55); }
.phone img { border-radius: 18px; }
.phone-label { position: absolute; left: 50%; top: 0; transform: translate(-50%, -70%); white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10px; }
.cell.dark .frame { background: var(--night); border-color: color-mix(in srgb, var(--on-night) 22%, transparent); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.cell.dark .frame-bar { background: color-mix(in srgb, var(--on-night) 7%, var(--night)); border-color: color-mix(in srgb, var(--on-night) 14%, transparent); }
.cell.dark .frame-bar i { border-color: color-mix(in srgb, var(--on-night) 35%, transparent); }
.cell.dark .frame-bar span { color: color-mix(in srgb, var(--on-night) 60%, transparent); }
.cell.dark { background: var(--night); color: color-mix(in srgb, var(--on-night) 78%, transparent); border-color: transparent; }
.cell.dark h3, .cell.dark .replaces { color: var(--on-night); }
.cell.dark .tag { color: var(--on-night); border-color: color-mix(in srgb, var(--on-night) 30%, transparent); }
.cell.dark .replaces { border-color: color-mix(in srgb, var(--on-night) 20%, transparent); }
.tag { align-self: flex-start; justify-self: start; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--accent); }
.cell p { font-size: 15.5px; color: inherit; }
.cell:not(.dark) p { color: var(--muted); }
.cell .replaces { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2); font: 400 12px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--ink); }

.points { border-top: 1px solid var(--line-2); }
.points li { display: grid; gap: 3px; padding: 11px 0 12px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.points li:last-child { border-bottom: 0; padding-bottom: 0; }
.points b { font: 500 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.cell.dark .points, .cell.dark .points li { border-color: color-mix(in srgb, var(--on-night) 18%, transparent); }
.cell.dark .points li { color: inherit; }
.cell.dark .points b { color: var(--on-night); }
.fields { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding-top: 4px; }
.fields li { font: 500 10.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 9px; border: 1px dashed var(--line-2); border-radius: 6px; color: var(--ink); }
.fields li:first-child { border-style: solid; border-color: var(--accent); color: var(--accent); }

/* Rules */
.rule-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 96px); border-top: 2px solid var(--ink); }
.rule-list li { display: grid; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.rule-list b { font: 500 clamp(21px, 2vw, 27px)/1.2 var(--display); color: var(--ink); }
.rule-list span { color: var(--muted); }

/* Offer */
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stack { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3.4vw, 48px); }
.stack > h3 { font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.09em; color: var(--muted); padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.stack li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.stack li b { font: 500 21px/1.25 var(--display); color: var(--ink); }
.stack li span { color: var(--muted); font-size: 15.5px; }
.guarantee { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 22px; border: 1px dashed var(--line-2); border-radius: 16px; background: var(--canvas); }
.seal { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ok); color: var(--surface); font-size: 20px; }
.guarantee h4 { font: 500 22px/1.2 var(--display); color: var(--ink); margin-bottom: 6px; }
.guarantee p { font-size: 15.5px; }

.claim { --draft: var(--draft-on-night); position: sticky; top: 96px; background: var(--night); color: var(--on-night); border-radius: 24px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.claim .mono { opacity: 0.65; }
.count { justify-self: start; font: 400 italic clamp(72px, 9vw, 128px)/0.9 var(--display); letter-spacing: -0.04em; }
.why { font-size: 15px; opacity: 0.8; margin-bottom: 10px; }
.claim input { background: transparent; color: var(--on-night); border-color: color-mix(in srgb, var(--on-night) 35%, transparent); }
.claim input::placeholder, .claim .form-note, .claim .form-use { color: color-mix(in srgb, var(--on-night) 60%, transparent); }
.claim input:focus { border-color: var(--focus-on-night); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus-on-night) 18%, transparent); }
.claim input[aria-invalid='true'] { border-color: var(--risk-on-night); }
.claim :focus-visible { outline-color: var(--focus-on-night); }
.claim .form-note[data-state='error'] { color: var(--risk-on-night); }
.claim .form-note[data-state='ok'] { color: var(--ok-on-night); }

/* Placeholders the owner still has to confirm. Search the HTML for class="draft". */
mark.draft { background: color-mix(in srgb, var(--draft) 14%, transparent); color: inherit; padding: 1px 4px; border-radius: 4px; outline: 1px dashed var(--draft); }
.is-draft { position: relative; }
.is-draft::after { content: 'DRAFT'; position: absolute; top: 6px; right: 0; font: 500 9.5px/1 var(--mono); letter-spacing: 0.1em; color: var(--draft); }
.guarantee.is-draft::after { top: 10px; right: 12px; }
.count.is-draft::after { top: 4px; right: auto; left: calc(100% + 14px); }
.count.is-draft mark { display: inline-block; padding: 0 0.08em; outline-offset: 4px; }
.faq .is-draft { padding-top: 22px; }
.faq .is-draft::after { top: 0; right: auto; left: 0; }

/* Founder */
.founder { text-align: center; }
.founder .num { margin-bottom: 36px; }
blockquote { max-width: 22em; margin: 0 auto; font: 400 italic clamp(26px, 3.6vw, 52px)/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.sig { margin-top: 30px; color: var(--muted); }

/* FAQ */
.faq { max-width: 920px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 500 clamp(20px, 2vw, 26px)/1.25 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 400 28px/1 var(--sans); color: var(--accent); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--muted); max-width: 46em; }
.faq summary:hover::after { transform: scale(1.2); }
.faq details[open] summary:hover::after { transform: rotate(45deg) scale(1.2); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* Final */
.final { background: #14110d; color: #f4f0e7; padding: clamp(80px, 12vw, 180px) var(--gutter); display: grid; justify-items: center; gap: 44px; text-align: center; }
@media (prefers-color-scheme: dark) { .final { border-top: 1px solid var(--line); } }
.final h2 { color: #f4f0e7; font-size: clamp(44px, 9vw, 140px); line-height: 1; }
.final h2 em { color: #9db4ff; }
.final .waitlist { width: 100%; }
.final input { background: transparent; color: #f4f0e7; border-color: rgba(244, 240, 231, 0.35); }
.final input::placeholder, .final .form-note, .final .form-use { color: rgba(244, 240, 231, 0.6); }
.final input:focus { border-color: #9db4ff; box-shadow: 0 0 0 4px rgba(157, 180, 255, 0.18); }
.final input[aria-invalid='true'] { border-color: #fda4af; }
.final .form-note[data-state='error'] { color: #fda4af; }
.final .form-note[data-state='ok'] { color: #6ee7b7; }
.final .form-note, .final .form-use, .final .waitlist noscript { text-align: center; padding: 0; }
.final :focus-visible, .foot :focus-visible { outline-color: #9db4ff; }

/* 404 */
.lost { min-height: 62vh; display: grid; align-content: center; justify-items: start; gap: 26px; padding: clamp(64px, 10vw, 140px) var(--gutter); max-width: 1440px; margin: 0 auto; }
.lost .lede { margin: 0; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px var(--gutter); background: #14110d; color: rgba(244, 240, 231, 0.6); border-top: 1px solid rgba(244, 240, 231, 0.14); }
.foot .logo { color: #f4f0e7; }

/* ---------- Blog ---------- */
.post-head { max-width: 900px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) var(--gutter) 0; }
.post-head h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.post-head h1 em { font-weight: 400; color: var(--accent); }
.post-head .eyebrow a { border-bottom: 1px solid var(--line-2); }
.post-head .eyebrow a:hover { color: var(--ink); border-color: var(--ink); }
.post-meta { margin-top: 26px; color: var(--muted); }
.post-head .lede { margin: 26px 0 0; font-size: clamp(18px, 1.7vw, 22px); max-width: none; }
.prose { max-width: 900px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(72px, 9vw, 120px); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; }
.prose h3 { margin-top: 1.6em; font: 600 20px/1.3 var(--sans); color: var(--ink); }
.prose p, .prose li { max-width: 40em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.35em; display: grid; gap: 0.55em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent); }
.prose blockquote { border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; font: 400 italic clamp(18px, 1.6vw, 21px)/1.55 var(--display); color: var(--ink); }
.prose .note { margin-top: 2.4em; padding: 18px 22px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font-size: 14.5px; color: var(--muted); }
.final-sub { max-width: 36em; color: rgba(244, 240, 231, 0.75); font-size: clamp(16px, 1.4vw, 19px); }
.blog-head { padding-bottom: 0; }
.blog-index { padding-top: clamp(40px, 6vw, 72px); }
.related { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-list a { display: grid; align-content: start; gap: 12px; height: 100%; padding: 26px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; transition: transform 0.35s var(--ease), border-color 0.2s; }
.post-list a:hover { transform: translateY(-3px); border-color: var(--ink); }
.post-list .mono { color: var(--muted); }
.post-list b { font: 500 clamp(21px, 2vw, 26px)/1.2 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.post-list .excerpt { color: var(--muted); font-size: 15px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero, .problem-grid, .offer-grid { grid-template-columns: 1fr; }
  .hero-shot { justify-self: center; width: 100%; max-width: 720px; }
  .cell.feature, .cell.feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .cell.feature:nth-child(even) .feature-shot { order: 0; }
  .bento .cell:has(.frame) { grid-column: 1 / -1; }
  .claim { position: static; }
  .day-grid { grid-template-columns: 1fr; }
  .day-grid article, .day-grid article + article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); column-gap: 32px; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .day-grid article > * { grid-column: 2; }
  .day-grid .time { grid-column: 1; grid-row: 1 / span 2; margin: 0; padding-top: 8px; }
  .post-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .waitlist { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .bento, .rule-list { grid-template-columns: 1fr; }
  .cell.feature { padding: 22px 18px; }
  .cell.feature .feature-shot { margin-inline: -6px; }
  .feature-shot.pair { padding-bottom: 0; }
  .phone { position: relative; right: auto; width: 84%; margin: 28px auto 0; }
  .day-grid article, .day-grid article + article { display: block; padding: 28px 0; }
  .day-grid .time { margin-bottom: 18px; padding-top: 0; }
  .stack li { grid-template-columns: 1fr; gap: 6px; }
  .guarantee { flex-direction: column; gap: 14px; }
  .ledger li { flex-direction: column; gap: 4px; }
  .ledger li span:last-child { text-align: left; }
  .faq details p { padding-right: 0; }
  .demo-note { max-width: none; }
  .post-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .load, .js .reveal:not(.in) { opacity: 1; transform: none; }
  h1 .ink path { stroke-dashoffset: 0; }
}
