/* ============================================================
   HireInfra — Post-application confirmation page  (/confirmed)
   Hunter aura. Flow: homework → objections → urgency → the
   calendar → next steps. Reuses the site's flat, sharp-cornered
   component language (1px --line borders, mono labels, outlined
   stroke numbers). No soft rounded cards, no glows.
   ============================================================ */

/* ---------- top-bar status pill ---------- */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.5);
  animation: statusPulse 2.4s ease-out infinite;
}

@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(255, 77, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}

/* ---------- hero / status ---------- */

.confirm-hero {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7.5rem) var(--pad-x) clamp(3rem, 7vw, 5rem);
}

#confirm-agency { color: var(--ink-muted); }

.confirm-h1 {
  font-size: clamp(3rem, 10.5vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.confirm-sub {
  max-width: 44rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 2.75rem;
}

/* ---------- three-step progress (square marks — infra motif) ---------- */

.confirm-progress {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cp-node {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cp-mark {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  font-weight: 700;
  border: 1px solid var(--line);
}

.cp-done .cp-mark { background: var(--accent); color: #0a0a0b; border-color: var(--accent); }
.cp-done .cp-label { color: var(--ink-muted); }

.cp-now .cp-mark { color: var(--accent); border-color: var(--accent); }
.cp-now .cp-label { color: var(--ink); }

.cp-next .cp-mark { color: var(--ink-muted); }
.cp-next .cp-label { color: var(--ink-muted); }

.cp-rail {
  flex: 0 0 clamp(1.25rem, 5vw, 3.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line));
}

.cp-rail-dim { background: var(--line); }

.hero-skip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15em;
  transition: color 0.25s, border-color 0.25s;
}

.hero-skip:hover { color: var(--accent); border-color: var(--accent); }

.confirm-sent {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-top: 1.25rem;
}

.confirm-sent #confirm-email { color: var(--ink); }

/* ---------- homework ---------- */

.hw-lead,
.urgency-lead {
  max-width: 44rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-muted);
  margin: -1.75rem 0 3rem;
}

.hw-list { list-style: none; display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.hw-task {
  display: grid;
  grid-template-columns: clamp(3rem, 8vw, 5rem) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  background: var(--bg);
  padding: clamp(1.6rem, 4vw, 2.5rem);
}

.hw-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 77, 0, 0.55);
  line-height: 1;
}

.hw-task-title {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.7rem;
}

.hw-task-desc { color: var(--ink-muted); font-size: 1.02rem; line-height: 1.6; max-width: 42rem; }

.hw-checks {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hw-checks li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

/* open square "checkbox" marker */
.hw-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--accent);
}

/* ---------- carousels (shared: objections deck · playbook deck) ---------- */

.carousel { margin-top: 0.5rem; }

.carousel-viewport { overflow: hidden; border: 1px solid var(--line); background: var(--bg-raised); }

.carousel-track {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* every direct child of the track is one full-width slide */
.carousel-track > * { flex: 0 0 100%; min-width: 0; }

/* thin fill bar = time left until the deck auto-advances (auto decks only) */
.carousel-progress { height: 3px; background: var(--line); }

.carousel-progress-bar {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.carousel-arrow {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }
.carousel-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.carousel-dots { display: flex; gap: 0.55rem; flex: 1 1 auto; flex-wrap: wrap; }

.carousel-dot {
  width: 0.9rem;
  height: 0.9rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.carousel-dot:hover { border-color: var(--accent); }
.carousel-dot.is-active { background: var(--accent); border-color: var(--accent); }

/* objection slide content */
.obj { padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-direction: column; }

.obj-idx {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 77, 0, 0.55);
  line-height: 1;
  margin-bottom: 1.4rem;
}

.obj-q {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.obj-a { color: var(--ink-muted); font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.65; max-width: 46rem; }

/* pricing card's click-to-reveal alternative — closed by default, opens on the reader's own action */
.obj-reveal { margin-top: 1.1rem; max-width: 46rem; }
.obj-reveal-wide { max-width: none; }

.obj-reveal summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  list-style: none;
}

.obj-reveal summary::-webkit-details-marker { display: none; }

.obj-reveal summary::before { content: "+ "; }
.obj-reveal[open] summary::before { content: "– "; }

.obj-reveal[open] summary { margin-bottom: 0.75rem; }

.obj-reveal-body { color: var(--ink-muted); font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.65; }
.obj-reveal-body p { margin: 0 0 0.75rem; }

/* cost slide — text on the left, the tiered table on the right, no dead space */
.obj-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: 1.1rem;
}
.obj-split > :first-child { margin-top: 0; }
@media (max-width: 640px) {
  .obj-split { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* cost breakdown — tiered rows with a computed dollar figure per tier */
.obj-cost {
  list-style: none;
  margin: 0;
  border: 1px solid var(--line);
  align-self: start;
}

.obj-cost-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.obj-cost-row:last-child { border-bottom: none; }

.obj-cost-tier {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.obj-cost-val {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.obj-cost-row-free .obj-cost-val { color: var(--ink); }

/* ---------- urgency: proof row + clock (reuses stakes styling) ---------- */

.stakes-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.proof { background: var(--bg); padding: clamp(1.75rem, 4vw, 2.75rem); }

.proof-key {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.proof-desc { color: var(--ink-muted); font-size: 0.98rem; line-height: 1.55; }

.stakes-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stakes-clock .countdown-caption { margin-top: 1.25rem; }

/* ---------- guarantee math reveal (click-to-reveal, mirrors .obj-reveal) ---------- */

.guarantee-math-toggle { margin-top: 1.6rem; }

.guarantee-math {
  max-width: 40rem;
  margin: 1.1rem auto 0;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
}

/* ---------- booking ---------- */

.book { scroll-margin-top: 4.5rem; }

.book-grid { display: block; }

.book-rail { position: sticky; top: 5.5rem; }

.call-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.call-facts li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

/* small solid square — the load-bearing infra mark, not a soft bullet */
.call-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--accent);
}

.call-facts strong { color: var(--ink); }

.book-cal {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
}

#cal-inline {
  width: 100%;
  min-height: 620px;
  overflow: hidden;
}

/* prefill note — sits under the "Pick it. Lock it." heading, above the embed */
.book-cal-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: -1.25rem 0 2rem;
}

.book-cal-note::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.65rem;
  background: var(--accent);
  vertical-align: 0.05em;
}

/* reschedule courtesy line — lives inside .book-cal, styled as the embed's own footer bar */
.book-etiquette {
  margin: 0.75rem -0.75rem -0.75rem;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ---------- next steps ---------- */

.ns-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.ns-step {
  display: grid;
  grid-template-columns: clamp(3rem, 8vw, 5rem) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  background: var(--bg);
  padding: clamp(1.6rem, 4vw, 2.5rem);
  align-items: start;
}

.ns-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 77, 0, 0.55);
  line-height: 1;
}

.ns-title {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 0.6rem;
}

.ns-desc { color: var(--ink-muted); font-size: 1.02rem; line-height: 1.6; max-width: 44rem; }

/* deck payoff slide — the download unlock, last card in the playbook deck */

.pb-slide-final {
  background: linear-gradient(150deg, var(--accent-soft), transparent 62%);
  justify-content: center;
}

.pb-slide-final .btn { align-self: flex-start; }

.guide-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 1.1rem;
}

/* next-steps tail → playbook */

.ns-tail {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 44rem;
}

.ns-tail-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 77, 0, 0.4);
  padding-bottom: 0.08em;
  white-space: nowrap;
}

.ns-tail-link:hover { border-color: var(--accent); }

/* ---------- the playbook (full strategy) ---------- */

.pb-lead {
  max-width: 46rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-muted);
  margin: -1.75rem 0 3rem;
}

/* each strategy section is one slide in the manual deck */
.pb-slide {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
}

.pb-slide-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 77, 0, 0.55);
  line-height: 1;
  margin-bottom: 1rem;
}

.pb-slide-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* even trailing whitespace regardless of how tall each slide runs */
.pb-slide > :last-child { margin-bottom: 0; }

.pb-p {
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.75;
  max-width: 46rem;
  margin-bottom: 1.4rem;
}

.pb-p strong { color: var(--ink); }

.pb-h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.3rem;
  text-wrap: balance;
}

.pb-checks {
  list-style: none;
  counter-reset: pbq;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pb-checks li {
  counter-increment: pbq;
  position: relative;
  padding-left: 2.6rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  line-height: 1.5;
}

.pb-checks li::before {
  content: counter(pbq, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.pb-list {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pb-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  line-height: 1.55;
}

.pb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--accent);
}

.pb-list strong { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .book-rail { position: static; }
}

@media (max-width: 640px) {
  #cal-inline { min-height: 560px; }
  .stakes-proof { grid-template-columns: 1fr; }
  .hw-task, .ns-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .hw-num, .ns-num, .pb-slide-num { -webkit-text-stroke-width: 1px; font-size: 1.4rem; }
  .carousel-nav { gap: 0.75rem; }
  .carousel-arrow { width: 2.6rem; height: 2.6rem; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
  .carousel-track { transition: none; }
  .carousel-progress { display: none; }
}
