/* ============================================================
   Eternity Vault — shared styles for every page
   Colors, fonts and layout all live here. Edit once, everywhere
   updates. Brand: blue #1B4B8F, gold #FFC93C, warm cream. No pink.
   ============================================================ */

:root {
  --blue: #1B4B8F;
  --blue-deep: #143a6e;
  --gold: #FFC93C;
  --cream: #FDF8EA;
  --cream-deep: #FBF3DA;
  --ink: #21201c;
  --muted: #5c5646;
  --line: rgba(27,75,143,0.18);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --hand: 'Caveat', 'Segoe Script', cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--blue); }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255,201,60,0.18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

/* ---------- Home hero ---------- */
header { padding: 34px 24px 0; text-align: center; }

.kicker {
  font-family: var(--hand);
  font-size: 1.5rem;
  color: var(--blue);
  letter-spacing: 0.3px;
}
.kicker a { text-decoration: none; }

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 64px;
}

.hero-mark {
  width: clamp(84px, 16vw, 116px);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 4px 14px rgba(27,75,143,0.14));
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--blue);
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.5px;
}

.flourish { width: 220px; max-width: 60vw; height: 22px; margin: 18px auto 6px; }

.tagline {
  font-family: var(--hand);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  color: var(--ink);
  margin: 4px 0 0;
}

.lede {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--muted);
  font-style: italic;
}

.coming-soon {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: rgba(27,75,143,0.04);
  color: var(--blue);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
}
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255,201,60,0.25);
}
.store-note { margin-top: 14px; font-size: 0.95rem; color: var(--muted); }

/* ---------- Value cards ---------- */
.values { background: var(--blue); color: var(--cream); padding: 64px 24px 68px; }
.values-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px; text-align: center;
}
.value h3 {
  font-family: var(--hand); color: var(--gold);
  font-size: 1.75rem; font-weight: 600; margin: 0 0 8px;
}
.value p { margin: 0; color: rgba(253,248,234,0.86); font-size: 1.05rem; }
.value .num { display: block; font-size: 1.6rem; margin-bottom: 6px; }

.closing { text-align: center; padding: 60px 24px 30px; max-width: 620px; margin: 0 auto; }
.closing p { font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--blue-deep); margin: 0; }

/* ---------- Content pages (privacy / support / terms / 404) ---------- */
.doc-head {
  padding: 30px 24px 0;
  text-align: center;
}
.doc-head .home-link {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--blue);
  font-size: 1.4rem;
  text-decoration: none;
}
.doc-head .home-link:hover { text-decoration: underline; }

.doc {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 24px 60px;
}
.doc h1 {
  font-weight: 600;
  color: var(--blue);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  margin: 18px 0 6px;
}
.doc .updated { color: var(--muted); font-size: 0.95rem; margin: 0 0 26px; }
.doc h2 {
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 1.3rem;
  margin: 34px 0 8px;
}
.doc p, .doc li { font-size: 1.05rem; color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

.draft-note {
  background: rgba(255,201,60,0.16);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.98rem;
  color: var(--blue-deep);
  margin: 0 0 28px;
}

/* Centered "not found" block */
.notfound {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px;
}
.notfound h1 { color: var(--blue); font-size: clamp(2rem, 7vw, 3.4rem); margin: 0 0 10px; }
.notfound p { color: var(--muted); font-size: 1.15rem; max-width: 460px; }

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 30px 24px 46px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
footer a { color: var(--blue); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-brand { font-weight: 600; color: var(--blue); margin-bottom: 6px; font-size: 1rem; }
.footer-nav { margin: 8px 0 12px; }
.footer-nav a { margin: 0 8px; }

@media (max-width: 640px) {
  .values-inner { grid-template-columns: 1fr; gap: 34px; }
}
