:root {
  --navy: #061426;
  --teal: #006d70;
  --teal-dark: #00464b;
  --teal-soft: #e5f4f3;
  --cyan: #09c7c7;
  --ink: #071827;
  --muted: #5f7077;
  --line: #d9e3e4;
  --paper: #f8faf9;
  --white: #ffffff;
  --gold: #b98b2f;
  --blue: #4267b2;
  --green: #1f8f5f;
  --shadow: 0 18px 48px rgba(6, 20, 38, 0.12);
  --shadow-sm: 0 8px 24px rgba(6, 20, 38, 0.08);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 229, 228, 0.8);
  backdrop-filter: blur(14px);
}

.nav-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-logo-mark,
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-logo-text {
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}

.nav-logo-text span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a,
.nav-login,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-login:hover,
.footer-links a:hover {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-showcase {
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid rgba(0, 109, 112, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(var(--teal), var(--teal)) padding-box,
    linear-gradient(135deg, var(--cyan), var(--teal), var(--navy)) border-box;
  color: var(--white);
  box-shadow: 0 18px 36px rgba(0, 109, 112, 0.2);
  font-size: 15px;
}

.btn-large {
  min-height: 50px;
  padding: 0 24px;
  font-size: 15px;
}

.hero {
  padding: clamp(56px, 8vw, 92px) clamp(20px, 5vw, 64px) 56px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 55%, #edf7f6 100%);
  overflow: visible;
}

.hero-brand-panel {
  max-width: 920px;
  margin: 0 auto clamp(52px, 7vw, 86px);
  text-align: center;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 44px);
  width: 100%;
}

.brand-lockup-mark {
  width: clamp(118px, 16vw, 232px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 24px 28px rgba(6, 20, 38, 0.14));
}

.brand-lockup-copy {
  min-width: 0;
  text-align: center;
}

.brand-wordmark {
  color: var(--navy);
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 18px rgba(6, 20, 38, 0.08);
}

.brand-wordmark span {
  color: var(--teal);
}

.brand-tagline-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.brand-tagline-row span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 20, 38, 0.62));
}

.brand-tagline-row span:last-child {
  background: linear-gradient(90deg, rgba(6, 20, 38, 0.62), transparent);
}

.brand-tagline-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero-brand-tagline {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: clamp(15px, 1.4vw, 21px);
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-brand-hook {
  max-width: 660px;
  margin: 20px auto 0;
  color: #3f5159;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-brand-panel .btn-showcase {
  margin-top: 26px;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.15fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.hero .eyebrow::after {
  content: "";
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 760px;
  color: var(--navy);
}

.hero-lede {
  max-width: 690px;
  margin: 26px 0 0;
  color: #425158;
  font-size: clamp(17px, 1.6vw, 21px);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.hero-product {
  position: relative;
  min-height: 620px;
}

.app-window {
  position: absolute;
  inset: 70px 0 auto 56px;
  width: min(650px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f6f8f7;
  color: var(--muted);
  font-size: 12px;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9d4d2;
}

.window-bar strong {
  margin-left: 8px;
  color: var(--ink);
}

.app-grid {
  display: grid;
  grid-template-columns: 142px 1fr;
  min-height: 420px;
}

.app-sidebar {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #f8fbfa;
}

.app-sidebar img {
  width: 28px;
  height: 28px;
  display: block;
  margin-bottom: 18px;
}

.app-sidebar button {
  width: 100%;
  height: 34px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: 600 12px var(--font);
  text-align: left;
  padding: 0 10px;
}

.app-sidebar .side-active {
  background: var(--teal-soft);
  color: var(--teal);
}

.library-panel {
  padding: 18px;
}

.search-row {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8c999d;
  font-size: 12px;
}

.content-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mini-card {
  min-height: 124px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--white);
}

.mini-card span,
.card-label,
.pain-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.mini-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.video-card { border-top: 4px solid #c83d31; }
.podcast-card { border-top: 4px solid #7f45d8; }
.pdf-card { border-top: 4px solid var(--gold); }
.ai-card { border-top: 4px solid var(--blue); }

.source-stack {
  position: absolute;
  top: 6px;
  left: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 470px;
  z-index: 4;
}

.source-chip {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 800;
}

.mobile-product-summary {
  display: none;
}

.floating-card,
.graph-preview {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.detail-card {
  right: 0;
  top: 32px;
  width: 300px;
  padding: 16px;
  z-index: 5;
}

.detail-card strong,
.ai-answer strong {
  display: block;
  line-height: 1.28;
}

.detail-card p,
.ai-answer p {
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.note-pill {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f7f2e7;
  color: #6f5317;
  font-size: 12px;
  font-weight: 700;
}

.ai-answer {
  left: 16px;
  bottom: 34px;
  width: 330px;
  padding: 16px;
  z-index: 6;
}

.citation-row {
  margin-top: 6px;
  padding: 7px 9px;
  border-radius: 7px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
}

.graph-preview {
  right: 22px;
  bottom: 0;
  width: 280px;
  height: 210px;
  z-index: 3;
  background: #fbfdfc;
}

.node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
}

.main-node {
  top: 86px;
  left: 90px;
  background: var(--teal);
  color: var(--white);
}

.graph-preview .node:nth-child(2) { top: 28px; left: 24px; }
.graph-preview .node:nth-child(3) { top: 34px; right: 22px; }
.graph-preview .node:nth-child(4) { bottom: 28px; left: 22px; }
.graph-preview .node:nth-child(5) { bottom: 30px; right: 28px; }

.graph-line {
  position: absolute;
  height: 1px;
  background: #b6d7d5;
  transform-origin: left center;
}

.line-a { width: 150px; top: 92px; left: 58px; transform: rotate(24deg); }
.line-b { width: 160px; top: 114px; left: 68px; transform: rotate(-32deg); }
.line-c { width: 142px; top: 110px; left: 66px; transform: rotate(48deg); }

section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 64px);
}

.section-inner,
.sources-section,
.card-system,
.ai-section,
.graph-section,
.how-section,
.cta-section,
.landing-footer {
  max-width: 1180px;
  margin: 0 auto;
}

.narrow {
  max-width: 840px;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.2;
}

.section-heading p,
.problem-section .narrow p,
.ai-copy p,
.graph-copy p,
.cta-card p {
  color: var(--muted);
  font-size: 17px;
}

.problem-section {
  background: var(--paper);
}

.problem-showcase,
.pain-grid,
.card-system-grid,
.steps-grid {
  max-width: 1180px;
  margin: 38px auto 0;
  display: grid;
  gap: 16px;
}

.problem-showcase {
  grid-template-columns: 1fr;
  gap: 28px;
}

.problem-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.detail-preview {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
}

.detail-preview .preview-caption {
  order: 2;
}

.detail-preview .detail-clip {
  order: 1;
}

.preview-caption span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-caption p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.mock-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.video-clip {
  padding: 0 0 16px;
}

.video-hero {
  position: relative;
  min-height: 280px;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 48%, rgba(255, 255, 255, 0.22) 0 18%, transparent 19%),
    linear-gradient(90deg, #050505 0 36%, #2b2b2b 36% 100%);
  color: var(--white);
}

.video-hero::before {
  content: "RICK\A RUBIN";
  white-space: pre;
  position: absolute;
  left: 20px;
  bottom: 28px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(64px, 8vw, 116px);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.08em;
}

.video-title {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2px;
  max-width: 260px;
}

.video-title strong {
  font-size: 18px;
  line-height: 1.1;
}

.video-title small {
  font-weight: 700;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 44px;
  border-radius: 11px;
  background: #ff0000;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.play-button::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--white);
}

.watch-pill {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #222;
  font-size: 12px;
  font-weight: 800;
}

.bookmark-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bookmark-row strong {
  color: var(--muted);
}

.bookmark-chips {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  overflow: hidden;
}

.bookmark-chips span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #dff8ff;
  color: #23616a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.detail-clip {
  padding: 22px;
}

.detail-clip h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.meta-line,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.meta-line span,
.tag-row span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.tag-row span {
  background: #eef8e9;
  color: #4c7b2a;
}

.saved-reason,
.ai-summary-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdfc;
}

.saved-reason strong,
.ai-summary-card strong {
  display: block;
  margin-bottom: 8px;
  color: #89969b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.saved-reason p,
.ai-summary-card p {
  margin: 0;
  color: #526166;
}

.ai-summary-card {
  background: #edf8f7;
  border-color: #b9dddd;
}

.graph-clip {
  position: relative;
  min-height: 340px;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.2) 1px, transparent 0),
    #151918;
  background-size: 22px 22px;
}

.graph-card,
.graph-tag-node,
.graph-ray {
  position: absolute;
}

.graph-card {
  width: 142px;
  min-height: 104px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #222827;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.graph-card span {
  display: block;
  margin-bottom: 8px;
  color: #00c4c4;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.graph-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.g-card-one { left: 22px; top: 78px; }
.g-card-two { left: 210px; top: 34px; }
.g-card-three { right: 28px; top: 62px; }

.graph-tag-node {
  left: 50%;
  bottom: 58px;
  min-width: 94px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d09642;
  border-radius: 999px;
  background: #191c18;
  color: #eedbb5;
  font-size: 11px;
  font-weight: 800;
  transform: translateX(-50%);
  z-index: 2;
}

.graph-ray {
  height: 1px;
  background: rgba(208, 150, 66, 0.48);
  transform-origin: left center;
}

.ray-one { width: 210px; left: 90px; bottom: 75px; transform: rotate(-31deg); }
.ray-two { width: 170px; left: 284px; bottom: 75px; transform: rotate(-68deg); }
.ray-three { width: 206px; left: 290px; bottom: 75px; transform: rotate(-28deg); }

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-grid article,
.feature-panel,
.steps-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pain-grid p,
.feature-panel p,
.steps-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.source-tile {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
  color: var(--teal-dark);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.source-tile span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.source-tile span::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid rgba(0, 109, 112, 0.16);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(9, 199, 199, 0.15), rgba(0, 109, 112, 0.12)),
    var(--teal-soft);
}

.card-system {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-system-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-icon,
.steps-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.ai-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
}

.ai-demo {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  box-shadow: var(--shadow);
}

.chat-bubble {
  max-width: 88%;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.chat-bubble.user {
  margin-left: auto;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
}

.chat-bubble.assistant {
  background: var(--white);
  border: 1px solid var(--line);
}

.answer-source {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.graph-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
  background: var(--paper);
  max-width: none;
}

.graph-section > * {
  max-width: 580px;
}

.graph-board {
  position: relative;
  min-height: 430px;
  margin-left: auto;
  width: min(100%, 590px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(#edf5f4 1px, transparent 1px),
    linear-gradient(90deg, #edf5f4 1px, transparent 1px),
    #ffffff;
  background-size: 34px 34px;
  box-shadow: var(--shadow);
}

.graph-node {
  position: absolute;
  min-width: 104px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.graph-node.center {
  top: 178px;
  left: 202px;
  min-width: 170px;
  background: var(--teal);
  color: var(--white);
}

.n1 { top: 54px; left: 54px; }
.n2 { top: 52px; right: 58px; }
.n3 { bottom: 58px; left: 72px; }
.n4 { bottom: 54px; right: 74px; }
.n5 { top: 190px; left: 36px; }
.n6 { top: 190px; right: 42px; }

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

.cta-section {
  padding-top: 40px;
}

.cta-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 62%, var(--teal) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-card img {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-card .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
  margin-top: 12px;
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px clamp(20px, 5vw, 64px) 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--navy);
  font-size: 19px;
}

.footer-brand span {
  display: inline-flex;
  align-items: baseline;
}

.footer-brand span::after {
  content: "A library for your mind";
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-brand + p {
  display: none;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hero-inner,
  .ai-section,
  .graph-section {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 680px;
  }

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

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

  .graph-section > * {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .landing-nav {
    position: relative;
    gap: 12px;
    padding: 16px 18px;
  }

  .nav-login {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 42px 24px 48px;
  }

  .hero-brand-panel {
    max-width: 340px;
    margin-bottom: 54px;
  }

  .brand-lockup {
    flex-direction: column;
    gap: 12px;
  }

  .brand-lockup-mark {
    width: 86px;
  }

  .brand-wordmark {
    font-size: 42px;
    line-height: 1;
  }

  .brand-tagline-row {
    gap: 10px;
    margin-top: 12px;
  }

  .brand-tagline-row img {
    width: 16px;
    height: 16px;
  }

  .hero-brand-tagline {
    font-size: 11px;
    letter-spacing: 0.2em;
    white-space: nowrap;
  }

  .hero-brand-hook {
    max-width: 28ch;
    font-size: 17px;
  }

  .hero-inner,
  .hero-copy,
  .hero-product {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .hero h1 {
    max-width: 11.5ch;
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.02;
    overflow-wrap: normal;
  }

  .hero-lede {
    width: 100%;
    max-width: 32ch;
    font-size: 16px;
  }

  .hero-actions,
  .hero-proof {
    width: 100%;
    max-width: 32ch;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }

  .hero-product {
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .app-window,
  .detail-card,
  .ai-answer,
  .graph-preview {
    display: block;
    position: relative;
    inset: auto;
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    margin: 0;
  }

  .app-window {
    left: auto;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .library-panel {
    padding: 16px;
  }

  .content-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mini-card {
    min-height: 112px;
    padding: 14px;
  }

  .mini-card strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .mini-card p {
    font-size: 12px;
  }

  .detail-card,
  .ai-answer,
  .graph-preview {
    margin-top: 0;
  }

  .detail-card p,
  .ai-answer p,
  .note-pill,
  .citation-row {
    overflow-wrap: anywhere;
  }

  .source-stack {
    position: relative;
    width: calc(100vw - 48px);
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    align-items: center;
  }

  .mobile-product-summary {
    display: grid;
    gap: 14px;
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    margin: 18px 0 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .mobile-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-card-top img {
    width: 28px;
    height: 28px;
  }

  .mobile-product-summary strong {
    color: var(--navy);
    font-size: 21px;
    line-height: 1.18;
  }

  .mobile-product-summary p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
  }

  .mobile-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-flow span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 800;
  }

  .app-window {
    margin: 0;
  }

  .content-cards,
  .problem-showcase,
  .pain-grid,
  .card-system-grid,
  .steps-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .problem-showcase {
    gap: 18px;
  }

  .problem-preview,
  .detail-preview {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 18px;
  }

  .detail-preview .preview-caption,
  .detail-preview .detail-clip {
    order: initial;
  }

  .preview-caption p {
    font-size: 15px;
  }

  .video-hero {
    min-height: 210px;
    padding: 16px;
  }

  .video-hero::before {
    left: 14px;
    bottom: 22px;
    font-size: 60px;
  }

  .video-title strong {
    font-size: 14px;
  }

  .play-button {
    width: 54px;
    height: 38px;
  }

  .play-button::after {
    left: 22px;
    top: 10px;
  }

  .watch-pill {
    right: 12px;
    bottom: 12px;
    min-height: 30px;
    font-size: 11px;
  }

  .bookmark-chips {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .detail-clip {
    padding: 16px;
  }

  .detail-clip h4 {
    font-size: 24px;
  }

  .saved-reason,
  .ai-summary-card {
    padding: 14px;
  }

  .graph-clip {
    min-height: 300px;
  }

  .graph-card {
    width: 126px;
    min-height: 92px;
    padding: 10px;
  }

  .g-card-one { left: 12px; top: 76px; }
  .g-card-two { left: 50%; top: 28px; transform: translateX(-50%); }
  .g-card-three { right: 12px; top: 112px; }
  .ray-one { width: 140px; left: 62px; bottom: 72px; transform: rotate(-38deg); }
  .ray-two { width: 120px; left: 50%; bottom: 72px; transform: rotate(-80deg); }
  .ray-three { width: 132px; left: 48%; bottom: 72px; transform: rotate(-32deg); }

  h2 {
    font-size: clamp(30px, 8vw, 36px);
    line-height: 1.1;
    overflow-wrap: normal;
  }

  .section-heading,
  .narrow {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .sources-section .section-heading {
    max-width: 300px;
  }

  .sources-section .eyebrow {
    max-width: 24ch;
    margin-right: auto;
    margin-left: auto;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  .sources-section h2 {
    max-width: 12ch;
    margin-right: auto;
    margin-left: auto;
  }

  .problem-section .narrow {
    max-width: calc(100vw - 48px);
    margin-right: auto;
    margin-left: auto;
  }

  .problem-section .narrow p {
    max-width: 28ch;
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
  }

  .hero-product .content-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .graph-board {
    min-height: 360px;
  }

  .graph-node.center {
    left: 50%;
    transform: translateX(-50%);
  }

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

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

  .footer-brand span::after {
    margin-top: 4px;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
}
