/* Welcome C composes the exported landing page and the shared Flow C controls. */
.dok-welcome-c-page { height: auto; min-height: 100vh; min-height: 100dvh; overflow: auto; display: block; }
.dok-welcome-c-page #form1 { display: block; height: auto; }
.dok-welcome-c { display: block; overflow: visible; min-height: calc(100vh - var(--dok-header-height)); }
.dok-welcome-c-page .dok-c-header { background: #fff; border-bottom-color: #e5e7eb; }
.dok-welcome-c-page .dok-c-brand img { filter: none; }
.dok-welcome-c-page .dok-c-nav a, .dok-welcome-c-page .dok-c-mobile-nav summary { color: #37565f; }
.dok-welcome-c-page .dok-c-nav a:hover { color: #4b757f; }
.dok-welcome-c-page.w-flow-open { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.dok-welcome-c-page.w-flow-open #form1 { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.w-flow-open .dok-welcome-c { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; height: 100%; overflow: hidden; }
.w-flow-open .dok-c-header { background: #37565f; border-bottom-color: rgba(255,255,255,.2); }
.w-flow-open .dok-c-brand img { filter: brightness(0) invert(1); }
.w-flow-open .dok-c-nav a, .w-flow-open .dok-c-mobile-nav summary { color: #fff; }
.w-flow-open .dok-c-nav a:hover { color: #9fca7a; }
.dok-welcome-c [data-w-ui="status"] { width: calc(100% - 2rem); max-width: 900px; margin: .75rem auto; flex: 0 0 auto; }
.dok-welcome-c [data-w-ui="status"]:empty { display: none; }
.w-landing { width: 100%; overflow-x: clip; }
.w-landing a { text-underline-offset: 4px; }
.w-hero { position: relative; overflow: hidden; background: #37565f; min-height: calc(100vh - var(--dok-header-height)); min-height: calc(100dvh - var(--dok-header-height)); }
.w-hero-watermark { position: absolute; bottom: 0; right: 0; height: 90%; width: auto; max-width: none; display: block; pointer-events: none; }
.w-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--dok-header-height)); min-height: calc(100dvh - var(--dok-header-height)); padding: 80px 64px 100px; }
.w-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 80px; }
.w-hero-primary { display: flex; flex-direction: column; gap: 24px; }
.w-hero-logo { width: 100%; max-width: 500px; height: auto; display: block; }
.dok-welcome-c .w-hero h1 { font-family: var(--dok-body-font); font-weight: 300; font-size: clamp(2.2rem,3.8vw,4.2rem); line-height: 1.1; text-align: left; }
.w-hero-offer { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; align-items: center; }
.w-hero-offer p { font-size: clamp(1.15rem,1.8vw,1.6rem); line-height: 1.4; color: #fff; }
.dok-welcome-c .w-buy-button { flex-direction: column; padding: 1.4rem 1.5rem; width: 100%; font-size: clamp(.85rem,1.2vw,1.05rem); letter-spacing: .05em; }
.w-button-price:empty { display: none; }
.w-button-price { font-size: .75em; letter-spacing: .02em; }
.w-hero-documents { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.dok-welcome-c .w-hero-documents .c-button { width: 100%; border: 1.5px solid rgba(255,255,255,.7); color: #fff; padding: .9rem 1rem; font-size: clamp(.75rem,1vw,.9rem); letter-spacing: .05em; }
.dok-welcome-c .w-hero-documents .c-button:hover { background: rgba(255,255,255,.1); }
.w-hero-benefit { display: flex; flex-direction: column; gap: 20px; }
.w-hero-benefit h2 { font-family: var(--dok-body-font); font-weight: 300; font-size: clamp(2rem,3.5vw,4rem); line-height: 1.2; color: #fff; }
.w-hero-benefit p { font-size: clamp(1rem,1.4vw,1.35rem); line-height: 1.6; color: rgba(255,255,255,.85); }
.w-scroll-cue { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-size: .8rem; font-weight: 300; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; width: max-content; margin: 0 auto; }
.w-container { width: 100%; max-width: 1280px; padding: 0 32px; margin: 0 auto; }
.w-features { background: #4b757f; padding: 96px 0; }
.w-section-heading { max-width: 672px; margin: 0 auto 48px; text-align: center; }
.w-section-heading h2, .w-cta-content h2 { font-family: var(--dok-body-font); font-weight: 600; font-size: clamp(1.875rem,3.5vw,3rem); line-height: 1.2; }
.w-section-heading p { margin-top: 16px; color: #c5d5d9; font-size: 1.125rem; }
.w-feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.w-feature-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(55,86,95,.5); text-align: center; transition: border-color .3s; }
.w-feature-card:hover { border-color: #9fca7a; }
.w-feature-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; background: rgba(159,202,122,.2); color: #9fca7a; transition: background .2s,color .2s; }
.w-feature-icon i { font-size: 32px; line-height: 1; }
.w-feature-card:hover .w-feature-icon { background: #9fca7a; color: #283f44; }
.w-feature-card h3 { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.w-feature-card p { color: #c5d5d9; font-size: .875rem; line-height: 1.65; }
.w-how { padding: 80px 0 90px; overflow: hidden; background: #283f44; scroll-margin-top: 24px; }
.w-how-container { max-width: 820px; padding: 0 40px; margin: 0 auto; }
.w-how-container h2 { font-family: var(--dok-body-font); font-size: clamp(2rem,3.5vw,3rem); font-weight: 300; text-align: center; margin-bottom: 52px; }
.w-how-row { display: flex; align-items: center; }
.w-how-row-reverse { flex-direction: row-reverse; }
.w-how-pill { flex: 0 0 60%; max-width: 60%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #4b757f; border: 1px solid rgba(255,255,255,.15); border-radius: 100px; padding: 22px 40px; }
.w-how-pill span { font-family: var(--dok-body-font); font-weight: 300; font-size: clamp(1.55rem,2.6vw,2.3rem); line-height: 1; white-space: nowrap; }
.w-how-pill i { font-size: 2rem; line-height: 1; color: #9fca7a; flex-shrink: 0; }
.w-how-copy { flex: 0 0 40%; max-width: 40%; padding: 0 28px; }
.w-how-copy h3 { margin: 0 0 6px; font-family: var(--dok-body-font); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9fca7a; }
.w-how-copy p { font-size: .875rem; line-height: 1.65; color: #c5d5d9; }
.w-how-connector { width: 100%; height: 52px; display: block; }
.w-how-connector path { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.w-terminal-dot { position: relative; height: 22px; }
.w-terminal-dot::before { content: ''; position: absolute; left: calc(30% - 7px); top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); opacity: .8; }
.w-cta { padding: 96px 0; background: #37565f; }
.w-cta-panel { position: relative; overflow: hidden; padding: 80px 64px; border-radius: 24px; background: linear-gradient(135deg,#9fca7a,rgba(159,202,122,.8)); color: #283f44; }
.w-cta-grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .1; pointer-events: none; }
.w-cta-content { position: relative; max-width: 768px; margin: 0 auto; text-align: center; }
.w-cta-content p { font-size: 1.25rem; line-height: 1.6; margin-top: 24px; }
.w-cta-buttons { display: flex; gap: 16px; justify-content: center; margin-top: 32px; }
.dok-welcome-c .w-cta-buttons .c-button { padding: 16px 32px; border-radius: 8px; font-size: 1.125rem; font-weight: 700; text-transform: none; }
.dok-welcome-c .w-cta-primary { background: #fff; color: #37565f; border: 2px solid #fff; box-shadow: 0 8px 16px rgba(0,0,0,.1); }
.dok-welcome-c .w-cta-secondary { background: transparent; color: #283f44; border: 2px solid #fff; }
.w-footer { background: #283f44; border-top: 1px solid rgba(255,255,255,.2); padding: 48px 0 32px; }
.w-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.w-footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.w-footer-grid h2 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.w-footer-grid a, .w-footer-grid button, .w-footer-brand p { font-family: var(--dok-body-font); font-size: .875rem; font-weight: 300; line-height: 1.6; color: #c5d5d9; text-decoration: none; }
.w-footer-grid button { border: 0; background: transparent; padding: 0; cursor: pointer; text-align: left; }
.w-footer-grid a:hover, .w-footer-grid button:hover { color: #9fca7a; }
.w-footer-brand img { height: 44px; width: auto; display: block; margin-bottom: 4px; }
.w-footer-brand p { max-width: 240px; }
.w-footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 32px; color: #c5d5d9; font-size: .8rem; }
.w-details-content { justify-content: flex-start; padding-top: 2rem; padding-bottom: 2rem; }
.w-party-section { width: 100%; max-width: 900px; display: flex; flex-direction: column; gap: 1rem; }
.w-party-section > h2 { text-align: center; }
.w-party-section .c-option-card { min-height: 165px; }
.w-party-section .c-option-title { font-size: clamp(1.35rem,2vw,1.8rem); }
.dok-welcome-c .c-option-card:not(.is-selected) .c-option-tick { visibility: hidden; }
.dok-welcome-c .c-option-price-label { width: calc(100% + 1.5rem); border-top: 1px solid rgba(255,255,255,.1); margin: 1rem -.75rem .1rem; padding: .55rem .75rem 0; }
.dok-welcome-c .c-option-card.is-selected .c-option-price-label { border-top-color: rgba(28,48,32,.14); }
.dok-welcome-c .c-option-price { border: 0; margin: 0; padding: 0; }
.w-form-grid { width: 100%; max-width: 680px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .9rem; }
.w-field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.w-field-full { grid-column: 1/-1; }
.w-field > label, label.w-field > span { font-family: var(--dok-body-font); font-weight: 300; font-size: .85rem; color: rgba(255,255,255,.8); }
.w-field > label span { color: rgba(255,255,255,.45); }
.dok-welcome-c .w-field .dok-input { min-height: 50px; padding: .95rem 1.1rem; background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; font-size: 1rem; }
.dok-welcome-c .w-field .dok-input::placeholder { color: rgba(255,255,255,.32); }
.dok-welcome-c .w-field .dok-input:focus { box-shadow: none; border-color: rgba(255,255,255,.5); }
.dok-welcome-c .w-field select.dok-input { color-scheme: dark; }
.dok-welcome-c .w-field select.dok-input option { background: #37565f; color: #fff; }
.dok-welcome-c .w-field .w-title-select { max-width: 160px; }
.dok-welcome-c input[data-w-field="postcode"] { text-transform: uppercase; }
.dok-welcome-c input[data-w-field="start-date"] { color-scheme: dark; max-width: 340px; }
.w-passengers { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 680px; }
.w-passengers:empty { display: none; }
.w-passenger-card { width: 100%; min-width: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 1rem 1.2rem; }
.w-passenger-heading { margin: 0 0 .8rem; font-family: var(--dok-button-font); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.w-summary-note { font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.6); margin-top: .5rem !important; }
.w-policy-reference { display: flex; flex-direction: column; align-items: center; gap: .3rem; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); border-radius: 10px; padding: .65rem 1.8rem; }
.w-policy-reference > strong { font-size: 1.25rem; color: #9fca7a; letter-spacing: .1em; overflow-wrap: anywhere; }
.dok-welcome-c [aria-invalid="true"] { border-color: rgba(255,150,150,.8) !important; }
@media (max-width: 1100px) {
    .w-hero-inner { padding-left: 40px; padding-right: 40px; }
    .w-hero-grid { gap: 40px; }
    .w-feature-grid { gap: 20px; }
    .w-feature-card { padding: 20px; }
}
@media (max-width: 900px) {
    .w-hero-watermark { opacity: .25; }
    .w-hero-inner { padding-left: 32px; padding-right: 32px; }
    .w-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .w-features, .w-cta { padding: 64px 0; }
    .w-cta-panel { padding: 64px 32px; }
    .w-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .w-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .w-hero-inner { padding-top: 48px; padding-bottom: 90px; }
    .w-hero-logo { max-width: 360px; }
    .w-hero-benefit h2 { font-size: clamp(2rem,5.8vw,3rem); }
    .w-hero-primary { gap: 24px; }
    .w-how-container { padding: 0 24px; }
    .w-how-pill { padding: 20px 24px; }
    .w-how-copy { padding: 0 18px; }
}
@media (max-width: 640px) {
    .w-hero-inner { padding-left: 20px; padding-right: 20px; }
    .w-hero-offer, .w-hero-documents { grid-template-columns: 1fr; gap: 12px; }
    .w-hero-offer { gap: 20px; }
    .w-hero-logo { max-width: 300px; }
    .w-container { padding: 0 24px; }
    .w-how-row, .w-how-row-reverse { flex-direction: column; align-items: stretch; gap: 16px; }
    .w-how-pill, .w-how-copy { flex-basis: auto; max-width: 100%; }
    .w-how-pill { padding: 20px 28px; }
    .w-how-copy { padding: 0 16px; }
    .w-how-connector { height: 40px; opacity: .6; }
    .w-terminal-dot::before { left: calc(50% - 7px); }
    .w-cta-panel { padding: 48px 24px; }
    .w-cta-buttons { flex-direction: column; }
    .w-cta-content p { font-size: 1.125rem; }
    .w-footer-bottom { flex-direction: column; gap: 12px; }
    .w-form-grid { grid-template-columns: 1fr; }
    .w-field-full { grid-column: auto; }
    .w-party-section .c-option-card { min-height: 150px; }
}
@media (max-width: 420px) {
    .w-feature-grid { grid-template-columns: 1fr; }
    .w-footer-grid { grid-template-columns: 1fr; }
}
/* Progressive enhancement: without the observer, all content stays visible. */
.w-reveal-anchor { display: flow-root; min-width: 0; }
.w-feature-grid > .w-reveal-anchor { display: flex; }
.w-feature-grid .w-feature-card { width: 100%; }
.w-footer-grid > .w-reveal-anchor > div { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.w-landing[data-w-motion="active"] .w-scroll-reveal {
    transition: opacity var(--w-motion-duration) var(--w-motion-easing) var(--w-motion-delay),
        transform var(--w-motion-duration) var(--w-motion-easing) var(--w-motion-delay), border-color .3s;
}
.w-landing[data-w-motion="active"] [data-w-motion-state="below"] { opacity: 0; transform: var(--w-motion-below); }
.w-landing[data-w-motion="active"] [data-w-motion-state="above"] { opacity: 0; transform: var(--w-motion-above); }
.w-landing[data-w-motion="active"] [data-w-motion-state="visible"] { opacity: 1; transform: none; }
.w-how-connector.w-scroll-reveal { transform-origin: top center; }
.w-landing[data-w-motion="active"] .w-scroll-reveal:focus-within { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
    .w-landing * { scroll-behavior: auto !important; transition: none !important; }
    .w-landing .w-scroll-reveal { opacity: 1 !important; transform: none !important; }
}
@media print { .w-landing .w-scroll-reveal { opacity: 1 !important; transform: none !important; } }

/* Value-based purchase: focused policyholder form, with the quote kept alongside. */
#welcomeC .w-details-content { gap:24px; padding-top:32px; }
#welcomeC .w-details-layout { display:grid; grid-template-columns:minmax(240px,.75fr) minmax(0,1.6fr); gap:24px; width:100%; max-width:1100px; align-items:start; }
#welcomeC .w-details-cover, #welcomeC .w-details-section { box-sizing:border-box; padding:24px; border:1px solid var(--theme-border); border-radius:14px; background:var(--theme-surface); color:var(--theme-text); text-align:left; }
#welcomeC .w-details-cover { border-top:4px solid var(--theme-green-border); }
#welcomeC .w-details-fields { display:grid; gap:20px; min-width:0; }
#welcomeC .w-details-layout h2 { margin:0 0 10px; color:var(--theme-text); font:600 1.25rem/1.4 'Segoe UI',sans-serif; }
#welcomeC .w-details-layout p, #welcomeC .w-details-layout small { margin:0 0 18px; color:var(--theme-muted); font:400 .95rem/1.6 'Segoe UI',sans-serif; }
#welcomeC .w-details-layout small { margin:0; }
#welcomeC .w-details-cover .dok-eyebrow { display:block; margin:0 0 8px; }
#welcomeC .w-details-cover dl { margin:18px 0; }
#welcomeC .w-details-cover dl > div { padding:12px 0; border-bottom:1px solid var(--theme-border); }
#welcomeC .w-details-cover dt { color:var(--theme-muted); font-size:.9rem; }
#welcomeC .w-details-cover dd { margin:5px 0 0; color:var(--theme-text); font-size:1.15rem; font-weight:650; }
#welcomeC .w-details-layout .w-form-grid { max-width:none; gap:18px; }
#welcomeC .w-details-layout .w-field > label { color:var(--theme-text); font-weight:600; font-size:.95rem; }
@media(max-width:760px) {
 #welcomeC .w-details-layout { grid-template-columns:minmax(0,1fr); }
 #welcomeC .w-details-cover, #welcomeC .w-details-section { padding:20px; }
 #welcomeC .w-details-cover dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 16px; }
 #welcomeC .w-details-cover dl > div:last-child { grid-column:1 / -1; }
}
@media(max-width:460px) { #welcomeC .w-details-layout .w-form-grid { grid-template-columns:minmax(0,1fr); } }

#welcomeCFlights { flex:1 1 auto; min-height:0; }
#welcomeC [data-w-ui="summary-flights"],
#welcomeC [data-w-step="summary"] .dok-summary-layout { width:100%; max-width:1100px; }
