@font-face {
    font-family: "ExoDC";
    src: url("/landing/assets/fonts/Exo_regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "ExoDC";
    src: url("/landing/assets/fonts/Exo_semibold.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "BariolDC";
    src: url("/landing/assets/fonts/bariol_regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "BariolDC";
    src: url("/landing/assets/fonts/bariol_bold.ttf") format("truetype");
    font-weight: 700;
}

:root {
    color-scheme: light;
    --background: #ffffff;
    --background-alt: #f5f5f5;
    --surface: rgba(236, 240, 241, 0.88);
    --surface-solid: #ffffff;
    --text: #2c3e50;
    --secondary: #555555;
    --accent: #2b92ea;
    --accent-deep: #1e3e5e;
    --border: rgba(30, 62, 94, 0.14);
    --soft-accent: rgba(43, 146, 234, 0.09);
    --warning: #d35400;
    --shadow: 0 14px 42px rgba(30, 62, 94, 0.10);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --background: #111113;
    --background-alt: #1c1c1e;
    --surface: rgba(28, 28, 30, 0.90);
    --surface-solid: #1c1c1e;
    --text: #dcdce1;
    --secondary: #aaaaaa;
    --accent: #4f8bc7;
    --accent-deep: #78a9dc;
    --border: rgba(255, 255, 255, 0.11);
    --soft-accent: rgba(79, 139, 199, 0.14);
    --warning: #ff7828;
    --shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: "BariolDC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-deep); }
a:hover { color: var(--accent); }
button, input { font: inherit; }

.page-shell {
    width: min(calc(100% - 40px), 1040px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    transform: translateY(-150%);
    padding: 8px 12px;
    border-radius: 8px;
    color: white;
    background: var(--accent-deep);
}
.skip-link:focus { transform: none; }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
}
.header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    color: var(--accent-deep);
    font-family: "ExoDC", sans-serif;
    font-size: 1.35rem;
    text-decoration: none;
    white-space: nowrap;
}
.brand strong { color: var(--accent); font-weight: 600; }
.site-nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
    font-family: "ExoDC", sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
}
.site-nav a {
    color: var(--secondary);
    text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch {
    display: flex;
    gap: 5px;
    color: var(--secondary);
    font-family: "ExoDC", sans-serif;
    font-size: 0.76rem;
}
.language-switch a { color: var(--secondary); text-decoration: none; }
.language-switch a[aria-current="true"] { color: var(--accent); font-weight: 600; }
.theme-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    background: var(--surface-solid);
    cursor: pointer;
}

.hero {
    padding: 76px 0 54px;
    background:
        radial-gradient(circle at 15% 0%, var(--soft-accent), transparent 38%),
        var(--background);
}
.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent);
    font-family: "ExoDC", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--accent-deep);
    font-family: "ExoDC", sans-serif;
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}
.hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--secondary);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.updated {
    display: inline-flex;
    margin-top: 22px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--secondary);
    background: var(--surface-solid);
    font-size: 0.83rem;
}

.content-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 54px;
    padding: 52px 0 86px;
}
.section-nav {
    position: sticky;
    top: 88px;
    align-self: start;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--background-alt);
}
.section-nav strong {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-deep);
    font-family: "ExoDC", sans-serif;
    font-size: 0.84rem;
}
.section-nav a {
    display: block;
    padding: 7px 0;
    color: var(--secondary);
    font-size: 0.92rem;
    text-decoration: none;
}
.section-nav a:hover { color: var(--accent); }
.article { min-width: 0; }
.article section {
    scroll-margin-top: 92px;
    padding: 0 0 40px;
    margin: 0 0 40px;
    border-bottom: 1px solid var(--border);
}
.article section:last-child { border-bottom: 0; margin-bottom: 0; }
.article h2 {
    margin: 0 0 16px;
    color: var(--accent-deep);
    font-family: "ExoDC", sans-serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.2;
}
.article h3 {
    margin: 26px 0 10px;
    color: var(--text);
    font-family: "ExoDC", sans-serif;
    font-size: 1.05rem;
}
.article p { margin: 0 0 14px; }
.article ul, .article ol { margin: 12px 0 0; padding-left: 1.35em; }
.article li { margin: 8px 0; }
.article .note {
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: var(--soft-accent);
}
.article .warning { border-left-color: var(--warning); }
.article .contact-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--background-alt);
    box-shadow: var(--shadow);
}
.article .contact-card p:last-child { margin-bottom: 0; }
.legal-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}
.legal-switch a {
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-solid);
    text-decoration: none;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--background-alt);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 0;
    color: var(--secondary);
    font-size: 0.9rem;
}
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-inner a { color: var(--secondary); text-decoration: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 760px) {
    body { font-size: 17px; }
    .page-shell { width: min(calc(100% - 28px), 1040px); }
    .header-inner { flex-wrap: wrap; gap: 12px; padding: 12px 0; }
    .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
    .header-actions { margin-left: auto; }
    .hero { padding: 54px 0 38px; }
    .content-layout { grid-template-columns: 1fr; gap: 28px; padding: 34px 0 62px; }
    .section-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
    .section-nav strong { grid-column: 1 / -1; }
    .article section { scroll-margin-top: 130px; }
    .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
