/* Homepage — requires global.css */

/* ── Hero ── */
.hero {
  width: 100%;
  padding: 7rem 0 6rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 1.75rem;
  text-align: center;
}
h1 {
  font-family: "Crimson Pro", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 1.75rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 0.75rem;
  line-height: 1.7;
}
.hero-for {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ── Waitlist ── */
.waitlist {
  display: flex;
  gap: 0.6rem;
  max-width: 480px;
  margin: 0 auto;
}
.waitlist input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist input[type="email"]:focus {
  border-color: var(--primary);
}
.waitlist input[type="email"]::placeholder {
  color: var(--text-muted);
}
.waitlist button {
  padding: 0.85rem 1.6rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    opacity 0.2s;
}
.waitlist button:hover {
  background: var(--primary-d);
}
.waitlist button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-message {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  min-height: 1.2em;
  text-align: center;
}
.form-message.success {
  color: var(--emerald);
}
.form-message.error {
  color: var(--coral);
}
.waitlist-note {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.waitlist-note a {
  color: var(--text-muted);
  text-decoration: underline;
}
.waitlist-note a:hover {
  color: var(--primary);
}

/* ── Instructor ── */
.instructor {
  width: 100%;
  padding: 6rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.instructor .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.instructor-header {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2rem;
}
.instructor-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.instructor-meta h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.instructor-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.instructor-narrative p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.instructor-narrative p strong {
  color: var(--text);
}

/* ── Stats card ── */
.stats-col {
  padding-top: 2.5rem;
}
.stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.stats-card h3 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.stats-card ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.stats-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.stats-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}
.stats-card li strong {
  color: var(--gold);
}
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.credential {
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
}

/* ── Paths ── */
.paths {
  width: 100%;
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}
.paths-header {
  margin-bottom: 3rem;
  text-align: center;
}
.paths-header h2 {
  font-family: "Crimson Pro", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.paths-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.paths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.path-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  text-align: left;
}
.path-card:hover,
.path-card.active {
  border-color: var(--primary);
  background: rgba(105, 152, 165, 0.06);
}
.path-card.active .path-number {
  color: var(--primary);
}
.path-number {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: block;
}
.path-card h3 {
  font-family: "Crimson Pro", serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.path-card .path-audience {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.path-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}
.path-chain span {
  font-size: 0.72rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}
.path-chain span.highlight {
  color: var(--primary);
  border-color: var(--primary-d);
}
.path-chain .arrow {
  font-size: 0.65rem;
  color: var(--border);
  background: none;
  border: none;
  padding: 0;
}
.path-depth {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.depth-foundations {
  background: rgba(74, 157, 124, 0.12);
  color: var(--emerald);
}
.depth-intermediate {
  background: rgba(125, 163, 204, 0.12);
  color: var(--depth-intermediate);
}
.depth-advanced {
  background: rgba(153, 136, 204, 0.12);
  color: var(--depth-advanced);
}
.depth-interview {
  background: rgba(212, 168, 83, 0.12);
  color: var(--gold);
}

/* ── Pricing ── */
.pricing {
  width: 100%;
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}
.pricing-header {
  margin-bottom: 3rem;
  text-align: center;
}
.pricing-header h2 {
  font-family: "Crimson Pro", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.pricing-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
}
.pricing-card.featured {
  border-color: var(--primary);
}
.pricing-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(105, 152, 165, 0.12);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  margin-bottom: 1.25rem;
}
.pricing-card h3 {
  font-family: "Crimson Pro", serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.pricing-amount {
  margin: 1rem 0;
}
.pricing-amount .price {
  font-size: 2.4rem;
  font-weight: 600;
  font-family: "Sora", sans-serif;
  color: var(--text);
  line-height: 1;
}
.pricing-amount .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}
.pricing-save {
  font-size: 0.8rem;
  color: var(--emerald);
  margin-top: 0.35rem;
}
.pricing-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.6rem;
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}
.pricing-cta {
  display: block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.pricing-cta:hover {
  background: var(--primary-d);
}
.pricing-cta.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.pricing-cta.outline:hover {
  border-color: var(--primary);
  color: var(--text);
  background: transparent;
}
.pricing-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .instructor .inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats-col {
    padding-top: 0;
  }
  .waitlist {
    flex-direction: column;
  }
  .waitlist button {
    width: 100%;
  }
  .paths-grid {
    grid-template-columns: 1fr;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Legal pages (terms, privacy) ── */
.legal-page {
  padding: 3rem 2rem;
}

.legal-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-inner h1 {
  font-family: "Crimson Pro", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.legal-updated {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-inner h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-inner h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-inner p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-inner ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-inner li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.legal-inner a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(105, 152, 165, 0.3);
}

.legal-inner a:hover {
  text-decoration-color: var(--primary);
}

/* ── Syntax highlighting (Prism — One Dark theme) ── */
code[class*="language-"],
pre[class*="language-"] {
  color: #abb2bf;
  background: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  line-height: 1.6;
  tab-size: 2;
  hyphens: none;
}

pre[class*="language-"] {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  overflow: auto;
  margin: 1rem 0 1.25rem;
}

:not(pre) > code[class*="language-"] {
  background: var(--bg-alt);
  border-radius: 3px;
  padding: 0.1em 0.3em;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #5c6370;
}

.token.punctuation {
  color: #abb2bf;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
  color: #d19a66;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin {
  color: #98c379;
}

.token.operator,
.token.entity,
.token.url,
.token.variable {
  color: #56b6c2;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #c678dd;
}

.token.function {
  color: #61afef;
}

.token.regex,
.token.important {
  color: #e5c07b;
}
