/* Gourdgeous — shared styles. Night-sky purple, Nunito, candle-yellow. */
:root {
  --night: #160C45;
  --dusk: #341A78;
  --text: #F2EDFF;
  --muted: #C9BFEA;
  --candle: #FEEA2B;
  --flame: #FC8D0E;
  --cream: #FFF3AE;
  --rule: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(52, 26, 120, 0.9), transparent),
    linear-gradient(180deg, var(--night) 0%, #1E1058 55%, var(--dusk) 100%);
  background-attachment: fixed;
}

a { color: var(--cream); text-underline-offset: 3px; }
a:hover { color: var(--candle); }
a:focus-visible { outline: 3px solid var(--candle); outline-offset: 3px; border-radius: 4px; }

/* Top bar */
.bar {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.bar .home {
  font-weight: 900;
  font-size: 1.35rem;
  text-decoration: none;
  background: linear-gradient(180deg, var(--cream), var(--candle));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bar nav { display: flex; gap: 1.25rem; font-weight: 700; font-size: 0.95rem; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--cream); }

/* Landing */
.hero {
  min-height: calc(100vh - 9rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.5rem 4rem;
}
.wordmark {
  margin: 0;
  font-weight: 900;
  font-size: clamp(3.5rem, 13vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--cream) 10%, var(--candle) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark .gap {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin: 0 0.06em;
  vertical-align: -0.04em;
  background: url("/logo.png") center / contain no-repeat;
}
.tagline {
  margin: 1.25rem 0 0.5rem;
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  font-weight: 800;
  color: var(--text);
}
.lede {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--muted);
}
.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  background: var(--candle);
  color: var(--night);
  font-weight: 800;
  text-decoration: none;
}
.cta:hover { background: var(--cream); color: var(--night); }
.cta[aria-disabled="true"] { cursor: default; }

/* Legal / support pages */
.doc {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 5rem;
}
.doc h1 {
  margin: 1rem 0 0.25rem;
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--cream);
}
.doc .updated { margin: 0 0 2.25rem; color: var(--muted); font-size: 0.95rem; }
.doc h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--candle);
}
.doc h3 { margin: 1.5rem 0 0.25rem; font-size: 1.1rem; font-weight: 800; color: var(--text); }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 1.25rem; }
.doc li { margin: 0.35rem 0; }
.doc .summary {
  margin: 0 0 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--candle);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 0 12px 12px 0;
}
.doc .summary p { margin: 0.4rem 0; }
.doc dt { margin-top: 1.5rem; font-weight: 800; color: var(--cream); }
.doc dd { margin: 0.25rem 0 0; color: var(--text); }
.contact-card {
  margin: 1.5rem 0 2.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.contact-card .email { font-size: 1.35rem; font-weight: 800; }

footer {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--rule);
}
footer nav { display: flex; gap: 1.25rem; }
footer a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .wordmark { animation: rise 900ms cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
