:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f2f0ec;
  --text: #201b2d;
  --muted: #665f72;
  --line: #ded8e8;
  --accent: #7c3aed;
  --accent-dark: #5b21b6;
  --teal: #0f766e;
  --shadow: 0 24px 60px rgba(40, 28, 70, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(251, 250, 248, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 650;
}

.nav a:hover,
.header-cta:hover {
  color: var(--accent-dark);
}

.header-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 750;
  background: var(--surface);
}

.hero,
.page-hero,
.section,
.cta-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: 72px 0;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 14px 0 22px;
  max-width: 850px;
}

.hero-subtitle,
.page-hero p,
.wide-text,
.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.22);
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.button.light {
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  min-height: 440px;
  display: grid;
  place-items: center;
}

.sheet-card {
  width: min(100%, 460px);
  border-radius: 22px;
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(124, 58, 237, 0.16);
  transform: rotate(2deg);
}

.sheet-toolbar {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.sheet-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ded8e8;
}

.sheet-title {
  font-weight: 850;
  font-size: 20px;
  margin-bottom: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.metric-grid div {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 14px;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-grid span {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 850;
}

.chart {
  height: 170px;
  margin-top: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f6f1ff, #fff);
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
}

.chart span {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--accent), var(--teal));
}

.section {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.split h2,
.about-strip h2,
.cta-band h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
  margin: 12px 0 0;
}

.wide-text {
  max-width: 900px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-cards.cards.four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.two {
  grid-template-columns: 1.15fr 0.85fr;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(40, 28, 70, 0.06);
}

.card h3 {
  font-size: 22px;
  margin: 12px 0 10px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.card-number {
  color: var(--accent);
  font-weight: 900;
}

.split,
.about-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.split p,
.about-strip p {
  color: var(--muted);
  font-size: 19px;
}

.section-button {
  margin-top: 18px;
}

.about-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 86px 0 44px;
}

.page-hero h1 {
  max-width: 920px;
}

.page-hero p {
  max-width: 780px;
}

.curriculum {
  display: grid;
  gap: 18px;
}

.module {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.module h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.module p {
  color: var(--muted);
  margin: 0;
}

.lessons {
  display: grid;
  gap: 14px;
}

.lesson-card {
  display: grid;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.lesson-copy {
  display: grid;
  gap: 8px;
}

.lesson-copy h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.lesson-copy small {
  justify-self: flex-start;
  color: var(--accent-dark);
  background: rgba(120, 70, 255, 0.1);
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 850;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

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

.video-link {
  justify-self: flex-start;
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
}

.video-link:hover {
  text-decoration: underline;
}


.template-guide {
  border-top: 1px solid var(--line);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.guide-panel,
.guide-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(40, 28, 70, 0.06);
}

.guide-panel {
  display: grid;
  gap: 18px;
}

.guide-panel fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.guide-panel legend {
  font-size: 18px;
  font-weight: 850;
  margin-bottom: 10px;
}

.guide-panel label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-2);
  cursor: pointer;
}

.guide-panel input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 2px;
}

.guide-panel textarea,
.guide-panel input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--text);
  background: var(--surface-2);
  font: inherit;
}

.guide-panel textarea {
  min-height: 132px;
  resize: vertical;
}

.guide-panel input[type="email"] {
  height: 48px;
  margin-top: 8px;
}

.guide-panel textarea:focus,
.guide-panel input[type="email"]:focus {
  outline: 2px solid rgba(124, 58, 237, 0.22);
  border-color: var(--accent);
}

.guide-panel .field-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: default;
  font-weight: 750;
}

.guide-panel .field-stack input[type="email"] {
  width: 100%;
  margin-top: 0;
  font-weight: 500;
}

.guide-result {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.guide-result h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
}

.guide-result p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.recommendation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recommendation-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--accent-dark);
  background: rgba(124, 58, 237, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.guide-result .form-note,
.field-warning {
  border-left: 3px solid #dc2626;
  padding: 10px 12px;
  color: #991b1b;
  background: #fef2f2;
  font-size: 14px;
  font-weight: 750;
}

.field-warning {
  margin: 0;
  border-radius: 0 8px 8px 0;
}

.recommendation-label {
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.guide-result ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.guide-result .button {
  justify-self: start;
}

.product-cards .product,
.offer-cards .product {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.offer-cards .product h3 {
  min-height: 56px;
}

.product ul {
  color: var(--muted);
  padding-left: 18px;
  margin: 0;
}

.price {
  color: var(--accent-dark) !important;
  font-size: 24px !important;
  font-weight: 900;
  margin: 0 !important;
}

.fine-print {
  font-size: 14px !important;
  color: var(--muted) !important;
}

.product .button {
  margin-top: auto;
  width: fit-content;
}

.featured {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: var(--shadow);
}

.cta-band {
  margin-top: 42px;
  margin-bottom: 64px;
  border-radius: 16px;
  padding: clamp(32px, 6vw, 58px);
  background: linear-gradient(135deg, var(--accent-dark), #2f1b59);
  color: white;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  font-size: 20px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .about-strip,
  .module,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-result {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .cards.three,
  .cards.four {
    grid-template-columns: 1fr;
  }

  .cards.two {
    grid-template-columns: 1fr;
  }


  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero,
  .page-hero,
  .section,
  .cta-band {
    width: min(100% - 28px, 1120px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .header-cta {
    display: none;
  }

  .lessons li {
    flex-direction: column;
  }
}
