:root {
  --ink: #0a1729;
  --ink-soft: #27405f;
  --blue: #0868d9;
  --blue-dark: #063d7c;
  --cyan: #27c4ff;
  --green: #27a562;
  --orange: #f28c28;
  --paper: #f7fbff;
  --white: #ffffff;
  --line: #d9e5f2;
  --shadow: 0 20px 50px rgba(6, 28, 58, 0.14);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 800;
}

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

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: #eaf4ff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 75px);
  display: grid;
  align-items: end;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  color: var(--white);
  background: #081322;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 12, 24, 0.93) 0%, rgba(4, 12, 24, 0.72) 42%, rgba(4, 12, 24, 0.18) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 8%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 30px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 650px;
  color: #dcecff;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 40px);
}

.highlight-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.highlight,
.content-list article,
.timeline article,
.outcome-grid article,
.contact-card,
.form-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.highlight {
  padding: 24px;
}

.highlight span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.highlight p,
.content-list p,
.timeline p,
.outcome-grid p,
.form-note p,
.contact-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) 1.4fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.content-list {
  display: grid;
  gap: 18px;
}

.content-list article {
  padding: 24px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), #0a1729 62%, #14533c);
}

.cta-panel p {
  max-width: 680px;
  color: #dcecff;
}

.page-hero {
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, #071326, #073d79 58%, #11744a);
}

.page-hero.compact {
  padding-bottom: clamp(44px, 7vw, 78px);
}

.page-hero p {
  max-width: 760px;
  color: #dcecff;
  font-size: 1.1rem;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  overflow: hidden;
  padding: 28px;
}

.timeline article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  content: "";
  background: var(--week-color, var(--blue));
}

.timeline article:nth-child(1) {
  --week-color: var(--blue);
}

.timeline article:nth-child(2) {
  --week-color: var(--green);
}

.timeline article:nth-child(3) {
  --week-color: var(--orange);
}

.timeline article:nth-child(4) {
  --week-color: #8a4de8;
}

.timeline article:nth-child(5) {
  --week-color: #d03d69;
}

.timeline article:nth-child(6) {
  --week-color: #148b8f;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  color: var(--white);
  background: var(--week-color, var(--blue));
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 14px 26px rgba(6, 28, 58, 0.16);
}

.timeline h2 {
  margin-bottom: 10px;
}

.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.subject-tags b {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--week-color, var(--blue)) 34%, white);
  border-radius: 8px;
  color: var(--week-color, var(--blue));
  background: color-mix(in srgb, var(--week-color, var(--blue)) 11%, white);
  font-size: 0.88rem;
  font-weight: 800;
}

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

.outcome-grid article,
.contact-card {
  padding: 24px;
}

.form-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d7e8;
  border-radius: 8px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(39, 196, 255, 0.28);
  border-color: var(--blue);
}

.full-span {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  padding: 26px;
}

.contact-card a,
.form-note a,
.site-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #dcecff;
  background: #071326;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .highlight-band,
  .split,
  .outcome-grid,
  .contact-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 680px;
    padding-top: 56px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(4, 12, 24, 0.56), rgba(4, 12, 24, 0.96) 52%, rgba(4, 12, 24, 0.98));
  }

  .hero-media img {
    object-position: 63% top;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .highlight-band {
    margin-top: 0;
  }

  .registration-form {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
