:root {
  --primary: #e84560;
  --primary-light: #ff6b83;
  --primary-dark: #c42f48;
  --primary-surface: #fff0f2;

  --neutral-900: #1a1a2e;
  --neutral-700: #4a4a6a;
  --neutral-500: #8a8aa8;
  --neutral-300: #c8c8dc;
  --neutral-100: #f4f4f8;
  --neutral-0: #ffffff;

  --vowel-blue: #4a90d9;
  --consonant-green: #27ae60;
  --batchim-purple: #8e44ad;

  --radius-l: 24px;
  --radius-m: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", "Noto Sans KR", sans-serif;
  color: var(--neutral-900);
  background: var(--neutral-0);
  -webkit-font-smoothing: antialiased;
}

.kr {
  font-family: "Noto Sans KR", sans-serif;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-100);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  color: var(--neutral-900);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--primary-surface) 0%, #ffffff 65%);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-surface);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--primary);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--neutral-700);
  margin: 0 0 32px;
  max-width: 44ch;
}

.hero-sub .jamo-sample {
  font-weight: 800;
  color: var(--neutral-900);
}

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

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--neutral-900);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px rgba(26, 26, 46, 0.18);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(26, 26, 46, 0.24);
}

.store-btn .store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn .store-text small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
}

.store-btn .store-text strong {
  font-size: 16px;
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: 290px;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(142, 68, 173, 0.25);
}

/* Section headings */
.section {
  padding: 88px 0;
}

.section.tight {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-head p {
  font-size: 17px;
  color: var(--neutral-700);
  line-height: 1.6;
  margin: 0;
}

/* Not-a-language-app section */
.compare {
  background: var(--neutral-100);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.compare-card {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 28px;
}

.compare-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
}

.compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--neutral-700);
}

.compare-card.no h3 {
  color: var(--neutral-500);
}

.compare-card.yes h3 {
  color: var(--primary-dark);
}

.compare-card.yes {
  box-shadow: 0 16px 32px rgba(232, 69, 96, 0.12);
  border: 1px solid var(--primary-surface);
}

.mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}

.mark.no {
  background: var(--neutral-300);
  color: #fff;
}

.mark.yes {
  background: var(--primary);
  color: #fff;
}

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}

.feature:not(:last-child) {
  border-bottom: 1px solid var(--neutral-100);
}

.feature.reverse .feature-art {
  order: 2;
}

.feature.reverse .feature-copy {
  order: 1;
}

.feature-art {
  display: flex;
  justify-content: center;
}

.feature-phone {
  width: 240px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(26, 26, 46, 0.18);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-copy h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.feature-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--neutral-700);
  margin: 0;
  max-width: 42ch;
}

.tag-listen {
  background: #e9f5ee;
  color: var(--consonant-green);
}

.tag-show {
  background: #fff0ea;
  color: #e5572b;
}

.tag-practice {
  background: #fff3e2;
  color: #c9770f;
}

/* Content scope */
.scope {
  background: var(--neutral-900);
  color: #fff;
}

.scope .section-head p {
  color: var(--neutral-300);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.scope-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-l);
  padding: 28px 24px;
}

.scope-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.scope-card h4 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 8px;
}

.scope-card p {
  font-size: 14px;
  color: var(--neutral-300);
  line-height: 1.6;
  margin: 0 0 16px;
}

.scope-sample {
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #fff;
}

/* Quote */
.quote {
  background: var(--primary-surface);
}

.quote blockquote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--primary-dark);
}

.quote blockquote p.kr-line {
  font-size: 26px;
  margin: 0 0 16px;
}

.quote blockquote p.en-line {
  font-size: 16px;
  font-weight: 500;
  color: var(--neutral-700);
  margin: 0 0 24px;
}

.quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--neutral-500);
}

/* Final CTA */
.cta-final {
  text-align: center;
}

.cta-final h2 {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 14px;
}

.cta-final p {
  font-size: 17px;
  color: var(--neutral-700);
  margin: 0 0 32px;
}

.cta-final .store-buttons {
  justify-content: center;
}

/* Footer */
footer {
  border-top: 1px solid var(--neutral-100);
  padding: 32px 0;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

footer .foot-meta {
  font-size: 13px;
  color: var(--neutral-500);
}

footer .foot-meta a {
  text-decoration: none;
  color: var(--neutral-500);
}

footer .foot-meta a:hover {
  color: var(--primary);
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 48px;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    width: 220px;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature .feature-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .feature.reverse .feature-art,
  .feature.reverse .feature-copy {
    order: unset;
  }

  .feature-art {
    order: -1;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .section-head h2 {
    font-size: 28px;
  }

  footer .wrap {
    flex-direction: column;
    text-align: center;
  }
}
