:root {
  --bone: #faf6ef; --bone-soft: #f5efe4; --paper: #fffdf8; --shell: #efe7d7;
  --ink: #1a1613; --ink-2: #2e2722; --ink-3: #6b5f52; --ink-5: #c9bda9;
  --cognac: #a6794a; --cognac-text: #8a6238; --cognac-warm: #c9a271;
  --display: Fraunces, Georgia, serif;
  --italic: "Instrument Serif", Fraunces, Georgia, serif;
  --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --pad: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { background: var(--bone); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; color: var(--ink); background: var(--bone); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--cognac-text); }
a:hover { color: #7e5a36; }
em { font-family: var(--italic); font-style: italic; font-weight: 400; color: var(--cognac); letter-spacing: -0.005em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bone); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- type ---------- */
.kicker { margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--cognac-text); }
.display { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(50px, 7.2vw, 118px); line-height: .96; letter-spacing: -.038em; font-variation-settings: "opsz" 144; }
.headline { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.6vw, 72px); line-height: 1.01; letter-spacing: -.032em; font-variation-settings: "opsz" 144; }
.statement { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(46px, 7.6vw, 128px); line-height: .95; letter-spacing: -.04em; font-variation-settings: "opsz" 144; }
.lede { margin: 30px 0 0; max-width: 520px; font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-3); }
.body { margin: 22px 0 0; max-width: 520px; color: var(--ink-3); }
.fine { margin: 20px 0 0; font-size: 14px; color: var(--ink-3); }
.fine strong { color: var(--ink); font-weight: 600; }
.small-print { margin: 26px auto 0; max-width: 400px; font-size: 13px; line-height: 1.5; color: var(--ink-3); text-align: center; }

/* split-line reveal */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 10px; font-size: 16px; font-weight: 500; text-decoration: none; transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease); }
.btn-ink { background: var(--ink); color: var(--bone); box-shadow: 0 10px 24px -14px rgba(26,22,19,.6); }
.btn-ink:hover { color: var(--bone); transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(26,22,19,.6); }
.btn-ghost { color: var(--ink); background: var(--paper); border: 1px solid var(--shell); }
.btn-ghost:hover { color: var(--ink); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.cta-row { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--pad); transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.scrolled { background: rgba(250,246,239,.94); box-shadow: 0 1px 0 var(--shell); }
.nav.hidden { transform: translateY(-110%); }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 15px; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(110px, 12vw, 150px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "phone" "claim"; gap: 40px; }
.hero-copy { grid-area: copy; min-width: 0; }
.hero-phone { grid-area: phone; display: flex; flex-direction: column; align-items: center; }
.hero-claim { grid-area: claim; min-width: 0; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy phone" "claim phone"; column-gap: clamp(40px, 5vw, 80px); row-gap: 0; align-items: end; }
  .hero-phone { align-self: center; }
  .hero-claim { align-self: start; }
}
.scene { position: relative; width: min(560px, 100%); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #e7dccb; box-shadow: 0 40px 80px -50px rgba(26,22,19,.55); }
.scene-plate, .scene-light { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene-light { mix-blend-mode: multiply; opacity: .55; pointer-events: none; }
.scene-screen { position: absolute; left: 0; top: 0; width: 720px; height: 1558px; transform-origin: 0 0; border-radius: 9.6% / 4.45%; overflow: hidden; background: #0b0908; }
.scene-screen video { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (min-width: 900px) { .hero-phone { width: min(520px, 38vw); } }
.claim { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.claim-field { flex: 1 1 260px; display: flex; align-items: center; min-height: 56px; padding: 0 18px; background: var(--paper); border: 1px solid var(--shell); border-radius: 10px; cursor: text; transition: border-color .3s, box-shadow .3s; }
.claim-field:focus-within { border-color: var(--cognac); box-shadow: 0 0 0 4px rgba(166,121,74,.14); }
.claim-prefix { color: var(--ink-3); font-size: 16px; white-space: nowrap; }
.claim-field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 500 16px var(--body); color: var(--cognac-text); padding: 0 0 0 1px; }
.claim-field input::placeholder { color: var(--ink-5); }
.claim .btn { min-height: 56px; }
.trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-3); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cognac); }
.sample-note { margin: 18px 0 0; text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.link-pill { display: none; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--shell); border-bottom: 1px solid var(--shell); padding: clamp(18px, 2.4vw, 30px) 0; }
.marquee-track { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); width: max-content; font-family: var(--italic); font-style: italic; font-size: clamp(44px, 7vw, 108px); line-height: 1; color: var(--ink); will-change: transform; }
.marquee-track i { font-style: normal; color: var(--cognac); font-family: var(--display); }

/* ---------- package / receipt ---------- */
.giant-price { margin: clamp(26px, 3vw, 40px) 0 4px; display: flex; align-items: flex-end; gap: 18px; }
.giant-price span { font-family: var(--display); font-weight: 400; font-size: clamp(120px, 17vw, 250px); line-height: .78; letter-spacing: -.06em; font-variation-settings: "opsz" 144;
  color: #9a6a33;                                   /* the app's price gold, a step richer so it holds on the lit wall */
  -webkit-text-stroke: 1.5px rgba(70, 44, 18, .55); /* a fine dark edge, like a stamped foil outline */
  text-shadow: 0 1px 0 rgba(255, 246, 228, .9),     /* a bright lower lip catches the window light */
               0 2px 1px rgba(255, 238, 210, .5),
               0 26px 44px rgba(110, 72, 32, .28); } /* and a warm cast shadow lifts it off the wall */
.giant-price small { font-size: 16px; line-height: 1.35; color: var(--ink-3); padding-bottom: 10px; }
.package { padding: clamp(90px, 12vw, 180px) 0; background: var(--shell); position: relative; }
.package-grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 7vw, 120px); }
.package-copy { flex: 999 1 460px; min-width: 0; }
.receipt-wrap { flex: 1 1 380px; min-width: 0; }
.receipt { position: relative; width: min(420px, 100%); margin: 0 auto; background: var(--paper); padding: 40px 34px 34px; box-shadow: 0 44px 80px -40px rgba(26,22,19,.5), 0 2px 6px rgba(26,22,19,.08); font-variant-numeric: tabular-nums; transform: rotate(1.2deg); }
.r-edge { position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: radial-gradient(circle at 6px -2px, transparent 7px, var(--paper) 7.5px) 0 0 / 12px 10px repeat-x; }
.r-head { text-align: center; }
.r-head img { margin: 0 auto 12px; }
.r-brand { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .32em; }
.r-sub { margin: 6px 0 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.r-rule { border-top: 1px dashed var(--ink-5); margin: 22px 0 10px; }
.r-line { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; font-size: 15px; }
.r-line i { flex: 1; border-bottom: 1px dotted var(--ink-5); transform-origin: left; }
.r-line b { font-weight: 500; color: var(--ink-3); }
.r-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.r-total span { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.r-total strong { font-family: var(--display); font-weight: 400; font-size: 54px; letter-spacing: -.03em; }
.r-total strong em { font-family: var(--display); font-style: normal; color: var(--ink); }
.r-total small { font-family: var(--body); font-size: 15px; color: var(--ink-3); letter-spacing: 0; }
.r-foot { margin: 16px 0 0; text-align: center; font-size: 12px; color: var(--ink-3); }

/* ---------- story ---------- */
.story { padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 120px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 40px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 18px; padding: 34px 0; border-top: 1px solid var(--shell); transition: opacity .6s var(--ease); }
.step-no { font-family: var(--italic); font-style: italic; font-size: 24px; color: var(--cognac); line-height: 1.2; }
.step h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.005em; }
.step p { margin: 0; color: var(--ink-3); max-width: 460px; }
.step-media { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 28px; }
.device { aspect-ratio: 720 / 1558; background: var(--ink); border-radius: 48px; padding: 9px; box-shadow: 0 50px 90px -40px rgba(26,22,19,.55), 0 2px 8px rgba(26,22,19,.15); }
.device-sm { width: min(280px, 74vw); border-radius: 40px; padding: 7px; }
.device-screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: var(--bone); }
.device-sm .device-screen { border-radius: 33px; }
.device-screen img, .device-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.story-device { display: none; }
.sample-note { margin: 18px 0 0; text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 120px); }
  .step { min-height: 72vh; align-content: center; border-top: 0; padding: 0; opacity: .3; }
  .step.active { opacity: 1; }
  .step-media { display: none; }
  .story-device { display: block; }
  .story-sticky { position: sticky; top: calc(50vh - min(37vh, 360px) - 20px); }
  .story-device .device { height: min(74vh, 720px); }
  .story-device .device-screen > * { opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
  .story-device .device-screen > .on { opacity: 1; transform: none; }
}

/* ---------- AI ---------- */
.ai { padding: clamp(90px, 12vw, 170px) 0; background: var(--bone-soft); overflow: hidden; }
.ai-grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 7vw, 110px); }
.ai-copy { flex: 1 1 420px; min-width: 0; }
.ai-phones { flex: 1 1 440px; position: relative; min-height: 600px; }
.phone { position: absolute; margin: 0; width: min(270px, 48%); border-radius: 30px; overflow: hidden; border: 6px solid var(--ink); box-shadow: 0 40px 70px -36px rgba(26,22,19,.55); }
.phone-a { left: 4%; top: 30px; transform: rotate(-4deg); }
.phone-b { right: 4%; top: 110px; transform: rotate(3deg); }
.typed { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); z-index: 3; margin: 0; padding: 14px 22px; border-radius: 999px; background: var(--paper); border: 1px solid var(--shell); box-shadow: 0 20px 40px -20px rgba(26,22,19,.45); font-family: var(--italic); font-style: italic; font-size: 19px; white-space: nowrap; min-width: 280px; text-align: center; }
.typed::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--cognac); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 600px) { .ai-phones { min-height: 470px; } .phone { width: 54%; } .typed { font-size: 16px; min-width: 0; } }

/* ---------- built with you ---------- */
.built { padding: clamp(90px, 12vw, 170px) 0; }
.built-grid { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: clamp(48px, 7vw, 120px); }
.built-shot { flex: 1 1 320px; margin: 0; display: flex; justify-content: center; }
.built-shot img { width: min(380px, 88%); border-radius: 26px; border: 1px solid var(--shell); box-shadow: 0 40px 70px -36px rgba(26,22,19,.45); }
.built-copy { flex: 999 1 460px; min-width: 0; }
.points { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--shell); max-width: 520px; }
.points li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--shell); position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 26px; width: 14px; height: 1px; background: var(--cognac); }

/* ---------- mission ---------- */
.mission { background: var(--ink); color: var(--bone); padding: clamp(100px, 14vw, 200px) 0; }
.mission .kicker { color: var(--cognac-warm); }
.mission em { color: var(--cognac-warm); }
.mission-grid { margin-top: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); }
.mission-lede { flex: 1 1 380px; margin: 0; font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.015em; color: var(--bone); }
.mission-cols { flex: 999 1 520px; display: grid; gap: 0; }
.mission-cols > div { padding: 24px 0; border-top: 1px solid rgba(201,189,169,.22); }
.mission-cols h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--bone); }
.mission-cols p { margin: 0; color: var(--ink-5); }
.quote { margin: clamp(80px, 10vw, 140px) auto 0; max-width: 900px; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.16; letter-spacing: -.02em; }
.quote figcaption { margin-top: 26px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-5); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(90px, 12vw, 170px) 0; }
.faq-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 110px); }
.faq-grid > .headline { flex: 1 1 280px; }
.faq-list { flex: 999 1 540px; min-width: 0; border-top: 1px solid var(--shell); }
.faq details { border-bottom: 1px solid var(--shell); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: var(--cognac); transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0 0 24px; max-width: 620px; color: var(--ink-3); }

/* ---------- screens strip ---------- */
.strip { padding: clamp(90px, 11vw, 160px) 0 clamp(70px, 9vw, 130px); background: var(--paper); border-top: 1px solid var(--shell); border-bottom: 1px solid var(--shell); }
.strip-head { margin-bottom: clamp(36px, 5vw, 64px); }
.strip-scroll { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--pad) 30px; scrollbar-width: none; }
.strip-scroll::-webkit-scrollbar { display: none; }
.strip-scroll figure { flex: 0 0 auto; width: clamp(200px, 22vw, 280px); margin: 0; scroll-snap-align: start; }
.strip-scroll .shot { position: relative; border-radius: 28px; overflow: hidden; border: 6px solid var(--ink); box-shadow: 0 30px 60px -36px rgba(26,22,19,.5); }
.strip-scroll img { width: 100%; aspect-ratio: 720 / 1558; object-fit: cover; object-position: top; display: block; }
.strip-scroll figcaption { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-align: center; }

/* ---------- close ---------- */
.close { background: var(--shell); }
.close-grid { display: flex; flex-wrap: wrap; align-items: stretch; min-height: min(92vh, 860px); }
.close-copy { flex: 1 1 460px; display: flex; flex-direction: column; justify-content: center; padding: clamp(80px, 10vw, 140px) var(--pad); }
.close-cta { margin-top: 40px; }
.close-art { flex: 1 1 420px; min-height: 60vh; position: relative; overflow: hidden; }
.close-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.foot { padding: 30px 0; }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { color: var(--ink-3); }

/* ---------- desktop QR dialog ---------- */
.qr { border: 0; padding: 44px 40px 36px; border-radius: 24px; background: var(--paper); text-align: center; box-shadow: 0 40px 90px -30px rgba(26,22,19,.55); max-width: 360px; }
.qr::backdrop { background: rgba(26,22,19,.42); }
.qr img { margin: 0 auto 22px; }
.qr h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.qr p { margin: 8px 0 0; color: var(--ink-3); font-size: 15px; }
.qr-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; color: var(--ink-3); cursor: pointer; border-radius: 10px; }

/* motion starts hidden only when JS runs */
.js [data-fade] { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  .js [data-fade] { opacity: 1; transform: none; }
  .scroll-hint span, .typed::after { animation: none; }
}
.qr .qr-name { margin-top: 10px; color: var(--cognac-text); font-weight: 600; }
.qr .qr-name:empty { display: none; }

/* window light falls across every phone screen on the page */
.device-screen::after, .strip-scroll figure > .shot::after { content: ""; position: absolute; inset: 0; background: url(scene/screen-light.webp) center / cover; mix-blend-mode: multiply; opacity: .42; pointer-events: none; z-index: 2; }
.device { box-shadow: 0 50px 90px -40px rgba(26,22,19,.55), 0 2px 8px rgba(26,22,19,.15), inset 0 1px 0 rgba(255,240,220,.18); }

/* the same window light across the page */
.package { background: #efe6d8 url(scene/plate-a.webp) center / cover no-repeat; }
.story { background: var(--bone) url(scene/plate-b.webp) top center / max(100%, 1100px) auto no-repeat; }
.ai { background: #f1e9dd url(scene/plate-c.webp) center / cover no-repeat; }
.package .body, .story .step p, .ai .body { color: var(--ink-2); }
.package .kicker, .story .kicker, .ai .kicker { color: #7e5a36; }
