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

:root {
  --bg:        #100e11;
  --bg-2:      #141117;
  --surface:   #1a161b;
  --surface-2: #211c23;
  --line:    rgba(245,238,232,0.08);
  --line-2:  rgba(245,238,232,0.14);
  --ember:      #ff6a2c;
  --ember-deep: #d6431a;
  --ember-soft: rgba(255,106,44,0.13);
  --ember-line: rgba(255,106,44,0.34);
  --ember-text: #ff8c54;
  --text-1:  #f4ece4;
  --text-2:  rgba(244,236,228,0.66);
  --text-3:  rgba(244,236,228,0.42);
  --divider: rgba(245,238,232,0.07);
  --r-pill:  50px;
  --r-md:    12px;
  --max:     820px;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center;
  background: rgba(16,14,17,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--display);
  font-size: 22px; color: var(--text-1);
  text-decoration: none; letter-spacing: -0.01em;
}
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  padding: 10px 22px;
  cursor: pointer; text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--ember); color: #fff; border: 1px solid rgba(255,106,44,0.5); }

/* ── LEGAL CONTENT ── */
.legal-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 136px 24px 80px;
}
.legal-eyebrow {
  display: inline-flex; align-items: center;
  background: var(--ember-soft);
  color: var(--ember-text);
  border: 1px solid var(--ember-line);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.legal-title {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.legal-updated { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }
.legal-intro { font-size: 16px; color: var(--text-2); margin-bottom: 40px; }

.legal-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 14px; color: var(--text-2);
  margin-bottom: 40px;
}

/* Highlighted policy callout (e.g. refund terms) */
.legal-callout {
  background: var(--ember-soft);
  border: 1px solid var(--ember-line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 15px; color: var(--text-1);
  margin: 8px 0 20px;
}
.legal-callout strong { color: var(--ember-text); }

.legal-wrap h2 {
  font-family: var(--display);
  font-size: 24px; font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin: 40px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--divider);
}
.legal-wrap h2:first-of-type { border-top: none; padding-top: 0; }
.legal-wrap h3 {
  font-size: 15px; font-weight: 600;
  color: var(--text-1);
  margin: 22px 0 8px;
}
.legal-wrap p { color: var(--text-2); margin-bottom: 14px; }
.legal-wrap ul { list-style: none; margin: 0 0 16px; padding: 0; }
.legal-wrap li {
  color: var(--text-2);
  padding: 5px 0 5px 22px;
  position: relative;
}
.legal-wrap li::before {
  content: '';
  position: absolute; left: 4px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember);
}
.legal-wrap a { color: var(--ember-text); text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-wrap strong { color: var(--text-1); font-weight: 600; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--divider); padding: 40px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--display); font-size: 18px; color: var(--text-2); text-decoration: none; }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-2); }
.footer-copy { font-size: 13px; color: var(--text-3); }

@media (max-width: 680px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
