/* ==========================================================================
   Blueprint HQ package page. Loaded after main.css, page-only additions.
   ========================================================================== */

/* Headlines wrap in even lines, no one-word orphans */
main .h1, main .h2, main .h3 { text-wrap: balance; }

/* ---------- Hero ---------------------------------------------------------- */
.hq-hero .backdrop img { object-position: 70% 50%; }
.hq-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 44px; color: var(--slate); font-size: 15px; font-weight: 500; }
.hq-facts li { display: flex; gap: 8px; align-items: baseline; }
.hq-facts b { color: var(--white); font-weight: 800; }
.hq-facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin-right: 20px; align-self: center; opacity: .7; }

/* ---------- Four parts ---------------------------------------------------- */
.hq-parts { margin-top: clamp(40px, 5vw, 72px); }
.hq-parts .part { align-items: start; padding: clamp(22px, 2.4vw, 34px); }
.hq-parts .part p { font-size: 16px; }
.hq-note { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid rgba(91, 212, 255, .16); font-size: 15px !important; color: var(--slate) !important; }

/* ---------- Timeline ------------------------------------------------------ */
.hq-timeline { margin-top: clamp(40px, 5vw, 72px); }
.hq-timeline .timeline__path { border: 1px solid rgba(91, 212, 255, .16); }
.hq-path__tag { position: absolute; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); padding: 5px 10px; border-radius: 999px; background: rgba(0, 15, 38, .7); border: 1px solid rgba(91, 212, 255, .35); transform: translate(-50%, 0); white-space: nowrap; }
.hq-path__tag--start { left: 6.9%; top: 69.5%; margin-top: -58px; }
.hq-path__tag--end { left: 94.4%; top: 44%; margin-top: -62px; color: var(--amber); border-color: rgba(255, 179, 71, .5); transform: translate(-80%, 0); }
.hq-path__sum { position: absolute; top: clamp(24px, 3.2vw, 48px); left: clamp(24px, 3.2vw, 48px); max-width: 440px; }
.hq-path__sum .label { color: var(--cyan); }
.hq-path__sum .stat__n { margin-top: 10px; }
.hq-path__sum .stat__n small:first-child { margin: 0 6px 0 0; }
.hq-path__sum p { margin-top: 10px; color: var(--body); font-size: 16px; }
.hq-steps { grid-template-columns: repeat(3, 1fr); }
.hq-steps .tstep { display: flex; flex-direction: column; }
.hq-steps .tstep__you { margin-top: auto; padding-top: 14px; color: var(--off-white); display: flex; gap: 8px; align-items: center; }
.hq-steps .tstep__you::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--cyan); flex: 0 0 14px; }
.hq-steps .glass--warm .tstep__you::before { border-color: var(--amber); }

/* ---------- Included ------------------------------------------------------ */
.hq-inc { margin-top: clamp(40px, 5vw, 64px); }
.hq-inc .h3 { margin-top: 8px; }
.hq-inc .check-list, .hq-inc .x-list { margin-top: 26px; }
.hq-inc__not .label { color: var(--slate); }
.hq-inc__foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(91, 212, 255, .12); }

/* ---------- Ground rules -------------------------------------------------- */
.hq-rules { margin-top: clamp(40px, 5vw, 64px); }
.hq-rules .card { padding: 30px 26px; }
.hq-rules .h4 { margin-top: 18px; }
.hq-rules p { font-size: 15.5px; }
.hq-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(91, 212, 255, .1); border: 1px solid rgba(91, 212, 255, .3); fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- After day 14, founding, something else ------------------------ */
.hq-after { align-items: start; }
.hq-after .h2 { margin-top: 18px; }
.hq-after .lede { margin-top: 24px; }
.hq-after .card .check-list { margin-top: 20px; }
.hq-addons { margin-top: 24px !important; padding-top: 18px; border-top: 1px solid rgba(91, 212, 255, .12); font-size: 15px; }
.hq-addons b { color: var(--white); }
.hq-founding { margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.5fr auto; gap: 32px; align-items: center; overflow: hidden; }
.hq-founding::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 420px; border-radius: 50%; background: rgba(248, 96, 0, .16); filter: blur(90px); pointer-events: none; z-index: -1; }
.hq-founding .h2 { font-size: clamp(30px, 3.4vw, 50px); margin-top: 18px; }
.hq-founding .lede { margin-top: 16px; max-width: 640px; }
.hq-else { margin-top: 24px; }

/* ---------- FAQ and close ------------------------------------------------- */
.hq-faq { margin-top: clamp(36px, 4vw, 56px); }

/* ---------- Tablet and phone ---------------------------------------------- */
@media (max-width: 1100px) {
  .hq-steps { grid-template-columns: repeat(2, 1fr); }
  .hq-path__sum { position: static; max-width: none; margin-top: 28px; }
}

@media (max-width: 860px) {
  .hq-hero { padding-bottom: 56px; }
  .hq-hero .backdrop img { object-position: 50% 100%; }
  .hq-hero .backdrop::after { background: linear-gradient(180deg, rgba(0, 15, 38, .9) 0%, rgba(0, 15, 38, .78) 50%, rgba(0, 15, 38, .45) 100%); }
  .hq-hero .h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .hq-hero .lede { font-size: 17px; }
  .hq-hero .row { flex-direction: column; align-items: stretch; }
  .hq-facts { flex-direction: column; gap: 8px; margin-top: 32px; font-size: 14px; }
  .hq-facts li + li::before { display: none; }

  .hq-parts .part { grid-template-columns: 72px 1fr; gap: 16px; padding: 18px; }
  .hq-parts .part img { width: 72px; height: 72px; border-radius: 12px; }
  .hq-parts .part .h3 { font-size: 20px; }
  .hq-parts .part p { font-size: 15px; }

  /* The phone path runs down behind the steps */
  .hq-timeline { position: relative; isolation: isolate; }
  .hq-timeline .timeline__path { position: absolute; inset: 0; z-index: -1; border: 0; border-radius: var(--radius-lg); opacity: .8; }
  .hq-timeline .timeline__path picture, .hq-timeline .timeline__path img { width: 100%; height: 100%; }
  .hq-timeline .timeline__path img { object-fit: cover; object-position: 50% 50%; }
  .hq-path__tag { display: none; }
  .hq-path__sum { margin: 0; padding: 26px 20px 8px; }
  .hq-steps { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; padding: 0 12px 16px; }
  .hq-steps .tstep { padding: 18px 18px 20px; background: linear-gradient(160deg, rgba(18, 41, 74, .82), rgba(0, 15, 38, .88)); }

  .hq-rules { grid-template-columns: 1fr; gap: 14px; }
  .hq-rules .card { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; padding: 20px; }
  .hq-rules .hq-icon { grid-row: span 2; }
  .hq-rules .h4 { margin-top: 0; font-size: 17px; }
  .hq-rules p { margin-top: 6px; font-size: 15px; }

  .hq-founding { grid-template-columns: 1fr; gap: 24px; }
  .close .h1 { font-size: clamp(34px, 10vw, 42px); }
  .hq-give .giveaway__copy { background: linear-gradient(180deg, rgba(0, 15, 38, .55), rgba(0, 15, 38, .8)); }
  .hq-founding__cta .btn, .hq-else .row .btn { width: 100%; }
  .hq-else .row { justify-content: stretch !important; }
}

/* Sections with a .glow keep the blob from widening the page */
.hq-clip { overflow: hidden; }
@supports (overflow: clip) { .hq-clip { overflow: visible; overflow-x: clip; } }
.hq-give { padding-top: 0; }
