:root {
  --navy: #081c36;
  --navy-2: #0d2c50;
  --orange: #f27a0a;
  --orange-soft: #ffb45b;
  --cream: #f6f3ed;
  --paper: #fffefd;
  --ink: #10233b;
  --muted: #607083;
  --line: #dce3e9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  align-items: center;
  background: rgba(255, 254, 253, 0.94);
  border-bottom: 1px solid rgba(8, 28, 54, 0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 82px;
  left: 0;
  padding: 0 clamp(22px, 5vw, 76px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-self: start;
}

.brand-lockup img {
  height: 33px;
  object-fit: contain;
  width: auto;
}

.brand-lockup .h2e2-small {
  height: 42px;
}

.partner-plus {
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 800;
}

.topbar nav {
  display: flex;
  gap: 34px;
}

.topbar nav a,
.footer-links a {
  color: #405269;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.topbar nav a:hover,
.footer-links a:hover {
  color: var(--orange);
}

.header-cta {
  align-items: center;
  background: var(--navy);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 12px;
  justify-self: end;
  padding: 13px 20px;
  transition: transform 180ms ease, background 180ms ease;
}

.header-cta:hover,
.primary-button:hover,
.outline-button:hover,
.whatsapp-button:hover {
  transform: translateY(-2px);
}

.hero {
  background:
    radial-gradient(circle at 72% 38%, rgba(242, 122, 10, 0.13), transparent 28%),
    linear-gradient(145deg, #071a31 0%, #0a2442 56%, #06172c 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent);
  position: absolute;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(48px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: 690px;
  padding: 88px clamp(24px, 6vw, 90px) 80px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  color: #cbd7e5;
  display: flex;
  font-size: 0.74rem;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.17em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--orange);
  height: 2px;
  width: 32px;
}

.eyebrow.dark {
  color: var(--orange);
}

.hero h1 {
  font-size: clamp(3.1rem, 6.3vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.97;
  margin: 0;
  max-width: 900px;
}

.hero h1 span {
  color: var(--orange-soft);
  display: block;
}

.hero-lead {
  color: #c4d0dd;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 30px 0 0;
  max-width: 650px;
}

.hero-lead strong {
  color: white;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 38px;
}

.primary-button,
.outline-button,
.whatsapp-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  background: var(--orange);
  box-shadow: 0 14px 36px rgba(242, 122, 10, 0.25);
  color: white;
  padding: 17px 24px;
}

.text-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 9px 0;
}

.hero-visual {
  min-height: 460px;
  position: relative;
}

.orange-orbit {
  border: 1px solid rgba(255, 161, 64, 0.35);
  border-radius: 50%;
  height: 430px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-48%, -50%);
  width: 430px;
}

.orange-orbit::before,
.orange-orbit::after {
  border: inherit;
  border-radius: inherit;
  content: "";
  inset: 36px;
  position: absolute;
}

.orange-orbit::after {
  inset: 78px;
}

.visual-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
  color: var(--ink);
  position: absolute;
}

.main-card {
  left: 50%;
  padding: 34px;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  width: min(390px, 86vw);
}

.main-card > p {
  color: #6e7d8f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.partner-showcase {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr auto 0.7fr;
}

.partner-showcase img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
}

.partner-showcase span {
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 800;
}

.course-chips {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
}

.course-chips span {
  background: #edf2f6;
  border-radius: 99px;
  color: #39506a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 8px 11px;
}

.teacher-card {
  align-items: center;
  bottom: 18px;
  display: flex;
  gap: 12px;
  left: -4px;
  padding: 14px 18px;
}

.teacher-card > span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 3px;
}

.teacher-card small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.teacher-monogram,
.teacher-badge-large {
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: white;
  display: flex;
  font-weight: 800;
  justify-content: center;
}

.teacher-monogram {
  height: 42px;
  width: 42px;
}

.lessons-card {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  right: -4px;
  top: 30px;
}

.lessons-card strong {
  color: var(--orange);
  font-size: 1.9rem;
}

.lessons-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.trust-strip {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  padding: 26px clamp(24px, 6vw, 90px);
  position: relative;
  z-index: 1;
}

.trust-strip p {
  color: white;
  font-size: 0.83rem;
  font-weight: 800;
  margin: 0;
}

.trust-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.trust-strip span {
  color: #aebed0;
  font-size: 0.76rem;
  font-weight: 700;
}

.courses-section,
.method-section {
  margin: 0 auto;
  max-width: 1440px;
  padding: 112px clamp(24px, 6vw, 90px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.45fr 0.55fr;
  margin-bottom: 58px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.section-heading h2,
.partnership-copy h2,
.teacher-section h2,
.final-cta h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 0;
}

.section-heading > p,
.partnership-copy > p,
.teacher-section > div > p:last-child {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.course-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  overflow: hidden;
  padding: 27px;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.course-card::before {
  background: var(--card-color);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.course-card.green {
  --card-color: #18864b;
  --card-soft: #e8f6ee;
}

.course-card.purple {
  --card-color: #7749d8;
  --card-soft: #f1ecff;
}

.course-card.blue {
  --card-color: #2676c9;
  --card-soft: #eaf4ff;
}

.course-card.orange {
  --card-color: var(--orange);
  --card-soft: #fff2e5;
}

.course-card:hover {
  border-color: var(--card-color);
  box-shadow: 0 22px 55px rgba(8, 28, 54, 0.12);
  transform: translateY(-8px);
}

.course-card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.course-number {
  color: #8896a6;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.course-icon {
  align-items: center;
  background: var(--card-soft);
  border-radius: 14px;
  color: var(--card-color);
  display: flex;
  font-size: 1.15rem;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  min-width: 46px;
  padding: 0 10px;
}

.course-card h3 {
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}

.course-card > p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
  margin: 0;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 23px;
}

.course-meta span {
  background: #f2f5f7;
  border-radius: 99px;
  color: #526277;
  font-size: 0.69rem;
  font-weight: 800;
  padding: 7px 10px;
}

.course-link {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--card-color);
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
}

.course-link span {
  font-size: 1.2rem;
}

.partnership-section {
  align-items: center;
  background: var(--navy);
  color: white;
  display: grid;
  gap: clamp(52px, 8vw, 130px);
  grid-template-columns: 1fr 0.85fr;
  overflow: hidden;
  padding: 112px clamp(24px, 7vw, 110px);
}

.partnership-logos {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto 1fr;
}

.logo-panel {
  align-items: center;
  align-self: stretch;
  background: white;
  border-radius: 28px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: 34px;
  text-align: center;
}

.logo-panel img {
  max-height: 82px;
  max-width: 100%;
  object-fit: contain;
}

.h2e2-panel img {
  max-height: 142px;
}

.logo-panel p {
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.6;
  margin: 28px 0 0;
}

.partnership-symbol {
  color: var(--orange);
  font-size: 2rem;
  font-weight: 800;
}

.partnership-copy > p {
  color: #b9c8d7;
  margin-top: 26px;
}

.outline-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
  margin-top: 30px;
  padding: 15px 20px;
}

.method-section {
  background: var(--paper);
}

.steps-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid article {
  min-height: 250px;
  padding: 34px;
}

.steps-grid article + article {
  border-left: 1px solid var(--line);
}

.steps-grid article > span {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.steps-grid h3 {
  font-size: 1.32rem;
  margin: 54px 0 12px;
}

.steps-grid p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.teacher-section {
  align-items: center;
  background: #eef2f5;
  display: grid;
  gap: 42px;
  grid-template-columns: auto 1fr auto;
  padding: 80px clamp(24px, 7vw, 110px);
}

.teacher-badge-large {
  background: var(--orange);
  font-size: 2rem;
  height: 110px;
  width: 110px;
}

.teacher-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 18px;
}

.whatsapp-button {
  background: #15935f;
  color: white;
  padding: 16px 21px;
  white-space: nowrap;
}

.final-cta {
  background: var(--orange);
  color: white;
  padding: 100px 24px;
  text-align: center;
}

.final-cta > p {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.final-cta h2 {
  margin: 0 auto 32px;
  max-width: 800px;
}

.primary-button.light {
  background: white;
  box-shadow: none;
  color: var(--navy);
}

footer {
  align-items: center;
  background: #06172c;
  color: #afbdcc;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto;
  padding: 45px clamp(24px, 6vw, 90px);
}

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

.footer-brand img {
  background: white;
  border-radius: 8px;
  height: 34px;
  object-fit: contain;
  padding: 5px;
  width: auto;
}

.footer-brand span {
  font-size: 0.68rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #cbd5df;
}

footer > p {
  font-size: 0.72rem;
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 1120px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .partnership-section {
    grid-template-columns: 1fr;
  }

  .partnership-logos {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: flex;
    justify-content: space-between;
  }

  .topbar nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .trust-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .teacher-section {
    grid-template-columns: auto 1fr;
  }

  .whatsapp-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .topbar {
    height: 70px;
    padding: 0 16px;
  }

  .brand-lockup {
    gap: 7px;
  }

  .brand-lockup img {
    height: 22px;
    max-width: 110px;
  }

  .brand-lockup .h2e2-small {
    height: 30px;
  }

  .header-cta {
    font-size: 0;
    padding: 11px 13px;
  }

  .header-cta span {
    font-size: 1rem;
  }

  .hero-grid {
    gap: 44px;
    min-height: auto;
    padding: 58px 20px 56px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .primary-button {
    width: 100%;
  }

  .text-link {
    align-self: center;
  }

  .hero-visual {
    min-height: 355px;
  }

  .orange-orbit {
    height: 315px;
    width: 315px;
  }

  .main-card {
    padding: 24px;
    width: min(330px, 90vw);
  }

  .lessons-card {
    right: 0;
    top: -4px;
  }

  .teacher-card {
    bottom: -6px;
    left: 0;
  }

  .trust-strip {
    padding: 24px 20px 30px;
  }

  .trust-strip div {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
  }

  .courses-section,
  .method-section {
    padding: 80px 20px;
  }

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

  .course-card {
    min-height: 410px;
  }

  .partnership-section {
    padding: 80px 20px;
  }

  .partnership-logos {
    gap: 12px;
  }

  .logo-panel {
    border-radius: 18px;
    min-height: 180px;
    padding: 18px 12px;
  }

  .logo-panel p {
    display: none;
  }

  .logo-panel img {
    max-height: 48px;
  }

  .h2e2-panel img {
    max-height: 90px;
  }

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

  .steps-grid article {
    min-height: 210px;
  }

  .steps-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .steps-grid h3 {
    margin-top: 34px;
  }

  .teacher-section {
    grid-template-columns: 1fr;
    padding: 70px 20px;
  }

  .teacher-badge-large {
    height: 84px;
    width: 84px;
  }

  .whatsapp-button {
    grid-column: 1;
    width: 100%;
  }

  .final-cta {
    padding: 82px 20px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 42px 20px;
  }

  .footer-brand {
    flex-wrap: wrap;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
