.preflight-page {
  --signal-red: #ff8ba5;
  --signal-amber: #ffd17b;
  --signal-blue: #bdb2ff;
}

.preflight-page .preflight-hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.72fr);
}

.preflight-page .preflight-hero h1 {
  font-size: clamp(3.1rem, 7.4vw, 6.9rem);
}

.hero-fineprint {
  margin: 14px 0 0;
  color: #cbbdce;
  font-size: 0.82rem;
}

.scope-note {
  max-width: 640px;
  margin: 13px 0 0;
  color: #ffe0ad;
  font-size: 0.88rem;
  font-weight: 720;
}

.offer-card {
  position: relative;
  align-self: center;
  padding: clamp(28px, 5vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 209, 123, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(69, 44, 77, 0.94), rgba(36, 27, 52, 0.95));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.offer-card::after {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.offer-card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.slot-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid rgba(255, 210, 143, 0.42);
  border-radius: 999px;
  color: #ffe7ba;
  background: rgba(255, 194, 115, 0.12);
  font-weight: 800;
}

.offer-kicker {
  margin: 34px 0 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.offer-price {
  position: relative;
  z-index: 1;
  margin: 2px 0 0;
  color: #fff7e6;
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
}

.offer-price span {
  margin-right: 8px;
  color: #e6d7e8;
  font-size: 0.25em;
  letter-spacing: 0;
}

.offer-timing {
  margin: 12px 0 0;
  color: #ffe1b7;
  font-weight: 740;
}

.offer-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.offer-list li {
  display: flex;
  gap: 10px;
  color: #f2e8f2;
}

.offer-list li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 900;
}

.offer-boundary {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #cabccc;
  font-size: 0.82rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 50px rgba(12, 6, 20, 0.18);
}

.proof-disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding: 11px 18px;
  color: #d9cbdc;
  background: rgba(31, 23, 44, 0.95);
  font-size: 0.8rem;
  text-align: center;
}

.proof-strip article,
.proof-strip > a {
  min-height: 118px;
  padding: 21px;
  background: rgba(38, 28, 52, 0.92);
}

.proof-strip article {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: #ffe3ae;
  font-size: 1.85rem;
  line-height: 1;
}

.proof-strip span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.proof-strip > a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #33223b;
  background: linear-gradient(135deg, #ffd393, #ff9bb4);
  font-size: 0.86rem;
  font-weight: 820;
  text-align: center;
  text-decoration: none;
}

.priority-board {
  display: grid;
  gap: 12px;
}

.priority-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(23px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(42, 31, 57, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 15px 38px rgba(14, 7, 24, 0.15);
}

.priority-code {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  color: #2d2037;
  font-size: 1.42rem;
  font-weight: 900;
}

.priority-p0 .priority-code { background: linear-gradient(145deg, #ff91a8, #ffbd9e); }
.priority-p1 .priority-code { background: linear-gradient(145deg, #ffd17b, #ffe8a8); }
.priority-p2 .priority-code { background: linear-gradient(145deg, #c8b6ff, #b6d4ff); }

.priority-label {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.priority-row h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  line-height: 1.22;
}

.priority-row div > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scope-card {
  min-height: 265px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 94% 4%, rgba(255, 204, 147, 0.12), transparent 27%),
    rgba(42, 31, 57, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.scope-card > span {
  color: #ffc6d3;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.scope-card h3 {
  margin: 26px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.12;
}

.scope-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.process-grid li {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 248, 244, 0.08);
}

.process-grid li > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #312239;
  background: linear-gradient(145deg, #ffd187, #ff9eb7);
  font-weight: 900;
}

.process-grid h3 {
  margin: 28px 0 0;
  font-size: 1.35rem;
}

.process-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.fit-card,
.apply-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: clamp(30px, 7vw, 78px);
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 211, 123, 0.13), transparent 26%),
    linear-gradient(145deg, rgba(68, 43, 72, 0.9), rgba(34, 26, 49, 0.93));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.fit-card h2,
.apply-card h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.fit-list {
  display: grid;
  gap: 13px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  display: flex;
  gap: 11px;
  color: var(--muted);
}

.fit-list li::before {
  content: "×";
  color: #ffacbf;
  font-weight: 900;
}

.fit-list-good li::before {
  content: "✓";
  color: var(--mint);
}

.not-fit-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(22, 16, 33, 0.28);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(42, 31, 57, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.faq-list summary {
  position: relative;
  padding: 21px 58px 21px 23px;
  cursor: pointer;
  font-weight: 780;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 23px;
  color: var(--gold);
  font-size: 1.45rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  margin: 0;
  padding: 0 23px 23px;
  color: var(--muted);
}

.section-apply {
  padding-top: 54px;
}

.apply-card {
  align-items: center;
  border-color: rgba(255, 190, 163, 0.3);
  background:
    radial-gradient(circle at 88% 9%, rgba(200, 182, 255, 0.17), transparent 30%),
    linear-gradient(145deg, rgba(92, 49, 76, 0.92), rgba(39, 28, 56, 0.94));
}

.apply-card > div > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.apply-card .button {
  margin-top: 26px;
}

.apply-checklist {
  margin: 0;
}

.apply-checklist > div {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.apply-checklist > div:last-child { border-bottom: 0; }

.apply-checklist dt {
  color: var(--gold);
  font-weight: 820;
}

.apply-checklist dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.apply-checklist a { color: #ffe1b4; }

@media (max-width: 980px) {
  .preflight-page .preflight-hero {
    grid-template-columns: 1fr;
  }

  .offer-card {
    width: min(620px, 100%);
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .fit-card,
  .apply-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .preflight-page .preflight-hero h1 {
    font-size: clamp(2.85rem, 15vw, 4.8rem);
  }

  .offer-card {
    padding: 25px;
  }

  .offer-price {
    font-size: clamp(3.5rem, 20vw, 5rem);
  }

  .proof-strip,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip article,
  .proof-strip > a {
    min-height: 98px;
  }

  .priority-row {
    grid-template-columns: 1fr;
  }

  .priority-code {
    width: 62px;
    height: 62px;
    border-radius: 19px;
  }

  .scope-card {
    min-height: 0;
  }

  .process-grid li,
  .not-fit-panel {
    padding: 24px;
  }

  .fit-card,
  .apply-card {
    padding: 26px;
  }

  .apply-card .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preflight-page *,
  .preflight-page *::before,
  .preflight-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
