:root {
  --navy: #071b32;
  --blue: #1f6fff;
  --green: #4f7d4a;
  --yellow: #f2b84b;
  --paper: #fbfaf5;
  --line: #dde4d5;
  --text: #172033;
  --muted: #5f6b63;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.94);
  border-bottom: 1px solid rgba(7, 27, 50, 0.09);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 900;
  font-size: 1.3rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 10px;
}

.nav a:hover {
  background: #eef3e9;
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(40px, 8vw, 92px) clamp(18px, 6vw, 72px);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(251, 250, 245, 0.98) 0%, rgba(251, 250, 245, 0.87) 36%, rgba(251, 250, 245, 0.24) 70%, rgba(251, 250, 245, 0.08) 100%);
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  color: var(--navy);
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.94;
  margin-bottom: 12px;
  max-width: 760px;
}

.hero-subtitle {
  color: var(--blue);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-copy {
  color: #29384b;
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 620px;
}

.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 13px 20px;
}

.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}

.hero-points span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 9px 12px;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 6vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
  margin-bottom: 14px;
}

h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.principles,
.lesson-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principles article,
.lesson-grid article,
.testimonial-grid article,
.checklist,
.phrase-box,
.text-panel,
.exam-box,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.number {
  color: var(--yellow);
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.principles p,
.lesson-grid p,
.testimonial-grid p,
.split p,
.contact p,
.example p,
.exam p {
  color: var(--muted);
  line-height: 1.6;
}

.text-panel p:last-child {
  margin-bottom: 0;
}

.split,
.example,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.checklist ul {
  color: var(--text);
  line-height: 1.7;
  margin: 12px 0 0;
  padding-left: 20px;
}

.lessons {
  background: #eef3e9;
}

.lesson-grid article {
  min-height: 220px;
}

.lesson-grid .featured {
  border-color: rgba(31, 111, 255, 0.35);
  box-shadow: 0 18px 50px rgba(7, 27, 50, 0.1);
}

.lesson-grid strong {
  color: var(--blue);
  display: block;
  margin-top: 20px;
}

.testimonials {
  background: var(--paper);
}

.featured-testimonial {
  background: var(--navy);
  border-radius: 8px;
  color: var(--white);
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.featured-testimonial .eyebrow {
  color: var(--yellow);
}

.featured-testimonial p {
  color: #d8e4f3;
  line-height: 1.68;
  max-width: 980px;
}

.featured-testimonial strong {
  color: var(--white);
  display: block;
  margin-top: 22px;
}

.testimonial-grid article {
  min-height: 170px;
}

.testimonial-grid p {
  font-size: 0.98rem;
  line-height: 1.62;
}

.testimonial-grid strong {
  color: var(--navy);
  display: block;
  margin-top: 22px;
}

.example,
.exam {
  background: var(--navy);
}

.example h2,
.example .eyebrow,
.exam h2,
.exam .eyebrow {
  color: var(--white);
}

.example p,
.exam p {
  color: #cbd7e8;
}

.phrase-box,
.exam-box {
  background: #0f2a4a;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.phrase-box span,
.phrase-box strong,
.exam-box span,
.exam-box strong {
  display: block;
}

.phrase-box span,
.exam-box span {
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 18px;
}

.phrase-box strong,
.exam-box strong {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  padding: 16px 0;
}

.exam-box span:last-child {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  margin: 0;
  padding-top: 16px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  color: var(--navy);
  display: grid;
  font-weight: 900;
  gap: 7px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
  width: 100%;
}

.form-note {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.contact-email {
  color: var(--navy) !important;
  font-weight: 900;
  margin-top: 20px;
}

.contact-email a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 72px);
}

.site-footer span {
  color: #cbd7e8;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(251, 250, 245, 0.98) 0%, rgba(251, 250, 245, 0.84) 68%, rgba(251, 250, 245, 0.4) 100%);
  }

  .principles,
  .lesson-grid,
  .testimonial-grid,
  .split,
  .example,
  .contact {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .nav a {
    padding: 8px 10px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points span {
    width: 100%;
  }
}
