/* ═══════════════════════════════════════════════════════════════
   YOUTHWORK.AI — Shared Stylesheet
   Used across all parts of the online magazine.
   Sections are marked with ═══ headers for easy navigation.
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  --ink:      #141210;
  --ink-80:   rgba(20,18,16,0.8);
  --ink-40:   rgba(20,18,16,0.4);
  --ink-12:   rgba(20,18,16,0.12);
  --paper:    #F9F7F2;
  --paper-2:  #F2EFE8;
  --teal:     #0E8A68;
  --teal-lt:  #1DB88A;
  --teal-bg:  #E4F5EE;
  --teal-mid: #0A6B52;
  --amber:    #C47D0E;
  --amber-lt: #F0A830;
  --amber-bg: #FDF3DC;
  --red-bg:   #FAEAEA;
  --red:      #C0392B;
  --white:    #FFFFFF;
  --rule:     rgba(20,18,16,0.1);

  /* spacing scale */
  --section-pad-v: 130px;
  --section-pad-h: 80px;
  --inner-max:     1240px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  cursor: default;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */

/* ─── CUSTOM CURSOR (desktop only) ─── */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, opacity 0.2s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s cubic-bezier(0.25,0.46,0.45,0.94), width 0.25s, height 0.25s, opacity 0.2s, border-color 0.2s;
  opacity: 0.6;
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ─── PROGRESS BAR ─── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--teal);
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { 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; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 62px;
  background: rgba(249,247,242,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal);
  flex-shrink: 0;
}
.nav-parts {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-parts li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s;
  border-radius: 2px;
}
.nav-parts li.active {
  color: var(--teal);
  background: var(--teal-bg);
}
.nav-parts li:hover:not(.active) { color: var(--ink); }

/* ─── HAMBURGER (mobile) ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--teal-bg); }
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE NAV DRAWER ─── */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: rgba(249,247,242,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  z-index: 99;
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu li {
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile-menu li.active {
  color: var(--teal);
  background: var(--teal-bg);
}
.nav-mobile-menu li:hover:not(.active) {
  color: var(--ink);
  background: var(--paper-2);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: 65px;
  display: grid;
  grid-template-columns: 55% 45%;
  position: relative;
  overflow: hidden;
}

/* animated grid bg */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-left {
  padding: 90px 64px 90px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.part-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.1s both;
}
.part-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 5px 12px;
  border-radius: 2px;
}
.part-divider {
  width: 40px; height: 1px;
  background: var(--ink-12);
}
.part-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-40);
  text-transform: uppercase;
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5.5vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.25s both;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

.hero-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-80);
  font-weight: 300;
  max-width: 500px;
  margin-bottom: 56px;
  animation: fadeUp 0.8s 0.4s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: fadeUp 0.8s 0.55s both;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--ink);
  padding: 15px 30px;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--teal-mid); transform: translateY(-2px); }
.btn-secondary {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-40);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--ink); }

.hero-right {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px 80px 48px;
  z-index: 1;
}

/* decorative large text behind */
.hero-bg-text {
  position: absolute;
  bottom: -60px; right: -30px;
  font-family: 'Playfair Display', serif;
  font-size: 320px;
  font-weight: 700;
  color: rgba(255,255,255,0.035);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.hero-overline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.3s both;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.45s both;
}
.stat-cell {
  background: rgba(255,255,255,0.03);
  padding: 28px 24px;
  transition: background 0.2s;
  cursor: default;
}
.stat-cell:hover { background: rgba(255,255,255,0.07); }
.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--teal-lt);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-l {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.countries-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  animation: fadeUp 0.8s 0.6s both;
}
.country-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  transition: all 0.2s;
}
.country-chip:hover {
  border-color: var(--teal-lt);
  color: var(--teal-lt);
}

/* ═══════════════════════════════════════════════════════════════
   SHARED SECTION WRAPPER
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-pad-v) var(--section-pad-h);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.section-inner { max-width: var(--inner-max); margin: 0 auto; }

/* section label with extending rule */
.s-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 72px;
}
.s-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* shared h2 style */
.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 28px;
}
.section-h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

/* ═══════════════════════════════════════════════════════════════
   WHAT IS AI  (sticky-sidebar + body text layout)
   ═══════════════════════════════════════════════════════════════ */
.what-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 100px;
  margin-bottom: 100px;
}
.what-sticky {
  position: sticky;
  top: 90px;
  align-self: start;
}

.aside-note {
  background: var(--teal-bg);
  border-left: 3px solid var(--teal);
  padding: 20px 24px;
  border-radius: 0 4px 4px 0;
  margin-top: 36px;
}
.aside-note p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--teal-mid);
  font-weight: 400;
}

.what-body p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-80);
  font-weight: 300;
  margin-bottom: 24px;
}
.what-body strong {
  font-weight: 600;
  color: var(--ink);
}
.what-body p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   HOW AI LEARNS  (4-step visual)
   ═══════════════════════════════════════════════════════════════ */
.learn-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 100px;
}
.learn-step {
  background: var(--paper);
  padding: 36px 28px;
  position: relative;
  transition: background 0.25s;
  cursor: default;
}
.learn-step:hover { background: var(--paper-2); }
.learn-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.learn-step-num::before {
  content: '';
  display: block;
  width: 24px; height: 24px;
  background: var(--teal-bg);
  border-radius: 50%;
  position: absolute;
  top: 36px; left: 28px;
  z-index: 0;
}
.learn-step-num span {
  position: relative;
  z-index: 1;
  padding-left: 8px;
}
.learn-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  margin-top: 8px;
}
.learn-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-40);
  font-weight: 300;
}
.learn-arrow {
  position: absolute;
  right: -14px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--teal);
  font-size: 12px;
}
.learn-step:last-child .learn-arrow { display: none; }

/* ═══════════════════════════════════════════════════════════════
   KEY CONCEPTS GRID
   ═══════════════════════════════════════════════════════════════ */
.concepts-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}
.concepts-intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-40);
  font-weight: 300;
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}
.concept-card {
  padding: 44px 36px;
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background 0.25s;
  cursor: default;
  overflow: hidden;
}
.concept-card:nth-child(3) { border-right: none; }
.concept-card:hover { background: var(--paper-2); }
.concept-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.concept-card:hover::before { transform: scaleX(1); }

.concept-icon {
  width: 40px; height: 40px;
  background: var(--teal-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 18px;
}
.concept-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-40);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.concept-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}
.concept-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-40);
  font-weight: 300;
}

/* second row (2-col) */
.concepts-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-top: none;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}
.concept-card-wide {
  padding: 44px 36px;
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background 0.25s;
  cursor: default;
  overflow: hidden;
}
.concept-card-wide:last-child { border-right: none; }
.concept-card-wide:hover { background: var(--paper-2); }
.concept-card-wide::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.concept-card-wide:hover::before { transform: scaleX(1); }

/* ═══════════════════════════════════════════════════════════════
   LIMITATIONS / PRACTICE SECTION  (dark bg + accordion)
   ═══════════════════════════════════════════════════════════════ */
.practice-section {
  background: var(--ink);
  padding: var(--section-pad-v) var(--section-pad-h);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.practice-inner { max-width: var(--inner-max); margin: 0 auto; }
.practice-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 72px;
}
.practice-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.practice-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 100px;
}
.practice-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  color: white;
  margin-bottom: 28px;
}
.practice-h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-lt);
}
.practice-lead {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* accordion */
.limits-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.limit-item {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}
.limit-item:last-child { border-bottom: none; }
.limit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.limit-header:hover { background: rgba(255,255,255,0.04); }
.limit-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.limit-dot {
  width: 8px; height: 8px;
  background: var(--teal-lt);
  border-radius: 50%;
  flex-shrink: 0;
}
.limit-dot.warn   { background: var(--amber-lt); }
.limit-dot.danger { background: #E07070; }
.limit-name {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.limit-toggle {
  width: 24px; height: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.limit-item.open .limit-toggle {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  transform: rotate(45deg);
}
.limit-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.limit-body-inner {
  padding: 0 28px 22px 52px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   MYTHS VS REALITY
   ═══════════════════════════════════════════════════════════════ */
.myths-section {
  padding: var(--section-pad-v) var(--section-pad-h);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.myths-inner { max-width: var(--inner-max); margin: 0 auto; }

.myths-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}
.myths-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
}
.myths-h2 em { font-style: italic; color: var(--teal); font-weight: 400; }

.myths-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-40);
  font-weight: 300;
}

.myth-table {
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.myth-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.myth-row:last-child { border-bottom: none; }
.myth-row:hover { background: var(--paper-2); }
.myth-col {
  padding: 28px;
  border-right: 1px solid var(--rule);
}
.myth-col:last-child { border-right: none; }
.myth-idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-40);
  padding: 28px 20px;
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  padding-top: 34px;
}
.myth-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
  display: inline-block;
}
.tag-false { background: var(--red-bg);  color: var(--red); }
.tag-true  { background: var(--teal-bg); color: var(--teal-mid); }
.myth-statement {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-80);
  font-style: italic;
}
.myth-reality {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-40);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   PLATFORMS / AI TOOLS
   ═══════════════════════════════════════════════════════════════ */
.platforms-section {
  padding: var(--section-pad-v) var(--section-pad-h);
  border-bottom: 1px solid var(--rule);
}
.platforms-inner { max-width: var(--inner-max); margin: 0 auto; }

.platforms-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.platforms-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  line-height: 1.08;
}
.platforms-h2 em { font-style: italic; color: var(--teal); font-weight: 400; }
.platforms-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-40);
  font-weight: 300;
}

/* platform cards */
.platform-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pcard {
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  background: var(--white);
  cursor: default;
}
.pcard:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  z-index: 2;
}
.pcard-left {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pcard-brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pcard-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.pcard-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  margin-top: 6px;
  white-space: nowrap;
}
.badge-free    { background: var(--teal-bg);  color: var(--teal-mid); }
.badge-fremium { background: var(--amber-bg); color: var(--amber); }
.pcard-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 24px;
}
.pcard-maker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-40);
  letter-spacing: 0.06em;
}
.pcard-body {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
}
.pcard-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-80);
  font-weight: 300;
  margin-bottom: 28px;
}
.pcard-highlight {
  background: var(--paper-2);
  border-left: 3px solid var(--teal);
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-80);
  font-weight: 400;
}
.pcard-highlight strong { color: var(--teal-mid); font-weight: 600; }
.pcard-right {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pcard-use-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 4px;
}
.use-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.use-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-80);
  font-weight: 400;
}
.use-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.pcard-verdict {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.verdict-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 8px;
}
.verdict-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-mid);
  line-height: 1.4;
}

/* featured card variant */
.pcard.featured { border-color: var(--teal); }
.pcard.featured .pcard-left { background: var(--teal-bg); }

/* ═══════════════════════════════════════════════════════════════
   PULL QUOTE
   ═══════════════════════════════════════════════════════════════ */
.quote-section {
  padding: 100px var(--section-pad-h);
  background: var(--ink);
  text-align: center;
}
.quote-inner { max-width: 800px; margin: 0 auto; }
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--teal);
  line-height: 0.5;
  margin-bottom: 32px;
  display: block;
}
.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}
.quote-cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   NEXT PART CTA
   ═══════════════════════════════════════════════════════════════ */
.next-section {
  padding: 80px var(--section-pad-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
}
.next-pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 10px;
}
.next-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--ink);
}
.next-title em { font-style: italic; color: var(--teal); font-weight: 400; }
.next-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: gap 0.2s;
  flex-shrink: 0;
}
.next-btn:hover { gap: 20px; }
.next-circle {
  width: 56px; height: 56px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: var(--white);
}
.next-btn:hover .next-circle {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — tablet (≤1100px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .pcard { grid-template-columns: 240px 1fr; }
  .pcard-right { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — mobile (≤900px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root {
    --section-pad-v: 80px;
    --section-pad-h: 32px;
  }

  /* nav */
  nav { padding: 0 24px; }
  .nav-parts { display: none; }
  .nav-hamburger { display: flex; }

  /* hero */
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 60px 32px; }
  .hero-right { padding: 60px 32px; min-height: 420px; }

  /* what is AI */
  .what-layout { grid-template-columns: 1fr; gap: 48px; margin-bottom: 60px; }
  .what-sticky { position: static; }

  /* how AI learns */
  .learn-visual { grid-template-columns: 1fr 1fr; margin-bottom: 60px; }
  .learn-arrow { display: none; }

  /* concepts */
  .concepts-header { grid-template-columns: 1fr; gap: 24px; }
  .concepts-grid { grid-template-columns: 1fr; border-radius: 6px 6px 0 0; }
  .concept-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .concept-card:nth-child(3) { border-bottom: none; }
  .concepts-grid-2 { grid-template-columns: 1fr; }
  .concept-card-wide { border-right: none; border-bottom: 1px solid var(--rule); }
  .concept-card-wide:last-child { border-bottom: none; }

  /* practice/limitations */
  .practice-layout { grid-template-columns: 1fr; gap: 48px; }

  /* myths */
  .myths-layout { grid-template-columns: 1fr; gap: 32px; }
  .myth-row { grid-template-columns: 1fr; }
  .myth-idx {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 16px 20px;
  }
  .myth-col { border-right: none; border-bottom: 1px solid var(--rule); }
  .myth-col:last-child { border-bottom: none; }

  /* platforms */
  .platforms-header { grid-template-columns: 1fr; gap: 32px; }
  .pcard { grid-template-columns: 1fr; }
  .pcard-left { border-right: none; border-bottom: 1px solid var(--rule); }
  .pcard-right { display: none; }

  /* next */
  .next-section { flex-direction: column; gap: 32px; align-items: flex-start; }

  /* quote */
  .quote-section { padding: 80px 32px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — small phones (≤480px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root {
    --section-pad-v: 60px;
    --section-pad-h: 20px;
  }

  nav { padding: 0 20px; }

  .hero-left { padding: 48px 20px; }
  .hero-right { padding: 48px 20px; min-height: 360px; }

  .hero-lead { font-size: 16px; margin-bottom: 40px; }

  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }

  .stat-n { font-size: 40px; }
  .stat-cell { padding: 20px 16px; }

  .learn-visual { grid-template-columns: 1fr; }

  .s-label { margin-bottom: 48px; }

  .concept-card,
  .concept-card-wide { padding: 32px 24px; }

  .limit-header { padding: 18px 20px; }
  .limit-body-inner { padding: 0 20px 18px 36px; }
  .limit-name { font-size: 14px; }

  .myth-col { padding: 20px; }
  .myth-idx { padding: 14px 16px; }

  .pcard-left,
  .pcard-body { padding: 28px 24px; }

  .pcard-name { font-size: 26px; }

  .next-section { padding: 48px 20px; }

  .what-body p { font-size: 16px; }
}
