:root {
  color-scheme: light;
  --blue: #1f74bb;
  --blue-dark: #155a96;
  --yellow: #f4b63f;
  --red: #d94b45;
  --ink: #263342;
  --muted: #687789;
  --line: #dbe5ef;
  --surface: #ffffff;
  --soft: #f5f8fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: #f7f9fc;
}

a {
  color: inherit;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), #38a6dc);
  box-shadow: inset -8px -8px 0 rgba(244, 182, 63, 0.32);
}

.brand-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #506174;
  font-size: 14px;
}

.login {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.34) 100%),
    linear-gradient(135deg, #eff7ff 0%, #ffffff 45%, #fff4dc 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow);
}

h1 {
  max-width: 620px;
  margin: 18px 0 14px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 0;
  color: #536477;
  font-size: 18px;
  line-height: 1.62;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 620px;
}

.status {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.status strong {
  display: block;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1;
}

.status span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.visual {
  position: relative;
  min-height: 318px;
}

.browser {
  position: absolute;
  inset: 18px 0 0 26px;
  border: 1px solid #cddcea;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(46, 84, 124, 0.16);
  overflow: hidden;
}

.browser-top {
  height: 42px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: #f6f9fc;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d5e1;
}

.browser-main {
  padding: 22px;
}

.course-line {
  height: 12px;
  border-radius: 999px;
  background: #dfeaf5;
  margin-bottom: 12px;
}

.course-line:nth-child(1) {
  width: 62%;
  background: var(--blue);
}

.course-line:nth-child(2) {
  width: 84%;
}

.course-line:nth-child(3) {
  width: 72%;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.course-tile {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.tile-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--yellow);
}

.course-tile:nth-child(2) .tile-icon {
  background: var(--blue);
}

.course-tile:nth-child(3) .tile-icon {
  background: var(--red);
}

.course-tile:nth-child(4) .tile-icon {
  background: #64b96a;
}

.tile-line {
  width: 76%;
  height: 9px;
  border-radius: 999px;
  background: #dfe7f0;
}

.accent-card {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 188px;
  min-height: 104px;
  border-radius: 8px;
  padding: 18px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(31, 116, 187, 0.22);
}

.accent-card strong {
  display: block;
  font-size: 28px;
}

.accent-card span {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.4;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 54px;
}

.section h2 {
  margin: 0 0 22px;
  font-size: 26px;
  line-height: 1.2;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.52;
}

.card::before {
  content: "";
  display: block;
  width: 38px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--yellow);
}

.card:nth-child(2)::before {
  background: var(--blue);
}

.card:nth-child(3)::before {
  background: var(--red);
}

.card:nth-child(4)::before {
  background: #64b96a;
}

.footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 300px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .brand-title {
    white-space: normal;
  }

  h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 16px;
  }

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

  .visual {
    display: none;
  }

  .footer-inner {
    min-height: auto;
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

