/* ============================================================
   Raw Neuroscience — Shared Stylesheet
   rawneuroscience.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── Reset & Root ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #1C1C1E;
  --surface:   #232325;
  --surface2:  #2A2A2C;
  --teal:      #3DC9B0;
  --teal-30:   rgba(61,201,176,0.30);
  --teal-15:   rgba(61,201,176,0.15);
  --text:      #F2EDE8;
  --sage:      #8B9E8E;
  --t80:       rgba(242,237,232,0.80);
  --t60:       rgba(242,237,232,0.60);
  --t40:       rgba(242,237,232,0.40);
  --t20:       rgba(242,237,232,0.20);
  --t10:       rgba(242,237,232,0.10);
  --t06:       rgba(242,237,232,0.06);

  --serif:     'DM Serif Display', serif;
  --sans:      'DM Sans', sans-serif;

  --radius:    12px;
  --radius-sm: 8px;
  --max-w:     1100px;
  --nav-h:     68px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────────────── */
.t-display {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--text);
}

.t-h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--text);
}

.t-h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  color: var(--text);
}

.t-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.t-body {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--t60);
  line-height: 1.75;
}

.t-body-md {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--t60);
  line-height: 1.75;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-sm {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(28,28,30,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--t10);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.nav__brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: -0.01em;
}

.nav__brand .brain { font-size: 1.2rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--t60);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--text); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #0e1412;
  font-weight: 600;
}
.btn-primary:hover {
  background: #4dd9c0;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(61,201,176,0.30);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--t20);
}
.btn-ghost:hover {
  border-color: var(--t40);
  background: var(--t06);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal-30);
}
.btn-outline-teal:hover {
  background: var(--teal-15);
  border-color: var(--teal);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.9rem 2rem;
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.55rem 1.1rem;
}

/* ── Teal accent bar (top of sections) ───────────────────── */
.accent-bar {
  width: 100%;
  height: 3px;
  background: var(--teal);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--surface);
  padding-top: calc(var(--nav-h) + clamp(4rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 8vw, 6rem);
  text-align: center;
  border-bottom: 1px solid var(--t20);
}

.hero__eyebrow {
  margin-bottom: 1.25rem;
}

.hero__headline {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.hero__sub {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--t60);
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: nowrap;
}

.hero__ctas .btn {
  font-size: 0.8rem;
  padding: 0.7rem 1rem;
}

/* ── Journey Cards ────────────────────────────────────────── */
.journey {
  background: var(--surface);
  border-top: 1px solid var(--t10);
  border-bottom: 1px solid var(--t10);
}

.journey__intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.journey__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Connector line between cards */
.journey__grid::before {
  content: '';
  position: absolute;
  top: 2.75rem;
  left: calc(33.33% - 0.5px);
  right: calc(33.33% - 0.5px);
  height: 1px;
  background: linear-gradient(to right, var(--teal-30), var(--teal-30));
  pointer-events: none;
}

.journey-card {
  background: var(--bg);
  border: 1px solid var(--t10);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.journey-card:hover {
  border-color: var(--teal-30);
  box-shadow: 0 4px 32px rgba(61,201,176,0.08);
}

.journey-card--dimmed {
  opacity: 0.65;
}

.journey-card__number {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.journey-card__number::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--teal-15);
}

.journey-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.badge-free {
  background: var(--teal-15);
  color: var(--teal);
  border: 1px solid var(--teal-30);
}

.badge-paid {
  background: rgba(242,237,232,0.06);
  color: var(--t80);
  border: 1px solid var(--t20);
}

.badge-soon {
  background: rgba(139,158,142,0.12);
  color: var(--sage);
  border: 1px solid rgba(139,158,142,0.25);
}

.journey-card__question {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.journey-card__product {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t40);
  margin-bottom: 0.75rem;
}

.journey-card__copy {
  font-size: 0.92rem;
  color: var(--t60);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex: 1;
}

.journey-card__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.journey-card__price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.journey-card__price span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--t40);
  margin-left: 0.25rem;
}

/* ── Lead Capture ─────────────────────────────────────────── */
.capture {
  background: var(--bg);
  border-top: 1px solid var(--t10);
  border-bottom: 1px solid var(--t10);
}

.capture__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.capture__what {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.capture__what-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.93rem;
  color: var(--t60);
  line-height: 1.5;
}

.capture__what-item::before {
  content: '—';
  color: var(--teal);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.capture__form-wrap {
  background: var(--surface);
  border: 1px solid var(--t10);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.capture__form-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.capture__form-sub {
  font-size: 0.87rem;
  color: var(--t40);
  margin-bottom: 1.5rem;
}

/* KIT / generic form styles */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t60);
  letter-spacing: 0.04em;
}

.form-field input {
  background: var(--bg);
  border: 1px solid var(--t20);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}

.form-field input::placeholder { color: var(--t30); }
.form-field input:focus { border-color: var(--teal); }

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--t30);
  margin-top: 0.85rem;
  text-align: center;
  line-height: 1.5;
}

/* ── Workbook Teaser ──────────────────────────────────────── */
.teaser {
  background: var(--surface);
  border-top: 1px solid var(--t10);
  border-bottom: 1px solid var(--t10);
}

.teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.teaser__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.teaser__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--t60);
  line-height: 1.55;
}

.teaser__bullets li::before {
  content: '✦';
  color: var(--teal);
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.teaser__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.teaser__aside {
  background: var(--bg);
  border: 1px solid var(--t10);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.teaser__price-display {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.teaser__price-amount {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--text);
}

.teaser__price-note {
  font-size: 0.85rem;
  color: var(--t40);
}

.teaser__includes {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.teaser__include-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.teaser__include-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--t80);
}

.teaser__include-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── Coming Soon (Field Guide) ────────────────────────────── */
.coming-soon {
  background: var(--bg);
  border-top: 1px solid var(--t10);
}

/* Force Kit form inside coming-soon to match dark theme */
.coming-soon .capture__form-wrap .formkit-input {
  background: var(--bg) !important;
  border: 1px solid var(--t20) !important;
  color: var(--text) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--sans) !important;
}
.coming-soon .capture__form-wrap .formkit-submit {
  background-color: var(--teal) !important;
  color: #0e1412 !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  width: 100% !important;
}
.coming-soon .capture__form-wrap .formkit-powered-by-convertkit-container {
  display: none !important;
}

.coming-soon__notify {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin-inline: auto;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.coming-soon__notify input {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--t20);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.coming-soon__notify input::placeholder { color: var(--t30); }
.coming-soon__notify input:focus { border-color: var(--teal); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--t10);
  padding-block: 2rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t40);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--t30);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--t60); }

.footer__copy {
  font-size: 0.78rem;
  color: var(--t20);
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ── Sales page specific ──────────────────────────────────── */
.sales-hero {
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.sales-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.sales-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--t40);
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.sales-hero__back:hover { color: var(--t60); }

.sales-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.sales-cta-box {
  background: var(--surface);
  border: 1px solid var(--t10);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.sales-body {
  background: var(--bg);
}

.sales-body__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.sales-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.sales-block__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.sales-block h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.sales-block p {
  font-size: 1rem;
  color: var(--t60);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.sales-block p:last-child { margin-bottom: 0; }

.inside-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.inside-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.97rem;
  color: var(--t60);
  line-height: 1.6;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--t06);
}

.inside-list li:last-child { border-bottom: none; padding-bottom: 0; }

.inside-list__num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-15);
  border: 1px solid var(--teal-30);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.for-you-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.for-you-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: var(--t60);
  line-height: 1.6;
}

.for-you-list li::before {
  content: '→';
  color: var(--teal);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.divider {
  height: 1px;
  background: var(--t10);
}

/* ── Coming soon stub page ────────────────────────────────── */
.stub-hero {
  padding-top: calc(var(--nav-h) + clamp(5rem, 10vw, 8rem));
  padding-bottom: clamp(5rem, 10vw, 8rem);
  text-align: center;
}

.stub-hero__inner {
  max-width: 680px;
  margin-inline: auto;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: var(--t10);
  border-radius: 2px;
  overflow: hidden;
  margin: 2rem 0 0.5rem;
}

.progress-bar__fill {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  width: 35%;
}

.progress-label {
  font-size: 0.78rem;
  color: var(--t30);
  text-align: right;
}

/* ── Utility classes ──────────────────────────────────────── */
.text-teal   { color: var(--teal); }
.text-sage   { color: var(--sage); }
.text-muted  { color: var(--t40); }
.text-center { text-align: center; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .journey__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .journey__grid::before { display: none; }

  .capture__inner,
  .teaser__inner,
  .sales-hero__inner,
  .sales-body__inner,
  .coming-soon .capture__inner {
    grid-template-columns: 1fr;
  }

  .sales-cta-box {
    position: static;
  }
}

@media (max-width: 600px) {
  .nav__links {
    display: none;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  .teaser__ctas {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .coming-soon__notify {
    flex-direction: column;
  }
  .coming-soon__notify input { min-width: unset; }
}
