:root {
  --navy: #051522;
  --navy-2: #082536;
  --navy-3: #0c3143;
  --ink: #0a2430;
  --paper: #fffaf0;
  --cream: #f5ede0;
  --teal: #38dcc9;
  --teal-soft: #8cece1;
  --teal-dark: #147b72;
  --cyan: #5acde4;
  --coral: #ff7d70;
  --amber: #f5ba52;
  --violet: #a78ae7;
  --muted: #9ab2bb;
  --line: rgba(117,227,216,.18);
  --line-light: rgba(9,66,69,.13);
  --serif: Georgia,"Times New Roman",serif;
  --sans: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #edffff; background: radial-gradient(circle at 84% 2%,rgba(56,220,201,.12),transparent 28rem),linear-gradient(180deg,#061a28,var(--navy)); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button,a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
.shell { width: min(1180px,calc(100% - 44px)); margin: 0 auto; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: 0 0 12px 12px; color: #05232a; background: var(--teal); font-size: 13px; font-weight: 850; text-decoration: none; }
.skip-link:focus { top: 0; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 10px; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }

.checkout-header { border-bottom: 1px solid var(--line); background: rgba(5,21,34,.9); backdrop-filter: blur(18px); }
.header-inner { display: grid; min-height: 76px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.header-inner img { width: 126px; display: block; }
.preview-label { display: inline-flex; align-items: center; gap: 9px; color: #a9c3ca; font-size: 10px; font-weight: 750; letter-spacing: .05em; }
.preview-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 13px rgba(245,186,82,.7); }
.exit-link { justify-self: end; color: #9cb6be; font-size: 11px; font-weight: 750; text-decoration: none; }
.exit-link:hover { color: #fff; }

.checkout-main { min-height: calc(100vh - 76px); padding: 64px 0 96px; }
.checkout-intro { display: grid; grid-template-columns: 1fr .62fr; gap: 60px; align-items: end; }
.checkout-intro h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(43px,5vw,66px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.checkout-intro h1 em { color: var(--teal); font-weight: 400; }
.checkout-intro > p { margin: 0 0 5px; color: #9fb8c0; font-size: 14px; line-height: 1.72; }

.progress { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 46px 0 23px; padding: 0; list-style: none; }
.progress::before { content: ""; position: absolute; left: 10%; right: 10%; top: 17px; height: 1px; background: rgba(125,231,220,.16); }
.progress li { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; color: #5f7f89; font-size: 9px; text-align: center; }
.progress li span { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(125,231,220,.2); border-radius: 50%; color: #76959e; background: var(--navy); font-size: 9px; font-weight: 900; }
.progress li b { margin-top: 9px; font-weight: 800; }
.progress li.active,.progress li.complete { color: #dff7f6; }
.progress li.active span { border-color: var(--teal); color: #042c30; background: var(--teal); box-shadow: 0 0 0 6px rgba(56,220,201,.08),0 0 23px rgba(56,220,201,.28); }
.progress li.complete span { border-color: rgba(56,220,201,.58); color: var(--teal); background: #082735; }

.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 325px; gap: 22px; align-items: start; }
.stage-shell,.order-summary { border: 1px solid rgba(125,231,220,.18); border-radius: 28px; background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.018)); box-shadow: 0 28px 80px rgba(0,7,18,.25),inset 0 1px 0 rgba(255,255,255,.075); }
.stage-shell { min-height: 610px; }
.checkout-stage { padding: 38px; }
.checkout-stage[hidden] { display: none; }
.stage-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.stage-head h2,.checkout-stage > h2 { margin: 0; font-family: var(--serif); font-size: clamp(33px,4vw,48px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.stage-head > p { max-width: 270px; margin: 0; color: #86a3ac; font-size: 11px; line-height: 1.6; text-align: right; }
.edit-button,.text-button { padding: 0; border: 0; color: #91b1b8; background: none; font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.edit-button:hover,.text-button:hover { color: #fff; }

.plan-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.plan-option { position: relative; min-height: 175px; padding: 22px; border: 1px solid rgba(125,231,220,.15); border-radius: 20px; color: inherit; background: rgba(2,17,28,.35); text-align: left; cursor: pointer; transition: transform .2s ease,border-color .2s ease,background .2s ease; }
.plan-option:hover { transform: translateY(-3px); border-color: rgba(125,231,220,.4); background: rgba(255,255,255,.055); }
.plan-option[aria-checked="true"] { border-color: var(--teal); background: rgba(56,220,201,.08); box-shadow: 0 0 0 3px rgba(56,220,201,.08); }
.plan-radio { position: absolute; top: 20px; right: 20px; display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(125,231,220,.35); border-radius: 50%; }
.plan-option[aria-checked="true"] .plan-radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px rgba(56,220,201,.7); }
.plan-option small { display: block; color: #76949d; font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.plan-option h3 { margin: 27px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.plan-option strong { display: block; margin-top: 9px; color: var(--teal-soft); font-family: var(--serif); font-size: 29px; font-weight: 400; }
.plan-option strong span { color: #79969f; font-family: var(--sans); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.plan-badge { position: absolute; top: -8px; left: 20px; padding: 5px 8px; border-radius: 999px; color: #2a1b00; background: var(--amber); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.addon-builder { margin-top: 16px; padding: 22px; border: 1px solid rgba(125,231,220,.16); border-radius: 20px; background: rgba(2,17,28,.28); }
.addon-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.addon-heading .eyebrow { margin-bottom: 7px; }
.addon-heading h3 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.addon-heading > strong { flex: 0 0 auto; color: var(--teal); font-size: 10px; }
.addon-builder > p { margin: 10px 0 0; color: #839fa7; font-size: 9px; line-height: 1.6; }
.addon-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 16px; }
.addon-option { position: relative; min-height: 92px; padding: 15px; border: 1px solid rgba(125,231,220,.14); border-radius: 15px; color: #dff7f6; background: rgba(255,255,255,.025); text-align: left; cursor: pointer; }
.addon-option:hover,.addon-option[aria-checked="true"] { border-color: var(--teal); background: rgba(56,220,201,.07); }
.addon-option strong,.addon-option span { display: block; }
.addon-option strong { padding-right: 18px; font-size: 10px; }
.addon-option span { margin-top: 7px; color: #7f9ba4; font-size: 8px; line-height: 1.45; }
.addon-option i { position: absolute; top: 14px; right: 14px; width: 12px; height: 12px; border: 1px solid rgba(125,231,220,.35); border-radius: 50%; }
.addon-option[aria-checked="true"] i::after { content: ""; display: block; width: 6px; height: 6px; margin: 2px; border-radius: 50%; background: var(--teal); }

.primary-action,.secondary-action,.secondary-link { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 15px; padding: 12px 21px; border-radius: 999px; font-size: 11px; font-weight: 900; text-decoration: none; cursor: pointer; }
.primary-action { border: 1px solid rgba(255,255,255,.52); color: #06242a; background: linear-gradient(135deg,#74e9dc,#28cbbb); box-shadow: 0 17px 42px rgba(30,218,199,.2),inset 0 1px 0 rgba(255,255,255,.72); }
.primary-action:hover { transform: translateY(-2px); }
.primary-action:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.primary-action.wide { width: 100%; }
.secondary-action,.secondary-link { border: 1px solid rgba(125,231,220,.2); color: #dff7f6; background: rgba(255,255,255,.035); }
.secondary-action:disabled { opacity: .4; cursor: not-allowed; }
.stage-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.stage-actions.end { justify-content: flex-end; }
.stage-actions.split { justify-content: space-between; }
.stage-actions.center { justify-content: center; }

.commitment-offer { position: relative; overflow: hidden; padding: 30px; border: 1px solid rgba(56,220,201,.36); border-radius: 23px; background: radial-gradient(circle at 94% 8%,rgba(56,220,201,.15),transparent 17rem),linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.02)); }
.commitment-offer::after { content: "14"; position: absolute; right: -10px; top: -31px; color: rgba(125,231,220,.045); font-family: var(--serif); font-size: 190px; line-height: 1; pointer-events: none; }
.offer-kicker { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.offer-kicker span { padding: 6px 9px; border-radius: 999px; color: #05282a; background: var(--teal); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.offer-kicker b { color: #76949d; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.commitment-offer h3 { position: relative; z-index: 2; max-width: 620px; margin: 0; font-family: var(--serif); font-size: clamp(35px,4.5vw,52px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.commitment-offer h3 em { display: block; color: var(--teal); font-weight: 400; }
.commitment-offer > p:not(.eyebrow) { position: relative; z-index: 2; max-width: 660px; margin: 16px 0 0; color: #9db6be; font-size: 12px; line-height: 1.65; }
.offer-math { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 13px; align-items: center; margin-top: 25px; padding: 18px; border: 1px solid rgba(125,231,220,.14); border-radius: 17px; background: rgba(2,17,28,.4); }
.offer-math div { min-width: 0; }
.offer-math small { display: block; color: #708f98; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.offer-math strong { display: block; margin-top: 7px; font-family: var(--serif); font-size: 24px; font-weight: 400; white-space: nowrap; }
.offer-math > span { color: #4f727b; }
.offer-math .value strong { color: var(--teal); }
.offer-facts { position: relative; z-index: 2; display: flex; gap: 9px; margin: 17px 0 24px; padding: 0; flex-wrap: wrap; list-style: none; }
.offer-facts li { padding: 7px 10px; border: 1px solid rgba(125,231,220,.12); border-radius: 999px; color: #8fa9b1; font-size: 8px; font-weight: 750; }
.offer-facts li::before { content: "✓"; margin-right: 6px; color: var(--teal); }
.annual-addon-note { position: relative; z-index: 2; margin: -10px 0 15px; padding: 10px 12px; border-radius: 11px; color: #f4cf92; background: rgba(245,184,75,.08); font-size: 9px; line-height: 1.5; }
.annual-addon-note[hidden] { display: none; }
.monthly-choice { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 14px; padding: 20px 22px; border: 1px solid rgba(125,231,220,.12); border-radius: 18px; background: rgba(255,255,255,.025); }
.monthly-choice strong { display: block; font-size: 11px; }
.monthly-choice span { display: block; margin-top: 5px; color: #7f9ba4; font-size: 9px; }

.payment-review { overflow: hidden; border: 1px solid rgba(125,231,220,.15); border-radius: 19px; background: rgba(2,17,28,.35); }
.payment-line { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 15px 19px; border-top: 1px solid rgba(125,231,220,.11); color: #839fa7; font-size: 10px; }
.payment-line:first-child { border-top: 0; }
.payment-line[hidden],.summary-row[hidden] { display: none; }
.payment-line strong { color: #e9ffff; font-size: 11px; }
.payment-line.total { padding-block: 19px; color: #dff7f6; }
.payment-line.total strong { color: var(--teal); font-family: var(--serif); font-size: 27px; font-weight: 400; }
.payment-handoff { margin-top: 16px; padding: 22px; border: 1px solid rgba(125,231,220,.15); border-radius: 19px; background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); }
.secure-mark { display: flex; align-items: center; gap: 12px; }
.secure-mark > i { width: 30px; height: 30px; border: 1px solid rgba(125,231,220,.26); border-radius: 50%; background: radial-gradient(circle at 38% 32%,#fff 0 4%,#65e5d8 22%,#1dbdab 66%,#157c73); }
.secure-mark strong { display: block; font-size: 11px; }
.secure-mark span { display: block; margin-top: 3px; color: #78949d; font-size: 8px; }
.payment-handoff ul { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.payment-handoff li { position: relative; padding-left: 17px; color: #89a5ad; font-size: 9px; line-height: 1.55; }
.payment-handoff li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.payment-status,.payment-error { margin: 15px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 8px; line-height: 1.6; }
.payment-status { color: #8da7ae; background: rgba(56,220,201,.045); }
.payment-error { color: #ffd4cf; background: rgba(255,125,112,.09); }
.payment-error[hidden] { display: none; }
.primary-action[aria-busy="true"] { opacity: .65; cursor: progress; transform: none; }
.payment-support { margin: 11px 0 0; color: #78949d; font-size: 9px; line-height: 1.55; }
.payment-support a { color: #dff7f6; font-weight: 800; text-underline-offset: 3px; }

.checkout-consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin-top: 16px; padding: 15px 16px; border: 1px solid rgba(125,231,220,.15); border-radius: 14px; color: #9ab2ba; background: rgba(2,17,28,.28); font-size: 9px; line-height: 1.6; cursor: pointer; }
.checkout-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--teal); }
.checkout-consent a { color: #e9ffff; font-weight: 800; text-underline-offset: 3px; }

.referral-arrival { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding: 15px 18px; border: 1px solid rgba(56,220,201,.28); border-radius: 15px; background: rgba(56,220,201,.075); }
.referral-arrival[hidden] { display: none; }
.referral-arrival strong { color: #eaffff; font-size: 11px; }
.referral-arrival span { color: #8faab2; font-size: 9px; line-height: 1.5; text-align: right; }

.referral-stage,.confirmation-stage { max-width: 720px; margin: 0 auto; padding-top: 60px; text-align: center; }
.success-check { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto 24px; border: 1px solid rgba(125,231,220,.42); border-radius: 50%; color: #06272b; background: var(--teal); box-shadow: 0 0 0 8px rgba(56,220,201,.07),0 0 30px rgba(56,220,201,.23); font-size: 20px; font-weight: 900; }
.referral-stage > h2,.confirmation-stage > h2 { max-width: 650px; margin: 0 auto; font-family: var(--serif); font-size: clamp(43px,5.2vw,63px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.referral-lead,.confirmation-stage > p { margin: 17px auto 0; color: #9db5bd; font-size: 14px; line-height: 1.65; }
.referral-benefits { display: grid; grid-template-columns: 1fr auto 1fr; gap: 15px; align-items: center; margin: 28px 0 0; }
.referral-benefits > div { padding: 22px; border: 1px solid rgba(125,231,220,.15); border-radius: 18px; background: rgba(2,17,28,.35); }
.referral-benefits small { display: block; color: #78949d; font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.referral-benefits strong { display: block; margin-top: 10px; color: var(--teal); font-family: var(--serif); font-size: 39px; font-weight: 400; }
.referral-benefits span { display: block; margin-top: 5px; color: #9ab2ba; font-size: 10px; line-height: 1.45; }
.referral-benefits > i { color: #698891; font-style: normal; }
.referral-share { margin-top: 15px; padding: 18px; border: 1px solid rgba(125,231,220,.14); border-radius: 16px; background: rgba(2,17,28,.34); text-align: left; }
.referral-share label { display: block; margin-bottom: 9px; color: #9ab5bc; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.referral-share > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.referral-share input { min-width: 0; height: 48px; padding: 0 14px; border: 1px solid rgba(125,231,220,.2); border-radius: 999px; color: #dff7f6; background: #051c29; font: 9px var(--sans); }
.referral-share .secondary-action { min-height: 48px; }
.referral-share p { margin: 9px 3px 0; color: #708f98; font-size: 8px; line-height: 1.55; }
.referral-rule,.future-referral { margin: 15px 0 23px !important; padding: 13px 15px; border: 1px solid rgba(125,231,220,.11); border-radius: 13px; color: #78949d !important; background: rgba(255,255,255,.022); font-size: 8px !important; line-height: 1.6 !important; }
.text-button.centered { display: block; margin: 17px auto 0; }
.confirmation-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 28px; }
.confirmation-summary > div { padding: 17px; border: 1px solid rgba(125,231,220,.13); border-radius: 16px; background: rgba(2,17,28,.3); }
.confirmation-summary span { display: block; color: #718f98; font-size: 8px; text-transform: uppercase; }
.confirmation-summary strong { display: block; margin-top: 7px; color: #e8ffff; font-size: 11px; }
.clinical-next-step { margin-top: 14px; padding: 18px; border: 1px solid rgba(56,220,201,.18); border-radius: 16px; background: rgba(56,220,201,.055); text-align: left; }
.clinical-next-step strong,.clinical-next-step span { display: block; }
.clinical-next-step strong { color: #eaffff; font-size: 10px; }
.clinical-next-step span { margin-top: 7px; color: #829fa7; font-size: 9px; line-height: 1.6; }

.order-summary { position: sticky; top: 20px; padding: 25px; }
.summary-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.summary-top .eyebrow { margin: 0; }
.summary-top > span { padding: 5px 8px; border: 1px solid rgba(125,231,220,.14); border-radius: 999px; color: #6f8c95; font-size: 7px; font-weight: 900; }
.order-summary h2 { margin: 17px 0 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.summary-empty { margin-top: 20px; padding: 24px 18px; border: 1px dashed rgba(125,231,220,.17); border-radius: 16px; color: #708c95; font-size: 10px; line-height: 1.6; text-align: center; }
.summary-content { margin-top: 19px; }
.summary-content[hidden] { display: none; }
.summary-row { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid rgba(125,231,220,.1); color: #78949d; font-size: 9px; }
.summary-row strong { max-width: 155px; color: #dff6f6; font-size: 9px; text-align: right; }
.summary-total { margin-top: 5px; padding-top: 17px; color: #dff6f6; }
.summary-total strong { color: var(--teal); font-family: var(--serif); font-size: 24px; font-weight: 400; }
.summary-savings { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 10px; padding: 12px 13px; border: 1px solid rgba(56,220,201,.17); border-radius: 13px; color: #87a39d; background: rgba(56,220,201,.055); font-size: 8px; }
.summary-savings[hidden] { display: none; }
.summary-savings strong { color: var(--teal); font-size: 11px; }
.summary-assurance { display: grid; grid-template-columns: 9px 1fr; gap: 11px; margin-top: 21px; padding-top: 18px; border-top: 1px solid rgba(125,231,220,.1); }
.summary-assurance i { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px rgba(56,220,201,.65); }
.summary-assurance p { margin: 0; color: #77949c; font-size: 8px; line-height: 1.55; }
.summary-assurance b { color: #cfe7e8; }
.summary-fineprint { margin: 17px 0 0; color: #5d7a84; font-size: 7px; line-height: 1.55; }

.legacy-shell { display: grid; gap: 34px; }
.legacy-intro { margin-bottom: 4px; }
.legacy-trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.legacy-trust > div { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: start; padding: 19px; border: 1px solid rgba(125,231,220,.15); border-radius: 18px; background: rgba(255,255,255,.035); }
.legacy-trust span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(56,220,201,.4); border-radius: 50%; color: var(--teal); font-size: 9px; font-weight: 900; }
.legacy-trust p { margin: 0; color: #86a3ac; font-size: 10px; line-height: 1.6; }
.legacy-trust b { display: block; margin-bottom: 4px; color: #eaffff; font-size: 11px; }
.legacy-care { padding: 36px; border: 1px solid rgba(125,231,220,.18); border-radius: 28px; background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.018)); box-shadow: 0 28px 80px rgba(0,7,18,.25),inset 0 1px 0 rgba(255,255,255,.075); }
.legacy-stage-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px,4.5vw,50px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.legacy-care-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.legacy-care-card { display: flex; min-height: 345px; flex-direction: column; padding: 25px; border: 1px solid rgba(125,231,220,.15); border-radius: 21px; background: rgba(2,17,28,.38); }
.legacy-care-card.featured { grid-column: 1 / -1; min-height: 0; background: radial-gradient(circle at 92% 12%,rgba(56,220,201,.14),transparent 19rem),rgba(2,17,28,.44); }
.legacy-care-card small { display: block; color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.legacy-care-card h3 { max-width: 600px; margin: 15px 0 0; font-family: var(--serif); font-size: 29px; font-weight: 400; line-height: 1.05; }
.legacy-care-card strong { display: block; margin-top: 14px; color: var(--teal-soft); font-family: var(--serif); font-size: 26px; font-weight: 400; }
.legacy-care-card > p { margin: 18px 0 22px; color: #87a4ac; font-size: 10px; line-height: 1.65; }
.legacy-care-card > .primary-action { align-self: flex-start; margin-top: auto; }
.legacy-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.details-link { align-self: flex-start; margin-top: 16px; color: #9cb8be; font-size: 9px; font-weight: 800; text-underline-offset: 4px; }
.details-link:hover { color: #fff; }
.legacy-booking { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 31px 34px; border: 1px solid rgba(56,220,201,.28); border-radius: 24px; background: linear-gradient(135deg,rgba(56,220,201,.1),rgba(255,255,255,.025)); }
.legacy-booking h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px,4vw,44px); font-weight: 400; letter-spacing: -.035em; }
.legacy-booking p:not(.eyebrow) { max-width: 620px; margin: 10px 0 0; color: #89a6ae; font-size: 11px; line-height: 1.65; }
.legacy-fineprint { margin: 0; color: #6f8d96; font-size: 9px; line-height: 1.65; text-align: center; }
[data-legacy-destination][aria-disabled="true"] { opacity: .45; pointer-events: none; }

.system-map { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 28px; padding: 25px; border: 1px solid rgba(125,231,220,.14); border-radius: 22px; background: rgba(255,255,255,.025); }
.system-map > div { min-width: 0; }
.system-map small,.system-map strong,.system-map span { display: block; }
.system-map small { color: var(--teal); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.system-map strong { margin-top: 8px; color: #eaffff; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.system-map span { margin-top: 8px; color: #7f9ca5; font-size: 9px; line-height: 1.55; }
.system-map > i { color: #4f727b; font-style: normal; }
.checkout-help { margin-top: 18px; }

.noscript { margin-top: 20px; padding: 15px; border: 1px solid rgba(245,186,82,.24); border-radius: 14px; color: #dccda9; text-align: center; }
footer { padding: 30px 0; border-top: 1px solid var(--line); background: #04131f; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #66818a; font-size: 9px; }
.footer-inner img { width: 108px; }
button:focus-visible,a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.checkout-stage h2[tabindex="-1"]:focus { outline: none; }

@media (max-width: 980px) {
  .checkout-intro { grid-template-columns: 1fr; gap: 20px; }
  .legacy-trust { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; order: 0; }
  .summary-content { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 20px; }
  .summary-total { margin: 0; }
  .system-map { grid-template-columns: 1fr; }
  .system-map > i { transform: rotate(90deg); text-align: center; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px,1180px); }
  .header-inner { min-height: 68px; grid-template-columns: 1fr auto; }
  .header-inner img { width: 105px; }
  .preview-label { display: none; }
  .checkout-main { padding: 46px 0 70px; }
  .checkout-intro h1 { font-size: 46px; }
  .legacy-care { padding: 25px 20px; border-radius: 22px; }
  .legacy-care-grid { grid-template-columns: 1fr; }
  .legacy-care-card.featured { grid-column: auto; }
  .legacy-care-card { min-height: 0; }
  .legacy-care-card > .primary-action,.legacy-actions .primary-action,.legacy-actions .secondary-action { width: 100%; }
  .legacy-booking { align-items: stretch; flex-direction: column; padding: 25px 20px; }
  .progress { display: flex; overflow-x: auto; justify-content: flex-start; padding-bottom: 5px; }
  .progress::before { display: none; }
  .progress li { min-width: 92px; }
  .stage-shell { min-height: 0; border-radius: 22px; }
  .checkout-stage { padding: 25px 20px; }
  .stage-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .stage-head > p { text-align: left; }
  .plan-grid,.addon-options { grid-template-columns: 1fr; }
  .addon-heading { align-items: flex-start; flex-direction: column; }
  .commitment-offer { padding: 24px 20px; }
  .offer-math { grid-template-columns: 1fr; text-align: center; }
  .offer-math > span { transform: rotate(90deg); }
  .monthly-choice { align-items: stretch; flex-direction: column; }
  .secondary-action { width: 100%; }
  .stage-actions.split,.stage-actions.center { align-items: stretch; flex-direction: column-reverse; }
  .stage-actions .primary-action,.stage-actions .secondary-link { width: 100%; }
  .referral-stage,.confirmation-stage { padding-top: 34px; }
  .referral-benefits { grid-template-columns: 1fr; }
  .referral-arrival { align-items: flex-start; flex-direction: column; gap: 6px; }
  .referral-arrival span { text-align: left; }
  .referral-share > div { grid-template-columns: 1fr; }
  .confirmation-summary { grid-template-columns: 1fr; }
  .summary-content { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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