:root {
  --bg: #FDFAF6;
  --surface: #FFFFFF;
  --fg: #1C1917;
  --fg-muted: #78716C;
  --accent: #C9621A;
  --accent-light: #F4E4D4;
  --accent-warm: #E8A87C;
  --text-on-accent: #FFFFFF;
  --border: #E7E2DA;
  --hero-eye: #44403C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
}

/* ── NAV ── */
.nav {
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.nav-tag {
  font-size: 12px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ── HERO ── */
.hero {
  padding: 72px 48px 64px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-headline em {
  color: var(--accent);
  font-style: normal;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}

/* ── HERO DEVICE FRAME ── */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.device-frame {
  background: #1C1917;
  border-radius: 20px;
  padding: 16px 16px 0 16px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.device-screen {
  background: #FDFAF6;
  border-radius: 12px;
  padding: 20px;
  min-height: 280px;
}
.device-base {
  height: 20px;
  background: #1C1917;
  border-radius: 0 0 12px 12px;
  margin: 0 -16px;
}

/* ── CHAT THREAD ── */
.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.chat-msg--ai { justify-content: flex-start; }
.chat-msg--student { justify-content: flex-end; }
.chat-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-bubble {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 2px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 75%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.chat-msg--student .chat-bubble {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px 12px 2px 12px;
}
.chat-msg--student .chat-bubble p { color: rgba(255,255,255,0.9); }
.chat-bubble p { margin-bottom: 6px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble strong { color: var(--accent); }
.chat-msg--student .chat-bubble strong { color: #FFDDB8; }

/* ── STAT ROW ── */
.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 16px 20px;
  text-align: center;
}
.stat-val {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
  font-weight: 500;
}

/* ── HOW IT WORKS ── */
.hiw {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}
.hiw-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}
.hiw-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hiw-header p {
  color: var(--fg-muted);
  font-size: 17px;
}
.hiw-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.hiw-card {
  background: var(--bg);
  padding: 40px 36px;
}
.hiw-num {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 16px;
  line-height: 1;
}
.hiw-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
}
.hiw-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── CURRICULUM ── */
.curriculum {
  padding: 80px 48px;
}
.curriculum-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.curriculum-text h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
}
.curriculum-text > p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
}
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.curriculum-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.curriculum-col ul {
  list-style: none;
}
.curriculum-col li {
  font-size: 14px;
  color: var(--fg-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.curriculum-col li:last-child { border-bottom: none; }

/* ── DIFFERENCE ── */
.difference {
  background: #1C1917;
  color: white;
  padding: 80px 48px;
}
.diff-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}
.diff-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}
.diff-header p { color: #A8A29E; font-size: 17px; }
.diff-table {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
}
.diff-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.diff-row:last-child { border-bottom: none; }
.diff-row > span {
  padding: 18px 24px;
  font-size: 15px;
}
.diff-row--header .diff-th {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #A8A29E;
  background: rgba(255,255,255,0.04);
}
.diff-th--tasa { background: rgba(201,98,26,0.15) !important; color: var(--accent-warm) !important; }
.diff-feature {
  font-weight: 500;
  color: #D6D3D1;
}
.diff-row:not(.diff-row--header) span:nth-child(2) { color: #A8A29E; }
.diff-win { color: var(--accent-warm); font-weight: 600; }

/* ── CLOSING ── */
.closing {
  padding: 100px 48px;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.closing-sub {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px !important;
  color: var(--accent) !important;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}
.footer-meta p {
  font-size: 13px;
  color: var(--fg-muted);
  text-align: right;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner,
  .curriculum-inner { grid-template-columns: 1fr; gap: 48px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .curriculum-grid { grid-template-columns: 1fr 1fr; }
  .diff-row { grid-template-columns: 1fr 1fr; }
  .diff-row > span:first-child { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-meta p { text-align: center; }
}
@media (max-width: 600px) {
  .nav, .hero, .hiw, .curriculum, .difference, .closing, .footer {
    padding-left: 20px; padding-right: 20px;
  }
  .curriculum-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 28px; }
}