/* Overhuman landing page. Colours, type and spacing come from tokens.css; components from components.css. */
* { box-sizing: border-box }
html { scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased }
img { max-width: 100%; display: block }
a { color: inherit }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
@media (min-width: 900px) { .wrap { padding-left: 56px; padding-right: 56px } }
section { padding-block: clamp(72px, 10vw, 140px) }
.lead { font-size: clamp(18px, 1.6vw, 23px); color: var(--body); max-width: 620px; margin: 0 }
.h1 { font-size: clamp(52px, 9vw, 150px); margin: 22px 0 0 }
.h2 { font-size: clamp(40px, 6vw, 96px); margin: 22px 0 0 }
.h3 { font-size: clamp(26px, 2.6vw, 38px); margin: 0 }
.quote { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3vw, 46px); line-height: 1.2; margin: 0 }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ground) }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ground) }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px }
.mark { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -.02em; text-decoration: none; text-transform: uppercase }
.mark span { color: var(--saffron) }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0 }
.nav ul a { text-decoration: none; font-weight: 600; font-size: 16px }
.nav .oh-button { padding: 12px 22px; font-size: 16px; text-decoration: none }
@media (max-width: 760px) { .nav ul { display: none } }

/* hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px) }
.hero .lead { margin-top: 28px }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; align-items: center }
.ghost { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--saffron); padding-bottom: 2px }
.film { margin-top: clamp(40px, 6vw, 80px); position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius-28); overflow: hidden; background: #1C1612 }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.film-hold { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 4vw, 48px); color: #F6EFE4 }
.film-hold .oh-strip { position: absolute; top: 0; left: 0 }
.film-hold svg { position: absolute; left: 0; right: 0; bottom: 18%; width: 100%; height: auto }
.film-hold .route-halo { fill: none; stroke: #F2B544; stroke-width: 34; stroke-linecap: round; opacity: .35 }
.film-hold .route-line { fill: none; stroke: #E06A1F; stroke-width: 4; stroke-linecap: round }
.film-hold h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; font-size: clamp(30px, 5vw, 72px); margin: 0; position: relative }
.film-hold p { position: relative; margin: 12px 0 0; color: #D9CBB8 }
.film[data-ready="1"] .film-hold { display: none }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 64px }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr } }
.step .oh-block { aspect-ratio: 4 / 5; display: flex; justify-content: center; align-items: flex-end; padding-top: 36px }
.step .cap { display: flex; gap: 14px; align-items: baseline; margin-top: 22px }
.step .cap .oh-tag { font-size: 18px; transform: rotate(-4deg) }
.step p { margin: 10px 0 0; color: var(--body); max-width: 420px }
.phone { width: min(62%, 300px); aspect-ratio: 300 / 620; border-radius: 44px 44px 0 0; background: var(--device); padding: 10px 10px 0; box-shadow: var(--shadow-device) }
.phone .scr { height: 100%; border-radius: 34px 34px 0 0; overflow: hidden; position: relative; background: #0f1820 }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top }
.chat { position: absolute; inset: 0; padding: 48px 12px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; font-size: 13px; line-height: 1.35; background: #0f1820; color: #e7edf2 }
.chat .me { align-self: flex-end; background: #8fc6dc; color: #0f1820; border-radius: 16px 16px 4px 16px; padding: 9px 11px; max-width: 86% }
.chat .co { align-self: flex-start; background: #1b2731; border-radius: 16px 16px 16px 4px; padding: 9px 11px; max-width: 88% }
.chat .in { border: 1px solid #2a3a46; border-radius: 999px; padding: 8px 12px; color: #6f8494; font-size: 12px }
.build { position: absolute; inset: 0; padding: 50px 16px 16px; background: #0f1820; color: #e7edf2; font-size: 13px }
.build .t { font-family: var(--font-serif); font-style: italic; font-size: 24px; margin: 6px 0 12px }
.build .bar { height: 6px; border-radius: 3px; background: #1b2731; overflow: hidden; margin-bottom: 10px }
.build .bar i { display: block; height: 100%; width: 72%; background: #8fc6dc }
.build li { list-style: none; display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #1b2731 }
.build ul { margin: 0; padding: 0 }
.build li b { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #8fc6dc; flex: none }
.build li.d b { background: #7FB39C; border-color: #7FB39C }

/* live screens */
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px }
@media (max-width: 1080px) { .screens { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.screens figure { margin: 0 }
.screens .oh-block { aspect-ratio: 3 / 4; display: flex; justify-content: center; align-items: flex-end; padding-top: 28px }
.screens .phone { width: 74% }
.screens figcaption { margin-top: 16px; font-weight: 600 }
.screens figcaption span { display: block; font-weight: 400; color: var(--body); font-size: 16px }

/* wrist + pursuits */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center }
@media (max-width: 900px) { .split { grid-template-columns: 1fr } }
.does { display: flex; flex-direction: column; gap: 18px; margin-top: 40px }
.does div { display: flex; gap: 18px; align-items: baseline; font-size: 20px }
.does .oh-tag { font-size: 18px; transform: rotate(-4deg); flex: none }
.watchbox { aspect-ratio: 1; display: grid; place-items: center }
.pursuits { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding: 0; list-style: none }
.pursuits li { padding: 14px 22px; border-radius: var(--radius-pill); font-weight: 700; font-size: 20px; color: var(--ground); background: var(--ink) }
.pursuits li:nth-child(5n+1) { background: var(--swim); color: var(--on-neem) }
.pursuits li:nth-child(5n+2) { background: var(--bike); color: var(--on-saffron) }
.pursuits li:nth-child(5n+3) { background: var(--run); color: var(--on-turmeric) }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; max-width: 1040px }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr } }
.plan { border-radius: var(--radius-28); padding: clamp(28px, 4vw, 44px); background: var(--surface); position: relative; display: flex; flex-direction: column; gap: 18px }
.plan.best { background: var(--ink); color: var(--ground) }
.plan.best .muted { color: var(--cream) }
.plan .oh-tag { position: absolute; top: 24px; right: 28px; font-size: 18px; transform: rotate(-4deg) }
.price { font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 7vw, 88px); line-height: .92; letter-spacing: -.035em }
.price small { font-family: var(--font-sans); font-weight: 600; font-size: 20px; letter-spacing: 0 }
.muted { color: var(--body) }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px }
.plan li::before { content: "✓"; color: var(--neem); font-weight: 700; margin-right: 10px }
.plan.best li::before { color: var(--turmeric) }
.plan .oh-button { margin-top: auto; text-decoration: none; align-self: flex-start }

/* founder */
.founder-photo { aspect-ratio: 1; max-width: 420px; border-radius: 50%; box-shadow: 0 0 0 14px var(--ground), 0 0 0 20px var(--saffron) }
.founder-photo div { width: 100%; height: 100%; border-radius: 50%; background: url(../img/founder-river.jpg) 52% 14% / 185%; filter: grayscale(1) contrast(1.08) }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px }
.facts .oh-stat__n { font-size: clamp(40px, 4.4vw, 64px) }
.days { font-family: var(--font-display); font-weight: 900; color: var(--saffron) }

/* waitlist + footer */
.join { background: var(--ink); color: var(--ground) }
.join .oh-display { color: var(--ground) }
.join .lead { color: var(--cream) }
.join form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; max-width: 640px }
.join label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
.join input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 18px; padding: 16px 22px; border-radius: var(--radius-pill); border: 1.5px solid var(--cream); background: transparent; color: var(--ground) }
.join input::placeholder { color: var(--cream) }
.join .oh-button:focus-visible, .join input:focus-visible { outline-color: var(--ground) }
.join .note { margin-top: 16px; color: var(--cream); min-height: 1.5em }
footer { padding-block: 40px 56px }
footer .oh-foot { flex-wrap: wrap; gap: 12px }
.film:not([data-ready="1"]) video { visibility: hidden }
a.oh-button { text-decoration: none }

/* phones show their top; the bottom runs off the block */
.step .oh-block, .screens .oh-block { align-items: flex-start; padding-top: 32px }
.screens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px }
@media (max-width: 760px) { .screens { grid-template-columns: 1fr } }
.screens .oh-block { aspect-ratio: 5 / 4 }
.screens .phone { width: min(60%, 320px) }
.phone { border-radius: 44px; padding: 10px }
.phone .scr { border-radius: 34px }

/* drawn app screens: the live app's own dark look, at a readable size */
.app { position: absolute; inset: 0; padding: 40px 16px 16px; background: #0f1820; color: #e7edf2; font-size: 14px; line-height: 1.35; display: flex; flex-direction: column; gap: 10px }
.app em { font-style: italic; color: #8fc6dc }
.app i { font-style: normal }
.app s { text-decoration: none; color: #8a9aa8; font-size: 12px; display: block }
.app-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8a9aa8 }
.app-h { font-family: var(--font-serif); font-style: italic; font-size: 28px; line-height: 1.05; margin-top: 4px }
.app-sub { font-family: var(--font-serif); font-style: italic; color: #a9b6c1; font-size: 15px; margin-top: -4px }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 8px; border-block: 1px solid #1f2c37 }
.app-stats i { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #8a9aa8 }
.app-stats b { font-family: var(--font-mono); font-size: 22px; font-weight: 500 }
.app-card { background: #16212b; border: 1px solid #23313d; border-radius: 10px; padding: 12px; font-family: var(--font-serif); font-size: 17px }
.app-card i { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #8a9aa8 }
.app-card b { font-family: var(--font-sans); font-size: 15px; font-weight: 600 }
.app-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8a9aa8; margin-top: 4px }
.app-dots, .app-days { display: grid; grid-template-columns: repeat(7, 1fr); justify-items: center }
.app-dots span { width: 18px; height: 18px; border-radius: 50% }
.app-dots .g { background: #e7edf2 } .app-dots .n { background: #4f7f6e } .app-dots .b { background: #8fc6dc } .app-dots .o { border: 1.5px dashed #8a9aa8 }
.app-days { font-family: var(--font-mono); font-size: 10px; color: #8a9aa8 }
.app-row, .app-wk { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #1f2c37 }
.app-row b, .app-wk b, .app-ms b { font-weight: 600; font-size: 14px }
.app-row u { text-decoration: none; font-size: 12px; color: #a9b6c1; text-align: right }
.app-row u.up { color: #7FB39C; font-weight: 600 }
.app-note { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: #c9d3db }
.app-wk { border: 1px solid #23313d; border-radius: 10px; padding: 8px 10px; justify-content: flex-start }
.app-wk > i { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: #8a9aa8; width: 30px }
.app-wk > div { flex: 1; min-width: 0 }
.app-wk u { text-decoration: none; font-size: 10px; font-weight: 600; text-transform: uppercase; background: #24453b; color: #9fd0b9; padding: 3px 8px; border-radius: 999px }
.app-ms { display: flex; gap: 12px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #1f2c37 }
.app-ms span { width: 10px; height: 10px; transform: rotate(45deg); flex: none }
.app-ms .o { background: #8a9aa8 } .app-ms .y { background: #F2B544 }
.app-mem { background: #16212b; border-radius: 10px; padding: 10px 12px; font-size: 13px }
.chat { justify-content: flex-start; padding-top: 52px }
.step .h3 { font-size: clamp(22px, 2vw, 30px) }
#how, #film, #live, #partner, #pricing, #founder, #join { scroll-margin-top: 112px }
.mark { display: inline-flex; align-items: center; gap: 10px } .logo-mark { width: 30px; height: 30px; flex: none }
.mark .mark-name span { color: var(--saffron) }
.mark span { color: inherit }
.logo-mark { width: 32px; height: 32px }
.foot-left { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap }
footer .mark { font-size: 22px; letter-spacing: -.02em; color: var(--ink) }
