/* Routerel — site (stilul „Joc”, docs/DESIGN.md). Un singur fișier CSS pentru toate paginile. */

/* ---------- Fonturi (găzduite local: fără cereri către Google) ---------- */
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("assets/fonts/nunito-latin.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;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("assets/fonts/nunito-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/roboto-mono-500-latin.woff2") format("woff2");
}

/* ---------- Tokeni (DESIGN.md) ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --surface: #ffffff;
  --surface2: #f2f4f7;
  --ink: #3a3f47;
  --ink-strong: #22262d;
  --muted: #5f6672;
  --line: #e3e6eb;
  --line-strong: #cdd2da;
  --brand: #2f6bff;
  --brand-dark: #1f4fd1;
  --brand-soft: #e7eeff;
  --brand-ink: #1f4fd1;
  --on-brand: #ffffff;
  --led: #ffb020;
  --led-dark: #d98c00;
  --led-ink: #9a6100;
  --led-soft: #fff3d6;
  --ok: #2db45a;
  --ok-dark: #20894a;
  --ok-soft: #dcf7e5;
  --ok-ink: #1d7a41;
  --bad: #f0473d;
  --bad-soft: #ffe4e2;
  --bad-ink: #c2302a;
  --tag: #8b5cf6;
  --tag-soft: #efe9ff;
  --tag-ink: #6b3fd8;
  --code-bg: #1b2130;
  --code-fg: #dfe8ff;
  --header-bg: rgba(255, 255, 255, 0.78);
  --glow-a: rgba(47, 107, 255, 0.16);
  --glow-b: rgba(255, 176, 32, 0.14);
  --dot: rgba(34, 38, 45, 0.07);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 30px 60px -28px rgba(20, 40, 110, 0.35);
  --cta-a: #2a5ff0;
  --cta-b: #1a41b8;
  --radius: 16px;
  --radius-lg: 24px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #12151b; --bg-alt: #161a21; --surface: #1a1f27; --surface2: #222934;
    --ink: #e3e7ee; --ink-strong: #f5f7fa; --muted: #a3acba; --line: #2c3440; --line-strong: #3b4452;
    --brand: #5b8cff; --brand-dark: #3a66d6; --brand-soft: #1d2a48; --brand-ink: #8fb0ff; --on-brand: #0b1020;
    --led: #ffbe3d; --led-dark: #c98d12; --led-ink: #ffbe3d; --led-soft: #3a2c10;
    --ok: #3cc96b; --ok-dark: #24944e; --ok-soft: #163824; --ok-ink: #6fe39a;
    --bad: #ff5d54; --bad-soft: #3b1a19; --bad-ink: #ff8a83;
    --tag: #a98bff; --tag-soft: #2a2148; --tag-ink: #c3adff;
    --code-bg: #0b0e14;
    --header-bg: rgba(18, 21, 27, 0.78);
    --glow-a: rgba(91, 140, 255, 0.16); --glow-b: rgba(255, 190, 61, 0.08); --dot: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3); --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
    --cta-a: #1f3a8a; --cta-b: #172554;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12151b; --bg-alt: #161a21; --surface: #1a1f27; --surface2: #222934;
  --ink: #e3e7ee; --ink-strong: #f5f7fa; --muted: #a3acba; --line: #2c3440; --line-strong: #3b4452;
  --brand: #5b8cff; --brand-dark: #3a66d6; --brand-soft: #1d2a48; --brand-ink: #8fb0ff; --on-brand: #0b1020;
  --led: #ffbe3d; --led-dark: #c98d12; --led-ink: #ffbe3d; --led-soft: #3a2c10;
  --ok: #3cc96b; --ok-dark: #24944e; --ok-soft: #163824; --ok-ink: #6fe39a;
  --bad: #ff5d54; --bad-soft: #3b1a19; --bad-ink: #ff8a83;
  --tag: #a98bff; --tag-soft: #2a2148; --tag-ink: #c3adff;
  --code-bg: #0b0e14;
  --header-bg: rgba(18, 21, 27, 0.78);
  --glow-a: rgba(91, 140, 255, 0.16); --glow-b: rgba(255, 190, 61, 0.08); --dot: rgba(255, 255, 255, 0.05);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3); --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  --cta-a: #1f3a8a; --cta-b: #172554;
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
h1, h2, h3, h4 { color: var(--ink-strong); font-weight: 900; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
code, kbd, pre { font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 500; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--brand-soft); color: var(--ink-strong); }
[hidden] { display: none !important; }

.sr-only { 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: 16px; top: -100px; z-index: 100;
  background: var(--brand); color: var(--on-brand); padding: 12px 18px; border-radius: 12px; font-weight: 900; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brand-ink); background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 3px color-mix(in srgb, var(--led) 30%, transparent); }

.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 2.4vw + 1rem, 2.85rem); }
.section-head > p:not(.eyebrow) { color: var(--muted); font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem); margin: 0; }
.section-head--left { text-align: left; margin-inline: 0; }

.hl { color: var(--brand); }
.hl-led { color: var(--led-ink); }
.nowrap { white-space: nowrap; }

/* ---------- Butoane „apăsabile” (2 px chenar + 4 px jos) ---------- */
.btn {
  --edge: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--radius); border: 2px solid var(--edge);
  box-shadow: 0 3px 0 var(--edge);
  background: var(--brand-aa, var(--brand)); color: var(--on-brand);
  font: 900 0.98rem/1.1 "Nunito", system-ui, sans-serif; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform 60ms ease, box-shadow 60ms ease, filter 120ms ease, background-color 120ms ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
  margin-bottom: 3px;
}
.btn:hover { filter: brightness(1.06); text-decoration: none; }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--edge); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --edge: var(--line-strong); background: var(--surface); color: var(--ink-strong); }
.btn--ghost:hover { background: var(--surface2); filter: none; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.85rem; border-radius: 13px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { --edge: var(--line-strong); background: var(--surface2); color: var(--muted); cursor: default; filter: none; }
.btn[aria-disabled="true"]:active { transform: none; box-shadow: 0 3px 0 var(--edge); }
.btn[aria-disabled="true"] svg { display: none; }

/* Insigna Google Play (desenată de noi). Stări: html.play-soon / html.play-live */
.play {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 22px 8px 16px;
  background: #0d1017; color: #fff;
  border: 2px solid #2c3440; border-radius: var(--radius);
  box-shadow: 0 3px 0 #000;
  text-decoration: none; line-height: 1.1;
  transition: transform 60ms ease, box-shadow 60ms ease, filter 120ms ease;
  margin-bottom: 3px;
}
.play:hover { filter: brightness(1.25); text-decoration: none; }
.play:active { transform: translateY(3px); box-shadow: 0 0 0 #000; }
.play svg { width: 26px; height: 28px; flex: none; }
.play small { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.play strong { display: block; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.01em; }
.play[aria-disabled="true"] { cursor: default; }
.play[aria-disabled="true"]:hover { filter: none; }
.play[aria-disabled="true"]:active { transform: none; box-shadow: 0 3px 0 #000; }
.soon-pill { font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; background: var(--led); color: #2a1d00; padding: 3px 8px; border-radius: 999px; margin-left: 4px; }
html.play-soon [data-when="live"], html.play-live [data-when="soon"] { display: none !important; }

/* ---------- Antet ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.35); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-strong); text-decoration: none; font-weight: 900; font-size: 1.3rem; letter-spacing: -0.02em; margin-right: auto; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand:hover { text-decoration: none; }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--ink); font-weight: 800; font-size: 0.98rem; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--surface2); color: var(--ink-strong); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { position: relative; display: inline-flex; border-radius: 12px; overflow: hidden; background: var(--surface); }
/* chenarul e desenat deasupra, ca butoanele RO/EN să aibă 44 px întregi (ținta de atingere) */
.lang-switch::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--line-strong); border-radius: 12px; pointer-events: none; }
.lang-switch a, .lang-switch span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-weight: 900; font-size: 0.85rem; letter-spacing: 0.04em; text-decoration: none; color: var(--muted); }
.lang-switch [aria-current="true"] { background: var(--brand-soft); color: var(--brand-ink); }
.lang-switch a:hover { color: var(--ink-strong); background: var(--surface2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; border: 2px solid var(--line-strong); background: var(--surface); color: var(--ink-strong); cursor: pointer;
}
.icon-btn:hover { background: var(--surface2); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.header-cta { display: none; }
.menu-btn { display: inline-flex; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); overscroll-behavior: contain; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; display: grid; gap: 2px; }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--ink-strong); font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.mobile-nav a:hover { background: var(--surface2); }
.mobile-nav .btn { margin-top: 8px; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1000px) {
  .main-nav { display: block; }
  .menu-btn, .mobile-nav { display: none !important; }
  .brand { margin-right: 12px; }
  .main-nav { margin-right: auto; }
}
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand span { font-size: 1.15rem; }
  .header-row { gap: 4px; }
  .header-actions { gap: 4px; }
}
/* Pe ecranele foarte înguste rămâne doar sigla (linkul își păstrează numele din aria-label). */
@media (max-width: 359px) {
  .site-header .brand { min-width: 44px; justify-content: center; }
  .site-header .brand span { display: none; }
}

/* ---------- Mascota ---------- */
.mascot { display: block; overflow: visible; }
.mascot .m-body { fill: var(--brand); }
.mascot .m-belly { fill: var(--brand-dark); }
.mascot .m-led { fill: var(--led); }
.mascot .m-leg { stroke: var(--led-dark); }
.mascot .m-ok { fill: var(--ok); }
.mascot .m-bad { fill: var(--bad); }
.mascot .m-breathe { transform-origin: 32px 58px; transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .mascot--live .m-breathe { animation: m-breathe 2.8s ease-in-out infinite; }
  .mascot--live .m-pupil { animation: m-blink 4.2s infinite; transform-origin: center; transform-box: fill-box; }
  .mascot--live .m-led-l { animation: m-led 2.7s steps(1) infinite; }
  .mascot--live .m-led-r { animation: m-led 2.7s steps(1) 0.9s infinite; }
  .float { animation: float 6s ease-in-out infinite; }
  .float--slow { animation-duration: 8s; animation-delay: -2s; }
}
@keyframes m-breathe { 50% { transform: scale(1.035); } }
@keyframes m-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.12); } }
@keyframes m-led { 0%, 66% { fill: var(--led); } 33% { fill: var(--led-dark); } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 12% 8%, var(--glow-a), transparent 70%),
    radial-gradient(520px 420px at 92% 30%, var(--glow-b), transparent 70%),
    radial-gradient(700px 500px at 70% 100%, var(--glow-a), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; } }
.hero h1 { font-size: clamp(2.35rem, 4.6vw + 1rem, 4.35rem); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero h1 .mark { position: relative; white-space: nowrap; color: var(--brand); }
.hero h1 .mark::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: 0.02em; height: 0.16em; border-radius: 999px;
  background: var(--led); opacity: 0.85; z-index: -1;
}
.lead { font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem); color: var(--ink); max-width: 36em; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.microcopy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 18px 0 0; color: var(--muted); font-size: 1rem; font-weight: 700; }
.microcopy span { display: inline-flex; align-items: center; gap: 6px; }
.microcopy svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* Telefoane */
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 0; padding: 12px 0 0; }
.phones { position: relative; width: min(100%, 470px); aspect-ratio: 470 / 560; }
.phone {
  position: absolute; padding: 9px; border-radius: 42px;
  background: linear-gradient(160deg, #2a3142, #0c0f15 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.25), var(--shadow-lg);
}
.phone img { border-radius: 33px; width: 100%; aspect-ratio: 1170 / 2532; object-fit: cover; object-position: top; background: #fff; }
.phone--front { width: 54%; left: 10%; top: 4%; z-index: 2; }
.phone--back { width: 48%; right: 2%; top: 14%; z-index: 1; transform: rotate(6deg); }
.phone--back img { background: #12151b; }
.hero-mascot { position: absolute; z-index: 3; width: 22%; left: -2%; top: 58%; filter: drop-shadow(0 14px 18px rgba(20, 40, 110, 0.28)); }
.chip-float {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 14px; font-weight: 900; font-size: 0.92rem; white-space: nowrap;
  background: var(--surface); color: var(--ink-strong); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line), 0 18px 30px -18px rgba(0, 0, 0, 0.35);
}
.chip-float svg { width: 18px; height: 18px; flex: none; }
.chip-float--ok { left: 40%; top: 0; color: var(--ok-ink); }
.chip-float--ok svg { color: var(--ok); }
.chip-float--led { right: 0; bottom: 6%; color: var(--led-ink); }
.chip-float--led svg { color: var(--led); }
@media (max-width: 420px) { .chip-float { font-size: 0.8rem; padding: 7px 10px; } }

/* ---------- Banda de încredere ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.trust li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trust .ti { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.trust .ti svg { width: 22px; height: 22px; }
.trust .tt { display: grid; min-width: 0; }
.trust .tnum { display: block; color: var(--ink-strong); font-weight: 900; font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.02em; }
.trust strong { display: block; color: var(--ink-strong); font-weight: 900; font-size: 1rem; line-height: 1.25; }
.trust .tsub { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.3; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 899px) { .trust li:last-child { grid-column: 1 / -1; } }

/* ---------- Carduri generale ---------- */
.card {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 4px 0 var(--line);
  padding: clamp(20px, 2.4vw, 28px);
}
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.icon-tile svg { width: 24px; height: 24px; }
.t-brand { background: var(--brand-soft); color: var(--brand-ink); }
.t-led { background: var(--led-soft); color: var(--led-ink); }
.t-ok { background: var(--ok-soft); color: var(--ok-ink); }
.t-bad { background: var(--bad-soft); color: var(--bad-ink); }
.t-tag { background: var(--tag-soft); color: var(--tag-ink); }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid { gap: 20px; } }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink); }
.card p + p { margin-top: 10px; }

/* Problema */
.pain .card { box-shadow: 0 4px 0 var(--line); }
.pain-note { text-align: center; max-width: 680px; margin: clamp(32px, 4vw, 48px) auto 0; font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); color: var(--ink-strong); font-weight: 800; }

/* Mecanismul */
.mech-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .mech-grid { grid-template-columns: 1.15fr 0.85fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); padding: 18px 20px; }
.step-num {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand); font-weight: 900; font-size: 1.15rem;
  border: 2px solid var(--brand-dark); box-shadow: 0 3px 0 var(--brand-dark);
}
.step h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.step p { margin: 0; }
.mech-visual { display: flex; justify-content: center; }
.mech-visual .phone { position: relative; width: min(300px, 78vw); }
.mech-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink-strong); }
.timeline { margin-top: clamp(36px, 5vw, 56px); }
.timeline h3 { font-size: 1.15rem; text-align: center; margin-bottom: 16px; }
.track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 6px; align-items: center; }
.track li { display: inline-flex; align-items: center; gap: 6px; }
.track .node { padding: 8px 14px; border-radius: 12px; font-weight: 900; font-size: 0.95rem; background: var(--surface); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); color: var(--ink-strong); white-space: nowrap; }
.track .node--bad { background: var(--bad-soft); border-color: transparent; box-shadow: none; color: var(--bad-ink); }
.track .node--ok { background: var(--ok-soft); border-color: transparent; box-shadow: none; color: var(--ok-ink); }
.track .arrow { color: var(--muted); width: 18px; height: 18px; flex: none; }
.track-note { text-align: center; color: var(--muted); margin: 14px auto 0; max-width: 640px; font-size: 0.98rem; }

/* Înainte / după */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 4px 0 var(--line); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 900; color: var(--muted); background: var(--bg-alt); }
.compare thead th.with { color: var(--brand-ink); background: var(--brand-soft); }
.compare tbody th { color: var(--ink-strong); font-weight: 900; width: 22%; }
.compare td.with { background: color-mix(in srgb, var(--brand-soft) 45%, transparent); color: var(--ink-strong); font-weight: 700; }
.compare .cell { display: flex; gap: 10px; align-items: flex-start; }
.compare .cell svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.compare .without svg { color: var(--bad); }
.compare .with svg { color: var(--ok); }
.compare .without { color: var(--muted); }
@media (max-width: 720px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare { border: 0; box-shadow: none; background: none; border-radius: 0; }
  .compare thead { display: none; }
  .compare tr { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); margin-bottom: 14px; overflow: hidden; }
  .compare tbody th { width: 100%; padding: 14px 16px 6px; border: 0; font-size: 1.05rem; }
  .compare td { border: 0; padding: 8px 16px; }
  .compare td.with { padding-bottom: 14px; border-radius: 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 2px; color: var(--muted); }
  .compare td.with::before { color: var(--brand-ink); }
}

/* Galeria */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.gallery-head .section-head { margin: 0; }
.gallery-nav { display: none; gap: 10px; }
@media (min-width: 720px) { .gallery-nav { display: flex; } }
.gallery-nav button:disabled { opacity: 0.4; cursor: default; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 270px); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
  padding: 6px 16px 22px; margin: 0; list-style: none;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
@media (min-width: 640px) { .gallery { padding-inline: 24px; scroll-padding-inline: 24px; } }
@media (min-width: 1180px) { .gallery { padding-inline: calc((100vw - 1180px) / 2 + 32px); scroll-padding-inline: calc((100vw - 1180px) / 2 + 32px); } }
.gallery li { scroll-snap-align: start; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); background: var(--surface2); }
.gallery figcaption { margin-top: 10px; font-weight: 800; color: var(--ink-strong); font-size: 0.98rem; }
.gallery:focus-visible { outline-offset: -3px; }

/* Stiva de valoare */
.stack { display: grid; gap: 14px; }
@media (min-width: 760px) { .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stack { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stack-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.stack-item .icon-tile { margin: 0; }
.stack-item h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.stack-item p { font-size: 0.98rem; }
.solves { display: grid; grid-template-columns: 16px 1fr; gap: 8px; align-items: start; margin-top: 10px !important; font-weight: 800; color: var(--ok-ink) !important; font-size: 0.97rem !important; line-height: 1.4; }
.solves svg { margin-top: 2px; }
.stack-total {
  margin-top: 20px; display: grid; gap: 18px; align-items: center;
  background: var(--brand-soft); border: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px);
}
@media (min-width: 860px) { .stack-total { grid-template-columns: 1fr auto; } }
.stack-total h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); margin-bottom: 6px; }
.stack-total p { margin: 0; color: var(--ink); }
.stack-total .anchor { margin-top: 8px; font-size: 0.97rem; color: var(--muted); }

/* Pentru cine */
.fit { display: grid; gap: 16px; }
@media (min-width: 860px) { .fit { grid-template-columns: 1fr 1fr; gap: 20px; } }
.fit .card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 16px; }
.fit .card h3 .icon-tile { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 22px; height: 22px; margin-top: 2px; }
.checklist.yes svg { color: var(--ok); }
.checklist.no svg { color: var(--bad); }
.fit .card.yes-card { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); box-shadow: 0 4px 0 color-mix(in srgb, var(--ok) 45%, var(--line)); }

/* Prețuri */
.plans { display: grid; gap: 18px; align-items: stretch; max-width: 1060px; margin-inline: auto; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; padding-top: 8px; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 4px; }
.plan h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }
.plan .price { font-size: clamp(2.2rem, 2vw + 1.4rem, 2.7rem); font-weight: 900; color: var(--ink-strong); letter-spacing: -0.02em; line-height: 1.05; }
.plan .period { color: var(--muted); font-weight: 800; }
.plan .permonth { margin-top: 10px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 900; color: var(--ink-strong); }
.plan .save { font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 8px; background: var(--ok-soft); color: var(--ok-ink); }
.plan .checklist { margin: 18px 0 22px; font-size: 0.98rem; }
.plan .checklist svg { width: 20px; height: 20px; color: var(--ok); }
.plan .btn { margin-top: auto; }
.plan--featured { border-color: var(--brand); box-shadow: 0 6px 0 var(--brand-dark), 0 30px 60px -30px rgba(47, 107, 255, 0.55); padding-top: clamp(30px, 3vw, 40px); padding-bottom: clamp(26px, 3vw, 36px); }
.plan--featured h3 { color: var(--brand-ink); }
.ribbon {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--led); color: #2a1d00; font-weight: 900; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em;
  padding: 6px 14px; border-radius: 999px; border: 2px solid var(--led-dark); box-shadow: 0 2px 0 var(--led-dark); white-space: nowrap;
}
/* Ordinea planurilor rămâne Lunar · 3 luni · Anual și pe ecrane mici (cerut de Sorin); 3 luni e doar evidențiat. */
@media (max-width: 899px) { .plan--featured { margin-top: 10px; } }
.legal-note { max-width: 66ch; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 0.97rem; }
.legal-note a { color: var(--brand-ink); }
.free-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 34px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); font-weight: 800; color: var(--ink-strong); font-size: 0.95rem; }
.pill svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* Fără risc */
.risk { display: grid; gap: 22px; align-items: center; margin-top: clamp(40px, 5vw, 64px); background: var(--surface); border: 2px solid color-mix(in srgb, var(--ok) 50%, var(--line)); box-shadow: 0 4px 0 color-mix(in srgb, var(--ok) 50%, var(--line)); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); }
@media (min-width: 900px) { .risk { grid-template-columns: auto 1fr; gap: 32px; } }
.risk .shield { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok-ink); }
.risk .shield svg { width: 44px; height: 44px; }
.risk h3 { font-size: clamp(1.35rem, 1vw + 1rem, 1.75rem); margin-bottom: 12px; }
.risk ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.risk li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.risk li svg { width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }

/* Recenzii (ascunse până avem recenzii reale) */
.reviews blockquote { margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 3px 0 var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 900; color: var(--ink-strong); font-size: 1.08rem; border-radius: 16px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--surface2); color: var(--ink-strong); transition: transform 200ms ease, background-color 200ms ease; }
.faq summary .pm svg { width: 18px; height: 18px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--brand-soft); color: var(--brand-ink); }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.faq .answer { padding: 0 20px 20px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA final */
.final {
  position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg, var(--cta-a), var(--cta-b));
  color: #fff; padding: clamp(32px, 5vw, 64px);
  display: grid; gap: 28px; align-items: center;
}
.final::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
@media (min-width: 900px) { .final { grid-template-columns: 1fr auto; } }
.final h2 { color: #fff; font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem); }
.final p { color: #e6edff; font-size: 1.1rem; }
.final .recap { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.final .recap li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(6, 16, 60, 0.28); font-weight: 800; font-size: 0.93rem; color: #fff; }
.final .recap svg { width: 16px; height: 16px; color: #8ff0b0; }
.final .microcopy { color: #dbe5ff; }
.final .microcopy svg { color: #8ff0b0; }
.final .mascot-wrap { position: relative; width: clamp(120px, 18vw, 220px); justify-self: center; }
@media (max-width: 899px) { .final .mascot-wrap { order: -1; width: 92px; justify-self: start; } }
.final .mascot .m-body { fill: #5b8cff; }
.final .mascot .m-belly { fill: #3a66d6; }
.final .play { border-color: rgba(255, 255, 255, 0.25); }
.final a:not(.play):not(.btn) { color: #fff; }

/* Bara de jos pe telefon */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden; transition: transform 240ms ease, visibility 0s linear 240ms;
}
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform 240ms ease, visibility 0s; }
.sticky-cta p { margin: 0; font-size: 0.85rem; line-height: 1.3; font-weight: 800; color: var(--ink-strong); }
.sticky-cta p span { display: block; color: var(--muted); font-weight: 700; }
.sticky-cta .btn { min-height: 46px; padding: 0 16px; font-size: 0.85rem; flex: none; }
@media (min-width: 760px) { .sticky-cta { display: none; } }
/* Spațiu sub subsol doar cât timp bara e vizibilă (clasa o pune assets/site.js). */
@media (max-width: 759px) { body.sticky-on .site-footer { padding-bottom: 96px; } }
/* Pe ecranele înguste bara arată doar textul scurt, ca să rămână pe un rând (~64 px). */
@media (max-width: 359px) {
  .sticky-cta { gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .sticky-cta p span { display: none; }
  .sticky-cta .btn { min-height: 44px; padding: 0 14px; }
  .sticky-cta .btn svg { display: none; }
}

/* ---------- Subsol ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: clamp(40px, 5vw, 64px) 0 32px; font-size: 0.97rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-grid .about { grid-column: 1 / -1; max-width: 360px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } .footer-grid .about { grid-column: auto; } }
@media (max-width: 899px) { .footer-grid > div:last-child { grid-column: 1 / -1; } }
.footer-grid h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid a { color: var(--ink-strong); font-weight: 700; text-decoration: none; display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--brand-ink); text-decoration: underline; }
.footer-grid .about p { color: var(--muted); margin: 12px 0 0; }
.disclaimer { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; line-height: 1.55; }
.disclaimer p { margin: 0 0 8px; }

/* ---------- Animații la derulare ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
  html.js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Pagini interioare (hub-uri, legal, articole) ---------- */
.page-hero { position: relative; overflow: clip; padding-block: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 48px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 10% 0%, var(--glow-a), transparent 70%), radial-gradient(500px 300px at 95% 20%, var(--glow-b), transparent 70%); }
.page-hero h1 { font-size: clamp(2.1rem, 3vw + 1rem, 3.3rem); letter-spacing: -0.025em; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { margin-bottom: 18px; font-size: 0.92rem; font-weight: 700; }
.crumbs ol, .prose .crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-strong); }

.empty { display: grid; gap: 18px; justify-items: center; text-align: center; padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 40px); }
.empty .mascot { width: 96px; }
.empty h2 { font-size: clamp(1.4rem, 1vw + 1rem, 1.8rem); margin: 0; }
.empty p { color: var(--muted); max-width: 520px; margin: 0; }

.post-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: transform 120ms ease, box-shadow 120ms ease; }
a.post-card:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--line-strong); text-decoration: none; }
.post-card .tagline { font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; color: var(--tag-ink); }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card p { color: var(--muted); }
.badge-soon { align-self: flex-start; font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; background: var(--led-soft); color: var(--led-ink); }

.cta-box {
  display: grid; gap: 18px; align-items: center; margin: 40px 0;
  background: var(--brand-soft); border: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px);
}
@media (min-width: 720px) { .cta-box { grid-template-columns: auto 1fr auto; } }
.cta-box .mascot { width: 72px; }
.cta-box h2, .cta-box h3 { font-size: 1.3rem; margin: 0 0 4px; }
.cta-box p { margin: 0; color: var(--ink); }

/* Legal + articol: text lung, ușor de citit */
.prose { max-width: 760px; margin-inline: auto; }
.prose h1 { font-size: clamp(2rem, 2.5vw + 1rem, 2.9rem); letter-spacing: -0.025em; margin-bottom: 0.4em; }
.prose h2 { font-size: clamp(1.35rem, 0.8vw + 1rem, 1.65rem); margin: 2em 0 0.5em; }
.prose h3 { font-size: 1.18rem; margin: 1.6em 0 0.4em; }
.prose p, .prose li { font-size: 1.04rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--brand); font-weight: 900; }
.prose .meta { color: var(--muted); font-size: 0.95rem; font-weight: 700; margin: 0 0 1.4em; }
.prose strong { color: var(--ink-strong); font-weight: 800; }
.prose .card { margin: 40px 0 0; padding: clamp(20px, 3vw, 32px); }
.prose .card > h2:first-child { margin-top: 0.2em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.98rem; margin: 0 0 1.2em; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 900; background: var(--bg-alt); }
/* Pe telefon, tabelul din confidențialitate devine o listă de carduri. */
@media (max-width: 600px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal tr:first-child { display: none; }
  .legal tr { background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 14px; padding: 10px 14px; margin: 0 0 12px; }
  .legal td { border: 0; padding: 3px 0; }
  .legal td[data-label]::before { content: attr(data-label) " "; font-weight: 800; color: var(--muted); }
}
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.legal-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); font-weight: 800; color: var(--ink-strong); text-decoration: none; font-size: 0.95rem; }
.legal-tabs a:hover { border-color: var(--line-strong); background: var(--surface2); }
.legal-tabs a[aria-current="page"] { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }

/* Articol (șablon) */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-weight: 700; font-size: 0.95rem; margin-bottom: 28px; }
.article-meta .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.article-meta .avatar .mascot { width: 26px; }
.toc { background: var(--bg-alt); border: 2px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 0 0 32px; }
.toc h2 { font-size: 0.85rem !important; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 8px !important; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { font-weight: 800; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose pre { background: var(--code-bg); color: var(--code-fg); padding: 16px 18px; border-radius: 16px; overflow-x: auto; font-size: 0.9rem; line-height: 1.6; margin: 0 0 1.3em; }
.prose :not(pre) > code { background: var(--surface2); color: var(--ink-strong); padding: 0.1em 0.4em; border-radius: 6px; font-size: 0.9em; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 18px; border: 2px solid var(--line); }
.prose figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 8px; text-align: center; }
.callout { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 18px; border-radius: 16px; margin: 0 0 1.3em; border: 2px solid transparent; }
.callout svg { width: 22px; height: 22px; margin-top: 3px; }
.callout p:last-child { margin: 0; }
.callout--info { background: var(--brand-soft); color: var(--ink-strong); } .callout--info svg { color: var(--brand-ink); }
.callout--tip { background: var(--ok-soft); color: var(--ink-strong); } .callout--tip svg { color: var(--ok-ink); }
.callout--warn { background: var(--led-soft); color: var(--ink-strong); } .callout--warn svg { color: var(--led-ink); }
.related { margin-top: 48px; }
.related h2 { margin-top: 0; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.notfound .mascot { width: 140px; margin: 0 auto 20px; }
.notfound h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
.notfound p { color: var(--muted); max-width: 520px; margin-inline: auto; }
.notfound .cta-row { justify-content: center; margin-top: 24px; }

/* =====================================================================
   Antet fix (se micșorează fără să miște conținutul), animații, demo
   ===================================================================== */
body { padding-top: 68px; }
.site-header { position: fixed; left: 0; right: 0; top: 0; }
.header-row { transition: min-height 200ms ease; }
.site-header.is-scrolled .header-row { min-height: 58px; }
.brand img { transition: transform 200ms ease; }
.site-header.is-scrolled .brand img { transform: scale(0.9); }
.mobile-nav { max-height: calc(100vh - 68px); overflow-y: auto; }

/* Fundal animat în hero (doar transform) */
.hero::before { display: none; }
.blobs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--a { width: 620px; height: 620px; left: -180px; top: -220px; background: radial-gradient(closest-side, var(--glow-a), transparent); }
.blob--b { width: 560px; height: 560px; right: -160px; top: 40px; background: radial-gradient(closest-side, var(--glow-b), transparent); }
.blob--c { width: 720px; height: 720px; left: 35%; bottom: -420px; background: radial-gradient(closest-side, var(--glow-a), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .blob--a { animation: blob-a 18s ease-in-out infinite alternate; }
  .blob--b { animation: blob-b 22s ease-in-out infinite alternate; }
  .blob--c { animation: blob-a 26s ease-in-out infinite alternate-reverse; }
}
@keyframes blob-a { to { transform: translate3d(120px, 60px, 0) scale(1.12); } }
@keyframes blob-b { to { transform: translate3d(-110px, 90px, 0) scale(0.9); } }

/* Telefonul din hero: capturile se schimbă; înclinare la mouse */
.phones { transform: perspective(1400px) translate3d(0, var(--sy, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1); transform-style: preserve-3d; will-change: transform; }
.screen { position: relative; aspect-ratio: 1170 / 2532; border-radius: 33px; overflow: hidden; background: #fff; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; opacity: 0; transition: opacity 700ms ease; }
.screen img.is-on { opacity: 1; }
.phone--back .screen { background: #12151b; }
@media (prefers-reduced-motion: no-preference) {
  .phone--front { animation: float 7s ease-in-out infinite; }
  .phone--back { animation: float-tilt 9s ease-in-out -3s infinite; }
}
@keyframes float-tilt { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(6deg) translateY(-12px); } }
.hero-mascot .mascot { transition: transform 200ms ease; }
@media (prefers-reduced-motion: no-preference) {
  .hero-mascot:hover .mascot, .bounce-hover:hover .mascot { animation: hop 650ms cubic-bezier(0.3, 0.7, 0.3, 1); }
}
@keyframes hop { 30% { transform: translateY(-16%) scale(1.05); } 55% { transform: translateY(0) scale(0.97, 1.03); } 75% { transform: translateY(-5%); } }

/* Intrarea elementelor din hero (fără să ascundă textul principal) */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual { animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .chip-float--ok { animation: pop-in 500ms 700ms cubic-bezier(0.3, 1.4, 0.5, 1) both, float 6s 1.2s ease-in-out infinite; }
  .chip-float--led { animation: pop-in 500ms 1000ms cubic-bezier(0.3, 1.4, 0.5, 1) both, float 7s 1.5s ease-in-out infinite; }
}
@keyframes rise { from { transform: translateY(24px); } to { transform: none; } }
@keyframes pop-in { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* Ridicare la hover pe carduri */
@media (hover: hover) {
  .lift { transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
  .lift:hover { transform: translateY(-4px); box-shadow: 0 8px 0 var(--line), 0 24px 40px -28px rgba(20, 40, 110, 0.35); }
}

/* Apariție în cascadă */
@media (prefers-reduced-motion: no-preference) {
  html.js .stagger > .reveal:nth-child(2) { --d: 80ms; }
  html.js .stagger > .reveal:nth-child(3) { --d: 160ms; }
  html.js .stagger > .reveal:nth-child(4) { --d: 240ms; }
  html.js .stagger > .reveal:nth-child(5) { --d: 320ms; }
  html.js .stagger > .reveal:nth-child(6) { --d: 400ms; }
  html.js .stagger > .reveal:nth-child(7) { --d: 480ms; }
  html.js .stagger > .reveal:nth-child(8) { --d: 560ms; }
  html.js .stagger > .reveal:nth-child(9) { --d: 640ms; }
}

/* Numere care cresc */
[data-count] { font-variant-numeric: tabular-nums; }

/* Mecanismul ca un traseu: linia se umple la derulare */
.steps { position: relative; gap: 0; }
.steps-line { position: absolute; left: 20px; top: 22px; bottom: 40px; width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.steps-fill { position: absolute; inset: 0; background: linear-gradient(var(--brand), var(--ok)); transform-origin: top; transform: scaleY(0); }
html:not(.js) .steps-fill { transform: none; }
.step { position: relative; background: none; border: 0; box-shadow: none; padding: 0 0 30px; gap: 18px; }
.step:last-child { padding-bottom: 0; }
.step-num { position: relative; z-index: 1; }
.step h3 { font-size: 1.22rem; }
.step p { color: var(--ink); }

.mech-visual { position: relative; padding-bottom: 40px; }
.streak {
  position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(320px, 92%); background: var(--surface); border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line), 0 24px 40px -24px rgba(0, 0, 0, 0.4);
  padding: 14px 16px;
}
.streak-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-weight: 900; color: var(--ink-strong); font-size: 0.95rem; }
.streak-head .pill-led { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--led-soft); color: var(--led-ink); font-size: 0.85rem; white-space: nowrap; }
.streak-head svg { width: 16px; height: 16px; }
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days li { display: grid; justify-items: center; gap: 4px; font-size: 0.72rem; font-weight: 900; color: var(--muted); }
.days .cell { width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--surface2); border: 2px solid var(--line); display: grid; place-items: center; color: transparent; transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease; }
.days .cell svg { width: 60%; height: 60%; }
.streak.is-in .days .cell, html:not(.js) .days .cell { background: var(--led); border-color: var(--led-dark); color: #3a2800; }
@media (prefers-reduced-motion: no-preference) {
  .streak.is-in .days li .cell { animation: cell-pop 420ms cubic-bezier(0.3, 1.5, 0.5, 1) both; }
  .streak.is-in .days li:nth-child(2) .cell { transition-delay: 150ms; animation-delay: 150ms; }
  .streak.is-in .days li:nth-child(3) .cell { transition-delay: 300ms; animation-delay: 300ms; }
  .streak.is-in .days li:nth-child(4) .cell { transition-delay: 450ms; animation-delay: 450ms; }
  .streak.is-in .days li:nth-child(5) .cell { transition-delay: 600ms; animation-delay: 600ms; }
  .streak.is-in .days li:nth-child(6) .cell { transition-delay: 750ms; animation-delay: 750ms; }
  .streak.is-in .days li:nth-child(7) .cell { transition-delay: 900ms; animation-delay: 900ms; }
}
@keyframes cell-pop { 0% { transform: scale(0.7); } 60% { transform: scale(1.12); } 100% { transform: none; } }

/* Traseul unei greșeli: nodurile se aprind pe rând */
@media (prefers-reduced-motion: no-preference) {
  html.js .track[data-animate] li { opacity: 0; transform: translateY(6px); transition: opacity 400ms ease, transform 400ms ease; }
  html.js .track[data-animate].is-in li { opacity: 1; transform: none; }
  html.js .track[data-animate].is-in li:nth-child(2) { transition-delay: 150ms; }
  html.js .track[data-animate].is-in li:nth-child(3) { transition-delay: 300ms; }
  html.js .track[data-animate].is-in li:nth-child(4) { transition-delay: 450ms; }
  html.js .track[data-animate].is-in li:nth-child(5) { transition-delay: 600ms; }
  html.js .track[data-animate].is-in li:nth-child(6) { transition-delay: 750ms; }
  html.js .track[data-animate].is-in li:nth-child(7) { transition-delay: 900ms; }
  html.js .track[data-animate].is-in li:nth-child(8) { transition-delay: 1050ms; }
}

/* ---------- Întrebarea demo ---------- */
.demo-wrap { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .demo-wrap { grid-template-columns: 0.8fr 1.2fr; } .demo-wrap .section-head { position: sticky; top: 100px; } }
.demo { background: var(--surface); border: 2px solid var(--line); border-radius: 28px; box-shadow: 0 5px 0 var(--line), var(--shadow-lg); padding: clamp(16px, 3vw, 28px); }
.demo-top { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-bottom: 14px; }
.demo-type { font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; color: var(--tag-ink); }
.demo-topic { font-weight: 800; color: var(--muted); font-size: 0.92rem; margin-right: auto; }
.leds { display: inline-flex; gap: 4px; }
.leds i { width: 10px; height: 10px; border-radius: 3px; background: var(--surface2); border: 1px solid var(--line-strong); }
.leds i.on { background: var(--led); border-color: var(--led-dark); }
.seg { display: inline-flex; border: 2px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.seg button { appearance: none; border: 0; background: var(--surface); color: var(--muted); font: 900 0.8rem/1 "Nunito", sans-serif; letter-spacing: 0.04em; min-width: 44px; min-height: 44px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-ink); }
.demo-stem { font-size: clamp(1.15rem, 0.6vw + 1rem, 1.38rem); line-height: 1.35; font-weight: 900; color: var(--ink-strong); margin: 0 0 16px; }
.opts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.opt {
  appearance: none; width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  padding: 12px 16px; min-height: 58px; border-radius: 16px;
  background: var(--surface); color: var(--ink-strong); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line);
  font: 800 1.02rem/1.35 "Nunito", sans-serif;
  transition: transform 60ms ease, box-shadow 60ms ease, background-color 160ms ease, border-color 160ms ease, opacity 200ms ease;
  margin-bottom: 3px;
}
.opt:hover:not(:disabled) { background: var(--surface2); }
.opt:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 0 0 var(--line); }
.opt-num { width: 32px; height: 32px; border-radius: 10px; border: 2px solid var(--line-strong); display: grid; place-items: center; font-weight: 900; font-size: 0.9rem; color: var(--muted); transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.opt-body { padding-top: 4px; min-width: 0; }
.opt-why { display: block; margin-top: 6px; font-weight: 600; font-size: 0.95rem; color: var(--ink); line-height: 1.45; }
.opt.is-picked { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 3px 0 var(--brand-dark); }
.opt.is-picked .opt-num { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.opt.is-correct { border-color: var(--ok); background: var(--ok-soft); box-shadow: 0 3px 0 var(--ok-dark); color: var(--ok-ink); opacity: 1; cursor: default; }
.opt.is-correct .opt-num { border-color: var(--ok-dark); background: var(--ok-dark); color: #fff; }
.opt.is-wrong { border-color: var(--bad); background: var(--bad-soft); box-shadow: 0 3px 0 var(--bad); color: var(--bad-ink); cursor: default; }
.opt.is-wrong .opt-num { border-color: var(--bad-ink); background: var(--bad-ink); color: #fff; }
.opt.is-dim { opacity: 0.55; cursor: default; }
.opt:disabled { cursor: default; }
@media (prefers-reduced-motion: no-preference) {
  .opt.is-wrong { animation: shake 360ms ease; }
  .opt.is-correct { animation: ok-bump 380ms cubic-bezier(0.3, 1.5, 0.5, 1); }
}
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes ok-bump { 50% { transform: scale(1.02); } }
.btn:disabled { --edge: var(--line-strong); background: var(--surface2); color: var(--muted); cursor: default; filter: none; }
.btn:disabled:active { transform: none; box-shadow: 0 3px 0 var(--edge); }
.demo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.demo-actions .btn { flex: 1 1 200px; }
.demo-result {
  margin-top: 16px; border-radius: 20px; border: 2px solid var(--ok); background: var(--ok-soft); padding: 18px 20px;
  opacity: 0; transform: translateY(14px); transition: opacity 260ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.demo-result.is-in { opacity: 1; transform: none; }
.demo.is-bad .demo-result { border-color: var(--bad); background: var(--bad-soft); }
.demo-result-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.demo-result-head .mascot { width: 60px; height: 60px; flex: none; }
.demo-result-title { font-size: 1.45rem; font-weight: 900; margin: 0; color: var(--ok-ink); line-height: 1.1; }
.demo.is-bad .demo-result-title { color: var(--bad-ink); }
.xp { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-weight: 900; color: var(--brand-ink); }
.xp svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .demo-result.is-in .xp { animation: xp-pop 700ms 150ms cubic-bezier(0.3, 1.6, 0.5, 1) both; }
  .demo-result.is-in .mascot { animation: hop 650ms 100ms cubic-bezier(0.3, 0.7, 0.3, 1) both; }
  .demo.is-bad .demo-result.is-in .mascot { animation: sway 520ms ease both; }
}
@keyframes xp-pop { 0% { transform: scale(0.4) translateY(8px); opacity: 0; } 60% { transform: scale(1.25); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes sway { 25% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-4deg); } }
.demo-label { font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ok-ink); margin: 0 0 4px; }
.demo.is-bad .demo-label { color: var(--bad-ink); }
.demo-expl { margin: 0; color: var(--ink-strong); font-weight: 600; }
.demo-after {
  margin-top: 16px; display: grid; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--brand-soft);
  opacity: 0; transform: translateY(10px); transition: opacity 300ms 120ms ease, transform 300ms 120ms ease;
}
.demo-after.is-in { opacity: 1; transform: none; }
@media (min-width: 640px) { .demo-after { grid-template-columns: 1fr auto; } }
.demo-after p { margin: 0; font-weight: 900; color: var(--ink-strong); font-size: 1.08rem; line-height: 1.35; }
.demo-after p span { display: block; font-weight: 700; color: var(--ink); font-size: 0.95rem; margin-top: 2px; }
.demo-note { margin: 14px 0 0; color: var(--muted); font-size: 1rem; }
.demo-noscript { margin: 0 0 12px; padding: 14px 16px; background: var(--surface2); border-radius: 14px; font-weight: 700; }

/* Recenzii: cardurile (se văd doar după ce scoatem atributul hidden) */
.review-card { display: grid; gap: 12px; }
.review-card footer { color: var(--muted); font-weight: 800; font-size: 0.92rem; }

@media (prefers-reduced-motion: reduce) {
  .phones { transform: none !important; }
}
.prose .post-card h3, .prose .cta-box h3 { margin: 0 0 4px; }
.prose .post-card p { margin: 0; }
@media (max-width: 420px) { .trust .ti { display: none; } .trust ul { gap: 18px 20px; } }
@media (min-width: 640px) and (max-width: 899px) { .trust ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .trust li:last-child { grid-column: auto; } }

/* ---------- Ghiduri generate (tools/site/build-guides.mjs) ---------- */
.prose a { overflow-wrap: anywhere; }
.prose .lead { font-size: clamp(1.1rem, 0.4vw + 1rem, 1.25rem); color: var(--ink-strong); }
.toc ol ol { margin: 4px 0 6px; padding-left: 1.2em; font-size: 0.95rem; }
.toc ol ol a { font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: 14px; border: 2px solid var(--line); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.table-wrap table { margin: 0; min-width: 100%; }
.table-wrap tr:last-child td { border-bottom: 0; }
.prose td { font-variant-numeric: tabular-nums; }
.prose pre code { color: inherit; background: none; padding: 0; font-size: inherit; }
.prose details.reveal-answer { background: var(--surface); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 18px; margin: 0 0 1.4em; }
.prose details.reveal-answer > summary { cursor: pointer; padding: 14px 18px; font-weight: 900; color: var(--ink-strong); list-style-position: inside; }
.prose details.reveal-answer > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 16px; }
.prose details.reveal-answer[open] > summary { border-bottom: 2px solid var(--line); }
.prose details.reveal-answer > :not(summary) { margin-inline: 18px; }
.prose details.reveal-answer > :nth-child(2) { margin-top: 14px; }
.prose details.reveal-answer > :last-child { margin-bottom: 16px; }
.prose .faq--article { margin: 12px 0 1.4em; }
.prose .faq--article .answer > :last-child { margin-bottom: 0; }
.prose .cta-box { margin: 40px 0; }
.prose .cta-box p { font-size: 1rem; }
.prose .cta-box p + p { margin-top: 8px; }
.prose .callout { margin: 0 0 1.3em; }
.prose hr { border: 0; border-top: 2px solid var(--line); margin: 2.4em 0 1.2em; }
.prose hr + p em { color: var(--muted); font-size: 0.92rem; }
.post-card .post-title { font-size: 1.2rem; margin: 0; }
.post-card .post-date { margin-top: auto; padding-top: 4px; color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.faq-more { margin: 24px auto 0; max-width: 820px; text-align: center; color: var(--muted); font-weight: 700; }
.faq-more a { font-weight: 800; }

/* ---------- Paginile uneltelor (tools/site/sync-tools.mjs); stilurile componentei sunt în assets/tools/<id>/<id>.css ---------- */
.page-hero--tool { padding-block-end: 8px; }
.tool-section { padding-top: 8px; }
.tool-wrap > .tool-mount { max-width: 920px; }
.tool-mount:not(.is-ready) { min-height: var(--tool-min-m, 600px); }
@media (min-width: 720px) { .tool-mount:not(.is-ready) { min-height: var(--tool-min-d, 600px); } }
.tool-noscript { margin: 0; padding: 14px 16px; background: var(--surface2); border-radius: 14px; font-weight: 700; }
.tool-prose { margin-inline: 0; max-width: 820px; }
.tool-prose h2 { margin-top: 0; }
.post-card .post-open { margin-top: auto; padding-top: 4px; color: var(--brand-ink); font-weight: 900; font-size: 0.95rem; }
.prose :not(pre) > code { overflow-wrap: anywhere; }

/* Albastrul butoanelor și al textului mic albastru: cu o nuanță mai închis decât --brand în tema luminoasă,
   ca alb pe albastru să treacă de contrastul AA (4,5:1). În tema întunecată rămâne --brand. */
:root { --brand-aa: #2d68fa; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --brand-aa: #5b8cff; } }
:root[data-theme="dark"] { --brand-aa: #5b8cff; }
/* Doar butoanele pline; variantele „ghost” (contur) își păstrează fundalul de suprafață. */
.snc-btn:not(.snc-btn-ghost), .bnc-btn:not(.bnc-btn-ghost), .v6t-btn:not(.v6t-btn-ghost) { background: var(--brand-aa); }
.snc-net, .v6t-net, .bnc-nib td, .v6t-b-tag, .snc-btn-ghost, .bnc-btn-ghost, .v6t-btn-ghost { color: var(--brand-ink); }

/* =====================================================================
   Corecturi după testul UX (telefoane mici, tabele, macheta din hero)
   ===================================================================== */

/* Tabelele din ghiduri: comenzile nu se mai rup în mijlocul cuvântului; tabelul se derulează pe orizontală
   și arată că se poate derula (umbră la dreapta + „glisează →”, doar când chiar nu încape). */
.prose .table-wrap :not(pre) > code { white-space: nowrap; overflow-wrap: normal; }
.prose .table-wrap :not(pre) > code:has(.nw) { white-space: normal; }
.prose .table-wrap code .nw { white-space: nowrap; }
.table-wrap table { width: auto; min-width: 100%; }
.table-wrap td.tw { min-width: 11em; }
.table-scroll { position: relative; margin: 0 0 1.2em; }
.table-scroll > .table-wrap { margin: 0; }
.table-scroll::after {
  content: ""; position: absolute; top: 2px; bottom: 2px; right: 2px; width: 36px; border-radius: 0 12px 12px 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--bg)); opacity: 0; transition: opacity 160ms ease;
}
.table-scroll.is-overflow:not(.is-end)::after { opacity: 1; }
.prose .table-hint { display: none; margin: 0 0 6px; text-align: right; color: var(--muted); font-size: 0.9rem; font-weight: 800; }
.prose .table-scroll.is-overflow .table-hint { display: block; }

/* Rânduri de text de lungime confortabilă (~68 de caractere); tabelele și codul pot fi mai late. */
.prose :is(p, li, dd, blockquote):not(.table-hint) { max-width: 34em; }
.prose .cta-box p, .prose .callout p, .prose .post-card p { max-width: none; }

/* Hero: pe telefon, butoanele au aceeași lățime, unul sub altul. */
@media (max-width: 559px) {
  .hero .cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero .cta-row > .play, .hero .cta-row > .btn { width: 100%; justify-content: center; }
}
@media (max-width: 359px) {
  .hero { padding-top: 24px; }
  .hero .eyebrow { margin-bottom: 12px; font-size: 0.75rem; }
  .hero h1 { font-size: 2.05rem; margin-bottom: 14px; }
  .hero .lead { font-size: 1.04rem; margin-bottom: 20px; }
}

/* Hero: pastilele și mascota stau pe marginea machetei, nu peste textul din ecran. */
.chip-float--ok { left: auto; right: 0; top: -1%; }
.chip-float--led { bottom: -5%; }
.hero-mascot { width: 15%; left: -4%; top: auto; bottom: -1%; }
@media (min-width: 960px) {
  .chip-float--ok { left: auto; right: -5%; top: 0; }
  .chip-float--led { right: -8%; bottom: -8%; }
  .hero-mascot { width: 19%; left: -12%; top: auto; bottom: 4%; }
}

/* Macheta „Progres”: capturile au pastila de sus tăiată („12 zi…”), așa că ascundem bara de sus a capturii. */
.mech-visual .screen { background: #12151b; }
.mech-visual .screen img { transform: translateY(-7%); }

/* Galeria pe telefon: unde ești (puncte). */
.gallery-dots { display: flex; justify-content: center; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.gallery-dots li { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background-color 160ms ease, width 160ms ease; }
.gallery-dots li.is-on { width: 22px; border-radius: 4px; background: var(--brand); }
@media (min-width: 720px) { .gallery-dots { display: none; } }

/* „Drumul unei greșeli”: săgeata stă după fiecare pas, deci un rând nou nu începe niciodată cu „›”. */
.track li { gap: 6px; }

/* Meniul de pe telefon: iconița devine X când e deschis (o schimbă assets/site.js). */
.menu-btn svg path { transition: d 160ms ease; }
.prose .table-scroll.is-overflow .table-hint { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.table-hint svg { width: 16px; height: 16px; flex: none; }

/* =====================================================================
   „În curând pe Google Play”: o stare, nu un buton stricat (pastilă cu ceas)
   ===================================================================== */
a.btn[aria-disabled="true"] {
  --edge: transparent;
  background: color-mix(in srgb, var(--brand-soft) 70%, var(--surface)); color: var(--brand-ink);
  border: 2px solid color-mix(in srgb, var(--brand) 32%, transparent); box-shadow: none;
  border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 0.98rem; font-weight: 900;
}
a.btn[aria-disabled="true"]:hover { filter: none; background: color-mix(in srgb, var(--brand-soft) 70%, var(--surface)); }
a.btn[aria-disabled="true"]:active { transform: none; box-shadow: none; }
a.btn[aria-disabled="true"] > svg { display: none; }
.soon-lbl { display: inline-flex; align-items: center; gap: 8px; }
.btn .soon-lbl svg { display: block; width: 18px; height: 18px; flex: none; }

/* Elemente doar pentru telefon (ascunse de la 720 px în sus) */
.plan-pick, .plan-sum, .stack-more, .seg-toggle { display: none; }

/* =====================================================================
   TELEFON (< 720 px): pagina principală compactă, gândită pentru degetul mare.
   Desktopul (≥ 960 px) rămâne cum era.
   ===================================================================== */
@media (max-width: 719px) {
  body { line-height: 1.55; }
  .m-hide { display: none !important; }
  .section { padding-block: 40px; }
  .section--tight { padding-block: 28px 36px; }
  .section-head, .section-head--left { text-align: left; margin: 0 0 18px; max-width: none; }
  .section-head h2 { font-size: clamp(1.5rem, 1rem + 2.8vw, 1.75rem); line-height: 1.18; margin-bottom: 8px; }
  .section-head > p:not(.eyebrow) { font-size: 1rem; }
  .eyebrow { font-size: 0.75rem; padding: 5px 10px; margin-bottom: 10px; }
  .card { border-radius: 20px; }
  .card h3 { font-size: 1.08rem; }

  /* Listă compactă într-un singur card (Problema, Ce primești) */
  .pain .grid--4, .stack {
    display: block; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); padding: 4px 16px;
  }
  .pain .grid--4 > .card, .stack > .stack-item {
    display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; align-items: start;
    background: none; border: 0; border-radius: 0; box-shadow: none; padding: 14px 0; transform: none;
  }
  .pain .grid--4 > .card + .card, .stack > .stack-item + .stack-item { border-top: 1px solid var(--line); }
  .pain .grid--4 .icon-tile, .stack .icon-tile { width: 40px; height: 40px; border-radius: 12px; margin: 2px 0 0; grid-row: span 2; }
  .pain .grid--4 .icon-tile svg, .stack .icon-tile svg { width: 21px; height: 21px; }
  .pain .grid--4 h3, .stack-item h3 { font-size: 1.04rem; line-height: 1.3; margin: 0 0 2px; }
  .pain .grid--4 p, .stack-item p { font-size: 1rem; line-height: 1.5; color: var(--ink); }
  .stack-item .solves { display: none; }
  .lift:hover { transform: none; }

  /* Hero: titlul, textul, butonul și garanțiile încap pe primul ecran; telefonul „iese” de jos */
  .hero { padding-block: 20px 0; }
  .hero-grid { gap: 18px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(1.95rem, 1.1rem + 4.6vw, 2.3rem); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 14px; }
  .lead { font-size: 1.04rem; line-height: 1.5; margin-bottom: 20px; }
  .hero .cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hero .cta-row > .play { width: 100%; justify-content: center; min-height: 58px; }
  .hero .cta-row > .btn--ghost {
    justify-self: center; min-height: 44px; padding: 0 12px; margin: 0; border: 0; box-shadow: none; background: none;
    color: var(--brand-ink); font-size: 0.9rem;
  }
  .hero .cta-row > .btn--ghost::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: translateY(-2px) rotate(45deg); }
  .hero .microcopy { gap: 2px 14px; margin-top: 6px; font-size: 0.97rem; justify-content: center; }
  .hero .microcopy span { gap: 4px; }
  .hero .microcopy svg { width: 16px; height: 16px; }
  .hero-visual { height: 236px; overflow: hidden; padding-top: 14px; margin-inline: -16px; }
  .phones { width: 290px; }
  .hero-mascot { width: 17%; left: -3%; top: 46%; bottom: auto; }
  .chip-float { font-size: 0.8rem; padding: 6px 10px; border-radius: 12px; }
  .chip-float--ok { right: 0; top: 6%; }
  .chip-float--led { right: auto; left: -12%; bottom: auto; top: 22%; }

  /* Cifrele: un singur rând de 4 */
  .trust ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 14px 0 12px; }
  .trust li { display: grid; justify-items: center; text-align: center; gap: 0; }
  .trust li:last-child { display: none; }
  .trust .ti, .trust .tsub { display: none; }
  .trust .tt { justify-items: center; }
  .trust .tnum { font-size: 1.3rem; }
  .trust strong { font-size: 0.78rem; font-weight: 800; color: var(--muted); line-height: 1.2; }

  /* Întrebarea demo */
  .demo-wrap { gap: 0; }
  .demo-wrap .checklist { display: none; }
  .demo { border-radius: 22px; padding: 16px; box-shadow: 0 4px 0 var(--line), 0 24px 48px -30px rgba(20, 40, 110, 0.35); }
  .demo-top { flex-wrap: nowrap; gap: 10px; margin-bottom: 12px; }
  .demo-type { display: none; }
  .demo-topic { font-size: 0.86rem; min-width: 0; line-height: 1.3; }
  .demo-top > .leds, .demo-top > .seg { flex: none; }
  .demo-stem { font-size: 1.1rem; }
  .opt { min-height: 52px; padding: 10px 14px; font-size: 1rem; gap: 12px; grid-template-columns: 30px 1fr; }
  .opt-num { width: 30px; height: 30px; }
  .opt-body { padding-top: 3px; }
  .demo-note { font-size: 0.97rem; }

  /* Problema */
  .pain-note { text-align: left; margin: 20px 0 0; font-size: 1.08rem; padding-left: 14px; border-left: 4px solid var(--brand); }

  /* Mecanismul: pași compacți; dedesubt, macheta mică lângă traseul unei greșeli (pe verticală) */
  #cum-functioneaza > .container, #how-it-works > .container {
    display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); column-gap: 18px;
    grid-template-areas: "top top" "phone tlh" "phone tl" "note note";
  }
  .mech-grid, .mech-visual, .timeline { display: contents; }
  .mech-grid > div:first-child { grid-area: top; margin-bottom: 28px; }
  .steps-line { left: 17px; top: 18px; bottom: 30px; }
  .step { gap: 14px; padding-bottom: 20px; grid-template-columns: 38px 1fr; }
  .step-num { width: 38px; height: 38px; border-radius: 12px; font-size: 1.02rem; }
  .step h3 { font-size: 1.08rem; margin: 6px 0 2px; }
  .step p { font-size: 1rem; line-height: 1.5; }
  .mech-visual .phone { grid-area: phone; position: relative; width: 100%; padding: 6px; border-radius: 26px; height: 252px; overflow: hidden; align-self: start; }
  .mech-visual .phone .screen { border-radius: 20px; }
  .mech-visual .phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(transparent, var(--bg)); }
  .streak { display: none; }
  .timeline h3 { grid-area: tlh; align-self: end; text-align: left; font-size: 1.04rem; line-height: 1.25; margin: 4px 0 8px; }
  .track { grid-area: tl; align-self: start; display: grid; gap: 0; justify-content: stretch; position: relative; padding-left: 24px; }
  .track::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(var(--bad), var(--line-strong) 22%, var(--line-strong) 78%, var(--ok)); }
  .track li { display: flex; position: relative; min-height: 29px; }
  .track li::before { content: ""; position: absolute; left: -23px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); box-sizing: border-box; }
  .track li:first-child::before { background: var(--bad); border-color: var(--bad); }
  .track li:last-child::before { background: var(--ok); border-color: var(--ok); }
  .track .arrow { display: none; }
  .track .node { padding: 0; border: 0; box-shadow: none; background: none; font-size: 0.95rem; font-weight: 800; color: var(--ink-strong); white-space: normal; line-height: 1.25; }
  .track .node--bad { color: var(--bad-ink); font-weight: 900; }
  .track .node--ok { color: var(--ok-ink); font-weight: 900; }
  .track-note { grid-area: note; text-align: left; margin: 14px 0 0; font-size: 0.98rem; padding: 12px 14px; border-radius: 14px; background: var(--surface2); color: var(--ink); }

  /* Comutator segmentat (Fără / Cu Routerel, Pentru cine) */
  html.js .seg-toggle { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 16px; background: var(--surface2); border: 1px solid var(--line); }
  .seg-toggle button {
    appearance: none; border: 0; min-height: 44px; padding: 0 10px; border-radius: 12px; background: none; cursor: pointer;
    font: 900 0.95rem/1.15 "Nunito", system-ui, sans-serif; color: var(--muted); transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
    -webkit-tap-highlight-color: transparent;
  }
  .seg-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink-strong); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08), 0 2px 0 var(--line-strong); }
  .seg-toggle button[data-seg-val="with"][aria-pressed="true"], .seg-toggle button[data-seg-val="yes"][aria-pressed="true"] { color: var(--brand-ink); }
  .seg-toggle button[data-seg-val="without"][aria-pressed="true"], .seg-toggle button[data-seg-val="no"][aria-pressed="true"] { color: var(--bad-ink); }

  /* Înainte / după: cu JavaScript, o singură coloană odată */
  html.js .compare { display: block; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); padding: 2px 16px; }
  html.js .compare tr { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 12px 0; }
  html.js .compare tr + tr { border-top: 1px solid var(--line); }
  html.js .compare tbody th { padding: 0 0 2px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
  html.js .compare td { padding: 0; background: none; }
  html.js .compare td::before { display: none; }
  html.js .compare .cell { font-size: 1rem; line-height: 1.45; }
  html.js .compare:not([data-view="without"]) td.without, html.js .compare[data-view="without"] td.with { display: none; }
  html.js .compare td.with { color: var(--ink-strong); }

  /* Galeria */
  .gallery-head { margin-bottom: 18px; }
  .gallery { grid-auto-columns: min(50%, 230px); gap: 12px; }
  .gallery img { border-radius: 18px; }
  .gallery figcaption { font-size: 0.92rem; line-height: 1.35; }

  /* Ce primești: primele 5, apoi „Vezi toate” */
  html.js .stack:not(.is-expanded) > .stack-item:nth-child(n + 5) { display: none; }
  html.js .stack-more {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; margin-top: 12px;
    appearance: none; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--brand-ink);
    font: 900 0.95rem/1.2 "Nunito", system-ui, sans-serif; cursor: pointer;
  }
  .stack-more svg { width: 18px; height: 18px; }
  .stack-total { margin-top: 16px; gap: 14px; padding: 18px; border-radius: 20px; }
  .stack-total h3 { font-size: 1.2rem; }
  .stack-total .anchor { display: none; }
  .stack-total .btn { width: 100%; }

  /* Pentru cine */
  html.js .fit:not([data-view="no"]) > .card:not(.yes-card), html.js .fit[data-view="no"] > .yes-card { display: none; }
  .fit .card { padding: 18px 16px; }
  .fit .card h3 { font-size: 1.1rem; margin-bottom: 12px; gap: 10px; }
  .fit .card h3 .icon-tile { width: 34px; height: 34px; border-radius: 10px; }
  .fit .card h3 .icon-tile svg { width: 18px; height: 18px; }
  .checklist { gap: 10px; }
  .checklist li { grid-template-columns: 20px 1fr; gap: 10px; line-height: 1.5; }
  .checklist svg { width: 20px; height: 20px; }

  /* Prețuri: ca ecranul de abonare din aplicație (alegi planul, un singur buton) */
  .free-strip { display: none; }
  .plans { gap: 12px; padding-top: 6px; }
  .plan {
    display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "radio name price" "radio per period";
    align-items: center; gap: 2px 12px; padding: 14px 16px; border-radius: 18px; box-shadow: 0 3px 0 var(--line); cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .plan::before { content: ""; grid-area: radio; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); box-sizing: border-box; transition: border-color 160ms ease, box-shadow 160ms ease; }
  .plan.is-selected { border-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 55%, var(--surface)); box-shadow: 0 3px 0 var(--brand-dark); }
  .plan.is-selected::before { border-color: var(--brand); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 11px var(--brand); }
  .plan h3 { grid-area: name; margin: 0; font-size: 1rem; color: var(--ink-strong); letter-spacing: 0.04em; }
  .plan--featured h3 { color: var(--ink-strong); }
  .plan .price { grid-area: price; justify-self: end; font-size: 1.25rem; line-height: 1.2; }
  .plan .period { grid-area: period; justify-self: end; font-size: 0.82rem; line-height: 1.3; font-weight: 700; text-align: right; }
  .plan .period ~ .period, .plan .checklist, .plan > .btn { display: none; }
  .plan .permonth { grid-area: per; margin: 0; gap: 6px; font-size: 0.86rem; font-weight: 800; color: var(--muted); line-height: 1.3; }
  .plan .save { font-size: 0.7rem; padding: 2px 6px; }
  .plan--featured { margin-top: 8px; padding-top: 14px; padding-bottom: 14px; }
  .ribbon { top: -12px; left: auto; right: 14px; transform: none; font-size: 0.68rem; padding: 3px 10px; box-shadow: 0 2px 0 var(--led-dark); }
  .plan-pick { display: block; position: absolute; inset: -2px; z-index: 1; width: auto; height: auto; margin: 0; padding: 0; border: 0; border-radius: 18px; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .plan-pick:focus-visible { outline-offset: 2px; border-radius: 18px; }
  .plan-sum { display: block; margin-top: 18px; }
  .plan-sum-line { margin: 0 0 10px; text-align: center; color: var(--muted); font-weight: 700; font-size: 0.97rem; }
  .plan-sum-line strong { color: var(--ink-strong); font-weight: 900; }
  .legal-note { text-align: left; margin-top: 20px; font-size: 0.97rem; line-height: 1.5; }
  .risk { display: block; position: relative; margin-top: 20px; padding: 16px; border-radius: 20px; }
  .risk .shield { position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 10px; }
  .risk .shield svg { width: 19px; height: 19px; }
  .risk h3 { font-size: 1.1rem; margin: 3px 0 10px 44px; }
  .risk ul { gap: 8px; }
  .risk li { grid-template-columns: 18px 1fr; gap: 10px; font-size: 1rem; line-height: 1.5; }
  .risk li svg { width: 18px; height: 18px; margin-top: 3px; }

  /* FAQ */
  .faq { gap: 0; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); overflow: hidden; }
  .faq details { border: 0; border-radius: 0; box-shadow: none; background: none; }
  .faq details + details { border-top: 1px solid var(--line); }
  .faq details[open] { background: color-mix(in srgb, var(--brand-soft) 40%, var(--surface)); }
  .faq summary { padding: 10px 14px 10px 16px; font-size: 1rem; line-height: 1.35; gap: 12px; min-height: 52px; border-radius: 0; }
  .faq summary:focus-visible { outline-offset: -3px; border-radius: 18px; }
  .faq summary .pm { width: 28px; height: 28px; border-radius: 9px; }
  .faq .answer { padding: 0 16px 16px; }
  .faq .answer p { font-size: 1rem; line-height: 1.55; }
  .faq-more { text-align: left; margin-top: 18px; font-size: 0.98rem; }

  /* CTA final */
  .final { padding: 24px 20px; border-radius: 24px; gap: 0; grid-template-columns: 1fr 64px; align-items: start; }
  .final > div:first-child { grid-column: 1 / -1; grid-row: 1; }
  .final .mascot-wrap { order: 0; grid-column: 2; grid-row: 1; width: 60px; justify-self: end; margin-top: -4px; }
  .final h2 { font-size: 1.6rem; line-height: 1.15; margin-bottom: 10px; padding-right: 70px; }
  .final p { font-size: 1rem; line-height: 1.5; }
  .final .recap { display: none; }
  .final .play { width: 100%; justify-content: center; margin-top: 6px; }
  .final .microcopy { justify-content: center; margin-top: 10px; font-size: 0.97rem; gap: 2px 14px; }

  /* Subsol */
  .site-footer { padding: 28px 0 22px; font-size: 0.95rem; }
  .footer-grid { gap: 8px 16px; }
  .footer-grid .about { max-width: none; }
  .footer-grid .about p { display: none; }
  .footer-grid h2 { margin: 8px 0 0; font-size: 0.74rem; }
  .footer-grid ul { gap: 0; }
  .footer-grid > div:last-child { display: flex; flex-wrap: wrap; column-gap: 18px; }
  .footer-grid > div:last-child h2 { flex-basis: 100%; }
  .footer-grid > div:last-child ul { display: contents; }
  .disclaimer { margin-top: 18px; padding-top: 16px; font-size: 0.8rem; }
}
@media (max-width: 359px) {
  .trust .tnum { font-size: 1.12rem; }
  .trust strong { font-size: 0.72rem; }
  .hero-visual { height: 236px; }
  .phones { width: 250px; }
  #cum-functioneaza > .container, #how-it-works > .container { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); column-gap: 14px; }
  .track .node { font-size: 0.9rem; }
}

/* Cuprinsul ghidurilor: pe telefon e strâns sub un buton (îl deschide assets/site.js) */
.toc-toggle { display: none; }
@media (max-width: 719px) {
  html.js .toc--fold { padding: 0; overflow: hidden; }
  html.js .toc--fold > h2 { position: absolute; width: 1px; height: 1px; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html.js .toc--fold .toc-toggle {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 16px; margin: 0;
    appearance: none; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink-strong);
    font: 900 0.85rem/1.2 "Nunito", system-ui, sans-serif; -webkit-tap-highlight-color: transparent;
  }
  html.js .toc--fold .toc-toggle:focus-visible { outline-offset: -3px; border-radius: 16px; }
  .toc-toggle-t { text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
  .toc-toggle-n { margin-right: auto; color: var(--ink-strong); font-size: 0.95rem; }
  .toc-toggle svg { width: 20px; height: 20px; flex: none; color: var(--brand-ink); transition: transform 200ms ease; }
  .toc--fold.is-open .toc-toggle svg { transform: rotate(180deg); }
  html.js .toc--fold:not(.is-open) > ol { display: none; }
  html.js .toc--fold > ol { margin: 0; padding: 0 16px 16px 2.4em; }
  .toc li { margin-bottom: 0.3em; }
}
/* Ghiduri pe telefon: firimiturile fără titlul paginii (e chiar dedesubt, în H1); autorul pe un rând, data pe următorul */
@media (max-width: 719px) {
  .crumbs { margin-bottom: 14px; }
  .crumbs li:nth-child(3):last-child:has(> [aria-current]) { display: none; }
  .article-meta { gap: 4px 10px; margin-bottom: 22px; }
  .article-meta > span:nth-child(2) { flex: 1 0 calc(100% - 50px); }
  .article-meta > span:nth-child(3) { display: none; }
  .prose h2 { margin-top: 1.7em; }
}
