/* ==========================================================================
   FixUp — site de prezentare
   Design system mirrored 1:1 from the apps' "Voltaj" theme
   (packages/fixup_core/lib/src/core/theme/*): volt-green used LOUD BUT RARE on
   a white canvas, warm green-black neutrals, near-black on green fills, coral
   as a single spark, chunky radii.
   ========================================================================== */

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --primary: #00c46a;
  --primary-deep: #0a7d45; /* green ink — text & links (AA on white) */
  --primary-light: #34d98b;
  --primary-tint: #e4f8ee;
  --on-primary: #0b0f0c; /* near-black ON a green fill */

  /* Accent (single spark — the meșter track) */
  --accent: #ff5436;
  --accent-dark: #e0431f;
  /* Coral is bright: #e0431f on white is only ~4.2:1, so it must NOT be used
     for body text. This deeper tone clears AA and is the ONLY coral allowed on
     a light background. On a coral FILL we use near-black, mirroring the
     volt-green rule (white on coral is just 3.19:1). */
  --accent-ink: #a8330f;
  --on-accent: #0b0f0c;
  --accent-tint: #ffe9e4;

  /* Warm green-black neutrals */
  --ink: #0b0f0c;
  --ink-700: #2c3330;
  --ink-500: #5b635d;
  --ink-300: #b9bfbb;
  --ink-100: #f4f5f3;
  --surface: #ffffff;
  --surface-alt: #f4f5f3;
  --border: #eceeeb;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-xxl: 32px;
  --r-pill: 999px;

  /* Elevation — soft, warm */
  --sh-sm: 0 1px 2px rgba(11, 15, 12, 0.06);
  --sh-md: 0 6px 20px -6px rgba(11, 15, 12, 0.12);
  --sh-lg: 0 24px 60px -20px rgba(11, 15, 12, 0.22);
  --sh-green: 0 18px 40px -18px rgba(0, 196, 106, 0.55);

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  /* Deliberately NO webfont CDN: loading fonts from a third-party CDN sends the
     visitor's IP abroad before any consent is given (a known RGPD problem). The
     apps' brand face is Plus Jakarta Sans — to match it exactly, self-host the
     woff2 in assets/fonts/ and add an @font-face (see website/README.md). Until
     then we use a native stack, which costs nothing and leaks nothing. */
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--primary-deep); }

:focus-visible {
  outline: 3px solid var(--primary-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* The header is sticky (72px), so anchor targets must not land underneath it. */
[id] { scroll-margin-top: 92px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-md) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ── Typography (mirrors AppTypography) ────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(38px, 6.4vw, 62px); font-weight: 800; letter-spacing: -0.032em; }
h2 { font-size: clamp(28px, 3.9vw, 42px); font-weight: 800; letter-spacing: -0.028em; }
h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

.overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-500);
}
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-500); line-height: 1.55; }
.muted { color: var(--ink-500); }
.num { font-variant-numeric: tabular-nums; font-weight: 800; }

/* ── Layout ────────────────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .overline { margin-bottom: 10px; }
.section-head p { margin-top: 14px; }

/* The app's signature: a short volt-green underline tab under section titles */
.tab-underline {
  width: 28px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--primary);
  margin-top: 16px;
}
.tab-underline.is-accent { background: var(--accent); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Near-black on volt-green — the theme's iron rule for on-green text */
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--sh-green); }
.btn-primary:hover { background: var(--primary-light); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-alt); border-color: var(--ink-300); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }

.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  /* min-height, not height: the legal pages carry an inline nav that may wrap
     onto a second row at narrow widths and must not be clipped. */
  min-height: 72px;
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
}
/* The app's identity mark: a small green tile with a near-black glyph */
.brand-tile {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: var(--primary);
  display: grid;
  place-items: center;
  color: var(--on-primary);
  flex: none;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 14.5px;
}
.nav a:hover { background: var(--surface-alt); color: var(--ink); }
.nav .btn { margin-left: 8px; }

/* Legal pages: a plain inline nav that must NOT collapse into the mobile
   drawer (there is no toggle button on those pages). */
/* Two classes on purpose: this must out-specify the `.nav` mobile-drawer rules
   further down, regardless of source order. */
.nav.nav-inline {
  position: static;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  inset: auto;
}
@media (max-width: 460px) {
  .nav.nav-inline a { padding: 8px 9px; font-size: 13.5px; }
}

.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 9px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    box-shadow: var(--sh-md);
    display: none;
    /* Scrollable so every item stays reachable in landscape / short viewports. */
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 13px 14px; }
  .nav .btn { margin: 8px 0 0; }
  .nav-toggle { display: block; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 104px); }

/* Warm, quiet texture — a dot grid + one soft green bloom. No gradient washes. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -280px;
  background: radial-gradient(circle, rgba(0, 196, 106, 0.16), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-top: 14px; }
.hero h1 .mark {
  /* handwritten-feeling highlight, drawn not filled */
  position: relative;
  white-space: nowrap;
}
.hero h1 .mark::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 36%;
  background: var(--primary);
  opacity: 0.28;
  border-radius: var(--r-pill);
  z-index: -1;
}
.hero .lead { margin-top: 20px; max-width: 48ch; }

/* Two doors — the whole point: client AND meșter, equally weighted */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } }

.door {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px 20px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}
.door:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.door-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.door strong { display: block; font-size: 17px; letter-spacing: -0.01em; }
/* The descriptive line ONLY — must not match .door-icon (grid) or .door-go. */
.door > span:not(.door-icon):not(.door-go) {
  display: block;
  font-size: 13.5px;
  color: var(--ink-500);
  margin-top: 4px;
}
.door-go { margin-top: 14px; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }

.door.is-client:hover { border-color: var(--primary); }
.door.is-client .door-icon { background: var(--primary-tint); color: var(--primary-deep); }
.door.is-client .door-go { color: var(--primary-deep); }

.door.is-vendor:hover { border-color: var(--accent); }
.door.is-vendor .door-icon { background: var(--accent-tint); color: var(--accent-ink); }
.door.is-vendor .door-go { color: var(--accent-ink); }

/* ── Phone mock (pure CSS/HTML — a real glimpse of the product) ────────── */
.phone-stage { position: relative; display: grid; place-items: center; }
.phone {
  width: min(300px, 78vw);
  background: var(--ink);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--sh-lg);
  transform: rotate(-2deg);
}
.phone-screen {
  background: var(--surface);
  border-radius: 36px;
  overflow: hidden;
  padding: 16px 14px 18px;
}
.phone-notch {
  width: 96px;
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--ink-300);
  margin: 2px auto 14px;
}
.mini-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: 1.1px; color: var(--ink-500); text-transform: uppercase; }
.mini-title { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; margin-top: 3px; }
.mini-tab { width: 22px; height: 3px; background: var(--primary); border-radius: var(--r-pill); margin-top: 8px; }

.mini-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 11px 12px;
  margin-top: 10px;
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.mini-row { display: flex; align-items: center; gap: 8px; }
.mini-avatar {
  width: 26px; height: 26px; border-radius: var(--r-pill);
  background: var(--primary-tint); color: var(--primary-deep);
  display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none;
}
.mini-row > span:not([class]) { min-width: 0; }
.mini-name { display: block; font-size: 12px; font-weight: 700; }
.mini-sub { display: block; font-size: 10px; color: var(--ink-500); }
.mini-price { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--primary-deep); font-variant-numeric: tabular-nums; }
.mini-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9.5px; font-weight: 700; padding: 3px 8px;
  border-radius: var(--r-pill); background: var(--primary-tint); color: var(--primary-deep);
}
.mini-pill.is-muted { background: var(--ink-100); color: var(--ink-500); }

/* a floating offer card that "arrives" */
.float-card {
  position: absolute;
  right: -6px;
  bottom: 42px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  animation: floaty 5.2s ease-in-out infinite;
}
.float-card small { display: block; font-size: 10px; color: var(--ink-500); }
.float-card b { font-size: 12.5px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.spark {
  position: absolute;
  left: -10px;
  top: 26px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  border-radius: var(--r-pill);
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--sh-sm);
  animation: floaty 6.4s ease-in-out infinite reverse;
}

/* ── Value strip ───────────────────────────────────────────────────────── */
.strip {
  border-block: 1px solid var(--border);
  background: var(--surface-alt);
  padding-block: 26px;
}
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .strip-grid { grid-template-columns: 1fr; } }
.strip-item { display: flex; gap: 12px; align-items: flex-start; }
.strip-item svg { flex: none; color: var(--primary-deep); margin-top: 2px; }
.strip-item > span > b { display: block; font-size: 15px; color: var(--ink); }
.strip-item > span > span { display: block; font-size: 13.5px; color: var(--ink-500); }

/* ── Dual track (client + meșter, side by side) ────────────────────────── */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px); }
@media (max-width: 860px) { .tracks { grid-template-columns: 1fr; } }

.track {
  border: 1.5px solid var(--border);
  border-radius: var(--r-xxl);
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
  position: relative;
}
.track.is-client { background: linear-gradient(180deg, var(--primary-tint) 0%, #fff 46%); }
.track.is-vendor { background: linear-gradient(180deg, var(--accent-tint) 0%, #fff 46%); }

.track-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 7px 13px; border-radius: var(--r-pill); background: var(--surface);
  border: 1.5px solid var(--border);
}
.track.is-client .track-badge { color: var(--primary-deep); }
.track.is-vendor .track-badge { color: var(--accent-ink); }
.track h3 { margin-top: 16px; font-size: clamp(21px, 2.4vw, 26px); }
.track > p { margin-top: 10px; color: var(--ink-500); font-size: 15px; }

.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--border); }
.steps li:first-child { border-top: 0; }
.step-n {
  width: 30px; height: 30px; border-radius: var(--r-pill);
  display: grid; place-items: center; flex: none;
  font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.track.is-client .step-n { background: var(--primary); color: var(--on-primary); }
.track.is-vendor .step-n { background: var(--accent); color: var(--on-accent); }
.steps > li > span:last-child { min-width: 0; }
.steps b { display: block; font-size: 15px; }
/* Description line ONLY — must not match .step-n (grid-centered badge). */
.steps > li > span > span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-500);
  margin-top: 2px;
}
.track .btn { margin-top: 24px; width: 100%; }
.track.is-vendor .btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 18px 40px -18px rgba(255, 84, 54, 0.55);
}
.track.is-vendor .btn-primary:hover { background: #ff6b52; }

/* ── Categories ────────────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--border); border-radius: var(--r-pill);
  padding: 10px 16px; font-size: 14px; font-weight: 600; background: var(--surface);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.chip:hover { border-color: var(--ink-300); transform: translateY(-2px); }
.chip svg { color: var(--ink); flex: none; } /* monochrome outlined — matches the app */

/* ── Feature cards ─────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card {
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  background: var(--surface);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.card-icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--primary-tint); color: var(--primary-deep);
}
.card.is-accent .card-icon { background: var(--accent-tint); color: var(--accent-ink); }
.card h3 { font-size: 17px; }
.card p { margin-top: 8px; font-size: 14.5px; color: var(--ink-500); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; }
.faq details {
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 4px 20px;
  margin-bottom: 10px;
  background: var(--surface);
}
.faq details[open] { border-color: var(--ink-300); background: var(--surface-alt); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 11px; height: 11px; flex: none;
  border-right: 2.4px solid var(--ink-500);
  border-bottom: 2.4px solid var(--ink-500);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 0 18px; color: var(--ink-500); font-size: 14.8px; max-width: 68ch; }

/* ── Download / store badges ───────────────────────────────────────────── */
.download {
  border: 1.5px solid var(--border);
  border-radius: var(--r-xxl);
  padding: clamp(28px, 4vw, 52px);
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 196, 106, 0.14), transparent 46%),
    var(--surface-alt);
  text-align: center;
}
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; text-align: left; }
@media (max-width: 760px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-col { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-xl); padding: 22px; }
.dl-head { display: flex; align-items: center; gap: 12px; }
.dl-tile { flex: none; width: 48px; height: 48px; border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.dl-col h3 { font-size: 17px; }
.dl-col p { font-size: 13.8px; color: var(--ink-500); margin-top: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 9px 16px; border-radius: var(--r-md);
  transition: transform 0.16s ease, background 0.16s ease;
}
.badge:hover { transform: translateY(-2px); background: var(--ink-700); }
.badge small { display: block; font-size: 9.5px; opacity: 0.75; line-height: 1.2; }
.badge b { display: block; font-size: 14px; line-height: 1.25; }
.badge svg { flex: none; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding-block: 52px 34px; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: 12px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--ink-500); font-weight: 700; }
.foot-links { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.foot-links a { text-decoration: none; color: var(--ink-700); font-size: 14.5px; }
.foot-links a:hover { color: var(--primary-deep); text-decoration: underline; }
.foot-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  font-size: 13px; color: var(--ink-500);
}
.foot-bottom .sep { margin-left: auto; }

/* EU co-financing notice (ESF+ / Programul Educație și Ocupare 2021-2027).
   Mandatory visibility element — image on top, statement centered below. */
.eu-notice {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.eu-notice img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto 16px;
}
.eu-notice p {
  margin: 0 auto;
  max-width: 62ch;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-500);
}
.eu-notice p + p { margin-top: 8px; }
.eu-notice strong { color: var(--ink-700); }

/* ── Cookie consent (RGPD) ─────────────────────────────────────────────── */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 28px));
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 20px 22px;
  z-index: 80;
  display: none;
}
.cookie[data-show="true"] { display: block; }
.cookie-title { font-size: 15.5px; font-weight: 800; }
.cookie p { font-size: 13.6px; color: var(--ink-500); margin-top: 7px; max-width: 62ch; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* RGPD: refusing must be exactly as easy — and as visible — as accepting.
   Both choices therefore get identical size and weight; only the fill differs so
   they remain distinguishable. No "reject" hidden in a link or a faded button. */
.cookie-actions .btn-consent {
  flex: 1 1 190px;
  justify-content: center;
  border: 1.5px solid var(--ink);
  font-weight: 700;
}
.cookie-actions .btn-consent.is-accept { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.cookie-actions .btn-consent.is-accept:hover { background: var(--primary-light); }
.cookie-actions .btn-consent.is-reject { background: var(--surface); color: var(--ink); }
.cookie-actions .btn-consent.is-reject:hover { background: var(--surface-alt); }
/* Works for both the <a> ("Vezi detalii") and the <button> ("Închide"). */
.cookie-more {
  align-self: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-deep);
  background: none;
  border: 0;
  padding: 4px 6px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}
.cookie-more[hidden] { display: none; }
.cookie-status { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.cookie-status:empty { display: none; }

/* ── Legal pages ───────────────────────────────────────────────────────── */
.legal { padding-block: clamp(40px, 6vw, 76px); }
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 42px); }
.legal .updated { margin-top: 14px; font-size: 13.5px; color: var(--ink-500); }
.legal h2 { font-size: clamp(20px, 2.3vw, 24px); margin-top: 44px; }
.legal h3 { font-size: 17px; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-700); font-size: 15.4px; line-height: 1.65; }
.legal p { margin-top: 14px; }
.legal ul, .legal ol { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--primary-deep); }

.notice {
  border: 1.5px dashed var(--ink-300);
  background: var(--surface-alt);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-top: 26px;
}
.notice b { display: block; margin-bottom: 6px; font-size: 14.5px; }
.notice p { font-size: 13.8px; color: var(--ink-500); margin-top: 4px; }

.legal-toc {
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-top: 30px;
  background: var(--surface-alt);
}
.legal-toc ol { margin-top: 10px; }
.legal-toc a { font-size: 14.5px; }

.data-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14.4px; }
.data-table th, .data-table td {
  text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-500); }
/* tabindex="0" in the markup makes this scrollable region keyboard-operable. */
.table-scroll { overflow-x: auto; border-radius: var(--r-sm); }
.table-scroll:focus-visible { outline: 3px solid var(--primary-deep); outline-offset: 3px; }

/* Keep the floating hero cards inside the frame on small screens. */
@media (max-width: 520px) {
  .float-card { right: 2px; bottom: 22px; padding: 9px 11px; }
  .spark { left: 2px; top: 12px; }
}
