:root {
  --color-cream: #fbf5e8;
  --color-beige: #efe2cb;
  --color-navy: #18283f;
  --color-navy-soft: #293b56;
  --color-gold: #d9ad5b;
  --color-gold-soft: #f3dfb4;
  --color-warm-white: #fffdf8;
  --color-cocoa: #7c6047;
  --color-ink: #17212f;
  --color-muted: #657182;
  --ink: var(--color-ink);
  --muted: var(--color-muted);
  --paper: var(--color-cream);
  --panel: #ffffff;
  --line: #e2d5be;
  --accent: var(--color-gold);
  --accent-dark: #b98933;
  --navy: var(--color-navy);
  --shadow: 0 22px 70px rgba(24, 40, 63, 0.14);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(190px, 24vw, 310px);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.hero,
.benefits,
.info-section,
.signup-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 160px);
  padding: 42px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-cocoa);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 750px;
  margin-bottom: 20px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 7vw, 5.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--navy);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--color-navy-soft);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.subtle {
  min-height: 44px;
  padding-inline: 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.button.subtle:hover,
.button.subtle:focus-visible {
  border-color: var(--accent);
  color: var(--navy);
}

.button.full {
  width: 100%;
}

.button.disabled,
.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.58;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 18px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -28px 38px 80px -22px;
  z-index: -1;
  border-radius: 8px;
  background: var(--color-beige);
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.26;
  object-fit: cover;
  object-position: 47% 34%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.confirmation-box {
  display: grid;
  gap: 6px;
  max-width: 520px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--color-warm-white);
  box-shadow: 0 16px 42px rgba(24, 40, 63, 0.08);
}

.confirmation-box span {
  color: var(--color-cocoa);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.confirmation-box strong {
  color: var(--navy);
}

.tracker-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.preview-logo {
  width: min(220px, 72%);
  filter: brightness(0) invert(1);
}

.preview-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--color-gold);
  color: var(--ink);
  font-size: 0.8rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 1px;
  background: var(--line);
  margin: 20px;
  border: 1px solid var(--line);
}

.preview-grid span {
  min-height: 44px;
  padding: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 0.93rem;
}

.preview-grid span:nth-child(-n + 3) {
  background: #f8edda;
  color: var(--ink);
  font-weight: 800;
}

.preview-note {
  margin: 0;
  padding: 0 20px 22px;
  color: var(--muted);
}

.benefits,
.lead-magnet {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.benefits p,
.lead-magnet p,
.signup-copy p,
.form-note {
  color: var(--muted);
}

.section-kicker {
  color: var(--color-cocoa);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
}

.lead-magnet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.tracker-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px 20px 20px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--color-warm-white);
  box-shadow: 0 16px 42px rgba(24, 40, 63, 0.08);
}

.tracker-list li::marker {
  color: var(--accent-dark);
}

.tracker-card-stack {
  display: grid;
  gap: 14px;
}

.tracker-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tracker-steps span {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-list article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.info-section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.info-layout p {
  color: var(--muted);
}

.info-layout p:last-child {
  margin-bottom: 0;
}

.course-section {
  background:
    linear-gradient(90deg, rgba(217, 173, 91, 0.14), rgba(255, 253, 248, 0));
}

.privacy-section {
  padding-bottom: 36px;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: start;
  padding: 72px 0 92px;
  border-top: 1px solid var(--line);
}

.signup-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--color-warm-white);
  box-shadow: 0 22px 60px rgba(24, 40, 63, 0.12);
}

.field {
  margin-bottom: 18px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 750;
}

label span {
  color: var(--muted);
  font-weight: 550;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #cbd4cd;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

input:focus {
  border-color: var(--accent-dark);
  outline: 3px solid rgba(217, 173, 91, 0.26);
}

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  margin: 6px 0 6px;
  font-weight: 600;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.error {
  display: none;
  margin: 8px 0 0;
  color: #a33c2c;
  font-size: 0.92rem;
}

.error.visible {
  display: block;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-logo {
  width: min(220px, 52vw);
  height: auto;
}

@media (max-width: 860px) {
  .hero,
  .benefits,
  .info-layout,
  .lead-magnet,
  .lead-magnet-layout,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .benefits,
  .lead-magnet,
  .info-section,
  .signup-section {
    gap: 22px;
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .tracker-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .brand-logo {
    width: min(260px, 80vw);
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .tracker-steps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
