/* Facial Editor: locked look (round 4, 2026-10-21).
   Bone page, evergreen text + dark stages only where video plays, chartreuse ONLY on the hand-drawn line. */

:root {
  --bone: #F1ECE3;
  --bone-deep: #E7E1D5;
  --field: #F8F5EF;
  --ink: #16271F;
  --ink-soft: #3E4842;
  --muted: #4C564F;
  --rule: #B7B0A2;
  --stage: #16271F;
  --stage-deep: #0F1D17;
  --on-stage: #ECE6DA;
  --on-stage-muted: #A9B4A6;
  --spark: #DDF15A;
  --art: #2C4438;
  --serif: "Gloock", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone) url("/assets/paper-grain.png");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #3E5A4C; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(52px, 7vw, 92px); line-height: 0.98; }
h2 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; }
p { margin: 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 20px; color: var(--ink-soft); max-width: 500px; }
.small { font-size: 15px; color: var(--muted); }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.wordmark { font-family: var(--serif); font-size: 28px; line-height: 1; text-decoration: none; color: var(--ink); }
.nav-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }

/* Buttons + form */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
  font: 600 17px var(--sans); text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--bone);
}
.btn:hover { background: #24382E; color: var(--bone); }
.btn-light { background: var(--on-stage); color: var(--ink); font-weight: 700; }
.btn-light:hover { background: #FFFFFF; color: var(--ink); }

.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.waitlist input {
  flex: 1 1 240px; min-width: 0; height: 56px; padding: 0 20px;
  border: 1.5px solid var(--rule); border-radius: 999px; background: var(--field);
  font: 17px var(--sans); color: var(--ink);
}
.waitlist input::placeholder { color: #7A817B; }
.on-stage .waitlist input { background: var(--stage-deep); border-color: #3E5A4C; color: var(--on-stage); }
.on-stage .waitlist input::placeholder { color: #8E998F; }
.form-note { min-height: 1.6em; font-size: 15px; margin-top: 10px; color: var(--muted); }
.on-stage .form-note { color: var(--on-stage-muted); }
.form-note.is-error { color: #9A2B21; }
.on-stage .form-note.is-error { color: #F2B8AE; }

/* The cursor-click: hand-drawn cursor half on, half off the main button */
.cta-wrap { position: relative; flex: none; }
.cta-cursor { position: absolute; right: -28px; bottom: -38px; width: 58px; height: 58px; overflow: visible; pointer-events: none; }
.cta-cursor .b { stroke-width: 1.2px; opacity: 0.7; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 24px; padding-bottom: 110px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.stage { background: var(--stage) url("/assets/paper-grain.png"); border-radius: 32px; }
.hero-stage { flex: 1 1 420px; min-width: 0; min-height: 640px; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.reel { position: relative; width: min(310px, 72vw); aspect-ratio: 300 / 520; }
.reel video, .reel img { position: absolute; inset: 5.8% 6% 3.5% 6%; width: 88%; height: 90.7%; object-fit: cover; border-radius: 14px; background: var(--stage-deep); }
.reel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.line { fill: none; stroke: var(--spark); stroke-width: 2.6px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* --len is the line's on-screen length (set by site.js); 3000 is a safe fallback longer than any frame. */
.draw { stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); animation: draw 2.2s cubic-bezier(.6,.1,.3,1) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Points */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; padding-bottom: 100px; }
.point { border-top: 1px solid var(--rule); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.point b { font-size: 21px; }
.point p { color: var(--ink-soft); }

/* Examples */
.examples { padding-bottom: 110px; display: flex; flex-direction: column; gap: 32px; }
.example-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
.example-grid img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: var(--bone-deep); }

/* Help shape it */
.shape { padding-bottom: 100px; }
.shape-card { background: var(--bone-deep); border-radius: 28px; padding: 48px 52px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.shape-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.shape-copy h2 { font-size: clamp(30px, 3.4vw, 40px); }
.shape-list { margin: 0; padding: 0; list-style: none; flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; }
.shape-list li { display: flex; gap: 16px; align-items: baseline; }
.shape-list b { font-family: var(--serif); font-weight: 400; font-size: 28px; width: 24px; flex: none; }
.shape-icon { width: 54px; height: 54px; stroke: var(--ink); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.shape-icon .b { stroke-width: 1.1px; opacity: 0.7; }

/* Dark CTA band with big tone-on-tone art */
.band { position: relative; overflow: hidden; background: var(--stage) url("/assets/paper-grain.png"); color: var(--on-stage); }
.band-inner { position: relative; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.band .waitlist { justify-content: center; width: 100%; }
.band-art { position: absolute; right: -140px; top: -120px; width: 620px; height: 620px; stroke: var(--art); fill: none; stroke-width: 6px; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.band-art path { vector-effect: non-scaling-stroke; }
.band-art .b { stroke-width: 2.6px; opacity: 0.8; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 40px; font-size: 15px; color: var(--muted); }
.footer .wordmark { font-size: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* Thanks page */
.thanks-stage { margin-top: 8px; padding: 72px 24px; display: flex; justify-content: center; }
.thanks-frame { position: relative; width: min(720px, 100%); padding: 64px 40px; text-align: center; color: var(--on-stage); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.thanks-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.thanks-frame h1 { position: relative; font-size: clamp(42px, 6vw, 64px); }
.thanks-frame p { position: relative; color: var(--on-stage-muted); font-size: 19px; }
.next-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; padding-top: 56px; padding-bottom: 100px; }
.next-card { background: var(--bone-deep); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.next-card h2 { font-size: 30px; }
.copy-row { display: flex; align-items: center; gap: 8px; width: 100%; background: var(--field); border: 1px solid #D6CFC1; border-radius: 999px; padding: 6px 6px 6px 18px; }
.copy-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-row .btn { height: 44px; padding: 0 18px; font-size: 15px; }

/* Text pages */
.prose { max-width: 720px; padding-top: 24px; padding-bottom: 100px; }
.prose h1 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 12px; }
.prose h2 { font-size: 26px; margin: 36px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { padding-top: 18px; padding-bottom: 18px; }
  .wordmark { font-size: 24px; }
  .hero { gap: 40px; padding-bottom: 72px; }
  .hero-copy { text-align: left; }
  .hero-stage { min-height: 0; padding: 40px 16px; border-radius: 26px; }
  .lede { font-size: 18px; }
  .waitlist .btn, .waitlist input { flex: 1 1 100%; }
  .waitlist .cta-wrap { flex: 1 1 100%; }
  .waitlist .cta-wrap .btn { width: 100%; }
  .cta-cursor { right: -6px; bottom: -34px; width: 50px; height: 50px; }
  .points { gap: 28px; padding-bottom: 72px; }
  .example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .examples, .shape { padding-bottom: 72px; }
  .shape-card { padding: 32px 24px; gap: 28px; border-radius: 24px; }
  .band-inner { padding-top: 72px; padding-bottom: 72px; }
  .band-art { right: -260px; top: -180px; width: 520px; height: 520px; }
  .thanks-frame { padding: 48px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .draw { animation: none; stroke-dashoffset: 0; }
}
