/* ============================================
   PAPILLE — French Culinary Platform
   ============================================ */

:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --bg-dark: #1A0F0F;
  --fg: #1A0F0F;
  --fg-muted: #7A5C5C;
  --fg-light: rgba(250,247,242,0.7);
  --accent: #C4793A;
  --accent-dark: #A35E28;
  --primary: #5C1A1A;
  --primary-light: #7D2E2E;
  --surface: #FFFFFF;
  --border: rgba(92,26,26,0.12);
  --shadow: rgba(26,15,15,0.08);

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* === SELECTION === */
::selection { background: var(--primary); color: var(--bg); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--primary); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 3rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 65%;
  height: 120%;
  background: radial-gradient(ellipse at 60% 40%, rgba(196,121,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  padding-top: 2rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--primary);
  margin-bottom: 1.75rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* Hero visual — stacked cards */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.hero-card-stack {
  position: relative;
  width: 280px;
  height: 360px;
}

.hero-card {
  position: absolute;
  width: 260px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 4px 24px var(--shadow), 0 1px 4px var(--border);
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.card-back {
  top: 0;
  left: 20px;
  transform: rotate(-3deg);
  background: linear-gradient(135deg, #F5EDE6 0%, #EDE0D4 100%);
}

.card-mid {
  top: 30px;
  left: 5px;
  transform: rotate(1deg);
}

.card-front {
  top: 60px;
  left: 0;
  background: var(--primary);
  color: var(--bg);
}

/* Card back — spice decoration */
.card-inner { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.card-spice-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}
.spice-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.15;
}
.spice-dot.accent { background: var(--accent); opacity: 0.4; }
.spice-line {
  width: 2px;
  height: 28px;
  background: var(--border);
}

/* Card mid — recipe */
.card-recipe { display: flex; flex-direction: column; gap: 0.75rem; }
.recipe-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--bg-alt);
  color: var(--fg-muted);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  width: fit-content;
}
.recipe-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.2;
}
.recipe-chef { font-size: 0.8125rem; color: var(--fg-muted); }
.recipe-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}
.recipe-stats span:first-child {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.875rem;
}

/* Card front — menu */
.card-menu { display: flex; flex-direction: column; gap: 0.75rem; }
.menu-season {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.5);
}
.menu-label {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 300;
  color: var(--bg);
}
.menu-weeks {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.5);
}
.menu-dishes { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.dish {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: rgba(250,247,242,0.8);
}
.dish-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Hero stats */
.hero-stats {
  max-width: 1200px;
  margin: 4rem auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 0.8125rem; color: var(--fg-muted); }
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* === CHEFS SECTION === */
.chefs-section {
  padding: var(--space-2xl) 3rem;
  background: var(--bg);
}

.chefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 3rem 0 2.5rem;
}

.chef-item {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.chef-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}

.chef-item.featured {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

.chef-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.chef-item.featured .chef-num { color: var(--accent); }

.chef-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.chef-tag { font-size: 0.75rem; color: var(--fg-muted); }
.chef-item.featured .chef-tag { color: rgba(250,247,242,0.5); }

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  max-width: 500px;
  color: var(--fg-muted);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}
.search-bar:hover { border-color: var(--primary); }
.search-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* === BIBLIO SECTION === */
.biblio-section {
  padding: var(--space-2xl) 3rem;
  background: var(--bg-alt);
}

.biblio-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.biblio-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.biblio-circles {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-lg {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: conic-gradient(from 30deg, var(--primary) 0%, var(--accent) 25%, var(--primary-light) 50%, var(--accent) 75%, var(--primary) 100%);
  opacity: 0.15;
  animation: spin-slow 40s linear infinite;
}

.circle-md {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.08;
}

.circle-sm {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.12;
}

.family-label {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.2;
}
.family-label span:first-child {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--primary);
}
.family-label span:last-child {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

.family-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--fg-muted);
  transition: all 0.2s;
}

.tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(92,26,26,0.04);
}

/* === MENUS SECTION === */
.menus-section {
  padding: var(--space-2xl) 3rem;
  background: var(--bg);
}

.menus-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.menus-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.menu-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s;
}

.menu-card:hover {
  box-shadow: 0 12px 40px var(--shadow);
  transform: translateY(-3px);
}

.menu-card.featured {
  background: linear-gradient(145deg, #2D0E0E 0%, var(--primary) 100%);
  color: var(--bg);
  border: none;
  position: relative;
}

.menu-season-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.menu-card.featured .menu-season-tag { background: rgba(255,255,255,0.15); }

.menu-card.featured .menu-price { color: var(--accent); }

.menu-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
}

.menu-card.featured .menu-price { color: rgba(250,247,242,0.9); }

.menu-price span { font-size: 0.875rem; font-family: var(--font-body); color: var(--fg-muted); }
.menu-card.featured .menu-price span { color: rgba(250,247,242,0.5); }

.menu-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.menu-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
}

.menu-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.menu-card.featured .menu-features li { color: rgba(250,247,242,0.65); }
.menu-card.featured .menu-features li::before { background: var(--accent); }


/* === VIDEOS SECTION === */
.videos-section {
  padding: var(--space-2xl) 3rem;
  background: var(--bg-dark);
  color: var(--bg);
}

.videos-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.videos-section .section-label { color: var(--accent); }
.videos-section .section-title { color: var(--bg); }
.videos-section .section-desc { color: var(--fg-light); }

/* Phone mockup */
.videos-visual {
  display: flex;
  justify-content: center;
}

.video-phone {
  width: 200px;
  background: #111;
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

.phone-screen {
  background: linear-gradient(145deg, #1a0f0f, #2d1212);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
}

.vt-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vt-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  padding: 0.625rem;
  transition: background 0.2s;
}

.vt-card:hover { background: rgba(255,255,255,0.08); }

.vt-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.vt-thumb-1 {
  background: linear-gradient(135deg, #4a1a1a 0%, #8B3030 100%);
}
.vt-thumb-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(255,255,255,0.04) 7px, rgba(255,255,255,0.04) 8px);
}

.vt-thumb-2 {
  background: linear-gradient(135deg, #2a2a1a 0%, #8B7830 100%);
}
.vt-thumb-2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(255,255,255,0.04) 7px, rgba(255,255,255,0.04) 8px);
}

.vt-play {
  width: 28px;
  height: 28px;
  background: rgba(250,247,242,0.18);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  z-index: 1;
}

.vt-play svg { width: 14px; height: 14px; }

.vt-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.vt-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--bg);
}
.vt-chef { font-size: 0.75rem; color: rgba(250,247,242,0.55); }
.vt-views { font-size: 0.6875rem; color: rgba(250,247,242,0.35); }

.vt-embed-card {
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  min-height: 80px;
  position: relative;
}

.vt-embed-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 80px;
  background: linear-gradient(135deg, #2a1a1a 0%, #1a0f0f 100%);
  cursor: pointer;
}

.vt-embed-label {
  font-size: 0.6875rem;
  color: rgba(250,247,242,0.55);
  text-align: center;
}

.vt-discovery-link {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.625rem 1.25rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.vt-discovery-link:hover { opacity: 0.85; }

.video-features {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.vf-item { display: flex; flex-direction: column; gap: 0.25rem; }
.vf-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}
.vf-label { font-size: 0.8125rem; color: var(--fg-light); }

.video-features {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.vf-item { display: flex; flex-direction: column; gap: 0.25rem; }
.vf-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}
.vf-label { font-size: 0.8125rem; color: var(--fg-light); }


/* === CLOSING === */
.closing-section {
  padding: var(--space-2xl) 3rem;
  background: var(--bg);
  text-align: center;
}

.closing-inner { max-width: 700px; margin: 0 auto; }

.closing-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.closing-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.closing-cta:hover { background: var(--primary-light); }

.closing-founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.founder-note {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

.founder-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === FOOTER === */
.footer {
  padding: 3rem;
  background: var(--bg-dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--bg);
  opacity: 0.7;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--fg-light);
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8125rem;
}

.footer-links a { color: var(--fg-light); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-links span { color: rgba(250,247,242,0.2); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.3);
  margin-top: 0.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner,
  .biblio-inner,
  .videos-inner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .hero-visual { display: none; }
  .biblio-visual { display: none; }

    .menus-grid { grid-template-columns: 1fr !important; }
  .chefs-grid { grid-template-columns: 1fr 1fr !important; }

  .navbar { padding: 1rem 1.5rem; }
  .nav-links { display: none; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-sep { display: none; }
}

@media (max-width: 600px) {
  .hero, .chefs-section, .biblio-section, .menus-section, .videos-section, .closing-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-stats { flex-direction: column; }
}

/* === DIGEST SECTION === */
.digest-section {
  padding: var(--space-2xl) 3rem;
  background: var(--bg-alt);
  text-align: center;
}

.digest-section .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.digest-form {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem auto 0;
  max-width: 480px;
}

.digest-form input[type="email"],
.digest-form select {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.75rem 0.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  flex: 1;
  min-width: 0;
}

.digest-form input[type="email"]:focus,
.digest-form select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.digest-form select {
  flex: 0 0 auto;
  min-width: 9rem;
}

.digest-form button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.digest-form button:hover { background: var(--primary-light); }

.digest-form--footer {
  max-width: 480px;
  margin: 0.5rem auto;
  gap: 0.5rem;
}

.digest-form--footer input[type="email"] {
  color: var(--bg);
  border-bottom-color: rgba(250,247,242,0.3);
}

.digest-form--footer input[type="email"]::placeholder {
  color: rgba(250,247,242,0.5);
}

.digest-form--footer input[type="email"]:focus {
  border-bottom-color: var(--accent);
}

.digest-form--footer button {
  background: var(--accent);
  color: var(--bg);
  padding: 0.75rem 1.5rem;
}

.digest-form--footer button:hover { background: var(--accent-dark); }

.digest-success {
  font-family: var(--font-body);
  color: var(--accent);
  font-style: italic;
  margin-top: 1rem;
}

.digest-success--footer {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.digest-error {
  font-family: var(--font-body);
  color: #B33A3A;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

@media (max-width: 600px) {
  .digest-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .digest-form {
    flex-direction: column;
  }

  .digest-form select {
    min-width: 0;
    width: 100%;
  }
}