/*
 * Motricum - pagina publica de prezentare.
 *
 * Portare a machetei „teren editorial": verde de teren, hartie crem, coral activ,
 * tipografie DM Serif Display + Manrope, linii de marcaj si compozitie asimetrica.
 *
 * Regula de scriere: reset-urile de element folosesc :where() ca sa aiba
 * specificitate zero. Altfel `.landing-body a` invinge `.button-primary` si
 * textul butoanelor dispare, iar `margin: 0` pe p/h* anuleaza marginile
 * componentelor. S-a intamplat deja o data.
 */

:root {
    --paper: #f4f0e7;
    --ink: #103b36;
    --coral: #ff6b4a;
    --coral-dark: #e95b3b;
    --lime: #c9f36b;
    --card: #fffdf8;
    --border: #d8d4c9;
    --muted: #6d7971;
    --muted-strong: #52615a;
    --leaf: #67931a;

    /* Latimea maxima a continutului. Fundalurile raman pe toata pagina, dar
       textul si compozitiile se opresc aici: macheta a fost gandita in jurul a
       1440px, iar pe ecrane late totul se departa unul de altul. */
    --shell: 1320px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.landing-body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

.landing-body :where(a) {
    color: inherit;
    text-decoration: none;
}

.landing-body :where(h1, h2, h3, p) {
    margin-top: 0;
}

.landing-body :where(img) {
    max-width: 100%;
}

.landing-body button,
.landing-body a {
    -webkit-tap-highlight-color: transparent;
}

.landing-body button:focus-visible,
.landing-body a:focus-visible,
.landing-body input:focus-visible,
.landing-body textarea:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

.landing-body h1,
.landing-body h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.landing-body h1 em,
.landing-body h2 em {
    color: var(--coral);
    font-style: italic;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--paper);
    font-size: 12px;
    font-weight: 800;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* ---------------------------------------------------------------- antet */

.topbar {
    height: 84px;
    padding: 0 max(clamp(24px, 5vw, 76px), (100% - var(--shell)) / 2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(16, 59, 54, 0.14);
    position: relative;
    z-index: 10;
    background: rgba(244, 240, 231, 0.9);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.brand-mark {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.brand-word {
    font-size: 21px;
    line-height: 1;
}

.brand-word span {
    color: var(--coral);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.8vw, 42px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.main-nav > a:not(.nav-cta) {
    transition: color 0.18s ease;
}

.main-nav > a:not(.nav-cta):hover {
    color: var(--coral);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 2px;
    transition: transform 0.16s ease, background 0.18s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: var(--coral);
}

.mobile-menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 4px;
    cursor: pointer;
}

.mobile-menu-button .icon-close,
.mobile-menu-button[aria-expanded='true'] .icon-open {
    display: none;
}

.mobile-menu-button[aria-expanded='true'] .icon-close {
    display: block;
}

/* Comutatorul de limba. Sta la capatul navigatiei, dupa butonul de cerere de
   acces: e o unealta, nu o destinatie, si nu trebuie sa concureze cu meniul.
   Regulile de element din capul fisierului folosesc :where(), deci clasa de aici
   are ultimul cuvant asupra culorii. */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(16, 59, 54, 0.16);
}

.lang-switch-item {
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--muted-strong);
    transition: color 0.18s ease, background 0.18s ease;
}

.lang-switch-item:hover {
    color: var(--ink);
    background: rgba(16, 59, 54, 0.07);
}

.lang-switch-item.is-current {
    color: var(--paper);
    background: var(--ink);
}
/* ----------------------------------------------------------------- hero */

.hero-section {
    min-height: 650px;
    padding: clamp(64px, 9vw, 128px) max(clamp(24px, 7vw, 120px), (100% - var(--shell)) / 2) 92px;
    display: grid;
    grid-template-columns: minmax(340px, 0.84fr) minmax(500px, 1.16fr);
    gap: clamp(28px, 6vw, 100px);
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '01—08';
    position: absolute;
    top: 38px;
    left: max(clamp(24px, 7vw, 120px), (100% - var(--shell)) / 2);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--muted);
}

.hero-copy {
    max-width: 610px;
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    color: var(--coral);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.2em;
    font-weight: 800;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 107, 74, 0.16);
}

.landing-body h1 {
    font-size: clamp(58px, 7.4vw, 108px);
    margin-bottom: 30px;
}

.hero-lead {
    color: var(--muted-strong);
    max-width: 470px;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 15px 20px;
    border-radius: 2px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1), background 0.18s ease, color 0.18s ease;
}

.button:active,
.nav-cta:active {
    transform: scale(0.97);
}

.button-primary {
    background: var(--coral);
    color: #fffaf3;
}

.button-primary:hover,
.button-coral:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
}

.button-quiet {
    padding-left: 0;
    color: var(--ink);
    background: transparent;
}

.button-quiet:hover {
    color: var(--coral);
}

.play-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.hero-note {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--muted);
}

.hero-note svg {
    color: var(--leaf);
}

.hero-visual {
    height: 520px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 5% 0 7% 4%;
    background: #e9e4d9;
    border: 1px solid rgba(16, 59, 54, 0.11);
    transform: rotate(3deg);
}

.visual-stamp {
    position: absolute;
    top: 5%;
    right: 4%;
    z-index: 3;
    font-size: 9px;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: var(--muted);
}

.visual-stamp span {
    color: var(--coral);
}

.panel-card {
    width: min(84%, 560px);
    position: relative;
    z-index: 2;
    padding: 27px;
    background: var(--card);
    box-shadow: 0 24px 55px rgba(16, 59, 54, 0.14);
    border: 1px solid rgba(16, 59, 54, 0.12);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.panel-head > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mini-label {
    color: var(--muted);
    font-size: 10px;
}

.panel-head strong {
    font-size: 18px;
    letter-spacing: -0.04em;
}

.panel-avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: var(--lime);
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
}

.panel-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 17px 0;
    gap: 20px;
}

.panel-kpis div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.panel-kpis div + div {
    border-left: 1px solid var(--border);
    padding-left: 20px;
}

.panel-kpis span,
.panel-kpis small {
    color: var(--muted);
    font-size: 10px;
}

.panel-kpis strong {
    font-size: 30px;
    letter-spacing: -0.06em;
    line-height: 1.1;
}

.panel-kpis small.positive {
    color: #5f8d10;
}

.chart-area {
    padding-top: 21px;
}

.chart-caption {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 800;
}

.chart-filter {
    color: var(--muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
}

.chart-plot {
    height: 142px;
    position: relative;
    margin-top: 12px;
}

.chart-grid {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(16, 59, 54, 0.09) 32px);
}

.chart-plot svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.panel-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 9px;
    color: var(--muted);
}

.panel-footer span:first-child {
    color: var(--ink);
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #7fae20;
    border-radius: 50%;
    margin-right: 5px;
}

.floating-chip {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    padding: 11px 15px 11px 11px;
    box-shadow: 0 12px 25px rgba(16, 59, 54, 0.12);
    border: 1px solid rgba(16, 59, 54, 0.1);
}

.chip-one {
    top: 20%;
    left: 0;
}

.chip-two {
    bottom: 18%;
    right: 0;
}

.chip-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    background: var(--lime);
}

.chip-icon.coral {
    background: #ffd4ca;
}

.floating-chip span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.floating-chip b {
    font-size: 14px;
}

.floating-chip small {
    color: var(--muted);
    font-size: 9px;
    margin-top: 3px;
}

.field-line {
    position: absolute;
    border: 1px solid rgba(16, 59, 54, 0.15);
    z-index: 1;
}

.line-a {
    width: 72px;
    height: 72px;
    right: -1%;
    top: 31%;
    border-left: 0;
}

.line-b {
    width: 90px;
    height: 90px;
    left: 7%;
    bottom: 5%;
    border-right: 0;
    border-bottom: 0;
}

/* --------------------------------------------------------- banda semnale */

.signal-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 23px max(clamp(24px, 7vw, 120px), (100% - var(--shell)) / 2);
    background: var(--ink);
    color: var(--paper);
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.signal-item span {
    color: var(--coral);
    font-size: 10px;
}

.signal-rule {
    width: 1px;
    height: 16px;
    background: rgba(244, 240, 231, 0.22);
}

/* ------------------------------------------------------------- sectiuni */

.section-pad {
    padding: clamp(75px, 10vw, 145px) max(clamp(24px, 9vw, 150px), (100% - var(--shell)) / 2);
}

.section-kicker {
    margin-bottom: 28px;
}

.intro-section {
    background: var(--card);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 12%;
    align-items: end;
}

.intro-grid h2,
.section-heading h2,
.report-copy h2,
.numbers-header h2,
.cta-section h2 {
    font-size: clamp(44px, 5.5vw, 75px);
    margin-bottom: 0;
}

.intro-side {
    padding-bottom: 7px;
}

.intro-side p,
.section-aside,
.report-copy > p,
.cta-action p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 400px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 800;
    color: var(--coral);
    border-bottom: 1px solid rgba(255, 107, 74, 0.4);
    padding-bottom: 5px;
}

.features-section {
    background: var(--paper);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 65px;
}

.section-aside {
    margin: 0 0 5px;
    max-width: 280px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ink);
}

.feature-card {
    position: relative;
    padding: 28px 30px 34px 0;
    min-height: 285px;
    border-bottom: 1px solid rgba(16, 59, 54, 0.26);
}

.feature-card + .feature-card {
    padding-left: 30px;
    border-left: 1px solid rgba(16, 59, 54, 0.25);
}

.feature-top {
    display: flex;
    justify-content: space-between;
    color: var(--coral);
    margin-bottom: 44px;
}

.feature-number {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.feature-card h3 {
    font-size: 22px;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    max-width: 270px;
}

.feature-card > a {
    position: absolute;
    bottom: 28px;
    right: 28px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ink);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.feature-card > a:hover {
    background: var(--coral);
    color: #fff;
    border-color: var(--coral);
    transform: rotate(45deg);
}

.report-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(40px, 9vw, 140px);
    background: var(--ink);
    color: var(--paper);
}

.report-visual {
    position: relative;
}

.report-visual img {
    display: block;
    width: 100%;
    max-width: 560px;
    /* Atributele width/height de pe <img> sunt hinturi de prezentare: CSS-ul de
       aici suprascrie latimea, dar inaltimea ar ramane la 1440px, iar imaginea
       s-ar intinde pe verticala. Rezerva de spatiu vine oricum din aspect-ratio. */
    height: auto;
}

.report-badge {
    position: absolute;
    bottom: 3%;
    left: 5%;
    padding: 14px 18px;
    background: var(--lime);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    transform: rotate(-4deg);
}

.report-badge span {
    font-size: 11px;
}

.report-badge strong {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
}

.report-badge small {
    font-size: 8px;
    margin-top: 7px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.report-copy .section-kicker {
    color: var(--lime);
}

.report-copy h2 {
    color: var(--paper);
    margin-bottom: 26px;
}

.report-copy h2 em {
    color: var(--coral);
}

.report-copy > p {
    color: rgba(244, 240, 231, 0.65);
    max-width: 460px;
}

.report-points {
    border-top: 1px solid rgba(244, 240, 231, 0.2);
    margin: 34px 0;
}

.report-points div {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(244, 240, 231, 0.2);
}

.report-points span {
    color: var(--coral);
    font-size: 10px;
}

.report-points strong {
    font-size: 12px;
}

.button-dark {
    background: var(--paper);
    color: var(--ink);
}

.button-dark:hover {
    background: var(--lime);
    transform: translateY(-2px);
}

.numbers-section {
    background: var(--card);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 9%;
}

.numbers-header h2 {
    font-size: clamp(44px, 5vw, 68px);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 12px;
    padding-top: 40px;
}

.number-card {
    min-height: 205px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.number-card span {
    font-size: 10px;
    font-weight: 800;
}

.number-card strong {
    font-size: 48px;
    letter-spacing: -0.08em;
    line-height: 1;
}

.number-card small {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.number-card.lime {
    background: var(--lime);
}

.number-card.coral {
    background: var(--coral);
    color: #fffaf3;
}

.number-card.cream {
    background: var(--paper);
    border: 1px solid var(--border);
}

.number-bar {
    height: 4px;
    width: 70%;
    background: currentColor;
    opacity: 0.5;
}

.number-card.coral .number-bar {
    width: 54%;
}

.number-card.cream .number-bar {
    width: 84%;
}

.cta-section {
    background: var(--coral);
    color: #fffaf3;
    display: grid;
    grid-template-columns: 0.25fr 1fr 0.75fr;
    gap: 5%;
    align-items: center;
    padding-top: 92px;
    padding-bottom: 92px;
}

.cta-mark {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 250, 243, 0.55);
}

.cta-mark img {
    width: 55px;
}

.cta-section .section-kicker {
    color: var(--ink);
}

.cta-section h2 {
    font-size: clamp(48px, 5.7vw, 78px);
}

.cta-section h2 em {
    color: var(--ink);
}

.cta-action {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 250, 243, 0.55);
}

.cta-action p {
    color: rgba(255, 250, 243, 0.8);
}

.button-coral {
    background: var(--ink);
    color: var(--paper);
}

.button-coral:hover {
    background: #0a2a27;
}

/* -------------------------------------------------- cerere de acces */

.access-section {
    background: var(--paper);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 8vw, 110px);
    align-items: start;
    border-top: 1px solid rgba(16, 59, 54, 0.14);
}

.access-copy h2 {
    font-size: clamp(40px, 4.6vw, 62px);
    margin-bottom: 20px;
}

.access-copy > p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 430px;
}

.access-steps {
    margin-top: 40px;
    border-top: 1px solid rgba(16, 59, 54, 0.2);
    counter-reset: pas;
}

.access-steps-title {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--coral);
    padding-top: 18px;
}

.access-steps ol {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.access-steps li {
    counter-increment: pas;
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(16, 59, 54, 0.16);
    font-size: 13px;
    color: var(--muted-strong);
    max-width: 430px;
}

.access-steps li::before {
    content: '0' counter(pas);
    color: var(--coral);
    font-size: 10px;
    font-weight: 800;
    flex: none;
}

.access-form {
    background: var(--card);
    border: 1px solid rgba(16, 59, 54, 0.12);
    box-shadow: 0 24px 55px rgba(16, 59, 54, 0.1);
    padding: clamp(24px, 3vw, 34px);
}

.access-field {
    margin-bottom: 18px;
}

.access-field label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 8px;
}

.access-field label span {
    color: var(--coral);
}

.access-field input,
.access-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--paper);
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.18s ease;
}

.access-field input:focus,
.access-field textarea:focus {
    border-color: var(--coral);
}

.access-field textarea {
    min-height: 108px;
    resize: vertical;
}

.access-field.has-error input,
.access-field.has-error textarea {
    border-color: var(--coral);
}

.access-error {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--coral-dark);
}

.access-form .button {
    width: 100%;
    margin-top: 6px;
}

.access-note {
    margin: 14px 0 0;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6;
}

.access-alert {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-left: 3px solid var(--coral);
    background: rgba(255, 107, 74, 0.08);
    font-size: 13px;
    line-height: 1.6;
}

.access-alert--success {
    border-left-color: var(--leaf);
    background: rgba(201, 243, 107, 0.28);
}

.access-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --------------------------------------------------------------- subsol */

.footer {
    min-height: 92px;
    background: var(--ink);
    color: var(--paper);
    padding: 22px max(clamp(24px, 7vw, 120px), (100% - var(--shell)) / 2);
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 10px;
}

.footer .brand {
    margin-right: auto;
}

.footer .brand-mark {
    width: 26px;
}

.footer > span {
    color: rgba(244, 240, 231, 0.55);
}

.footer a:hover {
    color: var(--lime);
}

/* ------------------------------------------------- pagini de document */

.legal-page {
    padding: 0 0 clamp(60px, 8vw, 110px);
}

/* Fara o latime maxima, documentul se intindea pe toata pagina la ecrane mari,
   iar randurile ajungeau prea lungi ca sa mai poata fi urmarite. Linia de sub
   antet ramane pe toata latimea, ca separator al paginii. */
.legal-container {
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: clamp(24px, 5vw, 76px);
}

.legal-header {
    padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 54px);
    border-bottom: 1px solid rgba(16, 59, 54, 0.14);
}

.legal-header h1 {
    font-size: clamp(42px, 5.6vw, 78px);
    margin-bottom: 18px;
}

.legal-meta {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.legal-body {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    padding-top: clamp(40px, 5vw, 70px);
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 104px;
}

.legal-toc-title {
    display: block;
    color: var(--coral);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.2em;
    font-weight: 800;
    margin-bottom: 16px;
}

.legal-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: sectiune;
}

.legal-toc li {
    counter-increment: sectiune;
    border-top: 1px solid rgba(16, 59, 54, 0.14);
}

.legal-toc li:last-child {
    border-bottom: 1px solid rgba(16, 59, 54, 0.14);
}

.legal-toc a {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted-strong);
    transition: color 0.18s ease;
}

.legal-toc a::before {
    content: counter(sectiune, decimal-leading-zero);
    color: var(--coral);
    font-size: 10px;
    flex: none;
    padding-top: 2px;
}

.legal-toc a:hover {
    color: var(--coral);
}

.legal-content {
    max-width: 760px;
}

.legal-content section + section {
    margin-top: clamp(40px, 5vw, 64px);
}

.legal-content h2 {
    font-size: clamp(26px, 2.6vw, 34px);
    line-height: 1.15;
    margin-bottom: 18px;
    scroll-margin-top: 104px;
}

.legal-content h3 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 28px 0 10px;
}

.legal-content p {
    color: var(--muted-strong);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.legal-content ul li {
    position: relative;
    padding: 0 0 12px 22px;
    color: var(--muted-strong);
    font-size: 15px;
    line-height: 1.75;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 1px;
    background: var(--coral);
}

.legal-content strong {
    color: var(--ink);
}

.legal-content a {
    color: var(--coral);
    border-bottom: 1px solid rgba(255, 107, 74, 0.4);
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 0 0 20px;
}

.legal-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 13px;
}

.legal-table th {
    text-align: left;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    padding: 0 14px 10px 0;
    border-bottom: 1px solid var(--ink);
}

.legal-table td {
    padding: 12px 14px 12px 0;
    border-bottom: 1px solid rgba(16, 59, 54, 0.16);
    color: var(--muted-strong);
    line-height: 1.6;
    vertical-align: top;
}

.legal-table td:first-child {
    color: var(--ink);
    font-weight: 700;
}

.legal-callout {
    background: var(--card);
    border-left: 3px solid var(--coral);
    padding: 18px 20px;
    margin: 22px 0;
}

.legal-callout strong {
    display: block;
    margin-bottom: 8px;
}

.legal-callout p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .legal-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal-toc {
        position: static;
    }
}

/* ------------------------------------------------------------- miscare */

.reveal-up {
    animation: reveal 0.75s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.delay-1 {
    animation-delay: 0.12s;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------------------------------------ adaptare */

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 88px;
    }

    .hero-copy {
        max-width: 680px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .intro-grid,
    .report-section,
    .numbers-section,
    .access-section {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .report-section {
        padding-top: 75px;
    }

    .numbers-grid {
        padding-top: 0;
    }

    .cta-section {
        grid-template-columns: 0.25fr 1fr;
    }

    .cta-action {
        grid-column: 2;
        padding-left: 0;
        border-left: 0;
    }

    .signal-item {
        gap: 8px;
    }

    .signal-item strong {
        font-size: 9px;
    }
}

@media (max-width: 650px) {
    .topbar {
        height: 72px;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        padding: 8px 24px 22px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 14px 20px rgba(16, 59, 54, 0.08);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a {
        padding: 14px 0;
    }

    .nav-cta {
        justify-content: center;
        margin-top: 8px;
    }

    .lang-switch {
        align-self: flex-start;
        margin-top: 14px;
    }

    .hero-section {
        padding: 68px 24px 60px;
        min-height: auto;
    }

    .hero-section::before {
        left: 24px;
        top: 28px;
    }

    .hero-visual {
        height: 400px;
        min-height: 400px;
        margin-top: 18px;
    }

    .panel-card {
        width: 94%;
        padding: 18px;
    }

    .panel-head strong {
        font-size: 15px;
    }

    .panel-kpis strong {
        font-size: 24px;
    }

    /* Macheta e gandita pentru desktop: pe ecran ingust cartonasele plutitoare
       cad peste cifrele panoului, iar stampila peste initialele din colt. Sunt
       elemente decorative, deci pe mobil raman ascunse in loc sa acopere date. */
    .floating-chip,
    .visual-stamp {
        display: none;
    }

    .signal-strip {
        overflow: hidden;
        gap: 22px;
        justify-content: flex-start;
    }

    .signal-item {
        min-width: max-content;
    }

    .signal-rule {
        display: none;
    }

    .section-pad {
        padding: 72px 24px;
    }

    .intro-grid h2,
    .section-heading h2,
    .report-copy h2,
    .numbers-header h2,
    .cta-section h2,
    .access-copy h2 {
        font-size: 44px;
    }

    .section-heading {
        display: block;
        margin-bottom: 42px;
    }

    .section-aside {
        margin-top: 26px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .feature-card + .feature-card {
        padding: 25px 0 70px;
        border-left: 0;
    }

    .feature-top {
        margin-bottom: 35px;
    }

    .report-visual {
        margin: 0 -24px;
    }

    .report-visual img {
        width: 110%;
        max-width: none;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .number-card {
        min-height: 165px;
    }

    .cta-section {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-mark {
        width: 64px;
        height: 64px;
    }

    .cta-mark img {
        width: 40px;
    }

    .cta-action {
        grid-column: auto;
    }

    .footer {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer .brand {
        width: 100%;
    }

    .footer > span:last-child {
        margin-left: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-up {
        animation: none;
    }

    .button,
    .feature-card > a,
    .nav-cta {
        transition: none;
    }
}
