* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #1c1c1c;
  background: #f6f4f1;
  line-height: 1.6;
}

a {
  color: #2b4b9b;
  text-decoration: none;
}

a:focus,
button:focus,
select:focus,
input:focus {
  outline: 2px solid #2b4b9b;
  outline-offset: 2px;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  background: #0f1b2d;
  color: #fff;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ad-disclosure {
  font-size: 0.85rem;
  color: #f6d38b;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  color: #e6ecf2;
}

.sidebar-cta {
  background: #f6d38b;
  color: #1c1c1c;
  padding: 16px;
  border-radius: 14px;
  position: sticky;
  top: 16px;
}

.sidebar-cta a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 14px;
  background: #1c1c1c;
  color: #fff;
  border-radius: 999px;
}

.content {
  flex: 1;
  padding: 40px 48px 64px;
  background: #f6f4f1;
}

.hero {
  display: flex;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 40px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #2b4b9b;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn.secondary {
  background: #fff;
  color: #2b4b9b;
  border: 2px solid #2b4b9b;
}

.image-frame {
  flex: 1;
  background: #d9d3c7;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  margin: 40px 0;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section.dark {
  background: #0f1b2d;
  color: #f5f5f5;
}

.split {
  display: flex;
  gap: 24px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 220px;
  background: #f3efe7;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  background: #d9d3c7;
}

.price-tag {
  font-weight: 700;
  color: #2b4b9b;
}

.highlight {
  background: #f6d38b;
  border-radius: 16px;
  padding: 18px;
}

.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #c7c7c7;
  font-size: 1rem;
}

textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #c7c7c7;
  font-size: 1rem;
  min-height: 120px;
}

.inline-cta {
  font-weight: 600;
}

.footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #d6d2c8;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: #0f1b2d;
  color: #fff;
  padding: 16px;
  border-radius: 16px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.bg-lesson {
  background-color: #8d9bb0;
  background-image: url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bg-muted {
  background-color: #6f6a60;
  background-image: url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(43, 75, 155, 0.12);
  color: #2b4b9b;
  font-weight: 600;
}

.notice {
  font-size: 0.9rem;
  background: #f3efe7;
  padding: 14px;
  border-radius: 12px;
}

.page-hero {
  display: flex;
  gap: 24px;
  align-items: center;
}

.page-hero .image-frame {
  max-height: 280px;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: column;
  }

  .content {
    padding: 32px 24px 56px;
  }

  .hero,
  .split,
  .page-hero {
    flex-direction: column;
  }
}
