@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
    --ink: #17231d;
    --muted: #65736c;
    --line: #dce6df;
    --paper: #f5f8f5;
    --white: #fff;
    --green: #216b46;
    --green-dark: #123d2a;
    --lime: #d9ee73;
    --gold: #f2b84b;
    --red: #c7463a;
    --radius: 24px;
    --shadow: 0 28px 80px rgba(27, 72, 49, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "DM Sans", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(220, 230, 223, .85);
    backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--white);
    background: var(--green);
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: -.08em;
}
.brand-copy strong { display: block; line-height: 1.1; font-family: "Manrope", sans-serif; }
.brand-copy small { color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links > a { color: #3d5046; font-size: .94rem; font-weight: 700; text-decoration: none; }
.nav-links > a:hover { color: var(--green); }
.lang-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.lang-switch button {
    border: 0;
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
}
.lang-switch button.active { color: var(--white); background: var(--green); }

.hero {
    min-height: 730px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 15%, rgba(217, 238, 115, .35), transparent 27%),
        linear-gradient(150deg, #f3f8f2 0%, #fff 58%, #fff9eb 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 72px; align-items: center; padding: 86px 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--gold); }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.13; letter-spacing: -.04em; }
h1 { margin: 20px 0; font-size: clamp(3rem, 6vw, 5.7rem); }
h2 { margin: 12px 0 18px; font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { margin: 0 0 10px; font-size: 1.2rem; }
.lead { max-width: 620px; color: var(--muted); font-size: 1.16rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease;
}
.button.primary { color: var(--white); border-color: var(--green); background: var(--green); box-shadow: 0 14px 30px rgba(33, 107, 70, .22); }
.button:hover { transform: translateY(-2px); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #43574c; font-size: .88rem; font-weight: 700; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--green); }

.phone {
    width: min(390px, 100%);
    margin: 0 auto;
    padding: 13px;
    border: 1px solid rgba(18, 61, 42, .16);
    border-radius: 42px;
    background: #17231d;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}
.phone-screen { min-height: 570px; padding: 26px 20px; border-radius: 31px; background: #f5f8f5; overflow: hidden; }
.phone-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.phone-top strong { font-family: "Manrope", sans-serif; font-size: 1.2rem; }
.score-ring {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 5px solid var(--lime);
    border-right-color: #dfe8e1;
    border-radius: 50%;
    color: var(--green-dark);
    font-size: .74rem;
    font-weight: 800;
}
.question-card { padding: 24px; border-radius: 22px; background: var(--white); box-shadow: 0 15px 45px rgba(27, 72, 49, .1); }
.question-meta { display: flex; justify-content: space-between; color: var(--green); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.question-card h3 { margin: 17px 0 22px; font-size: 1.08rem; letter-spacing: -.02em; }
.answer { margin-top: 9px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfb; font-size: .86rem; font-weight: 600; }
.answer.correct { border-color: #9fcbb1; background: #e8f5ed; color: var(--green-dark); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mini-stat { padding: 14px 8px; border-radius: 14px; background: var(--white); text-align: center; }
.mini-stat strong { display: block; color: var(--green); font-family: "Manrope", sans-serif; }
.mini-stat small { color: var(--muted); font-size: .68rem; }

.section { padding: 104px 0; }
.section.tint { background: var(--paper); }
.sources-section { padding: 72px 0; background: #f8fbf8; }
.source-panel { padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: 0 18px 55px rgba(27, 72, 49, .08); }
.source-panel h2 { margin-top: 14px; }
.source-panel > [data-lang].active { display: block; }
.source-panel p { color: var(--muted); }
.source-list { margin: 26px 0; padding-left: 24px; }
.source-list li + li { margin-top: 14px; }
.source-list a { color: var(--green); font-weight: 800; overflow-wrap: anywhere; }
.source-footnote { margin-bottom: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p, .card p, .step p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { min-height: 225px; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 13px; color: var(--green-dark); background: #e8f2df; font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 29px; border-top: 3px solid var(--green); background: var(--white); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 22px; color: var(--green); font-weight: 800; }
.note { padding: 28px; margin-top: 32px; border: 1px solid #efdcaa; border-radius: 20px; background: #fff9e9; color: #6a5623; }
.cta { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; padding: 50px; border-radius: 32px; color: var(--white); background: var(--green-dark); }
.cta h2 { margin-top: 0; }
.cta p { color: #bed0c5; }

.legal-hero { padding: 90px 0 55px; background: linear-gradient(180deg, #edf5ee, #fff); }
.legal-hero h1 { margin-bottom: 14px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.updated { color: var(--muted); font-size: .94rem; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: 64px; padding: 64px 0 110px; }
.legal-nav { position: sticky; top: 105px; align-self: start; }
.legal-nav a { display: block; padding: 9px 0; color: var(--muted); font-weight: 700; text-decoration: none; }
.legal-nav a:hover { color: var(--green); }
.legal-content h2 { margin: 48px 0 14px; font-size: 1.75rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: 28px; }
.legal-content p, .legal-content li { color: #46584f; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--green); font-weight: 700; }
.notice, .contact-box { padding: 22px; border: 1px solid #bcd5c5; border-radius: 17px; background: #eef7f1; color: #315d45; }
.contact-box { margin-top: 30px; }

.site-footer { padding: 45px 0; color: #adc1b5; background: #101e17; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-grid strong { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #dbe6df; text-decoration: none; }
.footer-note { margin: 8px 0 0; font-size: .88rem; }
[data-lang] { display: none; }
[data-lang].active { display: block; }
span[data-lang].active { display: inline; }

@media (max-width: 880px) {
    .nav-links > a { display: none; }
    .hero { min-height: auto; }
    .hero-grid, .legal-layout { grid-template-columns: 1fr; }
    .hero-grid { padding: 65px 0; gap: 48px; }
    .phone { transform: none; }
    .cards, .steps { grid-template-columns: 1fr; }
    .legal-nav { display: none; }
    .cta { grid-template-columns: 1fr; padding: 36px 29px; }
    .footer-grid { flex-direction: column; }
}
@media (max-width: 540px) {
    .shell { width: min(100% - 28px, 1160px); }
    .brand-copy small { display: none; }
    .nav { min-height: 68px; }
    .nav-links { gap: 10px; }
    .lang-switch button { padding: 6px 8px; }
    .hero-grid { padding: 49px 0; }
    .section { padding: 78px 0; }
    .sources-section { padding: 46px 0; }
    .source-panel { padding: 28px 22px; }
    .phone-screen { min-height: 520px; }
    .legal-hero { padding-top: 60px; }
    .legal-layout { padding-top: 44px; }
}
