:root {
  color-scheme: light;
  --ink: #171510;
  --muted: #6e6961;
  --paper: #faf7f1;
  --surface: #fffdf9;
  --sand: #d7b270;
  --sand-deep: #a97836;
  --line: rgba(23, 21, 16, .13);
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 30px 80px rgba(74, 52, 20, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 43px; height: 43px; border-radius: 13px; }
.brand span { font: 700 1.48rem/1 var(--serif); letter-spacing: -.035em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: #37342e; font-size: .92rem; font-weight: 560; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.nav a:hover { color: #000; }
.nav .nav-cta { padding: 12px 18px; border-radius: 999px; background: var(--sand); color: var(--ink); font-weight: 750; box-shadow: 0 8px 24px rgba(169, 120, 54, .18); }
.nav .nav-cta:hover { transform: translateY(-2px); }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  min-height: 720px;
  padding: 52px 0 60px;
}
.hero-copy { position: relative; z-index: 4; max-width: 620px; }
h1, h2 { text-wrap: balance; }
h1 {
  margin: 0;
  font: 500 clamp(3.9rem, 5.6vw, 6.4rem)/.91 var(--serif);
  letter-spacing: -.068em;
}
.hero-copy > p {
  max-width: 560px;
  margin: 24px 0 22px;
  color: #47433c;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.waitlist-form { max-width: 560px; scroll-margin-top: 24px; }
.waitlist-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(112, 79, 34, .18);
  border-radius: 19px;
  background: rgba(255, 253, 249, .92);
  box-shadow: 0 15px 42px rgba(77, 58, 31, .10);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.waitlist-controls:focus-within { transform: translateY(-2px); border-color: rgba(169, 120, 54, .58); box-shadow: 0 0 0 4px rgba(215, 178, 112, .22), 0 20px 48px rgba(77, 58, 31, .13); }
.waitlist-controls input { min-width: 0; min-height: 54px; padding: 0 16px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1rem; }
.waitlist-controls input::placeholder { color: #888177; }
.waitlist-controls button { min-height: 54px; padding: 0 24px; border: 0; border-radius: 13px; background: var(--ink); color: #fff; cursor: pointer; font-size: .95rem; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.waitlist-controls button:hover { transform: translateY(-1px); background: #2b271f; }
.waitlist-controls button:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.waitlist-note { margin: 10px 4px 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }

.hero-product { position: relative; min-height: 620px; }
.hero-glow { position: absolute; right: -13%; bottom: 4%; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(246, 196, 92, .52), rgba(246, 196, 92, .12) 43%, transparent 72%); filter: blur(8px); animation: glow 7s ease-in-out infinite; }
.orbit { position: absolute; inset: 1% -8% 0 -5%; fill: none; stroke: rgba(147, 107, 54, .55); stroke-width: 1.2; overflow: visible; }
.orbit circle { fill: var(--sand); stroke: var(--paper); stroke-width: 4; }
.orbit-one { animation: orbit 24s linear infinite; }
.orbit-two { inset: 4% -3% -6% 2%; animation: orbitReverse 31s linear infinite; }
.hero-crescent { position: absolute; top: 18%; right: 2%; width: 72px; height: 72px; border: 12px solid rgba(183, 137, 75, .42); border-top-color: transparent; border-right-color: transparent; border-radius: 50%; transform: rotate(-30deg); }

.device { position: relative; overflow: hidden; padding: 11px; border: 2px solid #22201b; border-radius: 48px; background: #171510; box-shadow: var(--shadow); }
.device::before { content: ""; position: absolute; z-index: 3; top: 18px; left: 50%; width: 29%; height: 25px; border-radius: 20px; background: #050505; transform: translateX(-50%); }
.device-screen { overflow: hidden; height: 100%; border-radius: 37px; background: var(--paper); }
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.device-hero { position: absolute; z-index: 2; right: 7%; bottom: 0; width: 320px; height: 610px; animation: phoneFloat 6s ease-in-out infinite; }
.device-hero .device-screen img { object-position: top; }

.manifesto { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 60px; padding: 115px 0 100px; border-top: 1px solid var(--line); }
.manifesto p { max-width: 920px; margin: 0; font: 500 clamp(3rem, 5.4vw, 5.6rem)/.98 var(--serif); letter-spacing: -.052em; }
.manifesto span { max-width: 270px; padding-bottom: 10px; color: var(--muted); font-size: 1rem; line-height: 1.6; }

.journey { padding: 125px 0 150px; background: #fffdfa; }
.journey-heading { max-width: 920px; text-align: center; }
.journey-heading h2 { margin: 0; font: 500 clamp(3.3rem, 5.7vw, 6.2rem)/.94 var(--serif); letter-spacing: -.058em; }
.journey-heading p { max-width: 620px; margin: 25px auto 0; color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.journey-stage { position: relative; display: grid; grid-template-columns: 278px 1fr 278px; align-items: center; gap: 48px; min-height: 710px; margin-top: 82px; }
.device-side { width: 278px; height: 605px; border-radius: 42px; }
.device-side::before { top: 16px; height: 21px; }
.device-side .device-screen { border-radius: 32px; }
.device-schedule { transform: rotate(-1.3deg); }
.device-unlock { transform: rotate(1.3deg); }
.journey-center { min-width: 0; align-self: center; }
.dayline { width: 100%; height: 130px; overflow: visible; }
.dayline path { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-width: 1.4; }
.dayline circle { fill: var(--sand); }
.dayline-path { stroke-dasharray: 1200; stroke-dashoffset: calc(1200 * (1 - var(--journey-progress, 0))); transition: stroke-dashoffset .15s linear; }
.journey-symbols { display: flex; justify-content: space-between; margin: -89px 3px 42px; color: var(--sand-deep); font: 500 4rem/1 var(--serif); pointer-events: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 13px; }
.steps li > span { color: var(--sand-deep); font: 500 2rem/1 var(--serif); }
.steps h3 { margin: 3px 0 10px; font: 650 1.02rem/1.25 var(--serif); }
.steps p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.55; }

.friction { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 110px; padding: 145px 0; }
.friction-copy { position: sticky; top: 40px; }
.friction h2 { margin: 0; font: 500 clamp(3.3rem, 5.4vw, 5.7rem)/.94 var(--serif); letter-spacing: -.057em; }
.friction-copy p { max-width: 520px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.68; }
.friction-sequence { padding-top: 4px; }
.sequence-row { display: grid; grid-template-columns: 130px 1fr 13px; align-items: center; gap: 26px; min-height: 125px; border-bottom: 1px solid var(--line); }
.sequence-row:first-child { border-top: 1px solid var(--line); }
.sequence-row span { color: var(--sand-deep); font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.sequence-row strong { font: 600 clamp(1.35rem, 2vw, 2rem)/1.25 var(--serif); }
.sequence-row i { width: 11px; height: 11px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 0 rgba(215,178,112,.45); animation: pulse 2.6s infinite; }

.privacy-band { position: relative; overflow: hidden; padding: 125px 0; background: #12120f; color: #fff; }
.privacy-inner { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 110px; }
.privacy-copy { position: relative; z-index: 2; }
.privacy-copy h2 { margin: 0; font: 500 clamp(3.4rem, 5.6vw, 6rem)/.94 var(--serif); letter-spacing: -.055em; }
.privacy-copy p { max-width: 480px; color: #c8c3b8; font-size: 1.05rem; line-height: 1.68; }
.privacy-copy a { display: inline-block; margin-top: 20px; color: var(--sand); font-weight: 700; text-underline-offset: 6px; }
.privacy-points { position: relative; z-index: 2; margin: 6px 0 0; padding: 0; list-style: none; }
.privacy-points li { display: flex; align-items: center; justify-content: space-between; min-height: 78px; border-bottom: 1px solid rgba(255,255,255,.19); font-size: 1.03rem; }
.privacy-points li:first-child { border-top: 1px solid rgba(255,255,255,.19); }
.privacy-points b { color: var(--sand); font-size: 1.35rem; font-weight: 400; }
.night-to-morning { position: absolute; inset: 17% -10% -35% 28%; opacity: .28; pointer-events: none; }
.night-to-morning svg { position: absolute; inset: 6% 0 0; width: 100%; height: 70%; fill: none; stroke: var(--sand); stroke-width: 1.25; }
.large-moon { position: absolute; top: 6%; left: 4%; width: 150px; height: 150px; border: 3px solid var(--sand); border-top-color: transparent; border-right-color: transparent; border-radius: 50%; transform: rotate(-30deg); }
.sunrise { position: absolute; right: 3%; bottom: 13%; width: 210px; height: 105px; overflow: hidden; }
.sunrise::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--sand); border-radius: 210px 210px 0 0; border-bottom: 0; }

.final-cta { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 90px; padding: 130px 0 120px; }
.final-cta h2 { max-width: 720px; margin: 0; font: 500 clamp(3.2rem, 5.2vw, 5.5rem)/.94 var(--serif); letter-spacing: -.057em; }
.final-cta > div > p { max-width: 520px; margin: 25px 0 0; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.waitlist-form-final { max-width: none; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px 0 50px; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 26px; }
.footer-links a, .copyright { color: var(--muted); font-size: .84rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.65,.2,1), transform .8s cubic-bezier(.2,.65,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.steps .reveal:nth-child(2), .privacy-points .reveal:nth-child(2), .sequence-row:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3), .privacy-points .reveal:nth-child(3), .sequence-row:nth-child(3) { transition-delay: .2s; }
.privacy-points .reveal:nth-child(4) { transition-delay: .3s; }

.legal-shell { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.legal-header { min-height: 80px; }
.legal-main { padding: 78px 0 110px; }
.legal-main h1 { font-size: clamp(3.2rem, 8vw, 5.6rem); }
.legal-main .updated { margin: 16px 0 42px; color: var(--muted); }
.legal-summary { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); font-size: 1.08rem; line-height: 1.65; }
.legal-main h2 { margin: 42px 0 12px; font: 700 1.55rem/1.2 var(--serif); }
.legal-main p, .legal-main li { color: #4c4842; line-height: 1.72; }
.legal-main a { font-weight: 650; text-underline-offset: 3px; }
.thanks-main { display: grid; justify-items: center; min-height: calc(100vh - 80px); padding: 72px 0 110px; text-align: center; }
.thanks-main img { width: min(250px, 60vw); margin-bottom: 14px; }
.thanks-kicker { margin: 0 0 18px; color: var(--sand-deep); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.thanks-main h1 { max-width: 800px; font-size: clamp(3.3rem, 8vw, 6.7rem); }
.thanks-main > p:not(.thanks-kicker) { max-width: 560px; margin: 28px auto; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.thanks-link { padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-weight: 750; text-decoration: none; }

@keyframes phoneFloat { 0%,100% { transform: translateY(0) rotate(1.2deg); } 50% { transform: translateY(-12px) rotate(.2deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitReverse { to { transform: rotate(-360deg); } }
@keyframes glow { 0%,100% { opacity: .7; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(215,178,112,0); } 100% { box-shadow: 0 0 0 0 rgba(215,178,112,0); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .device-hero { right: 0; width: 308px; height: 586px; }
  .journey-stage { grid-template-columns: 220px 1fr 220px; gap: 28px; }
  .device-side { width: 220px; height: 478px; border-radius: 35px; padding: 8px; }
  .device-side::before { top: 12px; height: 17px; }
  .device-side .device-screen { border-radius: 27px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .journey-symbols { margin-bottom: 26px; }
}

@media (max-width: 780px) {
  .shell { width: min(100% - 30px, 1240px); }
  .site-header { min-height: 74px; }
  .brand img { width: 37px; height: 37px; }
  .brand span { font-size: 1.28rem; }
  .nav { gap: 0; }
  .nav a { display: none; }
  .nav .nav-cta { display: inline-flex; padding: 11px 15px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 58px 0 50px; }
  h1 { font-size: clamp(3.45rem, 14.8vw, 5.2rem); }
  .hero-copy > p { margin-top: 26px; }
  .hero-product { min-height: 590px; margin-top: 36px; }
  .device-hero { left: 50%; right: auto; width: 276px; height: 526px; transform: translateX(-50%); animation: none; }
  .hero-glow { right: 0; width: 100%; }
  .orbit { inset: 0 -25%; }
  .manifesto { grid-template-columns: 1fr; gap: 25px; padding: 90px 0 82px; }
  .manifesto span { max-width: 330px; }
  .journey { padding: 90px 0 100px; }
  .journey-stage { grid-template-columns: 1fr 1fr; gap: 22px; min-height: auto; margin-top: 60px; }
  .device-side { justify-self: center; width: min(42vw, 220px); height: min(91vw, 478px); }
  .journey-center { grid-column: 1 / -1; grid-row: 2; margin-top: 32px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps h3 { font-size: 1.2rem; }
  .steps p { font-size: .92rem; }
  .friction { grid-template-columns: 1fr; gap: 60px; padding: 100px 0; }
  .friction-copy { position: static; }
  .sequence-row { grid-template-columns: 105px 1fr 11px; gap: 15px; }
  .privacy-band { padding: 95px 0; }
  .privacy-inner { grid-template-columns: 1fr; gap: 56px; }
  .night-to-morning { inset: 40% 0 -25% 10%; opacity: .16; }
  .final-cta { grid-template-columns: 1fr; gap: 48px; padding: 100px 0 90px; }
}

@media (max-width: 520px) {
  .waitlist-controls { grid-template-columns: 1fr; }
  .waitlist-controls button { width: 100%; }
  .hero-product { min-height: 550px; }
  .device-hero { width: 250px; height: 477px; }
  .hero-crescent { width: 54px; height: 54px; border-width: 9px; }
  .journey-stage { gap: 12px; }
  .device-side { width: 44vw; height: 96vw; padding: 6px; border-radius: 29px; }
  .device-side::before { top: 9px; height: 15px; }
  .device-side .device-screen { border-radius: 23px; }
  .dayline { height: 100px; }
  .journey-symbols { margin: -72px 2px 33px; font-size: 3rem; }
  .sequence-row { grid-template-columns: 1fr 12px; gap: 12px; padding: 22px 0; }
  .sequence-row span { grid-column: 1 / -1; }
  .sequence-row strong { font-size: 1.25rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
