/* Birthday Star — marketing & legal site theme */
:root {
  --bg-0: #05060f;
  --bg-1: #0b0f22;
  --gold: #ffd47e;
  --violet: #8a7bff;
  --accent: #b7a6ff;
  --text: #eef1ff;
  --text-dim: #b9c0e0;
  --text-faint: #7d86ad;
  --panel: rgba(18, 23, 48, 0.55);
  --panel-border: rgba(140, 150, 220, 0.18);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(120% 90% at 50% -10%, #171d40 0%, var(--bg-1) 45%, var(--bg-0) 100%) fixed;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* soft starfield dusting */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.2px 1.2px at 78% 14%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 34% 68%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.6px 1.6px at 62% 82%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 88% 54%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.2px 1.2px at 22% 90%, rgba(255,255,255,.6), transparent);
  opacity: .5;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

.wrap { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 0 22px; }

/* ---- top nav ---- */
.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 860px; margin: 0 auto; padding: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; }
.brand .mark { color: var(--gold); font-size: 22px; filter: drop-shadow(0 0 10px rgba(255,212,126,.6)); }
.nav-links { display: flex; gap: 20px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--text-dim); }

/* ---- hero ---- */
.hero { text-align: center; padding: 46px 22px 30px; position: relative; z-index: 1; }
.hero .star-ic { font-size: 62px; color: var(--gold); filter: drop-shadow(0 0 26px rgba(255,212,126,.55)); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
.hero h1 { font-family: var(--serif); font-size: clamp(38px, 8vw, 64px); font-weight: 600; line-height: 1.05; margin: 18px auto 14px; max-width: 12ch; }
.hero h1 .grad { background: linear-gradient(110deg, var(--gold), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(16px, 2.4vw, 19px); color: var(--text-dim); max-width: 40ch; margin: 0 auto 26px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 14px; font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s, box-shadow .18s, background .2s;
}
.btn-primary { color: #140f2e; background: linear-gradient(120deg, var(--gold), var(--accent)); box-shadow: 0 10px 30px rgba(140,150,255,.32); }
.btn-primary:hover { transform: translateY(-2px); color: #140f2e; box-shadow: 0 16px 40px rgba(140,150,255,.42); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.06); border-color: var(--panel-border); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ---- feature grid ---- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 40px 0; }
.feature { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 18px; padding: 22px; backdrop-filter: blur(10px); }
.feature .fic { font-size: 26px; margin-bottom: 10px; display: block; }
.feature h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 6px; color: #fff; }
.feature p { font-size: 14.5px; color: var(--text-dim); }

/* ---- generic sections ---- */
.section { margin: 46px 0; }
.section-tag { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.section h2 { font-family: var(--serif); font-size: clamp(28px, 5vw, 40px); font-weight: 600; margin-bottom: 12px; }

/* ---- legal / support article ---- */
.doc { position: relative; z-index: 1; padding: 20px 0 60px; }
.doc h1 { font-family: var(--serif); font-size: clamp(32px, 6vw, 46px); font-weight: 600; margin-bottom: 6px; }
.doc .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 30px; }
.doc h2 { font-family: var(--serif); font-size: 25px; font-weight: 600; color: #fff; margin: 30px 0 10px; }
.doc h3 { font-size: 17px; font-weight: 700; color: var(--gold); margin: 20px 0 6px; }
.doc p, .doc li { color: var(--text-dim); font-size: 15.5px; margin-bottom: 12px; }
.doc ul, .doc ol { padding-inline-start: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 7px; }
.doc strong { color: var(--text); }
.doc .lead { font-size: 17px; color: var(--text); }
.card { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 18px; padding: 22px 24px; backdrop-filter: blur(10px); margin: 18px 0; }
.mail-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 11px; font-size: 14px; font-weight: 600;
  color: #140f2e; background: linear-gradient(120deg, var(--gold), var(--accent));
  border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.mail-btn:hover { color: #140f2e; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(140,150,255,.3); }
.mail-btn::before { content: "\2709\FE0F"; }

/* ---- back link ---- */
.back { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-dim); margin: 26px 0 0; }

/* ---- footer ---- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--panel-border); margin-top: 40px; padding: 30px 22px 46px; }
.footer-inner { max-width: 860px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer .brand { font-size: 18px; }
.footer-links { display: flex; gap: 18px; font-size: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); }
.footer .copy { width: 100%; color: var(--text-faint); font-size: 13px; margin-top: 6px; }

@media (max-width: 560px) {
  .nav-links { gap: 14px; font-size: 13px; }
  .hero { padding-top: 30px; }
}
