:root {
  --paper: #f4f1ea;
  --paper-light: #faf8f3;
  --ink: #19212b;
  --muted: #606873;
  --navy: #17324d;
  --navy-deep: #0e263d;
  --accent: #8b493d;
  --line: #d7d1c6;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family:
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(calc(100% - 44px), var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  margin-right: auto;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: #414b57;
  font-size: 0.88rem;
  font-weight: 600;
}

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

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.82rem;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: white;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  padding: 128px 0 112px;
  background: var(--paper-light);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  top: 74px;
  right: 7%;
  width: 1px;
  height: 210px;
  background: var(--line);
}

.hero-content {
  max-width: 930px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1,
.section h2,
.window-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(3rem, 6.2vw, 5.7rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 700px;
  margin: 32px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.student-note {
  margin-top: 34px;
  color: #777d83;
  font-size: 0.88rem;
}

.student-note a {
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
}

/* ---------- SECTIONS ---------- */

.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  max-width: 830px;
  margin: 0 0 44px;
  color: var(--navy-deep);
  font-size: clamp(2.25rem, 4.5vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* ---------- COURSES ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card {
  padding: 34px 30px 38px;
  background: transparent;
  border-right: 1px solid var(--line);
}

.card:first-child {
  padding-left: 0;
}

.card:last-child {
  padding-right: 0;
  border-right: 0;
}

.card h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.3;
}

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

.section-note {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- STEPS ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 32px 34px 22px 0;
  border-right: 1px solid var(--line);
  background: transparent;
}

.step + .step {
  padding-left: 34px;
}

.step:last-child {
  border-right: 0;
}

.step span {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
}

.step h3 {
  margin: 0 0 15px;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

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

/* ---------- PLATFORM ---------- */

.platform {
  background: var(--paper-light);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 88px;
  align-items: center;
}

.platform-grid p {
  color: var(--muted);
}

.platform-box {
  padding: 15px;
  border: 1px solid var(--navy);
  background: transparent;
}

.platform-window {
  min-height: 340px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 8px;
  height: 8px;
  border: 1px solid #9ba1a6;
  border-radius: 50%;
}

.window-content {
  padding: 58px 42px;
}

.window-content .mini-label {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.window-content h3 {
  margin: 0;
  max-width: 390px;
  color: var(--navy-deep);
  font-size: 2.15rem;
  line-height: 1.12;
}

.window-content p:last-child {
  margin-top: 24px;
  color: var(--muted);
}

/* ---------- APPROACH ---------- */

.narrow > p:not(.section-label) {
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- CONTACT ---------- */

.contact {
  background: var(--navy-deep);
  color: white;
}

.contact .section-label {
  color: #c98b7e;
}

.contact h2 {
  color: white;
}

.contact > .container > p {
  color: #b9c5cf;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.contact .btn {
  border-color: #fff;
  background: #fff;
  color: var(--navy-deep);
}

.contact .btn:hover {
  background: transparent;
  color: white;
}

.contact .btn-secondary {
  background: transparent;
  color: white;
}

.contact .btn-secondary:hover {
  background: white;
  color: var(--navy-deep);
}

.contact-details {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: #bcc6cf;
}

.contact-details p {
  margin: 8px 0;
}

.contact-details a {
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.45);
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 54px 0 24px;
  background: #091b2c;
  color: #c6d0d8;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 45px;
}

.footer-grid strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
}

.footer-grid p {
  max-width: 470px;
  margin: 10px 0 0;
  color: #8fa0af;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: right;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.11);
  color: #74889b;
  font-size: 0.8rem;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero::before {
    display: none;
  }

  .cards,
  .steps,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps {
    border-bottom: 0;
  }

  .card,
  .card:first-child,
  .card:last-child,
  .step,
  .step + .step {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .platform-grid {
    gap: 52px;
  }

  .hero {
    padding: 96px 0 82px;
  }

  .section {
    padding: 82px 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav {
    min-height: 67px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .site-header .btn-small {
    min-height: 37px;
    padding: 0 11px;
    font-size: 0.74rem;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: 2.72rem;
    line-height: 1.02;
  }

  .hero-text {
    padding-left: 17px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

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

  .section {
    padding: 66px 0;
  }

  .section h2 {
    font-size: 2.25rem;
  }

  .platform-box {
    padding: 8px;
  }

  .platform-window {
    min-height: 275px;
  }

  .window-content {
    padding: 38px 25px;
  }

  .window-content h3 {
    font-size: 1.7rem;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-links {
    text-align: left;
  }
}

/* ---------- DESKTOP REFINEMENT ---------- */

@media (min-width: 1100px) {

  .container {
    width: min(calc(100% - 80px), 1220px);
  }

  .hero {
    padding: 105px 0 88px;
  }

  .hero-content {
    max-width: 1040px;
  }

  .hero h1 {
    max-width: 960px;
    font-size: clamp(4rem, 4.5vw, 5.15rem);
    line-height: 1.01;
  }

  .hero-text {
    max-width: 660px;
    margin-top: 28px;
  }

  .section {
    padding: 82px 0;
  }

  .section h2 {
    max-width: 760px;
    margin-bottom: 36px;
    font-size: clamp(2.45rem, 3.6vw, 3.35rem);
  }

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

  .card {
    padding-top: 29px;
    padding-bottom: 31px;
  }

  .steps {
    max-width: 1100px;
  }

  .step {
    padding-top: 28px;
    padding-bottom: 12px;
  }

  .platform-grid {
    grid-template-columns: 0.95fr 0.8fr;
    gap: 90px;
  }

  .platform-box {
    max-width: 520px;
    justify-self: end;
  }

  .narrow {
    max-width: 720px;
  }

  .contact .narrow {
    max-width: 760px;
  }
}

