:root {
    --ds-color-basic-white: rgb(255, 255, 255);
    --ds-color-magenta-50: rgb(252, 230, 242);
    --ds-color-magenta-500: rgb(226, 0, 122);
    --ds-color-magenta-600: rgb(206, 0, 111);
    --ds-color-navy-50: rgb(235, 236, 244);
    --ds-color-navy-100: rgb(192, 196, 221);
    --ds-color-navy-500: rgb(52, 66, 144);
    --ds-color-navy-600: rgb(47, 60, 131);
    --ds-color-navy-700: rgb(37, 47, 102);
    --ds-color-navy-900: rgb(22, 28, 60);
    --ds-color-grey-50: rgb(245, 245, 245);
    --ds-color-grey-100: rgb(211, 211, 212);
    --ds-color-grey-200: rgb(189, 190, 191);
    --ds-color-grey-300: rgb(159, 160, 161);
    --ds-color-grey-700: rgb(80, 80, 82);
    --ds-color-grey-800: rgb(62, 62, 63);
    --ds-color-grey-900: rgb(47, 47, 48);

    --ds-space-2: 2px;
    --ds-space-4: 4px;
    --ds-space-8: 8px;
    --ds-space-12: 12px;
    --ds-space-16: 16px;
    --ds-space-20: 20px;
    --ds-space-24: 24px;
    --ds-space-32: 32px;
    --ds-space-40: 40px;
    --ds-space-48: 48px;
    --ds-space-56: 56px;
    --ds-space-64: 64px;
    --ds-space-80: 80px;
    --ds-space-96: 96px;

    --ds-type-scale-11: 11px;
    --ds-type-scale-12: 12px;
    --ds-type-scale-14: 14px;
    --ds-type-scale-16: 16px;
    --ds-type-scale-18: 18px;
    --ds-type-scale-20: 20px;
    --ds-type-scale-24: 24px;
    --ds-type-scale-28: 28px;
    --ds-type-scale-36: 36px;
    --ds-type-scale-48: 48px;
    --ds-type-scale-60: 60px;

    --ds-radius-4: 4px;
    --ds-radius-8: 8px;
    --ds-radius-12: 12px;
    --ds-radius-16: 16px;
    --ds-radius-full: 999px;

    --ds-content-width-narrow: 48rem;
    --ds-content-width-full: 80rem;
    --ds-shadow-bottom-s:
        0 1px 3px 0 color-mix(in srgb, var(--ds-color-grey-900) 10%, transparent),
        0 1px 2px 0 color-mix(in srgb, var(--ds-color-grey-900) 6%, transparent);
    --ds-shadow-bottom-m:
        0 4px 8px -2px color-mix(in srgb, var(--ds-color-grey-900) 10%, transparent),
        0 2px 4px -2px color-mix(in srgb, var(--ds-color-grey-900) 6%, transparent);
    --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial,
        sans-serif;
    --font-titillium: 'Titillium Web', ui-sans-serif, sans-serif;
    --ds-font-ui: var(--font-body);
    --ds-font-display: var(--font-titillium), var(--font-body);
    --background: var(--ds-color-grey-50);
    --foreground: var(--ds-color-grey-900);
    --card: var(--ds-color-basic-white);
    --primary: var(--ds-color-magenta-500);
    --primary-foreground: var(--ds-color-basic-white);
    --secondary: var(--ds-color-navy-100);
    --muted-foreground: var(--ds-color-grey-700);
    --border: var(--ds-color-grey-200);
    --radius: var(--ds-radius-8);
    --footer-background: var(--ds-color-navy-600);
    --footer-foreground: var(--ds-color-basic-white);
    --brand-gradient-glow: radial-gradient(
        52.02% 131.14% at 52.22% 130%,
        var(--ds-color-navy-50) 0%,
        rgba(255, 255, 255, 0.4) 100%
    );
    --brand-gradient-blob: linear-gradient(121deg, rgba(255, 255, 255, 0) 7.15%, var(--ds-color-navy-50) 73.41%);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--foreground);
    background: var(--card);
    font-family: var(--ds-font-ui);
    font-size: var(--ds-type-scale-16);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-header {
    padding: var(--ds-space-20) var(--ds-space-32);
    border-bottom: 1px solid var(--border);
    background: var(--card);
}

.site-header__inner {
    max-width: var(--ds-content-width-full);
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.site-header__logo {
    width: auto;
    height: 80px;
    display: block;
}

.landing {
    position: relative;
    overflow: hidden;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ds-space-56) var(--ds-space-24);
    background: var(--brand-gradient-glow), var(--card);
}

.landing__blob {
    position: absolute;
    z-index: 0;
    top: -140px;
    right: -100px;
    width: 460px;
    height: 460px;
    border-radius: var(--ds-radius-full);
    background: var(--brand-gradient-blob);
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
}

.landing__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--ds-content-width-narrow);
    text-align: center;
}

.landing__overline {
    margin: 0 0 var(--ds-space-12);
    font-size: var(--ds-type-scale-14);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
}

.landing__title {
    margin: 0;
    font-family: var(--ds-font-display);
    font-size: clamp(var(--ds-type-scale-36), 6vw, var(--ds-type-scale-60));
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.landing__accent {
    display: block;
    width: 64px;
    height: 4px;
    margin: var(--ds-space-24) auto;
    border-radius: var(--ds-radius-full);
    background: var(--primary);
}

.landing__lead {
    margin: 0 auto var(--ds-space-48);
    max-width: 34rem;
    font-size: var(--ds-type-scale-18);
    line-height: 1.6;
    color: var(--muted-foreground);
}

.countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--ds-space-24);
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ds-space-12);
}

.countdown__tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: var(--ds-space-16) var(--ds-space-20);
    background: var(--ds-color-navy-500);
    border-radius: var(--ds-radius-12);
    box-shadow: var(--ds-shadow-bottom-m);
}

.countdown__value {
    font-family: var(--ds-font-display);
    font-size: clamp(var(--ds-type-scale-36), 7vw, var(--ds-type-scale-60));
    font-weight: 700;
    line-height: 1;
    color: var(--ds-color-basic-white);
    font-variant-numeric: tabular-nums;
}

.countdown__label {
    font-size: var(--ds-type-scale-12);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ds-color-grey-700);
}

.countdown__target {
    margin: var(--ds-space-32) 0 0;
    font-size: var(--ds-type-scale-16);
    font-weight: 600;
}

.landing__cta {
    margin: var(--ds-space-24) 0 0;
    font-size: var(--ds-type-scale-18);
    line-height: 1.6;
    color: var(--muted-foreground);
}

.landing__cta-link {
    display: block;
    margin-top: var(--ds-space-4);
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.landing__cta-link:hover {
    color: var(--ds-color-magenta-600);
}

.site-footer {
    flex: 0 0 auto;
    background: var(--footer-background);
    color: var(--footer-foreground);
    padding: var(--ds-space-48) var(--ds-space-32);
}

.site-footer__inner {
    max-width: var(--ds-content-width-full);
    margin: 0 auto;
    text-align: left;
}

.site-footer__columns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ds-space-48) var(--ds-space-96);
}

.site-footer__col {
    flex: 1 1 240px;
    min-width: 0;
}

.site-footer__heading {
    margin: 0 0 var(--ds-space-16);
    font-weight: 700;
    font-size: var(--ds-type-scale-18);
    color: var(--footer-foreground);
}

.site-footer__addr {
    margin: 0 0 var(--ds-space-12);
    font-style: normal;
    font-size: var(--ds-type-scale-14);
    line-height: 1.7;
    color: var(--ds-color-navy-50);
}

.site-footer__meta {
    margin: 0 0 var(--ds-space-8);
    font-size: var(--ds-type-scale-14);
    color: var(--ds-color-navy-50);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-12);
    align-items: flex-start;
}

.site-footer__link {
    display: inline-block;
    margin-top: var(--ds-space-8);
    font-size: var(--ds-type-scale-14);
    color: var(--footer-foreground);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.site-footer__links .site-footer__link,
.site-footer__bottom .site-footer__link {
    margin-top: 0;
}

.site-footer__link:hover {
    color: var(--ds-color-navy-50);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ds-space-16);
    margin-top: var(--ds-space-40);
    padding-top: var(--ds-space-24);
    border-top: 1px solid color-mix(in srgb, var(--ds-color-basic-white) 20%, transparent);
}

.site-footer__copy {
    margin: 0;
    font-size: var(--ds-type-scale-14);
    color: var(--ds-color-navy-50);
}

@media (max-width: 480px) {
    .site-header {
        padding: var(--ds-space-12) var(--ds-space-20);
    }

    .site-header__logo {
        height: 60px;
    }

    /* Tighten the generous desktop spacing so the hero fits with less scrolling. */
    .landing {
        padding-block: var(--ds-space-32);
    }

    .landing__lead {
        margin-bottom: var(--ds-space-32);
    }

    .countdown {
        gap: var(--ds-space-16);
    }

    .countdown__target {
        margin-top: var(--ds-space-24);
    }

    .countdown__tile {
        min-width: 72px;
        padding: var(--ds-space-12) var(--ds-space-16);
    }

    .site-footer {
        padding-block: var(--ds-space-24);
    }
}

/* Very narrow phones (≤400px, e.g. 320px): keep the four units on one line by
   letting them share the row equally and scaling the digits/labels down. */
@media (max-width: 400px) {
    .countdown {
        flex-wrap: nowrap;
        gap: var(--ds-space-8);
    }

    .countdown__unit {
        flex: 1 1 0;
        min-width: 0;
    }

    .countdown__tile {
        min-width: 0;
        width: 100%;
        padding: var(--ds-space-12) var(--ds-space-4);
    }

    .countdown__value {
        font-size: clamp(var(--ds-type-scale-20), 8vw, var(--ds-type-scale-28));
    }

    .countdown__label {
        font-size: var(--ds-type-scale-11);
        letter-spacing: 0.04em;
        white-space: nowrap;
    }
}
