/* ─────────────────────────────────────────────
   AFRI KDP  ·  GLOBAL STYLES (app.css)
─────────────────────────────────────────────── */

:root {
  --ebony: #1C1007;
  --ebony-deep: #0f0a06;
  --terra: #BF5B1A;
  --terra-light: #D4733E;
  --brass: #C49A2A;
  --parch: #F9F5F0;
  --parch-mid: #EDE3D0;
  --parch-dark: #DDD0BA;
  --ink: #1C1007;
  --ink-mid: #4A3728;
  --ink-soft: #7A5230;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius: 14px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--parch);
  color: var(--ink);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(249, 245, 240, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(28, 16, 7, 0.07);
}
.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 28px;
  width: 28px;
  margin-right: 8px;
  border-radius: 4px;
  object-fit: contain;
}
.nav-logo b {
  color: var(--terra);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: var(--transition);
}
.nav-menu a:hover {
  color: var(--terra);
}
.nav-btn {
  background: var(--ebony-deep);
  color: var(--parch) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: var(--transition) !important;
}
.nav-btn:hover {
  background: var(--terra) !important;
}

/* ── TEXT PAGES (About, Privacy, Terms) ── */
.text-page {
  flex: 1; /* Pushes the footer to the bottom of the screen */
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}
.text-page h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 5vw, 48px);
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.text-page h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.2;
}
.text-page h3 {
  font-size: 20px;
  color: var(--ink);
  margin: 32px 0 12px;
}
.text-page p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}
.text-page ul, .text-page ol {
  margin-left: 20px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
}
.text-page li {
  margin-bottom: 10px;
}
.text-page b, .text-page strong {
  color: var(--ink);
  font-weight: 600;
}
.text-page a {
  color: var(--terra);
  text-decoration: none;
  font-weight: 500;
}
.text-page a:hover {
  text-decoration: underline;
}

/* ── FOOTER ── */
footer {
  background: var(--ebony-deep);
  color: rgba(249, 245, 240, 0.42);
  padding: 64px 48px 36px;
  margin-top: auto;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.foot-brand-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--parch);
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.foot-brand-logo img {
  height: 24px;
  width: 24px;
  margin-right: 8px;
  border-radius: 4px;
}
.foot-brand-logo b {
  color: var(--terra);
}
.foot-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  max-width: 260px;
  font-weight: 300;
  color: rgba(249, 245, 240, 0.6);
}
.foot-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(249, 245, 240, 0.3);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: rgba(249, 245, 240, 0.5);
  text-decoration: none;
  margin-bottom: 12px;
  font-weight: 300;
  transition: var(--transition);
}
.foot-col a:hover {
  color: var(--terra-light);
}
.foot-bottom {
  border-top: 1px solid rgba(249, 245, 240, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12.5px;
  font-weight: 300;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav {
    padding: 0 24px;
  }
  .nav-menu a:not(.nav-btn) {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  footer {
    padding: 48px 24px 28px;
  }
}
@media (max-width: 600px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .foot-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}