:root {
    --navy: #0e3b4a;
    --teal: #17868a;
    --muted: #5b7680;
    --bg: #ffffff;
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
    font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--navy);
    background:
        radial-gradient(60rem 40rem at 85% -10%, rgba(23, 134, 138, .10), transparent 60%),
        radial-gradient(50rem 35rem at -10% 110%, rgba(14, 59, 74, .08), transparent 60%),
        var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    text-align: center;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
    flex: 1;
    justify-content: center;
    animation: rise .8s ease-out both;
}
.logo {
    width: min(560px, 88vw);
    height: auto;
    display: block;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    background: rgba(23, 134, 138, .1);
    color: var(--teal);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .85rem;
}
.dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--teal);
    animation: pulse 1.8s ease-in-out infinite;
}
p {
    max-width: 32rem;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
}
.lead { font-size: 1.15rem; }
.subscribe {
    width: min(30rem, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
}
h2 {
    font-size: 1.2rem;
    font-weight: 600;
}
.subscribe-form {
    display: flex;
    gap: .5rem;
    width: 100%;
}
.subscribe-form input {
    flex: 1;
    min-width: 0;
    font: inherit;
    color: var(--navy);
    padding: .8rem 1rem;
    border: 1px solid rgba(14, 59, 74, .25);
    border-radius: 999px;
    background: #fff;
}
.subscribe-form input:focus-visible,
.subscribe-form button:focus-visible {
    outline: 3px solid rgba(23, 134, 138, .35);
    outline-offset: 2px;
}
.subscribe-form button {
    font: inherit;
    font-weight: 600;
    color: #fff;
    background: var(--teal);
    border: 0;
    border-radius: 999px;
    padding: .8rem 1.4rem;
    cursor: pointer;
    transition: background .15s;
}
.subscribe-form button:hover { background: var(--navy); }
.subscribe-form button:disabled { opacity: .6; cursor: wait; }
.subscribe-message { font-weight: 600; color: var(--teal); min-height: 1.6em; font-size: 1rem; }
.subscribe-message.is-error { color: #b42318; }
.fine-print { font-size: .85rem; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
@media (max-width: 30rem) {
    .subscribe-form { flex-direction: column; }
}
.lang-switch {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    display: flex;
    gap: .25rem;
    font-size: .9rem;
    font-weight: 600;
}
.lang-switch a {
    color: var(--muted);
    text-decoration: none;
    padding: .3rem .6rem;
    border-radius: 999px;
}
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current="page"] {
    color: var(--teal);
    background: rgba(23, 134, 138, .1);
}
.lang-switch a:focus-visible {
    outline: 3px solid rgba(23, 134, 138, .35);
    outline-offset: 2px;
}
footer {
    color: var(--muted);
    font-size: .85rem;
    opacity: .8;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.75); }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    main, .dot { animation: none; }
}
