/* Highva website — the app's dark look: matte black, gunmetal cards, one brushed gold. */

:root {
  --bg: #0a0a0b;
  --surface: #1a1b1d;
  --surface-high: #24252a;
  --hairline: rgba(255, 255, 255, 0.07);
  --text: #f4f3ef;
  --muted: #a3a3a8;
  --faint: #8c8c91;
  --gold: #c9a45c;
  --gold-soft: rgba(201, 164, 92, 0.14);
  --on-gold: #0a0a0b;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 24px;
  --measure: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header and footer ── */
.top, .bottom {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.01em; font-size: 18px; }
.brand:hover { text-decoration: none; }
.top nav, .bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a, .bottom nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.top nav a[aria-current="page"] { color: var(--gold); }
.bottom { flex-direction: column; align-items: center; border-top: 1px solid var(--hairline); margin-top: 64px; padding-top: 28px; padding-bottom: 40px; }
.bottom p { margin: 0; color: var(--faint); font-size: 13px; }
.bottom p a { color: var(--faint); }

main { flex: 1; width: 100%; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Home ── */
.home { max-width: 1040px; }
.hero {
  text-align: center;
  padding: 72px 0 56px;
  background: radial-gradient(60% 55% at 50% 30%, rgba(201, 164, 92, 0.09), transparent 70%);
}
.hero-mark { width: 88px; height: auto; filter: drop-shadow(0 8px 30px rgba(201, 164, 92, 0.18)); }
.eyebrow, .label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}
.eyebrow { margin-top: 28px; }
.hero h1 {
  margin: 14px 0 0;
  font: 800 clamp(40px, 8vw, 72px)/1.04 var(--display);
  letter-spacing: -0.035em;
}
.pitch { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.science { max-width: 560px; margin: 18px auto 0; color: var(--muted); font-size: 15px; letter-spacing: 0.01em; }
.soon {
  display: inline-block;
  margin: 30px 0 0;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border-radius: 20px; padding: 24px; }
.feature p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ── Documents (Privacy, Terms, Support) ── */
.doc { max-width: var(--measure); }
.doc h1 { font: 800 clamp(32px, 6vw, 44px)/1.1 var(--display); letter-spacing: -0.03em; margin: 40px 0 20px; }
.doc h2 { font: 700 20px/1.3 var(--display); letter-spacing: -0.01em; margin: 40px 0 10px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); font-weight: 650; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--gold); }
.fill { color: var(--text); border-bottom: 1px dashed var(--gold); }

.button {
  display: inline-block;
  margin-top: 6px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
}
.button:hover { text-decoration: none; filter: brightness(1.06); }

details { background: var(--surface); border-radius: 16px; margin: 10px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 650; color: var(--text); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 20px 18px; }

/* ── Phones ── */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .top { padding-top: 14px; padding-bottom: 14px; }
  .top nav { gap: 14px; }
  .hero { padding: 48px 0 40px; }
  .pitch { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}
