:root {
  /* Color system */
  --color-bg: #ffffff;
  --color-bg-soft: #f9f8f4;
  --color-bg-footer: #000000;
  --color-text: #111111;
  --color-text-muted: #999999;
  --color-line: #edeade;
  --color-line-strong: #bfa3f5;
  --color-accent: #7d38e6;
  --color-accent-ink: #ffffff;

  /* Typography system */
  --font-ui: "Inter", "Segoe UI", sans-serif;
  --font-display: "DM Sans", "Segoe UI", sans-serif;
  --font-serif: "Times New Roman", serif;

  --text-0: 12px;
  --text-1: 14px;
  --text-2: 16px;
  --text-3: 17px;
  --text-4: 20px;
  --text-5: 23px;
  --text-6: 36px;

  /* Layout system */
  --container-max: 1164px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 40px;
  --space-7: 54px;
  --space-8: 80px;
  --space-9: 108px;

  /* Shape and effects */
  --radius-sm: 4px;
  --radius-md: 10px;
  --focus-ring: 2px solid rgba(17, 17, 17, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg-soft);
  font-family: var(--font-ui);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container-max), calc(100% - 54px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 12px;
  z-index: 1000;
  padding: 8px 10px;
  color: #ffffff;
  text-decoration: none;
  background: #000000;
  border-radius: var(--radius-sm);
}

.skip-link:focus-visible {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

/* Shared header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
}

.site-header .header-inner {
  position: relative;
  z-index: 1;
}

.header-inner {
  min-height: 101px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.logo-link img {
  width: 127px;
  height: 13px;
}

.logo-link {
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--color-text);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-size: 15px;
}

.primary-nav a {
  line-height: 18.4px;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.primary-nav a.is-active {
  border-bottom: 2px solid var(--color-line-strong);
}

.primary-nav a.about-link {
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 14.9px;
  padding: 3px 0;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 15px;
  height: 2px;
  display: block;
  border-radius: 3px;
  background: var(--color-text);
  content: "";
}

.menu-icon {
  position: relative;
}

.menu-icon::before {
  position: absolute;
  top: -5px;
}

.menu-icon::after {
  position: absolute;
  top: 5px;
}

/* Shared button + forms */
.btn-yellow {
  display: inline-flex;
  margin-top: var(--space-4);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 16px;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  padding: 12px 18px;
}

/* Shared 30-days section */
.course-section {
  background: var(--color-bg-soft);
  padding: 160px 0;
}

.course-grid {
  display: grid;
  grid-template-columns: minmax(0, 550px) minmax(0, 445px);
  justify-content: space-between;
  gap: var(--space-6);
}

.course-copy h2 {
  margin: 0 0 48px;
  font-family: var(--font-display);
  font-size: 35.7px;
  line-height: 45px;
  font-weight: 700;
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.benefit-list li {
  display: flex;
  gap: var(--space-3);
}

.benefit-list li img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 5px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  padding: 6px 4.5px;
}

.benefit-list strong {
  display: block;
  font-size: 17px;
  line-height: 30px;
  font-weight: 700;
}

.benefit-list p {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  font-style: italic;
}

.course-card {
  position: relative;
  background: #ffffff;
  padding: 60px;
}

.course-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 31.5px;
  font-weight: 700;
  text-align: center;
}

.course-card form {
  margin-top: 42px;
}

.course-card input,
.course-card button {
  width: 100%;
  border: 1px solid var(--color-accent);
  font-family: var(--font-display);
}

.course-card input {
  color: var(--color-text);
  background: #ffffff;
  font-size: 16.9px;
  text-align: center;
  padding: 18px 22px 15.69px;
}

.course-card button {
  margin-top: 15px;
  border: 0;
  color: var(--color-accent-ink);
  background: var(--color-accent);
  font-size: 17px;
  font-weight: 700;
  text-transform: lowercase;
  padding: 17px 24px;
  cursor: pointer;
}

.course-card p {
  margin: 25px 0 0;
  text-align: center;
  font-size: 14.6px;
  line-height: 27px;
  font-style: italic;
}

.card-corner {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 52px;
  height: 43px;
}

/* Shared footer */
.site-footer {
  background: var(--color-bg-footer);
  color: var(--color-text-muted);
  padding-top: 48px;
  padding-bottom: 111px;
}

.footer-inner {
  padding-bottom: 3px;
}

.footer-logo {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding-top: 4px;
  padding-bottom: 10px;
  text-decoration: none;
}

.footer-logo img {
  width: 127px;
  height: 13px;
}

.footer-brand-mark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

.footer-contact {
  margin: 0 auto;
  max-width: 1100px;
}

.footer-contact h2 {
  margin: 0 0 56px;
  color: #ffffff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 32px;
}

.footer-contact-inner {
  display: flex;
  align-items: stretch;
  gap: 48px;
}

.footer-contact-copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: #cccccc;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 28px;
}

.footer-contact-copy p {
  margin: 0 0 14px;
}

.footer-contact-copy p:last-child {
  margin-bottom: 0;
}

.footer-contact-copy strong {
  color: #ffffff;
}

.footer-contact-inquiry {
  margin-top: 24px !important;
  color: #aaaaaa;
  font-size: 14px;
}

.footer-contact-email {
  font-size: 15px;
}

.footer-contact-email a {
  color: #a46dff;
  text-decoration: none;
}

.footer-contact-email a:hover {
  text-decoration: underline;
}

.footer-form-wrap {
  flex: 0 0 min(520px, 100%);
}

.footer-form-wrap [data-fillout-id] {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.footer-meta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.footer-meta a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 12.2px;
  line-height: 21.45px;
}

.footer-meta .sep {
  width: 1px;
  height: 10px;
  background: #444444;
}

@media (max-width: 1024px) {
  .header-inner {
    min-height: 71px;
  }

  .course-section {
    padding: 54px 0;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-copy h2 {
    font-size: 22.3px;
    line-height: 30px;
    margin-bottom: 32px;
  }

  .course-card {
    max-width: 385px;
    padding: 30px;
    margin-inline: auto;
  }

  .course-card h3 {
    font-size: 17px;
    line-height: 27px;
  }

  .course-card form {
    margin-top: 30px;
  }

  .course-card button {
    font-size: 13px;
  }

  .site-footer {
    padding-top: 79px;
    padding-bottom: 77px;
  }

  .footer-contact-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-form-wrap {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: fixed;
    background: #ffffff;
  }

  .header-inner {
    min-height: 78px;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    padding: 96px 28px 28px;
    background: rgba(249, 248, 244, 0.98);
    border: 0;
    display: none;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    overflow-y: auto;
    backdrop-filter: blur(8px);
  }

  .primary-nav a {
    font-size: 28px;
    line-height: 1.25;
    padding: 8px 0;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 60;
    gap: 12px;
    font-size: 18px;
    padding: 8px 0;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    width: 18px;
  }

  .menu-icon::before {
    top: -6px;
  }

  .menu-icon::after {
    top: 6px;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 54px);
  }

  .course-copy h2 {
    font-size: 22.5px;
  }

  .benefit-list strong,
  .benefit-list p {
    font-size: 16.5px;
  }

  .course-card {
    width: 100%;
    max-width: 336px;
    padding: 30px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 0;
  }

  .footer-meta .sep {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
