:root {
    color-scheme: light;
    --white: #ffffff;
    --blue: #1555d6;
    --blue-dark: #0c3694;
    --red: #d52b3f;
    --black: #10131a;
    --muted: #5d6471;
    --line: #dfe3ea;
    --soft: #f3f5f8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--white);
    color: var(--black);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a { color: inherit; }

.site-header {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    padding: 12px clamp(20px, 5vw, 72px);
    background: var(--white);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--black);
    font-weight: 800;
    text-decoration: none;
}

.site-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header nav a,
.site-footer a {
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
}

.site-header nav a:hover,
.site-footer a:hover { color: var(--blue); }

.public-hero {
    min-height: min(720px, calc(100vh - 74px));
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    align-items: stretch;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px clamp(28px, 7vw, 112px);
}

.eyebrow {
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

h1, p { margin-top: 0; }

.hero-copy h1 {
    max-width: 760px;
    margin: 16px 0 22px;
    font-size: clamp(48px, 7vw, 108px);
    line-height: .94;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 620px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.public-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    border-radius: 6px;
    padding: 0 24px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .16s ease, background-color .16s ease, color .16s ease;
}

.public-button:hover { transform: translateY(-2px); }
.primary-action { border-color: var(--blue); background: var(--blue); color: var(--white); }
.primary-action:hover { background: var(--blue-dark); }
.secondary-action { background: var(--white); color: var(--black); }
.secondary-action:hover { background: var(--soft); }

.hero-visual {
    position: relative;
    min-height: 500px;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    overflow: hidden;
}

.flag-stripe { min-height: 150px; }
.stripe-white { background: #f4f5f7; }
.stripe-blue { background: var(--blue); }
.stripe-red { background: var(--red); }

.hero-visual img {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(56%, 360px);
    max-height: 72%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .24));
}

.site-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.site-options a {
    min-height: 210px;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 36px clamp(28px, 7vw, 112px);
    text-decoration: none;
}

.site-options a + a { border-left: 1px solid var(--line); }
.site-options a:hover { background: var(--soft); }
.site-options span { color: var(--red); font-weight: 800; }
.site-options strong { font-size: 30px; }
.site-options p { margin: 0; color: var(--muted); }

.download-page,
.help-page {
    min-height: calc(100vh - 144px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 20px;
    text-align: center;
}

.download-page { border-top: 12px solid var(--blue); border-bottom: 12px solid var(--red); }
.download-logo { width: 112px; height: 112px; object-fit: contain; margin-bottom: 24px; }
.download-page h1, .help-page h1 { margin-bottom: 14px; font-size: clamp(38px, 6vw, 76px); letter-spacing: 0; }
.download-lead, .help-page p { color: var(--muted); font-size: 20px; }

.download-main {
    width: min(720px, 92vw);
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--blue-dark);
    border-radius: 8px;
    margin-top: 26px;
    background: var(--blue);
    color: var(--white);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    text-decoration: none;
    transition: transform .16s ease, background-color .16s ease;
}

.download-main:hover { background: var(--blue-dark); transform: translateY(-3px); }
.download-main.disabled { border-color: #8a909a; background: #a2a8b1; cursor: not-allowed; }
.release-meta { margin: 12px 0 24px; color: var(--muted); }

.decline-button {
    min-height: 48px;
    border: 2px solid var(--red);
    border-radius: 6px;
    padding: 0 22px;
    background: var(--white);
    color: var(--red);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.decline-button:hover { background: #fff0f2; }
.decline-answer { min-height: 28px; margin: 14px 0 0; color: var(--black); font-size: 18px; }
.help-page p { margin-bottom: 30px; }
.help-page strong { color: var(--red); }

.site-footer {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 18px clamp(20px, 5vw, 72px);
    font-weight: 800;
}

@media (max-width: 840px) {
    .site-header { align-items: flex-start; }
    .site-brand span { display: none; }
    .site-header nav { gap: 16px; padding-top: 12px; }
    .public-hero { min-height: auto; grid-template-columns: 1fr; }
    .hero-copy { min-height: 520px; padding: 56px 24px; }
    .hero-copy h1 { font-size: clamp(48px, 15vw, 76px); overflow-wrap: anywhere; }
    .hero-visual { min-height: 420px; }
    .site-options { grid-template-columns: 1fr; }
    .site-options a + a { border-top: 1px solid var(--line); border-left: 0; }
    .site-footer { align-items: flex-start; flex-direction: column; }
}
