:root {
    --navy: #1e3a5f;
    --navy-deep: #102943;
    --blue: #2f6fac;
    --blue-light: #eaf3fb;
    --gold: #d99a16;
    --gold-light: #fff8e7;
    --ink: #1f2937;
    --muted: #5f6b7a;
    --line: #dfe7ef;
    --soft: #f5f8fc;
    --white: #ffffff;
    --green: #19734b;
    --green-light: #edf8f3;
    --red: #a33b3b;
    --red-light: #fff1f1;
    --shadow: 0 18px 50px rgba(16, 41, 67, .10);
    --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 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; left: 16px; top: -100px; z-index: 1000; background: #fff; padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.info-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(30,58,95,.10);
}
.info-header__inner {
    width: min(1240px, calc(100% - 36px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { display: block; width: 210px; }
.brand__label { display: none; color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.info-nav { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.info-nav a { text-decoration: none; color: #34465c; font-size: 14px; font-weight: 700; white-space: nowrap; }
.info-nav a:hover { color: var(--blue); }
.info-nav__about { padding: 11px 16px; color: var(--navy) !important; border: 1px solid #b9c9d9; border-radius: 999px; background: #fff; }
.info-nav__about:hover { border-color: var(--navy); background: var(--soft); }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 10px; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f7fbff 0%, #edf5fb 52%, #fffaf0 100%); border-bottom: 1px solid #e3ebf3; }
.hero__inner { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); align-items: center; gap: 64px; padding: 86px 0 82px; position: relative; z-index: 2; }
.hero__copy { max-width: 740px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 13px; line-height: 1.2; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 780px; color: var(--navy-deep); font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
.hero__lead { max-width: 700px; margin: 25px 0 0; color: #44566c; font-size: clamp(18px, 2vw, 22px); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 12px; text-decoration: none; font-weight: 850; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: #fff; background: var(--navy); box-shadow: 0 10px 24px rgba(30,58,95,.20); }
.button--primary:hover { background: var(--navy-deep); }
.button--secondary { color: var(--navy); border: 1px solid #b6c6d6; background: rgba(255,255,255,.75); }
.button--secondary:hover { background: #fff; }
.reviewed { margin: 20px 0 0; color: #718096; font-size: 13px; }
.hero__summary { padding: 30px; background: rgba(255,255,255,.88); border: 1px solid rgba(30,58,95,.13); border-radius: 26px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.summary-badge { display: inline-flex; padding: 7px 10px; margin-bottom: 18px; color: var(--navy); background: var(--gold-light); border: 1px solid #f0d68f; border-radius: 999px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.hero__summary dl { margin: 0; }
.hero__summary dl div { display: grid; grid-template-columns: 115px 1fr; gap: 15px; padding: 15px 0; border-top: 1px solid var(--line); }
.hero__summary dl div:first-child { border-top: 0; }
.hero__summary dt { color: var(--muted); font-size: 13px; font-weight: 750; }
.hero__summary dd { margin: 0; color: var(--navy-deep); font-weight: 850; line-height: 1.4; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(5px); opacity: .55; }
.hero__glow--one { width: 420px; height: 420px; right: -150px; top: -190px; background: radial-gradient(circle, rgba(217,154,22,.25), transparent 70%); }
.hero__glow--two { width: 460px; height: 460px; left: -230px; bottom: -260px; background: radial-gradient(circle, rgba(47,111,172,.22), transparent 70%); }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip__inner { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; }
.trust-strip__icon { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; margin-top: 1px; color: #fff; background: var(--navy); border-radius: 50%; font-family: Georgia, serif; font-weight: 700; }
.trust-strip p { margin: 0; color: #536274; font-size: 14px; }
.trust-strip strong { color: var(--navy); }

.section { padding: 94px 0; }
.section--soft { background: var(--soft); }
.section--navy { color: #fff; background: linear-gradient(145deg, var(--navy-deep), #1c466f); }
.section--source { background: #f8fafc; border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 38px; }
.section-heading--centred { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .content-grid h2, .split-feature h2, .faq-intro h2, .about-strip h2 { margin: 0; color: var(--navy-deep); font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.03em; }
.section-heading > p:last-child, .faq-intro > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.section-heading--light h2 { color: #fff; }
.section-heading--light > p:last-child { color: #dbe8f5; }
.section--navy .eyebrow { color: #f2c865; }

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact-card { position: relative; min-height: 240px; padding: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 26px rgba(16,41,67,.055); }
.fact-card__number { position: absolute; right: 18px; top: 8px; color: #eef3f8; font-size: 64px; font-weight: 950; line-height: 1; letter-spacing: -.06em; }
.fact-card h3 { position: relative; margin: 36px 0 10px; color: var(--navy); font-size: 21px; }
.fact-card p { position: relative; margin: 0; color: var(--muted); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 70px; align-items: start; }
.content-grid--reverse { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); }
.content-grid__main > p { color: #536274; font-size: 17px; }
.content-grid__main h2 { margin-bottom: 22px; }
.side-card, .document-card { position: sticky; top: 112px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.side-card h3 { margin: 0 0 18px; color: var(--navy); font-size: 22px; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 29px; border-top: 1px solid #edf1f5; font-weight: 700; }
.check-list li:first-child { border-top: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 950; }

.callout { margin-top: 28px; padding: 24px 26px; border-radius: 16px; }
.callout h3 { margin: 0 0 7px; color: var(--navy); font-size: 20px; }
.callout p { margin: 0; }
.callout--warning { background: var(--gold-light); border: 1px solid #f0d68f; border-left: 5px solid var(--gold); }
.callout--info { background: var(--blue-light); border: 1px solid #cbdff2; border-left: 5px solid var(--blue); }
.callout--plain { background: #fff; border: 1px solid var(--line); }
.text-link { display: inline-flex; gap: 7px; margin-top: 13px; color: var(--blue); font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.two-column-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.status-card { padding: 30px; border-radius: var(--radius); }
.status-card--yes { background: var(--green-light); border: 1px solid #bfe4d2; }
.status-card--no { background: #fff; border: 1px solid var(--line); }
.status-card__title { display: flex; align-items: center; gap: 12px; }
.status-card__title span { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-weight: 950; }
.status-card--no .status-card__title span { background: var(--navy); }
.status-card h3 { margin: 0; color: var(--navy); font-size: 24px; }
.status-card ul { margin: 22px 0 0; padding-left: 22px; }
.status-card li { margin: 10px 0; }

.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.rules-grid article { padding: 32px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.075); }
.rules-grid h3 { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; font-size: 25px; }
.rule-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-weight: 950; }
.rule-icon--allowed { color: #dff8ec; background: rgba(58,177,119,.25); }
.rule-icon--blocked { color: #ffe1e1; background: rgba(211,84,84,.22); }
.rules-grid ul { margin: 0; padding-left: 22px; color: #e7eff7; }
.rules-grid li { margin: 10px 0; }

.steps { display: grid; gap: 16px; margin-top: 30px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.step > span { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 11px; font-weight: 900; }
.step h3 { margin: 0 0 4px; color: var(--navy); font-size: 19px; }
.step p { margin: 0; color: var(--muted); }
.document-card { top: 112px; background: linear-gradient(155deg, var(--navy-deep), #244f78); color: #fff; border: 0; }
.document-card__top { display: flex; align-items: center; gap: 14px; }
.passport-icon { width: 52px; height: 62px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 8px; font-size: 28px; }
.document-card__top span:not(.passport-icon) { display: block; color: #f2c865; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.document-card__top strong { display: block; margin-top: 3px; font-size: 20px; line-height: 1.3; }
.document-card p { margin: 22px 0 0; color: #dbe8f5; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric-card { padding: 30px 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(16,41,67,.05); }
.metric-card__value { display: block; color: var(--blue); font-size: clamp(34px, 4vw, 50px); font-weight: 950; line-height: 1; letter-spacing: -.04em; }
.metric-card h3 { margin: 18px 0 8px; color: var(--navy); font-size: 18px; }
.metric-card p { margin: 0; color: var(--muted); font-size: 14px; }
.fine-print { margin: 24px 0 0; text-align: center; color: var(--muted); font-size: 14px; }

.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split-feature article { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 28px; color: #fff; background: var(--navy); border-radius: 15px; font-size: 25px; }
.split-feature h2 { font-size: 34px; margin-bottom: 18px; }
.split-feature article > p:not(.eyebrow) { color: var(--muted); }

.checklist-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.checklist-panel label { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border-radius: 12px; background: #f8fafc; cursor: pointer; }
.checklist-panel input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
.checklist-panel span { color: #435366; font-weight: 650; }

.faq-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 70px; align-items: start; }
.faq-intro { position: sticky; top: 112px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; color: var(--navy); font-size: 18px; font-weight: 850; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: 0 0 31px; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #bdcddd; border-radius: 50%; font-size: 20px; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -4px 54px 22px 0; color: var(--muted); }

.source-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.source-grid a { min-height: 190px; display: flex; flex-direction: column; padding: 22px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.source-grid a:hover { transform: translateY(-3px); border-color: #a9bed2; box-shadow: var(--shadow); }
.source-grid span { color: var(--blue); font-size: 12px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.source-grid strong { margin-top: 22px; color: var(--navy); font-size: 18px; line-height: 1.35; }
.source-grid small { margin-top: auto; padding-top: 14px; color: var(--muted); line-height: 1.5; }

.about-strip { padding: 64px 0; color: #fff; background: var(--navy); }
.about-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.about-strip .eyebrow { color: #f2c865; }
.about-strip h2 { color: #fff; font-size: 36px; }
.about-strip p:last-child { max-width: 760px; margin: 14px 0 0; color: #dbe8f5; }
.button--light { flex: 0 0 auto; color: var(--navy); background: #fff; }

.info-footer { color: #cbd8e5; background: #0c2238; }
.info-footer__top { display: flex; justify-content: space-between; gap: 60px; padding: 50px 0 34px; }
.info-footer__top img { filter: brightness(0) invert(1); opacity: .95; }
.info-footer__top p { max-width: 460px; margin: 16px 0 0; }
.info-footer nav { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 10px 22px; }
.info-footer nav a { color: #e6eef6; text-decoration: none; font-weight: 700; }
.info-footer nav a:hover { text-decoration: underline; }
.info-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.info-footer__bottom p { margin: 0; }

@media (max-width: 1100px) {
    .info-nav { gap: 16px; }
    .info-nav a:not(.info-nav__about) { display: none; }
    .hero__inner { grid-template-columns: 1fr .62fr; gap: 36px; }
    .source-grid { grid-template-columns: repeat(3, 1fr); }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    html { scroll-padding-top: 82px; }
    .container { width: min(100% - 28px, 680px); }
    .info-header__inner { min-height: 70px; width: calc(100% - 24px); }
    .brand img { width: 185px; }
    .menu-toggle { display: block; }
    .info-nav {
        display: none;
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 1px);
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 0 0 16px 16px;
        box-shadow: var(--shadow);
    }
    .info-nav--open { display: flex; }
    .info-nav a, .info-nav a:not(.info-nav__about) { display: block; padding: 11px 12px; }
    .info-nav__about { margin-top: 5px; text-align: center; border-radius: 10px; }
    .hero__inner { min-height: auto; grid-template-columns: 1fr; padding: 66px 0 58px; }
    .hero h1 { font-size: clamp(43px, 12vw, 62px); }
    .hero__summary { max-width: 560px; }
    .section { padding: 72px 0; }
    .fact-grid, .two-column-cards, .rules-grid, .split-feature, .content-grid, .content-grid--reverse, .faq-layout { grid-template-columns: 1fr; }
    .fact-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid, .faq-layout { gap: 38px; }
    .side-card, .document-card, .faq-intro { position: static; }
    .checklist-panel { grid-template-columns: 1fr; }
    .source-grid { grid-template-columns: repeat(2, 1fr); }
    .about-strip__inner, .info-footer__top { align-items: flex-start; flex-direction: column; }
    .info-footer nav { justify-content: flex-start; }
}

@media (max-width: 540px) {
    .container { width: calc(100% - 24px); }
    .brand img { width: 165px; }
    .hero h1 { font-size: 42px; }
    .hero__lead { font-size: 18px; }
    .hero__actions { flex-direction: column; }
    .button { width: 100%; }
    .hero__summary { padding: 23px; }
    .hero__summary dl div { grid-template-columns: 100px 1fr; }
    .fact-grid, .metric-grid, .source-grid { grid-template-columns: 1fr; }
    .fact-card { min-height: 210px; }
    .section-heading h2, .content-grid h2, .faq-intro h2 { font-size: 34px; }
    .rules-grid article, .split-feature article { padding: 25px; }
    .step { grid-template-columns: 40px 1fr; padding: 16px; }
    .checklist-panel { padding: 14px; }
    .about-strip h2 { font-size: 31px; }
    .info-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ETA_OFFICIAL_GOVUK_CTA_CSS_V1 */
.official-govuk-cta {
    position: relative;
    z-index: 5;
    color: #fff;
    background: linear-gradient(135deg, #102943 0%, #1e3a5f 100%);
    border-bottom: 1px solid rgba(255,255,255,.14);
}
.official-govuk-cta__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.official-govuk-cta__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.official-govuk-cta__copy strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
}
.official-govuk-cta__copy span {
    color: #dbe8f5;
    font-size: 14px;
    line-height: 1.45;
}
.official-govuk-cta__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 20px;
    color: #102943;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
.official-govuk-cta__button:hover {
    color: #102943;
    background: #f4f8fc;
    transform: translateY(-1px);
}
.official-govuk-cta__button:focus-visible {
    outline: 3px solid #f2c865;
    outline-offset: 3px;
}
@media (max-width: 760px) {
    .official-govuk-cta__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .official-govuk-cta__button {
        width: 100%;
    }
}
