/* ---------------------------------------------------------------------
   AV Docs — pagini publice (principală, condiții, confidențialitate).

   Construit după macheta furnizată: hero întunecat cu aură albastru-violet,
   secțiuni deschise cu carduri, pași conectați printr-o linie punctată,
   tabel de abonamente și footer închis pe patru coloane.

   Un singur „mod" vizual, deliberat — pagina arată la fel indiferent de tema
   sistemului, ca în machetă. De aceea fiecare fundal și fiecare culoare sunt
   scrise explicit: pagina nu împrumută niciodată fundalul gazdei.

   Nu se încarcă nimic din altă origine: fără CDN de fonturi, fără pachete de
   iconițe, fără instrumente de analiză.
   --------------------------------------------------------------------- */

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

:root{

    /* Albastrul produsului — culoarea butoanelor și a accentelor. */
    --blue:#2563eb;
    --blue-strong:#1d4ed8;
    --blue-soft:#3b82f6;
    --blue-tint:#eff6ff;

    /* Fundalul închis al hero-ului și al footer-ului. */
    --night:#0b1020;
    --night-2:#111a33;
    --night-line:rgba(255,255,255,.10);
    --night-text:#e8ecf7;
    --night-muted:#9aa6c4;

    /* Suprafețe deschise. */
    --paper:#ffffff;
    --paper-2:#f8fafc;
    --paper-3:#eef2f8;
    --line:#e5e9f0;

    --ink:#0f172a;
    --ink-soft:#475569;
    --ink-muted:#64748b;

    /* Accente pentru cardurile de funcționalități — fiecare funcție are
       culoarea ei în machetă, deci sunt tokenuri, nu valori scrise în loc. */
    --c-blue:#3b82f6;      --c-blue-bg:#eff6ff;
    --c-green:#10b981;     --c-green-bg:#ecfdf5;
    --c-violet:#8b5cf6;    --c-violet-bg:#f5f3ff;
    --c-orange:#f97316;    --c-orange-bg:#fff7ed;
    --c-sky:#0ea5e9;       --c-sky-bg:#f0f9ff;
    --c-teal:#14b8a6;      --c-teal-bg:#f0fdfa;

    --radius:14px;
    --radius-sm:10px;

    --font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --shadow-sm:0 1px 2px rgba(15,23,42,.05), 0 4px 12px rgba(15,23,42,.05);
    --shadow-md:0 4px 10px rgba(15,23,42,.06), 0 18px 40px rgba(15,23,42,.09);
    --shadow-blue:0 10px 26px rgba(37,99,235,.32);

    --wrap:1180px;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:96px;
}

body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:var(--font);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

h1, h2, h3, h4{ margin:0; font-weight:700; letter-spacing:-.02em; text-wrap:balance; }

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

.wrap{
    width:min(var(--wrap), 100% - 48px);
    margin-inline:auto;
}

.skip-link{
    position:absolute;
    left:-9999px;
    padding:10px 16px;
    background:var(--ink);
    color:#fff;
    z-index:100;
}

.skip-link:focus{ left:12px; top:12px; }

/* ================================================================ header */

.site-head{
    position:sticky;
    top:0;
    z-index:40;
    background:rgba(255,255,255,.92);
    backdrop-filter:saturate(160%) blur(12px);
    border-bottom:1px solid var(--line);
}

.site-head-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    height:76px;
}

.brand{ display:flex; align-items:center; gap:12px; }

.brand-mark{ width:44px; height:44px; flex-shrink:0; }

.brand-text{ line-height:1.15; }

.brand-name{
    display:block;
    font-size:22px;
    font-weight:800;
    letter-spacing:-.03em;
}

/* „AV" preia gradientul mărcii, „DOCS" rămâne în cerneală — ca în machetă. */
.brand-name .brand-av{
    background:linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.brand-tag{
    display:block;
    font-size:11px;
    color:var(--ink-muted);
    letter-spacing:.01em;
}

.site-nav{
    display:flex;
    align-items:center;
    gap:32px;
    font-size:14.5px;
    font-weight:500;
}

/* `:not(.btn)` este esențial: fără el, această regulă (specificitate mai
   mare decât `.btn-primary`) rescrie culoarea butonului din antet și textul
   alb devine albastru pe albastru — ilizibil. */
.site-nav a:not(.btn){ color:var(--ink-soft); transition:color .15s ease; }
.site-nav a:not(.btn):hover{ color:var(--blue); }

/* ================================================================ butoane */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:13px 24px;
    border:1px solid transparent;
    border-radius:var(--radius-sm);
    font-family:var(--font);
    font-size:14.5px;
    font-weight:600;
    line-height:1;
    cursor:pointer;
    white-space:nowrap;
    transition:background-color .16s ease, border-color .16s ease, color .16s ease,
               transform .16s ease, box-shadow .16s ease;
}

.btn svg{ width:16px; height:16px; flex-shrink:0; }

.btn-primary{
    background:var(--blue);
    color:#fff;
    box-shadow:var(--shadow-blue);
}

.btn-primary:hover{ background:var(--blue-strong); transform:translateY(-1px); }
.btn-primary:disabled{ opacity:.6; cursor:progress; transform:none; }

/* Varianta pentru fundal închis (hero). */
.btn-light{
    background:#fff;
    color:var(--ink);
    box-shadow:0 6px 18px rgba(2,6,23,.35);
}

.btn-light:hover{ background:#f1f5f9; transform:translateY(-1px); }

.btn-outline{
    background:transparent;
    border-color:var(--line);
    color:var(--ink);
}

.btn-outline:hover{ border-color:var(--blue); color:var(--blue); }

.btn-block{ width:100%; }
.btn-sm{ padding:11px 18px; font-size:13.5px; }

/* =================================================================== hero */

.hero{
    position:relative;
    background:var(--night);
    color:var(--night-text);
    padding:76px 0 88px;
    overflow:hidden;
}

/* Aura albastru-violet din machetă. Două pete radiale, nu un gradient
   liniar peste tot fundalul: lumina trebuie să vină din spatele machetei
   produsului, în dreapta. */
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(760px 460px at 78% 8%, rgba(59,130,246,.30), transparent 62%),
        radial-gradient(620px 420px at 96% 62%, rgba(124,58,237,.28), transparent 60%),
        radial-gradient(520px 380px at 6% 92%, rgba(37,99,235,.20), transparent 62%);
    pointer-events:none;
}

.hero-inner{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1.06fr);
    gap:56px;
    align-items:center;
}

.hero h1{
    font-size:clamp(36px, 4.6vw, 54px);
    line-height:1.1;
    margin-bottom:20px;
}

.hero h1 .accent{ color:var(--blue-soft); }

.hero-lede{
    font-size:17px;
    line-height:1.65;
    color:var(--night-muted);
    max-width:46ch;
    margin:0 0 26px;
}

.hero-lede .accent{ color:var(--blue-soft); font-weight:600; }

/* Lista cu bife din machetă. */
.hero-points{
    list-style:none;
    margin:0 0 32px;
    padding:0;
    display:grid;
    gap:11px;
}

.hero-points li{
    display:grid;
    grid-template-columns:20px 1fr;
    gap:12px;
    align-items:start;
    font-size:15px;
    color:var(--night-text);
}

.hero-points svg{ width:20px; height:20px; margin-top:1px; color:var(--blue-soft); }

.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; }

.hero-note{
    display:flex;
    align-items:center;
    gap:8px;
    margin:24px 0 0;
    font-size:13px;
    color:var(--night-muted);
}

.hero-note svg{ width:15px; height:15px; }

/* ------------------------------------------------- macheta produsului */

/* Rama aplicației: bara amoCRM în stânga, formularul AV Docs în mijloc,
   documentul generat în dreapta. Construită în markup, nu ca imagine —
   rămâne clară la orice rezoluție și nu se învechește față de produs. */
.app-shot{
    background:linear-gradient(180deg, #16203a, #0e1729);
    border:1px solid rgba(255,255,255,.12);
    border-radius:18px;
    box-shadow:0 30px 70px rgba(2,6,23,.55);
    padding:16px;
}

.app-shot-bar{
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 4px 14px;
}

.app-shot-bar b{
    font-size:12.5px;
    font-weight:700;
    color:#cbd5e1;
    letter-spacing:-.01em;
}

.app-shot-body{
    display:grid;
    grid-template-columns:44px minmax(0, 1fr) minmax(0, 1.12fr);
    gap:14px;
    background:#0d1526;
    border-radius:12px;
    padding:14px;
}

.app-rail{
    display:grid;
    gap:12px;
    align-content:start;
    justify-items:center;
    padding-top:4px;
}

.app-rail span{
    width:26px;
    height:26px;
    border-radius:8px;
    background:rgba(255,255,255,.07);
    display:grid;
    place-items:center;
    color:#7d8bab;
}

.app-rail svg{ width:14px; height:14px; }

.app-panel-title{
    font-size:13.5px;
    font-weight:700;
    color:#e8ecf7;
}

.app-panel-sub{
    font-size:11px;
    color:#7d8bab;
    margin-bottom:12px;
}

.app-label{
    font-size:9.5px;
    text-transform:uppercase;
    letter-spacing:.09em;
    color:#7d8bab;
    margin-bottom:5px;
}

.app-field{
    background:#141d33;
    border:1px solid rgba(255,255,255,.08);
    border-radius:7px;
    padding:8px 10px;
    font-size:11px;
    color:#cbd5e1;
    margin-bottom:10px;
}

.app-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    background:#141d33;
    border:1px solid rgba(255,255,255,.08);
    border-radius:7px;
    padding:7px 10px;
    font-size:10.5px;
    color:#cbd5e1;
    margin-bottom:6px;
}

.app-row b{ color:#e8ecf7; font-weight:600; }

.app-add{
    font-size:10.5px;
    color:var(--blue-soft);
    margin:8px 0 12px;
}

.app-total{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,.10);
    font-size:11px;
    color:#9aa6c4;
    margin-bottom:12px;
}

.app-total b{ font-size:14px; color:#fff; font-weight:700; }

.app-cta{
    background:var(--blue);
    color:#fff;
    border-radius:8px;
    padding:9px;
    text-align:center;
    font-size:11.5px;
    font-weight:600;
}

/* Documentul alb, previzualizat lângă formular. */
.app-doc{
    background:#fff;
    border-radius:8px;
    padding:14px;
    color:#0f172a;
    box-shadow:0 12px 30px rgba(2,6,23,.4);
}

.app-doc-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    padding-bottom:9px;
    border-bottom:1.5px solid #0f172a;
}

.app-doc-logo{
    width:34px;
    height:34px;
    border-radius:50%;
    background:conic-gradient(from 210deg, #2563eb, #7c3aed, #0ea5e9, #2563eb);
}

.app-doc-title{
    text-align:right;
    font-size:9.5px;
    font-weight:800;
    letter-spacing:.06em;
}

.app-doc-meta{
    margin:9px 0;
    font-size:6.5px;
    line-height:1.75;
    color:#64748b;
}

.app-doc-table{
    width:100%;
    border-collapse:collapse;
    font-size:6.5px;
}

.app-doc-table th{
    text-align:left;
    padding:0 0 4px;
    border-bottom:1px solid #cbd5e1;
    color:#94a3b8;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.app-doc-table td{
    padding:5px 0;
    border-bottom:1px solid #eef2f8;
    color:#475569;
}

.app-doc-table td:last-child,
.app-doc-table th:last-child{ text-align:right; }

.app-doc-note{
    margin-top:8px;
    font-size:5.5px;
    line-height:1.7;
    color:#94a3b8;
}

.app-doc-foot{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    margin-top:10px;
}

.app-doc-sign{
    font-size:6px;
    color:#94a3b8;
    line-height:1.8;
}

.app-doc-stamp{ width:38px; height:38px; color:#2563eb; opacity:.85; }

/* =============================================================== secțiuni */

.section{ padding:80px 0; }

.section-tint{ background:var(--paper-2); }
.section-tint-2{ background:var(--paper-3); }

.section-head{
    text-align:center;
    max-width:640px;
    margin:0 auto 48px;
}

.section-head h2{
    font-size:clamp(26px, 3.2vw, 34px);
    line-height:1.2;
    margin-bottom:10px;
}

.section-head p{
    margin:0;
    color:var(--ink-muted);
    font-size:16px;
}

/* --------------------------------------------------------- funcționalități */

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(178px, 1fr));
    gap:18px;
}

.feature{
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:20px 18px;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow-md);
    border-color:transparent;
}

.feature-icon{
    width:44px;
    height:44px;
    border-radius:12px;
    display:grid;
    place-items:center;
    margin-bottom:16px;
}

.feature-icon svg{ width:21px; height:21px; }

.feature h3{
    font-size:14.5px;
    line-height:1.3;
    margin-bottom:7px;
}

.feature p{
    margin:0;
    font-size:12.8px;
    line-height:1.6;
    color:var(--ink-muted);
}

/* Perechile culoare/fundal din machetă. */
.i-blue{ background:var(--c-blue-bg); color:var(--c-blue); }
.i-green{ background:var(--c-green-bg); color:var(--c-green); }
.i-violet{ background:var(--c-violet-bg); color:var(--c-violet); }
.i-orange{ background:var(--c-orange-bg); color:var(--c-orange); }
.i-sky{ background:var(--c-sky-bg); color:var(--c-sky); }
.i-teal{ background:var(--c-teal-bg); color:var(--c-teal); }

/* ------------------------------------------------------------- pașii */

.steps{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    grid-template-columns:repeat(6, 1fr);
    gap:16px;
    position:relative;
}

/* Linia punctată care leagă pașii — trasată o singură dată, în spatele
   cercurilor, ca în machetă. Ascunsă când lista se rupe pe mai multe rânduri,
   unde ar lega pași care nu se succedă. */
.steps::before{
    content:"";
    position:absolute;
    top:38px;
    left:8%;
    right:8%;
    border-top:2px dashed #cbd5e1;
    z-index:0;
}

.step{
    position:relative;
    z-index:1;
    text-align:center;
}

.step-icon{
    width:76px;
    height:76px;
    margin:0 auto 16px;
    border-radius:50%;
    background:var(--paper);
    border:1px solid var(--line);
    display:grid;
    place-items:center;
    color:var(--blue);
    box-shadow:var(--shadow-sm);
}

.step-icon svg{ width:28px; height:28px; }

.step h3{
    font-size:14px;
    margin-bottom:6px;
}

.step p{
    margin:0;
    font-size:12.5px;
    line-height:1.55;
    color:var(--ink-muted);
}

/* -------------------------------------------------------- abonamente */

.plans{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(258px, 1fr));
    gap:22px;
    max-width:960px;
    margin-inline:auto;
    align-items:center;
}

/* Perioada de abonament — patru butoane într-un singur control, centrat
   deasupra cardurilor. */

.term-switch{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:4px;
    width:max-content;
    max-width:100%;
    margin:0 auto 30px;
    padding:4px;
    background:var(--paper-3);
    border:1px solid var(--line);
    border-radius:999px;
}

.term-btn{
    border:0;
    background:none;
    color:var(--ink-soft);
    font-family:inherit;
    font-size:13.5px;
    font-weight:600;
    padding:9px 18px;
    border-radius:999px;
    cursor:pointer;
    transition:background .15s, color .15s;
}

.term-btn:hover{ color:var(--ink); }

.term-btn.is-active{
    background:var(--paper);
    color:var(--blue);
    box-shadow:var(--shadow-sm);
}

.term-btn:focus-visible{
    outline:2px solid var(--blue);
    outline-offset:2px;
}

.plan{
    position:relative;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:30px 26px;
    text-align:center;
    box-shadow:var(--shadow-sm);
}

/* Planul recomandat: mai înalt, cu chenar albastru și eticheta POPULAR. */
.plan-featured{
    border-color:var(--blue);
    border-width:2px;
    box-shadow:var(--shadow-md);
    padding-top:38px;
    padding-bottom:36px;
}

.plan-badge{
    position:absolute;
    top:0;
    left:0;
    right:0;
    background:var(--blue);
    color:#fff;
    font-size:10.5px;
    font-weight:700;
    letter-spacing:.1em;
    padding:5px;
    border-radius:12px 12px 0 0;
}

.plan-name{
    font-size:14px;
    font-weight:700;
    letter-spacing:.06em;
    color:var(--ink-soft);
    margin-bottom:12px;
}

.plan-price{
    font-size:38px;
    font-weight:800;
    letter-spacing:-.03em;
    line-height:1;
    margin-bottom:6px;
}

/* Totalul perioadei alese, sub prețul pe lună. */
.plan-total{
    font-size:13px;
    font-weight:600;
    color:var(--blue);
    margin-bottom:20px;
}

.plan-price span{
    font-size:14px;
    font-weight:500;
    color:var(--ink-muted);
    letter-spacing:0;
}

.plan-list{
    list-style:none;
    margin:0 0 24px;
    padding:0;
    text-align:left;
    display:grid;
    gap:11px;
}

.plan-list li{
    display:grid;
    grid-template-columns:17px 1fr;
    gap:10px;
    align-items:start;
    font-size:13.5px;
    color:var(--ink-soft);
}

.plan-list svg{ width:17px; height:17px; color:var(--blue); margin-top:1px; }

/* ------------------------------------------------------- despre / autor */

.byline{
    padding:34px 0;
    text-align:center;
    background:var(--paper);
    border-top:1px solid var(--line);
}

.byline-row{
    display:inline-flex;
    align-items:center;
    gap:12px;
    font-size:14px;
    color:var(--ink-muted);
}

/* Logoul AV Webstart: neon, gândit pentru fundal întunecat. Placheta închisă
   îi dă fundalul de care are nevoie pe o secțiune albă — altfel litera lui
   pală s-ar pierde în pagină. */

.byline-logo{
    display:inline-flex;
    align-items:center;
    padding:9px 16px;
    border-radius:12px;
    background:var(--night);
    line-height:0;
    transition:transform .15s, box-shadow .15s;
}

.byline-logo img{
    width:150px;
    height:auto;
    display:block;
}

.byline-logo:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 22px rgba(11, 16, 32, .28);
}

.byline-logo:focus-visible{
    outline:2px solid var(--blue);
    outline-offset:3px;
}

.about{
    max-width:660px;
    margin:22px auto 0;
    font-size:14.5px;
    line-height:1.7;
    color:var(--ink-muted);
}

/* Taxa de instalare — o bandă sub carduri, nu un al patrulea card: nu este un
   plan din care se alege, este o sumă care se adaugă la oricare dintre ele. */

.setup-fee{
    display:flex;
    align-items:flex-start;
    gap:16px;
    max-width:760px;
    margin:32px auto 0;
    padding:20px 24px;
    background:var(--blue-tint);
    border:1px solid rgba(37, 99, 235, .18);
    border-radius:var(--radius);
    text-align:left;
}

.setup-fee-icon{
    flex:0 0 40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:var(--blue);
    color:#fff;
}

.setup-fee-icon svg{ width:21px; height:21px; }

.setup-fee-copy strong{
    display:block;
    font-size:15.5px;
    letter-spacing:-.01em;
    margin-bottom:5px;
}

.setup-fee-copy p{
    font-size:13.5px;
    line-height:1.65;
    color:var(--ink-soft);
}

@media (max-width: 560px){

    .setup-fee{
        flex-direction:column;
        gap:12px;
        padding:18px;
    }

}

/* ============================================================== contact */

.contact-grid{
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 460px);
    gap:56px;
    align-items:start;
}

.contact-copy h2{
    font-size:clamp(26px, 3.2vw, 34px);
    line-height:1.2;
    margin-bottom:12px;
}

.contact-copy > p{
    color:var(--ink-muted);
    margin:0 0 26px;
    max-width:44ch;
}

.contact-list{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:16px;
}

.contact-list li{
    display:grid;
    grid-template-columns:38px 1fr;
    gap:14px;
    align-items:center;
}

.contact-ico{
    width:38px;
    height:38px;
    border-radius:10px;
    background:var(--blue-tint);
    color:var(--blue);
    display:grid;
    place-items:center;
}

.contact-ico svg{ width:17px; height:17px; }

.contact-list b{ display:block; font-size:14.5px; font-weight:600; }
.contact-list span{ font-size:13px; color:var(--ink-muted); }

.lead-form{
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:30px;
    box-shadow:var(--shadow-md);
}

.lead-form-head{ margin-bottom:22px; }
.lead-form-head strong{ display:block; font-size:18px; font-weight:700; }
.lead-form-head span{ font-size:13.5px; color:var(--ink-muted); }

.field{ margin-bottom:16px; }

.field label{
    display:block;
    margin-bottom:6px;
    font-size:12.5px;
    font-weight:600;
    color:var(--ink-soft);
}

.field .req{ color:var(--blue); }

.field input{
    width:100%;
    padding:12px 14px;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:var(--radius-sm);
    color:var(--ink);
    font-family:var(--font);
    font-size:14.5px;
    transition:border-color .15s ease, box-shadow .15s ease;
}

.field input::placeholder{ color:#94a3b8; }

.field input:focus{
    outline:none;
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(37,99,235,.12);
}

/* Ce a ales vizitatorul la Abonamente, arătat în formular. */

.lead-choice{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
    padding:10px 12px;
    background:var(--blue-tint);
    border:1px solid rgba(37, 99, 235, .18);
    border-radius:10px;
    font-size:13px;
    font-weight:600;
    color:var(--blue-strong);
}

.lead-choice span{
    flex:1;
    min-width:0;
}

.lead-choice button{
    flex:0 0 auto;
    border:0;
    background:none;
    color:var(--blue-strong);
    font-size:13px;
    line-height:1;
    padding:2px 4px;
    cursor:pointer;
    opacity:.7;
}

.lead-choice button:hover{ opacity:1; }

.form-consent{
    margin:0 0 16px;
    font-size:12px;
    line-height:1.55;
    color:var(--ink-muted);
}

.form-consent a{ color:var(--blue); text-decoration:underline; text-underline-offset:2px; }

.form-status{
    margin:14px 0 0;
    font-size:13.5px;
    line-height:1.5;
    min-height:20px;
}

.form-status.is-ok{ color:#059669; }
.form-status.is-error{ color:#dc2626; }

/* =============================================================== footer */

.site-foot{
    background:var(--night);
    color:var(--night-muted);
    padding:56px 0 26px;
}

.foot-grid{
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1.2fr;
    gap:40px;
}

.foot-col h4{
    font-size:14px;
    font-weight:700;
    color:#fff;
    margin-bottom:16px;
}

.foot-col p{
    margin:0 0 18px;
    font-size:13.5px;
    line-height:1.7;
    max-width:32ch;
}

.foot-links{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:11px;
    font-size:13.5px;
}

.foot-links a{ color:var(--night-muted); transition:color .15s ease; }
.foot-links a:hover{ color:#fff; }

.foot-contact{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:12px;
    font-size:13.5px;
}

.foot-contact li{
    display:grid;
    grid-template-columns:18px 1fr;
    gap:10px;
    align-items:center;
}

.foot-contact svg{ width:15px; height:15px; color:var(--blue-soft); }

.foot-social{ display:flex; gap:10px; }

.foot-social a{
    width:34px;
    height:34px;
    border-radius:9px;
    background:rgba(255,255,255,.07);
    display:grid;
    place-items:center;
    color:var(--night-muted);
    transition:background-color .15s ease, color .15s ease;
}

.foot-social a:hover{ background:var(--blue); color:#fff; }
.foot-social svg{ width:15px; height:15px; }

.foot-bottom{
    margin-top:44px;
    padding-top:22px;
    border-top:1px solid var(--night-line);
    text-align:center;
    font-size:12.5px;
}

.foot-fine{
    margin:10px auto 0;
    max-width:74ch;
    font-size:11.5px;
    line-height:1.65;
    opacity:.75;
}

/* ========================================================== pagini legale */

.legal{
    padding:56px 0 84px;
    display:grid;
    grid-template-columns:250px minmax(0, 1fr);
    gap:56px;
    align-items:start;
}

.legal-toc{
    position:sticky;
    top:104px;
    font-size:13.5px;
    background:var(--paper-2);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:20px;
}

.legal-toc strong{
    display:block;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:var(--ink-muted);
    padding-bottom:12px;
    margin-bottom:12px;
    border-bottom:1px solid var(--line);
}

.legal-toc ol{ list-style:none; margin:0; padding:0; counter-reset:toc; }
.legal-toc li{ margin-bottom:9px; counter-increment:toc; }

.legal-toc a{
    color:var(--ink-soft);
    display:grid;
    grid-template-columns:20px 1fr;
    gap:6px;
    line-height:1.45;
}

.legal-toc a::before{
    content:counter(toc) ".";
    color:var(--ink-muted);
    font-variant-numeric:tabular-nums;
}

.legal-toc a:hover{ color:var(--blue); }

.legal-body{ max-width:70ch; counter-reset:article; }

/* Comutatorul de limbă al documentelor legale. Deasupra titlului, pentru că
   primul lucru pe care îl face un cititor care nu înțelege limba paginii este
   să caute cealaltă variantă — nu în subsol. */

/* Comutatorul de limbă din antet. Discret: cine e pe limba potrivită nu are
   ce face cu el, iar cine nu e trebuie să-l găsească din prima privire. */

.lang-switch{
    padding:6px 10px;
    border:1px solid var(--line);
    border-radius:8px;
    font-size:12.5px;
    font-weight:600;
    letter-spacing:.04em;
    color:var(--ink-muted);
    text-decoration:none;
    line-height:1;
}

.lang-switch:hover{
    border-color:var(--blue);
    color:var(--blue);
}

.legal-lang{
    display:flex;
    gap:8px;
    align-items:center;
    margin-bottom:14px;
    font-size:12.5px;
}

.legal-lang a,
.legal-lang span{
    padding:4px 11px;
    border-radius:999px;
    border:1px solid var(--line);
    color:var(--ink-muted);
    text-decoration:none;
}

.legal-lang span[aria-current]{
    background:var(--ink);
    border-color:var(--ink);
    color:#fff;
    font-weight:600;
}

.legal-lang a:hover{
    border-color:var(--blue);
    color:var(--blue);
}

.legal-title{
    font-size:clamp(28px, 3.8vw, 40px);
    line-height:1.15;
    margin-bottom:12px;
}

.legal-updated{
    font-size:13px;
    color:var(--ink-muted);
    padding-bottom:24px;
    margin-bottom:30px;
    border-bottom:1px solid var(--line);
}

.legal-body section{ padding-top:32px; counter-increment:article; }

.legal-body h2{
    font-size:20px;
    line-height:1.3;
    margin-bottom:14px;
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    align-items:baseline;
}

.legal-body h2::before{
    content:counter(article);
    font-size:13px;
    font-weight:700;
    color:var(--blue);
    font-variant-numeric:tabular-nums;
}

/* Limitat la `section`: fără asta, `.legal-body p` (specificitate mai mare)
   ar rescrie și data revizuirii, și nota de la final. */
.legal-body section p,
.legal-body section li{
    color:var(--ink-soft);
    font-size:15.5px;
}

.legal-body section p{ margin:0 0 14px; }
.legal-body section ul{ margin:0 0 14px; padding-left:20px; }
.legal-body section li{ margin-bottom:8px; }
.legal-body section strong{ color:var(--ink); font-weight:600; }

.legal-body section a{
    color:var(--blue);
    text-decoration:underline;
    text-underline-offset:2px;
}

.legal-body section dl{ margin:0 0 14px; border-top:1px solid var(--line); }

.legal-body section dt{
    font-size:11.5px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--ink-muted);
    padding-top:14px;
}

.legal-body section dd{
    margin:4px 0 14px;
    padding-bottom:14px;
    border-bottom:1px solid var(--line);
    color:var(--ink-soft);
    font-size:15px;
}

/* Ce trebuie completat de AV Webstart înainte de publicare. Vizibil
   intenționat — un marcaj discret e un marcaj care ajunge în producție. */
.fill-in{
    background:var(--blue-tint);
    border-bottom:1px dashed rgba(37,99,235,.45);
    color:var(--blue-strong);
    font-size:.92em;
    padding:1px 6px;
    border-radius:4px;
}

.legal-note{
    margin-top:40px;
    padding:20px 22px;
    background:var(--paper-2);
    border:1px solid var(--line);
    border-left:3px solid var(--blue);
    border-radius:var(--radius-sm);
    font-size:14px;
    color:var(--ink-soft);
}

.legal-note strong{ display:block; margin-bottom:6px; color:var(--ink); }

/* ============================================================ responsive */

@media (max-width: 1040px){

    .hero-inner{ grid-template-columns:1fr; gap:48px; }
    .hero{ padding:56px 0 64px; }
    .steps{ grid-template-columns:repeat(3, 1fr); gap:28px 16px; }
    .steps::before{ display:none; }
    .foot-grid{ grid-template-columns:1fr 1fr; gap:32px; }
    .contact-grid{ grid-template-columns:1fr; gap:40px; }
    .legal{ grid-template-columns:1fr; gap:32px; }
    .legal-toc{ position:static; }

}

@media (max-width: 760px){

    .wrap{ width:min(var(--wrap), 100% - 32px); }
    .site-nav a:not(.btn){ display:none; }
    /* Subtitlul mărcii se rupe pe două rânduri lângă buton și îngroașă
       antetul — pe ecran îngust rămâne doar numele. */
    .brand-tag{ display:none; }
    .brand-mark{ width:38px; height:38px; }
    .section{ padding:56px 0; }
    .steps{ grid-template-columns:repeat(2, 1fr); }
    .foot-grid{ grid-template-columns:1fr; gap:28px; }
    .app-shot-body{ grid-template-columns:36px 1fr; }
    /* Documentul iese din machetă pe ecran îngust: formularul e partea care
       explică produsul, documentul e ilustrația. */
    .app-doc{ display:none; }
    .lead-form{ padding:22px; }

}

@media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    .btn:hover, .feature:hover{ transform:none; }
}

@media print{
    .site-head, .site-foot, .hero-actions, .lead-form{ display:none; }
    body{ background:#fff; color:#000; }
}

/* Logoul livrat ca fișier (vezi config/brand.js). Înălțimea este fixată, nu
   lățimea: un logo lat și unul pătrat trebuie să ocupe același rând în antet,
   iar `width:auto` păstrează proporțiile oricărei variante. */
/* Emblema stă în locul mărcii desenate, la aceeași înălțime — de aceea are
   dimensiunile lui `.brand-mark`, nu ale unui wordmark lat. */
.brand-logo{
    height:44px;
    width:auto;
    flex-shrink:0;
}

/* În subsol, emblema și numele stau pe un rând: la 44px literele din emblemă
   nu se citesc, iar un subsol fără numele produsului scris nu e un subsol. */
.foot-brand{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
}

.foot-logo{
    height:44px;
    width:auto;
    flex-shrink:0;
}

.foot-brand h4{ margin:0; }

@media (max-width: 760px){
    .brand-logo{ height:36px; }
    .foot-logo{ height:38px; }
}
