/* Oakmast Labs website. Brand: Oak #1F3A33, Moss #2F5D50, Cream #F3EEE4, Acorn #9A6A3A. */
:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --cream: #f3eee4;
  --ink: #1f3a33;
  --text: #22282a;
  --muted: #5d6662;
  --line: #e4ddd0;
  --accent: #9a6a3a;
  --moss: #2f5d50;
  --chip: #e8efe9;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121816;
    --surface: #18201d;
    --cream: #1d2622;
    --ink: #f3eee4;
    --text: #e9e6df;
    --muted: #a6aea9;
    --line: #2a3531;
    --accent: #c89462;
    --moss: #8cc7b4;
    --chip: #22302b;
  }
}
:root[data-theme="dark"] {
  --bg: #121816;
  --surface: #18201d;
  --cream: #1d2622;
  --ink: #f3eee4;
  --text: #e9e6df;
  --muted: #a6aea9;
  --line: #2a3531;
  --accent: #c89462;
  --moss: #8cc7b4;
  --chip: #22302b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--moss); }
img, svg { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand span { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.brand span b { font-weight: 400; opacity: 0.72; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.only-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-light { display: none; }
  :root:not([data-theme="light"]) .only-dark { display: inline; }
}

/* Hero */
.hero { padding: 48px 0 72px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; }
h1 { color: var(--ink); font-size: clamp(36px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--ink); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-ghost { color: var(--ink); }
.btn:hover { opacity: 0.88; }

/* Product preview (illustration of an owner price) */
.preview { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px -30px rgba(31, 58, 51, 0.35); max-width: 440px; justify-self: center; width: 100%; }
.preview-media { aspect-ratio: 16 / 10; border-radius: 12px; background: linear-gradient(135deg, #2f5d50, #1f3a33); position: relative; overflow: hidden; }
.preview-media .wave { position: absolute; left: 8%; right: 8%; top: 22%; width: 84%; height: 50%; fill: #c89462; opacity: 0.9; }
.cover-title { position: absolute; left: 8%; bottom: 10%; color: #f3eee4; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; }
.preview h3 { margin: 16px 0 4px; font-size: 18px; color: var(--ink); }
.preview .owned { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--moss); background: var(--chip); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price s { color: var(--muted); }
.price strong { font-size: 26px; color: var(--ink); }
.price-label { font-size: 13px; color: var(--muted); }
.why { font-size: 14px; color: var(--muted); margin: 6px 0 16px; }
.preview .buy { display: block; text-align: center; background: var(--ink); color: var(--bg); border-radius: 10px; padding: 11px; font-weight: 600; font-size: 15px; }

/* Sections */
section { padding: 72px 0; }
.band { background: var(--cream); }
h2 { color: var(--ink); font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 36px; }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 36px; height: 36px; border-radius: 10px; background: var(--chip); color: var(--moss); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 20px; height: 20px; }

.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.app-badge { font-size: 13px; font-weight: 600; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 10px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--muted); font-size: 16px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.steps strong { display: block; color: var(--ink); }
.links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 16px; }

.about { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 0.9fr 1.1fr; } }
.about p { margin: 0 0 16px; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.values li { padding-left: 28px; position: relative; color: var(--muted); }
.values li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.values strong { color: var(--ink); }

.contact .card a { font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--muted); }
.legal { font-size: 13px; }

/* Simple text pages */
.page { padding: 32px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(30px, 5vw, 42px); }
.page h2 { font-size: 22px; margin-top: 32px; }
.page p, .page li { color: var(--text); }

/* Narrow phones: keep the name on one line. */
.brand span { white-space: nowrap; }
@media (max-width: 480px) {
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .nav a[href$="#about"] { display: none; }
}
