@import url("fonts/fonts.css");

:root {
  /* Napkin: noir fashion magazine. Black, ivory, one lipstick red. Bodoni Moda for display, Jost for text, Caveat only for handwriting. */
  --ink: #0C0B0B;
  --screen: #070606;
  --panel: #171414;
  --bezel: #1A1717;
  --line: #2E2929;
  --bone: #EEE7DC;
  --ash: #A69E94;
  --napkin: #F0EADF;
  --pen: #1F2638;
  --rouge: #AD0529;
  --rose: #D46A7A;
  --candle: #E3A57C;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bone); color: var(--ink); padding: 8px 14px; border-radius: 999px; z-index: 60; }
.skip:focus { left: 16px; }
.label { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ash); margin: 0; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.lead { margin: 0; font-size: 18px; color: var(--ash); max-width: 52ch; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ash); }
.top nav { display: flex; gap: 28px; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--bone); }
.top-cta { text-decoration: none; color: var(--ink); background: var(--bone); padding: 10px 16px; border-radius: 999px; font-weight: 500; letter-spacing: .2em; white-space: nowrap; }

/* Hero (magazine cover) */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-block: 4px clamp(72px, 9vw, 120px);
  background: radial-gradient(ellipse 46% 34% at 50% 40%, color-mix(in srgb, var(--candle) 15%, transparent), transparent 72%);
}
.masthead { width: 100%; font-family: var(--display); font-weight: 500; font-size: clamp(64px, 19vw, 250px); line-height: .84; letter-spacing: -.015em; text-align: center; margin: 0; }
.hero-fig { width: 100%; margin: clamp(36px, 4.5vw, 60px) 0 0; display: flex; justify-content: center; }
.napkin { width: 100%; max-width: 420px; transform: rotate(-3deg); box-shadow: 0 40px 70px -24px #000, 0 2px 0 rgba(0,0,0,.5); transition: transform 1.2s cubic-bezier(.22, .8, .24, 1), box-shadow 1.2s; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.napkin.lift { transform: rotate(-1deg) translateY(-6px); box-shadow: 0 56px 84px -28px #000, 0 2px 0 rgba(0,0,0,.5); }
@media (hover: hover) { .napkin:hover { transform: rotate(-1deg) translateY(-6px); box-shadow: 0 56px 84px -28px #000, 0 2px 0 rgba(0,0,0,.5); } }
.napkin svg { display: block; width: 100%; height: auto; }
.hero-q { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 7.6vw, 108px); line-height: .98; letter-spacing: -.015em; text-align: center; margin: clamp(48px, 6vw, 80px) auto 0; max-width: 13ch; text-wrap: balance; }
.hero-q em { color: var(--rouge); }
.hero-lede { margin: 22px auto 0; max-width: 34ch; font-family: var(--display); font-style: italic; font-size: clamp(19px, 2vw, 23px); line-height: 1.4; color: var(--ash); text-wrap: balance; }
.hero .join { margin: 32px auto 0; }

/* Hand-drawn heart: drawn once on load */
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s ease-out forwards; }
.draw .o { opacity: 0; animation: fade .5s ease-out forwards; }
.draw .s1 { animation-delay: .25s; } .draw .s2 { animation-delay: .85s; animation-duration: 1.1s; }
.draw .s3 { animation-delay: 1.7s; } .draw .s4 { animation-delay: 1.9s; } .draw .s5 { animation-delay: 2.15s; }
.draw .s6 { animation-delay: 2.4s; } .draw .s7 { animation-delay: 2.7s; }
.draw .o.s3 { animation-delay: 2.3s; } .draw .o.s4 { animation-delay: 2.5s; }
.draw .w { opacity: 0; animation: fade .6s ease-out 3s forwards; }
.draw .k { opacity: 0; animation: fade .5s ease-out 3.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* Waitlist form */
.join { width: 100%; max-width: 520px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.join input[type="email"] { appearance: none; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; color: var(--bone); font: inherit; font-size: 16px; padding: 15px 20px; }
.join input::placeholder { color: color-mix(in srgb, var(--ash) 75%, transparent); }
.join button { appearance: none; border: 0; border-radius: 999px; background: var(--rouge); color: var(--bone); font: inherit; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; padding: 0 24px; cursor: pointer; white-space: nowrap; transition: transform .15s; }
.join button:active { transform: scale(.98); }
.join button[disabled] { opacity: .5; cursor: default; }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-note { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; color: var(--ash); text-align: center; min-height: 1.5em; }
.join-note.ok { color: var(--bone); }
.join-note.bad { color: var(--rose); }

/* Founder letter */
.letter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.letter h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.06; margin: 14px 0 0; text-wrap: balance; }
.letter-body { font-family: var(--display); font-size: clamp(19px, 1.9vw, 22px); line-height: 1.6; max-width: 60ch; min-width: 0; }
.letter-body p { margin: 0 0 1em; }
.sign { font-style: italic; color: var(--ash); }

/* Pull quote */
.pull { padding-block: clamp(24px, 4vw, 48px) clamp(80px, 10vw, 140px); display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.pull svg { width: 64px; height: auto; }
.pull p { font-family: var(--display); font-size: clamp(34px, 5.2vw, 72px); line-height: 1.04; margin: 0; max-width: 15ch; text-wrap: balance; }

/* Section heads */
.sec { padding-block: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(44px, 6vw, 80px); }

/* How it works: three phones */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px); }
.step { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step .phone { margin: 0 auto 26px; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.08; margin: 0; }
.step .desc { margin: 0; color: var(--ash); font-size: 16px; }

/* Features */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 120px); align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature-text { display: flex; flex-direction: column; gap: 18px; max-width: 520px; min-width: 0; }
.feature-text .body { margin: 0; font-size: 18px; line-height: 1.65; }
.feature-text .small { margin: 0; font-size: 15px; color: var(--ash); padding-top: 16px; border-top: 1px solid var(--line); }

/* The reading demo */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.demo-fig { position: relative; margin: 0; max-width: 500px; width: 100%; justify-self: center; transform: rotate(-2deg); box-shadow: 0 40px 70px -24px #000; transition: transform 1.2s cubic-bezier(.22, .8, .24, 1); }
@media (hover: hover) { .demo-fig:hover { transform: rotate(0deg) translateY(-4px); } }
.demo-fig svg { display: block; width: 100%; height: auto; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--rouge); color: var(--bone); font: 500 14px/1 var(--sans); cursor: pointer; box-shadow: 0 0 0 0 color-mix(in srgb, var(--rouge) 60%, transparent); transition: transform .2s, box-shadow .3s; }
.pin:hover { transform: translate(-50%, -50%) scale(1.08); }
.pin[aria-pressed="true"] { box-shadow: 0 0 0 7px color-mix(in srgb, var(--rouge) 35%, transparent); }
.demo-read { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.demo-read h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; margin: 0; }
.demo-read h3 em { display: block; }
.sigs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sigs button { appearance: none; width: 100%; display: grid; grid-template-columns: 34px 70px minmax(0, 1fr); gap: 12px; align-items: baseline; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 14px 0; color: var(--ash); font: inherit; font-size: 16px; line-height: 1.5; cursor: pointer; transition: color .25s; }
.sigs li:last-child button { border-bottom: 1px solid var(--line); }
.sigs .n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; align-self: center; }
.sigs b { font-weight: 500; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; }
.sigs button[aria-pressed="true"] { color: var(--bone); }
.sigs button[aria-pressed="true"] .n { background: var(--rouge); border-color: var(--rouge); color: var(--bone); }
.meter { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: var(--panel); border-radius: 18px; }
.mrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.dots { display: flex; gap: 5px; flex: none; }
.dots i { width: 18px; height: 4px; border-radius: 2px; background: var(--line); }
.dots i.on { background: var(--bone); }
.mres { font-family: var(--display); font-style: italic; font-size: 18px; margin: 2px 0 0; }
.fine { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--ash); margin: 0; }

/* House rules */
.rules-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.rule { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--bone); }
.rule h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.15; margin: 0; }
.rule p { margin: 0; color: var(--ash); font-size: 15.5px; }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); }
.faq .sec-head { margin: 0; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; font-family: var(--display); font-size: clamp(20px, 2.1vw, 25px); line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--ash); transition: transform .25s; flex: none; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 22px; color: var(--ash); max-width: 62ch; }

/* Final call */
.final { padding-block: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; background: radial-gradient(ellipse 50% 50% at 50% 40%, color-mix(in srgb, var(--candle) 10%, transparent), transparent 70%); }
.final .hero-q { margin: 0; }
.final .lead { text-align: center; }

.foot { padding-block: 36px 56px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ash); }

/* Phone mockups */
.phone { position: relative; width: 290px; max-width: 100%; min-height: 600px; border-radius: 46px; background: var(--screen); border: 1px solid var(--line); box-shadow: 0 0 0 7px var(--bezel), 0 0 0 8px var(--line), 0 60px 90px -40px #000; padding: 58px 20px 24px; display: flex; flex-direction: column; gap: 13px; font-size: 12.5px; line-height: 1.5; text-align: left; flex: none; }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; }
.sb { position: absolute; top: 17px; left: 32px; right: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 500; }
.sb-r { display: flex; gap: 6px; align-items: center; }
.bars { display: flex; gap: 2px; align-items: flex-end; height: 10px; }
.bars i { width: 3px; background: var(--bone); border-radius: 1px; }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 6px; } .bars i:nth-child(3) { height: 8px; } .bars i:nth-child(4) { height: 10px; }
.bat { position: relative; width: 22px; height: 11px; border: 1px solid color-mix(in srgb, var(--bone) 55%, transparent); border-radius: 3px; }
.bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: var(--bone); border-radius: 1.5px; }
.ph-eb { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ash); margin: 0; }
.ph-title { font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.06; margin: 0; text-wrap: balance; }
.ph-name { font-family: var(--display); font-size: 38px; line-height: 1; margin: 0; }
.ph-sub { margin: -6px 0 0; color: var(--ash); font-size: 12px; }
.ph-card { background: var(--panel); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.ph-quote { font-family: var(--display); font-style: italic; font-size: 15.5px; line-height: 1.35; margin: 0; }
.ph-btn { border-radius: 999px; padding: 13px 14px; text-align: center; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; background: var(--bone); color: var(--ink); }
.ph-btn.red { background: var(--rouge); color: var(--bone); margin-top: auto; }
.ph-btn.ghost { background: transparent; color: var(--bone); border: 1px solid var(--line); }
.ph-tog { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.knob { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--rouge); }
.knob::after { content: ""; position: absolute; top: 3px; left: 19px; width: 18px; height: 18px; border-radius: 50%; background: var(--bone); }
.ph-pad { position: relative; border-radius: 14px; overflow: hidden; background: var(--napkin); aspect-ratio: 1; }
.ph-pad svg { display: block; width: 100%; height: 100%; }
.ph-pad .pp { position: absolute; top: 4px; left: 12px; font-family: var(--hand); font-size: 16px; color: var(--pen); }
.ph-pad .pt { position: absolute; top: 9px; right: 11px; font-size: 10px; letter-spacing: .1em; font-weight: 500; color: var(--pen); }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ph-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: 11.5px; }
.ph-chips .on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.ph-q { margin: 0; font-family: var(--display); font-size: 17px; line-height: 1.25; }
.rhead { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; }
.thumb { width: 84px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--napkin); transform: rotate(-3deg); box-shadow: 0 10px 20px -8px #000; }
.thumb svg { display: block; width: 100%; height: 100%; }
.rhead .ph-title { font-size: 21px; }
.rhead .ph-title em { display: block; }
.ph-sig { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ph-sig li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 12px; line-height: 1.45; }
.ph-sig b { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); font-weight: 500; }
.phone .meter { padding: 12px 14px; gap: 8px; border-radius: 16px; }
.phone .mrow { font-size: 11.5px; }
.phone .dots i { width: 13px; }
.phone .mres { font-size: 15px; }
.ph-watch { display: flex; flex-direction: column; gap: 5px; }
.ph-watch p { margin: 0; display: flex; gap: 8px; font-size: 12px; }
.ph-watch p::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--rouge); margin-top: 7px; }
.ph-fine { font-family: var(--display); font-style: italic; font-size: 12px; color: var(--ash); text-align: center; margin: auto 0 0; }
.ph-ask { font-family: var(--display); font-style: italic; font-size: 17px; line-height: 1.2; margin: 0; color: var(--ash); }
.ph-big { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: .95; margin: 0; }
.ph-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.ph-seg span { text-align: center; padding: 8px 2px; border-radius: 999px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); white-space: nowrap; }
.ph-seg .on { background: var(--rouge); color: var(--bone); }
.ph-why { margin: 0; font-size: 12px; }
.ph-basis { display: flex; flex-wrap: wrap; gap: 5px; }
.ph-basis span { font-size: 10.5px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; color: var(--ash); }
.ph-deck { position: relative; margin: 4px 4px 8px; }
.ph-deck::before { content: ""; position: absolute; inset: 0; background: var(--panel); border-radius: 20px; transform: rotate(4deg) translate(6px, 4px); }
.ph-gcard { position: relative; background: var(--bone); color: var(--ink); border-radius: 20px; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; transform: rotate(-1.5deg); }
.ph-gcard .opt { font-family: var(--display); font-size: 18.5px; line-height: 1.2; margin: 0; }
.ph-gcard .or { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--rouge); margin: 0; }
.ph-who { margin: 0 0 -5px; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ash); }
.ph-two { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ph-two span { border: 1px solid var(--line); border-radius: 12px; padding: 9px 8px; font-size: 11.5px; line-height: 1.25; text-align: center; }
.ph-two .on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.ph-noticed { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--panel); border-radius: 16px; }
.ph-noticed p:last-child { font-family: var(--display); font-style: italic; font-size: 14.5px; line-height: 1.35; margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 72px; max-width: 640px; margin-inline: auto; }
  .step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; align-items: center; }
  .step .phone { grid-row: span 4; margin: 0; }
}
@media (max-width: 900px) {
  .top nav { display: none; }
  .napkin { max-width: 340px; }
  .letter, .faq, .demo { grid-template-columns: minmax(0, 1fr); }
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-text { order: 0; }
  .feature .phone { margin-inline: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-l { display: none; }
  .top { justify-content: flex-end; }
  .step { display: flex; align-items: stretch; }
  .step .phone { margin: 0 auto 20px; }
  .rules-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .join { grid-template-columns: minmax(0, 1fr); }
  .join button { padding: 16px 24px; }
  .sigs button { grid-template-columns: 30px 60px minmax(0, 1fr); gap: 10px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw path { animation: none; stroke-dashoffset: 0; }
  .draw .o { animation: none; opacity: 1; }
  .draw .w, .draw .k { animation: none; opacity: 1; }
  .pin, .join button, .qa summary::after, .napkin, .demo-fig { transition: none; }
}
