/* ============================================================================
   GutBuy — shared marketing + legal stylesheet
   "Editorial Vitality" design language. Light + dark via prefers-color-scheme.
   Used by: index.html, en/index.html, imprint.html, privacy.html, agb.html
   ========================================================================== */

/* ── Fonts (self-hosted, subset WOFF2, OFL) ──────────────────────────────── */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  /* colour */
  --bg:                 #f5f5f7;
  --bg-alt:             #ececef;
  --card:               #ffffff;
  --text-primary:       #1d1d1f;
  --text-secondary:     #55575d;
  --text-tertiary:      #6e6e73;
  --accent:             #0D631B;
  --accent-strong:      #2E7D32;
  --accent-text:        #ffffff;
  --accent-soft:        #e4f4e3;
  --divider:            #e0e0e0;
  --outline:            #d2d2d7;
  --shadow-sm:          0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow:             0 12px 40px rgba(13, 99, 27, 0.10);
  --shadow-lg:          0 28px 70px rgba(13, 99, 27, 0.16);
  --hero-glow:          radial-gradient(60% 60% at 78% 12%, rgba(136,217,130,0.18), transparent 70%);

  /* score palette (mirrors lib/shared/utils/score_color.dart) */
  --score-green:        #43A047;
  --score-lightgreen:   #689F38;
  --score-yellow:       #D4AA00;
  --score-orange:       #FB8C00;
  --score-red:          #E53935;

  /* type */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* radius */
  --r-pill: 9999px;
  --r-card: 32px;
  --r-md:   16px;
  --r-sm:   10px;

  /* spacing / layout */
  --maxw: 1120px;
  --gutter: 24px;
  --section-y: clamp(64px, 9vw, 128px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:               #0f1117;
    --bg-alt:           #14161d;
    --card:             #1a1d26;
    --text-primary:     #f0f0f0;
    --text-secondary:   #b6bac7;
    --text-tertiary:    #9a9fb0;
    --accent:           #88D982;
    --accent-strong:    #A5DFA0;
    --accent-text:      #003909;
    --accent-soft:      #16281a;
    --divider:          #2a2d3a;
    --outline:          #2a2d3a;
    --shadow-sm:        0 2px 12px rgba(0, 0, 0, 0.35);
    --shadow:           0 16px 46px rgba(0, 0, 0, 0.45);
    --shadow-lg:        0 30px 80px rgba(0, 0, 0, 0.55);
    --hero-glow:        radial-gradient(60% 60% at 78% 12%, rgba(136,217,130,0.14), transparent 70%);
    --score-lightgreen: #7CB342;
    --score-yellow:     #FDD835;
  }
}

/* ── Base ────────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

/* grid/flex children must be allowed to shrink below content size,
   otherwise long headings force horizontal overflow */
.hero .container > *,
.spotlight .container > * { min-width: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

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

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-text);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 30px;
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem;
  border-radius: var(--r-pill); border: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  color: var(--accent-text);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  color: var(--text-primary); background: transparent;
  border: 1.5px solid var(--outline);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Header / nav ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
}
.site-header .container {
  display: flex; align-items: center; justify-content: flex-start;
  min-height: 68px; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--text-primary); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: none; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text-secondary); font-weight: 600; font-size: 0.98rem; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* mobile disclosure menu (no framework, <details>-based) */
.mobile-nav { position: relative; }
.mobile-nav > summary {
  list-style: none; cursor: pointer;
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; color: var(--text-primary);
}
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav > summary svg { width: 24px; height: 24px; }
.mobile-nav[open] > summary { background: var(--accent); color: var(--accent-text); }
.mobile-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 232px; display: flex; flex-direction: column; gap: 2px;
  background: var(--card); border-radius: 18px; padding: 12px;
  box-shadow: var(--shadow-lg); z-index: 60;
}
.mobile-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 14px;
  border-radius: 10px; color: var(--text-primary); font-weight: 600; }
.mobile-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .mobile-nav { display: none; }
  .header-right { margin-left: 0; } /* nav-links' auto margin does the pushing */
}

/* footer language link (plain text) */
.lang-link { color: var(--text-secondary); font-weight: 600; text-decoration: none; }
.lang-link:hover { color: var(--accent); text-decoration: underline; }

/* ── Sections ────────────────────────────────────────────────────────────── */
section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-head p { margin-top: 16px; color: var(--text-secondary); font-size: 1.1rem; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
/* overflow: clip (not hidden) — hidden would make the hero a scroll container,
   which deactivates the chips' view() scroll timeline */
.hero { position: relative; overflow: hidden; overflow: clip; padding-top: clamp(48px, 6vw, 88px); }
.hero::before {
  content: ""; position: absolute; inset: 0; background: var(--hero-glow);
  pointer-events: none; z-index: 0;
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px); align-items: center;
}
@media (min-width: 940px) { .hero .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.hero h1 .accent { color: var(--accent); }
.hero .lede { margin-top: 22px; font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-secondary); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }

/* trust chips */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.trust-row li { list-style: none; display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-secondary); font-size: 0.95rem; font-weight: 600; }
.trust-row svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* store buttons — rendered as self-contained SVG images (assets/web/img/btn-*.svg);
   the same files power the public/ pages so both stay in sync. */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge { display: block; border-radius: 9px; transition: transform 0.15s ease, box-shadow 0.2s ease; }
.store-badge:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-badge img { display: block; height: 58px; width: auto; }

/* ── Device frame (real app screenshots) ─────────────────────────────────── */
.phone-wrap { display: flex; justify-content: center; }
.device {
  position: relative; width: min(310px, 78vw);
  padding: 10px; border-radius: 50px;
  background: color-mix(in srgb, var(--text-primary) 90%, transparent);
  box-shadow: var(--shadow-lg);
}
.device img { width: 100%; height: auto; border-radius: 40px; }

/* floating UI elements around the hero phone */
.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--card); box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 800; font-size: 0.92rem;
  color: var(--text-primary); white-space: nowrap;
}
.float-chip svg { width: 18px; height: 18px; color: var(--score-green); flex: none; }
/* positions are tuned to the list screenshot: trend sits right below the
   in-app "80 Protein-Score", the item card leaves the Lachs row visible.
   Mobile keeps small offsets so nothing pokes past the viewport edge */
.chip-swap  { right: -12px; top: 45%; }
.chip-swap .plus { color: var(--score-green); margin-left: 2px; }
.chip-trend { right: -12px; top: 150px; }

/* push the floats further off the phone once there is side room */
@media (min-width: 940px) {
  .chip-swap  { right: -74px; }
  .chip-trend { right: -64px; }
  .float-card { left: -80px; }
}

/* mini item-score card (mirrors the in-app detail header) */
.float-card {
  position: absolute; z-index: 2; left: -12px; bottom: 155px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 12px; border-radius: 22px;
  background: var(--card); box-shadow: var(--shadow);
}
.float-card .ring {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--score-green) 98%, var(--divider) 0);
}
.float-card .ring::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--card);
}
.float-card .ring b { position: relative; z-index: 1; font-family: var(--font-display);
  font-weight: 800; font-size: 1.05rem; color: var(--score-green); }
.float-card .lbl b { display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1rem; line-height: 1.2; color: var(--text-primary); }
.float-card .lbl small { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-tertiary); }

/* scroll-driven fade: the floats glide in as they enter the viewport and fade
   away as they scroll out. Progressive enhancement — browsers without scroll
   timelines simply keep them static, and the global prefers-reduced-motion
   rule disables the animation entirely. */
@keyframes float-fade {
  0%   { opacity: 0; transform: translateY(20px); }
  16%  { opacity: 1; transform: none; }
  80%  { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-26px); }
}
@supports (animation-timeline: view()) {
  .float-chip, .float-card {
    animation: float-fade linear both;
    animation-timeline: view();
  }
  /* slightly offset ranges so the three floats don't move in lockstep */
  .chip-trend  { animation-range: cover 0% cover 96%; }
  .chip-swap   { animation-range: cover 2% cover 100%; }
  .float-card  { animation-range: cover 4% cover 98%; }
}

/* ── App showcase (screenshot gallery) ───────────────────────────────────── */
.shots { display: grid; gap: clamp(40px, 6vw, 56px); }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.shot { display: grid; justify-items: center; text-align: center; }
.shot .device { width: min(280px, 74vw); }
.shot h3 { margin-top: 26px; font-size: 1.3rem; }
.shot p { margin-top: 8px; color: var(--text-secondary); max-width: 42ch; }

/* ── Cards / grids ───────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card-tile {
  background: var(--card); border-radius: var(--r-card); padding: 32px;
  box-shadow: var(--shadow-sm); height: 100%;
}
.card-tile .ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.card-tile .ico svg { width: 26px; height: 26px; }
.card-tile h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card-tile p { color: var(--text-secondary); }

/* goal card accent bar */
.goal-card { position: relative; overflow: hidden; }
.goal-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--gcol, var(--accent)); }
.goal-card .pts { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--gcol, var(--accent)); }

/* ── How it works (steps) ────────────────────────────────────────────────── */
.steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { text-align: center; }
.step .num {
  counter-increment: step; width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--accent-text);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-secondary); }

/* ── Mira spotlight ──────────────────────────────────────────────────────── */
.spotlight .container { display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .spotlight .container { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.chat { display: grid; gap: 12px; }
.bubble { padding: 14px 18px; border-radius: 20px; max-width: 82%; box-shadow: var(--shadow-sm); }
.bubble.user { justify-self: end; background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--accent-text); border-bottom-right-radius: 6px; font-weight: 600; }
.bubble.mira { justify-self: start; background: var(--card); border-bottom-left-radius: 6px; }
.bubble.mira .who { display: flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--accent); font-size: 0.85rem; margin-bottom: 4px; }
.badge-pill { display: inline-block; padding: 5px 13px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.04em; margin-bottom: 16px; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: var(--card); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  margin-bottom: 14px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700;
  font-family: var(--font-display); font-size: 1.08rem; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; font-size: 1.5rem; color: var(--accent);
  transition: transform 0.2s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-secondary); }

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band .inner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-radius: var(--r-card); padding: clamp(44px, 6vw, 76px) 28px; color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-band p { color: rgba(255,255,255,0.9); margin-top: 14px; font-size: 1.12rem; }
.cta-band .store-badges { justify-content: center; margin-top: 30px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-alt); padding-block: 56px 40px; }
.site-footer .container { display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: start; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text-tertiary); font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 14px; }
.footer-col a { display: flex; align-items: center; min-height: 40px;
  color: var(--text-secondary); font-size: 0.96rem; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--divider); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
  color: var(--text-tertiary); font-size: 0.88rem; }

/* ============================================================================
   LEGAL PAGES (imprint / privacy / agb) — single-file DE/EN toggle
   (matches existing markup: body.legal > .legal-bar + .legal-content)
   ========================================================================== */
body.legal { padding: 0; }

/* sticky top bar: brand link + language toggle */
.legal-bar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--text-primary) 8%, transparent);
}
.legal-bar .container { display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; gap: 12px; }

.legal .lang-toggle { position: static; display: inline-flex; gap: 4px; }
.legal .lang-toggle button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px;
  background: none; border: 1.5px solid var(--outline); border-radius: 10px;
  padding: 0 12px; cursor: pointer; color: var(--text-tertiary);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.legal .lang-toggle button.active { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }

.legal-content { max-width: 760px; margin-inline: auto; padding: 48px var(--gutter) 72px; }
.legal-content .lang { display: none; }
.legal-content .lang.visible { display: block; }
.legal-content h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin-bottom: 10px; }
.legal-content h2 { font-size: 1.25rem; margin-top: 42px; margin-bottom: 8px; }
.legal-content h3 { font-size: 1.05rem; margin-top: 26px; margin-bottom: 6px; }
.legal-content p { margin-top: 12px; color: var(--text-secondary); }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-top: 10px; }
.legal-content li { margin-top: 6px; color: var(--text-secondary); }
.legal-content strong { color: var(--text-primary); font-weight: 700; }
.legal-content hr { border: none; border-top: 1px solid var(--divider); margin: 34px 0; }
.legal-content a { color: var(--accent); }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 16px; }
.legal-content th, .legal-content td { text-align: left; padding: 11px 13px;
  border: 1px solid var(--divider); vertical-align: top; }
.legal-content th { font-weight: 700; background: var(--bg-alt); color: var(--text-primary); }

/* lightweight legal footer */
.legal-foot { border-top: 1px solid var(--divider); }
.legal-foot .container { padding-block: 26px; display: flex; flex-wrap: wrap;
  gap: 8px 18px; justify-content: center; text-align: center;
  color: var(--text-tertiary); font-size: 0.9rem; }
.legal-foot a { display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 4px; color: var(--text-secondary); font-weight: 600; }
.legal-foot a:hover { color: var(--accent); text-decoration: none; }
.legal-foot .sep { opacity: 0.4; }
