/* humanquest.app — the app's own look: black, gold, Inter. */
@font-face { font-family: Inter; src: url('Inter-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('Inter-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --bg: #000;
  --surface: #121212;
  --line: #262219;
  --gold: #c9a85a;
  --gold-soft: #d2b46c;
  --text: #f2efe8;
  --muted: #9a958a;
}

* { 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', sans-serif;
  line-height: 1.55;
}
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.top .brand img { height: 44px; width: auto; }
.lang { display: flex; gap: 4px; }
.lang button {
  font: inherit; font-size: 13px; color: var(--muted); background: none;
  border: 1px solid transparent; border-radius: 999px; padding: 4px 10px; cursor: pointer;
}
.lang button[aria-pressed='true'] { color: var(--gold); border-color: var(--line); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: 48px 0 72px;
}
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; z-index: -1;
  background:
    radial-gradient(circle, rgba(201, 168, 90, 0.18), transparent 60%),
    repeating-radial-gradient(circle, transparent 0 86px, rgba(201, 168, 90, 0.08) 86px 87px);
  border-radius: 50%;
}
.eyebrow { color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; letter-spacing: -0.02em; margin: 12px 0 18px; font-weight: 600; }
.quote { color: var(--gold-soft); font-size: clamp(18px, 2.4vw, 22px); margin: 0 0 14px; }
.lead { color: #cfc9bd; font-size: 17px; max-width: 34em; margin: 0 0 28px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px;
  border-radius: 14px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid #3a3220;
}
.store:hover, .store:focus-visible { border-color: var(--gold); }
.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; color: var(--muted); line-height: 1.1; }
.store strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }

.phones { display: flex; justify-content: center; }
.phone {
  width: min(250px, 70vw); border-radius: 34px; padding: 9px; background: #1a1a1a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px #2c2a25; transform: rotate(-2deg);
}
.phone img { border-radius: 30px; }

/* Features */
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 8px; font-weight: 600; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0 0 32px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid #1f1d18; border-radius: 18px; padding: 22px; }
.feature .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #1d1a12; color: var(--gold); margin-bottom: 14px; }
.feature .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.feature h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.feature p { margin: 0; color: #b9b3a7; font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); justify-content: center; gap: 28px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 24px; border: 1px solid #23211c; }
.gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }

.about { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.about img { width: 96px; }
.about p { margin: 0 0 14px; color: #cfc9bd; max-width: 46em; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--gold); }

/* Legal pages */
.legal { padding: 24px 0 64px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal h2 { font-size: 22px; margin-top: 34px; }
.legal h3 { font-size: 18px; margin-top: 26px; }
.legal p, .legal li { color: #d5d0c5; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; text-align: left; }
  .phones { order: -1; }
  .phone { width: min(240px, 62vw); }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .gallery figure { scroll-snap-align: center; }
  .about { grid-template-columns: 1fr; }
}
