:root {
  --bg: #f4f8fb;
  --ink: #0f172a;
  --accent: #0b6fa4;
  --card: #ffffff;
  --muted: #475569;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, #ecf6fb 0%, var(--bg) 50%, #f8fafc 100%);
  color: var(--ink);
}

.wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero {
  background: radial-gradient(circle at 20% 20%, #dff3ff 0%, #bfe6ff 40%, #a8d9fb 100%);
  padding: 56px 0 40px;
  border-bottom: 1px solid #d0e8f7;
}

.top-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  justify-content: flex-end;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo-mark {
  display: inline-block;
  min-width: 150px;
  padding: 7px 14px;
  border: 2px solid #153a6b;
  border-radius: 10px;
  color: #0f2747;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(135deg, #f1f6ff 0%, #eef2ff 100%);
  box-shadow: 0 4px 12px rgba(10, 30, 56, 0.14);
  text-decoration: none;
}

.logo-mark span {
  padding-left: 2ch;
  color: #0f766e;
}


.top-nav a {
  min-width: 90px;
  text-align: center;
  padding-top: 10px;
  border-top: 2px solid #355d97;
  text-decoration: none;
  color: #1c3f73;
  font-weight: 500;
  font-size: 1.05rem;
}

.top-nav a:hover {
  color: #2f8df4;
}

.top-nav a.active {
  color: #2f8df4;
  border-top-color: #2f8df4;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.courses {
  padding: 24px 0 8px;
}

.courses h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 0 40px;
}

.card {
  background: var(--card);
  border: 1px solid #dbe7ef;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.week {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #d8effc;
  color: #084f77;
  font-size: 0.82rem;
  font-weight: 600;
}

.card h2 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1.05rem;
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.card li {
  margin-bottom: 8px;
  color: #1e293b;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
  margin-top: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c8d8e6;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.contact-form button {
  width: 140px;
  margin-top: 6px;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #2f8df4;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  background: #dee2e7;
  min-height: 330px;
  border-radius: 12px;
  margin: 20px 0 10px;
  border: 1px solid #cfd7e0;
}

.landing-content {
  position: relative;
  z-index: 2;
  padding: 28px 34px 34px;
}

.landing-kicker {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #191f2a;
}

.landing-hero h1 {
  margin: 40px 0 6px;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.98;
  font-weight: 900;
  color: #171c27;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.landing-hero .section-subtitle {
  max-width: 850px;
  font-size: 1.05rem;
  color: #334155;
  margin-top: 12px;
}

.start-learning-btn {
  display: inline-block;
  margin-top: 20px;
  min-width: 150px;
  text-align: center;
  text-decoration: none;
  background: #3689de;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.start-learning-btn:hover {
  background: #2f7bca;
}

.blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.blob-left {
  width: 520px;
  height: 260px;
  left: -130px;
  bottom: -110px;
  background: #a8d0e4;
}

.blob-right {
  width: 700px;
  height: 360px;
  right: -260px;
  top: -90px;
  background: #b3e6df;
}

@media (max-width: 900px) {
  .landing-content {
    padding: 20px 20px 26px;
  }

  .landing-kicker {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .landing-hero h1 {
    margin: 20px 0 8px;
    font-size: clamp(2rem, 12vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
  }

  .landing-hero .section-subtitle {
    font-size: 0.98rem;
  }
}
