@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("/fonts/LINESeedSansTH-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("/fonts/LINESeedSansTH-Regular.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("/fonts/LINESeedSansTH-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("/fonts/LINESeedSansTH-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("/fonts/LINESeedSansTH-Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --banana: #ffd93d;
  --banana-deep: #ffc817;
  --banana-soft: #fff3c4;
  --cream: #fff8ee;
  --cream-card: #fff6da;
  --sky-top: #c9e8fb;
  --sky-mid: #e8f4ff;
  --sky-bottom: #fff7e8;
  --ink: #1c1c1c;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(40, 30, 10, 0.08);
  --radius-xl: 32px;
  --max: 1120px;
  --font: "LINE Seed Sans TH", "Noto Sans Thai", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  transition: background 220ms ease, backdrop-filter 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 248, 238, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(40, 30, 10, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 180ms ease;
}

.logo:hover { transform: translateY(-2px); }

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-size: 22px;
  font-weight: 800;
}

.logo-text span {
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-disabled {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 99px;
  background: var(--banana);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover { color: #111; }
.nav-links a.is-current:not(.btn)::after { transform: scaleX(1); }

.nav-mobile {
  display: none;
  align-items: center;
  gap: 14px;
}

.nav-mobile a:not(.btn) {
  font-weight: 600;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.btn-yellow {
  background: var(--banana);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 26px;
  box-shadow: 0 6px 0 rgba(230, 170, 20, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-yellow:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 0 rgba(230, 170, 20, 0.2);
}

.btn-yellow:hover .btn-icon { transform: translateX(4px); }

.btn-yellow:active {
  transform: scale(0.97) translateY(3px);
  box-shadow: 0 2px 0 rgba(230, 170, 20, 0.16);
}

.btn-hero {
  min-width: 180px;
  padding: 16px 36px;
  font-size: 20px;
}

.btn-hero .btn-icon {
  width: 20px;
  height: 20px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 248, 238, 0.72) 0%, rgba(255, 248, 238, 0.28) 36%, transparent 58%),
    url("/images/website/hero-sky-path.jpg") right center / cover no-repeat;
  padding: 16px 0 92px;
}

.hero::before { display: none; }

.hero .sun,
.hero-path,
.hero .chip { display: none; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(18px);
}

.hero.is-ready .hero-line {
  animation: riseIn 700ms cubic-bezier(.2,.8,.2,1) forwards;
}

.hero.is-ready .hero-line:nth-child(2) { animation-delay: 90ms; }
.hero.is-ready .hero-line:nth-child(3) { animation-delay: 180ms; }

.hero-copy h1 .accent { color: var(--banana-deep); }

.hero-copy .subhead {
  margin: 0 0 28px;
  max-width: 22em;
  color: var(--ink-soft);
}

.subhead-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.subhead-follow {
  display: block;
  margin-top: 6px;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.45;
}

.subhead-star {
  color: var(--banana);
  font-size: 0.72em;
  line-height: 1;
}

.cta-expect {
  margin: 14px 0 0;
  max-width: 36ch;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
}

.store-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.store-line svg { flex: 0 0 auto; }

.hero-art {
  position: relative;
  min-height: 560px;
}

.sun {
  position: absolute;
  right: 8%;
  top: 6%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fffef4 0%, #ffe27a 42%, #ffd93d 70%, transparent 72%);
  filter: blur(0.2px);
  box-shadow: 0 0 60px 20px rgba(255, 225, 120, 0.55);
}

.hero.is-ready .sun { animation: sunPulse 6s ease-in-out infinite; }

.hero-path {
  position: absolute;
  inset: 18% -8% -10% -10%;
  width: 122%;
  height: 104%;
  pointer-events: none;
}

.hero-path .draw-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.hero.is-ready .hero-path .draw-path {
  animation: drawPath 1.2s ease forwards;
}

.hero-teacher {
  position: absolute;
  left: 50%;
  top: 48px;
  bottom: -36px;
  width: min(380px, 76%);
  transform: translateX(calc(-50% + 36px));
  opacity: 0;
  z-index: 2;
}

.hero-team {
  top: 4px;
  bottom: -20px;
  width: min(590px, 112%);
  transform: translateX(calc(-50% + 42px));
}

.hero-team::after {
  position: absolute;
  z-index: 0;
  right: 4%;
  bottom: 20px;
  width: 74%;
  height: 42px;
  border-radius: 50%;
  background: rgba(61, 38, 8, .28);
  content: "";
  filter: blur(14px);
  transform: skewX(-8deg);
}

.hero-team img { position: relative; z-index: 1; }

.hero.is-ready .hero-teacher {
  animation: teacherEnter 900ms 280ms cubic-bezier(.2,.8,.2,1) forwards;
}

.hero-teacher img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 18px rgba(80, 50, 10, 0.12));
  transform-origin: bottom center;
}

.hero.is-ready .hero-teacher img {
  animation: teacherIdle 5.4s 1.4s ease-in-out infinite;
}

.chip {
  position: absolute;
  z-index: 3;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(20, 30, 50, 0.12);
  opacity: 0;
}

.hero.is-ready .chip {
  opacity: 1;
  animation: chipFloat 4.8s ease-in-out infinite;
}

.hero.is-ready .chip-speech { animation-duration: 5.6s; animation-delay: 0.4s; }
.hero.is-ready .chip-star { animation-duration: 6.2s; animation-delay: 0.8s; }

.chip-heart {
  left: 10%;
  top: 18%;
  background: #ffe566;
}

.chip-speech {
  right: 8%;
  top: 36%;
  background: #5aa7ff;
}

.chip-star {
  left: 16%;
  bottom: 22%;
  background: #2ec4b6;
}

.stats {
  position: relative;
  z-index: 4;
  margin-top: -56px;
  margin-bottom: 24px;
}

.stats-card {
  background: var(--white);
  border-radius: 36px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 36px 12px 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 4px 16px;
}

.stat + .stat { border-left: 1px solid #ece7db; }

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: scale(0.72);
}

.stats.is-counted .stat-icon {
  animation: iconPop 420ms 180ms cubic-bezier(.2,.8,.2,1) forwards;
}

.stats.is-counted .stat:nth-child(2) .stat-icon { animation-delay: 260ms; }
.stats.is-counted .stat:nth-child(3) .stat-icon { animation-delay: 340ms; }

.stat-icon.people { background: #f3e2b8; color: #c48a3a; }
.stat-icon.mic { background: #c8efe8; color: #1aa39a; }
.stat-icon.clock { background: #d5e6ff; color: #3b7cff; }
.stat-icon.star { background: #fff1b8; color: #d4a017; }

.stat strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

#teachers,
#download {
  scroll-margin-top: 88px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
}

.section-head .lead {
  margin: 0;
  max-width: 36ch;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- How it works ---------- */

.how {
  padding: 36px 0 8px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.how-card {
  text-align: center;
}

.how-card > h3 {
  margin: 8px 0 6px;
  font-size: 20px;
}

.how-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.how-step {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 16px 0 0;
  border-radius: 50%;
  background: var(--banana);
  font-weight: 800;
}

.phone {
  width: min(240px, 100%);
  margin: 0 auto;
  background: #1c1c1c;
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 18px 30px rgba(40, 30, 10, 0.12);
}

.phone-lg {
  width: min(372px, 94%);
}

.phone-shot {
  width: min(240px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(40, 30, 10, 0.16));
}

.phone-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-shot-lg {
  width: min(330px, 84%);
}

.phone-screen {
  background: #fff9ee;
  border-radius: 24px;
  min-height: 390px;
  padding: 14px 14px 16px;
  text-align: left;
}

.phone-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.phone-bar img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.phone-bar strong { font-size: 13px; }

.phone-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.phone-screen > h3 {
  margin: 2px 0 4px;
  font-size: 22px;
}

.phone-th {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.phone-hero,
.phone-mission {
  display: grid;
  place-items: center;
  height: 120px;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff3c4;
}

.phone-hero img,
.phone-mission img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.phone-mission img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-emoji {
  margin: 18px 0 8px;
  font-size: 64px;
  line-height: 1;
  text-align: center;
}

.phone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.phone-chips span {
  background: var(--banana);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
}

.phone-hint,
.phone-bubble {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.phone-bubble span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.phone-mic {
  display: grid;
  place-items: center;
  background: var(--banana);
  border-radius: 999px;
  padding: 10px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

/* ---------- Outcomes ---------- */

.outcomes {
  padding: 40px 0 8px;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outcome-list li {
  background: var(--white);
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

.outcome-list strong {
  display: block;
  font-size: 18px;
}

.outcome-list span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Characters ---------- */

.characters {
  padding: 64px 0 30px;
}

.characters h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
}

.characters-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  background: var(--banana);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-label {
  font-weight: 700;
  font-size: 18px;
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #ececec;
  color: #9a9a9a;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 320ms cubic-bezier(.34, 1.45, .64, 1), background 180ms ease;
}

.icon-btn:hover:not(:disabled) { transform: scale(1.08); }
.icon-btn:active:not(:disabled) { transform: scale(0.94); }

.icon-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.icon-btn.is-active,
.icon-btn:not(:disabled) {
  background: var(--banana);
  color: var(--ink);
}

.carousel-shell {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.carousel-peek-next {
  position: absolute;
  right: -6px;
  top: 38%;
  z-index: 5;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: var(--banana);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(230, 170, 20, 0.28);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 320ms cubic-bezier(.34, 1.45, .64, 1);
}

.carousel-peek-next:hover { transform: scale(1.06); }
.carousel-peek-next:active { transform: scale(0.96); }
.carousel-peek-next[hidden] { display: none; }

.carousel-viewport img { pointer-events: none; }

.carousel-viewport.is-dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.carousel-track.is-dragging { transition: none; }

.char-card {
  flex: 0 0 calc((100% - 72px) / 3.13);
  background: #fff;
  border: 1px solid #efe6d0;
  border-radius: 28px;
  padding: 0 10px 22px;
  text-align: center;
  opacity: 0.78;
  transform: scale(1);
  transition: transform 220ms ease, opacity 220ms ease, background 220ms ease, border-color 220ms ease;
}

.char-card.is-center {
  opacity: 1;
  transform: scale(1.02);
}

.char-card[data-char="teacher"] { --card-tint: #fff3c4; }
.char-card[data-char="minnie"] { --card-tint: #e7f3ff; }
.char-card[data-char="john"] { --card-tint: #eef2f8; }
.char-card[data-char="bogey"] { --card-tint: #fff6da; }
.char-card[data-char="nina"] { --card-tint: #f4eef6; }
.char-card[data-char="torto"] { --card-tint: #eef6ea; }

@media (hover: hover) and (pointer: fine) {
  .char-card:hover {
    background: var(--card-tint, var(--cream-card));
    transform: translateY(-7px);
  }

  .char-card.is-center:hover {
    transform: scale(1.02) translateY(-7px);
  }

  .char-card:hover .char-figure img {
    transform: scale(1.06);
  }
}

.char-figure {
  width: 196px;
  height: 196px;
  margin: 20px auto 0;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 4px solid rgba(255, 255, 255, .95);
  border-radius: 50%;
  background: var(--card-tint, var(--cream-card));
  box-shadow: 0 10px 22px rgba(57, 45, 16, .1);
}

.char-figure img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 220ms ease;
}

.char-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.char-card .role {
  display: inline-flex;
  align-items: center;
  background: var(--banana);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
}

.dots button {
  width: 9px;
  height: 9px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #d9d3c4;
  cursor: pointer;
}

.dots button.is-current { background: var(--banana-deep); width: 22px; border-radius: 999px; }

/* ---------- Real conversation ---------- */

.conversation-research {
  padding: 76px 0 62px;
}

.research-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "art copy";
  gap: clamp(20px, 5vw, 64px);
  align-items: center;
}

.research-copy { grid-area: copy; padding: 8px 0; }

.research-art {
  grid-area: art;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.research-art img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: #b17600;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.research-copy h2,
.free-fun-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.research-copy h2 {
  max-width: 17ch;
  font-size: clamp(29px, 3.55vw, 46px);
}

.research-body {
  max-width: 47ch;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.62;
}

.research-body p { margin: 14px 0 0; }

.research-body p:first-child {
  margin-top: 19px;
  padding-left: 14px;
  border-left: 4px solid var(--banana-deep);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.research-body strong { color: #8e6200; }

.research-mantra {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.58;
}

.research-mantra strong {
  color: var(--ink);
  font-size: 16px;
}

.skill-results {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.skill-results span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #eee4c8;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.skill-results b { font-size: 16px; line-height: 1; }

.skill-results .is-speaking {
  border-color: #f7c81e;
  background: #ffe36b;
  color: #563b00;
  box-shadow: 0 5px 12px rgba(232, 171, 0, .18);
}

/* ---------- Free and fun ---------- */

.free-fun { padding: 66px 0 76px; }

.free-fun-panel {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
}

.free-fun-art {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 420px;
  overflow: hidden;
}

.free-fun-scene {
  position: relative;
  width: min(100%, 550px);
  aspect-ratio: 1429 / 1100;
}

.free-fun-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.free-fun-float {
  pointer-events: none;
  will-change: transform;
  animation: vocabFloat 5.8s ease-in-out infinite;
}

.free-fun-float--hello {
  clip-path: polygon(11.2% 8.2%, 28.1% 5.9%, 33.1% 31.7%, 16.5% 35.6%);
  animation-delay: -.8s;
}

.free-fun-float--go {
  clip-path: polygon(33.3% .9%, 50.2% 4%, 52.6% 26.9%, 32.2% 30.9%);
  animation-delay: -2.6s;
}

.free-fun-float--apple {
  clip-path: polygon(66.4% 3.8%, 84.1% 9.5%, 78.9% 38%, 60.3% 31.8%);
  animation-delay: -4.1s;
}

.free-fun-float--orbit {
  clip-path: polygon(63.1% 34.7%, 87.3% 35.3%, 100% 46.2%, 100% 73.8%, 85.5% 86.1%, 65.6% 86%, 52.5% 73.8%, 52.8% 53.7%);
  animation-duration: 7.4s;
  animation-delay: -1.7s;
}

@keyframes vocabFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -8px, 0) rotate(1.2deg); }
}

.free-fun-copy {
  align-self: center;
  padding: 22px 0;
}

.free-fun-copy .eyebrow { color: #B87900; }
.free-fun-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.18; letter-spacing: -.035em; }
.free-fun-copy p { margin: 18px 0 0; color: var(--ink-soft); font-size: 17px; font-weight: 500; line-height: 1.65; }
.free-fun-copy p + p { margin-top: 13px; }
.free-fun-copy strong { color: #9a6500; }

/* ---------- Download ---------- */

.download {
  padding: 44px 0 72px;
}

.download-panel {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(255, 228, 90, 0.55) 0%, rgba(255, 236, 140, 0.18) 42%, transparent 62%),
    url("/images/website/download-road-bg.png") right center / cover no-repeat;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: 340px;
  padding: 28px 28px 0 52px;
}

.download-path,
.download-art .float-chip { display: none; }

.download-copy {
  align-self: center;
  padding: 12px 0 36px;
}

.download-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.25;
  max-width: 12ch;
}

.download-copy p {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 500;
  max-width: 28ch;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 8px 16px 8px 12px;
  text-decoration: none;
  min-width: 176px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-btn svg {
  flex: 0 0 auto;
  overflow: visible;
}

.store-btn:hover { transform: translateY(-3px); }
.store-btn:active { transform: translateY(1px); }

.store-btn small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.02em;
  opacity: 0.9;
  font-weight: 400;
}

.store-btn strong {
  display: block;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 600;
}

.store-btn.is-disabled {
  pointer-events: none;
  opacity: 0.88;
}

.download-art {
  position: relative;
  min-height: 320px;
}

.download-path {
  position: absolute;
  inset: -10% -8% -20% 10%;
}

.download-phone {
  position: relative;
  z-index: 2;
  margin: 8px auto 0;
  transform: translateY(28px);
  opacity: 0;
  transform-style: preserve-3d;
}

.download.is-in .download-phone {
  opacity: 1;
  transform: translateY(0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 180ms ease;
}

.download-phone img {
  animation: screenDrift 8s ease-in-out infinite;
}

.float-chip {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(20, 30, 50, 0.12);
}

.float-chip.a { left: 8%; top: 28%; background: #5aa7ff; }
.float-chip.b { right: 10%; top: 18%; background: #ffe566; }
.float-chip.c { right: 6%; bottom: 28%; background: #2ec4b6; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 14px 0 18px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
}

.footer-logo .logo-text strong {
  font-size: 24px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-links span {
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover { text-decoration: underline; }

.footer-links .nav-disabled { opacity: 0.5; }

.copy {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero { background-position: 72% center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .subhead,
  .cta-expect { margin-left: auto; margin-right: auto; }
  .hero-copy .subhead-lead { justify-content: center; }
  .hero-cta { display: flex; flex-direction: column; align-items: center; }
  .how-grid,
  .outcome-list { grid-template-columns: 1fr; }
  .hero-art { min-height: 500px; }
  .hero-teacher { top: 36px; }
  .hero-team { top: 8px; bottom: -12px; width: min(520px, 106%); }
  .stats-card { grid-template-columns: 1fr; padding: 18px 12px; }
  .stat { padding: 16px 12px; }
  .stat + .stat { border-left: 0; border-top: 1px solid #ece7db; }
  .stat strong { font-size: 30px; }
  .download-panel {
    grid-template-columns: 1fr;
    padding: 36px 24px 0;
    text-align: center;
    background-position: 70% center;
  }
  .download-copy h2,
  .download-copy p { max-width: none; }
  .store-buttons { justify-content: center; }
  .download-art { min-height: 340px; }

  .research-panel { grid-template-columns: 1fr; grid-template-areas: "art" "copy"; }
  .research-art { min-height: 360px; }
  .free-fun-panel { grid-template-columns: 1fr; }
  .free-fun-art { min-height: 360px; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .nav { min-height: 64px; }
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
  .logo-text strong { font-size: 18px; }
  .hero { padding-bottom: 72px; }
  .hero-art { min-height: 420px; }
  .hero-teacher { top: 28px; width: min(300px, 72%); }
  .hero-team { top: 16px; bottom: -8px; width: min(420px, 108%); }

  .characters {
    padding: 36px 0 28px;
    overflow: hidden;
  }
  .characters h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 14px;
  }
  .characters-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
  }
  .pill {
    padding: 6px 12px;
    font-size: 13px;
  }
  .carousel-controls { gap: 8px; }
  .page-label { font-size: 15px; min-width: 3.2em; text-align: center; }
  .icon-btn { width: 40px; height: 40px; }
  .carousel-peek-next { display: none; }
  .carousel-viewport {
    overflow: hidden;
    border-radius: 24px;
  }
  .carousel-track { gap: 0; }
  .char-card {
    flex: 0 0 var(--carousel-card-width, 100%);
    width: var(--carousel-card-width, 100%);
    min-width: var(--carousel-card-width, 100%);
    max-width: var(--carousel-card-width, 100%);
    opacity: 1;
    transform: none;
    padding: 10px 16px 22px;
    border-radius: 24px;
  }
  .char-card.is-center {
    transform: none;
  }
  .char-figure {
    width: min(200px, 54vw);
    height: min(200px, 54vw);
    margin-top: 18px;
  }
  .char-card h3 {
    margin: 14px 0 8px;
    font-size: 22px;
  }
  .char-card .role {
    max-width: calc(100% - 8px);
    font-size: 13px;
    padding: 7px 14px;
    white-space: nowrap;
  }
  .dots { margin-top: 18px; gap: 10px; }
  .dots button {
    width: 8px;
    height: 8px;
    box-sizing: content-box;
    padding: 8px;
    background-clip: content-box;
  }
  .dots button.is-current { width: 22px; }

  .conversation-research { padding: 56px 0 42px; }
  .research-copy { padding: 8px 0 12px; text-align: center; }
  .research-copy h2 { margin-left: auto; margin-right: auto; }
  .research-body { margin-left: auto; margin-right: auto; }
  .research-art { min-height: 300px; }
  .research-art img { max-height: 340px; }
  .free-fun { padding: 44px 0 58px; }
  .download { padding: 32px 0 48px; }
  .free-fun-art { min-height: 290px; }
  .free-fun-scene { width: min(100%, 376px); }
  .free-fun-copy { padding: 32px 24px 36px; }
  .free-fun-copy p { font-size: 16px; }
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .nav { gap: 8px; }
  .nav > .logo { gap: 8px; flex-shrink: 0; }
  .logo-text strong { font-size: 16px; }
  .nav-mobile { gap: 8px; }
  .nav-mobile a:not(.btn) { font-size: 12px; }
  .nav-mobile .btn-yellow { padding: 10px 14px; font-size: 13px; }
}

@media (min-width: 721px) {
  .nav-mobile { display: none; }
}

main { position: relative; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: 600ms cubic-bezier(.2,.8,.2,1);
}

.how-card[data-reveal]:nth-child(2) { transition-delay: 80ms; }
.how-card[data-reveal]:nth-child(3) { transition-delay: 160ms; }
.outcome-list li[data-reveal]:nth-child(2) { transition-delay: 80ms; }
.outcome-list li[data-reveal]:nth-child(3) { transition-delay: 160ms; }
.outcome-list li[data-reveal]:nth-child(4) { transition-delay: 240ms; }

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

@keyframes teacherEnter {
  to { opacity: 1; transform: translateX(-50%); }
}

@keyframes teacherIdle {
  0%, 88%, 100% { transform: translateY(0) rotate(0); }
  92% { transform: translateY(-5px) rotate(-1.2deg); }
  96% { transform: translateY(0) rotate(0.6deg); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sunPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.78; transform: scale(1.04); }
}

@keyframes iconPop {
  to { transform: scale(1); }
}

@keyframes screenDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track,
  [data-reveal],
  .btn-yellow,
  .store-btn,
  .logo,
  .icon-btn,
  .carousel-peek-next,
  .char-card,
  .char-figure img,
  .download-phone,
  .nav-links a::after {
    transition: none !important;
    animation: none !important;
  }
  .hero-line,
  .hero-teacher,
  .hero-teacher img,
  .chip,
  .sun,
  .stat-icon,
  .download-phone,
  .download-phone img,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hero-teacher { transform: translateX(-50%) !important; }
  .hero-path .draw-path { stroke-dashoffset: 0 !important; }
}
