/* Oravita website (v2, 20 Nov 2026). Colours from packages/design-tokens (gem emerald + polished gold), dark first
   with a light theme. No web fonts, scripts, cookies or third-party requests: the site keeps the app's privacy promise. */
:root {
  color-scheme: dark;
  --bg: #050505; --surface: #111111; --raised: #1c1c1c; --border: #262626;
  --ink: #ede6d6; --muted: #9c978c; --gold: #e2be6a; --emerald: #4cc27f;
  --band: #0f1a13; --band-line: #24302a;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --gold-btn: linear-gradient(180deg, #f3d98b, #c2913c); /* the app's primary button: gold-200 → gold-450 */
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f3efe6; --surface: #ffffff; --raised: #ffffff; --border: #e4dccb;
    --ink: #1e2a2a; --muted: #6e6a61; --gold: #89681d; --emerald: #1e7a46;
    --band: #e9efe8; --band-line: #d5dfd5;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); }
a { color: var(--gold); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Header and footer */
.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.top nav { margin-left: auto; display: flex; gap: 4px 18px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--gold); }
footer { border-top: 1px solid var(--border); margin-top: 72px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 10px 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--muted); }

/* Type */
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 58px); margin: 12px 0 16px; }
h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 10px; }
h3 { font-size: 18px; margin: 26px 0 6px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0; }
p, ul { max-width: 68ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Buttons: gold (primary, as in the app), outlined gold (secondary) */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-gold { color: #1a1306; background: var(--gold-btn); }
.btn-line { color: var(--gold); border: 1px solid var(--gold); }

/* Sections */
section { padding-top: 64px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 56px; }
.phones { display: flex; justify-content: center; gap: 14px; }
.phones img { width: min(46%, 230px); border-radius: 26px; border: 1px solid var(--border); }
.phones img:nth-child(2) { margin-top: 40px; }
@media (max-width: 820px) { .hero { grid-template-columns: minmax(0, 1fr); } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; }
.card h3 { margin: 0 0 6px; color: var(--gold); font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.promise { background: var(--band); border: 1px solid var(--band-line); border-radius: 22px; padding: 28px 28px 22px; margin-top: 64px; }
.promise ul { padding-left: 20px; }
.promise li { margin: 6px 0; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 64px; }
.feature.flip > :first-child { order: 2; }
.feature .shots { display: flex; gap: 12px; justify-content: center; }
.feature .shots img { width: min(48%, 250px); border-radius: 24px; border: 1px solid var(--border); }
.feature .shots img.wide { width: 100%; max-width: 420px; border-radius: 18px; }
@media (max-width: 820px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature.flip > :first-child { order: 0; } }

/* Long-form pages (privacy, terms, support) */
.doc { max-width: 760px; }
.doc h2 { font-size: 26px; margin-top: 40px; }
.doc li { margin: 6px 0; }
.note { border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 14px 18px; }
details { border-bottom: 1px solid var(--border); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p, details ul { margin: 10px 0 0; color: var(--muted); }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-top: 18px; }
