/* ==========================================================================
   CURA Cognitive — go.curacognitive.com Landing Page
   Mobile-first. Built on tokens.css. Paper White is the default surface;
   Deep Clinical Teal is used deliberately for the hero, register, and
   footer to bookend the page and give the Amber CTA somewhere to glow.
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--surface-page);
  color: var(--text-on-paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

p {
  margin: 0 0 18px;
  font-size: 1.05rem;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Section surfaces ---------- */
.section {
  padding: var(--space-xl) 0;
}

.section-paper {
  background: var(--surface-page);
  color: var(--text-on-paper);
}

.section-teal {
  background: var(--surface-teal);
  color: var(--text-on-teal);
}

.section-teal h1,
.section-teal h2,
.section-teal h3 {
  color: var(--text-on-teal);
}

.section-fog {
  background: var(--surface-fog-tint);
  color: var(--text-on-paper);
}

.section-fog .eyebrow {
  color: var(--accent-secondary);
}

/* ---------- Eyebrow + rule ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-paper .eyebrow {
  color: var(--accent-secondary);
}

.section-teal .eyebrow {
  color: var(--accent-cta);
}

.rule {
  width: 44px;
  height: 3px;
  background: var(--accent-cta);
  border: none;
  margin: 0 0 24px;
}

.section-head {
  max-width: 56ch;
  margin: 0 0 36px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rule-centered {
  margin-left: auto;
  margin-right: auto;
}

.section-flush-top {
  padding-top: 0;
}

.section-head h2 {
  font-size: clamp(1.55rem, 4vw, 2rem);
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  padding: 17px 34px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-cta {
  background: var(--accent-cta);
  color: var(--accent-cta-text);
  border-color: var(--accent-cta);
}

.btn-cta:hover {
  background: #cf9527;
  border-color: #cf9527;
}

.btn-cta:active {
  transform: translateY(1px);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  padding: 18px 0;
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-on-paper);
}

.site-header .container {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 52px;
  width: auto;
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 320px;
  height: 320px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  gap: 40px;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 2.7rem);
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-on-teal-muted);
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-microcopy {
  font-size: 0.85rem;
  color: var(--text-on-teal-muted);
  letter-spacing: 0.01em;
}

/* Preview card — a Paper White card floating on the Teal hero */
.preview-card {
  background: var(--surface-card);
  color: var(--text-on-paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 28px;
}

.preview-card .eyebrow {
  color: var(--accent-secondary);
}

.preview-card h3 {
  color: var(--text-on-paper);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.preview-presenter {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 18px;
}

.preview-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.preview-list li {
  padding-left: 24px;
  position: relative;
  font-size: 0.98rem;
  color: var(--text-on-paper);
}

.preview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--accent-cta);
}

.preview-microcopy {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-on-paper-muted);
}

/* ---------- The Gap (problem) ---------- */
.gap-section {
  position: relative;
}

.gap-watermark {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 260px;
  height: 260px;
  opacity: 0.06;
  pointer-events: none;
}

.gap-body {
  max-width: var(--max-width-narrow);
  position: relative;
  z-index: 1;
}

.gap-body p {
  color: var(--text-on-paper-muted);
}

.gap-body p.gap-emphasis {
  color: var(--text-on-paper);
  font-weight: 600;
}

/* ---------- The Educator (credibility) ---------- */
.credibility-grid {
  display: grid;
  gap: 32px;
}

.headshot-photo {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--border-on-paper);
}

.credibility-copy p {
  color: var(--text-on-paper-muted);
}

.credential-list {
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.credential-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-on-paper);
}

.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--accent-secondary);
}

.credential-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-on-paper-muted);
  margin-bottom: 0;
}

/* ---------- Section divider ornament ---------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: var(--space-md) 0 var(--space-lg);
}

.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 160px;
  background: var(--border-fog);
}

.section-divider img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* ---------- What You'll Learn ---------- */
.covers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--border-on-paper);
  border: 1px solid var(--border-on-paper);
}

.covers-list li {
  background: var(--surface-page);
  padding: 22px 22px;
  font-size: 1.02rem;
  color: var(--text-on-paper);
  display: flex;
  gap: 18px;
  align-items: baseline;
}

.covers-list .num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-secondary);
  flex-shrink: 0;
}

.learn-citation {
  margin-top: 20px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-on-paper-muted);
}

/* ---------- Who This Is For ---------- */
.qualify-grid {
  display: grid;
  gap: 20px;
}

.qualify-col {
  background: var(--surface-fog-tint);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.qualify-col h3 {
  font-size: 1.1rem;
  color: var(--text-on-paper);
  margin-bottom: 18px;
}

.qualify-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.qualify-col li {
  padding-left: 22px;
  position: relative;
  font-size: 0.98rem;
  color: var(--text-on-paper-muted);
}

.qualify-yes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 11px;
  height: 2px;
  background: var(--accent-cta);
}

.qualify-no li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 11px;
  height: 2px;
  background: var(--fog);
}

/* ---------- Register / GHL embed ---------- */
.register-section {
  text-align: center;
}

.register-section .section-head {
  margin-left: auto;
  margin-right: auto;
}

.register-sub {
  color: var(--text-on-teal-muted);
  margin-bottom: 36px;
}

.register-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 8px;
  overflow: hidden;
}

.ghl-embed {
  width: 100%;
  min-height: 420px;
}

.ghl-embed iframe {
  display: block;
  width: 100%;
  min-height: inherit;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-on-teal);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-on-teal);
}

.footer-disclaimer {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-on-teal-muted);
  max-width: 85ch;
  margin-bottom: 14px;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--text-on-teal-muted);
}

/* ==========================================================================
   Responsive — mobile-first, enhance upward
   ========================================================================== */

@media (min-width: 640px) {
  .qualify-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 860px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .hero {
    padding: 88px 0 80px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 56px;
  }

  .hero h1 {
    max-width: 17ch;
  }

  .covers-list li {
    padding: 26px 28px;
  }

  .qualify-col {
    padding: 36px 34px;
  }

  .credibility-grid {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}
