:root {
  --navy: #0d1b2a;
  --slate: #415568;
  --blue: #788fa6;
  --gold: #c9a46b;
  --paper: #e6e1d6;
  --white: #fff;
  --line: #d7d8d6;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f7f6f2;
  color: var(--navy);
  font:
    16px/1.65 Montserrat,
    Arial,
    sans-serif;
}
.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 78px);
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}
.site-header.course-header {
  background: #fff;
  color: var(--navy);
  border-bottom: 1px solid #dfe3e6;
}
.course-brand {
  display: flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
}
.course-brand img {
  display: block;
  width: 265px;
  height: 66px;
  object-fit: contain;
}
.course-header nav a {
  color: var(--navy);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.brand img {
  width: 62px;
  height: 38px;
  object-fit: cover;
  object-position: left;
}
.brand img.full-logo {
  width: 265px;
  height: 66px;
  object-fit: contain;
}
.brand strong {
  display: block;
  letter-spacing: 0.18em;
  font-size: 15px;
  font-weight: 500;
}
.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.15em;
  color: var(--gold);
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}
.login-link {
  border: 1px solid var(--gold);
  padding: 8px 13px;
}
.menu {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: inherit;
  padding: 9px 14px;
  font: inherit;
  cursor: pointer;
}
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 85px clamp(24px, 8vw, 130px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}
.page-hero p {
  color: #ccd4d9;
  max-width: 680px;
  font-size: 17px;
}
.eyebrow {
  color: var(--gold) !important;
  font-size: 11px !important;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.hero-mark {
  display: block;
  width: min(430px, 100%);
  background: transparent;
  border: 0 !important;
  outline: 0;
  box-shadow: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0 22px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border: 0;
}
.gold {
  background: var(--gold);
  color: var(--navy);
}
.outline {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.light {
  background: #fff;
  color: var(--navy);
}
.section {
  padding: 90px clamp(24px, 8vw, 130px);
}
.section.alt {
  background: var(--paper);
}
.section h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 25px;
}
.section-intro {
  max-width: 760px;
  color: #5f6a71;
  font-size: 17px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 45px;
}
.card {
  background: #fff;
  padding: 30px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 12px 28px #0d1b2a10;
}
.card h3 {
  font-size: 21px;
  margin: 8px 0;
}
.card p,
.card li {
  color: #647078;
  font-size: 14px;
}
.card ul {
  padding-left: 20px;
}
.book-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
  align-items: center;
}
.book-layout img {
  width: 100%;
  box-shadow: 18px 24px 45px #0d1b2a35;
}
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  padding: 12px 0 12px 25px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.check-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 10px;
  height: 2px;
  background: var(--gold);
}
.course-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 35px;
}
.course-item {
  background: #fff;
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.course-item span {
  color: var(--gold);
  font-weight: 600;
}
.course-item h3 {
  font-size: 17px;
  margin: 0;
}
.course-item p {
  font-size: 13px;
  color: #667078;
  margin: 5px 0 0;
}
.notice {
  border-left: 4px solid var(--gold);
  background: #fff;
  padding: 18px 22px;
  margin: 28px 0;
  color: #59656c;
}
.pricing-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer {
  background: #fff;
  padding: 34px;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  border-top: 5px solid var(--blue);
}
.offer.featured {
  border-top-color: var(--gold);
}
.offer h2 {
  font-size: 28px;
  margin: 12px 0;
}
.offer p,
.offer li {
  font-size: 14px;
  color: #647078;
}
.offer ul {
  padding-left: 20px;
  flex: 1;
}
.status {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #8a692d;
  font-weight: 600;
}
.login-shell {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-side {
  background: var(--navy);
  color: #fff;
  padding: clamp(45px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-side h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
}
.login-side p {
  color: #c4cdd2;
}
.login-panel {
  padding: clamp(40px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-panel form {
  max-width: 430px;
}
.field {
  display: block;
  margin: 18px 0;
}
.field span {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  height: 48px;
  border: 1px solid #bcc3c6;
  background: #fff;
  padding: 0 14px;
  font: inherit;
}
.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.dashboard {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - 82px);
}
.sidebar {
  background: #132638;
  color: #fff;
  padding: 35px 26px;
}
.sidebar a {
  display: block;
  color: #bdc8cf;
  text-decoration: none;
  padding: 12px 0;
}
.sidebar a.active {
  color: var(--gold);
}
.workspace {
  padding: 55px clamp(25px, 6vw, 90px);
}
.workspace h1 {
  font-size: 40px;
  font-weight: 500;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.library-card {
  background: #fff;
  padding: 28px;
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 22px;
  box-shadow: 0 12px 28px #0d1b2a10;
}
.library-card img {
  width: 100%;
}
.progress {
  height: 6px;
  background: #e1e4e5;
  margin: 18px 0;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--gold);
}
.lock {
  font-size: 12px;
  color: #68747b;
}
.footer {
  background: #071521;
  color: #8fa0aa;
  padding: 42px clamp(24px, 7vw, 110px);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
}
.footer strong {
  color: #fff;
  letter-spacing: 0.15em;
}
@media (max-width: 900px) {
  .page-hero,
  .book-layout,
  .login-shell {
    grid-template-columns: 1fr;
  }
  .hero-mark {
    max-width: 380px;
  }
  .cards,
  .pricing-page {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
}
@media (max-width: 650px) {
  .site-header {
    height: 74px;
    padding-inline: 22px;
  }
  .brand img.full-logo,
  .course-header .brand img {
    width: min(245px, 62vw) !important;
    height: auto !important;
  }
  .menu {
    display: block;
  }
  .course-header .menu {
    color: var(--navy);
  }
  .course-brand img {
    width: min(210px, 58vw);
    height: 54px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    z-index: 20;
    top: 74px;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a,
  .course-header nav a {
    display: block !important;
    color: #fff !important;
  }
  .brand small {
    display: none;
  }
  .cards,
  .pricing-page,
  .course-list,
  .library-grid {
    grid-template-columns: 1fr;
  }
  .page-hero,
  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .login-side {
    display: none;
  }
  .library-card {
    grid-template-columns: 80px 1fr;
  }
  .footer {
    flex-direction: column;
  }
}

.footer-legal a {
  color: inherit;
}
