/* ============================================================
   Phytomem One — Legal Pages Stylesheet
   Shared by: terms.html, privacy.html, disclaimer.html, 404.html
   v2.0 | 2026-11-13
   ============================================================ */

:root {
  --primary: #2C2A1E;
  --primary-dark: #1A1910;
  --accent: #E8832A;
  --accent-dark: #C96A10;
  --gold: #C9922B;
  --bg-cream: #F5F0E8;
  --text-body: #1a1a1a;
  --text-mid: #555047;
  --text-light: #8a8375;
  --border: #D9D2C5;
  --green: #16a34a;
  --red: #dc2626;
  --white: #ffffff;
  --off-white: #FAF7F2;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 20px rgba(44,42,30,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--off-white);
  color: var(--text-body);
  overflow-x: hidden;
}
p  { font-size: 16px; line-height: 1.8; color: var(--text-mid); margin-bottom: 16px; }
li { font-size: 16px; line-height: 1.8; color: var(--text-mid); }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
img { max-width: 100%; display: block; height: auto; }
a   { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul  { list-style: none; }

/* === STICKY NAV === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(44,42,30,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-dark); text-decoration: none; }

/* === LEGAL PAGE WRAPPER === */
.legal-hero {
  background: linear-gradient(135deg, #1A1910, #2C2A1E);
  padding: 52px 24px 44px;
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.legal-hero p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  margin-bottom: 0;
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 24px 80px;
}
.legal-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-cream);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 8px;
}
.legal-body p  { font-size: 16px; }
.legal-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-body ul li {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 6px;
  list-style: disc;
}

/* Alert box (used in disclaimer.html) */
.alert-box {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.3);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.alert-box p {
  color: #7f1d1d;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0;
}

/* Info box */
.info-box {
  background: rgba(232,131,42,0.08);
  border: 1px solid rgba(232,131,42,0.25);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box p { font-size: 15px; color: var(--text-mid); margin-bottom: 0; }

/* === 404 PAGE SPECIFICS === */
.not-found-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--off-white);
}
.not-found-inner { max-width: 560px; }
.not-found-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  opacity: 0.25;
  margin-bottom: -20px;
}
.not-found-inner h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}
.not-found-inner p {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 32px;
}
.not-found-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(232,131,42,0.4);
  transition: background 0.2s, transform 0.2s;
}
.not-found-btn:hover { background: var(--accent-dark); transform: translateY(-2px); text-decoration: none; }
.countdown-msg {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-light);
}

/* Feature grid on 404 */
.feature-grid-404 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px 60px;
}
.feature-card-404 {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.feature-card-404 .icon { font-size: 36px; margin-bottom: 10px; }
.feature-card-404 h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.feature-card-404 p  { font-size: 13px; color: var(--text-mid); line-height: 1.5; margin-bottom: 0; }

/* === FOOTER === */
.site-footer {
  background: var(--primary-dark);
  padding: 40px 24px 24px;
}
.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-logo span { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .feature-grid-404 { grid-template-columns: 1fr; }
}
