:root {
  color-scheme: dark;
  --black: #05070a;
  --charcoal: #0a0f16;
  --night: #081426;
  --night-soft: #101b2b;
  --steel: #8f9baa;
  --steel-dark: #263241;
  --line: rgba(167, 184, 204, 0.16);
  --white: #f7fbff;
  --muted: #a5b1bf;
  --electric: #8b5cf6;
  --electric-soft: rgba(139, 92, 246, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 0%, rgba(139, 92, 246, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--black), var(--charcoal) 48%, #070b10);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 72%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 58px);
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.86), rgba(5, 7, 10, 0.58));
  border-bottom: 1px solid rgba(167, 184, 204, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 275px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.22), rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.18);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: #d5dde6;
  font-size: 0.88rem;
  font-weight: 650;
}

.nav a {
  position: relative;
  padding: 8px 0;
  transition: color 220ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.button,
.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-weight: 760;
  line-height: 1.2;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.header-action {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button.primary,
.email-link {
  border-color: rgba(139, 92, 246, 0.55);
  background: linear-gradient(135deg, #5f36c9, #9b72ff);
  color: var(--white);
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.23);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
}

.header-action:hover,
.button:hover,
.email-link:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.72);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 142px clamp(20px, 7vw, 96px) 124px;
}

.hero-image,
.hero-shade,
.hero-light {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.82) contrast(1.05) brightness(0.76);
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96) 0%, rgba(7, 16, 28, 0.78) 42%, rgba(7, 16, 28, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 7, 10, 0.8), rgba(5, 7, 10, 0.08) 55%, rgba(5, 7, 10, 0.72));
}

.hero-light {
  z-index: -2;
  background:
    radial-gradient(circle at 76% 48%, rgba(139, 92, 246, 0.22), transparent 21rem),
    linear-gradient(115deg, transparent 0 44%, rgba(139, 92, 246, 0.1) 48%, transparent 58%);
  opacity: 0.86;
}

.hero-content {
  width: min(760px, 100%);
  animation: riseIn 760ms ease both;
}

.brand-card {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(330px, 100%);
  padding: 12px;
  border: 1px solid rgba(167, 184, 204, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 66%, rgba(139, 92, 246, 0.13), transparent 12rem),
    rgba(5, 7, 10, 0.24);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.55),
    0 0 52px rgba(139, 92, 246, 0.14);
  backdrop-filter: blur(18px);
  animation: fadeIn 900ms ease 180ms both;
}

.brand-card img {
  width: 100%;
  border-radius: 6px;
  opacity: 0.96;
}

.eyebrow {
  margin: 0 0 16px;
  color: #c8b9ff;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 8vw, 8.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-slogan {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--white);
  font-size: clamp(1.38rem, 2.7vw, 2.4rem);
  font-weight: 650;
  line-height: 1.14;
}

.hero-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #c1ccd8;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-panel {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 28px;
  width: min(calc(100% - 48px), 1120px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  animation: fadeIn 950ms ease 160ms both;
}

.hero-panel span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: #e8eef6;
  font-size: 0.9rem;
  font-weight: 680;
  background: rgba(8, 20, 38, 0.46);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(calc(100% - 48px), 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  transform: translateY(-1px);
}

.proof-strip div {
  min-height: 128px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--electric);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.proof-strip span {
  margin-top: 14px;
  color: #e7edf5;
  font-weight: 720;
}

.section,
.approach-section,
.contact-section,
.program-grid,
.useful-section,
.area-section {
  width: min(calc(100% - 48px), 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 104px 24px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 70px;
  align-items: end;
}

.section-heading h2,
.useful-copy h2,
.area-section h2,
.approach-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-lead,
.useful-list p,
.area-section p,
.approach-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}

.useful-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 4.4vw, 64px);
  align-items: start;
  padding-top: 30px;
}

.useful-list {
  display: grid;
  gap: 12px;
}

.useful-list p {
  position: relative;
  min-height: 78px;
  padding: 20px 22px 20px 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  line-height: 1.55;
}

.useful-list p::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 29px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.62);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
}

.program-card {
  position: relative;
  min-height: 292px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.026)),
    rgba(8, 20, 38, 0.74);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 18%, rgba(139, 92, 246, 0.16), transparent 15rem);
  opacity: 0;
  transition: opacity 260ms ease;
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(8, 20, 38, 0.82);
}

.program-card:hover::before {
  opacity: 1;
}

.program-card.featured,
.program-card.accent {
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.18), rgba(255, 255, 255, 0.036)),
    rgba(8, 20, 38, 0.82);
}

.card-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  border: 1px solid rgba(139, 92, 246, 0.36);
  border-radius: 8px;
  color: #d7ccff;
  background: rgba(139, 92, 246, 0.11);
  font-size: 0.8rem;
  font-weight: 850;
}

.program-card h3,
.program-card p {
  position: relative;
  z-index: 1;
}

.program-card h3 {
  margin: 54px 0 14px;
  font-size: 1.35rem;
  line-height: 1.15;
}

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

.area-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  margin-top: 52px;
  margin-bottom: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, rgba(139, 92, 246, 0.14), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 26px 88px rgba(0, 0, 0, 0.28);
}

.area-section p {
  line-height: 1.75;
}

.approach-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.approach-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  min-height: 126px;
  padding: 26px 26px 26px 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 26px;
  top: 28px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.14);
  color: #d7ccff;
  border: 1px solid rgba(139, 92, 246, 0.28);
  font-weight: 850;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  font-size: 1.15rem;
}

.timeline span {
  margin-top: 7px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
  gap: 54px;
  align-items: center;
  margin-bottom: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 10%, rgba(139, 92, 246, 0.14), transparent 19rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.contact-copy p:not(.eyebrow) {
  margin-top: 20px;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(139, 92, 246, 0.11), transparent 14rem),
    rgba(5, 7, 10, 0.58);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.contact-card div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-card span {
  display: block;
  margin-bottom: 7px;
  color: #c8b9ff;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card a:not(.button),
.contact-card p {
  margin: 0;
  color: var(--white);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

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

.contact-card .button {
  width: 100%;
  margin-top: 4px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 30px clamp(18px, 4vw, 58px);
  color: #8d9baa;
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.78);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 880px;
    grid-template-columns: 1fr;
    padding-top: 108px;
  }

  .brand-card {
    position: relative;
    right: auto;
    top: auto;
    justify-self: start;
    width: min(280px, 72vw);
    margin-top: 32px;
    transform: none;
  }

  .hero-panel,
  .proof-strip,
  .intro-section,
  .program-grid,
  .useful-section,
  .area-section,
  .approach-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 58px;
    transform: none;
  }

  .proof-strip {
    padding: 24px;
  }

  .program-grid {
    padding-top: 20px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 13px 16px;
    gap: 13px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 0.7rem;
  }

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

  .brand small {
    font-size: 0.68rem;
  }

  .header-action {
    width: 100%;
    min-height: 42px;
  }

  .nav {
    gap: 18px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding: 82px 18px 48px;
  }

  .hero-image {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.96) 0%, rgba(7, 16, 28, 0.86) 64%, rgba(7, 16, 28, 0.58) 100%),
      linear-gradient(0deg, rgba(5, 7, 10, 0.88), rgba(5, 7, 10, 0.1) 50%, rgba(5, 7, 10, 0.74));
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.9rem, 13.5vw, 4.4rem);
    line-height: 1;
  }

  .hero-slogan {
    font-size: 1.24rem;
  }

  .brand-card {
    width: min(230px, 66vw);
    padding: 9px;
    margin-top: 26px;
  }

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

  .hero-panel span {
    min-height: 54px;
    padding: 15px;
  }

  .proof-strip,
  .section,
  .useful-section,
  .area-section,
  .approach-section,
  .contact-section,
  .program-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section,
  .useful-section,
  .area-section,
  .approach-section,
  .contact-section,
  .program-grid {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .proof-strip div {
    min-height: 104px;
    padding: 20px;
  }

  .program-card {
    min-height: 244px;
    padding: 22px;
  }

  .program-card h3 {
    margin-top: 42px;
  }

  .timeline li {
    min-height: auto;
    padding: 78px 20px 22px;
  }

  .timeline li::before {
    left: 20px;
    top: 22px;
  }

  .contact-section {
    margin: 0 18px 42px;
    padding: 58px 18px;
  }

  .area-section {
    margin: 24px 18px 22px;
  }

}
