:root {
  --navy: #17356f;
  --navy-2: #2e64a9;
  --blue: #2e64a9;
  --blue-2: #54a1ba;
  --pink: #e068a8;
  --lime: #efca50;
  --paper: #f6f9fd;
  --white: #ffffff;
  --ink: #111a35;
  --muted: #5d6784;
  --line: #dbe1ef;
  --shadow: 0 24px 70px rgba(6, 18, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--navy);
  background: var(--lime);
  border-radius: 0.5rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  width: 100%;
  color: var(--white);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 0.7rem;
  font-size: 1.2rem;
  font-weight: 820;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-logo {
  width: 50px;
  height: 50px;
  padding: 2px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(7, 24, 65, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--white);
}

.header-inner > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.82rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 0.78rem;
  font-size: 0.98rem;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.button-small {
  min-height: 42px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
}

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

.button-primary {
  color: var(--navy);
  background: var(--lime);
  box-shadow: 0 12px 32px rgba(217, 255, 89, 0.2);
}

.button-primary:hover {
  box-shadow: 0 16px 38px rgba(217, 255, 89, 0.3);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 180px 0 110px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 22%, rgba(224, 104, 168, 0.52), transparent 29%),
    linear-gradient(135deg, #17356f 0%, #234f91 54%, #3f93ad 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, black 75%);
}

.hero::after {
  right: -140px;
  bottom: -270px;
  width: 550px;
  height: 550px;
  border: 84px solid rgba(239, 202, 80, 0.18);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.78fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

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

h1,
h2 {
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.55rem;
  font-size: clamp(3.25rem, 7vw, 6.1rem);
}

h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.07rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  list-style: none;
}

.hero-points li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.55rem;
  background: var(--lime);
  border-radius: 2px;
  content: "";
  transform: rotate(45deg) translateY(-1px);
}

.math-card {
  position: relative;
  padding: 1.1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.35rem;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.math-card::before {
  position: absolute;
  z-index: -1;
  inset: 22px -18px -18px 18px;
  background: var(--lime);
  border-radius: 1.35rem;
  content: "";
  transform: rotate(-3deg);
}

.math-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.35rem 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status {
  padding: 0.24rem 0.55rem;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
}

.price-panel {
  min-height: 210px;
  padding: 1.7rem;
  background-color: #f2f5fe;
  background-image:
    linear-gradient(#dfe6fa 1px, transparent 1px),
    linear-gradient(90deg, #dfe6fa 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 0.85rem;
}

.price-label {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.price-row strong {
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-row span {
  color: var(--muted);
  font-weight: 750;
}

.price-panel p {
  max-width: 30rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.progress-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.progress-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.8rem;
  background: #f9faff;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.progress-list span:last-child {
  color: var(--blue);
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 3rem;
}

.section-heading > p:last-child,
.process-intro > p:last-child,
.contact-inner > div > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.offer-card {
  min-height: 270px;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(11, 23, 57, 0.04);
}

.offer-card.featured {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.offer-card h3 {
  margin-top: 3rem;
}

.offer-card p {
  color: var(--muted);
}

.offer-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.card-number {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 850;
}

.featured .card-number {
  color: var(--lime);
}

.subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.subjects span {
  padding: 0.5rem 0.78rem;
  color: var(--navy-2);
  background: #e8edfb;
  border-radius: 0.55rem;
  font-size: 0.84rem;
  font-weight: 760;
}

.price-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 1rem;
}

.price-strip-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-strip strong {
  font-size: 1.25rem;
}

.section-deep {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.section-deep::after {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(217, 255, 89, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 80px rgba(217, 255, 89, 0.025);
  content: "";
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(3rem, 9vw, 8rem);
}

.process-intro > p:last-child {
  color: rgba(255, 255, 255, 0.66);
}

.steps {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1rem;
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 850;
}

.steps h3 {
  margin-bottom: 0.25rem;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.section-reasons {
  background: var(--white);
}

.reasons-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(3rem, 9vw, 8rem);
}

.reason-list {
  display: grid;
  gap: 1rem;
}

.reason-list article {
  padding: 0 0 1.25rem 1.35rem;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--blue);
}

.reason-list article:last-child {
  border-bottom: 0;
}

.reason-list h3 {
  margin-bottom: 0.35rem;
}

.reason-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.founder {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #eef7fa 100%);
}

.founder::after {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border: 56px solid rgba(224, 104, 168, 0.09);
  border-radius: 50%;
  content: "";
}

.founder-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.65fr 1.2fr;
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.founder-signature {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--blue);
  border: 16px solid var(--white);
  border-radius: 50%;
  box-shadow:
    24px -18px 0 -5px var(--pink),
    -20px 24px 0 -7px var(--blue-2),
    var(--shadow);
}

.founder-signature::before,
.founder-signature::after {
  position: absolute;
  background: var(--lime);
  border-radius: 999px;
  content: "";
  transform: rotate(-42deg);
}

.founder-signature::before {
  top: 11%;
  right: -8%;
  width: 38%;
  height: 7px;
}

.founder-signature::after {
  bottom: 13%;
  left: -7%;
  width: 30%;
  height: 6px;
}

.founder-signature > span {
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 850;
  letter-spacing: -0.1em;
  line-height: 1;
  transform: translateX(-0.06em);
}

.founder-signature small {
  position: absolute;
  bottom: 18%;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.founder-copy h2 {
  margin-bottom: 0.55rem;
}

.founder-role {
  margin-bottom: 1.5rem;
  color: var(--pink);
  font-size: 1.05rem;
  font-weight: 800;
}

.founder-copy > p:not(.eyebrow, .founder-role) {
  max-width: 720px;
  color: var(--muted);
}

.founder-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 0.24em;
}

.reviews {
  padding-top: 0;
  background: var(--white);
}

.reviews-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.rating {
  min-width: 150px;
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.rating strong {
  display: block;
  color: var(--navy);
  font-size: 3.6rem;
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.rating span {
  color: var(--lime);
  font-size: 1.1rem;
  letter-spacing: 0.13em;
}

.reviews-copy h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.reviews-copy p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.button-review {
  color: var(--white);
  background: var(--blue);
  white-space: nowrap;
}

.contact {
  padding: 85px 0;
  color: var(--white);
  background: var(--blue);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.contact h2 {
  max-width: 700px;
  margin-bottom: 0.8rem;
}

.contact .eyebrow {
  color: var(--lime);
}

.contact-inner > div > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  min-width: 260px;
}

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

.button-outline-white {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
}

footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.68);
  background: #071028;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.brand-footer {
  margin-bottom: 0.7rem;
  color: var(--white);
}

.footer-inner p {
  margin-bottom: 0.18rem;
  font-size: 0.86rem;
}

.company-data {
  text-align: right;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-grid,
  .process-grid,
  .reasons-grid,
  .founder-grid,
  .contact-inner,
  .reviews-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 4rem;
  }

  .math-card {
    width: min(620px, 96%);
    margin-inline: auto;
  }

  .founder-signature {
    width: min(320px, 78vw);
    margin-inline: auto;
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rating {
    width: max-content;
    padding: 0 0 1.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .button-review {
    width: max-content;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1140px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .header-inner .button {
    min-height: 40px;
  }

  .hero {
    min-height: auto;
    padding: 126px 0 82px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .hero-points {
    display: grid;
  }

  .math-card {
    width: 94%;
    padding: 0.72rem;
  }

  .price-panel {
    min-height: 185px;
    padding: 1.25rem;
  }

  .progress-list > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .section {
    padding: 82px 0;
  }

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

  .price-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .price-strip .button,
  .button-review {
    width: 100%;
  }

  .offer-card {
    min-height: auto;
  }

  .offer-card h3 {
    margin-top: 2rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-data {
    text-align: left;
  }
}

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

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