:root {
  --ink: #050505;
  --text: #282828;
  --muted: #595959;
  --quiet: #8a8a8a;
  --line: #d8d8d8;
  --panel: #f3f3f0;
  --white: #ffffff;
  --yellow: #ffc83d;
  --blue: #1f6feb;
  --max: 1248px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 max(32px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8e8e8;
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-note,
.footer-brand span:last-child {
  color: var(--quiet);
  font-size: 13px;
  font-weight: 600;
}

.brand-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-family: Manrope, Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:not(.nav-cta):hover,
.site-footer a:hover {
  color: var(--blue);
}

.nav-cta,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
}

.nav-cta {
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
}

.button {
  min-height: 54px;
  padding: 0 25px;
  border: 2px solid transparent;
  font-size: 15px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-outline {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--white);
}

.button-yellow {
  width: fit-content;
  color: var(--ink);
  background: var(--yellow);
}

.hero {
  width: min(var(--max), calc(100% - 64px));
  min-height: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding: 84px 0 74px;
}

.hero-copy {
  max-width: 690px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.status-pill {
  width: fit-content;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2 {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 690px;
  font-size: clamp(54px, 6vw, 76px);
  line-height: 1.03;
}

.lead {
  max-width: 600px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.app-preview {
  width: 455px;
  min-height: 520px;
  flex: 0 0 455px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: var(--panel);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.speaker-mark {
  width: 56px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink);
}

.preview-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}

.preview-copy h2 {
  font-size: 34px;
  line-height: 1.12;
}

.preview-copy p {
  color: #666666;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.preview-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
}

.preview-item {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border: 1px solid #d7d7d7;
  border-radius: 20px;
  background: var(--white);
}

.preview-item.active {
  min-height: 84px;
  border: 2px solid var(--ink);
  border-radius: 22px;
}

.preview-item span:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.preview-item strong {
  font-size: 18px;
  font-weight: 900;
}

.preview-item small {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
}

.preview-item.active small {
  color: var(--blue);
  font-size: 13px;
}

.toggle {
  width: 78px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
}

.course-section,
.languages-section,
.skills-section,
.final-section {
  padding-left: max(32px, calc((100vw - var(--max)) / 2));
  padding-right: max(32px, calc((100vw - var(--max)) / 2));
}

.course-section {
  display: flex;
  align-items: stretch;
  gap: 44px;
  padding-top: 78px;
  padding-bottom: 78px;
  background: var(--panel);
}

.course-copy {
  width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.section-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-copy h2,
.section-heading h2 {
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.12;
}

.course-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.62;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.proof-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.course-card {
  width: 560px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  border-radius: 30px;
  color: var(--white);
  background: var(--ink);
}

.course-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.course-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--ink);
  background: var(--yellow);
  font-family: Manrope, Inter, sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.course-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.course-card h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 38px;
  line-height: 1.1;
}

.course-card p {
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.56;
}

.languages-section {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-top: 82px;
  padding-bottom: 82px;
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.section-heading > div {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-heading > span {
  color: var(--quiet);
  font-size: 14px;
  font-weight: 900;
}

.language-grid,
.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.language-card {
  width: 190px;
  height: 122px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
}

.language-card.active {
  background: var(--yellow);
}

.flag-pill {
  width: 84px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--panel);
}

.language-card.active .flag-pill {
  background: var(--white);
}

.language-card strong {
  font-size: 17px;
  font-weight: 900;
}

.language-card small {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-card.active small {
  color: var(--blue);
}

.skills-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 78px;
  padding-bottom: 78px;
  background: var(--panel);
}

.skills-section .section-heading > h2 {
  max-width: 620px;
}

.skills-section .section-heading > p {
  max-width: 430px;
  font-size: 17px;
  line-height: 1.59;
}

.skill-grid {
  gap: 16px;
}

.skill-grid article {
  width: 196px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.skill-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.skill-grid h3 {
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.24;
}

.skill-grid p {
  color: #666666;
  font-size: 14px;
  line-height: 1.5;
}

.final-section {
  display: flex;
  flex-direction: column;
  gap: 42px;
  padding-top: 74px;
  padding-bottom: 52px;
  background: var(--white);
}

.final-cta {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 42px 52px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: var(--yellow);
}

.final-cta h2 {
  max-width: 620px;
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.08;
}

.final-cta p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.final-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.final-mark > span {
  width: 164px;
  height: 164px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-family: Manrope, Inter, sans-serif;
  font-size: 44px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .site-header,
  .course-section,
  .languages-section,
  .skills-section,
  .final-section {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero {
    width: calc(100% - 64px);
    gap: 42px;
  }

  .course-section,
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-copy,
  .course-card,
  .app-preview {
    width: 100%;
    max-width: 720px;
    flex-basis: auto;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .brand-note {
    display: none;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    width: calc(100% - 40px);
    min-height: 0;
    padding: 56px 0;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    width: auto;
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions .button,
  .button-yellow,
  .final-mark .button {
    width: 100%;
  }

  .app-preview {
    min-height: 0;
    padding: 20px;
    border-radius: 26px;
  }

  .course-section,
  .languages-section,
  .skills-section,
  .final-section {
    padding: 56px 20px;
  }

  .course-card {
    min-height: 0;
    border-radius: 24px;
  }

  .course-card h2 {
    font-size: 32px;
  }

  .language-card,
  .skill-grid article {
    width: 100%;
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .final-mark {
    width: 100%;
  }

  .final-mark > span {
    width: 132px;
    height: 132px;
    font-size: 36px;
  }

  .site-footer,
  .site-footer nav,
  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }
}
