:root {
  --font-heading: "Phudu", sans-serif;
  --font-body: "Be Vietnam Pro", sans-serif;
  --text-base: 1rem;
  --text-meta: .875rem;
  --text-nav: .9375rem;
  --text-h1: 1.5rem;
  --text-h2: 1.375rem;
  --text-h3: 1.25rem;
  --text-h4: 1.125rem;
  --leading-body: 1.6;
  --leading-meta: 1.5;
  --leading-button: 1.4;
  --leading-h1: 1.25;
  --leading-h2: 1.3;
  --leading-h3: 1.35;
  --leading-h4: 1.4;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --red: #9f1d19;
  --red-dark: #841713;
  --gold: #d9aa69;
  --ink: #251f1b;
  --muted: #6b5c50;
  --line: #d9b7a0;
  --paper: #f8f1e4;
  --paper-soft: #fbf6ec;
  --footer: #1e2323;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--weight-normal);
  line-height: var(--leading-body);
  background: var(--paper-soft);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: .015em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

body .quick-nav a,
body .hotline span,
body .hotline a {
  color: #fff;
}

.container {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  color: #fff;
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
  padding: .5rem 0;
  background: var(--red);
}

.topbar .container,
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.quick-nav,
.hotline {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: var(--weight-medium);
}

.hotline {
  gap: 13px;
}

.social {
  min-width: 16px;
  text-align: center;
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

a.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.main-nav {
  height: 68px;
  background: rgba(254, 249, 239, .96);
  border-bottom: 1px solid #efe0cf;
}

.brand img {
  width: 178px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  padding: 0 34px;
  font-size: var(--text-nav);
  font-weight: var(--weight-medium);
  line-height: var(--leading-button);
}

.nav-links a {
  position: relative;
  padding: 28px 0 24px;
  white-space: nowrap;
}

.nav-links .active {
  color: var(--red);
}

.nav-links .active::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
}

.menu-toggle {
  display: none;
}

.trial-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 21px;
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-button);
  white-space: nowrap;
  background: var(--red);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}

.site-main {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 36%, rgba(196, 167, 120, .16), transparent 18%),
    linear-gradient(180deg, #fbf5ea 0%, #f7efdf 100%);
}
.primary-btn {
  gap: 9px;
  min-height: 39px;
  padding: 0 20px;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  letter-spacing: .015em;
}

.course-card,
.post-card {
  display: grid;
  grid-auto-rows: auto 1fr;
  overflow: hidden;
  background: #fff8ee;
  border: 1px solid #dfc5b3;
  border-radius: 5px;
}

.card-image-link {
  display: block;
}

.card-title-link {
  display: block;
}

.card-image-link img,
.course-card img,
.post-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-body {
  padding: 7px 10px 8px;
  position: relative;
}

.card-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url(https://i.pinimg.com/736x/1f/83/4d/1f834d6a7ea6ceb981fd0781af70f6ef.jpg);
  background-size: 500px;
  opacity: 0.2;
  pointer-events: none;
}

.card-body > * {
  position: relative;
  z-index: 1;
}

.card-body h3 {
  margin: 0 0 4px;
  color: #8f211b;
  font-size: var(--text-h3);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-h3);
}

.card-body .sub {
  margin: 0 0 5px;
  color: #3a2a22;
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
  font-weight: var(--weight-medium);
}

.card-body p {
  margin: 0 0 7px;
  color: #68594d;
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.card-body a {
  color: var(--red);
  font-size: var(--text-meta);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-button);
}
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 17px;
  color: var(--red);
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-button);
  border: 1px solid #b53a31;
  border-radius: 4px;
}

.stats {
  padding: 10px 0 11px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 110%, rgba(230, 172, 88, .16), transparent 24%),
    radial-gradient(circle at 88% 20%, rgba(230, 172, 88, .13), transparent 26%),
    var(--red);
}

.stats .content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1rem;
  align-items: center;
  padding-right: 2rem;
  border-right: 1px solid rgba(230, 178, 103, .45);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: var(--gold);
  font-size: var(--text-h2);
  line-height: 1;
  border: 1px solid rgba(234, 185, 104, .9);
  border-radius: 50%;
}

.stat-item strong {
  display: block;
  color: #ffcf87;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: var(--weight-bold);
  line-height: var(--leading-h1);
  letter-spacing: .02em;
}

.stat-item h3 {
  margin: 3px 0 5px;
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-h4);
}

.stat-item p {
  margin: 0;
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}
.site-footer {
  padding: 28px 0 31px;
  color: #e8ddd0;
  background:
    radial-gradient(circle at 5% 14%, rgba(202, 190, 168, .09), transparent 17%),
    radial-gradient(circle at 85% 90%, rgba(202, 190, 168, .08), transparent 17%),
    var(--footer);
}

.site-footer .container {
  display: grid;
  grid-template-columns: 20% auto auto 240px 20%;
  gap: 2rem;
}

.footer-brand img {
  width: 170px;
  filter: brightness(1.18);
}

.footer-brand p,
.footer-col p {
  margin: 16px 0 0;
  color: #cfc6bb;
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 13px;
}

.footer-socials span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #706962;
  border-radius: 50%;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #f7ead9;
  border: 1px solid #706962;
  border-radius: 50%;
}

.footer-col h3 {
  margin: 0 0 17px;
  color: #fff;
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-h4);
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #d6cec4;
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.contact p {
  margin-top: 0;
  margin-bottom: 9px;
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.contact p i {
  width: 16px;
  margin-right: 6px;
  color: var(--gold);
  text-align: center;
}

.newsletter form {
  display: flex;
  height: 38px;
  margin-top: 16px;
  border: 1px solid #777068;
  border-radius: 4px;
  overflow: hidden;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  padding: 0 13px;
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
  background: rgba(255, 255, 255, .06);
  border: 0;
  outline: 0;
}

.newsletter input::placeholder {
  color: #a79f97;
}

.newsletter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  color: #1f2221;
  font-family: var(--font-body);
  font-size: var(--text-meta);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-button);
  background: #f2e6d4;
  border: 0;
}

.breadcrumb {
  padding: 13px 0;
  background: rgba(250, 243, 232, .9);
  border-bottom: 1px solid #ead8c5;
}

.breadcrumb .content {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.breadcrumb-separator,
.breadcrumb .content > span:not(:last-child) {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.breadcrumb-separator i,
.breadcrumb .content > span:not(:last-child) i {
  font-size: .75rem;
}

.breadcrumb a,
.breadcrumb span:last-child {
  color: var(--red);
  font-weight: var(--weight-medium);
}

.page-section {
  padding: 36px 0;
  background: #fbf5ea;
}

.page-section.alt {
  background: #fcf8f0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading.center {
  justify-content: center;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  line-height: var(--leading-h2);
  text-transform: uppercase;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-meta);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-button);
  background: var(--red);
  border-radius: 4px 16px 16px 4px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 42px;
}

.feature-card,
.value-card,
.level-card,
.side-card,
.info-card,
.review-card,
.topic-card {
  background: rgba(255, 250, 240, .72);
  border: 1px solid #dfc2ad;
  border-radius: 6px;
}

.feature-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 15px;
  align-items: start;
  border: 0;
  background: transparent;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--red);
  font-size: var(--text-h4);
  line-height: 1;
  border: 1px solid #c58b79;
  border-radius: 50%;
}

.feature-card h3,
.value-card h3,
.level-card h3,
.side-card h3,
.info-card h3,
.review-card h3,
.topic-card h3 {
  margin: 0 0 8px;
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-h4);
}

.feature-card p,
.value-card p,
.level-card p,
.side-card p,
.info-card p,
.review-card p,
.topic-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.meta-list {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--red);
  font-weight: var(--weight-semibold);
}
.plain-btn {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--red);
  font-size: var(--text-nav);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-button);
  white-space: nowrap;
  border: 1px solid #b53a31;
  border-radius: 5px;
  background: rgba(255, 250, 240, .8);
}
.newsletter-form {
  display: grid;
  gap: 12px;
}

.side-card hr {
  margin: 22px 0;
  border: 0;
  border-top: 1px solid #dfc5b3;
}
