:root {
    --primary:        #0967A6;
    --primary-dark:   #075A94;
    --background:     #ffffff;
    --surface:        #FFFFFF;
    --container:      #E7E9EF;
    --border:         rgba(58, 74, 92, 0.2);
    --text:           #00112f;
    --text-secondary: #1a2f36;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway_light_italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

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

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Header ── */
header {
    background-color: var(--primary);
    background-image:
        linear-gradient(to right,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.15) 35%,
            rgba(0,0,0,0.15) 65%,
            rgba(0,0,0,0.55) 100%),
        url(images/banner.png);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 2.16rem 2rem;
}

.header-inner {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    flex-shrink: 0;
}

header h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.1rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.01em;
}

header h1 a {
    color: inherit;
    text-decoration: none;
}

header h1 a:hover {
    text-decoration: underline;
}

header .tagline,
header .subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ── Language selector ── */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px 11px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.lang-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    padding: 0 2px;
}

/* ── Main ── */
main {
    max-width: 720px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    flex: 1;
    width: 100%;
}

/* ── Language content sections ── */
.lang-content { display: none; }
.lang-content.visible { display: block; }

/* ── Footer ── */
footer {
    text-align: center;
    padding: 1.25rem 1.5rem;
    font-size: 0.83rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    background-color: var(--container);
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .footer-sep {
    margin: 0 0.4em;
    opacity: 0.5;
}

/* ── Index page ── */
.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.feature {
    background: var(--surface);
    border-radius: 10px;
    padding: 1.4rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 24, 64, 0.06);
}

.feature h3 {
    font-size: 0.97rem;
    color: var(--primary);
    margin-bottom: 0.45rem;
    font-weight: 600;
}

.feature p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.cta {
    text-align: center;
    margin-bottom: 3rem;
}

.cta a {
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 2.2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.15s;
}

.cta a:hover {
    background-color: var(--primary-dark);
}

/* ── Privacy policy page ── */
.last-updated {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.privacy h2 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 2rem 0 0.65rem;
    font-weight: 600;
}

.privacy p {
    font-size: 0.97rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.privacy ul {
    margin: 0.5rem 0 1rem 1.5rem;
    font-size: 0.97rem;
    color: var(--text);
}

.privacy ul li {
    margin-bottom: 0.4rem;
}

.privacy strong {
    color: var(--text);
}

.privacy ~ footer {
    margin-top: 3rem;
}
