/* Self-hosted fonts (SIL Open Font License), latin subset, trimmed to the weights used */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('/assets/fonts/inter-latin-600-800.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/assets/fonts/roboto-latin-400-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/assets/fonts/noto-serif-latin-400-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    background-color: #e7f5e9;
    color: #000000;
    line-height: 1.6;
}

a:focus-visible {
    outline: 3px solid #f39c12;
    outline-offset: 3px;
}

header {
    background-color: #075e54;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.lang-switcher {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-switcher a {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.lang-switcher a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.lang-switcher a[aria-current="page"] {
    background: #25d366;
    border-color: #25d366;
}

header h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 800;
}

header p {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 1.2em;
    font-weight: 400;
    opacity: 0.9;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
    min-height: calc(100vh - 200px);
}

.disclaimer {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px 20px;
    margin-top: 40px;
    font-size: 0.9em;
    color: #6c757d;
    line-height: 1.5;
}

.disclaimer p {
    margin-bottom: 0;
    font-size: 1em;
}

.disclaimer strong,
.disclaimer a {
    color: #495057;
}

.hero-link {
    display: block;
    margin: 0 0 20px;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.hero-link:hover .hero-image {
    opacity: 0.9;
}

h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #075e54;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

ul {
    list-style: none;
    margin: 20px 0;
}

ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1em;
}

ul li::before {
    content: "✓ ";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #25d366;
    font-size: 1.2em;
}

ul li strong {
    font-weight: 700;
    color: #075e54;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.intro {
    margin-bottom: 40px;
    background-color: #f0f9f4;
    padding: 25px;
    border-left: 4px solid #25d366;
    border-radius: 5px;
    font-family: 'Noto Serif', Georgia, serif;
}

.intro p {
    font-family: 'Noto Serif', Georgia, serif;
}

.intro p:last-child {
    margin-bottom: 0;
}

.text-link {
    color: #075e54;
    text-decoration: underline;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-width: 280px;
}

.btn-primary {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background-color: #075e54;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(7, 94, 84, 0.3);
}

.btn-secondary:hover {
    background-color: #064e46;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(7, 94, 84, 0.4);
}

.call-to-action {
    margin-top: 50px;
    font-size: 1.3em;
    font-weight: 700;
    text-align: center;
    background-color: #fef5e7;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #f39c12;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

footer {
    background-color: #075e54;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    margin: 10px 0;
    font-size: 0.95em;
}

footer a {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

footer .copyright {
    margin-top: 20px;
    font-size: 0.85em;
    opacity: 0.8;
}

/* Language chooser (/) and error pages (404, 502) */
.center-page {
    text-align: center;
}

.center-page .error-code {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 5em;
    font-weight: 800;
    color: #075e54;
    line-height: 1.1;
    margin-bottom: 10px;
}

.center-page .lang-block {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    header {
        padding-top: 55px;
    }

    header h1 {
        font-size: 1.8em;
    }

    header p {
        font-size: 1em;
    }

    .container {
        padding: 20px 15px;
    }

    h2 {
        font-size: 1.5em;
    }

    p, ul li {
        font-size: 1em;
    }

    .btn {
        min-width: 100%;
        padding: 12px 30px;
        font-size: 1.1em;
    }

    .call-to-action {
        font-size: 1.1em;
        padding: 20px;
    }

    .lang-switcher {
        top: 12px;
        right: 12px;
        gap: 5px;
    }

    .lang-switcher a {
        padding: 5px 10px;
        font-size: 0.75em;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
    }
}
