:root {
  color-scheme: light;
  --customer-ground: #eef3ff;
  --customer-ink: #111633;
  --customer-muted: #59617d;
  --customer-surface: rgba(255, 255, 255, 0.86);
  --customer-surface-soft: rgba(255, 255, 255, 0.62);
  --customer-edge: rgba(82, 83, 173, 0.18);
  --customer-accent: #5448f5;
  --customer-accent-strong: #3326c9;
  --customer-focus: #0088ff;
  --customer-highlight: rgba(255, 255, 255, 0.76);
  --customer-shadow: 0 22px 70px rgba(44, 39, 116, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 1px 0 0 rgba(255, 255, 255, 0.38);
  font-family: "Avenir Next", Avenir, Montserrat, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--customer-ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(80, 210, 255, 0.42), transparent 31rem),
    radial-gradient(circle at 92% 18%, rgba(127, 74, 255, 0.32), transparent 36rem),
    linear-gradient(145deg, #f8fbff 0%, var(--customer-ground) 54%, #e9e6ff 100%);
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--customer-focus); outline-offset: 4px; }

.customer-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; padding-block: 24px 64px; }

.customer-nav,
.entry-card,
.assurance-card {
  border: 1px solid var(--customer-edge);
  background: linear-gradient(145deg, var(--customer-highlight), transparent 32%), var(--customer-surface);
  box-shadow: var(--customer-shadow);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.customer-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 12px 18px;
  border-radius: 22px;
  overflow: hidden;
}

.customer-brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.05rem; font-weight: 900; text-decoration: none; letter-spacing: -0.02em; }
.customer-brand__logo { display: block; width: 122px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(50, 221, 255, 0.22)); }
.customer-brand span { margin-inline-start: 8px; color: var(--customer-muted); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.02em; }
.account-link { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-weight: 800; }
.privacy-chip { padding: 8px 12px; border: 1px solid var(--customer-edge); border-radius: 999px; background: var(--customer-surface-soft); color: var(--customer-muted); font-size: 0.78rem; font-weight: 800; }

.entry-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); gap: 24px; margin-block-start: 32px; }
.entry-card, .assurance-card { border-radius: 28px; padding: clamp(24px, 4vw, 42px); }
.entry-card--primary { position: relative; overflow: hidden; }
.entry-card--primary::after { position: absolute; inset: auto -70px -90px auto; z-index: 0; width: 230px; height: 230px; border-radius: 50%; content: ""; background: radial-gradient(circle at 35% 30%, rgba(111, 224, 255, 0.9), rgba(88, 70, 240, 0.2) 55%, transparent 70%); filter: blur(4px); pointer-events: none; }
.entry-card--primary > * { position: relative; z-index: 1; }
h1, h2 { margin-block: 0; letter-spacing: -0.035em; text-wrap: balance; }
h1 { max-width: 17ch; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 0.98; }
h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.08; }
.entry-lede { max-width: 62ch; margin-block: 18px 26px; color: var(--customer-muted); font-size: 1.04rem; line-height: 1.65; }
.mobile-gate-link { display: none; }

.facts { display: grid; gap: 0; margin: 0; border-block: 1px solid var(--customer-edge); }
.facts div { display: grid; grid-template-columns: minmax(8.5rem, 0.42fr) 1fr; gap: 16px; padding-block: 14px; border-block-end: 1px solid var(--customer-edge); }
.facts div:last-child { border-block-end: 0; }
.facts dt { color: var(--customer-muted); font-size: 0.82rem; font-weight: 800; }
.facts dd { margin: 0; font-weight: 780; overflow-wrap: anywhere; }
.required-inputs { margin-block-start: 22px; }
.required-inputs h2 { font-size: 1.05rem; letter-spacing: -0.015em; }
.required-inputs ul { display: grid; gap: 8px; margin: 12px 0 0; padding-inline-start: 20px; color: var(--customer-muted); line-height: 1.5; }
.eligibility-note { position: relative; z-index: 1; margin: 22px 0 0; padding: 14px 16px; border-radius: 16px; background: rgba(84, 72, 245, 0.08); line-height: 1.55; }

.checkout-form { margin-block-start: 24px; }
.checkout-form fieldset { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--customer-edge); border-radius: 18px; background: var(--customer-surface-soft); }
.checkout-form legend { padding-inline: 6px; font-weight: 850; }
.checkout-field { display: grid; gap: 8px; color: var(--customer-muted); font-size: 0.82rem; font-weight: 800; }
.checkout-field :is(input, textarea, select) { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--customer-edge); border-radius: 13px; background: linear-gradient(145deg, var(--customer-highlight), transparent 48%), var(--customer-surface); box-shadow: inset 0 1px 3px rgba(42, 39, 102, 0.08), 0 8px 20px rgba(54, 50, 135, 0.07); color: var(--customer-ink); font: inherit; }
.checkout-field textarea { resize: vertical; }
.checkout-form > :is(.checkout-field, .checkout-option, .button) { margin-block-end: 16px; }
.checkout-field select option { color: var(--customer-ink); background: var(--customer-surface); }
.checkout-option { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--customer-edge); border-radius: 14px; }
.checkout-option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--customer-accent); }
.checkout-option span { display: grid; gap: 5px; }
.checkout-option small { color: var(--customer-muted); line-height: 1.45; }
.checkout-button { width: 100%; margin: 0; border: 0; font: inherit; }
.checkout-form fieldset:disabled { opacity: 0.72; }
.checkout-form fieldset:disabled .checkout-button { cursor: not-allowed; filter: grayscale(0.45); box-shadow: none; }
.checkout-form-status { margin: 10px 2px 0; color: var(--customer-muted); font-size: 0.82rem; line-height: 1.45; }

.quote-entry-grid { grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr); }
.quote-form { display: grid; gap: 16px; margin-block-start: 24px; }
.quote-form .button { width: fit-content; margin: 0; border: 0; cursor: pointer; font: inherit; }
.quote-form--decision .button { width: 100%; }
.capability-input { letter-spacing: 0.04em; }
.quote-notice { max-width: 68ch; margin: 0; padding: 14px 16px; border: 1px solid var(--customer-edge); border-radius: 14px; background: rgba(84, 72, 245, 0.08); color: var(--customer-muted); line-height: 1.55; }
.quote-notice--error { border-color: rgba(176, 44, 75, 0.32); background: rgba(176, 44, 75, 0.09); color: #7e1f3c; }
.quote-policy { margin-block: 18px 0; padding-block-start: 16px; border-block-start: 1px solid var(--customer-edge); font-size: 0.9rem; }
.quote-expiry { margin-block: 10px 0; color: var(--customer-muted); font-size: 0.78rem; font-weight: 750; line-height: 1.45; }
.message-card--success { overflow: hidden; background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(231, 248, 255, 0.78)); }

.customer-shell--message { min-height: 100dvh; display: grid; align-content: start; }
.message-card { width: min(720px, 100%); margin: 32px auto 0; }
.message-card h1 { max-width: 15ch; }
.message-card > p:not(.message-kicker) { max-width: 60ch; color: var(--customer-muted); line-height: 1.65; }
.message-kicker { margin: 0 0 10px; color: var(--customer-accent-strong); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

.status-card { align-self: start; background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 241, 255, 0.78) 62%, rgba(221, 235, 255, 0.74)); }
.status-orb { display: block; width: 56px; height: 56px; margin-block-end: 22px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 18px; background: radial-gradient(circle at 30% 24%, #dffbff 0 13%, #6ee3ff 24%, #6955ff 62%, #3829b9 100%); box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.8), 0 14px 32px rgba(73, 61, 210, 0.3); }
.status-card p { color: var(--customer-muted); line-height: 1.6; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; margin-block-start: 12px; padding: 11px 18px; border-radius: 14px; background: linear-gradient(135deg, #6559ff, #4938dd 45%, #2c217f); color: #fff; font-weight: 850; text-decoration: none; box-shadow: 0 12px 24px rgba(68, 53, 211, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 1px 0 0 rgba(255, 255, 255, 0.2); transition: transform 160ms ease-out, filter 160ms ease-out, box-shadow 160ms ease-out; }
.button--secondary { border: 1px solid var(--customer-edge); background: var(--customer-surface-soft); color: var(--customer-ink); box-shadow: none; }
.button:active { transform: translateY(1px); filter: brightness(0.94); box-shadow: 0 7px 15px rgba(68, 53, 211, 0.2); }

@media (hover: hover) {
  .button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 28px rgba(68, 53, 211, 0.32); }
  .button--secondary:hover { filter: brightness(1.04); box-shadow: 0 10px 24px rgba(42, 39, 102, 0.12); }
  .button:active { transform: translateY(1px); filter: brightness(0.94); box-shadow: 0 7px 15px rgba(68, 53, 211, 0.2); }
}

.assurance-card { margin-block-start: 24px; background: var(--customer-surface-soft); }
.assurance-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.assurance-card li { position: relative; padding-inline-start: 24px; color: var(--customer-muted); line-height: 1.55; }
.assurance-card li::before { position: absolute; inset: 0.38em auto auto 0; width: 10px; height: 10px; border-radius: 50%; content: ""; background: linear-gradient(135deg, #62dcff, #6650f5); box-shadow: 0 0 0 4px rgba(86, 89, 240, 0.1); }

@media (max-width: 760px) {
  .customer-shell { width: min(100% - 24px, 1160px); padding-block: 12px 40px; }
  .customer-nav { align-items: center; flex-wrap: wrap; gap: 8px 12px; border-radius: 18px; overflow: visible; }
  .customer-brand { min-width: 0; }
  .customer-brand__logo { width: 112px; }
  .customer-brand span { display: none; }
  .account-link { margin-inline-start: auto; }
  .privacy-chip { display: flex; align-items: center; justify-content: center; flex-basis: 100%; min-height: 44px; max-width: none; text-align: center; }
  .entry-grid { grid-template-columns: 1fr; gap: 16px; margin-block-start: 18px; }
  .entry-card, .assurance-card { padding: 22px; border-radius: 22px; }
  h1 { font-size: clamp(2rem, 11vw, 3.2rem); }
  .mobile-gate-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; margin: -8px 0 22px; padding: 10px 13px; border: 1px solid var(--customer-edge); border-radius: 14px; background: var(--customer-surface-soft); color: var(--customer-ink); font-size: 0.86rem; font-weight: 800; line-height: 1.25; text-decoration: none; }
  .mobile-gate-link span { flex: none; color: var(--customer-accent-strong); }
  .facts div { grid-template-columns: 1fr; gap: 5px; }
  .assurance-card { margin-block-start: 16px; }
  .assurance-card ul { grid-template-columns: 1fr; }
  .button-row { flex-direction: column; }
  .button { width: 100%; }
  .quote-form .button { width: 100%; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --customer-ground: #070a1a;
    --customer-ink: #f5f7ff;
    --customer-muted: #b8c0df;
    --customer-surface: rgba(18, 23, 52, 0.88);
    --customer-surface-soft: rgba(22, 28, 64, 0.66);
    --customer-edge: rgba(174, 184, 255, 0.2);
    --customer-accent: #4030c7;
    --customer-accent-strong: #b9b3ff;
    --customer-focus: #60d5ff;
    --customer-highlight: rgba(255, 255, 255, 0.11);
    --customer-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 1px 0 0 rgba(255, 255, 255, 0.08);
  }
  :root:not([data-theme="light"]) body { background: radial-gradient(circle at 10% 0%, rgba(37, 157, 211, 0.25), transparent 30rem), radial-gradient(circle at 92% 12%, rgba(103, 55, 227, 0.28), transparent 36rem), linear-gradient(145deg, #090d23, #0c102b 55%, #16103b); }
  :root:not([data-theme="light"]) .status-card { background: linear-gradient(145deg, rgba(35, 45, 91, 0.95), rgba(18, 21, 52, 0.84) 58%, rgba(40, 20, 91, 0.76)); }
  :root:not([data-theme="light"]) .mobile-gate-link span { color: #9be8ff; }
  :root:not([data-theme="light"]) .button--secondary { color: var(--customer-ink); }
  :root:not([data-theme="light"]) .quote-notice--error { border-color: rgba(255, 141, 169, 0.38); background: rgba(255, 94, 133, 0.12); color: #ffc2d1; }
  :root:not([data-theme="light"]) .message-card--success { background: linear-gradient(145deg, rgba(20, 31, 65, 0.95), rgba(15, 39, 64, 0.84)); }
}

  :root[data-theme="dark"] {
    --customer-ground: #070a1a;
    --customer-ink: #f5f7ff;
    --customer-muted: #b8c0df;
    --customer-surface: rgba(18, 23, 52, 0.88);
    --customer-surface-soft: rgba(22, 28, 64, 0.66);
    --customer-edge: rgba(174, 184, 255, 0.2);
    --customer-accent: #4030c7;
    --customer-accent-strong: #b9b3ff;
    --customer-focus: #60d5ff;
    --customer-highlight: rgba(255, 255, 255, 0.11);
    --customer-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 1px 0 0 rgba(255, 255, 255, 0.08);
  }
  :root[data-theme="dark"] body { background: radial-gradient(circle at 10% 0%, rgba(37, 157, 211, 0.25), transparent 30rem), radial-gradient(circle at 92% 12%, rgba(103, 55, 227, 0.28), transparent 36rem), linear-gradient(145deg, #090d23, #0c102b 55%, #16103b); }
  :root[data-theme="dark"] .status-card { background: linear-gradient(145deg, rgba(35, 45, 91, 0.95), rgba(18, 21, 52, 0.84) 58%, rgba(40, 20, 91, 0.76)); }
  :root[data-theme="dark"] .mobile-gate-link span { color: #9be8ff; }
  :root[data-theme="dark"] .button--secondary { color: var(--customer-ink); }
  :root[data-theme="dark"] .quote-notice--error { border-color: rgba(255, 141, 169, 0.38); background: rgba(255, 94, 133, 0.12); color: #ffc2d1; }
  :root[data-theme="dark"] .message-card--success { background: linear-gradient(145deg, rgba(20, 31, 65, 0.95), rgba(15, 39, 64, 0.84)); }

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

.theme-toggle { position: relative; inline-size: 44px; min-block-size: 44px; padding: 8px; border: 1px solid var(--customer-edge); border-radius: 12px; background: var(--customer-surface-soft); color: var(--customer-ink); display: inline-grid; place-items: center; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle__icon { inline-size: 20px; block-size: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__moon { display: block; }
.theme-toggle__label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:root[data-theme="dark"] { color-scheme: dark; }
.message-card h1 { max-width: 24ch; font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.12; }
.message-kicker { color: var(--customer-ink); }

.customer-shell--purchase h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.12; }
.checkout-price { margin: 16px 0 0; font-size: 1.3rem; font-weight: 800; }
.checkout-price span { margin-inline-start: 8px; color: var(--customer-muted); font-size: .85rem; font-weight: 500; }
.customer-shell--purchase .entry-lede { margin-block: 12px 20px; }
.customer-shell--purchase .status-card .facts { margin-block-start: 24px; }
.customer-shell--purchase .status-card .facts div { grid-template-columns: 1fr; gap: 8px; }
[data-checkout-status]:empty { display: none; }
@media (max-width: 760px) {
  .customer-nav .privacy-chip { flex-basis: auto; flex: 1; padding: 6px; font-size: .7rem; }
  .customer-nav .theme-toggle { margin-inline-start: auto; }
  .customer-shell--purchase .mobile-gate-link { display: none; }
  .customer-shell--purchase .checkout-form { margin-block-start: 0; }
}
