:root {
  --ink: #10233f;
  --muted: #5a6a82;
  --blue: #1f5eff;
  --blue-dark: #0d2f75;
  --blue-soft: #eaf1ff;
  --accent: #f6a21a;
  --accent-soft: #fff3dd;
  --white: #ffffff;
  --off-white: #f8fbff;
  --line: #dbe5f3;
  --shadow: 0 20px 55px rgba(16, 35, 63, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: 0; }
h1 { max-width: 1000px; font-size: clamp(2.65rem, 7vw, 6.4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.9rem); font-weight: 900; }
h3 { font-size: 1.2rem; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(20px, calc((100vw - 1120px) / 2));
  color: var(--white);
}

.site-header.light {
  position: sticky;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(16, 35, 63, 0.08);
  backdrop-filter: blur(12px);
}

.brand, .site-nav, .footer-inner {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
}

.site-nav {
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero img, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img { object-fit: cover; }

.hero-shade {
  background: linear-gradient(90deg, rgba(13, 47, 117, 0.94), rgba(31, 94, 255, 0.62), rgba(31, 94, 255, 0.15));
}

.hero-content {
  position: relative;
  padding-top: 110px;
}

.hero-content p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 30px;
  padding: 13px 21px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.section { padding: 82px 0; }
.intro { background: var(--off-white); }

.intro-grid, .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: start;
}

.intro-grid > p { font-size: 1.08rem; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #ffd486; }
.section-heading { max-width: 820px; margin-bottom: 34px; }

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  display: flex;
  min-height: 305px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 35, 63, 0.07);
}

.program-card p { margin-top: 12px; }

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.card-footer strong { font-size: 1.35rem; }
.card-footer a, .back-link { color: var(--blue); font-weight: 900; }

.program-page { background: var(--white); }

.program-hero {
  padding: 74px 0 70px;
  background: linear-gradient(135deg, var(--blue-soft), var(--white));
}

.lead {
  max-width: 850px;
  margin-top: 22px;
  font-size: 1.2rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
}

.detail-main { padding-right: 10px; }

.detail-main h2 {
  margin-top: 38px;
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.problem-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  background: var(--off-white);
}

.problem-block h2 { margin-top: 0; }
.problem-block p:last-child { font-size: 1.06rem; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.facts-grid div, .price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 35, 63, 0.07);
}

.facts-grid div { padding: 20px; }

.facts-grid span, .price-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.facts-grid strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
}

.price-card {
  position: sticky;
  top: 105px;
  padding: 28px;
}

.price-card strong {
  display: block;
  font-size: 3.4rem;
  line-height: 1;
}

.price-card .button { width: 100%; }

.site-footer {
  padding: 34px 0;
  background: var(--blue-dark);
  color: var(--white);
}

.footer-inner {
  justify-content: space-between;
  gap: 18px;
  font-weight: 800;
}

.footer-inner a { color: rgba(255, 255, 255, 0.82); }

@media (max-width: 920px) {
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid, .detail-layout { grid-template-columns: 1fr; }
  .price-card { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .site-header { align-items: flex-start; flex-direction: column; padding: 14px; }
  .site-header.light { position: static; }
  .site-nav { width: 100%; justify-content: space-between; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 150px; }
  .program-grid, .facts-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
