/* ============================================================================
   SAY-OS site foundation — shared stylesheet (Phase A)
   Source of truth for the locked velvet design system. Built from the
   homepage's current styles. Link with: <link rel="stylesheet" href="/site.css">
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --velvet-black: #0F2818;   /* page background / surface-base */
  --velvet-deep: #183222;    /* card / surface-card */
  --velvet-primary: #1E3828; /* surface-card-hover */
  --velvet-light: #24402E;   /* surface-circle */
  --gold-brushed: #C9A961;   /* gold CTA — flat, no gradients */
  --gold-accent: rgba(201,169,97,0.65);
  --gold-deep: rgba(201,169,97,0.5);
  --alabaster: #EDE5D4;      /* heading champagne */
  --text-main: #1a1a1a;
  --text-muted: #96A097;     /* metadata only */
  --border: rgba(201,169,97,0.12);
  --warning: #B4800A;        /* disclaimer / caution */
  --shadow-premium: 0 50px 100px -20px rgba(15,40,24,0.12), 0 30px 60px -30px rgba(0,0,0,0.15);
  --shadow-gold: 0 20px 50px -10px rgba(201,169,97,0.2);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--velvet-black);
  color: var(--alabaster);
  font-family: 'Outfit', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  /* Clear the fixed nav so the first section isn't covered. The homepage's
     full-bleed hero opts out via body{padding-top:0} in its own styles. */
  padding-top: 88px;
}
@media (max-width: 860px) { body { padding-top: 80px; } }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
/* Hero = first section under body{padding-top} nav clearance: own top padding ≤48px, no doubled 88px */
.section.hero-section { padding-top: 40px; }

/* ── Eyebrow (brand font — Outfit) ────────────────────────────────────── */
.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-brushed);
  margin-bottom: 16px;
}

/* ── Heading scale ────────────────────────────────────────────────────── */
h1 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(32px, 5vw, 56px); line-height: 1.08; color: var(--alabaster); }
h2 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; color: var(--alabaster); }
h1 em, h2 em { font-style: italic; color: var(--gold-brushed); }

/* ── Buttons (flat gold, radius 12) ───────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
}
.btn.primary { background: var(--gold-brushed); color: #0F2818; border: none; }
.btn.primary:hover { background: #D9BD7A; }
.btn.secondary, .btn.ghost { background: transparent; color: var(--alabaster); border: 1px solid rgba(201,169,97,0.30); }
.btn.secondary:hover, .btn.ghost:hover { border-color: var(--gold-brushed); }

/* ── Card (#183222, radius 20, no shadow) ─────────────────────────────── */
.card {
  background: var(--velvet-deep);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: none;
}

/* ── Disclaimer box ───────────────────────────────────────────────────── */
.disclaimer {
  background: var(--velvet-deep);
  border: 1px solid rgba(180,128,10,0.35);
  border-radius: 14px;
  padding: 20px 24px;
}
.disclaimer h3, .disclaimer .disclaimer-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--warning);
  margin: 0 0 8px;
}
.disclaimer p { font-family: 'Outfit', sans-serif; color: #D4C5A9; margin: 0; }

/* ── Nav (shared) ─────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(15,40,24,0.95), transparent);
  backdrop-filter: blur(8px);
}
.nav-logo a { text-decoration: none; display: flex; align-items: center; }
.nav-cta {
  background: transparent;
  border: 1px solid rgba(201,169,97,0.3);
  color: var(--gold-brushed);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 9px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.nav-cta:hover { background: rgba(201,169,97,0.1); border-color: var(--gold-brushed); }

/* ── Footer (shared) — ElevenLabs badge above ©, 72px mobile clearance ─── */
footer {
  background: var(--velvet-black);
  padding: 48px 0;
  border-top: 1px solid rgba(237,229,212,0.06);
}
body.consent-open footer { padding-bottom: calc(var(--consent-h, 300px) + 16px); }
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; letter-spacing: 4px; color: var(--gold-brushed); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-family: 'Outfit', sans-serif; font-size: 11px; letter-spacing: 1px; color: rgba(237,229,212,0.72); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-accent); }
.footer-copy { font-family: 'Outfit', sans-serif; font-size: 10px; letter-spacing: 1px; color: rgba(237,229,212,0.72); }

/* ── Wordmark (crown "SAY·OS") ────────────────────────────────────────── */
.say-wm, .wm-lock { display: inline-flex; align-items: center; gap: 0.24em; white-space: nowrap; vertical-align: baseline; }
.say-wm__sep, .wm-bar { display: inline-block; flex: 0 0 auto; width: 0.42em; height: 0.08em; min-height: 2px; background: currentColor; border-radius: 2px; position: relative; top: 0.03em; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  footer { padding: 32px 0 72px; }
  footer .container { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 14px 20px; }
}
@media (max-width: 860px) { .section { padding: 56px 0; } .section.hero-section { padding-top: 24px; } }
@media (max-width: 420px) { .nav-hide-narrow { display: none !important; } }
