/* Corvago — landing page. Palette mirrors the mobile app (constants/theme.ts):
   dark #120608 · card #1E0C10 · border #3D1A22 · wine #7B1D35 · wineLight #A02444
   gold #C9A96E · cream #F5ECD7 · muted #9C8B7E */
:root {
  --dark: #120608;
  --card: #1E0C10;
  --card-alt: #250E13;
  --border: #3D1A22;
  --wine: #7B1D35;
  --wine-light: #A02444;
  --gold: #C9A96E;
  --cream: #F5ECD7;
  --muted: #9C8B7E;
  --serif: "Cormorant Garamond", "Hoefler Text", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(123, 29, 53, 0.30), transparent 60%),
    radial-gradient(900px 700px at 100% 100%, rgba(201, 169, 110, 0.06), transparent 55%),
    var(--dark);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* soft vignette glow behind the hero */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(620px 360px at 50% 14%, rgba(160, 36, 68, 0.12), transparent 70%);
  z-index: 0;
}

header, main, footer { position: relative; z-index: 1; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) 24px 16px;
  text-align: center;
}

.lockup {
  width: min(360px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.lede {
  margin: clamp(20px, 4vw, 34px) auto 0;
  max-width: 540px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--cream);
  opacity: 0.92;
}

.coming {
  margin-top: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Feature cards ──────────────────────────────────────────────────── */
.features {
  max-width: 920px;
  margin: clamp(40px, 7vw, 80px) auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, var(--card), var(--card-alt));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 169, 110, 0.45);
}

.card-emoji { font-size: 1.7rem; line-height: 1; margin-bottom: 12px; }

.card h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: 0.2px;
  margin: 0 0 8px;
  color: var(--cream);
}

.card h2 em { color: var(--gold); font-style: italic; }

.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ── Statement ──────────────────────────────────────────────────────── */
.statement {
  max-width: 720px;
  margin: clamp(48px, 8vw, 96px) auto 0;
  padding: 0 28px;
  text-align: center;
}

.statement p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.2vw, 2.15rem);
  line-height: 1.35;
  color: var(--cream);
  margin: 0;
}

.statement strong { color: var(--gold); font-weight: 600; font-style: italic; }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer {
  max-width: 920px;
  margin: clamp(64px, 10vw, 120px) auto 0;
  padding: 32px 24px 56px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.mark { margin-bottom: 14px; opacity: 0.9; }

.copyright { margin: 0; color: var(--muted); font-size: 0.86rem; }

.contact { margin: 6px 0 0; font-size: 0.86rem; }
.contact a { color: var(--gold); text-decoration: none; }
.contact a:hover { text-decoration: underline; }

.footnav {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 0.86rem;
}
.footnav a { color: var(--muted); text-decoration: none; }
.footnav a:hover { color: var(--gold); text-decoration: underline; }

/* ── About / prose page ─────────────────────────────────────────────── */
.page-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) 24px 8px;
  text-align: center;
}

.lockup-link { display: inline-block; }

.prose {
  max-width: 660px;
  margin: clamp(28px, 5vw, 52px) auto 0;
  padding: 0 24px;
}

.prose .kicker {
  margin: 0 0 10px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.prose h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 clamp(24px, 4vw, 36px);
  text-align: center;
  color: var(--cream);
}

.prose p {
  margin: 0 0 18px;
  font-size: clamp(1.02rem, 2.1vw, 1.12rem);
  color: var(--cream);
  opacity: 0.9;
}

.prose p em { color: var(--gold); font-style: italic; }
.prose a { color: var(--gold); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* maker / Norevia Group callout */
.maker {
  max-width: 660px;
  margin: clamp(34px, 5vw, 54px) auto 0;
  padding: 0 24px;
}

.maker-card {
  background: linear-gradient(180deg, var(--card), var(--card-alt));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  text-align: center;
}

.maker-card h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.32rem;
  margin: 0 0 8px;
  color: var(--cream);
}

.maker-card p { margin: 0 0 18px; color: var(--muted); font-size: 0.98rem; }

.btn {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  border-radius: 999px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: border-color 160ms ease, background 160ms ease;
}
.btn:hover { border-color: var(--gold); background: rgba(201, 169, 110, 0.08); }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .btn { transition: none; }
}
