:root {
  --ink: #231a1b;
  --ink-soft: #514647;
  --paper: #f9f4ef;
  --paper-2: #f0e6de;
  --rose: #b87876;
  --rose-light: #e8b8b1;
  --gold: #b88a4d;
  --line: rgba(35, 26, 27, .15);
  --serif: Didot, "Bodoni MT", "Times New Roman", serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; top: 0; left: 0; z-index: 50; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 4vw; transition: background .3s, padding .3s, box-shadow .3s; }
.site-header.is-scrolled { padding-top: .9rem; padding-bottom: .9rem; background: rgba(249,244,239,.9); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.wordmark { text-decoration: none; font-family: var(--serif); font-size: 1.35rem; line-height: .9; letter-spacing: -.03em; }
.wordmark span { display: block; margin-left: .85rem; font-style: italic; color: var(--rose); }
.site-header nav { display: flex; align-items: center; gap: 2rem; }
.site-header nav a { text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.nav-cta { border: 1px solid var(--ink); padding: .65rem 1rem; border-radius: 999px; }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; padding: 8rem 4vw 4rem; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -15% auto auto; width: 55vw; aspect-ratio: 1; background: radial-gradient(circle, rgba(232,184,177,.38), transparent 68%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 42rem; }
.eyebrow, .section-index { margin: 0 0 1.3rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
h1 { font-size: clamp(4rem, 7.8vw, 8rem); }
h1 em { color: var(--rose); font-weight: 500; }
.hero-lede { max-width: 35rem; margin: 2rem 0 2.3rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: 0 1.4rem; border-radius: 999px; text-decoration: none; font-weight: 500; }
.button-primary { background: var(--ink); color: var(--paper); box-shadow: 0 12px 34px rgba(35,26,27,.16); }
.button-primary:hover { background: #3b2a2d; transform: translateY(-2px); }
.launch-note { font-size: .84rem; color: var(--ink-soft); }
.hero-visual { position: relative; z-index: 1; min-width: 0; }
.device-stage { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; min-height: 660px; perspective: 1400px; }
.app-device { position: relative; flex: 0 0 auto; width: clamp(176px, 17.2vw, 286px); aspect-ratio: 9 / 19.5; overflow: hidden; border: clamp(5px, .55vw, 9px) solid #171415; border-radius: clamp(26px, 3vw, 48px); background: #fbf7f3; color: #271f20; box-shadow: 0 34px 70px rgba(43,28,30,.2), inset 0 0 0 1px rgba(255,255,255,.2); }
.device-profile { z-index: 1; transform: translateX(16%) rotateY(12deg) rotateZ(-2deg) scale(.84); transform-origin: right center; }
.device-scan { z-index: 3; transform: translateY(-2%); background: #2a2021; }
.device-ritual { z-index: 2; transform: translateX(-16%) rotateY(-12deg) rotateZ(2deg) scale(.84); transform-origin: left center; }
.device-island { position: absolute; z-index: 8; top: 1.25%; left: 50%; width: 34%; height: 3.1%; transform: translateX(-50%); border-radius: 999px; background: #171415; }
.app-screen { position: absolute; inset: 0 0 8%; padding: 13% 7% 5%; overflow: hidden; }
.app-brand { display: block; color: #94575e; font-family: var(--serif); font-size: clamp(.64rem, 1vw, 1rem); font-weight: 600; }
.app-kicker { display: block; margin-top: 12%; color: #94575e; font-size: clamp(.38rem, .55vw, .58rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.app-title { display: block; margin-top: 1%; font-size: clamp(1.1rem, 1.9vw, 1.8rem); line-height: 1.1; }
.score-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7%; align-items: center; margin-top: 8%; padding: 7%; border: 1px solid #ddd3cf; border-radius: 9%; background: #fff; }
.score-card > span:last-child b, .score-card > span:last-child small { display: block; }
.score-card > span:last-child b { font-size: clamp(.56rem, .85vw, .85rem); line-height: 1.15; }
.score-card > span:last-child small { margin-top: 8%; color: #776b6c; font-size: clamp(.38rem, .5vw, .53rem); }
.score-ring { display: grid; place-items: center; aspect-ratio: 1; border: clamp(4px,.5vw,7px) solid #bc7178; border-left-color: #eddad8; border-radius: 50%; }
.score-ring b { grid-area: 1 / 1; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 2rem); font-weight: 500; }
.score-ring small { grid-area: 1 / 1; align-self: end; margin-bottom: 13%; font-size: clamp(.3rem,.38vw,.4rem); letter-spacing: .12em; text-transform: uppercase; }
.profile-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; margin-top: 8%; }
.profile-chips span { padding: 10% 7%; border-radius: 8px; background: #f0dfdc; font-size: clamp(.38rem,.52vw,.56rem); font-weight: 600; }
.app-explainer { margin: 9% 0 0; padding: 7%; border: 1px solid #ddd3cf; border-radius: 10px; background: #fff; color: #776b6c; font-size: clamp(.38rem,.5vw,.52rem); line-height: 1.5; }
.app-explainer b { color: #2c2425; font-size: 1.2em; }
.app-tabs { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 8%; display: flex; align-items: center; justify-content: space-around; border-top: 1px solid #ded5d2; background: #fff; color: #766d6d; font-size: clamp(.32rem,.46vw,.47rem); text-transform: uppercase; }
.app-tabs b { color: #96585e; }
.scan-preview { position: absolute; inset: 0; overflow: hidden; }
.scan-preview img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; filter: brightness(.76) saturate(.72); }
.capture-frame { position: absolute; inset: 18% 9% 25%; border: 2px solid rgba(255,255,255,.88); border-radius: 11%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.capture-frame::before, .capture-frame::after { content: ""; position: absolute; width: 16%; height: 10%; border-color: #fff; border-style: solid; }
.capture-frame::before { top: 5%; left: 7%; border-width: 4px 0 0 4px; border-radius: 6px 0 0 0; }
.capture-frame::after { right: 7%; bottom: 5%; border-width: 0 4px 4px 0; border-radius: 0 0 6px 0; }
.scan-line { position: absolute; z-index: 3; top: 48%; left: 16%; right: 16%; height: 2px; background: #d47f8b; box-shadow: 0 0 14px #e7a2ab; animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0%,100% { transform: translateY(-65px); opacity:.45; } 50% { transform: translateY(70px); opacity:1; } }
.scan-status { position: absolute; z-index: 5; left: 7%; right: 7%; bottom: 7%; padding: 7%; border-radius: 16px; background: rgba(255,250,246,.96); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.scan-status small, .scan-status strong, .scan-status span { display: block; }
.scan-status small { color: #96585e; font-size: clamp(.32rem,.42vw,.45rem); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.scan-status strong { margin-top: 3%; font-size: clamp(.72rem,1.2vw,1.15rem); }
.scan-status span { margin-top: 4%; color: #b96f78; font-size: clamp(.38rem,.55vw,.56rem); text-align: center; }
.ritual-title { max-width: 95%; font-size: clamp(.86rem,1.45vw,1.38rem); }
.day-row { display: flex; justify-content: space-between; gap: 3%; margin: 8% 0; }
.day-row span, .day-row b { display: grid; place-items: center; width: 23%; aspect-ratio: 1; border-radius: 50%; background: #f0dfdc; font-size: clamp(.32rem,.42vw,.44rem); }
.day-row b { background: #985a61; color: #fff; }
.app-screen h3 { margin: 0 0 5%; font-size: clamp(.68rem,1vw,1rem); }
.routine-card { display: grid; grid-template-columns: 18% 1fr; align-items: center; gap: 5%; margin-bottom: 5%; padding: 6%; border: 1px solid #ddd3cf; border-radius: 12px; background: #fff; }
.routine-card i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: #f0dfdc; color: #985a61; font-size: clamp(.46rem,.7vw,.7rem); font-style: normal; font-weight: 700; }
.routine-card small, .routine-card b { display: block; }
.routine-card small { color: #96585e; font-size: clamp(.28rem,.38vw,.4rem); font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.routine-card b { margin-top: 2%; font-size: clamp(.45rem,.7vw,.7rem); line-height: 1.15; }
.orbit { position: absolute; z-index: 0; border: 1px solid rgba(184,120,118,.35); border-radius: 50%; }
.orbit-one { inset: -20% 0 0 14%; }
.orbit-two { inset: -5% 15% 12% 2%; }
.scroll-cue { position: absolute; bottom: 2rem; left: 4vw; display: flex; align-items: center; gap: .7rem; font-size: .75rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.scroll-cue span { width: 2.5rem; height: 1px; background: var(--ink); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.section-pad { padding: clamp(5rem, 10vw, 9rem) 6vw; }
.manifesto { border-top: 1px solid var(--line); }
.manifesto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: end; }
.manifesto h2, .section-heading h2, .profiles h2, .ritual h2, .launch h2 { font-size: clamp(3.2rem, 6vw, 6.6rem); }
.manifesto-grid > div p:first-child { margin: 0; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.55; }
.fine-print, .concept-note { margin-top: 1.7rem; font-size: .78rem; color: #76696a; }

.experience { background: #efe2da; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 8vw; align-items: end; margin-bottom: 4rem; }
.section-heading > p { margin: 0; max-width: 28rem; color: var(--ink-soft); font-size: 1.1rem; }
.journey-shell { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 680px; background: #241b1c; color: white; overflow: hidden; border-radius: 1.2rem; box-shadow: 0 35px 90px rgba(44,27,29,.18); }
.journey-image { position: relative; min-height: 650px; overflow: hidden; }
.journey-image > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76) contrast(1.02); }
.journey-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(20,12,13,.76)); }
.scan-ring { position: absolute; z-index: 2; top: 17%; left: 50%; width: min(48%, 260px); aspect-ratio: 1; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.8); border-radius: 50%; box-shadow: 0 0 0 16px rgba(255,255,255,.06), 0 0 70px rgba(232,184,177,.34); }
.scan-ring::before, .scan-ring::after { content: ""; position: absolute; inset: 8%; border: 1px dashed var(--rose-light); border-radius: 50%; animation: spin 18s linear infinite; }
.scan-ring::after { inset: 28%; border-style: solid; animation-direction: reverse; animation-duration: 11s; }
@keyframes spin { to { transform: rotate(360deg); } }
.journey-result { position: absolute; z-index: 3; bottom: 2.6rem; left: 2.6rem; right: 2.6rem; }
.journey-result span { color: var(--rose-light); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.journey-result strong { display: block; margin: .4rem 0 .6rem; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; font-weight: 500; }
.journey-result p { max-width: 34rem; margin: 0; color: rgba(255,255,255,.72); }
.journey-steps { display: grid; align-content: center; padding: 2rem 3.4rem; }
.journey-step { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 .7rem; padding: 1.6rem 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); background: none; color: rgba(255,255,255,.55); text-align: left; cursor: pointer; transition: color .25s; }
.journey-step span { grid-row: 1 / 3; font-size: .7rem; color: var(--rose-light); }
.journey-step strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.journey-step small { font-size: .82rem; }
.journey-step::after { content: ""; position: absolute; right: 0; bottom: -1px; width: 0; height: 1px; background: var(--rose-light); transition: width .35s; }
.journey-step:hover, .journey-step.is-active { color: white; }
.journey-step.is-active::after { width: 100%; }

.profiles { display: grid; grid-template-columns: .88fr 1.12fr; gap: 9vw; align-items: center; }
.profile-orb { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(42vw, 540px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #eac1ba, #af6f70 55%, #3f2b2e 100%); color: white; box-shadow: 0 35px 90px rgba(117,67,69,.25); }
.profile-orb::before, .profile-orb::after { content: ""; position: absolute; inset: -5%; border: 1px solid rgba(184,138,77,.45); border-radius: 50%; transform: rotate(-12deg) scaleY(.45); }
.profile-orb::after { transform: rotate(47deg) scaleY(.7); }
.orb-number { font-family: var(--serif); font-size: clamp(6rem, 12vw, 11rem); line-height: .8; }
.orb-caption { margin-top: 1rem; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; }
.profiles-copy > p:not(.section-index) { max-width: 40rem; font-size: 1.12rem; color: var(--ink-soft); }
.signal-list { margin: 2.5rem 0 0; padding: 0; list-style: none; }
.signal-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.signal-list span { font-weight: 600; }
.signal-list small { color: var(--ink-soft); text-align: right; }

.difference { background: var(--ink); color: var(--paper); }
.section-heading-light .section-index { color: var(--rose-light); }
.section-heading-light > p { color: rgba(255,255,255,.62); }
.difference-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.difference-grid article { min-height: 310px; padding: 2rem 2rem 1rem 0; border-right: 1px solid rgba(255,255,255,.18); }
.difference-grid article:not(:first-child) { padding-left: 2rem; }
.difference-grid article:last-child { border-right: 0; }
.difference-grid span { color: var(--rose-light); font-size: .72rem; }
.difference-grid h3 { margin: 5rem 0 1rem; font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; font-weight: 500; }
.difference-grid p { color: rgba(255,255,255,.62); font-size: .92rem; }

.ritual { display: grid; grid-template-columns: 1.05fr .95fr; gap: 7vw; align-items: center; }
.ritual-image { overflow: hidden; border-radius: 50% 50% 1rem 1rem; min-height: 620px; }
.ritual-image img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; object-position: 56% center; }
.ritual-copy > p:not(.section-index):not(.concept-note) { max-width: 35rem; color: var(--ink-soft); font-size: 1.12rem; }
.ritual-tags { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.ritual-tags span { padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; }

.launch { position: relative; display: grid; place-items: center; min-height: 70vh; background: #e9c5bf; text-align: center; overflow: hidden; }
.launch::before { content: ""; position: absolute; width: 70vw; aspect-ratio: 1; border: 1px solid rgba(35,26,27,.16); border-radius: 50%; }
.launch-inner { position: relative; z-index: 1; max-width: 80rem; }
.launch-inner > p:not(.eyebrow) { margin: 2rem auto 0; font-size: 1.15rem; }
.launch-mark { margin-top: 2.5rem; font-size: 3rem; color: var(--gold); }

footer { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 2rem; align-items: end; padding: 3.5rem 4vw; background: #181112; color: rgba(255,255,255,.68); }
.wordmark-footer { color: white; }
footer p { margin: 0; font-size: .82rem; }
footer nav { display: flex; gap: 1.3rem; }
footer nav a { font-size: .82rem; }
.copyright { white-space: nowrap; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { position: static; border-bottom: 1px solid var(--line); }
.legal-main { width: min(820px, 88vw); margin: 0 auto; padding: 6rem 0 8rem; }
.legal-main h1 { font-size: clamp(3.5rem, 8vw, 6rem); margin-bottom: 1.2rem; }
.legal-main h2 { margin: 3rem 0 1rem; font-size: 1.7rem; letter-spacing: -.02em; }
.legal-main h3 { margin: 2rem 0 .7rem; }
.legal-main p, .legal-main li { color: var(--ink-soft); }
.legal-main .legal-status { padding: 1.1rem 1.3rem; border: 1px solid #bc7b63; background: #fff6ef; color: #633b2d; border-radius: .7rem; }
.legal-main address { font-style: normal; }
.legal-main a { text-underline-offset: 3px; }
.legal-footer { grid-template-columns: 1fr auto; }

@media (max-width: 980px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 9rem; }
  .hero-copy { max-width: 52rem; }
  .hero-visual { margin: 1.5rem -5vw 1rem; }
  .device-stage { min-height: 610px; }
  .app-device { width: clamp(170px, 29vw, 250px); }
  .scroll-cue { display: none; }
  .manifesto-grid, .section-heading, .profiles, .ritual { grid-template-columns: 1fr; }
  .journey-shell { grid-template-columns: 1fr; }
  .journey-image { min-height: 560px; }
  .journey-steps { grid-template-columns: 1fr 1fr; padding: 1rem 2rem 2rem; }
  .journey-step:nth-child(odd) { margin-right: 1rem; }
  .profile-orb { width: min(78vw, 520px); margin: 0 auto; }
  .difference-grid { grid-template-columns: 1fr 1fr; }
  .difference-grid article:nth-child(2) { border-right: 0; }
  .difference-grid article:nth-child(3), .difference-grid article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.18); }
  .ritual-image, .ritual-image img { min-height: 460px; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: 1.1rem 5vw; }
  .nav-cta { padding: .5rem .75rem !important; font-size: .68rem !important; }
  .hero { min-height: auto; padding: 8.5rem 5vw 4rem; }
  h1 { font-size: clamp(3.8rem, 18vw, 5.3rem); }
  .hero-visual { margin: 2.5rem -34vw 0; }
  .device-stage { min-height: 520px; transform: scale(.86); transform-origin: center top; margin-bottom: -70px; }
  .app-device { width: 188px; }
  .section-pad { padding-left: 5vw; padding-right: 5vw; }
  .manifesto h2, .section-heading h2, .profiles h2, .ritual h2, .launch h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .journey-shell { border-radius: .7rem; }
  .journey-image { min-height: 520px; }
  .journey-result { left: 1.4rem; right: 1.4rem; bottom: 1.6rem; }
  .journey-steps { display: block; padding: .8rem 1.4rem 1.4rem; }
  .journey-step { width: 100%; margin: 0 !important; }
  .difference-grid { display: block; }
  .difference-grid article { min-height: auto; padding: 2rem 0 !important; border-right: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .difference-grid h3 { margin-top: 2.2rem; }
  .signal-list li { display: block; }
  .signal-list small { display: block; margin-top: .25rem; text-align: left; }
  .ritual-image, .ritual-image img { min-height: 360px; }
  footer, .legal-footer { grid-template-columns: 1fr; align-items: start; }
}

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