/* =============================================================
   PP Homepage v2 — Styles for the Practical Prompting homepage
   Extracted from inline styles for maintainability
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root {
  /* Warm deep palette — not white, not coder-dark */
  --deep-1: #0F0A1E;
  --deep-2: #16102B;
  --deep-3: #1E1538;
  --warm-bg: #FAF7F3;
  --warm-bg-2: #F3EDE6;
  --warm-border: #E8E0D8;

  --text-light: #FFFFFF;
  --text-light-80: rgba(255,255,255,0.80);
  --text-light-60: rgba(255,255,255,0.60);
  --text-light-40: rgba(255,255,255,0.40);
  --text-dark: #1A1033;
  --text-dark-70: rgba(26,16,51,0.70);
  --text-dark-50: rgba(26,16,51,0.50);

  --accent: #7C3AED;
  --accent-light: #A78BFA;
  --teal: #14B8A6;
  --teal-light: #5EEAD4;
  --success: #22C55E;

  --gradient-brand: linear-gradient(135deg, #1A1038 0%, #2D1B69 45%, #1B6B7A 100%);
  --gradient-accent: linear-gradient(135deg, #A78BFA 0%, #22D3EE 100%);

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--deep-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === REVEAL SYSTEM === */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__badge-dot { animation: none; }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.sr-only--focusable:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 24px; margin: 0; overflow: visible; clip: auto; background: var(--accent); color: #fff; font-size: 0.9rem; font-weight: 600; border-radius: 8px; z-index: 10000; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

/* === GRADIENT LINE — brand signature === */
.gradient-line {
  height: 3px; border-radius: 2px;
  background: var(--gradient-accent);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.5), 0 0 20px rgba(34, 211, 238, 0.3);
}

/* Navbar + language selector styles live in pp-nav.css (global) */

/* =====================================================
   HERO — full-bleed cinematic
   ===================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero__slides {
  position: absolute; inset: 0; z-index: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: 50% 28%;
  background-image: var(--bg-desktop);
  opacity: 0; transition: opacity 1s ease-in-out;
  will-change: opacity;
}
.hero__slide--1 { background-position: 50% 25%; }
.hero__slide--2 { background-position: 55% 35%; }
.hero__slide--3 { background-position: 50% 22%; }
.hero__slide--active { opacity: 1; }

/* Mobile + tablet (incl. iPad portrait/landscape): use face-centered portrait
   crops so faces stay in frame on narrower / squarer viewports. */
@media (max-width: 1023px) {
  .hero__slide,
  .hero__slide--1,
  .hero__slide--2,
  .hero__slide--3 {
    background-image: var(--bg-mobile, var(--bg-desktop));
    background-position: 50% 30%;
  }
}

/* Cinematic gradient overlay — brand colors blended */
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, var(--deep-1) 0%, rgba(15,10,30,0.6) 40%, rgba(15,10,30,0.3) 70%, rgba(15,10,30,0.5) 100%),
    linear-gradient(135deg, rgba(45,27,105,0.4) 0%, rgba(27,107,122,0.25) 100%);
}

.hero__content {
  position: relative; z-index: 2;
  width: 100%; padding: 0 24px;
  max-width: 1200px; margin: 0 auto;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 9999px;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem; font-weight: 600; color: var(--text-light-80);
  margin-bottom: 28px;
}
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.1; letter-spacing: -0.03em;
  color: var(--text-light);
  max-width: 900px; margin-bottom: 16px;
}
.hero__title-accent {
  display: block;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 800; line-height: 1.15;
  padding-bottom: 0.05em;
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__rotate {
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero__rotate--out {
  opacity: 0; transform: translateY(12px);
}
.hero__rotate--in {
  opacity: 0; transform: translateY(-12px);
}

.hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.65;
  color: var(--text-light-80); max-width: 520px;
  margin-top: 20px; margin-bottom: 36px;
  text-wrap: pretty;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: start; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 14px 32px; border-radius: 9999px; border: none; cursor: pointer;
  background: var(--teal); color: #fff; text-decoration: none;
  box-shadow: 0 0 30px rgba(20,184,166,0.3), 0 0 60px rgba(20,184,166,0.15);
  transition: all 0.3s var(--ease-out);
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(20,184,166,0.4), 0 0 80px rgba(20,184,166,0.2);
}
.btn-ghost {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 14px 32px; border-radius: 9999px;
  background: transparent; color: var(--text-light-80);
  border: 1px solid rgba(255,255,255,0.2); text-decoration: none;
  transition: all 0.3s var(--ease-out);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--text-light); }

.hero__proof {
  font-size: 0.85rem; color: var(--text-light-40);
  line-height: 1.5; margin: 24px 0 0;
}
.hero__proof a {
  color: var(--text-light-60); text-decoration: underline;
  text-underline-offset: 2px; transition: color 0.2s var(--ease-out);
}
.hero__proof a:hover { color: var(--text-light-80); }

/* Motion pause buttons — hero and shift */
.hero__media-pause,
.shift__media-pause {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.35); color: #fff;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
  margin-top: 16px;
}
.hero__media-pause:hover,
.shift__media-pause:hover { background: rgba(0,0,0,0.55); border-color: rgba(255,255,255,0.8); }
.hero__media-pause .icon-play,
.shift__media-pause .icon-play { display: none; }
.hero__media-pause[aria-pressed="true"] .icon-pause,
.shift__media-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero__media-pause[aria-pressed="true"] .icon-play,
.shift__media-pause[aria-pressed="true"] .icon-play { display: block; }
.shift__media-pause { margin-top: 0; margin-left: 16px; vertical-align: middle; }

@media (max-width: 1023px) {
  .hero { min-height: auto; padding: 120px 0 56px; }
  .hero__ctas { flex-direction: column; align-items: start; }
}
@media (max-width: 767px) {
  .hero { min-height: auto; padding: 92px 0 40px; }
  .hero__content { padding-bottom: 0; }
  .hero__proof { margin-top: 12px; }
  .hero__media-pause { margin-top: 8px; }
  .featured { padding: 72px 0; }
  .org { padding: 72px 0; }
}

/* xs — small phones only */
@media (max-width: 479px) {
  /* Hero */
  .hero { min-height: auto; padding: 100px 0 48px; }
  .hero__badge { margin-bottom: 16px; }
  .hero__title { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 8px; }
  .hero__title-accent { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero__sub { margin-top: 16px; margin-bottom: 20px; }

  /* Editorial — prevent nowrap overflow */
  .editorial__quote span[style] { white-space: normal !important; }
  .editorial { padding: 60px 20px; }

  /* Shift section — tighten for small phones */
  .shift { min-height: auto; padding: 60px 0; }
  .shift__header { margin-bottom: 32px; }
  .shift__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .shift__sub { font-size: 1rem; }
  .shift__tab { padding: 12px 16px; }
  .shift__tab-label { font-size: 0.95rem; }
  .shift__panel-title { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .shift__panel-body { font-size: 1rem; }
}

/* =====================================================
   EDITORIAL QUOTE
   ===================================================== */
.editorial {
  background: var(--deep-1); padding: 100px 24px; text-align: center;
}
.editorial__quote {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 3.2rem); line-height: 1.35;
  color: var(--text-light-60); letter-spacing: -0.02em;
  max-width: 800px; margin: 0 auto; border: none; padding: 0;
}
.editorial__word {
  display: inline-block; transition: color 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.editorial__accent {
  color: var(--text-light);
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================================================
   OVERLINE — shared
   ===================================================== */
.overline {
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-light); display: block; margin-bottom: 14px;
}
.overline--light { color: rgba(167,139,250,0.9); }
.overline--dark { color: var(--accent); }

/* =====================================================
   THE SHIFT — immersive parallax
   ===================================================== */
.shift {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0; overflow: hidden;
}
.shift__bg {
  position: absolute; inset: 0; z-index: 0;
}
.shift__bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.shift__bg-img--active { opacity: 1; }
.shift__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--deep-1) 0%, transparent 15%),
    linear-gradient(to right, var(--deep-1) 0%, rgba(15,10,30,0.85) 45%, rgba(15,10,30,0.4) 100%),
    linear-gradient(to top, var(--deep-1) 0%, transparent 30%);
}

.shift__inner { position: relative; z-index: 1; }

.shift__header { margin-bottom: 48px; }
.shift__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.15;
  color: var(--text-light); letter-spacing: -0.02em;
}
.shift__sub {
  font-size: 1.15rem; line-height: 1.65; color: var(--text-light-80);
  max-width: 479px; margin-top: 14px;
}

.shift__grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }

.shift__tabs { display: flex; flex-direction: column; gap: 6px; }
.shift__tab {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--radius-md);
  background: transparent; border: none; cursor: pointer;
  text-align: left; transition: background 0.3s;
}
.shift__tab:hover { background: rgba(255,255,255,0.04); }
.shift__tab--active { background: rgba(255,255,255,0.06); }
.shift__tab-bar {
  flex: 0 0 4px; width: 4px; min-height: 32px; border-radius: 2px;
  background: rgba(255,255,255,0.15);
  transition: background 0.4s;
}
.shift__tab--active .shift__tab-bar { background: var(--accent-light); }

.shift__tab-bar {
  position: relative; overflow: hidden;
}
.shift__tab-bar::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 0%;
  background: var(--accent-light); border-radius: 2px;
  transition: none;
}
.shift__tab--active.shift__tab--rotating .shift__tab-bar::after {
  height: 100%;
  transition: height 4s linear;
}
.shift__tab--active:not(.shift__tab--rotating) .shift__tab-bar::after {
  height: 100%;
  transition: none;
}
.shift__tab-label {
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 500;
  color: var(--text-light-60); transition: color 0.3s;
}
.shift__tab--active .shift__tab-label { color: var(--text-light); font-weight: 600; }

.shift__panels { display: grid; }
.shift__panel {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.shift__panel[hidden] {
  display: block !important;
}
.shift__panel--active {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.shift__panel-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.15;
  color: var(--text-light); margin-bottom: 16px;
}
.shift__panel-body {
  font-size: 1.1rem; line-height: 1.75; color: var(--text-light-80);
  max-width: 520px;
}

@media (max-width: 1023px) {
  .shift__grid { grid-template-columns: 1fr; gap: 32px; }
  .shift__bg-overlay {
    background: linear-gradient(to bottom, var(--deep-1) 0%, rgba(15,10,30,0.9) 50%, var(--deep-1) 100%);
  }
}

/* =====================================================
   LIVE PROOF — prompt demo
   ===================================================== */
.proof {
  background: var(--warm-bg); color: var(--text-dark);
  padding: 100px 0;
}
.proof__header { margin-bottom: 48px; }
.proof__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2;
  color: var(--text-dark); letter-spacing: -0.02em;
}
.proof__demo {
  display: grid; grid-template-columns: 1fr auto 1.35fr; gap: 24px;
  align-items: stretch;
}
.proof__card {
  padding: 28px; border-radius: var(--radius-lg);
  min-height: 240px; display: flex; flex-direction: column;
}
.proof__card--before {
  background: #FFF; border: 1px solid var(--warm-border);
  opacity: 0.7; padding: 24px; font-size: 0.92em;
  transform: scale(0.97); transform-origin: center right;
}
.proof__card--after {
  background: var(--deep-2); color: var(--text-light);
  border: 2px solid rgba(124,58,237,0.35);
  padding: 32px; font-size: 1.05em;
}
.proof__card-tag {
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.proof__card-tag--before { color: var(--text-dark-50); }
.proof__card-tag--after { color: var(--teal-light); }

.proof__prompt {
  font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.75;
  flex: 1; min-height: 80px;
}
.proof__card--before .proof__prompt { color: var(--text-dark-70); }
.proof__card--after .proof__prompt { color: var(--text-light-80); }

.proof__quality { margin-top: 16px; }
.proof__quality-label { font-size: 0.7rem; color: var(--text-dark-50); margin-bottom: 6px; display: block; }
.proof__card--after .proof__quality-label { color: var(--text-light-40); }
.proof__bar { height: 6px; border-radius: 3px; background: rgba(0,0,0,0.06); overflow: hidden; }
.proof__card--after .proof__bar { background: rgba(255,255,255,0.08); }
.proof__bar-fill { height: 100%; border-radius: 3px; width: 0; transition: width 1.2s var(--ease-out); }
.proof__bar-fill--low { background: #F87171; }
.proof__bar-fill--high { background: var(--gradient-accent); }
.proof__bar-fill--low.is-filled { width: 22%; }
.proof__bar-fill--high.is-filled { width: 90%; }

.proof__arrow {
  display: flex; align-items: center; color: var(--accent);
}

/* Carousel */
.proof__carousel { position: relative; overflow: hidden; }
.proof__slides { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.proof__slide { min-width: 100%; box-sizing: border-box; }
.proof__slide .proof__demo { display: grid; grid-template-columns: 1fr auto 1.35fr; gap: 24px; align-items: stretch; }

.proof__nav {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px;
}
.proof__nav-btn {
  background: transparent; color: var(--text-dark-50); border: none;
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.proof__nav-btn:hover { color: var(--accent); }
.proof__nav-btn:disabled { opacity: 0.25; cursor: default; }
.proof__dots { display: flex; gap: 6px; align-items: center; }
.proof__dot {
  width: 20px; height: 44px; border-radius: 0;
  background: transparent; border: none; cursor: pointer;
  transition: width 0.3s;
  padding: 0;
  position: relative;
}
.proof__dot::after {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 100%; height: 3px; border-radius: 2px;
  background: rgba(0,0,0,0.12); transform: translateY(-50%);
  transition: background 0.3s;
}
.proof__dot--active { width: 28px; }
.proof__dot--active::after { background: var(--accent); }

@media (max-width: 767px) {
  .proof__slide .proof__demo { grid-template-columns: 1fr; }
  /* In the stacked layout, scaling from the right edge shifts the card's
     left edge inward and breaks vertical alignment with the after card. */
  .proof__card--before { transform: none; }
  .proof__arrow {
    justify-content: center;
    transform: rotate(90deg);
  }
}

/* =====================================================
   FEATURED COURSE — cinematic
   ===================================================== */
.featured {
  position: relative; padding: 120px 0; overflow: hidden;
}
.featured__bg-img {
  position: absolute; inset: 0; background-size: cover; background-position: 50% 28%;
  transform: scale(1.05);
}
.featured__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--deep-1) 0%, rgba(15,10,30,0.92) 50%, rgba(15,10,30,0.6) 100%);
}
.featured__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.featured__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2;
  color: var(--text-light); letter-spacing: -0.02em;
}
.featured__desc {
  font-size: 1.05rem; line-height: 1.65; color: var(--text-light-60);
  max-width: 440px; margin-top: 14px;
}
.featured__card {
  position: relative;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl); padding: 36px;
}

/* ---- comet tail that orbits the card border ---- */
.featured__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--spark-angle, 0deg),
    transparent 0%,
    transparent 25%,
    rgba(167,139,250,0.02) 35%,
    rgba(167,139,250,0.08) 50%,
    rgba(167,139,250,0.2) 65%,
    #A78BFA 82%,
    #8B5CF6 90%,
    #22D3EE 97%,
    #fff 99.5%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spark-rotate 5s linear infinite;
  pointer-events: none;
  opacity: 0.9;
}

/* glow layer — wider, blurred copy of the tail */
.featured__card::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  padding: 4px;
  background: conic-gradient(
    from var(--spark-angle, 0deg),
    transparent 0%,
    transparent 30%,
    rgba(167,139,250,0.03) 45%,
    rgba(167,139,250,0.12) 60%,
    rgba(139,92,246,0.3) 78%,
    rgba(34,211,238,0.45) 93%,
    rgba(255,255,255,0.6) 99%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  filter: blur(6px);
  animation: spark-rotate 5s linear infinite;
  pointer-events: none;
  opacity: 0.7;
}

@property --spark-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spark-rotate {
  to { --spark-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .featured__card::before,
  .featured__card::after {
    animation: none;
    opacity: 0;
  }
}
.featured__card-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; color: var(--text-light); margin-bottom: 12px;
}
.featured__card-desc {
  font-size: 0.925rem; line-height: 1.65; color: var(--text-light-80); margin-bottom: 20px;
}
.featured__card-meta {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px;
}
.featured__card-meta span {
  font-size: 0.78rem; font-weight: 600; color: var(--text-light-40);
  padding: 4px 12px; border-radius: 9999px;
  background: rgba(255,255,255,0.06);
  white-space: nowrap;
}
.featured__card-skills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px;
}
.featured__card-skills span {
  font-size: 0.75rem; font-weight: 500; color: var(--accent-light);
  padding: 5px 14px; border-radius: 9999px;
  border: 1px solid rgba(124,58,237,0.25);
  background: rgba(124,58,237,0.08);
}
@media (max-width: 1023px) {
  .featured__inner { grid-template-columns: 1fr; }
  .featured__bg-overlay {
    background: linear-gradient(to bottom, rgba(15,10,30,0.85) 0%, var(--deep-1) 100%);
  }
}

/* =====================================================
   ROLES — warm section with image-first cards
   ===================================================== */
.roles {
  background: var(--warm-bg); padding: 100px 0;
}
.roles__header { margin-bottom: 48px; }
.roles__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15;
  color: var(--text-dark); letter-spacing: -0.02em;
}
.roles__sub {
  font-size: 1.05rem; line-height: 1.65; color: var(--text-dark-70);
  max-width: 520px; margin-top: 12px;
}

/* ── Teaser variant (centered editorial moment) ── */
.roles--teaser { padding: 80px 0; }
.roles__teaser-inner {
  text-align: center;
  margin: 0 auto;
}
.roles--teaser .roles__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-top: 12px;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .roles--teaser .roles__title { white-space: normal; }
}
.roles__lineup {
  font-family: var(--font-body); font-weight: 400; font-size: 1.05rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dark-50);
  margin: 24px 0 20px;
}
.roles__teaser-link {
  display: inline-block; margin-top: 4px;
  color: var(--accent); font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.roles__teaser-link:hover { opacity: 0.8; }
.roles__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.role-card {
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--warm-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.role-card__img {
  height: 180px; overflow: hidden;
}
.role-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.role-card:hover .role-card__img img { transform: scale(1.06); }
.role-card__body { padding: 20px; }
.role-card__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; color: var(--text-dark); margin-bottom: 6px;
}
.role-card__desc { font-size: 0.825rem; line-height: 1.55; color: var(--text-dark-70); }
.role-card__arrow {
  display: inline-block; margin-top: 10px;
  font-size: 1.1rem; color: var(--accent);
  transition: transform 0.3s;
}
.role-card:hover .role-card__arrow { transform: translateX(6px); }

@media (max-width: 1023px) { .roles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .roles__grid { grid-template-columns: 1fr; } }

/* =====================================================
   PLATFORMS — dark section with animated mock UIs
   ===================================================== */
.platforms {
  background: var(--deep-2); padding: 80px 0 72px; overflow: hidden;
}
.platforms__header { margin-bottom: 40px; }
.platforms__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); line-height: 1.2;
  color: var(--text-light); letter-spacing: -0.02em;
}

/* Logo marquee */
.platforms__marquee {
  overflow: hidden; width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.platforms__track {
  display: flex; gap: 16px; width: max-content;
  animation: platformScroll 40s linear infinite;
}
.platforms__marquee:hover .platforms__track { animation-play-state: paused; }

@keyframes platformScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-pill {
  flex-shrink: 0; padding: 10px 24px; border-radius: 9999px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-light-80); font-family: var(--font-display); font-weight: 600;
  font-size: 0.9rem; white-space: nowrap; letter-spacing: -0.01em;
  transition: background 0.3s, border-color 0.3s;
}
.logo-pill:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18);
}

@media (max-width: 479px) { .logo-pill { padding: 8px 18px; font-size: 0.8rem; } }

@media (prefers-reduced-motion: reduce) {
  .platforms__track { animation: none; overflow-x: auto; }
}

/* Shift CTA */
.shift__cta { margin-top: 48px; }
.shift__cta--centered { text-align: center; margin-top: 56px; }

/* =====================================================
   ORG CTA — cinematic full-bleed
   ===================================================== */
.org {
  position: relative; padding: 120px 0; text-align: center; overflow: hidden;
}
.org__bg {
  position: absolute; inset: 0; background-size: cover; background-position: 50% 28%;
  background-image: var(--bg-desktop);
}
@media (max-width: 767px) {
  .org__bg {
    background-image: var(--bg-mobile, var(--bg-desktop));
    background-position: 50% 30%;
  }
}
.org__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(45,27,105,0.88) 0%, rgba(27,107,122,0.82) 100%);
}
.org__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.org__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.3;
  color: var(--text-light); margin-bottom: 16px;
}
.org__title strong { font-weight: 800; }
.org__desc {
  font-size: 1.05rem; line-height: 1.6; color: var(--text-light-80);
  margin-bottom: 32px;
}

/* =====================================================
   NEWSLETTER
   ===================================================== */
.newsletter {
  background: var(--warm-bg-2); padding: 64px 0 80px;
  border-top: 1px solid var(--warm-border);
}
.newsletter__inner {
  display: flex; align-items: center; gap: 48px;
  justify-content: space-between; position: relative;
}
.newsletter__inner > div:first-child { flex: 0 0 auto; max-width: 320px; }
.newsletter__title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--text-dark); margin-bottom: 4px;
}
.newsletter__desc { font-size: 0.85rem; color: var(--text-dark-50); }
.newsletter #hs-subscribe-form { flex: 1 1 0; min-width: 0; }
.newsletter #hs-subscribe-form form {
  display: flex !important; gap: 10px; align-items: flex-end;
}
.newsletter #hs-subscribe-form fieldset {
  flex: 1 1 0; min-width: 0; max-width: none;
  margin: 0; padding: 0; border: none;
}
.newsletter #hs-subscribe-form .hs_submit {
  flex: 0 0 auto;
}
.newsletter #hs-subscribe-form .hs-input {
  width: 100% !important;
}

@media (max-width: 767px) {
  .newsletter__inner { flex-direction: column; text-align: center; gap: 20px; }
  .newsletter__inner > div:first-child { max-width: none; }
  .newsletter #hs-subscribe-form form { flex-direction: column; }
  .newsletter #hs-subscribe-form fieldset { min-width: 100%; }
}

/* =====================================================
   FOOTER
   ===================================================== */
/* Footer styles managed by footer-component.js */

/* =====================================================
   ACCESSIBILITY — Focus visible (WCAG 2.4.7)
   ===================================================== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Light outline on dark backgrounds */
.hero :focus-visible, .shift :focus-visible, .proof :focus-visible,
.featured :focus-visible, .platforms :focus-visible, .org :focus-visible,
.footer :focus-visible, .nav :focus-visible,
.courses-hero :focus-visible, .learning-path :focus-visible,
.org-hero :focus-visible, .org-premium :focus-visible,
.articles-hero :focus-visible, .potw-section :focus-visible,
.articles-cta :focus-visible, .util-cta :focus-visible,
.org-cta-banner :focus-visible, .org-form :focus-visible,
.panel-overlay :focus-visible, .modal-overlay :focus-visible {
  outline-color: #fff;
}

/* =====================================================
   ACCESSIBILITY — Touch targets (WCAG 2.5.8)
   Nav touch targets live globally in pp-nav.css.
   ===================================================== */
.proof__dot { min-width: 44px; min-height: 44px; }
.proof__nav-btn { min-width: 44px; min-height: 44px; }
.lang-selector__option { min-height: 44px; }
.filter-pill { min-height: 44px; padding-left: 16px; padding-right: 16px; }
