:root {
    --ink: #172a48;
    --muted: #4b5d76;
    --blue: #294fba;
    --border: #dce4ef;
    --tint: #eaf0ff;
    --gutter: clamp(18px, 5vw, 60px);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3, p {
    margin: 0;
}

a {
    color: var(--blue);
    text-underline-offset: 0.2em;
}

:focus-visible {
    outline: 3px solid #5279f5;
    outline-offset: 4px;
}

.shell {
    width: min(1160px, calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
}

.masthead {
    border-bottom: 1px solid var(--border);
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    min-height: 70px;
}

.brand-separator {
    color: var(--muted);
    font-size: 1.25rem;
}

.partner-logo {
    width: clamp(112px, 38vw, 155px);
    min-width: 0;
    height: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.045em;
}

.brand img {
    border-radius: 8px;
}

.hero {
    background: radial-gradient(ellipse at 82% 5%, #e9f0ff, transparent 65%), #f9fbff;
    border-bottom: 1px solid var(--border);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 6vw, 84px);
    padding-block: clamp(36px, 5.6vw, 78px);
}

.eyebrow {
    color: var(--blue);
    font-size: 0.79rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

h1, h2 {
    font-weight: 750;
    line-height: 1.09;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

h1 {
    margin-top: 12px;
    font-size: clamp(2.45rem, 5.15vw, 4.6rem);
}

h1 span {
    display: block;
    color: var(--blue);
}

.hero-intro {
    max-width: 40ch;
    margin-block: 18px 24px;
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.booking-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.booking-button:hover {
    background: #203e96;
}

.workflow {
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 40px #203a6f0e;
}

.workflow h2 {
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.workflow-steps {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.workflow-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding-block: 9px;
}

.workflow-steps li:not(:last-child)::after {
    position: absolute;
    inset: 43px auto -9px 16px;
    width: 1px;
    background: var(--border);
    content: "";
}

.step-number {
    display: grid;
    place-items: center;
    height: 34px;
    border-radius: 50%;
    background: var(--tint);
    color: var(--blue);
    font-size: 0.77rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.workflow-steps li:last-child .step-number {
    background: #e3f3ec;
    color: #14604b;
}

.workflow-steps h3 {
    font-size: 1rem;
    line-height: 1.25;
}

.workflow-steps p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.89rem;
    line-height: 1.5;
}

.booking {
    padding-block: clamp(36px, 5.5vw, 72px);
    scroll-margin-top: 12px;
}

.booking-layout {
    /* Match the 420px compact booking form plus the panel border. */
    --calendar-width: 422px;
    display: grid;
    width: min(960px, calc(100% - 2 * var(--gutter)));
    grid-template-columns: minmax(0, 1fr) var(--calendar-width);
    align-items: start;
    gap: clamp(26px, 6vw, 80px);
}

.booking-copy {
    position: sticky;
    top: 28px;
}

.calendar-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    color: var(--blue);
    background: var(--tint);
}

.calendar-icon svg {
    width: 24px;
    height: 24px;
}

.booking h2 {
    margin-block: 16px 8px;
    font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.booking-subtitle {
    font-size: clamp(1.05rem, 1.75vw, 1.3rem);
    font-weight: 650;
    line-height: 1.35;
}

.booking-intro {
    max-width: 46ch;
    margin-block: 14px 18px;
    color: var(--muted);
}

.calendar-link {
    display: inline-block;
    padding-block: 4px;
    font-size: 0.9rem;
    font-weight: 650;
}

.booking-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px #203a6f0d;
}

.booking-panel iframe {
    display: block;
    width: 100%;
    /* Fits the date picker, time slots, name and email in the compact Bookings layout. */
    height: 1920px;
    border: 0;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 820px) {
    .booking-layout {
        width: min(var(--calendar-width), calc(100% - 2 * var(--gutter)));
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-copy {
        position: static;
    }
}

@media (max-width: 720px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 410px) {
    .booking-panel {
        margin-inline: calc(-1 * var(--gutter));
        border-inline: 0;
        border-radius: 0;
    }
}

@media (min-width: 320px) and (max-width: 349px) {
    .booking-panel iframe {
        /* The booking form has a 350px minimum layout width. */
        width: 350px;
        margin-inline: auto;
        zoom: 0.9;
    }
}
