/*
 * Site de prezentare ExecWise.
 * Culorile vin din tokenii aplicației (packages/ui-kit/src/styles/tokens.css):
 * neutre „Piatră caldă” + accent „Petrol”. Tema urmează sistemul (prefers-color-scheme).
 * Fonturi auto-găzduite (Inter, Source Serif 4, licență OFL, vezi fonts/).
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('fonts/source-serif-4-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('fonts/source-serif-4-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokeni ---------- */
:root {
  color-scheme: light dark;

  --bg: oklch(0.985 0.002 85);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.972 0.003 85);
  --border: oklch(0.915 0.005 85);
  --border-strong: oklch(0.86 0.007 85);
  --fg-muted: oklch(0.47 0.012 80);
  --fg: oklch(0.235 0.01 75);

  --accent: oklch(0.49 0.085 205);
  --accent-hover: oklch(0.44 0.085 205);
  --accent-fg: oklch(0.99 0 0);
  --accent-subtle: oklch(0.955 0.02 200);
  --accent-text: oklch(0.43 0.08 205);
  --ring: oklch(0.55 0.1 205);
  --glow: oklch(0.72 0.1 200 / 0.28);
  --ok-text: oklch(0.45 0.11 150);

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
  --shadow-lg: 0 24px 60px -16px oklch(0.25 0.03 205 / 0.28), 0 6px 16px -6px oklch(0.2 0.01 80 / 0.1);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', ui-serif, Georgia, 'Times New Roman', serif;

  --radius: 10px;
  --radius-lg: 16px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.165 0.004 80);
    --surface: oklch(0.195 0.005 80);
    --surface-2: oklch(0.222 0.005 80);
    --border: oklch(0.285 0.006 80);
    --border-strong: oklch(0.36 0.007 80);
    --fg-muted: oklch(0.74 0.008 80);
    --fg: oklch(0.955 0.004 85);

    --accent: oklch(0.72 0.1 195);
    --accent-hover: oklch(0.78 0.1 195);
    --accent-fg: oklch(0.18 0.02 205);
    --accent-subtle: oklch(0.27 0.04 205);
    --accent-text: oklch(0.8 0.09 195);
    --ring: oklch(0.75 0.1 195);
    --glow: oklch(0.6 0.1 200 / 0.22);
    --ok-text: oklch(0.82 0.11 150);

    --shadow-sm: none;
    --shadow-lg: 0 0 0 1px var(--border-strong), 0 30px 70px -20px oklch(0 0 0 / 0.7);
  }
}

/* ---------- bază ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  accent-color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent-text);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--accent-subtle);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

/* ---------- butoane ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    translate 150ms var(--ease);
}
.btn .icon {
  width: 18px;
  height: 18px;
  transition: translate 150ms var(--ease);
}
.btn:hover .icon-move {
  translate: 2px 0;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--surface-2);
}
.btn-sm {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 0.9rem;
}

/* ---------- antet ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.site-nav {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--fg-muted);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--fg);
  background: var(--surface-2);
}
.header-cta {
  margin-inline-start: 8px;
}
@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .header-cta {
    margin-inline-start: auto;
  }
}

/* ---------- secțiuni ---------- */
.section {
  padding-block: var(--section);
}
.section + .section {
  border-top: 1px solid var(--border);
}
.section-alt {
  background: var(--surface-2);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent-text);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
}
.section-head p {
  margin-top: 16px;
  color: var(--fg-muted);
  font-size: 1.1rem;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(56px, 9vw, 112px);
  padding-bottom: 0;
  isolation: isolate;
}
.hero::before {
  /* grilă discretă, care se stinge spre margini */
  content: '';
  position: absolute;
  inset: 0 0 40% 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.hero-copy {
  max-width: 820px;
}
.hero h1 {
  font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.hero-lead {
  margin-top: 22px;
  max-width: 640px;
  color: var(--fg-muted);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 14px;
  color: var(--fg-muted);
  font-size: 0.9rem;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 36px;
  color: var(--fg-muted);
  font-size: 0.925rem;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-facts .icon {
  width: 17px;
  height: 17px;
  color: var(--accent-text);
}

.hero-shot {
  position: relative;
  margin-top: clamp(48px, 7vw, 80px);
}
.hero-shot::before {
  content: '';
  position: absolute;
  inset: 8% 6% -4%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(30px);
}

/* fereastră de aplicație pentru capturi */
.frame {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.frame-bar .frame-url {
  width: auto;
  height: auto;
  margin-inline: auto;
  padding: 2px 12px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg-muted);
  font-size: 0.75rem;
}
.frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}
.hero .frame {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}
.hero-shot-wrap {
  /* captura „iese” din hero și e tăiată de secțiunea următoare */
  max-height: min(64vw, 660px);
  overflow: hidden;
  mask-image: linear-gradient(#000 82%, transparent);
}
@media (max-width: 640px) {
  /* pe telefon arătăm doar o porțiune mărită a capturii (fără meniul lateral), ca să se poată citi */
  .hero-shot-wrap {
    max-height: 360px;
  }
  .hero .frame img {
    width: 190%;
    max-width: none;
    aspect-ratio: 16 / 10;
    translate: -16.3% 0;
  }
  .frame-bar .frame-url {
    display: none;
  }
}
@media (max-width: 480px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- principiu ---------- */
.principle {
  padding-block: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--border);
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.principle-grid h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.principle-grid p {
  color: var(--fg-muted);
}
@media (max-width: 820px) {
  .principle-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- vitrine (funcții cu captură) ---------- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.showcase + .showcase {
  margin-top: clamp(56px, 8vw, 104px);
}
.showcase.reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.showcase.reverse .showcase-copy {
  order: 2;
}
.showcase-copy h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.2;
}
.showcase-copy > p {
  margin-top: 14px;
  color: var(--fg-muted);
}
.checks {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checks .icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--accent-text);
}
@media (max-width: 900px) {
  .showcase,
  .showcase.reverse {
    grid-template-columns: 1fr;
  }
  .showcase.reverse .showcase-copy {
    order: 0;
  }
}

/* telefon */
.phone {
  justify-self: center;
  width: min(100%, 300px);
  padding: 10px;
  border-radius: 44px;
  background: oklch(0.2 0.006 80);
  outline: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.phone img {
  border-radius: 34px;
  aspect-ratio: 390 / 844;
  width: 100%;
}

/* ---------- carduri de funcții ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(56px, 8vw, 104px);
}
@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms var(--ease);
}
.card:hover {
  border-color: var(--border-strong);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--accent-subtle);
  color: var(--accent-text);
}
.card p {
  margin-top: 8px;
  color: var(--fg-muted);
  font-size: 0.975rem;
  line-height: 1.55;
}

/* ---------- variante ---------- */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 820px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.plan-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.plan-head .card-icon {
  margin: 0;
  width: 46px;
  height: 46px;
}
.plan-head .icon {
  width: 22px;
  height: 22px;
}
.plan h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
}
.plan-sub {
  margin-top: 16px;
  color: var(--fg-muted);
}
.plan .checks {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.plan-fit {
  margin-top: auto;
  padding-top: 24px;
  color: var(--fg-muted);
  font-size: 0.925rem;
}
.plan-fit strong {
  color: var(--fg);
}
.plans-note {
  margin-top: 24px;
  color: var(--fg-muted);
  text-align: center;
}

/* ---------- siguranță ---------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.safety-grid .card {
  grid-column: span 2;
}
.safety-grid .card.wide {
  grid-column: span 3;
}
@media (max-width: 980px) {
  .safety-grid {
    grid-template-columns: 1fr 1fr;
  }
  .safety-grid .card,
  .safety-grid .card.wide {
    grid-column: span 1;
  }
  .safety-grid .card.wide:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  .safety-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- migrare ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: pas;
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  counter-increment: pas;
  position: relative;
  padding: 24px;
  border-top: 2px solid var(--accent);
  background: var(--surface);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: counter(pas, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--accent-text);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step p {
  margin-top: 8px;
  color: var(--fg-muted);
  font-size: 0.975rem;
}

/* ---------- întrebări ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) {
  .faq {
    grid-template-columns: 1fr;
  }
}
.faq .section-head {
  margin-bottom: 0;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-list details {
  border-bottom: 1px solid var(--border);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  min-height: 44px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  margin-inline-end: 6px;
  border-right: 2px solid var(--fg-muted);
  border-bottom: 2px solid var(--fg-muted);
  rotate: 45deg;
  translate: 0 -3px;
  transition:
    rotate 200ms var(--ease),
    translate 200ms var(--ease);
}
.faq-list details[open] summary::after {
  rotate: 225deg;
  translate: 0 3px;
}
.faq-list summary:hover {
  color: var(--accent-text);
}
.faq-answer {
  padding: 0 4px 22px;
  color: var(--fg-muted);
}
.faq-answer p + p {
  margin-top: 10px;
}
@media (prefers-reduced-motion: no-preference) {
  .faq-list details::details-content {
    block-size: 0;
    overflow-y: clip;
    transition:
      block-size 250ms var(--ease),
      content-visibility 250ms allow-discrete;
  }
  .faq-list details[open]::details-content {
    block-size: auto;
    block-size: calc-size(auto, size);
  }
}

/* ---------- contact ---------- */
.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  border-radius: 24px;
  background: oklch(0.3 0.05 210);
  color: oklch(0.97 0.005 200);
  isolation: isolate;
}
.contact-panel::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  aspect-ratio: 1;
  z-index: -1;
  background: radial-gradient(closest-side, oklch(0.6 0.1 195 / 0.45), transparent);
}
.contact-panel h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
  max-width: 680px;
}
.contact-panel > p {
  margin-top: 16px;
  max-width: 620px;
  color: oklch(0.87 0.02 200);
  font-size: 1.1rem;
}
.contact-panel .btn-primary {
  background: oklch(0.97 0.005 200);
  color: oklch(0.25 0.04 210);
}
.contact-panel .btn-primary:hover {
  background: oklch(1 0 0);
}
.contact-panel .btn-secondary {
  background: transparent;
  color: inherit;
  border-color: oklch(0.97 0.005 200 / 0.35);
  box-shadow: none;
}
.contact-panel .btn-secondary:hover {
  background: oklch(1 0 0 / 0.08);
}
.contact-panel :focus-visible {
  outline-color: oklch(0.97 0.005 200);
}
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid oklch(0.97 0.005 200 / 0.18);
  color: oklch(0.87 0.02 200);
  font-size: 0.95rem;
}
.contact-meta a {
  color: oklch(0.97 0.005 200);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-section {
  padding-block: var(--section);
}

/* ---------- subsol ---------- */
.site-footer {
  padding-block: 32px 40px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.footer-inner a {
  color: var(--fg-muted);
}
.footer-inner a:hover {
  color: var(--fg);
}

/* ---------- pagină de text (confidențialitate) ---------- */
.prose {
  max-width: 720px;
  padding-block: clamp(48px, 8vw, 96px);
}
.prose h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3rem);
  margin-bottom: 12px;
}
.prose .updated {
  color: var(--fg-muted);
  font-size: 0.925rem;
}
.prose h2 {
  margin-top: 44px;
  margin-bottom: 12px;
  font-size: 1.5rem;
}
.prose p,
.prose ul {
  color: var(--fg-muted);
}
.prose p + p,
.prose p + ul,
.prose ul + p {
  margin-top: 12px;
}
.prose ul {
  padding-left: 1.2em;
  list-style: disc;
}
.prose li + li {
  margin-top: 6px;
}
.prose strong {
  color: var(--fg);
}

/* ---------- apariție la derulare (doar dacă browserul știe și utilizatorul acceptă mișcare) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal {
      from {
        opacity: 0;
        translate: 0 24px;
      }
    }
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.prose .back {
  margin-top: 44px;
}
.site-header .brand + .header-cta {
  margin-inline-start: auto;
}
