/* takemesomewherenice - legal pages (privacy, terms)
   Same night palette as the home page, tuned for long-form reading. */

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

:root {
  --deep:   #070b14;
  --sky:    #0a1120;
  --glow:   #e8955a;
  --ember:  #f0b877;

  --text:   #eef1f7;
  --muted:  #98a3b8;
  --faint:  rgba(238, 241, 247, 0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --pad: 48px;
}

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

body {
  background: var(--deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Top bar ------------------------------------------------ */
.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px var(--pad);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.nav-back {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-back::before {
  content: '\2190';
  margin-right: 9px;
}

.nav-back:hover { color: var(--ember); }

/* --- Page head ---------------------------------------------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--pad) clamp(80px, 11vw, 136px);
  position: relative;
}

.page::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 420px;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 149, 90, 0.10) 0%, transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.page-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--glow);
  margin-bottom: 22px;
}

.page-label::before {
  content: '';
  width: 42px;
  height: 1px;
  background: var(--glow);
  opacity: 0.8;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.page-title em {
  font-style: italic;
  color: var(--ember);
}

.page-meta {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding-bottom: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--faint);
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* --- Long-form content -------------------------------------- */
h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-top: clamp(48px, 6vw, 68px);
  margin-bottom: 16px;
}

h2:first-child { margin-top: 0; }

p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}

p em { color: var(--text); font-style: italic; }

strong { color: var(--text); font-weight: 400; }

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 149, 90, 0.6);
  transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover { color: var(--ember); text-decoration-color: var(--ember); }

.third-party-list,
.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
}

.third-party-list li,
.list li {
  position: relative;
  padding-left: 24px;
}

.third-party-list li::before,
.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 11px;
  height: 1px;
  background: var(--glow);
  opacity: 0.85;
}

.third-party-list a { font-weight: 300; }

/* --- Footer ------------------------------------------------- */
.footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px var(--pad) 38px;
  border-top: 1px solid var(--faint);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(152, 163, 184, 0.6);
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 820px) {
  :root { --pad: 24px; }
}

@media (max-width: 480px) {
  .nav, .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav { padding-top: 26px; padding-bottom: 26px; }
}
