:root {
    --navy: #1C3144;
    --sand: #D1C6AD;
    --sand-light: #F4F0E7;
    --mauve: #9E768F;
    --mauve-dark: #6F4F64;
    --green: #498467;
    --green-dark: #2F5F48;
    --olive: #646536;
    --ink: #1C3144;
    --ink-soft: #4A5A68;
    --white: #FFFFFF;
    --serif: Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

p {
    margin: 0;
}

a:focus-visible {
    outline: 3px solid var(--mauve);
    outline-offset: 3px;
}

.wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top bar */
.top {
    background: var(--navy);
    color: var(--white);
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.35rem;
    text-decoration: none;
}

.brand-mark {
    width: 30px;
    height: 30px;
}

.soon {
    border: 1px solid var(--sand);
    border-radius: 999px;
    color: var(--sand);
    font-size: 0.85rem;
    padding: 4px 14px;
}

/* Hero */
.hero {
    background: var(--navy);
    color: var(--white);
    padding: 56px 0 96px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    color: var(--sand);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.flag {
    border-radius: 2px;
    height: 0.85em;
    margin-left: 4px;
    vertical-align: -0.04em;
    width: auto;
}

h1 .flag {
    border-radius: 4px;
    height: 0.6em;
    margin-left: 6px;
    vertical-align: 0.08em;
}

.lead {
    color: #E4DFD3;
    font-size: 1.2rem;
    margin: 24px 0 32px;
    max-width: 34em;
}

.button {
    display: inline-block;
    background: var(--sand);
    border-radius: 999px;
    color: var(--navy);
    font-weight: 600;
    padding: 14px 28px;
    text-decoration: none;
    transition: background 0.15s;
}

.button:hover {
    background: var(--white);
}

/* The booking card: a picture of the idea, not a working form */
.demo {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    color: var(--ink);
    padding: 28px;
    transform: rotate(1.5deg);
}

.demo-title {
    font-family: var(--serif);
    font-size: 1.5rem;
}

.demo-day {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.demo-times {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.demo-times span {
    border: 1px solid var(--sand);
    border-radius: 10px;
    font-size: 0.95rem;
    padding: 10px 0;
    text-align: center;
}

.demo-times .picked {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--white);
    font-weight: 600;
}

.demo-times .taken {
    background: var(--sand-light);
    border-color: var(--sand-light);
    color: #8B8F92;
    text-decoration: line-through;
}

.demo-done {
    align-items: center;
    color: var(--green-dark);
    display: flex;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 8px;
    margin-top: 18px;
}

.tick {
    align-items: center;
    background: var(--green-dark);
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    font-size: 0.75rem;
    height: 22px;
    justify-content: center;
    width: 22px;
}

/* Three years */
.proof {
    background: var(--mauve-dark);
    color: var(--white);
    padding: 36px 0;
}

.proof-row {
    align-items: center;
    display: flex;
    gap: 40px;
}

.proof-number {
    flex-shrink: 0;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1;
}

.proof-text {
    font-size: 1.15rem;
    max-width: 44em;
}

/* Sections */
.section {
    padding: 88px 0;
}

.section-sand {
    background: var(--sand-light);
}

.cards {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
}

.card {
    border: 1px solid var(--sand);
    border-radius: 16px;
    padding: 28px;
}

.card p:last-child {
    color: var(--ink-soft);
}

.tag {
    color: var(--mauve-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
}

.tag-live {
    color: var(--green-dark);
}

.reasons {
    display: grid;
    gap: 64px;
    grid-template-columns: 1fr 1.2fr;
}

.reasons h2 {
    margin-bottom: 16px;
}

.reasons ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.reasons li {
    border-top: 1px solid var(--sand);
    padding: 18px 0;
}

.reasons li:first-child {
    border-top: 0;
    padding-top: 0;
}

/* Footer */
.foot {
    background: var(--navy);
    color: var(--sand);
    font-size: 0.95rem;
    padding: 28px 0;
}

.foot-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
}

.foot a {
    color: var(--sand);
}

/* Privacy and error pages */
.plain {
    max-width: 720px;
    padding: 56px 24px 88px;
    margin: 0 auto;
}

.plain h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.plain h2 {
    font-size: 1.5rem;
    margin: 32px 0 8px;
}

.plain a {
    color: var(--mauve-dark);
}

@media (max-width: 860px) {
    .hero {
        padding: 32px 0 64px;
    }

    .hero-grid,
    .reasons,
    .cards {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 44px;
    }

    .reasons {
        gap: 28px;
    }

    .demo {
        transform: none;
    }

    .proof-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .section {
        padding: 56px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button {
        transition: none;
    }
}

.back {
    margin-top: 32px;
}
