:root {
    --brand: #b91c1c;
    --brand-dark: #8f1515;
    --brand-soft: #fff1f2;
    --ink: #182230;
    --muted: #5d6878;
    --line: #dde3ea;
    --surface: #ffffff;
    --background: #f6f7f9;
    --success: #087443;
    --success-soft: #ecfdf3;
    --warning: #9a5800;
    --warning-soft: #fff8e6;
    --danger: #b42318;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 14px 38px rgba(24, 34, 48, 0.08);
    --shadow-soft: 0 5px 18px rgba(24, 34, 48, 0.06);
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    scroll-behavior: smooth;
}

body.insurance-body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

.shell {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.narrow-shell {
    width: min(860px, calc(100% - 32px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid rgba(185, 28, 28, 0.3);
    outline-offset: 3px;
}

.insurance-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(221, 227, 234, 0.9);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.header-row {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand img {
    width: auto;
    height: 40px;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    color: #3e4958;
    font-size: 0.93rem;
    font-weight: 650;
    text-decoration: none;
}

.header-nav a:hover {
    color: var(--brand);
    background: var(--brand-soft);
}

.header-cta {
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
    background: var(--brand);
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    content: "";
}

.hero {
    overflow: hidden;
    padding: 72px 0 62px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 85% 15%, rgba(185, 28, 28, 0.11), transparent 28rem),
        linear-gradient(145deg, #fff 15%, #fff7f7 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: 56px;
}

.hero h1,
.product-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.45rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.hero h1 span,
.product-hero h1 span {
    color: var(--brand);
}

.hero-copy {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 28px 0 0;
    padding: 0;
    color: #344054;
    font-size: 0.88rem;
    font-weight: 650;
    list-style: none;
}

.trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.trust-row li::before {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--success);
    content: "✓";
    font-size: 0.72rem;
    line-height: 18px;
    text-align: center;
}

.hero-panel {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(185, 28, 28, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.hero-panel::before {
    position: absolute;
    inset: -18px auto auto -18px;
    width: 74px;
    height: 74px;
    border-radius: 22px;
    background: var(--brand);
    content: "";
    opacity: 0.08;
    transform: rotate(12deg);
}

.hero-panel h2 {
    margin: 0 0 16px;
    font-size: 1.22rem;
}

.hero-stat {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.hero-stat:first-of-type {
    border-top: 0;
}

.hero-stat-icon,
.product-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    color: var(--brand);
    background: var(--brand-soft);
}

.hero-stat strong,
.hero-stat span {
    display: block;
}

.hero-stat span {
    color: var(--muted);
    font-size: 0.86rem;
}

.section {
    padding: 72px 0;
}

.section-white {
    background: #fff;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 13px 0 0;
    color: var(--muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    display: flex;
    min-height: 248px;
    flex-direction: column;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.product-card:hover {
    border-color: rgba(185, 28, 28, 0.35);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.product-card,
.product-card:hover {
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card .product-icon {
    width: 52px;
    height: 52px;
}

.product-card h3 {
    margin: 20px 0 8px;
    font-size: 1.3rem;
}

.product-card p {
    margin: 0 0 24px;
    color: var(--muted);
}

.product-card .button {
    margin-top: auto;
    align-self: flex-start;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 760;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: var(--brand);
}

.button-primary:hover {
    background: var(--brand-dark);
}

.button-secondary {
    border-color: var(--line);
    color: #344054;
    background: #fff;
}

.button-secondary:hover {
    border-color: #b9c1cc;
    background: #f8fafc;
}

.button-success {
    color: #fff;
    background: var(--success);
}

.button-block {
    width: 100%;
}

.button[disabled],
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.steps-grid,
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.step-number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--brand);
    font-weight: 800;
}

.info-card h3 {
    margin: 16px 0 7px;
    font-size: 1.06rem;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 820px;
    margin-inline: auto;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.faq-list summary {
    padding: 18px 54px 18px 20px;
    font-weight: 750;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details p {
    margin: 0;
    padding: 0 20px 19px;
    color: var(--muted);
}

.product-hero {
    padding: 48px 0 30px;
    background: linear-gradient(180deg, #fff 0%, var(--background) 100%);
}

.product-hero h1 {
    max-width: 850px;
    font-size: clamp(2rem, 5vw, 3.7rem);
}

.product-hero .hero-copy {
    max-width: 760px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 0.86rem;
}

.breadcrumb a {
    color: var(--brand);
    text-decoration: none;
}

.availability-card {
    max-width: 680px;
    margin: 48px auto 80px;
    padding: 34px;
    border: 1px solid #f4d2d2;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.wizard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 24px;
    padding-bottom: 72px;
}

.wizard-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.wizard-progress {
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.progress-track {
    overflow: hidden;
    height: 7px;
    border-radius: 99px;
    background: #edf0f3;
}

.progress-value {
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
    transition: width 260ms ease;
}

.wizard-step {
    display: none;
    padding: 28px;
}

.wizard-step.is-active {
    display: block;
}

.wizard-step h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
}

.step-intro {
    margin: 8px 0 24px;
    color: var(--muted);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
    min-width: 0;
}

.field.full {
    grid-column: 1 / -1;
}

.field label,
.field-label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 0.89rem;
    font-weight: 720;
}

.required::after {
    margin-left: 3px;
    color: var(--danger);
    content: "*";
}

.field input,
.field select,
.field textarea,
.search-input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cfd6df;
    border-radius: 10px;
    background: #fff;
    outline: none;
}

.field textarea {
    min-height: 96px;
    resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #a9b2bf;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.11);
}

.autocomplete {
    position: relative;
}

.autocomplete-results:not([hidden]) {
    position: absolute;
    z-index: 35;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    display: grid;
    max-height: min(360px, 48vh);
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #cfd6df;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(24, 34, 48, 0.16);
}

.autocomplete-option {
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
}

.autocomplete-option:hover,
.autocomplete-option.is-active,
.autocomplete-option[aria-selected="true"] {
    background: var(--brand-soft);
}

.autocomplete-option strong,
.autocomplete-option small {
    display: block;
}

.autocomplete-option strong {
    color: var(--ink);
    font-size: 0.9rem;
}

.autocomplete-option small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.76rem;
}

.autocomplete-empty {
    margin: 0;
    padding: 11px;
    color: var(--muted);
    font-size: 0.84rem;
}

.field [aria-invalid="true"] {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.hint {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.79rem;
}

.field-error {
    min-height: 18px;
    margin: 5px 0 0;
    color: var(--danger);
    font-size: 0.78rem;
    font-weight: 650;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.choice-card {
    position: relative;
    display: flex;
    min-height: 74px;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.choice-card:hover {
    border-color: #b8c0cb;
}

.choice-card:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: 0 0 0 1px var(--brand);
}

.choice-card input {
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    accent-color: var(--brand);
}

.choice-card strong,
.choice-card small {
    display: block;
}

.choice-card small {
    margin-top: 3px;
    color: var(--muted);
}

.conditional-panel {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #f2d1d1;
    border-radius: 14px;
    background: #fffafa;
}

.conditional-panel[hidden] {
    display: none;
}

.traveller-list {
    display: grid;
    gap: 15px;
}

.traveller-card {
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fbfcfd;
}

.traveller-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.traveller-head h3 {
    margin: 0;
    font-size: 1rem;
}

.text-button {
    padding: 6px;
    border: 0;
    color: var(--brand);
    background: transparent;
    font-weight: 700;
}

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--line);
    background: #fbfcfd;
}

.wizard-help {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
}

.help-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.help-card h2,
.help-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.help-card p,
.help-card li {
    color: var(--muted);
    font-size: 0.85rem;
}

.help-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.error-summary {
    margin: 0 28px 20px;
    padding: 15px 17px;
    border: 1px solid #f6c7c2;
    border-radius: 12px;
    color: #8d1a12;
    background: #fff4f3;
}

.error-summary:focus {
    outline: 3px solid rgba(180, 35, 24, 0.2);
}

.error-summary h3 {
    margin: 0 0 5px;
    font-size: 0.95rem;
}

.error-summary p {
    margin: 0;
    font-size: 0.86rem;
}

.quote-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(17, 24, 39, 0.56);
}

.quote-overlay[hidden] {
    display: none;
}

.quote-loader {
    width: min(430px, 100%);
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
    text-align: center;
}

.spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border: 5px solid #f0dada;
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: insurance-spin 0.8s linear infinite;
}

@keyframes insurance-spin {
    to { transform: rotate(360deg); }
}

.quote-loader h2 {
    margin: 0;
    font-size: 1.22rem;
}

.quote-loader p {
    margin: 8px 0 17px;
    color: var(--muted);
}

.quote-loader .progress-track {
    height: 8px;
}

.offers-page {
    padding: 42px 0 80px;
}

.offers-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.offers-heading h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.03em;
}

.offers-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.offer-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.offer-list {
    display: grid;
    gap: 16px;
}

.offer-card {
    position: relative;
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr) 210px;
    align-items: center;
    gap: 22px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.offer-card.is-best {
    border-color: rgba(8, 116, 67, 0.45);
}

.best-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 4px 10px;
    border-radius: 99px;
    color: #fff;
    background: var(--success);
    font-size: 0.72rem;
    font-weight: 800;
}

.insurer-logo {
    display: grid;
    min-height: 80px;
    place-items: center;
    padding: 10px;
    border: 1px solid #edf0f3;
    border-radius: 12px;
    background: #fff;
}

.insurer-logo img {
    max-width: 130px;
    max-height: 58px;
    object-fit: contain;
}

.insurer-name-fallback {
    font-weight: 800;
    text-align: center;
}

.offer-main h2 {
    margin: 0 0 8px;
    font-size: 1.14rem;
}

.offer-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--muted);
    font-size: 0.86rem;
}

.offer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.offer-links a,
.offer-links button {
    padding: 0;
    border: 0;
    color: var(--brand);
    background: none;
    font-size: 0.82rem;
    font-weight: 720;
}

.offer-price {
    text-align: right;
}

.offer-price strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1.1;
}

.offer-price small {
    display: block;
    margin: 4px 0 13px;
    color: var(--muted);
}

.compare-control {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    font-size: 0.8rem;
}

.compare-control input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
}

.notice {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    color: #5d3b00;
    background: var(--warning-soft);
}

.personalization {
    margin-top: 15px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #f8fafc;
}

.personalization[hidden] {
    display: none;
}

.personalization h3 {
    margin: 0 0 5px;
    font-size: 0.98rem;
}

.personalization > p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 0.84rem;
}

.specific-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.comparison-drawer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -10px 30px rgba(24, 34, 48, 0.1);
}

.comparison-drawer[hidden] {
    display: none;
}

body.comparison-drawer-open {
    padding-bottom: 92px;
}

html:has(body.comparison-drawer-open) {
    scroll-padding-bottom: 108px;
}

.comparison-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.final-page,
.document-page {
    display: grid;
    min-height: 70vh;
    place-items: center;
    padding: 48px 16px 80px;
}

.final-card,
.document-card {
    width: min(620px, 100%);
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.status-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--success);
    font-size: 1.8rem;
    font-weight: 800;
}

.status-icon.pending {
    color: var(--warning);
    background: var(--warning-soft);
}

.final-card h1,
.document-card h1 {
    margin: 0;
    font-size: clamp(1.6rem, 5vw, 2.25rem);
}

.final-card p,
.document-card p {
    color: var(--muted);
}

.final-actions,
.document-links {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.brand-link {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--brand);
    font-weight: 850;
    text-decoration: none;
}

.review-list {
    display: grid;
    gap: 10px;
}

.review-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.review-row span {
    color: var(--muted);
}

.review-row strong {
    text-align: right;
}

.legal-disclosure {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    background: #fff;
}

.legal-inner {
    max-width: 900px;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
}

.legal-inner h2 {
    margin: 0 0 8px;
    color: #475467;
    font-size: 0.85rem;
}

.legal-inner p {
    margin: 5px 0;
}

.legal-inner a {
    color: var(--brand);
}

.insurance-footer {
    padding: 48px 0 22px;
    color: #cbd3df;
    background: #151b24;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px;
}

.footer-grid h2 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-brand {
    color: #fff;
    font-size: 1.2rem;
}

.footer-grid p {
    max-width: 320px;
    margin: 9px 0;
    font-size: 0.84rem;
}

.footer-grid a {
    display: block;
    margin: 8px 0;
    color: #cbd3df;
    font-size: 0.84rem;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #2d3644;
    font-size: 0.76rem;
}

.footer-bottom p {
    margin: 0;
}

.anpc-links img {
    display: inline-block;
    width: auto;
    max-height: 36px;
}

.visually-hidden {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .header-nav {
        display: none;
    }

    .hero-grid,
    .wizard-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 620px;
    }

    .wizard-help {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        order: -1;
    }

    .offer-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .offer-price {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 16px;
        padding-top: 15px;
        border-top: 1px solid var(--line);
        text-align: left;
    }

    .offer-price small {
        margin-bottom: 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .shell,
    .narrow-shell {
        width: min(100% - 24px, 1160px);
    }

    .header-row {
        min-height: 64px;
    }

    .brand img {
        height: 34px;
    }

    .header-cta {
        padding: 9px 11px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 46px 0 42px;
    }

    .hero-grid {
        gap: 34px;
    }

    .hero h1,
    .product-hero h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-panel {
        padding: 22px;
    }

    .section {
        padding: 52px 0;
    }

    .product-grid,
    .steps-grid,
    .benefit-grid,
    .field-grid,
    .field-grid.three,
    .choice-grid,
    .specific-grid,
    .wizard-help,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 220px;
        padding: 22px;
    }

    .wizard-progress {
        padding-inline: 18px;
    }

    .wizard-step {
        padding: 22px 18px;
    }

    .wizard-actions {
        position: sticky;
        bottom: 0;
        z-index: 8;
        padding: 14px 18px;
        box-shadow: 0 -8px 20px rgba(24, 34, 48, 0.07);
    }

    .wizard-actions .button {
        min-height: 48px;
    }

    .error-summary {
        margin-inline: 18px;
    }

    .traveller-card {
        padding: 16px;
    }

    .offers-page {
        padding-top: 28px;
    }

    .offers-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .offer-card {
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 16px 16px;
    }

    .insurer-logo {
        min-height: 66px;
    }

    .insurer-logo img {
        max-width: 82px;
        max-height: 48px;
    }

    .offer-price {
        position: sticky;
        bottom: 0;
        margin: 0 -16px -16px;
        padding: 14px 16px;
        background: #fff;
    }

    .offer-price .button {
        min-height: 50px;
    }

    .comparison-inner {
        align-items: stretch;
        flex-direction: column;
    }

    body.comparison-drawer-open {
        padding-bottom: 164px;
    }

    html:has(body.comparison-drawer-open) {
        scroll-padding-bottom: 180px;
    }

    .final-card,
    .document-card {
        padding: 26px 20px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
