/* ==========================================================================
   Flight Delay Helpdesk - V2 design (Index-4)
   Stand-alone stylesheet. Does not depend on Tailwind / global.css.
   Sections: tokens, base, buttons, header, hero, form, questions,
             vendor overrides, marketing, footer, modal, claim mode, mobile.
   ========================================================================== */

:root {
    --v2-teal-deep: #0B3D3E;
    --v2-ink: #0A2A2B;
    --v2-ink-soft: #26403F;
    --v2-muted: #4A5F5F;
    --v2-teal: #0E8F84;
    --v2-teal-dark: #0A6B64;
    --v2-teal-darker: #074C47;
    --v2-teal-tint: #E4F1EF;
    --v2-accent: #FFB81C;
    --v2-accent-dark: #F0A800;
    --v2-ground: #F4F7F6;
    --v2-white: #FFFFFF;
    --v2-line: #D9E2E0;
    --v2-line-strong: #C9D6D3;
    --v2-track: #E3EAE8;
    --v2-field-border: #8AA3A0;
    --v2-on-dark: #D7E6E4;
    --v2-on-dark-soft: #B9D3D0;
    --v2-dark-line: #2B4C4D;
    --v2-error: #B3261E;
    --v2-error-tint: #FCEEED;
    --v2-font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --v2-font-head: "Space Grotesk", Inter, system-ui, sans-serif;
    --v2-radius: 10px;
    --v2-radius-lg: 16px;
    --v2-gutter: clamp(20px, 4vw, 40px);
}

/* ---------- Base ----------
   Element resets use :where() so they carry no specificity and any v2- class can override them. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.v2 {
    margin: 0;
    font-family: var(--v2-font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--v2-ink);
    background: var(--v2-ground);
}
.v2 *, .v2 *::before, .v2 *::after { box-sizing: border-box; }
:where(.v2) img { max-width: 100%; }
:where(.v2) a { color: var(--v2-teal-dark); }
:where(.v2) a:hover { color: var(--v2-teal-darker); }
:where(.v2) :where(h1, h2, h3, h4) { font-family: var(--v2-font-head); margin: 0; }
:where(.v2) :where(p) { margin: 0; }
:where(.v2) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.v2) :where(fieldset) { margin: 0; padding: 0; border: 0; min-width: 0; }
:where(.v2) :where(legend) { padding: 0; }
:where(.v2) :where(button, input, select, textarea) { font: inherit; color: inherit; }
.v2 a:focus-visible, .v2 button:focus-visible, .v2 summary:focus-visible,
.v2 input:focus-visible, .v2 select:focus-visible {
    outline: 3px solid var(--v2-accent);
    outline-offset: 3px;
}
.v2 .hidden { display: none !important; }
.v2-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;
}
.v2-wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--v2-gutter); padding-right: var(--v2-gutter); }
.v2-eyebrow {
    font-family: var(--v2-font-head); font-size: 14px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--v2-teal-dark);
}
.v2-eyebrow--accent { color: var(--v2-accent); }
.v2-h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
.v2-lead { font-size: 18px; color: var(--v2-ink-soft); }
.v2-icon { flex: none; }

/* ---------- Buttons ---------- */
.v2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 60px; padding: 0 32px;
    font-family: var(--v2-font-head); font-weight: 700; font-size: 19px; line-height: 1.2;
    text-decoration: none; text-align: center;
    border: 0; border-radius: var(--v2-radius); cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .05s ease;
}
.v2-btn:active { transform: translateY(1px); }
.v2-btn-primary, .v2 a.v2-btn-primary { background: var(--v2-accent); color: var(--v2-ink); }
.v2-btn-primary:hover, .v2 a.v2-btn-primary:hover { background: var(--v2-accent-dark); color: var(--v2-ink); }
.v2-btn-small { min-height: 44px; padding: 0 20px; font-size: 16px; border-radius: 8px; }
.v2-btn-block { width: 100%; }

/* ---------- Header ---------- */
.v2-header { color: var(--v2-white); }
.v2-header-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 16px 32px; padding-top: 20px; padding-bottom: 20px;
}
.v2 a.v2-logo { display: flex; align-items: center; gap: 12px; color: var(--v2-white); text-decoration: none; }
.v2-logo-text { font-family: var(--v2-font-head); font-weight: 700; font-size: 22px; line-height: 1.05; letter-spacing: -0.01em; }
.v2-logo-text small { display: block; font-weight: 500; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v2-on-dark-soft); }
.v2-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; font-weight: 500; }
.v2 .v2-nav a { color: var(--v2-white); text-decoration: none; padding: 12px 0; }
.v2 .v2-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.v2 .v2-nav a.v2-nav-cta { background: var(--v2-accent); color: var(--v2-ink); font-weight: 700; padding: 12px 22px; border-radius: 8px; }
.v2 .v2-nav a.v2-nav-cta:hover { background: var(--v2-accent-dark); text-decoration: none; }
.v2-header-badge { display: none; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }

/* ---------- Hero ---------- */
.v2-hero {
    background-color: var(--v2-teal-deep);
    background-image: linear-gradient(90deg, rgba(11,61,62,.94) 0%, rgba(11,61,62,.8) 50%, rgba(11,61,62,.6) 100%), url(../images/hero-bg.jpg);
    background-size: cover; background-position: right center;
    color: var(--v2-white);
}
.v2-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    grid-template-areas: "intro card" "extras card";
    column-gap: 64px; row-gap: 24px;
    padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px);
    scroll-margin-top: 16px;
}
.v2-hero-intro { grid-area: intro; align-self: end; display: flex; flex-direction: column; gap: 24px; }
.v2-hero-extras { grid-area: extras; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.v2-hero-card { grid-area: card; align-self: center; min-width: 0; }
.v2-claim-aside { display: none; }
.v2-hero-eyebrow { font-family: var(--v2-font-head); font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--v2-accent); }
.v2-hero h1 { font-weight: 700; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.025em; }
.v2-hero-lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: var(--v2-on-dark); max-width: 30em; }
.v2-hero-lead strong { color: var(--v2-white); }
.v2-ticks { display: flex; flex-direction: column; gap: 12px; font-size: 17px; color: var(--v2-white); }
.v2-ticks li { display: flex; align-items: center; gap: 12px; }
.v2-hero-rating {
    margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.24);
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
    font-size: 15px; line-height: 1.5; color: var(--v2-on-dark); max-width: 34em;
}
.v2 .v2-hero-rating a { color: var(--v2-white); font-weight: 600; }
.v2-stars { display: inline-flex; gap: 2px; }
.v2-stars--lg { gap: 4px; }

/* ---------- Form card ---------- */
.v2-form {
    background: var(--v2-white); color: var(--v2-ink);
    border-radius: var(--v2-radius-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    display: flex; flex-direction: column; gap: 20px;
}
.v2-form form { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.v2-progress { display: flex; flex-direction: column; gap: 10px; }
.v2-progress-labels { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 600; color: var(--v2-muted); }
.v2-progress-track { height: 6px; border-radius: 3px; background: var(--v2-track); overflow: hidden; }
.v2-progress-bar { height: 6px; border-radius: 3px; background: var(--v2-teal); width: 0; transition: width .3s ease; }

/* the slides overhang the form by 16px on every side so focus outlines and the pulse ring are not clipped */
.v2-form .swiper-container { margin: -16px; width: calc(100% + 32px); }
.v2-form .swiper-slide { padding: 16px; height: auto; }
.v2-step { display: flex; flex-direction: column; gap: 24px; }
.v2-step-title { font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
.v2-step-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.v2-step-nav {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    padding-top: 20px; border-top: 1px solid var(--v2-track);
}
.v2 a.v2-prev { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 16px; }
.v2-step-nav .v2-btn { margin-left: auto; }
.v2-secure { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--v2-muted); }
.v2-consent { font-size: 13px; line-height: 1.55; color: var(--v2-muted); }
.v2-testbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 32px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--v2-accent); color: var(--v2-ink); font-size: 14px; font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* ---------- Questions ---------- */
.v2-question { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v2-question.v2-col-half { grid-column: span 1; }
.v2-question:empty { display: none; }
.v2-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v2-label, .v2-legend { font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--v2-ink); }
.v2-legend { margin-bottom: 12px; }
.v2-optional { font-weight: 400; color: var(--v2-muted); }
.v2-hint { font-size: 14px; color: var(--v2-muted); }
.v2-input, .v2-select {
    width: 100%; height: 56px; padding: 0 16px;
    font-size: 17px; color: var(--v2-ink); background-color: var(--v2-white);
    border: 2px solid var(--v2-field-border); border-radius: var(--v2-radius);
    -webkit-appearance: none; appearance: none;
}
.v2-input::placeholder { color: #5C7371; opacity: 1; }
.v2-input:focus, .v2-select:focus { border-color: var(--v2-teal-dark); }
.v2-select {
    padding-right: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A6B64' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.v2-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.v2-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v2-narrow { max-width: 320px; }
.v2-date-grid { max-width: 460px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, .9fr); }

/* choice buttons (radio as button) */
.v2-choices { display: grid; gap: 12px; }
.v2-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-choices--auto { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.v2-choice-wrap { position: relative; display: flex; }
.v2-choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; top: 50%; left: 50%; }
.v2-choice {
    flex: 1 1 auto; display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 56px; padding: 8px 16px;
    font-family: var(--v2-font-head); font-weight: 700; font-size: 18px; line-height: 1.2;
    background: var(--v2-white); color: var(--v2-ink);
    border: 2px solid var(--v2-field-border); border-radius: var(--v2-radius);
    cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.v2-choice:hover { border-color: var(--v2-teal-dark); background: #F3F9F8; }
.v2-choice-input:checked + .v2-choice { background: var(--v2-teal-tint); border-color: var(--v2-teal-dark); }
.v2-choice-input:focus-visible + .v2-choice { outline: 3px solid var(--v2-accent); outline-offset: 3px; }
.v2-choice--lg { min-height: 64px; font-size: 20px; }
.v2-choice--primary { background: var(--v2-accent); border-color: var(--v2-accent); }
.v2-choice--primary:hover { background: var(--v2-accent-dark); border-color: var(--v2-accent-dark); }
.v2-choice-input:checked + .v2-choice--primary { background: var(--v2-accent-dark); border-color: var(--v2-ink); }
.v2-choice--outline { border-color: var(--v2-ink); }

/* option rows (stacked radios) */
.v2-options { display: flex; flex-direction: column; gap: 10px; }
.v2-option { position: relative; display: block; cursor: pointer; }
.v2-option input { position: absolute; opacity: 0; width: 1px; height: 1px; top: 50%; left: 24px; }
.v2-option-box {
    display: flex; align-items: center; gap: 14px;
    min-height: 56px; padding: 10px 16px;
    font-weight: 500; font-size: 17px; line-height: 1.3;
    background: var(--v2-white); border: 2px solid var(--v2-field-border); border-radius: var(--v2-radius);
    transition: background-color .15s ease, border-color .15s ease;
}
.v2-option-box::before {
    content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--v2-field-border); background: var(--v2-white);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.v2-option:hover .v2-option-box { border-color: var(--v2-teal-dark); }
.v2-option input:checked + .v2-option-box { background: var(--v2-teal-tint); border-color: var(--v2-teal-dark); font-weight: 600; }
.v2-option input:checked + .v2-option-box::before { border-color: var(--v2-teal-dark); background: var(--v2-teal-dark); box-shadow: inset 0 0 0 4px var(--v2-white); }
.v2-option input:focus-visible + .v2-option-box { outline: 3px solid var(--v2-accent); outline-offset: 3px; }
.v2-subquestion { margin-top: 24px; }

/* checkbox row */
.v2-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--v2-muted); }
.v2-check input[type="checkbox"] { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--v2-teal-dark); cursor: pointer; }
.v2-check label { cursor: pointer; }

/* notices */
.v2-notice { padding: 14px 18px; border-radius: var(--v2-radius); font-size: 16px; line-height: 1.5; border: 1px solid var(--v2-line); background: var(--v2-ground); color: var(--v2-ink-soft); }
.v2-notice--success { background: var(--v2-teal-tint); border-color: #A9D3CE; color: var(--v2-teal-darker); font-weight: 600; }
.v2-notice--accent { background: #FFF6DD; border-color: #F3D27A; color: #5A4300; }
.v2-subhead { font-weight: 700; font-size: 20px; line-height: 1.2; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--v2-track); }

/* searching */
.v2-searching { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 32px 0; text-align: center; font-weight: 600; font-size: 18px; }
.v2-spinner { width: 48px; height: 48px; border-radius: 50%; border: 5px solid var(--v2-track); border-top-color: var(--v2-teal); animation: v2-spin .8s linear infinite; }
.v2-spinner--sm { width: 28px; height: 28px; border-width: 4px; display: inline-block; vertical-align: middle; }
@keyframes v2-spin { to { transform: rotate(360deg); } }

/* flight lookup */
.v2-flight-summary { font-size: 16px; color: var(--v2-muted); }
.v2-flight-summary strong { color: var(--v2-ink); }
.v2-flights { display: flex; flex-direction: column; gap: 10px; }
.v2-flight {
    display: flex; align-items: center; justify-content: space-between; gap: 12px 16px;
    padding: 12px 16px; background: var(--v2-white);
    border: 2px solid var(--v2-line); border-radius: var(--v2-radius);
}
.v2-flight.is-selected { border-color: var(--v2-teal-dark); background: var(--v2-teal-tint); }
.v2-flight-info { min-width: 0; }
.v2-flight-name { font-family: var(--v2-font-head); font-weight: 700; font-size: 17px; line-height: 1.25; }
.v2-flight-meta { font-size: 14px; color: var(--v2-muted); }
.v2-flight-time { font-family: var(--v2-font-head); font-weight: 600; font-size: 18px; margin-left: auto; white-space: nowrap; }
.v2-flights-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 0; color: var(--v2-muted); }
.v2-flight-manual { display: flex; flex-direction: column; gap: 20px; }
.v2-flight-ghost { position: absolute; z-index: -1; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; }
.v2-input-group { display: flex; }
.v2-input-group-prefix {
    display: flex; align-items: center; justify-content: center; min-width: 56px; padding: 0 12px;
    background: var(--v2-ground); color: var(--v2-muted); font-weight: 600;
    border: 2px solid var(--v2-field-border); border-right: 0; border-radius: var(--v2-radius) 0 0 var(--v2-radius);
}
.v2-input-group .v2-input { border-radius: 0 var(--v2-radius) var(--v2-radius) 0; }

/* other passengers */
.v2-passenger { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--v2-ground); border: 1px solid var(--v2-line); border-radius: 12px; }
.v2-passenger + .v2-passenger { margin-top: 16px; }
.v2-passenger h3 { font-weight: 700; font-size: 18px; }

/* thanks */
.v2-thanks { display: flex; flex-direction: column; gap: 16px; }
.v2-thanks-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--v2-teal); display: flex; align-items: center; justify-content: center; }
.v2-thanks h2 { font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.01em; }
.v2-thanks-client { font-family: var(--v2-font-head); font-weight: 700; font-size: 24px; line-height: 1.2; padding: 16px 20px; background: var(--v2-ground); border: 1px solid var(--v2-line); border-radius: 12px; text-align: center; }
.v2-thanks-ref { font-family: var(--v2-font-head); font-weight: 700; }
.v2-thanks-optout { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--v2-track); }

/* validation (parsley) */
.v2 .parsley-errors-list { margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--v2-error); }
.v2 .parsley-errors-list:not(.filled) { display: none; }
.v2 .parsley-errors-list li + li { margin-top: 2px; }
.v2 .v2-input.parsley-error, .v2 .v2-select.parsley-error { border-color: var(--v2-error); background-color: var(--v2-error-tint); }
.v2 select.parsley-error + .select2-container .select2-selection { border-color: var(--v2-error); background-color: var(--v2-error-tint); }
.v2 .v2-options.parsley-error .v2-option-box, .v2 .v2-choices.parsley-error .v2-choice:not(.v2-choice--primary) { border-color: var(--v2-error); }
.v2 .v2-error-slot:empty { display: none; }
.v2 .v2-error-slot { margin-top: 8px; }

/* ---------- Vendor overrides: select2, toastr ---------- */
.v2 .select2-container { width: 100% !important; font-size: 17px; }
/* The chosen airport is never cut off with "...": a long name wraps and the box grows to fit it */
.v2 .select2-container--default .select2-selection--single {
    display: flex; align-items: center;
    height: auto; min-height: 56px; padding: 0 40px 0 0; background: var(--v2-white);
    border: 2px solid var(--v2-field-border); border-radius: var(--v2-radius);
}
.v2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    order: 1; flex: 1 1 auto; min-width: 0;
    white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere;
    line-height: 1.3; padding: 8px 8px 8px 16px; color: var(--v2-ink);
}
.v2 .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #5C7371; }
.v2 .select2-container--default .select2-selection--single .select2-selection__arrow { height: auto; width: 36px; top: 0; bottom: 0; right: 4px; }
.v2 .select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--v2-teal-dark) transparent transparent transparent; border-width: 6px 5px 0 5px; margin-left: -5px; }
.v2 .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent var(--v2-teal-dark) transparent; border-width: 0 5px 6px 5px; }
.v2 .select2-container--default .select2-selection--single .select2-selection__clear { order: 2; flex: 0 0 auto; float: none; height: 40px; margin-right: 0; padding: 0 6px; font-size: 22px; line-height: 1; font-weight: 400; color: var(--v2-muted); }
.v2 .select2-container--default.select2-container--focus .select2-selection--single,
.v2 .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--v2-teal-dark); outline: 3px solid var(--v2-accent); outline-offset: 3px; }
.v2 .select2-dropdown { border: 2px solid var(--v2-teal-dark); border-radius: var(--v2-radius); overflow: hidden; font-family: var(--v2-font-body); font-size: 16px; color: var(--v2-ink); box-shadow: 0 12px 30px rgba(10,42,43,.18); }
.v2 .select2-container--default .select2-search--dropdown { padding: 10px; }
.v2 .select2-container--default .select2-search--dropdown .select2-search__field { height: 44px; padding: 0 12px; font: inherit; border: 2px solid var(--v2-field-border); border-radius: 8px; outline: 0; }
.v2 .select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--v2-teal-dark); }
.v2 .select2-results__option { padding: 10px 14px; line-height: 1.35; }
.v2 .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.v2 .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--v2-teal-tint); color: var(--v2-ink); }
.v2 .select2-container--default .select2-results__option--selected,
.v2 .select2-container--default .select2-results__option[aria-selected="true"] { background: var(--v2-ground); }
.v2-s2-title { font-weight: 600; }
.v2-s2-sub { font-size: 13px; color: var(--v2-muted); }
.v2 #toast-container > div { font-family: var(--v2-font-body); font-size: 15px; border-radius: var(--v2-radius); opacity: 1; box-shadow: 0 10px 30px rgba(10,42,43,.25); }

/* ---------- Marketing sections ---------- */
.v2-section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.v2-band-white { background: var(--v2-white); border-top: 1px solid var(--v2-line); border-bottom: 1px solid var(--v2-line); }
.v2-band-dark { background: var(--v2-ink); color: var(--v2-white); }
.v2-section-head { display: flex; flex-direction: column; gap: 16px; max-width: 44em; }
.v2-section-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

/* trust bar */
.v2-trustbar { background: var(--v2-accent); color: var(--v2-ink); }
.v2-trustbar ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; padding-top: 32px; padding-bottom: 32px; }
.v2-trustbar li { display: flex; align-items: center; gap: 16px; }
.v2-trustbar p { font-size: 15px; line-height: 1.4; }
.v2-trustbar strong { display: block; font-family: var(--v2-font-head); font-size: 19px; line-height: 1.2; }

/* what is a claim */
.v2-what { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; }
.v2-what-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.v2-what-copy .v2-eyebrow { display: flex; align-items: center; gap: 10px; }
.v2-what-copy h2 { font-weight: 700; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.02em; max-width: 12em; }
.v2-what-copy > p:not(.v2-eyebrow) { font-size: 18px; line-height: 1.7; color: var(--v2-ink-soft); max-width: 32em; }
.v2-checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 24px; margin-top: 6px; font-weight: 600; font-size: 16px; }
.v2-checklist li { display: flex; align-items: flex-start; gap: 12px; }
.v2-what-copy .v2-btn { align-self: flex-start; margin-top: 10px; }
.v2-what-media { flex: 1 1 440px; min-width: 0; }
.v2-photo { position: relative; height: clamp(300px, 36vw, 460px); border-radius: 28px; overflow: hidden; box-shadow: 0 20px 60px rgba(10,42,43,.16); }
.v2-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.v2-photo-tag { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); background: var(--v2-white); border-radius: 14px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(10,42,43,.18); display: flex; align-items: center; gap: 12px; }
.v2-photo-tag p { font-size: 14px; line-height: 1.4; color: var(--v2-muted); }
.v2-photo-tag strong { display: block; font-family: var(--v2-font-head); font-size: 16px; color: var(--v2-ink); }

/* how it works */
.v2-how { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.v2-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.v2-steps li { background: var(--v2-white); border: 1px solid var(--v2-line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.v2-steps-num { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; background: var(--v2-teal-deep); color: var(--v2-white); font-family: var(--v2-font-head); font-weight: 700; font-size: 20px; }
.v2-steps h3 { margin-top: 4px; font-weight: 700; font-size: 22px; line-height: 1.2; }
.v2-steps p { color: var(--v2-ink-soft); }

/* amounts */
.v2-amounts { display: flex; flex-direction: column; gap: 40px; }
.v2-band-dark .v2-lead { color: var(--v2-on-dark); }
.v2-board { overflow-x: auto; border-radius: 14px; border: 1px solid var(--v2-dark-line); background: #071F20; }
.v2-board table { width: 100%; min-width: 620px; border-collapse: collapse; font-family: var(--v2-font-head); font-size: 19px; text-align: left; }
.v2-board th { padding: 18px 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #9FBDBA; border-bottom: 1px solid var(--v2-dark-line); }
.v2-board td { padding: 20px 28px; border-bottom: 1px solid #1C393A; }
.v2-board tbody tr:last-child td { border-bottom: 0; }
.v2-board td.v2-board-amount { text-align: right; font-weight: 700; font-size: 28px; color: var(--v2-accent); }
.v2-board th.v2-board-amount { text-align: right; }
.v2-board tr.is-zero td { color: #9FBDBA; }
.v2-board tr.is-zero td.v2-board-amount { font-weight: 600; font-size: 24px; color: #9FBDBA; }
.v2-amounts-note { font-size: 16px; color: var(--v2-on-dark-soft); max-width: 44em; }

/* issues */
.v2-issues { display: flex; flex-direction: column; gap: 40px; }
.v2-issue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.v2-issue-grid li { background: var(--v2-white); border: 1px solid var(--v2-line); border-radius: 14px; padding: 32px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; box-shadow: 0 10px 30px rgba(10,42,43,.06); }
.v2-issue-grid svg { margin-bottom: 8px; }
.v2-issue-grid h3 { font-weight: 700; font-size: 19px; line-height: 1.2; }
.v2-issue-grid p { font-size: 15px; line-height: 1.5; color: var(--v2-muted); }
.v2-issues .v2-btn { align-self: center; }

/* partner */
.v2-partner { display: flex; flex-direction: column; gap: 40px; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.v2-partner-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 80px; }
.v2-partner-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; max-width: 44em; }
.v2-rating-card { flex: 1 1 300px; min-width: 0; max-width: 380px; background: var(--v2-ground); border: 1px solid var(--v2-line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.v2-rating-card-title { font-size: 14px; font-weight: 600; color: var(--v2-muted); }
.v2-rating-score { display: flex; align-items: baseline; gap: 12px; font-family: var(--v2-font-head); font-weight: 700; }
.v2-rating-score span:first-child { font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.v2-rating-score span:last-child { font-size: 22px; }
.v2-rating-card .v2-rating-based { font-size: 16px; color: var(--v2-ink-soft); }
.v2-rating-card .v2-rating-date { font-size: 14px; color: var(--v2-muted); }
.v2-rating-card a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 16px; }
.v2-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.v2-quotes li { background: var(--v2-ground); border: 1px solid var(--v2-line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.v2-quotes blockquote { margin: 0; font-family: var(--v2-font-head); font-weight: 600; font-size: 20px; line-height: 1.35; }
.v2-quotes cite { margin-top: auto; font-style: normal; font-size: 14px; color: var(--v2-muted); }

/* CTA */
.v2-cta-wrap { padding: clamp(56px, 8vw, 104px) var(--v2-gutter) 0; }
.v2-cta { max-width: 1120px; margin: 0 auto; background: var(--v2-teal-deep); color: var(--v2-white); border-radius: 20px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; }
.v2-cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.v2-cta h2 { font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.02em; }
.v2-cta p { font-size: 18px; color: var(--v2-on-dark); max-width: 34em; }
.v2-cta .v2-btn { min-height: 64px; font-size: 20px; }

/* FAQs */
.v2-faqs { display: flex; flex-wrap: wrap; gap: 32px 80px; }
.v2-faqs-head { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.v2-faqs-list { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--v2-line-strong); }
.v2-faqs-list details { border-bottom: 1px solid var(--v2-line-strong); }
.v2-faqs-list summary { list-style: none; cursor: pointer; padding: 22px 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--v2-font-head); font-weight: 600; font-size: 20px; line-height: 1.3; }
.v2-faqs-list summary::-webkit-details-marker { display: none; }
.v2-faqs-list summary svg { transition: transform .2s ease; }
.v2-faqs-list details[open] summary svg { transform: rotate(180deg); }
.v2-faqs-list details p { padding: 0 0 24px; color: var(--v2-ink-soft); max-width: 40em; }

/* ---------- Footer ---------- */
.v2-footer { background: var(--v2-ink); color: var(--v2-on-dark-soft); font-size: 14px; line-height: 1.65; }
.v2-footer-inner { display: flex; flex-direction: column; gap: 28px; padding-top: 48px; padding-bottom: 56px; }
.v2-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 28px; border-bottom: 1px solid var(--v2-dark-line); }
.v2-footer-brand { font-family: var(--v2-font-head); font-weight: 700; font-size: 20px; color: var(--v2-white); }
.v2-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.v2 .v2-footer-nav a { color: var(--v2-white); padding: 10px 0; }
.v2-footer p { max-width: 78em; }

/* ---------- Modal ---------- */
.v2-modal-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(10,42,43,.72); }
.v2-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; }
.v2-modal-dialog { width: 100%; max-width: 960px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--v2-white); color: var(--v2-ink); border-radius: var(--v2-radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; }
.v2-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--v2-line); }
.v2-modal-head h3 { font-weight: 700; font-size: 22px; line-height: 1.2; }
.v2-modal-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--v2-ink); cursor: pointer; }
.v2-modal-close:hover { background: var(--v2-ground); }
.v2-modal-foot { display: flex; justify-content: flex-end; padding: 16px 24px; border-top: 1px solid var(--v2-line); }
.v2-modal .modal-body { flex: 1 1 auto; overflow-y: auto; padding: 20px 24px; font-size: 15px; line-height: 1.65; color: var(--v2-ink-soft); overflow-wrap: anywhere; }
.v2-modal .modal-body h1, .v2-modal .modal-body h2, .v2-modal .modal-body h3, .v2-modal .modal-body h4 { color: var(--v2-ink); font-size: 19px; line-height: 1.25; margin: 22px 0 8px; }
.v2-modal .modal-body p { margin: 0 0 12px; }
.v2-modal .modal-body ul, .v2-modal .modal-body ol { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.v2-modal .modal-body ol { list-style: decimal; }
.v2-modal .modal-body table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.v2-modal .modal-body th, .v2-modal .modal-body td { padding: 8px 10px; border: 1px solid var(--v2-line); text-align: left; vertical-align: top; }

/* ---------- Claim mode (after question 1) ---------- */
body.v2[data-mode="claim"] .v2-hero { background: var(--v2-ground); color: var(--v2-ink); }
body.v2[data-mode="claim"] .v2-header { background: var(--v2-teal-deep); }
body.v2[data-mode="claim"] .v2-nav { display: none; }
body.v2[data-mode="claim"] .v2-header-badge { display: flex; }
body.v2[data-mode="claim"] .v2-hero-intro,
body.v2[data-mode="claim"] .v2-hero-extras,
body.v2[data-mode="claim"] .v2-marketing { display: none; }
body.v2[data-mode="claim"] .v2-hero-row {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    grid-template-areas: "card aside";
    align-items: start;
    padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px);
    min-height: 60vh;
}
body.v2[data-mode="claim"] .v2-hero-card { align-self: start; width: 100%; max-width: 680px; }
body.v2[data-mode="claim"] .v2-form { border: 1px solid var(--v2-line); box-shadow: none; padding: clamp(24px, 3.4vw, 44px); gap: 24px; }
body.v2[data-mode="claim"] .v2-step-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.015em; }
body.v2[data-mode="claim"] .v2-claim-aside { grid-area: aside; display: flex; flex-direction: column; gap: 24px; padding-top: 8px; min-width: 0; }
.v2-claim-aside h2 { font-weight: 700; font-size: 22px; line-height: 1.2; }
.v2-claim-amounts { display: flex; flex-direction: column; font-family: var(--v2-font-head); font-size: 17px; border-top: 1px solid var(--v2-line-strong); }
.v2-claim-amounts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--v2-line-strong); }
.v2-claim-amounts strong { font-size: 20px; }
.v2-claim-aside p { font-size: 15px; color: var(--v2-muted); }
.v2-claim-aside .v2-claim-secure { display: flex; align-items: flex-start; gap: 10px; }
.v2-claim-aside .v2-claim-secure svg { margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .v2-hero-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "card" "extras"; row-gap: 28px; }
    .v2-hero-card { justify-self: center; width: 100%; max-width: 560px; }
    .v2-hero-intro, .v2-hero-extras { align-self: auto; }
    body.v2[data-mode="claim"] .v2-hero-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "card" "aside"; row-gap: 32px; min-height: 0; }
    body.v2[data-mode="claim"] .v2-hero-card { max-width: 680px; justify-self: start; }
    body.v2[data-mode="claim"] .v2-claim-aside { max-width: 680px; }
}
@media (max-width: 700px) {
    .v2-hero { background-image: none; }
    .v2-nav { display: none; }
    .v2-header-inner { justify-content: center; }
    /* phones: the logo is centred on every step, and the "No Win, No Fee" badge is left out */
    body.v2[data-mode="claim"] .v2-header-inner { justify-content: center; }
    body.v2[data-mode="claim"] .v2-header-badge { display: none; }
    .v2-hero-row { row-gap: 24px; padding-top: 16px; }
    .v2-step-nav .v2-btn { flex: 1 1 100%; order: -1; margin-left: 0; }
    .v2-step-nav { justify-content: center; }
    .v2-flight { flex-wrap: wrap; }
    .v2-cta .v2-btn, .v2-what-copy .v2-btn, .v2-issues .v2-btn { width: 100%; }
    .v2-modal-dialog { max-height: calc(100vh - 16px); }
    /* day / month / year dropdowns: columns sized to their content so "September" is not cut off */
    .v2-grid-3 { gap: 8px; grid-template-columns: minmax(0, .56fr) minmax(0, 1.22fr) minmax(0, .78fr); }
    .v2-grid-3 .v2-select { padding-left: 10px; padding-right: 22px; background-size: 16px; background-position: right 4px center; }
}
@media (max-width: 420px) {
    .v2-select { padding-left: 12px; padding-right: 34px; background-position: right 8px center; }
    .v2-grid-3 { gap: 6px; }
    .v2-grid-3 .v2-select { padding-left: 8px; padding-right: 20px; background-size: 14px; background-position: right 4px center; }
    .v2-passenger { padding: 14px; }
    .v2-progress-labels { font-size: 13px; gap: 8px; }
    .v2-choice { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .v2 *, .v2 *::before, .v2 *::after { transition: none !important; }
}

/* ---------- Late additions ---------- */
.v2-flightdetails { position: relative; display: flex; flex-direction: column; gap: 16px; }
/* day / month / year row that is too narrow for full month names: v2.js switches to "Sep" and adds this class */
.v2-grid-3.v2-grid-3--short { grid-template-columns: minmax(0, .75fr) minmax(0, .9fr) minmax(0, 1.07fr); }
/* three selects share one error slot: show the message once */
.v2-error-slot--single .parsley-errors-list.filled ~ .parsley-errors-list { display: none; }
/* claim mode shows the "kept secure" line in the sidebar instead of the card */
body.v2[data-mode="claim"] .v2-form > .v2-secure { display: none; }
body.v2[data-mode="claim"] .v2-claim-aside { max-width: 380px; }
@media (max-width: 960px) {
    body.v2[data-mode="claim"] .v2-claim-aside { max-width: 680px; }
}
@media (max-width: 600px) {
    .v2-question.v2-col-half { grid-column: 1 / -1; }
}
/* Landing view: the question card is a little taller on the homepage (more room around the question, bigger Yes / No) */
@media (min-width: 701px) {
    body.v2[data-mode="landing"] .v2-form { padding-top: clamp(32px, 3.6vw, 48px); padding-bottom: clamp(32px, 3.6vw, 48px); gap: 28px; }
    body.v2[data-mode="landing"] .v2-form form,
    body.v2[data-mode="landing"] .v2-step { gap: 32px; }
    body.v2[data-mode="landing"] .v2-choice--lg { min-height: 76px; font-size: 22px; }
}
/* On phones the Yes / No buttons stay where they are, so they are not pushed off the first screen; only the buttons grow */
@media (max-width: 700px) {
    body.v2[data-mode="landing"] .v2-choice--lg { min-height: 72px; }
}
/* Pulse ring, the same animation as "ping-box-shadow" on the other sites, in the V2 accent colour. Add "v2-pulse" to a button or answer. */
@keyframes v2-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 184, 28, .9); }
    70% { box-shadow: 0 0 0 15px rgba(255, 184, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 184, 28, 0); }
}
.v2-pulse { animation: v2-pulse 1s cubic-bezier(0, 0, .2, 1) infinite; }
@media (prefers-reduced-motion: reduce) {
    .v2-pulse { animation: none; }
}

/* ---------- Pages without the claim form: terms and privacy, complaints procedure (Views/Home/V2) ---------- */
.v2-header--solid { background: var(--v2-teal-deep); }
.v2-page-title { background: var(--v2-teal-deep); color: var(--v2-white); border-top: 1px solid var(--v2-dark-line); padding: clamp(28px, 4.5vw, 52px) 0 clamp(32px, 5vw, 60px); }
.v2-page-title h1 { font-weight: 700; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
.v2-legal { padding: clamp(24px, 4.5vw, 56px) 0 clamp(48px, 7vw, 96px); }
.v2-legal-card {
    max-width: 960px; background: var(--v2-white); border: 1px solid var(--v2-line); border-radius: var(--v2-radius-lg);
    padding: clamp(20px, 4vw, 52px);
    font-size: 16px; line-height: 1.7; color: var(--v2-ink-soft); overflow-wrap: anywhere;
}
/* The wording is shared with the original design, so it is styled by element here, not by class */
.v2-legal-card h2, .v2-legal-card h3 { font-family: var(--v2-font-head); font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -0.01em; color: var(--v2-ink); margin: 40px 0 12px; }
.v2-legal-card h4, .v2-legal-card h5 { font-family: var(--v2-font-head); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--v2-ink); margin: 28px 0 8px; }
.v2-legal-card section > div > :first-child, .v2-legal-card section > div > div > :first-child { margin-top: 0; }
.v2-legal-card p, .v2-legal-card address { margin: 0 0 14px; font-style: normal; }
.v2-legal-card ul, .v2-legal-card ol { margin: 0 0 14px; padding-left: 24px; list-style: disc; }
.v2-legal-card ol { list-style: decimal; }
.v2-legal-card li { margin: 0 0 6px; }
.v2-legal-card a { font-weight: 600; }
/* tables sit in a ".overflow-hidden" wrapper in the shared wording: on a narrow screen they scroll sideways instead of squashing */
.v2-legal-card .overflow-hidden { overflow-x: auto; margin: 8px 0 20px; }
.v2-legal-card table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; overflow-wrap: normal; word-break: normal; }
.v2-legal-card th, .v2-legal-card td { padding: 10px 12px; border: 1px solid var(--v2-line); text-align: left; vertical-align: top; }
.v2-legal-card th { background: var(--v2-ground); color: var(--v2-ink); font-family: var(--v2-font-head); font-weight: 600; }

/* ---------- Claim sidebar: sticky on desktop, and the claim calculator (Views/Shared/V2/_ClaimAside.cshtml) ---------- */
.v2-claim-panel { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
@media (min-width: 961px) {
    /* stays at the top of the screen while the form beside it scrolls */
    body.v2[data-mode="claim"] .v2-claim-aside { position: sticky; top: 24px; align-self: start; }
}
.v2-claim-calc-box {
    background: var(--v2-teal-deep); color: var(--v2-white); border-radius: var(--v2-radius-lg);
    padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 4px;
}
.v2-claim-aside .v2-claim-calc-label { font-family: var(--v2-font-head); font-weight: 600; font-size: 16px; color: var(--v2-on-dark); }
.v2-claim-aside .v2-claim-calc-total {
    font-family: var(--v2-font-head); font-weight: 700; font-size: clamp(52px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -0.02em;
    color: var(--v2-accent); transform-origin: left center;
}
.v2-claim-aside .v2-claim-calc-for { font-size: 17px; font-weight: 600; color: var(--v2-white); }
@keyframes v2-claim-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.v2-claim-calc-total--pop { animation: v2-claim-pop .35s ease-out; }
@media (prefers-reduced-motion: reduce) {
    .v2-claim-calc-total--pop { animation: none; }
}

/* ---------- "Ready to start your check?" bar: landing view, after scrolling past the question (v2.js adds .is-visible) ---------- */
.v2-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--v2-teal-deep); color: var(--v2-white);
    box-shadow: 0 -8px 30px rgba(0,0,0,.18);
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
    /* off screen and out of the tab order until it is needed */
    transform: translateY(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
}
.v2-sticky-cta.is-visible { transform: translateY(0); visibility: visible; transition: transform .3s ease; }
body.v2[data-mode="claim"] .v2-sticky-cta { display: none; }
.v2-sticky-cta-inner { display: flex; align-items: center; justify-content: center; gap: 12px 28px; }
.v2-sticky-cta p { font-family: var(--v2-font-head); font-weight: 700; font-size: 20px; line-height: 1.2; }
.v2-sticky-cta .v2-btn { min-height: 56px; min-width: 260px; font-size: 18px; }
/* room at the very bottom of the page, so the bar never covers the last lines of the footer */
body.v2[data-mode="landing"] .v2-footer { padding-bottom: 88px; }
@media (max-width: 700px) {
    .v2-sticky-cta { padding-top: 12px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
    .v2-sticky-cta-inner { flex-direction: column; gap: 10px; }
    .v2-sticky-cta p { font-size: 18px; text-align: center; }
    .v2-sticky-cta .v2-btn { width: 100%; min-width: 0; min-height: 52px; }
    body.v2[data-mode="landing"] .v2-footer { padding-bottom: 124px; }
}

/* ---------- "How much am I entitled to?" group calculator: person icons, drag bar, total (dark band) ---------- */
.v2-group-calc {
    --thumb: 36px;      /* handle size; the icons and numbers use the same width so they line up with each stop of the bar */
    --person: 46px;     /* person icon size */
    border-radius: 14px; border: 1px solid var(--v2-dark-line); background: #071F20;
    padding: clamp(22px, 4vw, 44px); display: flex; flex-direction: column; gap: clamp(22px, 3vw, 32px);
}
.v2-group-calc-head { display: flex; flex-direction: column; gap: 8px; max-width: 40em; }
.v2-group-calc h3 { font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.01em; color: var(--v2-white); }
.v2-group-calc-head p, .v2-group-foot p { font-size: 16px; color: var(--v2-on-dark-soft); }
.v2-group-controls { display: flex; flex-direction: column; gap: 10px; }
.v2-group-people, .v2-group-scale { display: flex; justify-content: space-between; }
.v2-group-person {
    flex: none; width: var(--thumb); height: var(--person); padding: 0; border: 0; background: transparent; cursor: pointer;
    display: flex; align-items: flex-end; justify-content: center; overflow: visible;
    color: #2F5052; transition: color .15s ease, transform .15s ease;
}
.v2-group-person svg { flex: none; width: var(--person); height: var(--person); }
.v2-group-person.is-on { color: var(--v2-accent); }
.v2-group-person:hover { transform: translateY(-2px); }
.v2-group-scale span { flex: none; width: var(--thumb); text-align: center; font-family: var(--v2-font-head); font-weight: 600; font-size: 14px; color: #9FBDBA; }
/* the drag bar: filled in yellow up to the handle */
.v2 .v2-group-range {
    --ratio: 0;
    --fill: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--ratio));
    -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; padding: 0;
    background: transparent; cursor: pointer; touch-action: pan-y;
}
.v2-group-range::-webkit-slider-runnable-track {
    height: 12px; border-radius: 6px;
    background: linear-gradient(to right, var(--v2-accent) 0, var(--v2-accent) var(--fill), #1F4042 var(--fill), #1F4042 100%);
}
.v2-group-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: var(--thumb); height: var(--thumb); margin-top: calc((12px - var(--thumb)) / 2);
    border-radius: 50%; background: var(--v2-accent); border: 4px solid var(--v2-white); box-shadow: 0 4px 14px rgba(0,0,0,.45);
}
.v2-group-range::-moz-range-track { height: 12px; border-radius: 6px; background: #1F4042; }
.v2-group-range::-moz-range-progress { height: 12px; border-radius: 6px; background: var(--v2-accent); }
.v2-group-range::-moz-range-thumb {
    box-sizing: border-box; width: var(--thumb); height: var(--thumb);
    border-radius: 50%; background: var(--v2-accent); border: 4px solid var(--v2-white); box-shadow: 0 4px 14px rgba(0,0,0,.45);
}
.v2 .v2-group-range:focus-visible { outline: 3px solid var(--v2-accent); outline-offset: 6px; border-radius: 8px; }
.v2-group-result { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding-top: clamp(18px, 2.5vw, 26px); border-top: 1px solid var(--v2-dark-line); }
.v2-group-count { font-family: var(--v2-font-head); font-weight: 600; font-size: clamp(19px, 2.2vw, 26px); color: var(--v2-white); }
.v2-group-total { font-family: var(--v2-font-head); font-weight: 700; font-size: clamp(52px, 7vw, 84px); line-height: 1; letter-spacing: -0.02em; color: var(--v2-accent); }
.v2-group-total strong { display: inline-block; transform-origin: right center; }
.v2-group-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.v2-group-foot p { flex: 1 1 320px; max-width: 34em; }
@media (max-width: 700px) {
    .v2-group-calc { --person: 30px; }
    .v2-group-result { flex-direction: column; align-items: flex-start; }
    .v2-group-total strong { transform-origin: left center; }
    .v2-group-foot .v2-btn { width: 100%; }
}
@media (max-width: 380px) {
    .v2-group-calc { --thumb: 28px; --person: 26px; padding-left: 16px; padding-right: 16px; }
}

/* Phones and tablets, where the sidebar sits under the form: the amounts table is left out, so only the claim calculator
   (from the details step) and the "kept secure" line show there */
@media (max-width: 960px) {
    body.v2[data-mode="claim"] .v2-claim-panel--amounts { display: none; }
}
