:root {
  --ink: #121826;
  --muted: #5f697a;
  --paper: #ffffff;
  --wash: #f3f6fb;
  --navy: #07152f;
  --blue: #0b3f8a;
  --gold: #d9a927;
  --gold-dark: #9a6b08;
  --teal: #008f8c;
  --cyan: #0b8fc8;
  --coral: #c24136;
  --line: #dce3ee;
  --shadow: 0 22px 60px rgba(11, 22, 44, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family:
    Inter, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(16px, 3vw, 38px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(7, 21, 47, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-grid;
  grid-template-columns: 46px auto;
  gap: 10px;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-weight: 950;
}

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

.brand strong {
  font-size: 18px;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  min-height: 40px;
  padding: 11px 13px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-cta,
.primary-action,
.secondary-action,
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 900;
}

.header-cta {
  padding: 0 16px;
  color: var(--navy);
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(7, 21, 47, 0.98) 0%, rgba(7, 21, 47, 0.84) 42%, rgba(7, 21, 47, 0.44) 100%),
    linear-gradient(0deg, rgba(7, 21, 47, 0.72), rgba(7, 21, 47, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  padding: clamp(62px, 8vw, 112px) 0 54px;
  margin-left: clamp(16px, 6vw, 80px);
}

.signal-pill,
.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(217, 169, 39, 0.42);
  border-radius: 999px;
  color: #ffda6b;
  background: rgba(7, 21, 47, 0.62);
}

.signal-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #21d18b;
  box-shadow: 0 0 0 6px rgba(33, 209, 139, 0.14);
}

.hero h1 {
  max-width: 710px;
  margin: 20px 0 18px;
  font-size: 66px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions,
.final-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-action {
  min-width: 210px;
  padding: 0 20px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffe08a, var(--gold));
  box-shadow: 0 16px 32px rgba(217, 169, 39, 0.26);
}

.primary-action:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.secondary-action {
  min-width: 210px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.compact {
  min-width: 0;
  min-height: 42px;
  padding: 0 15px;
  font-size: 14px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 800;
}

.decision-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.decision-strip article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 84px;
  padding: 18px clamp(14px, 3vw, 28px);
  background: #fff;
}

.decision-strip strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
}

.decision-strip span {
  color: #334155;
  font-weight: 900;
}

.section-block {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-block.tight {
  padding-top: 18px;
}

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

.section-head.inline-head {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section-head h2,
.program-detail h2,
.title-card h2,
.final-section h2 {
  margin: 8px 0 0;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.program-detail p,
.title-card p,
.final-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.level-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tab-button {
  min-width: 148px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.tab-button.active {
  color: #fff;
  background: var(--navy);
}

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

.program-card {
  display: grid;
  gap: 14px;
  min-height: 254px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
  text-align: left;
}

.program-card:hover,
.program-card.active {
  border-color: rgba(11, 143, 200, 0.58);
  box-shadow: var(--shadow);
}

.program-card.active {
  outline: 3px solid rgba(11, 143, 200, 0.14);
}

.program-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.program-index {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 950;
}

.program-level {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.program-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.program-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.meta-list span,
.detail-badges span,
.title-list span,
.bonus-grid span,
.requirement-list li {
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.meta-list span,
.detail-badges span {
  padding: 7px 9px;
  color: #344054;
  background: #eef3f9;
}

.program-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(11, 63, 138, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-main {
  min-width: 0;
}

.program-detail h2 {
  margin-bottom: 12px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.detail-aside {
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(150deg, var(--navy), var(--blue));
}

.detail-aside strong,
.detail-aside span,
.detail-aside small {
  display: block;
}

.detail-aside strong {
  margin: 10px 0 6px;
  color: #ffe08a;
  font-size: 36px;
  line-height: 1;
}

.detail-aside span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.detail-aside small {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.icon-link {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
}

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

.subject-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.subject-card h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 15px;
}

.subject-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.subject-card li {
  position: relative;
  padding-left: 16px;
  color: #475467;
  font-size: 14px;
  line-height: 1.36;
}

.subject-card li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.model-section {
  width: 100%;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: #fff;
}

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

.model-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.line-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
}

.model-grid h3 {
  margin: 16px 0 8px;
}

.model-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.title-section {
  width: 100%;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--navy);
}

.title-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

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

.title-list,
.bonus-grid {
  display: grid;
  gap: 10px;
}

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

.title-list span {
  padding: 11px 12px;
  color: #10213d;
  background: #fff;
}

.bonus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bonus-grid span {
  min-height: 58px;
  padding: 16px;
  border-left: 5px solid var(--gold);
  color: #28354a;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}

.investment-section {
  padding-bottom: 36px;
}

.investment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.price-panel,
.bank-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-panel {
  overflow: hidden;
}

.price-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.price-head h3 {
  margin: 6px 0 0;
  font-size: 24px;
}

.price-head strong {
  color: #ffe08a;
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
}

.price-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.price-row span,
.price-row small {
  display: block;
}

.price-row span {
  color: #344054;
  font-weight: 900;
}

.price-row small {
  margin-top: 4px;
  color: var(--muted);
}

.price-amount {
  text-align: right;
}

.price-amount del {
  display: block;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.price-amount strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
}

.price-note {
  padding: 14px;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  color: #12403d;
  background: #eaf8f7;
  line-height: 1.45;
}

.requirement-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.requirement-list li {
  padding: 10px 12px;
  color: #334155;
  background: #eef3f9;
}

.bank-panel {
  padding: 20px;
}

.bank-panel h3 {
  margin: 6px 0 18px;
  font-size: 24px;
}

.bank-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.bank-panel div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.bank-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bank-panel dd {
  margin: 5px 0 0;
  color: var(--navy);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 16px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.payment-alert {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  background: #fff1f2;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.final-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
  width: 100%;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: linear-gradient(135deg, #082a5d, #07152f);
}

.final-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.advisor-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.advisor-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid #ffe08a;
  border-radius: 8px;
  color: #ffe08a;
  font-weight: 950;
}

.advisor-card strong {
  font-size: 20px;
}

.advisor-card span,
.advisor-card small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.advisor-card a {
  color: #ffe08a;
  font-weight: 950;
}

.site-footer {
  padding: 20px 16px;
  color: #667085;
  background: #fff;
  text-align: center;
}

.site-footer p {
  max-width: 860px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.45;
}

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

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    min-height: 78vh;
  }

  .hero h1 {
    font-size: 52px;
  }

  .program-grid,
  .subject-grid,
  .model-grid,
  .bonus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-detail,
  .investment-layout,
  .final-section,
  .title-card {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
  }

  .brand {
    grid-template-columns: 40px auto;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    width: calc(100% - 32px);
    max-width: 620px;
    margin: 0 auto;
    padding-top: 52px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy,
  .section-head p:not(.eyebrow),
  .program-detail p,
  .title-card p,
  .final-section p {
    font-size: 16px;
  }

  .hero-actions a,
  .final-actions a {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .trust-row span {
    flex: 1 1 100%;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .decision-strip,
  .program-grid,
  .subject-grid,
  .model-grid,
  .bonus-grid,
  .title-list {
    grid-template-columns: 1fr;
  }

  .decision-strip article {
    min-height: 64px;
  }

  .section-block {
    padding: 54px 0;
  }

  .section-head.inline-head {
    align-items: stretch;
    flex-direction: column;
  }

  .section-head h2,
  .program-detail h2,
  .title-card h2,
  .final-section h2 {
    font-size: 32px;
  }

  .program-detail {
    padding: 18px;
  }

  .level-tabs {
    width: 100%;
  }

  .tab-button {
    min-width: 0;
  }

  .price-head,
  .price-row {
    grid-template-columns: 1fr;
  }

  .price-amount {
    text-align: left;
  }
}
