/* OlaWell landing page. Palette is taken from the supplied logo (sampled values: navy #0b356b, teal #089298, blue #1c96da). Self-hosted fonts only. */
@font-face { font-family: 'Fraunces'; src: url('/landing/fonts/fraunces-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/landing/fonts/public-sans-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #0b356b; --navy-d: #082a55; --ink: #0b2a52; --ink-2: #3d5675;
  --teal: #089298; --teal-d: #066e73; --teal-wash: #eaf5f5; --blue: #1c96da;
  --mist: #f3f8fa; --line: #d9e5ea; --white: #fff;
  --gold: #b08a2e; /* AFOLAOLA gold, restrained: used once, as a hairline in the About section. Confirm the exact brand hex. */
  --head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 1.25rem; --max: 72rem; --header-h: 4.5rem;
  --section: clamp(4rem, 8vw, 7.5rem);
  --r: 0.875rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0; color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--teal-d); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }
.skip { position: absolute; left: 0.75rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: 0.5rem; }
.skip:focus { top: 0.75rem; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.6rem 1.25rem; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-d); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--teal-wash); color: var(--navy); }
.btn-lg { min-height: 3.25rem; padding: 0.75rem 1.75rem; font-size: 1.0625rem; }
.btn-sm { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.is-compact { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(11, 42, 82, 0.35); }
.header-inner { display: flex; align-items: center; gap: 0.5rem; min-height: var(--header-h); transition: min-height 0.2s; }
.site-header.is-compact .header-inner { min-height: 3.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.4rem; margin-right: auto; text-decoration: none; padding-block: 0.25rem; mix-blend-mode: multiply; }
.brand-icon { height: 2.25rem; width: auto; transition: height 0.2s; }
.brand-word { height: 1.6rem; width: auto; transition: height 0.2s; }
.site-header.is-compact .brand-icon { height: 1.9rem; }
.site-header.is-compact .brand-word { height: 1.4rem; }
.site-nav ul { display: flex; gap: 0.25rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.9688rem; padding: 0.7rem 0.8rem; border-radius: 0.5rem; display: inline-block; }
.site-nav a:not(.btn):hover { background: var(--teal-wash); color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-actions .btn { display: none; }
.head-cta { display: none; }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn:hover { background: var(--teal-wash); }
.menu-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn .cross { display: none; }
.menu-btn[aria-expanded='true'] .bars { display: none; }
.menu-btn[aria-expanded='true'] .cross { display: block; }

@media (min-width: 860px) {
  .header-inner { gap: 1rem; }
  .site-nav { display: flex; align-items: center; gap: 1rem; }
  .head-cta { display: none; }
  .nav-actions .btn { display: inline-flex; min-height: 2.75rem; padding: 0.5rem 1.25rem; font-size: 0.9688rem; }
}
@media (max-width: 859.98px) {
  .header-inner { position: relative; }
  .menu-btn { display: inline-flex; }
  .head-cta { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(11, 42, 82, 0.4); padding: 0.5rem var(--gutter) 1.25rem; }
  .site-header.menu-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.0625rem; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 1rem; gap: 0.5rem; }
  .nav-actions .signin { text-align: center; }
  .nav-actions .btn { display: inline-flex; }
  .head-cta { display: none; }
}
@media (min-width: 360px) and (max-width: 859.98px) {
  .head-cta { display: inline-flex; }
  .nav-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 var(--section); background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow { font-weight: 600; color: var(--teal-d); font-size: 0.9688rem; letter-spacing: 0.02em; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.eyebrow::before { content: ''; width: 1.75rem; height: 2px; background: var(--teal); }
.hero h1 { display: flex; flex-direction: column; gap: 0.6rem; }
.h1-big { font-size: clamp(2.9rem, 9.5vw, 4.9rem); font-weight: 650; line-height: 1; letter-spacing: -0.03em; font-variation-settings: 'opsz' 144; }
.h1-sub { font-size: clamp(1.45rem, 3.4vw, 2.3rem); font-weight: 500; line-height: 1.2; color: var(--teal-d); }
.lede { margin-top: 1.5rem; max-width: 36rem; font-size: clamp(1.0625rem, 1.2vw + 0.85rem, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.trust { margin-top: 1.75rem; font-weight: 550; color: var(--ink); max-width: 30rem; }
.byline { margin-top: 0.4rem; font-size: 0.9375rem; color: var(--ink-2); }
.hero-visual { margin: 0; position: relative; }
.hero-visual figcaption { margin-top: 0.9rem; font-size: 0.875rem; color: var(--ink-2); }
.shot { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 24px 48px -28px rgba(11, 42, 82, 0.45), 0 2px 6px rgba(11, 42, 82, 0.06); }
.shot img { width: 100%; height: auto; }
.shot-desktop { display: none; }
.shot-phone { width: min(15.5rem, 70%); margin-inline: auto; border-radius: 1.75rem; border: 6px solid var(--navy); max-height: 24rem; position: relative; }
.shot-phone::after { content: ''; position: absolute; inset: auto 0 0 0; height: 5rem; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }
.shot-phone img { object-fit: cover; object-position: top; }

@media (min-width: 700px) {
  .shot-desktop { display: block; }
  .hero-visual { padding-bottom: 1.5rem; }
  .shot-phone { position: absolute; width: 10rem; right: -0.5rem; bottom: 1.25rem; max-height: none; margin: 0; border-width: 5px; box-shadow: 0 30px 50px -24px rgba(11, 42, 82, 0.55); }
  .shot-phone::after { display: none; }
  .shot-phone img { object-fit: initial; }
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 3rem; }
  .shot-phone { width: 9.75rem; right: -0.75rem; bottom: 0.5rem; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { margin-top: 1rem; color: var(--ink-2); }
h2 { font-size: clamp(1.9rem, 3.2vw + 0.9rem, 3.1rem); }
h3 { font-size: 1.3rem; }

/* Reason: the "priority list" */
.reason-grid { display: grid; gap: 2.5rem; align-items: center; }
.reason-copy h2 { max-width: 18ch; }
.reason-copy p { margin-top: 1.25rem; max-width: 34rem; color: var(--ink-2); }
.reason-copy h2 + p { margin-top: 1.5rem; }
.ledger { border-top: 2px solid var(--navy); }
.ledger li { display: grid; grid-template-columns: 1fr; gap: 0.15rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); position: relative; }
.ledger-k { font-family: var(--head); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: var(--navy); }
.ledger-v { color: var(--ink-2); }
.ledger .ledger-health { background: var(--teal-wash); padding-inline: 1.25rem; border-bottom-color: var(--teal); border-bottom-width: 2px; padding-right: 5.5rem; }
.ledger-health .ledger-k { color: var(--teal-d); }
.ledger-health .ledger-v { color: var(--ink); font-weight: 550; }
.ledger-health img { position: absolute; right: 1.1rem; top: 50%; width: 3.1rem; transform: translateY(-50%); mix-blend-mode: multiply; }
@media (min-width: 900px) { .reason-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 5rem; } }

/* Features */
.features { background: var(--mist); }
.f-icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: #fff; border: 1px solid var(--line); color: var(--teal-d); margin-bottom: 1rem; }
.f-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lead-feature { display: grid; gap: 2rem; align-items: center; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); margin-bottom: clamp(2rem, 4vw, 3rem); }
.lead-copy h3 { font-size: clamp(1.6rem, 2.2vw + 0.8rem, 2.25rem); }
.lead-copy p { margin-top: 1rem; max-width: 33rem; color: var(--ink-2); }
.feature-grid { display: grid; gap: 2rem 2.5rem; grid-template-columns: minmax(0, 1fr); }
.feature-grid li { padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.feature-grid li:nth-child(even) { border-top-color: var(--teal); }
.feature-grid h3 { font-size: 1.25rem; }
.feature-grid p { margin-top: 0.6rem; color: var(--ink-2); max-width: 26rem; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .lead-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; } .feature-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .feature-grid li { grid-column: span 2; } }

/* How it works */
.steps { display: grid; gap: 2.5rem; counter-reset: none; }
.steps li { display: flex; flex-direction: column; gap: 1rem; }
.step-shot img, .lead-shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
@media (min-width: 860px) { .step-shot img, .lead-shot img { aspect-ratio: 16 / 10; } }
.steps h3 { display: flex; align-items: center; gap: 0.7rem; }
.step-n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1rem/1 var(--body); }
.steps p { color: var(--ink-2); max-width: 24rem; }
.how-note { margin-top: clamp(2rem, 4vw, 3rem); padding: 1rem 1.25rem; border-left: 3px solid var(--teal); background: var(--teal-wash); border-radius: 0 0.5rem 0.5rem 0; max-width: 44rem; color: var(--ink); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

/* Privacy */
.privacy { background: var(--navy); color: #e8f0f8; }
.privacy h2, .privacy h3 { color: #fff; }
.privacy a { color: #9fe3e6; }
.privacy-grid { display: grid; gap: 2.5rem; }
.privacy-head p { margin-top: 1.1rem; color: #c8d8ea; max-width: 30rem; }
.privacy-head h2 { max-width: 18ch; font-size: clamp(1.8rem, 2.2vw + 1rem, 2.6rem); }
.privacy-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.privacy-list { display: grid; gap: 1.5rem 2.5rem; }
.privacy-list li { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.privacy-list h3 { font-family: var(--body); font-size: 1.0625rem; font-weight: 650; letter-spacing: 0; line-height: 1.35; }
.privacy-list p { margin-top: 0.4rem; color: #c8d8ea; font-size: 1rem; max-width: 28rem; }
.limits { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--r); padding: 1.25rem 1.5rem; }
.limits h3 { font-family: var(--body); font-size: 1.0625rem; letter-spacing: 0; }
.limits p { margin-top: 0.5rem; color: #e8f0f8; max-width: 44rem; }
@media (min-width: 760px) { .privacy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .privacy-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 3rem 4.5rem; } .limits { grid-column: 1 / -1; } }

/* About / AFOLAOLA */
.about-inner { display: grid; gap: 1.75rem; max-width: 52rem; }
.about-mark { width: 4.5rem; height: auto; }
.about h2 { max-width: 18ch; }
.about p { margin-top: 1.1rem; color: var(--ink-2); max-width: 40rem; }
.about p.about-line { margin-top: 1.5rem; color: var(--ink); font-weight: 550; }
@media (min-width: 760px) { .about-inner { grid-template-columns: auto 1fr; gap: 3rem; align-items: start; } .about-mark { width: 6.5rem; margin-top: 0.4rem; } }

/* Closing */
.closing { background: var(--teal-wash); text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing h2 { max-width: 20ch; }
.closing p { margin-top: 1.1rem; max-width: 34rem; color: var(--ink-2); }
.closing .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0 calc(2.5rem + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand img { width: 9.5rem; mix-blend-mode: multiply; }
.footer-brand .endorse { margin-top: 0.9rem; display: flex; align-items: center; gap: 0.6rem; font-size: 0.9375rem; color: var(--ink-2); max-width: 20rem; }
.footer-brand .endorse img { width: 2.25rem; height: 2.25rem; flex: none; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-nav a { display: inline-block; padding: 0.6rem 0; font-weight: 550; }
.footer-contact h2 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.footer-contact ul { display: grid; gap: 0.25rem 2rem; grid-template-columns: minmax(0, 1fr); }
.footer-contact li { display: flex; flex-direction: column; }
.footer-contact li span { font-size: 0.875rem; color: var(--ink-2); }
.footer-contact a { display: inline-block; padding: 0.4rem 0; min-height: 44px; font-weight: 550; overflow-wrap: anywhere; }
.footer-contact p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-2); max-width: 40rem; }
@media (min-width: 600px) { .footer-contact ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-contact ul { grid-template-columns: repeat(4, auto); justify-content: start; } }
.footer-legal p { font-size: 0.875rem; color: var(--ink-2); max-width: 40rem; }
.footer-legal p + p { margin-top: 0.6rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: auto 1fr; grid-template-areas: 'brand nav' 'contact contact' 'legal legal'; gap: 2rem 4rem; } .footer-brand { grid-area: brand; } .footer-contact { grid-area: contact; } .footer-nav { grid-area: nav; align-self: center; justify-self: end; } .footer-legal { grid-area: legal; padding-top: 1.5rem; border-top: 1px solid var(--line); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .menu-btn, .skip { display: none; } .privacy { background: #fff; color: #000; } .privacy h2, .privacy h3 { color: #000; } }
@media (min-width: 700px) and (max-width: 999px) { .feature-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; } .feature-grid li:last-child p { max-width: 40rem; } }

/* ---------- Install ---------- */
.btn[hidden] { display: none; }
.install { background: var(--mist); }
.install-grid { display: grid; gap: 2.5rem; align-items: start; }
.install-copy h2 { max-width: 18ch; }
.install-copy p { margin-top: 1rem; max-width: 34rem; color: var(--ink-2); }
.install-copy .install-note { color: var(--ink); }
.install-status { min-height: 1.65em; margin-top: 1rem; font-weight: 600; color: var(--teal-d); }
.install-ways { display: grid; gap: 0.75rem; }
.install-ways li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.install-ways h3 { font-family: var(--body); font-size: 1.0625rem; font-weight: 650; letter-spacing: 0; line-height: 1.35; }
.install-ways p { margin-top: 0.35rem; color: var(--ink-2); font-size: 1rem; }
.install-ways li.is-you { border-color: var(--teal); background: var(--teal-wash); }
.install-ways li.is-you h3::after { content: 'This device'; margin-inline-start: 0.6rem; font: 600 0.8125rem/1 var(--body); color: var(--teal-d); background: #fff; padding: 0.25rem 0.55rem; border-radius: 999px; vertical-align: 0.1em; }
@media (min-width: 900px) { .install-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 4.5rem; } }
.is-installed .install, .is-installed [data-install] { display: none; }
