/* =========================================================
   FRUIT ORCHARD EMPIRE — Promo Website Styles
   Glossy fruit-render confectionery — Orchard Green + Sun Gold on Cream Linen
   Fredoka (display) + Quicksand (body)
   ========================================================= */

:root {
  /* Brand palette — from docs/design_system.md */
  --orchard-green: #4E9A4E;
  --orchard-green-deep: #3B7E3B;
  --orchard-green-dim: #2F6431;
  --sun-gold: #F1B636;
  --sun-gold-bright: #F6D879;
  --sun-gold-deep: #D9981F;
  --berry-red: #C5343F;
  --berry-red-deep: #A82A33;
  --citrus-orange: #F08A2E;
  --deep-berry: #7A2E55;
  --candied-gold: #E5B23A;

  /* Surfaces */
  --cream-linen: #FBF4E3;
  --pressed-sugar: #F1E6CD;
  --sugar-white: #FDFAF1;
  --cocoa-bark: #3A2A1E;
  --cocoa-soft: #6A5640;
  --cocoa-tertiary: #9A856B;
  --cocoa-divider: #EDE3CC;

  /* Family accents */
  --c-citrus: #F1B636;
  --c-berry: #7A2E55;
  --c-stone: #C5343F;
  --c-tropical: #F08A2E;
  --c-melon: #4E9A4E;

  /* Fonts */
  --font-display: 'Fredoka', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1200px;
  --radius-card: 16px;
  --radius-btn: 999px;

  /* Gradients */
  --grad-page: linear-gradient(180deg, #FDFAF1 0%, #FBF4E3 50%, #F1E6CD 100%);
  --grad-sun-cta: linear-gradient(180deg, #F6D879 0%, #F1B636 50%, #D9981F 100%);
  --grad-orchard-cta: linear-gradient(180deg, #5DAE5D 0%, #4E9A4E 50%, #3B7E3B 100%);
  --grad-candied-gold-text: linear-gradient(180deg, #F6D879 0%, #E5B23A 50%, #B88826 100%);
  --grad-orchard-text: linear-gradient(180deg, #5DAE5D 0%, #4E9A4E 50%, #2F6431 100%);
  --grad-orchard-divider: linear-gradient(90deg, #4E9A4E 0%, #F1B636 50%, #C5343F 100%);
  --grad-sugar-glaze: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 60%);
  --grad-jackpot: radial-gradient(ellipse at center, #F6D879 0%, #F1B636 40%, #C5343F 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--cream-linen);
  color: var(--cocoa-bark);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(241, 182, 54, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(78, 154, 78, 0.08) 0%, transparent 70%);
}

img { max-width: 100%; display: block; }
a { color: var(--orchard-green-deep); text-decoration: none; transition: color 160ms ease; }
a:hover { color: var(--orchard-green-dim); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--cocoa-bark);
  margin: 0;
  letter-spacing: -0.2px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

.t-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--orchard-green-deep);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.t-eyebrow::before, .t-eyebrow::after {
  content: '';
  width: 22px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--orchard-green-deep), transparent);
}

.accent-green { color: var(--orchard-green-deep); }
.accent-gold { color: var(--sun-gold-deep); }
.accent-berry { color: var(--berry-red); }
.accent-orange { color: var(--citrus-orange); }

.outlined-gold {
  -webkit-text-stroke: 1.6px var(--sun-gold-deep);
  color: transparent;
}
.gradient-gold {
  background: var(--grad-candied-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-orchard {
  background: var(--grad-orchard-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.italic-accent {
  font-style: italic;
  font-family: var(--font-body);
  font-weight: 500;
}

/* ---------- Orchard-ribbon divider ---------- */

.orchard-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px auto 16px;
}
.orchard-ribbon .line {
  height: 2px;
  width: 60px;
  background: var(--grad-orchard-divider);
  border-radius: 2px;
}
.orchard-ribbon .ornament {
  font-size: 18px;
  color: var(--berry-red);
  filter: drop-shadow(0 1px 0 var(--sun-gold-bright));
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 250, 241, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(78, 154, 78, 0.18);
  box-shadow: 0 1px 0 rgba(241, 182, 54, 0.4);
}
.topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cocoa-bark);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(78, 154, 78, 0.30);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--cocoa-soft);
  letter-spacing: 0.1px;
}
.nav-links a:hover { color: var(--orchard-green-deep); }
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--cocoa-bark);
  border: 0;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    inset: 64px 12px auto auto;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    background: var(--sugar-white);
    border: 1px solid var(--cocoa-divider);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(58, 42, 30, 0.16);
    min-width: 220px;
    display: none;
  }
  .nav-links.open { display: flex; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 0;
  transition: transform 140ms ease, box-shadow 160ms ease, filter 160ms ease;
  line-height: 1;
}
.btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}
.btn-primary {
  background: var(--grad-sun-cta);
  color: var(--cocoa-bark);
  box-shadow: 0 6px 20px rgba(241, 182, 54, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-orchard {
  background: var(--grad-orchard-cta);
  color: var(--sugar-white);
  box-shadow: 0 6px 20px rgba(78, 154, 78, 0.40),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-orchard:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--orchard-green-deep);
  border: 1.5px solid var(--orchard-green);
}
.btn-ghost:hover { background: rgba(78, 154, 78, 0.10); }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    linear-gradient(180deg, rgba(253, 250, 241, 0.65) 0%, rgba(251, 244, 227, 0.85) 60%, rgba(241, 230, 205, 0.95) 100%),
    url('images/hero_bg.webp') center/cover no-repeat;
  border-bottom: 1px solid var(--cocoa-divider);
}
.hero::before {
  /* sugar-glaze sheen */
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-sugar-glaze);
  pointer-events: none;
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(253, 250, 241, 0.85);
  border: 1px solid rgba(241, 182, 54, 0.45);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orchard-green-deep);
  box-shadow: 0 2px 10px rgba(241, 182, 54, 0.18);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--orchard-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(78, 154, 78, 0.22);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  margin: 22px 0 18px;
  letter-spacing: -0.6px;
}
.hero-title .row { display: block; }
.hero-title .row.gild {
  background: var(--grad-candied-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  letter-spacing: -0.4px;
}
.hero-title .row.berry { color: var(--berry-red); }
.hero-sub {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17.5px;
  color: var(--cocoa-soft);
  line-height: 1.6;
  text-align: left;
}
.hero-sub strong { color: var(--cocoa-bark); }
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- Stat strip ---------- */

.stat-strip {
  background: var(--sugar-white);
  border-top: 1px solid var(--cocoa-divider);
  border-bottom: 1px solid var(--cocoa-divider);
  padding: 32px 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1;
  color: var(--orchard-green-deep);
}
.stat .num.gold { color: var(--sun-gold-deep); }
.stat .num.berry { color: var(--berry-red); }
.stat .num.orange { color: var(--citrus-orange); }
.stat .lbl {
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cocoa-tertiary);
  font-weight: 700;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

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

.section { padding: 80px 0; }
.section-bg-alt {
  background: var(--pressed-sugar);
  border-top: 1px solid var(--cocoa-divider);
  border-bottom: 1px solid var(--cocoa-divider);
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-head p {
  font-size: 16.5px;
  color: var(--cocoa-soft);
  line-height: 1.65;
  margin-top: 10px;
}

/* ---------- Features grid ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 920px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--sugar-white);
  border: 1px solid var(--cocoa-divider);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(58, 42, 30, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(78, 154, 78, 0.14);
}
.feature-card .ico {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(241, 182, 54, 0.22), rgba(241, 182, 54, 0.08));
  color: var(--sun-gold-deep);
  font-size: 22px;
  margin-bottom: 14px;
  border: 1px solid rgba(241, 182, 54, 0.35);
}
.feature-card.alt .ico {
  background: linear-gradient(135deg, rgba(78, 154, 78, 0.22), rgba(78, 154, 78, 0.08));
  color: var(--orchard-green-deep);
  border-color: rgba(78, 154, 78, 0.35);
}
.feature-card.berry .ico {
  background: linear-gradient(135deg, rgba(197, 52, 63, 0.20), rgba(197, 52, 63, 0.08));
  color: var(--berry-red);
  border-color: rgba(197, 52, 63, 0.35);
}
.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px;
  color: var(--cocoa-soft);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Families grid ---------- */

.families-wrap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) { .families-wrap { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .families-wrap { grid-template-columns: repeat(2, 1fr); } }

.family-tile {
  background: var(--sugar-white);
  border: 1px solid var(--cocoa-divider);
  border-radius: var(--radius-card);
  padding: 22px 16px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(58, 42, 30, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.family-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(58, 42, 30, 0.10);
}
.family-tile .badge {
  width: 70px; height: 70px;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(58, 42, 30, 0.18));
}
.family-tile .charm {
  width: 100%;
  max-width: 130px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: var(--cream-linen);
  padding: 8px;
  border: 1px solid var(--cocoa-divider);
}
.family-tile h4 {
  font-size: 1.05rem;
  margin: 6px 0 6px;
  letter-spacing: 0.5px;
}
.family-tile .legendary {
  font-size: 13px;
  font-weight: 600;
  color: var(--sun-gold-deep);
  font-style: italic;
}
.family-tile.citrus { border-top: 4px solid var(--c-citrus); }
.family-tile.berry { border-top: 4px solid var(--c-berry); }
.family-tile.stone { border-top: 4px solid var(--c-stone); }
.family-tile.tropical { border-top: 4px solid var(--c-tropical); }
.family-tile.melon { border-top: 4px solid var(--c-melon); }

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--cocoa-divider);
  color: var(--cocoa-soft);
  border: 1px solid transparent;
}
.tag-pill.green { background: rgba(78, 154, 78, 0.14); color: var(--orchard-green-deep); border-color: rgba(78, 154, 78, 0.30); }
.tag-pill.gold { background: rgba(241, 182, 54, 0.18); color: var(--sun-gold-deep); border-color: rgba(241, 182, 54, 0.35); }
.tag-pill.berry { background: rgba(197, 52, 63, 0.14); color: var(--berry-red); border-color: rgba(197, 52, 63, 0.30); }
.tag-pill.deep-berry { background: rgba(122, 46, 85, 0.14); color: var(--deep-berry); border-color: rgba(122, 46, 85, 0.30); }
.tag-pill.orange { background: rgba(240, 138, 46, 0.14); color: var(--citrus-orange); border-color: rgba(240, 138, 46, 0.30); }

/* ---------- Wild / Rainbow Drop section ---------- */

.wild-section {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(241, 182, 54, 0.16), transparent 70%),
    var(--cream-linen);
}
.wild-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 760px) { .wild-card { grid-template-columns: 1fr; text-align: center; } }
.rainbow-frame {
  width: 280px;
  height: 280px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(241, 182, 54, 0.55) 0%, rgba(241, 182, 54, 0.18) 50%, transparent 75%),
    var(--sugar-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(241, 182, 54, 0.55);
  box-shadow: 0 0 40px rgba(241, 182, 54, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.rainbow-frame img {
  width: 70%; height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(78, 154, 78, 0.35));
}
.wild-card .copy .stamp {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(197, 52, 63, 0.10);
  color: var(--berry-red);
  border: 1px solid rgba(197, 52, 63, 0.30);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.wild-card .copy h3 { font-size: 1.5rem; margin-bottom: 14px; }
.wild-card .copy p {
  font-size: 16px;
  color: var(--cocoa-soft);
  line-height: 1.65;
  margin: 0 0 12px;
}

/* ---------- Screenshots / device frames ---------- */

.screens-wrap { position: relative; padding: 8px 0 28px; }
#screensSwiper {
  width: 100%;
  padding: 12px 0 36px;
}
.screen-frame {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 420 / 912;
  margin: 0 auto;
  border-radius: 36px;
  padding: 8px;
  background: linear-gradient(135deg, #2A1F16, #4A3826);
  box-shadow: 0 12px 32px rgba(58, 42, 30, 0.30),
              inset 0 1px 0 rgba(255, 255, 255, 0.10);
  overflow: hidden;
  position: relative;
}
.screen-frame::after {
  /* subtle bezel sheen */
  content: '';
  position: absolute; inset: 0;
  border-radius: 36px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(241, 182, 54, 0.35);
}
.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}
.screen-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cocoa-soft);
  letter-spacing: 0.5px;
}
.swiper-pagination-bullet { background: var(--cocoa-tertiary); opacity: 0.4; }
.swiper-pagination-bullet-active { background: var(--orchard-green); opacity: 1; }
.swiper-button-prev, .swiper-button-next { color: var(--orchard-green-deep); }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 22px; font-weight: 700; }

/* ---------- Rank pill ladder ---------- */

.rank-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.rank-pill {
  background: var(--sugar-white);
  border: 1px solid var(--cocoa-divider);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  min-width: 160px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(58, 42, 30, 0.05);
}
.rank-pill .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cocoa-divider);
  color: var(--cocoa-soft);
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.rank-pill .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--cocoa-bark);
  margin: 0;
}
.rank-pill.gold {
  border-color: var(--sun-gold);
  background: linear-gradient(180deg, var(--sugar-white) 0%, rgba(241, 182, 54, 0.18) 100%);
  box-shadow: 0 0 24px rgba(229, 178, 58, 0.40);
}
.rank-pill.gold .step {
  background: var(--grad-sun-cta);
  color: var(--cocoa-bark);
}

/* ---------- AI Disclosure strip ---------- */

.ai-strip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(78, 154, 78, 0.08);
  border: 1px solid rgba(78, 154, 78, 0.22);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--cocoa-soft);
  line-height: 1.55;
  max-width: 820px;
  margin: 36px auto 0;
}
.ai-strip .ico-ai {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(78, 154, 78, 0.18);
  color: var(--orchard-green-deep);
}
.ai-strip strong { color: var(--cocoa-bark); }

/* ---------- CTA section ---------- */

.cta-section {
  position: relative;
  padding: 90px 0 100px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(58, 42, 30, 0.78) 0%, rgba(58, 42, 30, 0.55) 100%),
    url('images/cta_bg.webp') center/cover no-repeat;
  color: var(--sugar-white);
}
.cta-section h2 {
  color: var(--sugar-white);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}
.cta-section h2 .gold {
  background: var(--grad-candied-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-section p {
  margin: 16px auto 28px;
  max-width: 620px;
  color: rgba(253, 250, 241, 0.85);
  font-size: 17px;
}

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

footer {
  background: var(--sugar-white);
  border-top: 1px solid var(--cocoa-divider);
  padding: 56px 0 28px;
  color: var(--cocoa-soft);
  font-size: 14.5px;
}
footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 760px) {
  footer .inner { grid-template-columns: 1fr 1fr; }
  footer .col-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  footer .inner { grid-template-columns: 1fr; }
}
footer h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--cocoa-bark);
  margin: 0 0 12px;
  letter-spacing: 0.4px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin: 6px 0; }
footer a { color: var(--cocoa-soft); }
footer a:hover { color: var(--orchard-green-deep); }
.col-brand p {
  margin: 12px 0 0;
  max-width: 380px;
  line-height: 1.6;
}
.compliance-footer {
  border-top: 1px solid var(--cocoa-divider);
  padding-top: 18px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--cocoa-tertiary);
  line-height: 1.55;
}
.compliance-footer .strong { color: var(--cocoa-soft); font-weight: 700; }
.compliance-footer p { margin: 4px 0; }
.legal {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--cocoa-tertiary);
}

/* ---------- Page hero (for legal/contact pages) ---------- */

.page-hero {
  padding: 60px 0 40px;
  background: var(--grad-page);
  text-align: center;
  border-bottom: 1px solid var(--cocoa-divider);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 8px 0 4px;
}
.page-hero .sub {
  color: var(--cocoa-soft);
  margin-top: 10px;
  font-size: 16px;
}

/* ---------- Legal content ---------- */

.legal-content {
  max-width: 820px;
  margin: 40px auto 60px;
  padding: 0 22px;
  text-align: left;
  font-size: 16px;
  color: var(--cocoa-soft);
  line-height: 1.7;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cocoa-bark);
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--orchard-green-deep);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p { margin: 10px 0; }
.legal-content ul {
  margin: 10px 0 14px 0;
  padding-left: 22px;
}
.legal-content ul li { margin: 6px 0; }
.legal-content .meta {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(78, 154, 78, 0.12);
  color: var(--orchard-green-deep);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

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

.contact-wrap {
  max-width: 720px;
  margin: 40px auto 60px;
  padding: 0 22px;
}
.contact-card {
  background: var(--sugar-white);
  border: 1px solid var(--cocoa-divider);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 6px 22px rgba(58, 42, 30, 0.08);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.4px;
  color: var(--cocoa-bark);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--cocoa-divider);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cocoa-bark);
  background: var(--cream-linen);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orchard-green);
  background: var(--sugar-white);
  box-shadow: 0 0 0 3px rgba(78, 154, 78, 0.22);
}
.field textarea { min-height: 140px; resize: vertical; }
.text-center { text-align: center; }
.contact-info {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--cocoa-divider);
  font-size: 14.5px;
  color: var(--cocoa-soft);
  text-align: center;
}

/* ---------- Privacy acceptance button (Flutter plugin) ---------- */

.privacy-accept-btn {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  padding: 18px 16px 22px;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, rgba(251, 244, 227, 0) 0%, rgba(251, 244, 227, 0.92) 35%, var(--cream-linen) 100%);
  pointer-events: none;
}
.privacy-accept-btn.hidden { display: none; }
.privacy-accept-btn .accept-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: var(--radius-btn);
  background: var(--grad-orchard-cta);
  color: var(--sugar-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.4px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(78, 154, 78, 0.40),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
  min-width: 260px;
}
.privacy-accept-btn .accept-btn:hover { filter: brightness(1.05); }
