/* ============================================================
   FOODIE — Shared stylesheet for sub-pages (CGU, Cookies, Privacy, Terms)
   Source palette : FOODIE-SwiftUI/Packages/DesignSystem/Sources/DesignSystem/FoodieColors.swift
   Doctrine        : ~/.claude/skills/eh-vitrine-design + eh-vitrine-hig
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0D0D0D;
  --ink-soft:   #3A3A3C;
  --muted:      #6C757D;
  --line:       #E5E5E5;
  --bg:         #F5F5F5;
  --surface:    #FFFFFF;
  --primary:    #FF0000;     /* brightRed */
  --primary-a:  #CC0000;     /* brightRedAccessible WCAG AA */
  --gold:       #D4A574;     /* goldenMustard */
  --gold-d:     #B88A52;
  --purple:     #2F2144;     /* deepPurple */
  --orange:     #FF9800;     /* orangeAccent */
  --highlight-bg: #FFF8E6;
  --highlight-border: #F0A500;
  --critical-bg: #FEF2F2;
  --critical-border: #DC2626;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #F5F5F5;
    --ink-soft:   #C5C5C7;
    --muted:      #9E9E9E;
    --line:       #3A2C4F;
    --bg:         #1C1426;
    --surface:    #2F2144;
    --primary:    #FF3333;
    --primary-a:  #FF6666;
    --gold:       #E0B582;
    --gold-d:     #D4A574;
    --purple:     #4A3868;
    --orange:     #FFA833;
    --highlight-bg: #3A2810;
    --highlight-border: #D4A574;
    --critical-bg: #3A1212;
    --critical-border: #FF6666;
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', Palatino, 'Book Antiqua', serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* a11y skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; width: auto; height: auto; z-index: 50;
  background: var(--ink); color: var(--bg); padding: 12px 20px;
  text-decoration: none; outline: 2px solid var(--gold); outline-offset: 2px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* topbar (logo + nav + brand-meta) */
.foodie-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(180%) blur(8px);
}
.foodie-topbar .topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.foodie-topbar a.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.foodie-topbar img {
  width: 40px;
  height: 40px;
  display: block;
}
.foodie-topbar .brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.foodie-topbar a.brand-link:hover .brand-name { color: var(--primary-a); }

.foodie-topbar nav.primary {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-left: auto;
}
.foodie-topbar nav.primary a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.foodie-topbar nav.primary a:hover {
  color: var(--primary-a);
}
.foodie-topbar nav.primary a[aria-current="page"] {
  color: var(--primary-a);
  font-weight: 600;
}
.foodie-topbar nav.primary a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
}
.foodie-topbar nav.primary a.cta {
  background: var(--primary);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
}
.foodie-topbar nav.primary a.cta:hover {
  background: var(--primary-a);
  color: #FFFFFF;
}

@media (max-width: 720px) {
  .foodie-topbar .topbar-inner { gap: 12px; }
  .foodie-topbar nav.primary { gap: 14px; width: 100%; margin-left: 0; }
  .foodie-topbar nav.primary a { font-size: 0.75rem; }
}

/* main content */
.foodie-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.foodie-page h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--purple);
}
.foodie-page .subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  font-style: italic;
}
.foodie-page h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--purple);
}
.foodie-page h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--ink);
}
.foodie-page p { margin-bottom: 14px; color: var(--ink-soft); }
.foodie-page ul, .foodie-page ol { margin: 8px 0 14px 24px; color: var(--ink-soft); }
.foodie-page li { margin-bottom: 6px; }
.foodie-page a {
  color: var(--primary-a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foodie-page a:hover { color: var(--primary); }

.foodie-page .toc {
  background: var(--surface);
  border-radius: 4px;
  padding: 20px 28px;
  margin: 32px 0;
  border-left: 3px solid var(--gold);
}
.foodie-page .toc ol { margin-left: 20px; }
.foodie-page .toc li { margin-bottom: 4px; }

.foodie-page .update-date {
  background: var(--surface);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 32px;
  border-left: 3px solid var(--gold);
  font-family: 'Inter', sans-serif;
}

.foodie-page .highlight {
  background: var(--highlight-bg);
  border-left: 3px solid var(--highlight-border);
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin: 16px 0 24px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.foodie-page .critical {
  background: var(--critical-bg);
  border-left: 3px solid var(--critical-border);
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin: 16px 0 24px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* footer harmonisé landing */
.foodie-footer {
  margin-top: 64px;
  padding: 48px 24px 56px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.foodie-footer .footer-inner { max-width: 880px; margin: 0 auto; }
.foodie-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.foodie-footer .footer-brand img { width: 40px; height: 40px; }
.foodie-footer .footer-brand-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.foodie-footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--ink);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.foodie-footer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.foodie-footer a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  display: block;
  padding: 4px 0;
}
.foodie-footer a:hover { color: var(--primary-a); text-decoration: underline; text-underline-offset: 3px; }
.foodie-footer .legal-block {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.foodie-footer .legal-block strong { color: var(--ink); }
.foodie-footer .signature {
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--purple);
  font-size: 0.9375rem;
  font-style: italic;
}
.foodie-footer .mantra {
  text-align: center;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.875rem;
  font-style: italic;
}
.foodie-footer .copyright {
  text-align: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
}

/* Apple ecosystem (7 targets FOODIE) — inspiré MagicUI OrbitingCircles */
.apple-ecosystem {
  text-align: center;
  margin: 24px auto;
  max-width: 720px;
}
.apple-ecosystem .device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin: 32px 0 16px;
}
.apple-ecosystem .device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  background: var(--surface);
  border-radius: 4px;
  border-top: 2px solid var(--gold);
  transition: transform 200ms ease, border-color 200ms ease;
}
.apple-ecosystem .device:hover {
  transform: translateY(-2px);
  border-top-color: var(--primary);
}
.apple-ecosystem .device .icon {
  font-size: 1.875rem;
  line-height: 1;
}
.apple-ecosystem .device .label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.apple-ecosystem .device .feature {
  font-size: 0.6875rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  line-height: 1.4;
  font-family: 'EB Garamond', serif;
}
.apple-ecosystem .ecosystem-note {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--purple);
  margin-top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .apple-ecosystem .device { transition: none !important; }
  .apple-ecosystem .device:hover { transform: none; }
}

/* ============================================
   Pages rôle (/customer, /producteur, /fondateur, /chef)
   ============================================ */

.role-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.role-hero {
  text-align: center;
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.role-hero .role-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.role-hero .role-icon {
  font-size: 3.5rem;
  display: block;
  margin: 0 auto 20px;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--gold);
  margin: 0 auto 24px;
}
.role-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin-bottom: 16px;
}
.role-hero .promise {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--purple);
  max-width: 56ch;
  margin: 0 auto 24px;
  line-height: 1.5;
}
.role-hero .role-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  background: var(--primary);
  color: #FFFFFF;
  transition: background 200ms, transform 200ms;
  min-height: 44px;
}
.role-hero .role-cta:hover {
  background: var(--primary-a);
  transform: translateY(-1px);
}

.role-section {
  margin-bottom: 56px;
}
.role-section .meta {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 8px;
}
.role-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--purple);
  margin-bottom: 24px;
}
.role-section p { margin-bottom: 14px; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.7; }
.role-section p strong { color: var(--ink); font-weight: 600; }

.role-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.role-features .item {
  padding: 24px 22px;
  background: var(--surface);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
}
.role-features .item .icon-mini {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}
.role-features .item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.role-features .item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.role-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.role-numbers .stat {
  padding: 24px 18px;
  text-align: center;
  background: var(--surface);
  border-radius: 4px;
  border-top: 3px solid var(--primary);
}
.role-numbers .stat .num {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.role-numbers .stat .label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.role-faq dt {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 18px 0 6px;
  color: var(--ink);
}
.role-faq dd {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 0;
}

.role-cta-band {
  background: var(--surface);
  border-radius: 4px;
  padding: 36px 32px;
  text-align: center;
  border-left: 4px solid var(--gold);
  margin: 48px 0;
}
.role-cta-band h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 10px;
}
.role-cta-band p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.role-cta-band a {
  display: inline-block;
  background: var(--primary);
  color: #FFFFFF;
  padding: 12px 26px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 200ms;
}
.role-cta-band a:hover { background: var(--primary-a); }

.role-cross-links {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.role-cross-links .meta {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.role-cross-links .links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.role-cross-links .links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  transition: border-color 200ms, color 200ms;
}
.role-cross-links .links a:hover { border-color: var(--gold); color: var(--primary); }

/* ============================================
   MIX PROTOTYPES — pages rôle V2 (B+C+D+E)
   ============================================ */

/* Masthead magazine (E) */
.role-masthead {
  padding: 20px 24px;
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  background: var(--surface);
  text-align: center;
}
.role-masthead .ribbon {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 6px;
}
.role-masthead .title-mh {
  font-family: 'Cormorant Garamond', 'EB Garamond', serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1;
}
.role-masthead .meta-mh {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

/* Article frame (E) */
.role-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 48px;
}
.role-article .kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.role-article .kicker .star { color: var(--gold-d); }
.role-article .headline {
  font-family: 'Cormorant Garamond', 'EB Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 18px;
}
.role-article .headline em {
  font-style: italic;
  color: var(--primary);
}
.role-article .deck {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--purple);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 60ch;
}
.role-article .byline {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* Drop-cap lede (E) */
.role-article .lede {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--ink);
}
.role-article .lede::first-letter {
  font-family: 'Cormorant Garamond', 'EB Garamond', serif;
  font-size: 5rem;
  float: left;
  line-height: 0.85;
  padding: 6px 14px 0 0;
  color: var(--primary);
  font-weight: 600;
}
.role-article .lede::first-line {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.role-article p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--ink);
}

/* Sidebar flottante (E) */
.role-sidebar {
  float: right;
  width: 280px;
  margin: 8px 0 24px 32px;
  padding: 22px;
  background: var(--surface);
  border-top: 3px solid var(--gold-d);
  border-bottom: 3px solid var(--gold-d);
  font-size: 0.875rem;
  line-height: 1.55;
}
.role-sidebar .label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 10px;
  display: block;
}
.role-sidebar h3 {
  font-family: 'Cormorant Garamond', 'EB Garamond', serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}
.role-sidebar dl dt {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}
.role-sidebar dl dd {
  font-family: 'EB Garamond', serif;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.role-sidebar dl dd strong { font-weight: 600; }

/* Pull-quote (E) */
.role-pullquote {
  margin: 48px -24px;
  padding: 32px 40px;
  border-left: 4px solid var(--primary);
  font-family: 'Cormorant Garamond', 'EB Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
  position: relative;
  background: var(--surface);
}
.role-pullquote::before {
  content: '« ';
  color: var(--primary);
  font-size: 3rem;
  line-height: 0;
  position: absolute;
  left: 8px;
  top: 38px;
}
.role-pullquote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Divider étoile (E) */
.role-divider {
  text-align: center;
  margin: 48px 0;
  font-size: 1.5rem;
  color: var(--gold-d);
  letter-spacing: 1em;
}

/* Chapter heading (E) */
.role-article h2.chapter {
  font-family: 'Cormorant Garamond', 'EB Garamond', serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin: 48px 0 8px;
  line-height: 1.1;
}
.role-article .chapter-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-d);
  display: block;
  margin-bottom: 6px;
}

/* Bento sub-grid features (C) */
.role-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
  margin: 24px 0 32px;
}
.role-bento .b-cell {
  padding: 22px 20px;
  background: var(--surface);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  transition: transform 200ms;
}
.role-bento .b-cell:hover { transform: translateY(-2px); }
.role-bento .b-cell .icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
  display: block;
}
.role-bento .b-cell h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.role-bento .b-cell p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
/* Variations sizes bento */
.role-bento .b-cell.large { grid-column: span 2; grid-row: span 2; }
.role-bento .b-cell.wide  { grid-column: span 2; }
.role-bento .b-cell.tall  { grid-row: span 2; }
.role-bento .b-cell.large h4 { font-size: 1.125rem; margin-bottom: 8px; }
.role-bento .b-cell.large .icon { font-size: 2rem; }
.role-bento .b-cell.large p { font-size: 0.9375rem; }

/* Comparison table (B) */
.role-comparison {
  margin: 56px 0 32px;
}
.role-comparison .label-cmp {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 8px;
  display: block;
}
.role-comparison h3 {
  font-family: 'Cormorant Garamond', 'EB Garamond', serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--purple);
  margin-bottom: 18px;
}
.role-comparison table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  border: 2px solid var(--ink);
  background: var(--bg);
}
.role-comparison thead th {
  background: var(--ink);
  color: #FFFFFF;
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  border-right: 1px solid #333;
  white-space: nowrap;
}
.role-comparison thead th:last-child { border-right: none; }
.role-comparison thead th .ico-th { display: block; font-size: 1.25rem; margin-bottom: 2px; }
.role-comparison thead th.crit-th {
  background: var(--purple);
  color: var(--gold);
  width: 28%;
}
.role-comparison thead th.active-th {
  background: var(--primary);
  color: #FFFFFF;
}
.role-comparison tbody tr { border-bottom: 1px solid var(--line); }
.role-comparison tbody td {
  padding: 10px 14px;
  border-right: 1px solid var(--line);
  vertical-align: top;
}
.role-comparison tbody td:last-child { border-right: none; }
.role-comparison tbody td.crit-td {
  font-weight: 600;
  color: var(--purple);
  background: var(--surface);
}
.role-comparison tbody td.active-td {
  background: rgba(255, 0, 0, 0.06);
  font-weight: 600;
  color: var(--primary-a);
}
.role-comparison tbody tr:nth-child(odd) td:not(.active-td):not(.crit-td) {
  background: var(--surface);
}

/* CTA quiz inline (D ref) */
.role-quiz-cta {
  margin: 48px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-d) 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink);
}
.role-quiz-cta .ico {
  font-size: 2.25rem;
  flex-shrink: 0;
}
.role-quiz-cta .text { flex: 1; min-width: 220px; }
.role-quiz-cta h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}
.role-quiz-cta p {
  font-size: 0.875rem;
  color: var(--ink);
  opacity: 0.85;
  margin: 0;
}
.role-quiz-cta a {
  background: var(--ink);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms;
}
.role-quiz-cta a:hover { background: var(--purple); }

/* Final CTA noir+or (E) */
.role-final-cta {
  margin: 48px 0 0;
  padding: 36px 28px;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}
.role-final-cta .label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.role-final-cta h3 {
  font-family: 'Cormorant Garamond', 'EB Garamond', serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--bg);
}
.role-final-cta h3 em { font-style: italic; color: var(--gold); }
.role-final-cta p {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--bg);
  opacity: 0.85;
  margin: 0 auto 16px;
  max-width: 50ch;
}
.role-final-cta .links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.role-final-cta .links a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--bg);
  text-decoration: none;
  border: 1px solid var(--gold);
  padding: 10px 20px;
  letter-spacing: 0.02em;
  transition: background 200ms;
  border-radius: 4px;
}
.role-final-cta .links a:hover { background: var(--gold); color: var(--ink); }
.role-final-cta .links a.primary { background: var(--gold); color: var(--ink); }
.role-final-cta .links a.primary:hover { background: var(--bg); color: var(--ink); }

@media (max-width: 720px) {
  .role-sidebar { float: none; width: 100%; margin: 24px 0; }
  .role-bento { grid-template-columns: repeat(2, 1fr); }
  .role-bento .b-cell.large,
  .role-bento .b-cell.wide,
  .role-bento .b-cell.tall { grid-column: span 2; grid-row: auto; }
  .role-pullquote { margin: 32px -16px; padding: 24px 28px; }
  .role-comparison table { font-size: 0.75rem; }
  .role-comparison thead th,
  .role-comparison tbody td { padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .role-bento .b-cell:hover { transform: none; }
}

/* HIG adaptations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #4A4A4A;
    --line:  #888888;
    --ink-soft: #1A1A1A;
  }
}

@media (max-width: 480px) {
  .foodie-topbar img { width: 40px; height: 40px; }
  .foodie-topbar .brand-meta { font-size: 0.625rem; }
  .foodie-page { padding: 32px 20px 56px; }
  .foodie-footer .footer-brand img { width: 36px; height: 36px; }
}
