@import url('tokens.css');

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, summary { font: inherit; }
button { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.17; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -.025em; }
h3 { font-size: 1.4rem; }
p { max-width: 65ch; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 24px; padding: 16px; z-index: 20; background: var(--ob-primary); color: var(--ob-on-primary); }
.skip:focus { top: 12px; }
.preview-bar { border-bottom: 1px solid var(--ob-outline-variant); font-size: .75rem; }
.preview-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.preview-bar a { display: inline-flex; align-items: center; min-height: 48px; text-underline-offset: 4px; }
.preview-label { color: var(--ob-on-surface-variant); }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 116px; }
.wordmark { font-family: var(--ob-font-wordmark); font-weight: 900; font-size: 1.85rem; letter-spacing: -.013em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { display: flex; align-items: center; min-height: 48px; font-size: .875rem; text-decoration: none; }
.nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.theme-toggle { border: 1px solid var(--ob-outline-variant); border-radius: 100px; min-height: 48px; padding: 8px 16px; background: transparent; cursor: pointer; font-size: .8125rem; }
.eyebrow { font: 600 .75rem/1.5 var(--ob-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ob-on-surface-variant); margin-bottom: 20px; }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--ob-on-surface-variant); margin-top: 24px; }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; text-underline-offset: 5px; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; }
.store-link { display: flex; flex-direction: column; justify-content: center; min-height: 64px; min-width: 160px; padding: 10px 24px; background: #332c20; color: #fff; border: 1px solid #837865; border-radius: 16px; text-decoration: none; text-align: left; }
.store-link small { font-size: .6875rem; line-height: 1.6; color: #f2e3bb; }
.store-link strong { font-size: 1rem; font-weight: 600; }
.store-link:hover { outline: 2px solid var(--ob-outline); outline-offset: 3px; }
.availability-note { color: var(--ob-on-surface-variant); font-size: .8125rem; margin-top: 12px; }
.section { padding-block: 80px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.section-top p { color: var(--ob-on-surface-variant); max-width: 34ch; }
.rule { border-top: 1px solid var(--ob-outline-variant); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 28px 24px; border-radius: 28px; background: var(--ob-surface-container-high); }
.feature h3 { font-size: 1.2rem; margin: 20px 0 12px; }
.feature p { font-size: .9375rem; color: var(--ob-on-surface-variant); }
.feature-icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.screen-button { display: block; padding: 0; background: none; border: 0; cursor: zoom-in; width: 100%; }
.phone { display: block; padding: 7px; background: #332c20; border: 2px solid #837865; border-radius: 32px; position: relative; }
.phone img { width: 100%; height: auto; aspect-ratio: 9 / 20; border-radius: 23px; }
.phone::before { content: ''; position: absolute; width: 3px; height: 44px; left: -5px; top: 90px; background: #837865; border-radius: 2px; }
.screen-caption { margin-top: 24px; }
.screen-caption h3 { margin-bottom: 8px; }
.screen-caption p { font-size: .9375rem; color: var(--ob-on-surface-variant); }
.screen-note { color: var(--ob-on-surface-variant); font-size: .75rem; margin-top: 28px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.gallery .phone { max-width: 248px; margin-inline: auto; }
.gallery figure { text-align: center; }
.gallery figcaption p { margin-inline: auto; max-width: 28ch; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--ob-outline-variant); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; min-height: 72px; list-style: none; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--ob-on-surface-variant); padding: 0 32px 24px 0; font-size: .9375rem; }
.availability { padding: 48px; border-radius: 28px; background: var(--ob-surface-container-high); display: flex; align-items: center; justify-content: space-between; gap: 32px; scroll-margin-top: 32px; }
.availability p { color: var(--ob-on-surface-variant); margin-top: 12px; }
.availability h2 { font-size: 2rem; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 128px; font-size: .8125rem; color: var(--ob-on-surface-variant); }
footer div { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; }
.lightbox { padding: 0; border: 1px solid var(--ob-outline); border-radius: 16px; background: var(--ob-background); color: var(--ob-on-background); max-width: min(94vw, 520px); max-height: 94dvh; }
.lightbox::backdrop { background: rgb(29 27 22 / .8); }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 16px; position: sticky; top: 0; background: var(--ob-background); }
.lightbox-head button { min-height: 48px; min-width: 64px; border: 1px solid var(--ob-outline-variant); border-radius: 100px; background: none; cursor: pointer; }
.lightbox img { width: 100%; height: auto; }

/* 01 — angled devices and a familiar, compact landing page. */
.phones-hero { display: grid; grid-template-columns: 1fr 1.04fr; gap: 48px; align-items: center; min-height: 650px; padding: 28px 0 72px; }
.phones-hero .lead { max-width: 40ch; }
.phone-stage { position: relative; height: 570px; border-radius: 160px 160px 28px 28px; background: var(--ob-surface-container-high); perspective: 1100px; }
.phone-stage .screen-button { width: 222px; position: absolute; }
.phone-stage .phone { box-shadow: 14px 20px 24px rgb(36 31 23 / .17), 5px 2px 0 #514839; }
.phone-stage .back-phone { left: 32px; top: 35px; transform: rotateY(18deg) rotateZ(-12deg); }
.phone-stage .front-phone { right: 20px; top: 100px; transform: rotateY(-16deg) rotateZ(9deg); }
.phone-stage .screen-note { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .6875rem; }
.phones .feature-section { padding-top: 40px; }

/* 02 — open editorial spacing, upright screenshots, no device theatre. */
.editorial-hero { text-align: center; padding: 48px 0 56px; }
.editorial-hero h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.5rem, 5.8vw, 4.5rem); }
.editorial-hero .lead { max-width: 55ch; margin-inline: auto; }
.editorial-hero .store-links { justify-content: center; margin-top: 28px; }
.editorial-screens { background: #332c20; color: #f3ebdd; border-radius: 28px; padding: 40px 48px 32px; }
.editorial-screens .gallery { gap: 64px; }
.editorial-screens .phone { max-width: 224px; border-radius: 23px; padding: 0; border: 1px solid #837865; }
.editorial-screens .phone::before { display: none; }
.editorial-screens .phone img { border-radius: 22px; }
.editorial-screens .screen-caption { text-align: left; }
.editorial-screens h3 { font: 500 1rem/1.5 var(--ob-font-body); }
.editorial-screens .screen-caption p, .editorial-screens .screen-note { color: #d5c8b1; }
.editorial-screens .number { color: #f4ce4b; margin-right: 12px; font-size: .75rem; }
.editorial .feature-grid { gap: 32px; }
.editorial .feature { border-radius: 0; padding: 24px 0 0; border-top: 1px solid var(--ob-outline-variant); background: none; }
.editorial .feature h3 { margin-top: 16px; }
.editorial .availability { background: none; padding: 48px 0; border-radius: 0; border-top: 1px solid var(--ob-outline-variant); }

/* 03 — one screen at a time, with interactive, accessible screen selection. */
.focus-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 36px 0 64px; }
.focus-copy { padding-top: 64px; }
.focus-copy h1 { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }
.focus-copy .lead { max-width: 38ch; }
.focus-copy .mini-features { list-style: none; padding: 0; margin: 32px 0; border-top: 1px solid var(--ob-outline-variant); }
.mini-features li { border-bottom: 1px solid var(--ob-outline-variant); padding: 16px 0; display: flex; align-items: center; gap: 16px; font-size: .9375rem; }
.mini-features svg { flex-shrink: 0; width: 20px; height: 20px; }
.screen-tabs { display: flex; border: 1px solid var(--ob-outline-variant); border-radius: 100px; padding: 4px; gap: 4px; margin-bottom: 28px; }
.screen-tabs button { flex: 1; min-height: 48px; border: 0; border-radius: 100px; padding: 8px 12px; font-size: .8125rem; background: none; cursor: pointer; }
.screen-tabs button[aria-selected='true'] { background: var(--ob-surface-container-highest); font-weight: 600; }
.screen-panel[hidden] { display: none; }
.focus-stage { background: var(--ob-surface-container-low); padding: 32px; border: 1px solid var(--ob-outline-variant); border-radius: 28px; }
.focus-stage .phone { max-width: 256px; margin-inline: auto; }
.focus-stage .screen-caption { text-align: center; }
.focus-stage .screen-caption h3 { font-size: 1.1rem; }
.focus-stage .screen-caption p { font-size: .8125rem; margin-inline: auto; max-width: 34ch; }
.focus .screen-note { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step { border-top: 1px solid var(--ob-outline-variant); padding-top: 24px; }
.step-number { font-family: var(--ob-font-heading); font-size: 2.5rem; color: var(--ob-on-surface-variant); }
.step h3 { margin: 16px 0 12px; }
.step p { color: var(--ob-on-surface-variant); font-size: .9375rem; }

/* Comparison page. */
.comparison-hero { padding: 56px 0 48px; }
.comparison-hero h1 { max-width: 18ch; }
.comparison-hero .lead { max-width: 60ch; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.concept-card { border: 1px solid var(--ob-outline-variant); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.concept-art { height: 300px; background: var(--ob-surface-container-high); display: flex; justify-content: center; align-items: center; gap: 12px; overflow: hidden; padding: 28px; }
.concept-art img { width: 108px; border: 4px solid #332c20; border-radius: 16px; box-shadow: 4px 8px 12px rgb(36 31 23 / .12); }
.concept-art.angled img:first-child { transform: rotate(-12deg) translateY(-8px); }
.concept-art.angled img:last-child { transform: rotate(10deg) translateY(12px); }
.concept-art.upright { background: #332c20; gap: 10px; }
.concept-art.upright img { width: 78px; border-width: 1px; border-color: #837865; border-radius: 9px; }
.concept-art.single { background: #25221b; }
.concept-art.single img { width: 110px; }
.concept-body { padding: 28px; display: flex; flex: 1; flex-direction: column; align-items: start; }
.concept-body .eyebrow { margin-bottom: 12px; }
.concept-body h2 { font-size: 1.5rem; margin-bottom: 16px; }
.concept-body p { font-size: .9375rem; color: var(--ob-on-surface-variant); margin-bottom: 24px; }
.concept-body a { margin-top: auto; }
.launch-notes { padding: 40px; background: var(--ob-surface-container-high); border-radius: 28px; }
.launch-notes h2 { font-size: 1.75rem; margin-bottom: 24px; }
.launch-notes ul { margin: 0; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; }
.launch-notes li { padding-left: 4px; color: var(--ob-on-surface-variant); font-size: .9375rem; }
.launch-notes strong { color: var(--ob-on-surface); }
.recommendation { margin-top: 32px; max-width: 70ch; color: var(--ob-on-surface-variant); }

@media (max-width: 1000px) {
 .phones-hero { gap: 32px; }
 .phone-stage { height: 520px; }
 .phone-stage .screen-button { width: 190px; }
 .phone-stage .back-phone { left: 20px; }
 .phone-stage .front-phone { right: 12px; }
 .feature-grid { grid-template-columns: repeat(2, 1fr); }
 .focus-hero { gap: 40px; }
 .gallery, .editorial-screens .gallery { gap: 32px; }
 .concept-art { padding: 16px; }
 .concept-art img { width: 90px; }
 .concept-art.upright img { width: 64px; }
 .availability { flex-direction: column; align-items: start; }
}
@media (max-width: 760px) {
 .wrap { width: calc(100% - 48px); }
 .header { min-height: 96px; gap: 12px; }
 .wordmark { font-size: 1.5rem; }
 .nav { gap: 12px; }
 .nav .desktop-link { display: none; }
 .preview-label { max-width: 24ch; }
 .section { padding-block: 56px; }
 .section-top { display: block; margin-bottom: 32px; }
 .section-top p { margin-top: 16px; }
 .phones-hero, .focus-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; }
 .phone-stage { width: min(440px, 100%); height: 540px; margin: 0 auto; }
 .phone-stage .screen-button { width: 204px; }
 .phone-stage .back-phone { left: 24px; top: 28px; }
 .phone-stage .front-phone { right: 20px; top: 72px; }
 .phones-hero h1 { max-width: 14ch; }
 .phones-hero .lead { max-width: 46ch; }
 .feature-grid { gap: 16px; }
 .feature { padding: 24px; }
 .gallery { grid-template-columns: 1fr; gap: 48px; }
 .gallery .phone { max-width: 248px; }
 .faq { grid-template-columns: 1fr; gap: 24px; }
 .availability { padding: 32px 24px; }
 .availability h2 { font-size: 1.75rem; }
 .editorial-hero { padding: 24px 0 40px; }
 .editorial-screens { padding: 32px 24px; }
 .editorial-screens .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
 .editorial-screens .screen-caption h3 { font-size: .8125rem; }
 .editorial-screens .screen-caption p { display: none; }
 .editorial-screens .number { display: block; margin-bottom: 4px; }
 .editorial-screens .phone, .editorial-screens .phone img { border-radius: 10px; }
 .editorial-screens .screen-note { font-size: .6875rem; }
 .focus-copy { padding-top: 0; }
 .focus-copy h1 { max-width: 17ch; }
 .focus-stage { padding: 24px; }
 .focus-demo { max-width: 440px; width: 100%; margin: auto; }
 .steps { grid-template-columns: 1fr; gap: 32px; }
 .step-number { font-size: 2rem; }
 .concept-grid { grid-template-columns: 1fr; }
 .concept-art { height: 320px; }
 .concept-art img { width: 120px; }
 .concept-art.upright img { width: 96px; }
 .concept-art.single img { width: 124px; }
 .launch-notes { padding: 28px; }
 .launch-notes ul { grid-template-columns: 1fr; gap: 20px; }
 footer { flex-direction: column; align-items: start; justify-content: center; gap: 8px; padding-block: 24px; }
}
@media (max-width: 420px) {
 .feature-grid { grid-template-columns: 1fr; }
 .phone-stage { height: 450px; }
 .phone-stage .screen-button { width: 164px; }
 .phone-stage .phone { border-radius: 26px; padding: 5px; }
 .phone-stage .phone img { border-radius: 18px; }
 .phone-stage .back-phone { left: 12px; }
 .phone-stage .front-phone { right: 8px; }
 .editorial-screens { padding: 24px 16px; }
 .editorial-screens .gallery { gap: 12px; }
 .store-link { min-width: 136px; padding-inline: 16px; }
 .screen-tabs button { padding-inline: 8px; }
}
