:root {
  --ink: #14213d;
  --ink-soft: #42526e;
  --paper: #f8f7f3;
  --surface: #ffffff;
  --line: #d9dfd2;
  --mint: #2f7d68;
  --mint-dark: #19594a;
  --coral: #c55d42;
  --sky: #d8e9f2;
  --shadow: 0 18px 50px rgba(20, 33, 61, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); 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(18px, 5vw, 72px);
  background: rgba(248, 247, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: var(--mint);
  border-radius: 8px;
  font-weight: 800;
}
.brand small, .site-footer, .section-heading p, .lead, .preview-list p, .offer-grid p, .day-card p, .microcopy { color: var(--ink-soft); }
.brand small { display: block; font-size: 12px; }
nav { display: flex; flex-wrap: wrap; gap: 10px; }
nav a { padding: 8px 10px; border-radius: 6px; color: var(--ink-soft); font-weight: 650; }
nav a:hover, nav a:focus-visible { color: var(--ink); background: var(--sky); outline: none; }

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  min-height: 78vh;
  padding: clamp(54px, 8vw, 98px) clamp(18px, 5vw, 72px) 42px;
}
.hero-copy { max-width: 740px; }
.eyebrow { margin: 0 0 10px; color: var(--mint-dark); font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(46px, 8vw, 92px); line-height: 0.95; }
h2 { margin-bottom: 12px; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.04; }
h3 { margin-bottom: 8px; font-size: 20px; }
.lead { max-width: 620px; font-size: 20px; }

.hero-actions, .course-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}
.button-primary { color: white; background: var(--mint); }
.button-primary:hover, .button-primary:focus-visible { background: var(--mint-dark); outline: none; }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--mint); outline: none; }

.signal-panel {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky), #ffffff 54%, #f7dfd5);
  box-shadow: var(--shadow);
}
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px; }
.signal-grid span { display: block; min-height: 74px; border-radius: 6px; background: rgba(255, 255, 255, 0.56); border: 1px solid rgba(20, 33, 61, 0.08); }
.signal-card { position: absolute; right: 22px; bottom: 22px; left: 22px; padding: 20px; border-radius: 8px; background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(20, 33, 61, 0.08); }
.card-label { display: inline-flex; margin-bottom: 10px; padding: 4px 8px; border-radius: 5px; color: white; background: var(--coral); font-weight: 800; }

.section-block { padding: clamp(56px, 8vw, 92px) clamp(18px, 5vw, 72px); border-top: 1px solid var(--line); }
.section-heading { max-width: 860px; margin-bottom: 28px; }
.assessment, .offer-grid, .preview-list, .course-shell, .day-list { display: grid; gap: 16px; }
.assessment { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
fieldset, .offer-grid article, .preview-list article, .result-box, .course-panel, .day-card, .note-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
fieldset { margin: 0; padding: 18px; }
legend { padding: 0 6px; font-weight: 800; }
label { display: flex; gap: 10px; margin-top: 12px; color: var(--ink-soft); }
input[type="radio"], input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--mint); flex: 0 0 auto; }
.assessment .button { grid-column: 1 / -1; justify-self: start; }
.result-box { margin-top: 18px; padding: 18px; }
.offer-band { background: #eef5ef; }
.offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer-grid article, .preview-list article { padding: 20px; }
.purchase-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.price { display: block; font-size: 34px; font-weight: 900; }
.preview-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.preview-list span, .day-kicker { display: inline-block; margin-bottom: 10px; color: var(--coral); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.site-footer { padding: 26px clamp(18px, 5vw, 72px); border-top: 1px solid var(--line); }

.course-header { padding-bottom: 10px; }
.course-shell { grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr); align-items: start; padding: 28px clamp(18px, 5vw, 72px) 70px; }
.course-panel, .note-panel { padding: 20px; }
.progress-track { height: 12px; overflow: hidden; border-radius: 999px; background: #e4e9dc; }
.progress-fill { width: 0; height: 100%; background: var(--mint); transition: width 180ms ease; }
.day-list { margin-top: 18px; }
.day-card { width: 100%; padding: 15px; text-align: left; color: var(--ink); cursor: pointer; }
.day-card[aria-current="true"] { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(47, 125, 104, 0.12); }
.day-card.is-complete { background: #f1f7f2; }
.lesson-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.task-list { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.task-list label { align-items: flex-start; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: #fbfbf8; }
textarea { width: 100%; min-height: 220px; resize: vertical; padding: 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; background: #fbfbf8; font: inherit; }
textarea:focus { border-color: var(--mint); outline: 3px solid rgba(47, 125, 104, 0.16); }
.status-line { min-height: 22px; margin-top: 10px; color: var(--mint-dark); font-weight: 700; }

@media (max-width: 900px) {
  .site-header, .purchase-strip { align-items: flex-start; flex-direction: column; }
  .hero-section, .assessment, .offer-grid, .preview-list, .course-shell { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; }
}

@media (max-width: 560px) {
  .signal-panel { min-height: 330px; }
  .button, .hero-actions, .course-actions { width: 100%; }
  nav { width: 100%; }
  nav a { padding-left: 0; }
}
