/* ============================================================
   Three Knows — Shared Stylesheet
   Source of truth for all pages. Built from the hero mockup.
   ============================================================ */

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

/* ---------- Brand Tokens ---------- */
:root {
  --navy:              #112D4E;   /* primary background */
  --card-bg:           #1A3F6A;  /* card surface */
  --card-bg-alt:       #163660;  /* slightly deeper card for alternates */
  --navy-panel:        #4153A0;  /* bright blue CTA panel */
  --navy-panel-hover:  #5061B5;
  --accent:            #FFE135;  /* yellow */
  --accent-hover:      #FFEB5C;
  --white:             #F0E6D2;  /* cream body text */
  --white-soft:        rgba(240, 230, 210, 0.88);
  --white-mute:        rgba(240, 230, 210, 0.60);
  --white-faint:       rgba(240, 230, 210, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-accent: 0 6px 20px rgba(255, 225, 53, 0.22);
}

/* ---------- Base ---------- */
html, body { height: 100%; }

body {
  font-family: 'Inter', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* global radial depth layer — sits under all content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%,  rgba(255, 225, 53, 0.06), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(26, 63, 106, 0.60), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

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

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.container--wide {
  max-width: 1280px;
}

section { position: relative; z-index: 1; }

/* ---------- Navigation ---------- */
.site-nav {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--white-faint);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.wordmark {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  color: var(--white);
  text-decoration: none;
}
.wordmark .dollar { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  color: var(--white-soft);
  font-size: 15px;
  font-weight: 500;
  margin-left: 28px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Eyebrow Badge ---------- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 225, 53, 0.35);
  border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 40px 72px;
}

.hero__title {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 920px;
  margin: 0 auto 18px;
}
.hero__title .accent { color: var(--accent); }

.hero__sub {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 400;
  color: var(--white-soft);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ---------- Three Knows Cards ---------- */
.knows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 40px;
}

.know-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-card);
}
.know-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 225, 53, 0.40);
}

.know-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  opacity: 0.8;
}
.know-card__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
  color: var(--white);
}
.know-card__desc {
  font-size: 14px;
  color: var(--white-soft);
  line-height: 1.6;
}

/* ---------- CTA / Assessment Form ---------- */
.cta-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-label {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.input-email {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  background: #FFFFFF;
  color: var(--navy);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-email::placeholder { color: rgba(17, 45, 78, 0.45); font-weight: 400; }
.input-email:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 225, 53, 0.18);
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-accent);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 225, 53, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border: 1.5px solid var(--white-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 225, 53, 0.06);
}

.cta-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--white-mute);
}
.cta-meta .dot {
  display: inline-block;
  width: 3px; height: 3px;
  background: var(--white-mute);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 10px 2px;
}

/* ---------- Section Dividers ---------- */
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-title .accent { color: var(--accent); }

.section-sub {
  font-size: 16px;
  color: var(--white-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Book Section ---------- */
.book-section {
  position: relative;
  z-index: 1;
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.book-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.book-cover {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.45),
    0 20px 60px rgba(0, 0, 0, 0.3),
    -6px 0 0 rgba(17, 45, 78, 0.6);
}

.book-cover img {
  width: 100%;
  border-radius: var(--radius-md);
}

.book-info {}
.book-info .eyebrow { margin-bottom: 14px; }

.book-info__title {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.book-info__title .accent { color: var(--accent); }

.book-info__body {
  font-size: 16px;
  color: var(--white-soft);
  line-height: 1.75;
  margin-bottom: 28px;
}

.book-info__bullets {
  list-style: none;
  margin-bottom: 32px;
}
.book-info__bullets li {
  font-size: 15px;
  color: var(--white-soft);
  padding: 7px 0;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.book-info__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.book-info__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Pillar Separator ---------- */
.pillar-bar {
  height: 4px;
  background: linear-gradient(to right, var(--accent) 33%, var(--navy-panel) 33% 66%, var(--card-bg) 66%);
  border-radius: 2px;
  margin: 0 40px;
  position: relative;
  z-index: 1;
  opacity: 0.6;
}

/* ---------- Video Preview (index) ---------- */
.videos-preview {
  position: relative;
  z-index: 1;
  padding: 80px 40px;
  background: linear-gradient(180deg, transparent, rgba(65, 83, 160, 0.10) 50%, transparent);
}

.videos-preview__header {
  text-align: center;
  margin-bottom: 44px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto 36px;
}

.video-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-card);
}
.video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 225, 53, 0.30);
}

.video-card__embed {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  background: #0a1929;
}
.video-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card__body {
  padding: 16px 18px 20px;
}
.video-card__pillar {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.video-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 6px;
}
.video-card__desc {
  font-size: 13px;
  color: var(--white-soft);
  line-height: 1.5;
}

/* ---------- Email Signup Section ---------- */
.email-section {
  position: relative;
  z-index: 1;
  padding: 80px 40px;
  text-align: center;
}

.email-section__card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid rgba(255, 225, 53, 0.12);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-elevated);
}

/* Kit/ConvertKit embed placeholder */
.kit-embed-placeholder {
  background: rgba(17, 45, 78, 0.5);
  border: 1.5px dashed rgba(255, 225, 53, 0.25);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--white-mute);
  font-style: italic;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--white-faint);
  padding: 40px;
  margin-top: 40px;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-wordmark {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: var(--white);
}
.footer-wordmark .dollar { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--white-mute);
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  width: 100%;
  font-size: 13px;
  color: var(--white-mute);
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--white-faint);
  margin-top: 4px;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 64px 40px 56px;
  text-align: center;
  border-bottom: 1px solid var(--white-faint);
}

.page-hero__title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero__title .accent { color: var(--accent); }

.page-hero__sub {
  font-size: 17px;
  color: var(--white-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Videos Page ---------- */
.videos-page {
  position: relative;
  z-index: 1;
  padding: 60px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.search-bar-wrap {
  margin-bottom: 48px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  padding: 0 18px;
  max-width: 480px;
  transition: border-color 0.15s ease;
}
.search-bar:focus-within { border-color: rgba(255, 225, 53, 0.40); }

.search-bar__icon {
  color: var(--white-mute);
  font-size: 16px;
  margin-right: 10px;
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--white);
  padding: 13px 0;
}
.search-bar input::placeholder { color: var(--white-mute); }

.pillar-section { margin-bottom: 60px; }

.pillar-section__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--white-faint);
}

.pillar-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pillar-section__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.pillar-section__desc {
  font-size: 14px;
  color: var(--white-mute);
  margin-left: auto;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- Stub Page Content ---------- */
.stub-section {
  position: relative;
  z-index: 1;
  padding: 60px 40px 100px;
  max-width: 800px;
  margin: 0 auto;
}

.stub-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin-bottom: 24px;
}

.stub-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.stub-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}
.stub-card__body {
  font-size: 15px;
  color: var(--white-soft);
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .book-layout { grid-template-columns: 1fr; gap: 36px; }
  .book-cover { max-width: 260px; }
  .videos-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .container { padding: 0 24px; }
  .site-nav__inner { padding: 16px 24px; }
  .nav-links a { margin-left: 16px; font-size: 14px; }
  .hero { padding: 36px 24px 56px; }
  .knows-grid { grid-template-columns: 1fr; max-width: 440px; margin-bottom: 32px; }
  .cta-row { flex-direction: column; }
  .input-email { max-width: 100%; flex: 1 1 100%; }
  .btn-primary { width: 100%; text-align: center; }
  .book-section { padding: 60px 24px; }
  .videos-preview { padding: 60px 24px; }
  .videos-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .email-section { padding: 60px 24px; }
  .email-section__card { padding: 32px 24px; }
  .site-footer { padding: 32px 24px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .page-hero { padding: 44px 24px 40px; }
  .videos-page { padding: 44px 24px 80px; }
  .stub-section { padding: 44px 24px 80px; }
  .stub-card { padding: 28px 24px; }
  .pillar-section__header { flex-wrap: wrap; }
  .pillar-section__desc { margin-left: 0; }
  .book-info__actions { flex-direction: column; }
}
