/* OncoloHealth partner effects: X-ray lens services, engagement procedure, quote request page.
   Blue-led (business and partnerships) on the navy commercial page. Paper blocks use the site's
   3px radius and offset "paper" shadow. Everything that moves per frame moves by transform. */

.fx-services h2 em,
.fx-procedure h2 em { color: var(--fx-peach-light); }

/* ===================== Services: X-ray lens cards ===================== */
.fxs-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 24px;
}
.fxs-card { grid-column: span 2; }
.fxs-card:nth-child(4), .fxs-card:nth-child(5) { grid-column: span 3; }

.fxs-card {
  --bloom-x: 86%; --bloom-y: -48%;
  position: relative; display: flex; flex-direction: column;
  min-height: 440px; border-radius: 3px;
  background: var(--fx-paper); color: var(--fx-ink);
  box-shadow: 12px 12px 0 #2b3c52, 0 26px 60px -28px rgba(6, 12, 22, .7);
}
.fxs-card.fx-bloom::before { background: radial-gradient(closest-side, rgba(241, 213, 197, .5), rgba(241, 213, 197, .12) 55%, transparent 72%); }
.fxs-card.is-lens { cursor: none; }
.fxs-card.is-lens .fxs-foot { cursor: auto; }

.fxs-base { display: flex; flex-direction: column; padding: 30px 30px 98px; flex: 1; }
.fxs-for { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: #66778c; }
.fxs-title { font: 400 30px/1.04 'DM Serif Display', Georgia, serif; letter-spacing: -.02em; margin: 16px 0 14px; color: var(--fx-ink); }
.fxs-title em { color: var(--fx-peach-deep); }
.fxs-desc { font-size: 14px; line-height: 1.62; color: #4d5c6e; max-width: 44ch; margin-bottom: 22px; }
.fxs-list { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--fx-line); }
.fxs-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--fx-line); font-size: 13px; line-height: 1.45; color: var(--fx-ink); }
.fxs-list li::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--fx-peach-deep); transform: translateY(-2px); }

/* The film window: a circle positioned and scaled by transform only (set per frame from JS).
   Its child, the film, carries the counter-transform so the picture stays put under the lens. */
.fxs-xray {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: calc(var(--R, 110px) * 2); height: calc(var(--R, 110px) * 2);
  border-radius: 50%; overflow: hidden; pointer-events: none;
  transform: translate3d(-9999px, 0, 0) scale(0);
  transform-origin: 50% 50%;
  will-change: transform;
}
.fxs-film {
  position: absolute; left: 0; top: 0;
  width: var(--cw, 100%); height: var(--ch, 100%);
  transform-origin: 0 0; will-change: transform;
  background: var(--fx-deep);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px 26px 112px;
}
.fxs-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fxs-xr-head, .fxs-xr-foot {
  position: relative; z-index: 1; display: flex; gap: 10px;
  font-family: var(--fx-mono); font-size: 10px; letter-spacing: .08em; color: rgba(246, 235, 228, .82);
}
.fxs-xr-head { align-items: center; }
.fxs-xr-head > span:first-child { flex: 1; }
.fxs-proj { color: var(--fx-peach-light); }
.fxs-xr-foot { flex-direction: column; gap: 5px; font-size: 10px; }
.fxs-marker {
  display: inline-grid; place-items: center; width: 22px; height: 22px;
  border: 1px solid rgba(234, 195, 182, .75); border-radius: 2px; color: var(--fx-peach-light); font-weight: 500;
}

/* Lens bezel: fixed size, moved and scaled by transform. */
.fxs-lens {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  width: calc(var(--R, 110px) * 2); height: calc(var(--R, 110px) * 2);
  border-radius: 50%; border: 1px solid rgba(234, 195, 182, .8);
  box-shadow: 0 0 0 5px rgba(251, 245, 241, .55), 0 0 0 6px rgba(30, 48, 71, .18);
  transform: translate3d(-9999px, 0, 0) scale(0); transform-origin: 50% 50%;
  opacity: 0; transition: opacity .2s var(--fx-ease);
  will-change: transform;
}
.fxs-lens::before, .fxs-lens::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: rgba(234, 195, 182, .9);
}
.fxs-lens::before { width: 15px; height: 1px; margin: 0 0 0 -7.5px; }
.fxs-lens::after { width: 1px; height: 15px; margin: -7.5px 0 0 0; }
.fxs-card.is-lens .fxs-lens { opacity: 1; }
.fxs-card.is-full .fxs-lens { opacity: 0; }

.fxs-foot {
  position: absolute; z-index: 4; left: 30px; right: 30px; bottom: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.fxs-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid #cdbfb8; border-radius: 3px; background: var(--fx-paper); color: var(--fx-ink);
  font: 700 12px var(--sans, 'DM Sans', sans-serif); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.fxs-toggle:hover { border-color: var(--fx-navy); }
.fxs-toggle-ic { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1px solid currentColor; }
.fxs-toggle-ic::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: currentColor; transform: scale(.35); transition: transform .3s var(--fx-ease); }
.fxs-request {
  display: inline-flex; align-items: center; gap: 16px; min-height: 44px;
  font-size: 12px; font-weight: 700; color: var(--fx-navy);
  background: linear-gradient(var(--fx-peach-deep), var(--fx-peach-deep)) left calc(100% - 10px) / 100% 1px no-repeat;
}
.fxs-request span { color: var(--fx-peach-deep); transition: transform .25s var(--fx-ease); }
.fxs-request:hover span { transform: translate(2px, -2px); }
.fxs-card :focus-visible { outline: 2px solid var(--fx-navy); outline-offset: 3px; }
.fxs-card.is-full .fxs-toggle { background: transparent; color: #f6ebe4; border-color: rgba(246, 235, 228, .45); }
.fxs-card.is-full .fxs-toggle-ic::after { transform: scale(1); }
.fxs-card.is-full .fxs-request { color: #f6ebe4; background-image: linear-gradient(var(--fx-peach-light), var(--fx-peach-light)); }
.fxs-card.is-full .fxs-request span { color: var(--fx-peach-light); }
.fxs-card.is-full :focus-visible { outline-color: var(--fx-peach-light); }

/* ===================== Procedure ===================== */
.fx-procedure { position: relative; scroll-margin-top: 84px; }
.fxp-steps {
  --node: 22px;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start;
}
.fxp-step { position: relative; padding-right: 28px; }
.fxp-node { position: relative; z-index: 1; display: block; width: var(--node); height: var(--node); }
.fxp-node::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid #66778c; background: #1b2a40;
}
.fxp-ring {
  position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(234, 195, 182, .45);
  opacity: 0; transform: scale(.6); transition: opacity .35s var(--fx-ease), transform .45s var(--fx-ease);
}
.fxp-dot {
  position: absolute; inset: 6px; border-radius: 50%; background: var(--fx-peach-light);
  transform: scale(0); transition: transform .4s var(--fx-ease);
}
.fxp-step.is-active .fxp-node::before { border-color: var(--fx-peach-light); }
.fxp-step.is-active .fxp-dot { transform: scale(1); }
.fxp-step.is-current .fxp-ring { opacity: 1; transform: scale(1); }
.fxp-seg { position: absolute; top: calc(var(--node) / 2); left: calc(var(--node) + 10px); right: 10px; height: 1px; background: #3d4d63; overflow: hidden; }
.fxp-fill {
  position: absolute; inset: 0; background: var(--fx-peach-light);
  transform-origin: 0 50%; transform: scaleX(0); will-change: transform;
}
.fxp-head {
  display: grid; gap: 10px; justify-items: start; width: 100%; margin-top: 26px; padding: 0;
  background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font: inherit;
}
.fxp-idx { font-family: var(--fx-mono); font-size: 10.5px; letter-spacing: .1em; color: #7f8fa3; transition: color .3s; }
.fxp-step.is-active .fxp-idx { color: var(--fx-peach-light); }
.fxp-title { font: 400 26px/1.06 'DM Serif Display', Georgia, serif; letter-spacing: -.015em; color: #8e9db0; transition: color .3s; }
.fxp-step.is-active .fxp-title { color: #f8f0eb; }
.fxp-sum { font-size: 13.5px; line-height: 1.6; color: #a9b7c7; max-width: 30ch; }
.fxp-more {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 12px; font-weight: 700; color: #f1cfbb;
}
.fxp-more span { padding-bottom: 3px; background: linear-gradient(rgba(241, 207, 187, .5), rgba(241, 207, 187, .5)) left bottom / 100% 1px no-repeat; }
.fxp-more i { position: relative; width: 11px; height: 11px; }
.fxp-more i::before, .fxp-more i::after { content: ''; position: absolute; left: 0; top: 5px; width: 11px; height: 1px; background: currentColor; transition: transform .3s var(--fx-ease); }
.fxp-more i::after { transform: rotate(90deg); }
.fxp-head[aria-expanded="true"] .fxp-more i::after { transform: rotate(0deg); }
.fxp-head:hover .fxp-title { color: #fff; }
.fxp-detail {
  margin: 10px 0 0; padding: 18px 18px 16px; border-radius: 3px;
  background: #22344b; border: 1px solid #3a4c63;
  box-shadow: 8px 8px 0 #16233a;
  animation: fxp-open .4s var(--fx-ease);
}
.fxp-k { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e2bdb0; margin-bottom: 6px; }
.fxp-detail ul { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid #3a4c63; }
.fxp-detail li { font-size: 12.5px; line-height: 1.45; color: #d6dee7; padding: 7px 0; border-bottom: 1px solid #3a4c63; }
.fxp-note { font-size: 12.5px; line-height: 1.55; color: #b9c6d4; margin-bottom: 16px; padding-left: 10px; border-left: 1px solid var(--fx-peach-deep); }
.fxp-out { padding-top: 12px; border-top: 1px solid #3a4c63; }
.fxp-out p { font: 400 17px/1.25 'DM Serif Display', Georgia, serif; color: #f6eee8; }
@keyframes fxp-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ===================== Quote page ===================== */
body[data-page="quote"] {
  color: #f8f0eb; background-color: #18253a;
  background-image: radial-gradient(ellipse at 66% 9%, #fffaf032, transparent 34%), radial-gradient(ellipse at 78% 76%, #d6e4ec1b, transparent 40%), radial-gradient(ellipse at 12% 72%, #49607866, transparent 50%), repeating-linear-gradient(115deg, #ffffff05 0, #ffffff05 1px, transparent 1px, transparent 5px);
}
body[data-page="quote"] .site-header { background: #1a293eea; color: #f6ede8; border-color: #39475c; }
body[data-page="quote"] .nav-cta { background: #f1cfbb; color: #1a293e; }
body[data-page="quote"] .nav-cta span { color: #1a293e; }
body[data-page="quote"] .site-header nav a:not(.nav-cta):hover { color: #efc8bb; }
body[data-page="quote"] a:focus-visible, body[data-page="quote"] button:focus-visible { outline-color: #f1c9b9; }
body[data-page="quote"] .eyebrow { color: #e2bdb0; }
.quote-page .page-hero { padding-top: 115px; padding-bottom: 105px; }
.quote-page .page-hero h1 em { color: #f2cfbb; }
.quote-page .page-hero-bottom { max-width: 660px; align-items: start; flex-direction: column; }
.quote-page .page-hero-bottom p { max-width: 570px; color: #bdc9d6; }
.quote-page .page-hero:before { background: radial-gradient(ellipse at 72% 25%, #f5f7f128, transparent 35%), radial-gradient(ellipse at 100% 85%, #dbe8ee1b, transparent 40%); }

.fxq-section { padding-top: 70px; }
.fxq-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(36px, 5.5vw, 88px); align-items: start; }

.fxq-card {
  --bloom-x: 90%; --bloom-y: -44%;
  position: relative; border-radius: 3px; background: var(--fx-paper); color: var(--fx-ink);
  box-shadow: 16px 16px 0 #2b3c52, 0 30px 70px -30px rgba(6, 12, 22, .75);
  padding: 34px 38px 30px;
}
.fxq-card.fx-bloom::before { background: radial-gradient(closest-side, rgba(241, 213, 197, .45), rgba(241, 213, 197, .1) 55%, transparent 72%); }
.fxq-card [hidden] { display: none !important; }
.fxq-card :focus-visible { outline: 2px solid var(--fx-navy); outline-offset: 3px; }
.fxq-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #66778c; }
.fxq-count { font-family: var(--fx-mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; color: var(--fx-peach-deep); }

/* Segmented progress: one segment per step; done = navy, current = peach, ahead = hairline. */
.fxq-progress { margin: 16px 0 30px; }
.fxq-pnav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.fxq-pnav button {
  display: grid; gap: 9px; width: 100%; min-height: 44px; padding: 0 0 4px;
  background: none; border: 0; color: #8a96a5; cursor: pointer; text-align: left; font: inherit; font-size: 12px;
}
.fxq-pnav button:disabled { cursor: default; }
.fxq-seg { position: relative; display: block; height: 3px; background: #e6dad4; overflow: hidden; }
.fxq-seg i { position: absolute; inset: 0; background: var(--fx-navy); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--fx-ease); }
.fxq-pnav button.is-done .fxq-seg i { transform: scaleX(1); }
.fxq-pnav button.is-current .fxq-seg i { transform: scaleX(1); background: var(--fx-peach-deep); }
.fxq-plabel { display: flex; align-items: center; gap: 6px; min-width: 0; }
.fxq-pn { font-family: var(--fx-mono); font-size: 10.5px; }
.fxq-pl { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxq-tick { display: none; flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fxq-pnav button.is-done { color: var(--fx-navy); }
.fxq-pnav button.is-done .fxq-pn { display: none; }
.fxq-pnav button.is-done .fxq-tick { display: block; }
.fxq-pnav button.is-current { color: var(--fx-ink); }
.fxq-pnav button.is-current .fxq-pn { color: var(--fx-peach-deep); }
.fxq-pnav button:not(:disabled):hover .fxq-pl { text-decoration: underline; text-underline-offset: 3px; }

.fxq-alert { margin: 0 0 20px; padding: 12px 14px 12px 16px; border-left: 3px solid #b5523b; background: #f9e9e2; color: #6b2a1b; font-size: 14px; border-radius: 0 3px 3px 0; }
.fxq-body { position: relative; }
.fxq-scanline {
  position: absolute; left: -38px; right: -38px; top: 0; height: 1px; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(188, 138, 114, .95) 25%, rgba(188, 138, 114, .95) 75%, transparent);
  will-change: transform, opacity;
}
.fxq-body.is-scanning .fxq-scanline { animation: fxq-scan .7s var(--fx-ease); }
@keyframes fxq-scan { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: .9; } 100% { opacity: 0; transform: translateY(var(--scan-h, 300px)); } }
.fxq-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.fxq-step.is-entering { animation: fxq-in .45s var(--fx-ease) both; }
@keyframes fxq-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 16px)); } to { opacity: 1; transform: none; } }
.fxq-legend { display: flex; flex-direction: column; gap: 8px; padding: 0; margin-bottom: 26px; }
.fxq-kicker { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fx-peach-deep); }
.fxq-step-title { font: 400 36px/1.04 'DM Serif Display', Georgia, serif; letter-spacing: -.02em; color: var(--fx-ink); }
.fxq-step-title:focus { outline: none; }
.fxq-step-title:focus-visible { outline: 2px solid var(--fx-navy); outline-offset: 4px; }
.fxq-fields { display: grid; gap: 26px; }
.fxq-field { display: grid; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.fxq-label { padding: 0; font-size: 13px; font-weight: 700; color: var(--fx-ink); }
.fxq-opt { font-weight: 500; color: #7a8696; margin-left: 6px; font-size: 11px; letter-spacing: .02em; }
.fxq-hint { font-size: 13px; line-height: 1.5; color: #5d6b7c; margin-top: -2px; }
.fxq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Field states: rest, hover, focus, filled, error. */
.fxq-input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #c3b8b3; border-radius: 3px;
  background: #fff; color: var(--fx-ink); font: inherit; font-size: 15px;
  transition: border-color .15s, background-color .15s;
}
.fxq-input:hover { border-color: #7d8898; }
.fxq-input:not(:placeholder-shown) { border-color: #8e99a8; background: #fffdfb; }
.fxq-input:focus { border-color: var(--fx-navy); background: #fff; box-shadow: 0 0 0 3px rgba(30, 48, 71, .13); outline: none; }
.fxq-input:focus-visible { outline: none; }
.fxq-select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e3047' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center no-repeat; cursor: pointer; }
.fxq-select:valid { border-color: #8e99a8; }
.fxq-textarea { resize: vertical; min-height: 128px; line-height: 1.55; }
.fxq-chars { justify-self: end; font-family: var(--fx-mono); font-size: 11px; color: #7a8696; }
.fxq-field.is-invalid .fxq-input { border-color: #b5523b; background: #fff8f5; }
.fxq-field.is-invalid .fxq-input:focus { box-shadow: 0 0 0 3px rgba(181, 82, 59, .16); }
.fxq-field.is-invalid .fxq-box { border-color: #c98b7a; }
.fxq-error { display: flex; gap: 8px; align-items: flex-start; color: #9c3b25; font-size: 13px; font-weight: 600; line-height: 1.4; }
.fxq-error::before {
  content: '!'; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px;
  border-radius: 50%; background: #b5523b; color: #fff; font-size: 11px; font-weight: 700;
}

/* Choice cards */
.fxq-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.fxq-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fxq-choices--tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fxq-choice { position: relative; display: block; cursor: pointer; }
.fxq-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fxq-box {
  position: relative; display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; row-gap: 3px; align-items: center;
  min-height: 56px; height: 100%; padding: 12px 14px; border: 1px solid #d6cbc6; border-radius: 3px; background: #fff;
  transition: border-color .15s, background-color .15s;
}
.fxq-mark { grid-row: span 2; align-self: start; margin-top: 1px; width: 18px; height: 18px; border: 1.5px solid #7d8898; border-radius: 50%; position: relative; background: #fff; transition: border-color .15s, background-color .15s; }
.fxq-choice--check .fxq-mark { border-radius: 2px; }
.fxq-mark::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--fx-navy); transform: scale(0); transition: transform .2s var(--fx-ease); }
.fxq-choice--check .fxq-mark::after {
  inset: auto; left: 5px; top: 1.5px; width: 4px; height: 9px; border-radius: 0; background: none;
  border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) scale(0);
}
.fxq-choice-title { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--fx-ink); }
.fxq-choice-desc { grid-column: 2; font-size: 12px; line-height: 1.4; color: #5d6b7c; }
.fxq-choice:hover .fxq-box { border-color: #7d8898; background: #fffdfb; }
.fxq-choice input:checked + .fxq-box { border-color: var(--fx-navy); background: #f5eee9; box-shadow: inset 0 0 0 1px var(--fx-navy); }
.fxq-choice input:checked + .fxq-box .fxq-mark { border-color: var(--fx-navy); }
.fxq-choice input:checked + .fxq-box .fxq-mark::after { transform: scale(1); }
.fxq-choice--check input:checked + .fxq-box .fxq-mark { background: var(--fx-navy); }
.fxq-choice--check input:checked + .fxq-box .fxq-mark::after { transform: rotate(45deg) scale(1); }
.fxq-choice input:focus-visible + .fxq-box { outline: 2px solid var(--fx-navy); outline-offset: 2px; }
.fxq-choices--tags .fxq-box { min-height: 44px; padding: 8px 14px 8px 11px; grid-template-columns: 16px auto; column-gap: 9px; border-radius: 3px; }
.fxq-choices--tags .fxq-mark { width: 16px; height: 16px; grid-row: auto; align-self: center; margin: 0; }
.fxq-choices--tags .fxq-choice--check .fxq-mark::after { left: 4.5px; top: 1px; width: 3.5px; height: 8px; }
.fxq-choices--tags .fxq-choice-title { font-size: 13px; font-weight: 500; }
.fxq-choices--tags input:checked + .fxq-box .fxq-choice-title { font-weight: 600; }

.fxq-consent { position: relative; display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 0; font-size: 14px; line-height: 1.5; color: #3f4d5e; cursor: pointer; }
.fxq-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fxq-consent-box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid #7d8898; border-radius: 2px; position: relative; background: #fff; transition: background-color .15s, border-color .15s; }
.fxq-consent-box::after { content: ''; position: absolute; left: 5.5px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--fx-ease); }
.fxq-consent:hover .fxq-consent-box { border-color: var(--fx-navy); }
.fxq-consent input:checked + .fxq-consent-box { border-color: var(--fx-navy); background: var(--fx-navy); }
.fxq-consent input:checked + .fxq-consent-box::after { transform: rotate(45deg) scale(1); }
.fxq-consent input:focus-visible + .fxq-consent-box { outline: 2px solid var(--fx-navy); outline-offset: 2px; }
.fxq-consent a { color: var(--fx-navy); text-decoration: underline; text-underline-offset: 3px; }
.fxq-field.is-invalid .fxq-consent-box { border-color: #b5523b; }
.fxq-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fxq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Review: laid out as the brief it will become. */
.fxq-doc { background: #fffdfb; border: 1px solid #e6dad4; border-radius: 3px; box-shadow: 8px 8px 0 #eedfd6; }
.fxq-doc-head { display: grid; gap: 6px; padding: 22px 24px 18px; border-bottom: 1px solid var(--fx-ink); }
.fxq-doc-kicker { display: flex; justify-content: space-between; gap: 12px; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #66778c; }
.fxq-doc-kicker span:last-child { font-family: var(--fx-mono); font-weight: 500; letter-spacing: .06em; color: var(--fx-peach-deep); }
.fxq-doc-title { margin: 0; font: 400 26px/1.1 'DM Serif Display', Georgia, serif; letter-spacing: -.015em; color: var(--fx-ink); overflow-wrap: anywhere; }
.fxq-doc section { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 4px 18px; padding: 14px 24px; border-bottom: 1px solid #ece2dc; align-items: start; }
.fxq-doc section:last-child { border-bottom: 0; }
.fxq-doc h3 { margin: 0; padding-top: 3px; font: 400 17px/1.2 'DM Serif Display', Georgia, serif; color: var(--fx-ink); }
.fxq-doc h3 span { display: block; margin-bottom: 4px; font-family: var(--fx-mono); font-size: 10px; letter-spacing: .08em; color: var(--fx-peach-deep); }
.fxq-doc dl { display: grid; grid-template-columns: minmax(92px, 34%) minmax(0, 1fr); margin: 0; font-size: 13.5px; }
.fxq-doc dt, .fxq-doc dd { padding: 5px 0; border-bottom: 1px dotted #e3d7d1; }
.fxq-doc dt { color: #66778c; }
.fxq-doc dd { margin: 0; color: var(--fx-ink); overflow-wrap: anywhere; white-space: pre-line; }
.fxq-doc dl > :nth-last-child(-n+2) { border-bottom: 0; }
.fxq-doc dd.is-empty { color: #9aa4b0; }
.fxq-review-edit { min-height: 44px; min-width: 44px; margin-top: -10px; padding: 0 4px; background: none; border: 0; color: var(--fx-navy); font-family: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.fxq-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--fx-line); }
.fxq-foot-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.fxq-card .button { border: 0; cursor: pointer; min-height: 48px; gap: 28px; font-family: inherit; }
.fxq-card .button.primary { background: var(--fx-navy); color: #fff; }
.fxq-card .button.primary span { color: var(--fx-peach-light); }
.fxq-card .button[disabled] { opacity: .6; cursor: progress; }
.fxq-btn { min-height: 44px; padding: 0 16px; border-radius: 3px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .15s; }
.fxq-btn--ghost { background: transparent; border: 1px solid #cdbfb8; color: var(--fx-ink); }
.fxq-btn--ghost:hover { border-color: var(--fx-navy); }

.fxq-done { display: grid; gap: 14px; }
.fxq-done-title { font: 400 42px/1.04 'DM Serif Display', Georgia, serif; letter-spacing: -.02em; margin: 18px 0 2px; color: var(--fx-ink); }
.fxq-done-title em { color: var(--fx-peach-deep); }
.fxq-done-title:focus { outline: none; }
.fxq-done-lead { color: #4d5c6e; font-size: 15px; max-width: 56ch; }
.fxq-brief { font-family: var(--fx-mono); font-size: 12.5px; line-height: 1.65; background: #fffdfb; min-height: 270px; resize: vertical; white-space: pre-wrap; border-color: #d6cbc6; }
.fxq-done-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fxq-card .fxq-linkedin { background: #f1cfbb; color: #1a293e; }
.fxq-copy-status { min-height: 1.4em; font-size: 13px; color: #3c6a55; font-weight: 600; }
.fxq-done-more { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--fx-line); }
.fxq-done.is-entering { animation: fxq-rise .5s var(--fx-ease) both; }
@keyframes fxq-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.fxq-aside { position: relative; padding-top: 4px; }
.fxq-aside-title { font-size: clamp(2.3rem, 3.1vw, 3.1rem); margin: 22px 0 18px; }
.fxq-aside-title em { color: var(--fx-peach-light); }
.fxq-aside > p { color: #afbdcc; font-size: 14px; line-height: 1.65; max-width: 40ch; }
.fxq-next-list { list-style: none; margin: 28px 0 10px; padding: 0; border-top: 1px solid #74829455; }
.fxq-next-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid #74829455; }
.fxq-nn { font-family: var(--fx-mono); font-size: 11px; color: #e0b5a2; }
.fxq-next-list b { display: block; font: 400 19px/1.15 'DM Serif Display', Georgia, serif; color: #f6eee8; }
.fxq-next-list small { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.5; color: #aebfc9; }
.fxq-aside .underlink { color: #f1cec0; border-color: #bf9c90; min-height: 44px; display: inline-flex; align-items: center; padding-bottom: 0; }
.fxq-aside-alt { margin-top: 18px; color: #afbdcc; font-size: 14px; }
.fxq-aside-alt a { color: #f1cec0; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 0; }

/* ===================== Responsive ===================== */
@media (max-width: 1050px) {
  .fxs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fxs-card, .fxs-card:nth-child(4) { grid-column: span 1; }
  .fxs-card:nth-child(5) { grid-column: span 2; }
  .fxq-layout { grid-template-columns: 1fr; }
  .fxq-aside { max-width: 640px; }
}
@media (max-width: 900px) {
  body[data-page="quote"] .site-header nav { background: #121f33; }
  .fxp-steps { grid-template-columns: minmax(0, 1fr); }
  .fxp-step { display: grid; grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 18px; padding: 0 0 28px; }
  .fxp-step:last-child { padding-bottom: 0; }
  .fxp-seg { top: calc(var(--node) + 8px); bottom: 8px; left: calc(var(--node) / 2 - .5px); right: auto; width: 1px; height: auto; }
  .fxp-fill { transform-origin: 50% 0; transform: scaleY(0); }
  .fxp-head { margin-top: -1px; grid-column: 2; }
  .fxp-detail { grid-column: 2; }
  .fxp-sum { max-width: 52ch; }
}
@media (max-width: 700px) {
  .fxs-cards { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .fxs-card, .fxs-card:nth-child(4), .fxs-card:nth-child(5) { grid-column: auto; }
  .fxs-card { min-height: 460px; box-shadow: 8px 8px 0 #2b3c52, 0 20px 40px -24px rgba(6, 12, 22, .7); margin-right: 8px; }
  .fxs-base { padding: 26px 22px 104px; }
  .fxs-film { padding: 20px 20px 116px; }
  .fxs-foot { left: 22px; right: 22px; bottom: 22px; }
  .fxs-title { font-size: 28px; }
  .fxq-card { padding: 26px 20px 24px; box-shadow: 8px 8px 0 #2b3c52, 0 20px 40px -24px rgba(6, 12, 22, .7); margin-right: 8px; }
  .fxq-row, .fxq-choices--2 { grid-template-columns: minmax(0, 1fr); }
  .fxq-pnav { gap: 4px; }
  .fxq-pl { display: none; }
  .fxq-step-title { font-size: 30px; }
  .fxq-scanline { left: -20px; right: -20px; }
  .fxq-doc-head { padding: 18px 16px 14px; }
  .fxq-doc section { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; }
  .fxq-doc dl { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
  .fxq-doc dt { padding-bottom: 0; border-bottom: 0; font-size: 11.5px; }
  .fxq-doc section > button { grid-row: 1; grid-column: 2; }
  .fxq-foot .button { gap: 16px; }
  .quote-page .page-hero { padding-top: 70px; padding-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .fxs-lens, .fxp-ring, .fxp-dot, .fxq-seg i { transition: none; }
  .fxq-step.is-entering, .fxq-done.is-entering, .fxp-detail, .fxq-body.is-scanning .fxq-scanline { animation: none; }
}
