@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: #081426;
    --muted: #607087;
    --line: #dbe5f0;
    --paper: #f7fafc;
    --white: #ffffff;
    --blue: #146ef5;
    --blue-dark: #0b4fc4;
    --cyan: #32b8dd;
    --coral: #ff7557;
    --navy: #071c39;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(13, 45, 88, .12);
}
* { 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; }
img { max-width: 100%; display: block; }
.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(219, 229, 240, .8);
    backdrop-filter: blur(16px);
}
.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 132px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
    color: #31445d;
    font-weight: 600;
    text-decoration: none;
    font-size: .95rem;
}
.nav-links a:hover, .text-link:hover { color: var(--blue); }
.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: .78rem;
    font-weight: 700;
    cursor: pointer;
}
.lang-switch button.active { color: var(--white); background: var(--blue); }

.hero {
    min-height: 720px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 12%, rgba(50, 184, 221, .17), transparent 30%),
        linear-gradient(145deg, #f4f9ff 0%, #fff 55%, #fff5f1 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 64px;
    align-items: center;
    padding: 86px 0;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue-dark);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--coral); }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.14; letter-spacing: -.035em; }
h1 { margin: 20px 0; font-size: clamp(3rem, 6vw, 5.8rem); max-width: 720px; }
h2 { margin: 12px 0 18px; font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { margin: 0 0 10px; font-size: 1.2rem; }
.lead { max-width: 610px; color: var(--muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}
.button.primary { color: var(--white); border-color: var(--blue); background: var(--blue); box-shadow: 0 12px 28px rgba(20, 110, 245, .25); }
.button:hover { transform: translateY(-1px); }
.hero-visual {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 8px solid rgba(255, 255, 255, .78);
}
.hero-visual img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #3f5269; font-size: .9rem; font-weight: 600; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--blue); }

.section { padding: 104px 0; }
.section.tint { background: var(--paper); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    min-height: 220px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.card .icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 13px;
    color: var(--blue-dark);
    background: #eaf3ff;
    font-weight: 800;
}
.card p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-left: 3px solid var(--blue); background: #f7faff; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 24px; color: var(--blue); font-weight: 800; }
.cta {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 30px;
    align-items: center;
    padding: 48px;
    color: var(--white);
    border-radius: 30px;
    background: var(--navy);
}
.cta h2 { margin-top: 0; }
.cta p { color: #b9c9dc; }

.legal-hero { padding: 90px 0 54px; background: linear-gradient(180deg, #f2f8ff, #fff); }
.legal-hero h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); margin-bottom: 16px; }
.updated { color: var(--muted); font-size: .95rem; }
.legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 760px);
    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); text-decoration: none; font-weight: 600; }
.legal-nav a:hover { color: var(--blue); }
.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: #43556c; }
.legal-content li + li { margin-top: 8px; }
.notice { padding: 20px 22px; border: 1px solid #bad8ff; border-radius: 16px; background: #eff6ff; color: #294d79; }
.contact-box { padding: 28px; margin-top: 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.contact-box a { color: var(--blue-dark); font-weight: 700; }

.site-footer { padding: 44px 0; color: #a9bbd0; background: #06162d; }
.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: #d7e2ef; text-decoration: none; }
.footer-note { margin: 8px 0 0; font-size: .9rem; }
[data-lang] { display: none; }
[data-lang].active { display: block; }
span[data-lang].active, a[data-lang].active { display: inline; }

@media (max-width: 860px) {
    .nav-links > a { display: none; }
    .hero { min-height: auto; }
    .hero-grid, .legal-layout { grid-template-columns: 1fr; }
    .hero-grid { padding: 64px 0; gap: 40px; }
    .cards, .steps { grid-template-columns: 1fr; }
    .legal-nav { display: none; }
    .cta { grid-template-columns: 1fr; padding: 34px 28px; }
    .footer-grid { flex-direction: column; }
}

@media (max-width: 520px) {
    .shell { width: min(100% - 28px, 1160px); }
    .brand img { width: 110px; }
    .nav { min-height: 66px; }
    .hero-grid { padding: 48px 0; }
    .hero-visual { border-width: 5px; border-radius: 22px; }
    .section { padding: 78px 0; }
    .legal-hero { padding-top: 60px; }
    .legal-layout { padding-top: 44px; }
}
