/* ==========================================================================
   Private coaching sales page
   Loaded after /styles.css. Inherits the site palette, Inter, and .btn styles.
   Palette in use:
     bg        #050509
     panel     rgba(15, 23, 42, 0.9)
     hairline  rgba(148, 163, 184, 0.22)
     text      #f9fafb
     body      #d1d5db
     muted     #9ca3af
     accent    #38bdf8 / #3b82f6
   ========================================================================== */

/* ===== Keyboard focus ===== */
a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Social links =====
   Absolutely positioned over the hero's top padding, so the page
   content does not move down. */
.pc-social {
  position: absolute;
  top: 0.6rem;
  left: 0;
  right: 0;
  z-index: 10;
}

.pc-social .pc-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.6rem;
}

.pc-social .pc-container > * {
  margin: 0;
}

.pc-social a {
  display: flex;
  color: #9ca3af;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.pc-social a:hover {
  opacity: 1;
  color: #f9fafb;
}

.pc-social img,
.pc-social svg {
  width: 26px;
  height: 26px;
}

.pc-social img {
  filter: invert(80%);
}

.pc-social a:hover img {
  filter: invert(100%);
}

/* ===== Layout ===== */
.pc-main {
  padding: 0 0 1rem;
}

.pc-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Every block sits in a centered column. Text inside stays flush left,
   and all blocks in the column share the same left edge. */
.pc-container > * {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* Wider blocks (video, grids) are centered on their own, wider column. */
.pc-container > .pc-video,
.pc-container > .pc-places,
.pc-container > .pc-split {
  max-width: none;
}

.pc-measure {
  max-width: 880px;
}

.pc-wide {
  max-width: 880px;
}

.pc-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.pc-hero {
  padding: 2.5rem 0 4.5rem;
  border-top: 0;
}

.pc-hero-banner {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-bottom: 2.5rem;
}

/* ===== Type ===== */
.pc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 0.9rem;
}

.pc-h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.2rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
}

.pc-h2 {
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}

/* Matches btn-primary's gradient start color */
.pc-accent {
  color: #438afc;
}

.pc-h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
  color: #f9fafb;
}

.pc-lead {
  font-size: 1.12rem;
  color: #e5e7eb;
  margin-bottom: 1.6rem;
}

.pc-body {
  color: #d1d5db;
}

.pc-body + .pc-body {
  margin-top: 1.1rem;
}

.pc-quiet,
.card p.pc-quiet {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* ===== Hero ===== */
.pc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.pc-hero .btn {
  padding: 0.85rem 1.9rem;
}

.pc-hero-meta {
  font-size: 0.85rem;
  color: #9ca3af;
  letter-spacing: 0.04em;
}

/* ===== Video ===== */
.pc-video {
  margin-top: 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  overflow: hidden;
  background: #020617;
}

.pc-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
}

.pc-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== Lists ===== */
.pc-list {
  list-style: none;
}

.pc-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #d1d5db;
  margin-bottom: 0.9rem;
}

.pc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #3b82f6;
}

.pc-list li:last-child {
  margin-bottom: 0;
}

/* Four places the same thing shows up */
.pc-places {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
}

.pc-places .pc-place {
  padding-left: 1.1rem;
  border-left: 2px solid rgba(59, 130, 246, 0.55);
}

.pc-place p {
  font-size: 0.94rem;
  color: #d1d5db;
}

/* ===== The four weeks ===== */
.pc-weeks {
  list-style: none;
  margin-top: 2rem;
}

.pc-week {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.pc-week:first-child {
  border-top: 0;
  padding-top: 0;
}

.pc-week-n {
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: #38bdf8;
  padding-top: 0.12rem;
}

.pc-week p {
  font-size: 0.95rem;
  color: #d1d5db;
}

/* ===== Two column split (promise / not promising) ===== */
.pc-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
  align-items: start;
}

.pc-split .card ul {
  list-style: none;
  margin-top: 0.9rem;
}

.pc-split .card li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.93rem;
  color: #d1d5db;
  margin-bottom: 0.7rem;
}

.pc-split .card li:last-child {
  margin-bottom: 0;
}

.pc-split .card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.pc-yes li::before {
  content: "+";
  color: #38bdf8;
}

.pc-no li::before {
  content: "\2013";
  color: #6b7280;
}

.pc-no {
  background: rgba(15, 23, 42, 0.5);
}

/* ===== Guarantee ===== */
.pc-guarantee {
  margin-top: 1.4rem;
  padding: 1.4rem 0 1.4rem 1.5rem;
  border-left: 2px solid #38bdf8;
}

.pc-guarantee p {
  font-size: 1.12rem;
  color: #f9fafb;
  line-height: 1.55;
}

/* ===== Price ===== */
.pc-price {
  margin-top: 1.8rem;
}

.pc-price-fig {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.pc-price-amount {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f9fafb;
  line-height: 1;
}

.pc-price-terms {
  font-size: 0.85rem;
  color: #9ca3af;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pc-price dl {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 1rem;
  font-size: 0.92rem;
}

.pc-price div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.pc-price dt {
  color: #9ca3af;
}

.pc-price dd {
  color: #e5e7eb;
  text-align: right;
}

/* ===== My story photo (click to enlarge) ===== */
.pc-zoom {
  display: block;
  width: 100%;
  max-width: 480px;
  margin-top: 1.2rem;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  overflow: hidden;
  background: none;
  cursor: zoom-in;
  transition: border-color 0.2s ease;
}

.pc-zoom:hover {
  border-color: #38bdf8;
}

.pc-zoom img {
  display: block;
  width: 100%;
  height: auto;
}

.pc-zoom-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.pc-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(1400px, 95vw);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
  overflow: auto;
}

.pc-modal::backdrop {
  background: rgba(2, 6, 23, 0.85);
}

.pc-modal img {
  display: block;
  width: 100%;
  height: auto;
}

.pc-modal-close {
  position: sticky;
  top: 0.6rem;
  float: right;
  margin: 0.6rem 0.6rem -3rem 0;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.8);
  color: #f9fafb;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

/* ===== Placeholder block (Sean writes this) ===== */
.pc-placeholder {
  margin-top: 1.2rem;
  padding: 1.4rem 1.5rem;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.45);
  color: #9ca3af;
  font-size: 0.93rem;
}

.pc-placeholder strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #e5e7eb;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ===== Mid-page application buttons ===== */
.pc-cta {
  margin-top: 2rem;
}

.pc-cta .btn {
  padding: 0.85rem 1.9rem;
}

/* ===== Apply form ===== */
.pc-progress {
  height: 3px;
  margin-bottom: 2.2rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.pc-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  transition: width 0.3s ease;
}

.pc-apply-lead {
  margin-bottom: 2rem;
}

.pc-apply h2:focus {
  outline: none;
}

.pc-honeypot,
.pc-apply [hidden] {
  display: none !important;
}

.pc-step {
  border: 0;
  min-width: 0;
}

.pc-step-count {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: #38bdf8;
}

.pc-q {
  display: block;
  padding: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: #f9fafb;
}

.pc-required {
  margin-left: 0.25rem;
  color: #f87171;
}

.pc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.pc-optional {
  margin-left: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  white-space: nowrap;
}

/* 16px minimum so iOS does not zoom on focus */
.pc-input {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: #f9fafb;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 0.75rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pc-input::placeholder {
  color: #6b7280;
}

textarea.pc-input {
  min-height: 8rem;
  resize: vertical;
}

.pc-input-short {
  max-width: 10rem;
}

.pc-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.pc-input[aria-invalid="true"] {
  border-color: #f87171;
}

.pc-choices {
  display: grid;
  gap: 0.6rem;
}

.pc-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.pc-choice:hover {
  border-color: rgba(148, 163, 184, 0.8);
}

.pc-choice input {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: #38bdf8;
}

.pc-choice:has(input:checked) {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

.pc-choice:has(input:focus-visible) {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

.pc-step.is-invalid .pc-choice {
  border-color: #f87171;
}

.pc-field-error,
.pc-submit-error {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #fca5a5;
}

.pc-submit-error {
  margin-top: 1.4rem;
}

.pc-form-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 1.6rem;
}

.pc-form-nav .btn {
  padding: 0.85rem 1.9rem;
  font-family: inherit;
  white-space: nowrap;
}

.pc-form-nav .btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.pc-enter-hint {
  font-size: 0.8rem;
  color: #6b7280;
}

/* No Enter key hint on touch screens */
@media (hover: none) {
  .pc-enter-hint {
    display: none;
  }
}

.pc-confirm {
  padding: 1.4rem 0 1.4rem 1.5rem;
  border-left: 2px solid #38bdf8;
}

.pc-confirm:focus {
  outline: none;
}

.pc-confirm-main {
  font-size: clamp(1.25rem, 2.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  color: #f9fafb;
}

.pc-confirm-aside {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: #9ca3af;
}

.pc-confirm-btn {
  margin-top: 0.9rem;
  padding: 0.75rem 1.6rem;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .pc-section {
    padding: 3rem 0;
  }

  .pc-hero {
    padding: 1.75rem 0 3rem;
  }

  .pc-social {
    top: 0.35rem;
  }

  .pc-social .pc-container {
    gap: 1.25rem;
  }

  .pc-social img,
  .pc-social svg {
    width: 21px;
    height: 21px;
  }

  .pc-hero-banner {
    max-width: 320px;
    margin-bottom: 1.5rem;
  }

  .pc-h1 {
    max-width: none;
  }

  .pc-lead {
    font-size: 1.05rem;
  }

  .pc-places,
  .pc-split {
    grid-template-columns: 1fr;
  }

  .pc-week {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .pc-hero-actions .btn,
  .pc-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .pc-form-nav .btn {
    padding: 0.85rem 1.2rem;
  }

  .pc-form-nav .pc-next {
    flex: 1;
    justify-content: center;
  }

  .pc-confirm {
    padding-left: 1.1rem;
  }

  .pc-guarantee {
    padding-left: 1.1rem;
  }

  .pc-video {
    border-radius: 0.75rem;
  }
}

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

  .btn:hover,
  .btn-primary:hover {
    transform: none;
  }
}

/* ===== Pre-Date Call link under the hero button ===== */
.pc-cta-alt {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: #9ca3af;
}

.pc-cta-alt a {
  color: #e5e7eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pc-cta-alt a:hover {
  color: #f9fafb;
}
