/* =========================================================
   CGM Genius — Anna Nicolaou Nutrition
   Stylesheet v1
   Typography: Fraunces (variable, opsz + wght + SOFT axes)
   Palette: white paper, black ink, dark-pink accent (Anna brand)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette — Anna Nicolaou brand
     White paper, black ink, dark-pink accent. */
  --paper:        #FFFFFF;    /* white background */
  --paper-deep:   #FEF4F0;    /* very faint pink panel */
  --ink:          #000000;    /* black, primary text */
  --ink-soft:     #707070;    /* dark gray, secondary text */
  --ink-faint:    #888888;    /* medium gray, captions/meta */
  --rule:         #E1E1E1;    /* light gray divider */
  --accent:       #F2867C;    /* dark pink — section labels, italic, links, price */
  --accent-light: #FAD0CB;    /* light pink — gentle outlines, secondary fit accent */
  --accent-dark:  #DE8D87;    /* hover / muted variant */

  /* Typography */
  --font-serif: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --tracking-eyebrow: 0.12em;
  --tracking-tight: -0.01em;

  /* Rhythm */
  --measure: 64ch;
  --container: 1080px;
  --container-narrow: 720px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 16, "wght" 400, "SOFT" 30;
  font-size: 23.4px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
em, i { font-style: italic; font-variation-settings: "opsz" 96, "wght" 380, "SOFT" 80; }

/* Focus visible — accessible, on-brand */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

@media (min-width: 900px) {
  .container { padding-inline: 56px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.brandmark {
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  letter-spacing: var(--tracking-tight);
  font-variation-settings: "opsz" 36, "wght" 520, "SOFT" 30;
  font-size: 24.7px;
}
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav__link {
  color: var(--ink);
  font-size: 19.5px;
  font-variation-settings: "opsz" 14, "wght" 430, "SOFT" 30;
}
.site-nav__link:hover { color: var(--accent); }
/* Burger button style */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
  z-index: 12;
  transition: color 0.2s var(--ease);
}
.menu-toggle:hover {
  color: var(--accent);
}
.menu-toggle__icon {
  display: block;
}
.menu-toggle__line {
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  transform-origin: center;
}
.site-header.menu-open .menu-toggle__line--top {
  transform: translateY(6px) rotate(45deg);
}
.site-header.menu-open .menu-toggle__line--middle {
  opacity: 0;
}
.site-header.menu-open .menu-toggle__line--bottom {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    padding: 0 28px;
    gap: 24px;
    align-items: flex-start;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s var(--ease), padding 0.3s var(--ease), opacity 0.25s var(--ease);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    pointer-events: none;
    z-index: 9;
  }
  .site-header.menu-open .site-nav {
    max-height: 380px;
    padding: 32px 28px;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav__link {
    width: 100%;
    font-size: 22.1px;
    padding-block: 8px;
    border-bottom: 1px solid color-mix(in oklab, var(--rule) 40%, transparent);
    font-variation-settings: "opsz" 16, "wght" 440;
  }
  .site-nav .btn--ghost {
    width: 100%;
    margin-top: 8px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 19.5px;
  font-variation-settings: "opsz" 14, "wght" 500, "SOFT" 30;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
  text-decoration: none;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.link-cta {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 19.5px;
  font-variation-settings: "opsz" 14, "wght" 430, "SOFT" 30;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.link-cta:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Typography primitives ---------- */
.eyebrow,
.section__label {
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-size: 15.6px;
  font-variation-settings: "opsz" 14, "wght" 560, "SOFT" 30;
  color: var(--accent);
  margin: 0 0 28px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

.section__heading {
  font-variation-settings: "opsz" 72, "wght" 460, "SOFT" 40;
  font-size: clamp(41.6px, 5.85vw, 72.8px);
  line-height: 1.05;
  margin-bottom: 0.6em;
}

.section__lede {
  font-variation-settings: "opsz" 20, "wght" 390, "SOFT" 50;
  font-size: clamp(24.7px, 2.08vw, 28.6px);
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 48px;
}

.prose p {
  font-size: clamp(22.1px, 1.69vw, 24.7px);
  line-height: 1.6;
  margin: 0 0 1.1em;
  max-width: var(--measure);
}

/* ---------- Sections rhythm ---------- */
.section {
  padding-block: clamp(72px, 9vw, 132px);
  border-top: 1px solid var(--rule);
}
.section--situation {
  border-top: none;
  padding-top: clamp(48px, 6vw, 88px);
  background: var(--paper-deep);
}
.section--programme {
  background: var(--paper-deep);
}
.section--testimonials {
  background: var(--paper-deep);
}
.situation-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.situation-item {
  background: var(--paper);
  border: 1px solid var(--accent-light);
  border-radius: 2px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.situation-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(242, 134, 124, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.situation-item p {
  margin: 0;
  font-variation-settings: "opsz" 24, "wght" 500, "SOFT" 30;
  font-size: 23.4px;
  line-height: 1.45;
}
.situation-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.95;
  transition: transform 0.2s var(--ease);
}
@media (max-width: 720px) {
  .situation-items {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  .situation-item {
    padding: 24px 20px;
  }
  .situation-icon {
    width: 64px;
    height: 64px;
  }
}

/* ---------- HERO ---------- */
.hero {
  padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 88px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 881px) {
  .hero__grid {
    grid-template-columns: 1.2fr 1fr;
    column-gap: 72px;
    row-gap: 48px;
    align-items: center;
  }
  .hero__content {
    grid-column: 1;
    grid-row: 1;
  }
  .hero__media {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .hero__ctas {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
}
.hero__media {
  margin: 0;
  width: 100%;
  max-width: 350px;
  justify-self: center;
  background: var(--accent-light);
  padding: 12px;
  border: 1px solid var(--accent-light);
  border-radius: 4px;
  box-sizing: border-box;
  overflow: hidden;
}
.hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1075;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
}
@media (max-width: 880px) {
  .hero__media {
    margin-top: 40px;
    padding: 8px;
  }
}
.hero__headline {
  font-variation-settings: "opsz" 144, "wght" 420, "SOFT" 30;
  font-size: clamp(45px, 8.5vw, 84px);
  line-height: 1.02;
  max-width: 18ch;
  margin: 0 0 0.5em;
}
@media (min-width: 881px) {
  .hero__headline {
    font-size: clamp(40px, 4.5vw, 72px);
  }
}
.hero__headline em {
  display: block;
  font-variation-settings: "opsz" 72, "wght" 360, "SOFT" 70;
  font-size: clamp(26px, 3.9vw, 49.4px);
  line-height: 1.2;
  color: var(--accent);
  margin-top: 0.35em;
}
.hero__sub {
  font-variation-settings: "opsz" 24, "wght" 380, "SOFT" 40;
  font-size: clamp(24px, 2.2vw, 28px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 40px;
}
.hero__ctas {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- Callout ---------- */
.callout {
  margin: 40px 0 0;
  padding: 28px 32px;
  background: var(--paper-deep);
  border-left: 3px solid var(--accent);
  font-size: 22.1px;
  line-height: 1.55;
  color: var(--ink);
  max-width: var(--measure);
}

/* ---------- Cards (outcomes) ---------- */
.cards {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; gap: 16px; }
}
.card {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--accent-light);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card__title {
  font-variation-settings: "opsz" 24, "wght" 520, "SOFT" 40;
  font-size: 28.6px;
  margin: 0;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 21.45px;
  line-height: 1.55;
  transition: color 0.3s var(--ease);
}
.card:hover,
.card.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.12);
}
.card:hover .card__title,
.card.active .card__title {
  color: #FFFFFF;
}
.card:hover p,
.card.active p {
  color: #FFFFFF;
}

/* ---------- Timeline (programme) ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}
.timeline__index {
  font-variation-settings: "opsz" 96, "wght" 380, "SOFT" 90;
  font-style: italic;
  color: var(--accent);
  font-size: 72.8px;
  line-height: 1;
}
.timeline__item--between .timeline__index {
  font-style: normal;
  color: var(--ink-faint);
}
.timeline__title {
  font-variation-settings: "opsz" 28, "wght" 500, "SOFT" 40;
  font-size: 33.8px;
  margin: 0 0 4px;
}
.timeline__meta {
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-size: 15.6px;
  font-variation-settings: "opsz" 14, "wght" 520, "SOFT" 30;
  color: var(--ink-faint);
  margin: 0 0 14px;
}
.timeline__body p {
  margin: 0;
  font-size: 22.1px;
  color: var(--ink-soft);
  max-width: var(--measure);
  line-height: 1.6;
}
.timeline__media {
  margin: 48px auto;
  width: 100%;
  max-width: 480px;
  background: var(--accent-light);
  padding: 12px;
  border: 1px solid var(--accent-light);
  border-radius: 4px;
  box-sizing: border-box;
  overflow: hidden;
}
.timeline__media img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 974 / 881;
  object-fit: cover;
  border-radius: 2px;
}
@media (max-width: 880px) {
  .timeline__media {
    padding: 8px;
  }
}

@media (max-width: 600px) {
  .timeline__item { grid-template-columns: 1fr; gap: 8px; }
  .timeline__index { font-size: 52px; }
}

/* ---------- Fit columns ---------- */
.fit-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px) {
  .fit-grid { grid-template-columns: 1fr; gap: 20px; }
}
.fit-col {
  background: var(--paper);
  padding: 36px 36px 44px;
  border: 1px solid var(--accent);
  border-radius: 2px;
}
.fit-col--not {
  background: var(--paper);
  padding: 36px 36px 44px;
  border: 1px solid var(--accent-light);
  border-radius: 2px;
}
.fit-col__title {
  font-variation-settings: "opsz" 28, "wght" 520, "SOFT" 40;
  font-size: 31.2px;
  margin: 0 0 24px;
}
.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fit-list li {
  position: relative;
  padding-left: 22px;
  font-size: 21.45px;
  line-height: 1.55;
  color: var(--ink);
}
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--accent);
}
.fit-col--not .fit-list li::before { background: var(--ink-faint); }
.fit-col--not .fit-list li { color: var(--ink-soft); }

/* ---------- Quote ---------- */
.quote {
  margin: 48px 0 0;
  padding: 0;
}
.quote blockquote {
  margin: 0 0 18px;
  padding: 0;
  font-variation-settings: "opsz" 20, "wght" 400, "SOFT" 50;
  font-size: clamp(22.1px, 1.69vw, 24.7px);
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  max-width: var(--measure);
}
.quote__attr {
  font-variation-settings: "opsz" 14, "wght" 500, "SOFT" 30;
  font-size: 18.2px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--ink-faint);
  margin: 0;
}
.quote + .quote { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--rule); }

/* ---------- Reviews (testimonial screenshots) ---------- */
.reviews-carousel__wrapper {
  position: relative;
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  align-items: center;
}

.reviews-carousel {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.reviews-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.reviews {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
}

.reviews__item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  box-sizing: border-box;
}

.reviews__item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

/* Carousel navigation buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.carousel-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.carousel-btn--prev {
  left: -22px;
}
.carousel-btn--next {
  right: -22px;
}

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .carousel-btn--prev { left: -10px; }
  .carousel-btn--next { right: -10px; }
}

@media (max-width: 600px) {
  .carousel-btn {
    display: none;
  }
  .reviews-carousel {
    scroll-snap-type: x mandatory;
  }
  .reviews__item {
    padding: 16px 18px;
    min-height: 180px;
  }
  .reviews__item img {
    max-height: 280px;
  }
}

/* ---------- Guide section ---------- */
.guide-portrait {
  margin: 0;
  position: sticky;
  top: 96px;
  background: var(--accent-light);
  padding: 12px;
  border: 1px solid var(--accent-light);
  border-radius: 4px;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  justify-self: end;
}
@media (max-width: 880px) {
  .guide-portrait {
    position: static;
    max-width: 360px;
    margin: 0 auto 36px auto;
    padding: 8px;
  }
}
.guide-portrait img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 662 / 881;
  object-fit: cover;
  border-radius: 2px;
}
.guide-text { max-width: var(--container-narrow); }

@media (min-width: 881px) {
  .guide-text {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 72px;
    align-items: start;
    max-width: none;
  }
  .guide-portrait {
    grid-column: 2;
    grid-row: 1 / span 5;
  }
  .guide-text > :not(.guide-portrait) {
    grid-column: 1;
  }
}
.guide__name {
  font-variation-settings: "opsz" 36, "wght" 520, "SOFT" 40;
  font-size: 31.2px;
  margin: 24px 0 4px;
}
.guide__role {
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-size: 15.6px;
  font-variation-settings: "opsz" 14, "wght" 520, "SOFT" 30;
  color: var(--ink-faint);
  margin: 0 0 28px;
}

/* ---------- Investment ---------- */
.section--investment { background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 24px 0 6px;
  font-variation-settings: "opsz" 144, "wght" 420, "SOFT" 30;
}
.price__currency {
  font-size: clamp(52px, 5.72vw, 72.8px);
  color: var(--ink-soft);
  line-height: 1;
}
.price__amount {
  font-size: clamp(93.6px, 11.7vw, 156px);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price__caption {
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-size: 16.9px;
  font-variation-settings: "opsz" 14, "wght" 500, "SOFT" 30;
  color: var(--ink-faint);
  margin: 0 0 36px;
}
.includes__title {
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-size: 18.2px;
  font-variation-settings: "opsz" 14, "wght" 600, "SOFT" 30;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 20px;
}
.includes {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.includes li {
  position: relative;
  padding-left: 28px;
  font-size: 22.1px;
  line-height: 1.5;
  color: var(--ink);
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 16px;
  height: 1px;
  background: var(--accent);
}
.cta-row { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.cta-row--programme { margin-top: clamp(48px, 6vw, 72px); justify-content: center; }
.fineprint {
  font-size: 18.2px;
  color: var(--ink-faint);
  margin: 28px 0 0;
  max-width: var(--measure);
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  position: relative;
  font-variation-settings: "opsz" 24, "wght" 480, "SOFT" 40;
  font-size: 26px;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 31.2px;
  font-variation-settings: "opsz" 36, "wght" 380, "SOFT" 30;
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { content: "–"; }
.faq__answer {
  padding: 0 40px 28px 0;
  font-size: 22.1px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: var(--measure);
}

/* ---------- Footer CTA ---------- */
.section--footer-cta {
  background: var(--ink);
  color: var(--paper);
  border-top: none;
}
.section--footer-cta .footer-cta__heading {
  font-variation-settings: "opsz" 96, "wght" 440, "SOFT" 50;
  font-size: clamp(41.6px, 6.76vw, 83.2px);
  line-height: 1.04;
  margin: 0 0 24px;
  color: var(--paper);
  max-width: 20ch;
}
.section--footer-cta .footer-cta__body {
  font-size: 23.4px;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  margin: 0 0 40px;
  max-width: var(--measure);
}
.section--footer-cta .btn--primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.section--footer-cta .btn--primary:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.section--footer-cta .link-cta {
  color: var(--paper);
  border-bottom-color: color-mix(in oklab, var(--paper) 35%, transparent);
}
.section--footer-cta .link-cta:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 56px;
  background: var(--paper);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}
.site-footer__brand {
  font-variation-settings: "opsz" 24, "wght" 520, "SOFT" 40;
  font-size: 23.4px;
  margin: 0 0 12px;
}
.site-footer__small {
  font-size: 18.2px;
  color: var(--ink-soft);
  margin: 0 0 4px;
  line-height: 1.5;
}
.site-footer__small a { color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
.site-footer__small a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.site-footer__col--meta { text-align: right; }
@media (max-width: 760px) { .site-footer__col--meta { text-align: left; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Legal pages (Imprint, Privacy, Cookies) ---------- */
.legal-prose {
  max-width: 64ch;
}
.legal-prose h2 {
  font-variation-settings: "opsz" 28, "wght" 500, "SOFT" 30;
  font-size: 1.625rem;
  margin: 2.5rem 0 0.75rem 0;
  letter-spacing: var(--tracking-tight);
}
.legal-prose p,
.legal-prose ul {
  margin: 0 0 1.1rem 0;
  color: var(--ink-soft);
}
.legal-prose ul {
  padding-left: 1.25rem;
}
.legal-prose li {
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}
.legal-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-prose__meta {
  margin-top: 3rem;
  font-size: 1.105rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* ---------- Footer legal links ---------- */
.site-footer__legal {
  margin-top: 0.5rem;
}
.site-footer__legal a {
  color: var(--ink-faint);
  text-decoration: none;
  margin-right: 0.25rem;
}
.site-footer__legal a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Cookie notice (dismissable card on homepage) ---------- */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 360px;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  padding: 14px 40px 14px 16px;
  font-size: 16.9px;
  line-height: 1.45;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 99990;
  border-radius: 2px;
}
.cookie-notice__text {
  margin: 0;
}
.cookie-notice__text--admin {
  display: none;
}
.cookie-notice--admin .cookie-notice__text { display: none; }
.cookie-notice--admin .cookie-notice__text--admin { display: block; }
.cookie-notice__link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.cookie-notice__dismiss {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--ink-faint);
  font-size: 23.4px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.cookie-notice__dismiss:hover {
  color: var(--accent);
}
@media (max-width: 480px) {
  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}
