/* ==========================================================================
   Menzie Nutrition Team (MNT) — site styles
   Palette sampled directly from assets/products/mnt_summit_mark.png and
   assets/outro/mnt_outro_card.png:
     cream #f0ede4, dark green #203424, green #4c6d4b, amber #c97f1f
   ========================================================================== */

:root {
  --black: #000000;
  --near-black: #0a0a0a;
  --panel: #131813;
  --green-dark: #203424;
  --green: #4c6d4b;
  --green-text: #78b083;   /* green for words on the dark background (--green is too dim to read there) */
  --amber: #c97f1f;
  --amber-light: #e0993c;
  --cream: #f0ede4;
  --cream-dim: #bdb9ad;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1160px;
  --radius: 4px;
  --transition: 200ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--near-black);
  color: var(--cream);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--cream-dim); }

.skip-link {
  position: absolute;
  left: -999px;
  background: var(--amber);
  color: var(--black);
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--amber); color: var(--black); }
.btn-primary:hover { background: var(--amber-light); }

.btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

.btn-cta { background: var(--amber); color: var(--black); padding: 11px 22px; font-size: 0.75rem; border-radius: var(--radius); }
.btn-cta:hover { background: var(--amber-light); }

/* ---------- Side scroll-spy dots ---------- */

.side-dots {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dot {
  width: 12px;
  height: 12px;
  display: block;
}
.dot span {
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--cream-dim);
  border-radius: 50%;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.dot:hover span { border-color: var(--amber); }
.dot.is-active span { background: var(--amber); border-color: var(--amber); transform: scale(1.2); }

@media (max-width: 900px) {
  .side-dots { display: none; }
}

/* ---------- Floating action button ---------- */

.floating-cta {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 600;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition), background var(--transition);
}
.floating-cta svg { width: 24px; height: 24px; }
.floating-cta:hover { transform: scale(1.08); background: var(--amber-light); }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(240, 237, 228, 0.08);
}

.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; }
.brand-mark { height: 32px; width: auto; }

.site-nav { display: flex; gap: 26px; margin-left: 40px; }
.site-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream);
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--amber); }

.header-social { display: flex; gap: 14px; margin-left: auto; }
.header-social a { width: 18px; height: 18px; color: var(--cream); opacity: 0.85; transition: color var(--transition), opacity var(--transition); }
.header-social a:hover { color: var(--amber); opacity: 1; }
.header-social svg { width: 100%; height: 100%; }

.nav-cta { white-space: nowrap; margin-left: 4px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--cream); transition: transform var(--transition), opacity var(--transition); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; display: flex; }

.hero-photo {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: 50% 16%;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.05);
}
.hero-photo.before { background-image: url("assets/mnt_flyer_before.jpg"); }
.hero-photo.after { background-image: url("assets/mnt_flyer_after.jpg"); background-position: 50% 8%; }

.hero-photo-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(240, 237, 228, 0.4);
  padding: 5px 10px;
  border-radius: var(--radius);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.65) 42%, rgba(0,0,0,0.3) 62%, rgba(0,0,0,0.55) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 32%, rgba(0,0,0,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.eyebrow, .section-eyebrow {
  display: inline-block;
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.98;
  color: var(--cream);
  text-shadow: 0 6px 30px rgba(0,0,0,0.7);
  margin-bottom: 0.4em;
}
.hero h1 .amber {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.hero-sub { max-width: 480px; font-size: 1.12rem; color: var(--cream-dim); }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px;
  height: 42px;
  border: 2px solid var(--cream-dim);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
  animation: scrollcue 1.6s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 6px; }
}

/* ---------- Mission band ---------- */

.mission-band {
  background: var(--amber);
  padding: 80px 24px;
  text-align: center;
}
.mission-band p {
  color: var(--black);
  font-size: clamp(1.5rem, 4.2vw, 2.6rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 860px;
  margin: 0 auto 0.3em;
  line-height: 1.25;
}
.mission-attr {
  display: block;
  color: rgba(0,0,0,0.8);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

/* ---------- Section shared ---------- */

section { padding: 110px 24px; }

.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--cream); }
.section-head p { font-size: 1.05rem; }

/* ---------- Programs : numbered tab selector ---------- */

.programs { max-width: 1000px; margin: 0 auto; }

.tier-select {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.tier-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 2px solid rgba(240, 237, 228, 0.12);
  border-radius: var(--radius);
  padding: 14px 20px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-family: var(--font);
  text-align: left;
}
.tier-tab:hover { border-color: var(--green); }
.tier-tab.is-active { border-color: var(--amber); background: linear-gradient(180deg, rgba(201,127,31,0.12), var(--panel)); }

.tier-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  transition: color var(--transition);
}
.tier-tab.is-active .tier-num { color: var(--amber); }

.tier-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--cream-dim);
  line-height: 1.3;
}
.tier-tab.is-active .tier-label { color: var(--cream); }

.tier-panels { position: relative; }

.tier-panel {
  background: var(--panel);
  border: 1px solid rgba(240, 237, 228, 0.1);
  border-radius: var(--radius);
  padding: 48px 44px;
  text-align: center;
  animation: panelIn 320ms ease;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tier-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.tier-panel h3 { color: var(--cream); font-size: 1.7rem; }
.tier-price { color: var(--amber); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.04em; }
.tier-desc { max-width: 560px; margin-left: auto; margin-right: auto; }

@media (max-width: 640px) {
  .tier-select { flex-direction: column; }
  .tier-panel { padding: 36px 24px; }
}

/* ---------- About ---------- */

.about {
  background: var(--black);
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}

.about-media img {
  border-radius: var(--radius);
  border: 1px solid rgba(240, 237, 228, 0.12);
}

.about-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--cream); }
.about-intro { font-size: 1.05rem; }

.pillar { border-top: 1px solid rgba(240, 237, 228, 0.12); padding: 20px 0; }
.pillar:last-child { border-bottom: 1px solid rgba(240, 237, 228, 0.12); }
.pillar h3 { font-size: 1rem; color: var(--amber); letter-spacing: 0.04em; margin-bottom: 0.3em; }
.pillar p { margin-bottom: 0; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 320px; margin: 0 auto; }
}

/* ---------- Reviews ---------- */

.reviews { background: var(--near-black); }

.review-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.review-card {
  margin: 0;
  background: var(--panel);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 34px 28px 26px;
  position: relative;
}
.review-mark {
  display: block;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--amber);
  font-style: italic;
  margin-bottom: 4px;
}
.review-card p { color: var(--cream); font-size: 1.02rem; }
.review-card footer { color: var(--green-text); font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.06em; }

/* ---------- FAQ ---------- */

.faq { background: var(--black); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(240, 237, 228, 0.12); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--cream);
  text-align: left;
  padding: 24px 4px;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font);
}

.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; margin-left: 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--amber); transition: transform var(--transition); }
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translateX(-50%) scaleY(0); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-answer p { padding-bottom: 22px; }

/* ---------- Contact ---------- */

.contact {
  background: var(--green-dark);
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 56px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: start;
}

.contact-mark { height: 50px; width: auto; margin-bottom: 20px; }
.contact-info h2 { color: var(--cream); font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.contact-slogan { color: var(--amber-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-top: -0.6em; }
.contact-note { max-width: 380px; }

.contact-details { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.contact-details a { color: var(--cream-dim); font-size: 0.95rem; transition: color var(--transition); }
.contact-details a:hover { color: var(--amber); }

.contact-form { background: var(--cream); border-radius: var(--radius); overflow: hidden; min-height: 480px; }
.contact-form iframe { width: 100%; height: 900px; max-height: 70vh; border: 0; display: block; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--black); padding: 30px 24px; text-align: center; }
.site-footer p { font-size: 0.78rem; color: rgba(240, 237, 228, 0.5); margin: 0; }
.footer-social { display: flex; justify-content: center; gap: 22px; margin-bottom: 18px; }
.footer-social a { width: 24px; height: 24px; color: var(--cream); opacity: 0.85; transition: color var(--transition), opacity var(--transition); }
.footer-social a:hover { color: var(--amber); opacity: 1; }
.footer-social svg { width: 100%; height: 100%; }

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-left: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { font-size: 1.2rem; }

  .header-social, .nav-cta { display: none; }
  .hamburger { display: flex; }

  section { padding: 70px 18px; }
  .floating-cta { width: 50px; height: 50px; bottom: 18px; right: 18px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
}

/* Portal links stay hidden until script.js is given the portal address. */
[data-portal-path][hidden] { display: none !important; }

/* Anything marked hidden stays hidden (e.g. the testimonial section until it has content). */
[hidden] { display: none !important; }

/* ---------- Pricing dropdown (Diet Plan and Training Program tab) ---------- */
.price-dropdown {
  max-width: 460px;
  margin: 22px auto 26px;
  text-align: left;
  border: 1px solid rgba(240, 237, 228, 0.18);
  border-radius: var(--radius);
  background: rgba(240, 237, 228, 0.03);
}
.price-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  color: var(--cream);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.86rem;
}
.price-dropdown summary::-webkit-details-marker { display: none; }
.price-dropdown summary::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: 16px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}
.price-dropdown[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.price-dropdown summary:focus-visible { outline: 2px solid var(--amber-light); outline-offset: 2px; }
.price-list { list-style: none; margin: 0; padding: 0 18px 6px; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(240, 237, 228, 0.1);
}
.price-name { color: var(--cream); }
.price-amount { color: var(--amber-light); font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) {
  .price-list li { flex-direction: column; gap: 2px; }
}

/* ---------- Testimonial call to action ---------- */
.review-cta { text-align: center; margin-top: 36px; }

.price-name em { display: block; font-style: normal; color: var(--cream-dim); font-size: 0.82rem; margin-top: 2px; }

/* ---------- How it works ---------- */
.how { max-width: 1100px; margin: 0 auto; }
.how-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-step {
  background: var(--panel);
  border: 1px solid rgba(240, 237, 228, 0.1);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--black);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.how-step h3 { font-size: 1.25rem; color: var(--cream); margin-bottom: 8px; }
.how-step p { margin: 0; font-size: 0.98rem; }
@media (max-width: 800px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- Everyone is welcome ---------- */
.welcome { max-width: 1000px; margin: 0 auto; padding-bottom: 30px; }
.welcome .section-head { max-width: 860px; margin-bottom: 34px; }
.welcome .section-head p { max-width: 720px; margin-left: auto; margin-right: auto; }
.welcome-chips { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.welcome-chips li {
  background: var(--panel);
  border: 1px solid rgba(201, 127, 31, 0.55);
  border-radius: 999px;
  color: var(--cream);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
}

/* ---------- Program panels: feature list, fine print, price rows ---------- */
.tier-list { list-style: none; margin: 18px auto 24px; padding: 0; max-width: 460px; text-align: left; }
.tier-list li { position: relative; padding: 8px 0 8px 30px; color: var(--cream); }
.tier-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 14px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}
.tier-fine { margin: 16px auto 0; max-width: 520px; font-size: 0.86rem; color: var(--cream-dim); }

.price-list li { display: block; padding: 0; }
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.price-row:hover .price-name, .price-row:focus-visible .price-name { color: var(--amber-light); }
.price-amount small { font-size: 0.78rem; color: var(--cream-dim); font-weight: 600; }
@media (max-width: 480px) { .price-row { flex-direction: column; gap: 2px; } }

.review-note { text-align: center; font-size: 0.85rem; color: var(--cream-dim); margin: 22px auto 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 60px 24px 28px; text-align: left; border-top: 1px solid rgba(240, 237, 228, 0.1); }
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
}
.footer-brand img { width: 120px; height: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; color: var(--cream-dim); margin: 0 0 6px; }
.site-footer .footer-tag { color: var(--amber-light); font-weight: 700; }
.footer-col h3 { color: var(--cream); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; }
.footer-col a { display: block; color: var(--cream-dim); font-size: 0.92rem; padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--amber-light); }
.footer-col .footer-social { justify-content: flex-start; margin: 12px 0 0; }
.footer-col .footer-social a { padding: 0; }
.site-footer .footer-disclaimer {
  max-width: var(--container);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(240, 237, 228, 0.1);
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(240, 237, 228, 0.6);
}
.site-footer .footer-copy { max-width: var(--container); margin: 12px auto 0; font-size: 0.78rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Privacy and terms pages ---------- */
.legal-header { background: var(--black); border-bottom: 1px solid rgba(240, 237, 228, 0.1); padding: 16px 24px; }
.legal-wrap { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-header img { height: 40px; width: auto; }
.legal-header .back { color: var(--cream-dim); font-size: 0.9rem; }
.legal-header .back:hover { color: var(--amber-light); }
.legal { max-width: 860px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--cream); margin-bottom: 6px; }
.legal .legal-date { color: var(--cream-dim); font-size: 0.9rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.25rem; color: var(--amber-light); margin: 34px 0 10px; }
.legal p, .legal li { color: var(--cream-dim); font-size: 1rem; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 8px 0 14px; }
.legal a { color: var(--amber-light); text-decoration: underline; }

/* ---------- Not-found page ---------- */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.notfound img { width: 140px; height: auto; margin-bottom: 24px; }
.notfound h1 { color: var(--cream); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.notfound p { margin-bottom: 26px; }

.footer-copy a { color: inherit; text-decoration: underline; }

.review-grid:has(> .review-card:only-child) { max-width: 820px; margin-left: auto; margin-right: auto; }
