:root {
  --ink: #070d2d;
  --muted: #4e5872;
  --blue: #063fba;
  --line: #dce2ee;
  --soft: #f7f9ff;
  --shadow: 0 14px 32px rgba(16, 31, 72, 0.08);
}

* {
  box-sizing: border-box;
}

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

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

.site-header {
  width: min(1760px, calc(100% - 90px));
  margin: 28px auto 36px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
}

.brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 700;
}

.nav > a,
.nav-menu {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  line-height: 1;
  white-space: nowrap;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: '';
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-menu summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
  border-radius: 2px;
}

.nav-menu-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  min-width: 176px;
  padding: 6px;
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 12px 28px rgba(16, 31, 72, 0.14);
}

.nav-menu-list a {
  padding: 10px 11px;
  border-radius: 3px;
  line-height: 1.2;
}

.nav-menu-list a:hover,
.nav-menu-list a:focus-visible {
  background: var(--soft);
}

.nav-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #0c34bd, #062493);
  box-shadow: 0 12px 26px rgba(7, 45, 168, 0.22);
  font-weight: 800;
}

.hero {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto 34px;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  background: linear-gradient(90deg, #f7f7f8 0%, #f7f7f8 68%, #fbfbfc 100%);
}

.hero-text {
  padding: 38px 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3.1vw, 52px);
  line-height: 1.05;
  font-weight: 400;
}

.hero-text p:not(.eyebrow) {
  margin-bottom: 28px;
  font-size: 18px;
}

.hero-image {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  max-width: 430px;
  height: auto;
  display: block;
}

@media (max-width: 1350px) {
  .site-header {
    gap: 18px;
  }

  .brand {
    gap: 10px;
    font-size: 28px;
  }

  .brand img {
    width: 72px;
    height: 72px;
  }

  .nav {
    gap: 14px;
  }

  .nav-button {
    padding: 0 24px;
  }
}

.section {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
  padding: 34px 0;
}

.section h2 {
  margin-bottom: 18px;
  text-align: center;
  font-size: clamp(28px, 2.2vw, 38px);
  line-height: 1.15;
  font-weight: 400;
}

.section-subtitle {
  margin: -6px auto 28px;
  max-width: 700px;
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.section-kicker {
  margin: 0 0 8px;
  text-align: center;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reason-list {
  width: min(780px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.reason-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  border: 1px solid #222;
  border-radius: 8px;
  background: #f7f7f7;
  overflow: hidden;
}

.reason-icon {
  min-height: 86px;
  display: grid;
  place-items: center;
  background: #f3f5f8;
  border-right: 1px solid #d5d5d5;
}

.reason-icon svg,
.module-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #07133a;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reason-row h3 {
  margin: 0 0 5px;
  font-size: 19px;
}

.reason-row p {
  margin: 0;
  color: #4c4c4c;
  font-size: 16px;
  line-height: 1.35;
}

.reason-row div:last-child {
  padding: 14px 22px;
}

.modules {
  width: min(1480px, calc(100% - 90px));
}

.modules h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 700;
}

.module-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.module-card {
  min-height: 170px;
  padding: 30px 60px 26px 28px;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 26px;
  position: relative;
  border: 1px solid #dfe5f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(16, 31, 72, 0.12);
}

.module-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f4fc;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
}

.module-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--blue);
}

.module-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.15;
}

.module-card small {
  display: block;
  color: #4e5b78;
  font-size: 16px;
  line-height: 1.45;
}

.module-card .arrow {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
}

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

.steps article {
  position: relative;
  min-height: 150px;
  padding: 22px 20px;
  border-radius: 16px;
  background: #edf3ff;
  border: 1px solid #dbe3f4;
}

.steps article:not(:nth-child(4n))::after {
  content: "→";
  position: absolute;
  right: -23px;
  top: 50%;
  transform: translateY(-50%);
  color: #0a8eb2;
  font-size: 30px;
  font-weight: 900;
}

.steps span {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 9px;
  font-size: 19px;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  color: #333b4f;
  line-height: 1.4;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  min-height: 340px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  color: white;
  background: linear-gradient(145deg, #1557bd, #c35ee7);
  box-shadow: 0 16px 34px rgba(35, 58, 150, 0.18);
}

.price-card.featured {
  background: linear-gradient(145deg, #55d4d4, #0650b3);
}

.price-card h3 {
  min-height: 48px;
  margin-bottom: 8px;
  text-align: center;
  font-size: 24px;
}

.price {
  margin-bottom: 8px;
  text-align: center;
  font-size: 34px;
  font-weight: 900;
}

.price-card p {
  text-align: center;
}

.price-card ul {
  flex: 1;
  margin: 24px 0;
  padding-left: 24px;
  line-height: 1.55;
}

.price-card a {
  display: block;
  width: fit-content;
  margin: auto auto 0;
  padding: 13px 24px;
  border-radius: 10px;
  background: rgba(255,255,255,0.18);
  font-weight: 800;
}

.faq {
  padding-top: 28px;
  padding-bottom: 28px;
}

.faq h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 700;
}

.faq .section-subtitle {
  margin: 0 auto 20px;
  font-size: 17px;
  line-height: 1.25;
}

.faq-list {
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 5px;
}

.faq-list details {
  border: 1px solid #cfd6e4;
  border-radius: 7px;
  background: #f8f9fc;
}

.faq-list summary {
  min-height: 32px;
  padding: 7px 42px 7px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.final-cta {
  width: min(1260px, calc(100% - 80px));
  margin: 28px auto 58px;
  padding: 58px 70px;
  border: 1px solid #dfe5f0;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff, #f7f9ff);
  box-shadow: 0 18px 42px rgba(16, 31, 72, 0.06);
}

.final-cta h2 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.18;
  font-weight: 700;
}

.final-cta p {
  max-width: 720px;
  margin-bottom: 26px;
  color: #4e5b78;
  font-size: 20px;
}

.cta-points {
  margin: 0 0 30px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-points span {
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid #dce3f1;
  color: #15244a;
  background: #fff;
  font-weight: 700;
}

.site-footer {
  width: min(1640px, calc(100% - 80px));
  margin: 0 auto;
  padding: 78px 0 36px;
  border-top: 1px solid #dfe5f0;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(430px, 0.8fr) minmax(520px, 1.2fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 70px;
  border-bottom: 1px solid #dfe5f0;
}

.footer-main {
  display: grid;
  gap: 28px;
  align-content: start;
}

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

.footer-brand img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.footer-brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  font-weight: 700;
  line-height: 1;
  color: #07133a;
}

.socials {
  display: flex;
  gap: 18px;
  align-items: center;
}

.socials a {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #d9dfec;
  border-radius: 50%;
  background: #fff;
  color: #07133a;
  font-size: 0;
  text-decoration: none;
overflow: hidden;
}

.socials img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  opacity: 1;
  filter: none;
}

.footer-email {
  color: #4f5d7a;
  font-size: 20px;
  text-decoration: none;
}

.footer-email:hover {
  color: var(--blue);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
  align-items: start;
}

.footer-links > div {
  display: grid;
  gap: 22px;
}

.footer-links h3 {
  margin: 0 0 14px;
  color: #07133a;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: #4f5d7a;
  font-size: 20px;
  line-height: 1.25;
  text-decoration: none;
}

.footer-links a span {
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.footer-bottom {
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  color: #7c879f;
  font-size: 16px;
}

.reason-icon svg {
  display: none;
}

.reason-icon img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) contrast(1.2);
}

.reason-row {
  grid-template-columns: 108px 1fr;
}

.reason-icon {
  background: #f6f6f6;
}

@media (max-width: 1550px) {
  .site-header {
    width: calc(100% - 34px);
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 1120px) {
  .site-header {
    width: calc(100% - 34px);
    flex-direction: column;
    align-items: flex-start;
  }

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

  .nav-menu-list {
    left: 0;
  }

  .hero {
    width: calc(100% - 34px);
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 30px 24px;
  }

  .section,
  .modules,
  .final-cta,
  .site-footer {
    width: calc(100% - 34px);
  }

  .module-grid,
  .price-grid,
  .steps,
  .footer-content,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .module-grid,
  .module-card {
    min-width: 0;
  }

  .module-card {
    grid-template-columns: 74px minmax(0, 1fr);
    padding-right: 44px;
  }

  .steps article::after {
    display: none;
  }

  .footer-content {
    gap: 42px;
  }

  .footer-links {
    gap: 34px;
  }

  .footer-content > *,
  .footer-links,
  .footer-links > div,
  .footer-links a {
    min-width: 0;
  }

  .footer-brand {
    gap: 14px;
  }

  .footer-brand img {
    width: 80px;
    height: 80px;
  }

  .footer-brand span {
    min-width: 0;
    font-size: 32px;
  }

  .socials {
    min-width: 0;
    flex-wrap: wrap;
  }

  .footer-links a {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}


/* Level diagnostic entry */
.level-test {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto 34px;
  padding: 32px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  border-top: 1px solid #dce2ee;
  border-bottom: 1px solid #dce2ee;
  background: #f7f9ff;
}

.level-test-copy {
  max-width: 760px;
}

.level-test-eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.level-test h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
}

.level-test-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.level-test-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.level-test-link {
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.level-test-link:hover,
.footer-credit a:hover {
  color: #062493;
}

.footer-credit {
  text-align: center;
}

.footer-credit a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .level-test {
    width: calc(100% - 34px);
    padding: 28px 24px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .level-test-actions {
    align-items: flex-start;
  }

  .footer-credit {
    text-align: left;
  }
}

/* Trial and level selection */
.trial-panel {
  margin: 0 auto 30px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #d5ddec;
  border-radius: 8px;
  background: #f7f9ff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(16, 31, 72, 0.07);
}

.trial-panel h3 {
  margin: 0;
  color: #07133a;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.trial-price {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--blue);
  font-weight: 900;
}

.trial-price strong {
  color: var(--blue);
  font-size: 38px;
  line-height: 1;
}

.trial-price span {
  margin-top: 7px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.trial-levels {
  margin: 20px 0;
  color: #07133a;
  font-size: 18px;
  font-weight: 800;
}

.price-card.level-a2 {
  background: linear-gradient(145deg, #2867c7, #243f98);
}
