/* liftway.app — one stylesheet for every page. Colors come from the app icon: near-black, cream, gold. */
:root {
  --bg: #0b0b0a;
  --surface: #151513;
  --surface-2: #1d1d1a;
  --border: #2a2a26;
  --text: #eceadf;
  --text-2: #b4b2a6;
  --muted: #8c8a80;
  --gold: #d4a12f;
  --gold-soft: rgba(212, 161, 47, 0.14);
  --radius: 16px;
  --max: 1080px;
  --prose: 720px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 38px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } .hero { padding: 104px 0 88px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); padding: 5px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 18px 0 18px; }
h1 .accent { color: var(--gold); }
.lede { font-size: 19px; color: var(--text-2); max-width: 34em; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.button.primary { background: var(--gold); color: #17140b; }
.button.primary:hover { background: #e0b046; }
.button.ghost { color: var(--text); border: 1px solid var(--border); }
.button.ghost:hover { border-color: var(--muted); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark .tile { width: min(320px, 70vw); aspect-ratio: 1; border-radius: 28%; background: radial-gradient(circle at 50% 40%, #1c1a12, #000 70%); border: 1px solid var(--border); display: grid; place-items: center; box-shadow: 0 30px 80px rgba(212, 161, 47, 0.08); }
.hero-mark .tile img { width: 62%; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--border); }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-lede { color: var(--text-2); max-width: 40em; margin: 0 0 32px; }

.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature h3 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.feature .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-bottom: 14px; }

.pillars { display: grid; gap: 24px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar h3 { font-size: 18px; margin: 0 0 6px; }
.pillar p { margin: 0; color: var(--text-2); font-size: 15.5px; }

.cta { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px); padding: 36px 24px; text-align: center; }
.cta p { color: var(--text-2); margin: 0 auto 22px; max-width: 34em; }

/* Prose pages (privacy, terms, support) */
.page { padding: 56px 0 72px; }
.prose { max-width: var(--prose); }
.prose h1 { font-size: clamp(32px, 5vw, 44px); margin-top: 0; }
.prose h2 { font-size: 23px; margin: 44px 0 10px; }
.prose h3 { font-size: 18px; margin: 28px 0 6px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.meta { color: var(--muted); font-size: 15px; margin-top: -4px; }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 12px; padding: 16px 18px; margin: 24px 0; }
.callout p { margin: 0; color: var(--text); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { color: var(--text); background: var(--surface); font-weight: 600; }
td { color: var(--text-2); }
tr:last-child td { border-bottom: 0; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 24px 0; }
.toc ol { margin: 6px 0 0; padding-left: 22px; columns: 1; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc li { margin: 4px 0; break-inside: avoid; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--text); padding: 16px 0; list-style-position: outside; }
details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 4px; }
details > p, details > ul, details > ol { margin: 12px 0 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 40px; font-size: 14.5px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 520px) {
  .nav { gap: 14px; font-size: 14px; }
  .brand span { display: none; }
}
