:root {
    --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --text: #17181a;
    --text-muted: #74777d;

    --surface: #ffffff;
    --surface-soft: #f6f8fb;
    --line: #dfe3e8;

    /* Updated brand colours */
    --brand-cyan: #bf252b;
    --brand-blue: #e2555a;
    --brand-navy: #81171c;

    --container: 1580px;

    --shadow-sm: 0 8px 25px rgba(23, 24, 26, 0.08);
    --shadow-lg: 0 24px 70px rgba(23, 24, 26, 0.18);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button,
summary,
a,
select {
    -webkit-tap-highlight-color: transparent;
}

.site-container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 6px;
    color: #fff;
    background: #111;
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.ui-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-hero {
    min-height: 560px;
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 85% 20%, rgba(22, 191, 232, 0.16), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 65%);
}

.demo-hero__inner {
    padding-block: 90px;
}

.demo-eyebrow,
.search-results-page__eyebrow {
    margin: 0 0 14px;
    color: #248fc8;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.demo-hero h1,
.placeholder-page h1,
.search-results-page h1 {
    max-width: 900px;
    margin: 0 0 22px;
    font-size: clamp(2.5rem, 5vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.demo-hero p:not(.demo-eyebrow),
.placeholder-page p,
.search-results-page p {
    max-width: 700px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.75;
}

.demo-section,
.placeholder-page,
.search-results-page {
    padding-block: 90px;
}

.demo-section--soft {
    background: var(--surface-soft);
}

.demo-section h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.demo-section p {
    color: var(--text-muted);
}

.placeholder-page,
.search-results-page {
    min-height: 55vh;
}

.placeholder-page__inner,
.search-results-page__inner {
    padding-block: 70px;
}

.demo-footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    background: var(--surface);
}

.demo-footer p {
    margin: 0;
}

@media (max-width: 767px) {
    .site-container {
        width: min(calc(100% - 28px), var(--container));
    }

    .demo-hero {
        min-height: 470px;
    }

    .demo-hero__inner,
    .placeholder-page__inner,
    .search-results-page__inner {
        padding-block: 58px;
    }

    .demo-section,
    .placeholder-page,
    .search-results-page {
        padding-block: 64px;
    }
}
