:root {
    --brand: #4C9CE2;
    --brand-dark: #2F7EC4;
    --brand-bg: #EBF4FD;
    --ink: #1A1A2E;
    --ink-soft: #55607A;
    --line: #E4EAF2;
    --bg: #F7FAFD;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
}

header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark svg { width: 34px; height: 34px; }

.logo-name {
    font-weight: 800;
    letter-spacing: 2.5px;
    font-size: 15px;
    color: var(--ink);
}

nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }

nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
}

nav a:hover, nav a.active { color: var(--brand-dark); background: var(--brand-bg); }

.lang-switch {
    display: flex;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin-left: 6px;
}

.lang-switch button {
    border: 0;
    background: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
    cursor: pointer;
}

.lang-switch button.on { background: var(--brand); color: #fff; }

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 20px 64px;
}

.page-eyebrow {
    color: var(--brand-dark);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

h1 { font-size: 30px; line-height: 1.25; margin-bottom: 6px; }

.updated { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 28px; }

section.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 16px;
}

section.card h2 {
    font-size: 17px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: baseline;
}

section.card h2 .n {
    color: var(--brand);
    font-weight: 800;
    font-size: 14px;
}

section.card p, section.card li { color: var(--ink-soft); font-size: 15px; }
section.card p + p { margin-top: 10px; }
section.card ul { padding-left: 20px; margin-top: 8px; }
section.card li { margin-bottom: 6px; }
section.card strong { color: var(--ink); }

a.mail { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
a.mail:hover { text-decoration: underline; }

/* FAQ */
details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}

details summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 15.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
    content: "+";
    color: var(--brand);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

details[open] summary::after { content: "–"; }

details .a {
    padding: 0 20px 18px;
    color: var(--ink-soft);
    font-size: 15px;
}

/* About */
.hero-about {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 20px;
    color: #fff;
    padding: 34px 28px;
    margin-bottom: 24px;
}

.hero-about h1 { color: #fff; margin-bottom: 10px; }
.hero-about p { opacity: .92; font-size: 15.5px; max-width: 540px; }

.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.social {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--ink);
    display: block;
}

.social:hover { border-color: var(--brand); }
.social .s-net { color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.social .s-handle { font-weight: 700; font-size: 14.5px; margin-top: 3px; word-break: break-all; }

footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 22px 20px;
    color: var(--ink-soft);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

[data-lang] { display: none; }

@media (max-width: 560px) {
    h1 { font-size: 24px; }
    .socials { grid-template-columns: 1fr; }
    .header-inner { padding: 12px 14px; }
    nav a { padding: 6px 7px; font-size: 13px; }
}

/* Social icons */
.social { display: flex; align-items: center; gap: 14px; }
.s-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--brand-bg);
    display: flex; align-items: center; justify-content: center;
}
.s-icon svg { width: 20px; height: 20px; fill: var(--brand-dark); }
.s-text { min-width: 0; }
.s-text .s-net { display: block; }
.s-text .s-handle { display: block; }
.inline-ic { width: 15px; height: 15px; fill: var(--brand-dark); vertical-align: -2px; }
