:root {
  --bg: #ffffff;
  --text: #0d0d0d;
  --muted: #5b5b5b;
  --accent: #2f6fed;
  --accent-hover: #1d4fb8;
  --line: #ececec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
}

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

.nav a.current {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}

main {
  padding: 56px 0;
}

h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 48px 0 16px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 10px;
}

p {
  margin: 0 0 18px;
  max-width: 70ch;
}

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

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

a:visited {
  color: var(--accent);
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 60ch;
}

.hero {
  background: #ffffff;
}

.hero .container {
  padding-top: 56px;
  padding-bottom: 32px;
  text-align: center;
}

.hero h1 {
  font-size: 64px;
}

.hero p,
.hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero .button-row {
  justify-content: center;
}

.hero .media {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.hero-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: block;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 8px;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--text);
  color: #ffffff;
}

.btn-primary:hover {
  background: #2b2b2b;
  color: #ffffff;
}

.btn-outline {
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.media {
  max-width: 760px;
  margin: 28px 0;
}

.media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.caption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

.icon {
  display: inline-block;
  vertical-align: middle;
  color: var(--accent);
}

.icon-list {
  list-style: none;
  padding-left: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.icon-list .icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.levels {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.level {
  flex: 1 1 220px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  background: #ffffff;
}

.level .icon {
  width: 28px;
  height: 28px;
}

.level h3 {
  margin: 14px 0 6px;
}

.level .tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.level p {
  margin: 6px 0 0;
  font-size: 15px;
}

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

li {
  margin: 8px 0;
  max-width: 70ch;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 600;
  background: #fafafa;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  margin: 28px 0;
  background: #ffffff;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding-bottom: 56.25%;
  margin: 24px 0 10px;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.muted {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer .container {
  padding-top: 26px;
  padding-bottom: 40px;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 44px;
  }
  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 24px;
  }
  .site-header .container {
    height: auto;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}
