:root {
  --ink: #19232d;
  --muted: #66727c;
  --paper: #faf9f5;
  --line: #dfe3e1;
  --mint: #bff4d6;
  --mint-dark: #1f7551;
  --blue: #315fd1;
  --coral: #ff7a66;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(22px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: white;
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--mint);
  font: 800 16px/1 monospace;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-link { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 800; text-decoration: none; }

main { max-width: 1320px; margin: 0 auto; padding: 0 clamp(22px, 6vw, 88px); }
.hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; min-height: 500px; padding: 90px 0 75px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: "Avenir Next", Avenir, sans-serif; letter-spacing: -.05em; }
h1 { margin: 0; font-size: clamp(50px, 7vw, 88px); line-height: 1; }
h1 em { color: var(--blue); font-family: Georgia, serif; font-weight: 400; }
.hero-copy > p:last-child { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-note { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.hero-note > span { color: var(--coral); font: 900 11px monospace; }
.hero-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.hero-note strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13px; }

.catalogue { padding: 65px 0 110px; border-top: 1px solid var(--line); }
.catalogue > header { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 35px; }
.catalogue .eyebrow { margin: 0; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); }
.course-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
.course-card { overflow: hidden; min-height: 420px; border: 1px solid var(--line); border-radius: 26px; background: white; text-decoration: none; }
.course-card.featured { display: grid; grid-template-columns: .9fr 1.1fr; transition: .25s ease; }
.course-card.featured:hover { transform: translateY(-4px); box-shadow: 0 24px 65px rgba(25, 35, 45, .12); }
.course-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #eaf2ff, #e4f9ed); }
.course-visual::after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px dashed rgba(49, 95, 209, .2); border-radius: 50%; }
.app-window, .terminal-window { position: absolute; z-index: 1; display: block; border-radius: 14px; box-shadow: 0 18px 40px rgba(25, 35, 45, .14); }
.app-window { width: 210px; height: 150px; margin: -45px 0 0 -35px; padding: 13px; background: white; transform: rotate(-3deg); }
.app-window i { display: inline-block; width: 7px; height: 7px; margin-right: 3px; border-radius: 50%; background: var(--coral); }
.app-window i:nth-child(2) { background: #f2c552; }
.app-window i:nth-child(3) { background: #58c979; }
.app-window b { display: grid; place-items: center; width: 44px; height: 44px; margin: 31px auto; border-radius: 12px; color: white; background: var(--ink); font: 900 12px monospace; }
.terminal-window { width: 190px; height: 115px; margin: 95px -45px 0 0; padding: 30px 23px; color: white; background: var(--ink); transform: rotate(3deg); }
.terminal-window code, .terminal-window small { display: block; font: 12px/1.6 monospace; }
.terminal-window code { color: white; }
.terminal-window small { margin-top: 10px; color: var(--mint); }
.course-content { display: flex; flex-direction: column; padding: 42px; }
.course-meta { display: flex; justify-content: space-between; color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.course-meta small { color: var(--muted); font-size: 9px; letter-spacing: 0; }
.course-content h3 { margin: auto 0 10px; font-size: 38px; }
.course-content p { margin: 0 0 35px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.course-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; }
.course-footer i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--blue); font-style: normal; }
.soon { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 35px; border-style: dashed; background: transparent; }
.soon-mark { display: grid; flex: 0 0 auto; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--mint-dark); background: var(--mint); font-size: 22px; }
.soon span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.soon h3 { margin: 5px 0; font-size: 22px; }
.soon p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

footer { display: flex; justify-content: space-between; padding: 28px clamp(22px, 6vw, 88px); color: #aebac0; background: var(--ink); font-size: 10px; }
footer p { margin: 0; }
footer strong { color: white; }

@media (max-width: 850px) {
  .hero, .course-grid { grid-template-columns: 1fr; }
  .hero { gap: 35px; min-height: auto; padding: 70px 0 55px; }
  .catalogue > header { display: block; }
  .catalogue h2 { margin-top: 12px; }
  .course-card.featured { grid-template-columns: 1fr; }
  .course-visual { min-height: 300px; }
  .soon { min-height: 220px; }
}

@media (max-width: 520px) {
  .site-header { min-height: 66px; }
  .contact-link { display: none; }
  h1 { font-size: 50px; }
  .hero-copy > p:last-child { font-size: 15px; }
  .course-content { padding: 28px; }
  .course-content h3 { font-size: 32px; }
  footer { flex-direction: column; gap: 6px; }
}

