:root {
    --navy: #17233b;
    --blue: #2968c8;
    --sky: #dceeff;
    --cream: #fffaf1;
    --coral: #ff735d;
    --white: #ffffff;
    --muted: #637086;
    --shadow: 0 22px 55px rgba(23, 35, 59, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--navy);
    background: var(--cream);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

button,
input {
    font: inherit;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
}

.logo {
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.logo span {
    color: var(--coral);
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.hero {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 70px;
    align-items: center;
    width: min(1120px, calc(100% - 40px));
    min-height: 610px;
    margin: 0 auto;
    padding: 60px 0 100px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(3.1rem, 7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.intro {
    max-width: 630px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 1.2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 10px 26px rgba(41, 104, 200, 0.25);
}

.button-secondary {
    color: var(--navy);
    border-color: #ccd5e2;
    background: var(--white);
}

.accent-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 48% 52% 45% 55% / 55% 42% 58% 45%;
    color: var(--navy);
    background: var(--sky);
    transform: rotate(4deg);
}

.large-number {
    font-size: clamp(6rem, 13vw, 10rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.09em;
}

.accent-label {
    margin-top: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.timer-section {
    padding: 100px 20px;
    background: var(--navy);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    color: var(--white);
    text-align: center;
}

.timer-card {
    width: min(620px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 6vw, 54px);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.timer-card label {
    display: block;
    margin-bottom: 9px;
    font-size: 0.85rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
}

.timer-card input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #dce2ea;
    border-radius: 12px;
    color: var(--navy);
    outline: none;
}

.timer-card input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(41, 104, 200, 0.12);
}

.timer {
    margin: 36px 0 8px;
    font-size: clamp(4.5rem, 16vw, 8rem);
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.07em;
}

.timer-message {
    min-height: 26px;
    margin-bottom: 26px;
    color: var(--muted);
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.about {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 110px 0;
    text-align: center;
}

.about > p:last-child {
    color: var(--muted);
    font-size: 1.08rem;
}

footer {
    padding: 24px 20px;
    color: var(--muted);
    text-align: center;
}

footer p {
    margin: 0;
}

@media (max-width: 760px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 46px;
        min-height: auto;
        padding: 70px 0 85px;
    }

    .accent-card {
        width: min(330px, 85%);
        margin: 0 auto;
    }

    nav {
        gap: 16px;
    }

    .timer-controls {
        flex-direction: column;
    }
}
