/* NAIA — Shared stylesheet for legal/about pages
   Matches the design tokens used in index.html (the prototype-style homepage)
   so the visitor sees one continuous site.
*/

:root {
  --cream:        #F5F3F1;
  --cream-soft:   #ECEAE7;
  --dark:         #191919;
  --dark-soft:    #191919;
  --charcoal:     #191919;
  --white:        #FFFFFF;
  --mid-gray:     #888888;
  --border:       #D9D4CB;
  --border-soft:  #E5E0D7;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1440px;
  --nav-h: 72px;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.serif        { font-family: var(--serif); font-weight: 400; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ─── NAV ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 400; color: var(--charcoal); }
.nav-links a:hover { opacity: 0.7; }
.nav-logo {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.28em;
  color: var(--charcoal);
  text-align: center;
}
.nav-right { display: flex; justify-content: flex-end; align-items: center; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-pill-dark  { background: var(--dark); color: var(--white); }
.btn-pill-dark:hover { background: #000; }
.btn-pill-ghost { background: transparent; color: var(--charcoal); }
.btn-pill-ghost:hover { background: rgba(0,0,0,0.04); }

/* ─── ABOUT INTRO ──────────────────────────────────────────── */
.about-intro {
  max-width: 880px;
  margin: 0 auto;
  padding: 110px 32px 30px;
  text-align: center;
}
.about-intro .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 28px;
}
.about-intro h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  text-wrap: balance;
}
.about-intro h1 em { font-style: italic; font-weight: 400; }

/* ─── LEGAL / LONG-FORM PAGE TYPOGRAPHY ────────────────────── */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 90px 32px 140px;
}
.legal-page h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 18px;
  text-wrap: balance;
}
.legal-page h1 em { font-style: italic; font-weight: 400; }

.legal-page .last-updated {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 64px;
}

.legal-page h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--charcoal);
  margin: 56px 0 18px;
}

.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
}

.legal-page p { margin: 0 0 18px; }

.legal-page ul {
  margin: 0 0 22px;
  padding-left: 22px;
}
.legal-page li { margin-bottom: 8px; }

.legal-page a {
  color: var(--charcoal);
  border-bottom: 1px solid rgba(0,0,0,0.25);
  transition: border-color 0.2s;
}
.legal-page a:hover { border-bottom-color: var(--charcoal); }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 90px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 56px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.footer-badge {
  display: inline-block;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 50px;
  background: var(--white);
  color: var(--dark);
}
.footer-nav {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 70px;
}
.footer-nav a { color: var(--white); }
.footer-nav a:hover { opacity: 0.7; }
.footer-nav .sep {
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin: 0 18px;
  font-weight: 400;
}
.footer-meta {
  display: flex;
  justify-content: center;
  gap: 64px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 90px;
}
.footer-meta em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  margin-left: 6px;
}
.footer-tagline {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 160px;
  letter-spacing: -0.025em;
  color: rgba(255,255,255,0.07);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 3;
}
.footer-bottom em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  margin-left: 6px;
}
.footer-bottom .links { display: flex; gap: 40px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.85); }

/* ─── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 220;
  max-width: 520px;
  padding: 20px;
  background: var(--dark);
  color: var(--white);
  display: none;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.cookie-banner.open { display: flex; }
.cookie-banner p {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-actions button {
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 12px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.cookie-actions button:first-child {
  background: var(--white);
  color: var(--dark);
}

/* ─── MOBILE ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-logo { font-size: 18px; }

  .about-intro { padding: 70px 22px 20px; }
  .about-intro h1 { font-size: 42px; }

  .legal-page { padding: 60px 22px 100px; }
  .legal-page h1 { font-size: 40px; }
  .legal-page h2 { font-size: 22px; margin: 44px 0 14px; }
  .legal-page .last-updated { margin-bottom: 40px; }

  .footer { padding: 60px 0 24px; }
  .footer-inner { padding: 0 22px; }
  .footer-nav { font-size: 22px; margin-bottom: 50px; }
  .footer-nav br { display: none; }
  .footer-meta { flex-direction: column; gap: 12px; margin-bottom: 60px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom .links { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .footer-tagline { font-size: 60px; bottom: 100px; }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}
