/* Stay Tuned — Ember identity (espresso ground, copper signal). Shared across all pages. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --espresso: #120E0C;
  --surface: #1B1310;
  --surface-2: #241914;
  --copper: #C96F4A;
  --copper-bright: #E79A6F;
  --cream: #F3EAE1;
  --muted: #A89B90;
  --hairline: rgba(243, 234, 225, 0.10);
  --hairline-strong: rgba(243, 234, 225, 0.16);
  --measure: 66ch;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  /* Warm ambient glow anchored top-left, like a screen bleeding light into a dark room. */
  background-image:
    radial-gradient(1100px 620px at 12% -8%, rgba(201, 111, 74, 0.16), transparent 60%),
    radial-gradient(900px 520px at 96% 4%, rgba(201, 111, 74, 0.07), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--measure); }

/* ---- Header ---- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hairline);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--cream); }
.brand svg { display: block; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.2px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.18s; }
.nav a:hover, .nav a:focus-visible { color: var(--copper-bright); }

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--copper); display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--copper);
  box-shadow: 0 0 0 0 rgba(201, 111, 74, 0.6); animation: onair 2.4s ease-out infinite;
}
@keyframes onair {
  0% { box-shadow: 0 0 0 0 rgba(201, 111, 74, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(201, 111, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 111, 74, 0); }
}

/* ---- Hero (landing) ---- */
.hero { padding: 86px 0 30px; }
.hero h1 {
  font-family: var(--display); font-weight: 600; line-height: 1.02;
  font-size: clamp(44px, 8vw, 84px); letter-spacing: -1.5px; margin: 0 0 20px;
  text-wrap: balance;
}
.hero h1 .amp { color: var(--copper); font-style: italic; }
.lede { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 54ch; margin: 0 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 12px;
  background: var(--copper); color: #1a0f09; transition: transform 0.15s, background 0.18s;
}
.btn:hover, .btn:focus-visible { background: var(--copper-bright); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--hairline-strong); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--surface); border-color: var(--copper); transform: translateY(-1px); }

/* ---- Feature list ---- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px;
  background: var(--hairline); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden;
  margin: 64px 0 30px; }
.feature { background: var(--surface); padding: 26px 24px; }
.feature h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 14px 0 7px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.feature .ico { color: var(--copper); }

/* ---- Legal / doc pages ---- */
.doc { padding: 54px 0 20px; }
.doc h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -0.8px; margin: 0 0 10px; text-wrap: balance; }
.doc .meta { color: var(--muted); font-size: 14px; font-family: var(--mono); margin: 0 0 8px; }
.doc h2 { font-family: var(--display); font-weight: 600; font-size: 25px; letter-spacing: -0.3px;
  margin: 44px 0 12px; padding-top: 10px; }
.doc h3 { font-size: 17px; font-weight: 700; margin: 26px 0 6px; color: var(--cream); }
.doc p, .doc li { color: #E4D8CD; }
.doc a { color: var(--copper-bright); text-decoration: underline; text-underline-offset: 2px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 7px 0; }
.doc strong { color: var(--cream); }
.callout { background: var(--surface); border: 1px solid var(--hairline); border-left: 3px solid var(--copper);
  border-radius: 10px; padding: 16px 20px; margin: 22px 0; color: var(--muted); font-size: 15px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--hairline); margin-top: 60px; padding: 30px 0 46px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; }
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-footer a:hover { color: var(--copper-bright); }
.site-footer .copy { color: var(--muted); font-size: 13px; }

/* Fade-in on load */
@media (prefers-reduced-motion: no-preference) {
  .fade { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .fade-2 { animation-delay: 0.08s; }
  .fade-3 { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .eyebrow::before { will-change: box-shadow; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { gap: 16px; }
  .hero { padding: 60px 0 20px; }
}
