: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-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-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;
}

/* Beta waitlist — hero email capture */
.hero-waitlist {
  margin-top: 28px;
  max-width: 520px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 28px rgba(6, 20, 38, 0.06);
}

.hero-waitlist-lead {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.hero-waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-waitlist-input {
  flex: 1 1 200px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--navy);
  background: #fff;
}

.hero-waitlist-input:focus {
  outline: 2px solid rgba(0, 109, 112, 0.35);
  outline-offset: 1px;
  border-color: var(--teal);
}

.hero-waitlist-submit {
  min-height: 46px;
  white-space: nowrap;
}

.hero-waitlist-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.hero-waitlist-consent input {
  margin-top: 2px;
  flex-shrink: 0;
}

.hero-waitlist-status {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.hero-waitlist-status.is-success { color: #0f766e; }
.hero-waitlist-status.is-error { color: #b91c1c; }
.hero-waitlist-status.is-info { color: var(--muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.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);
}

/* Keep anchored section headings clear of the sticky nav. */
section[id] {
  scroll-margin-top: 92px;
}

.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);
}

.bookshelf-photo {
  display: block;
  width: min(100%, 860px);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.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;
}

.brand-lockup {
  display: flex;
  justify-content: center;
  margin: 0 auto clamp(44px, 6vw, 72px);
}

/* The lockup ships as a single brand-approved image (no shadow filters —
   the PNG has an opaque near-white background, so a drop-shadow would
   outline the whole rectangle). */
.brand-lockup-img {
  width: min(620px, 88vw);
  height: auto;
}

.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 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));
  }

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

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

  /* Nav is not sticky on mobile; no offset needed. */
  section[id] {
    scroll-margin-top: 16px;
  }

  .nav-login {
    display: none;
  }

  .nav-actions .btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .nav-links {
    display: none;
  }

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

  .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 {
    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;
  }

  .brand-lockup {
    margin-bottom: 40px;
  }

  .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;
  }
}


/* ===== Immersive product-journey demo (imk-*) — injected after hero ===== */
:root{
  /* brand + mapped app tokens */
  --navy:#061426;
  --color-primary:#006d70; --color-primary-hover:#00464b;
  --teal:#006d70; --teal-dark:#00464b; --teal-soft:#e5f4f3; --cyan:#09c7c7;
  --ink:#071827; --text:#071827; --text-muted:#5f7077; --text-faint:#8a9aa0;
  --muted:#5f7077; --line:#d9e3e4; --border:#d9e3e4;
  --paper:#f8faf9; --surface-offset:#f8faf9; --surface-raised:#f1f6f6; --white:#ffffff;
  --gold:#b98b2f; --blue:#4267b2; --green:#1f8f5f;
  --spotify-green:#1DB954; --spotify-dark:#121212; --yt-red:#ff0000;
  --radius-md:8px; --radius-lg:12px; --radius-xl:16px;
  --shadow:0 18px 48px rgba(6,20,38,.12); --shadow-sm:0 8px 24px rgba(6,20,38,.08);
  --font:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.imk-journey, .imk-journey *{box-sizing:border-box}
.imk-journey{
  font-family:var(--font); color:var(--ink); background:
    radial-gradient(1200px 540px at 80% -10%, var(--teal-soft) 0%, rgba(229,244,243,0) 60%),
    radial-gradient(900px 500px at -5% 110%, #eef6f5 0%, rgba(238,246,245,0) 55%),
    var(--paper);
  padding:clamp(36px,6vw,84px) clamp(16px,5vw,64px);
  -webkit-font-smoothing:antialiased; overflow:hidden; position:relative;
}
.imk-journey *{box-sizing:border-box}
.imk-shell{max-width:1080px; margin:0 auto; position:relative; z-index:2}

/* ---- intro copy ---- */
.imk-eyebrow{
  display:inline-flex; align-items:center; gap:8px; margin:0 0 14px;
  font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--teal); background:var(--white); border:1px solid var(--line);
  padding:7px 14px; border-radius:999px; box-shadow:var(--shadow-sm);
}
.imk-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 4px rgba(9,199,199,.18)}
.imk-head{text-align:center; margin-bottom:clamp(22px,3vw,34px)}
.imk-head h2{
  margin:0 auto 10px; max-width:780px; font-size:clamp(26px,4.4vw,42px); line-height:1.1;
  font-weight:800; letter-spacing:-.02em; color:var(--navy);
}
.imk-head h2 b{color:var(--teal); font-weight:800}
.imk-head p{margin:0 auto; max-width:580px; color:var(--muted); font-size:clamp(15px,1.6vw,17px)}
.imk-brand b{color:var(--ink); font-weight:800}
.imk-brand b i{color:var(--teal); font-style:normal}

/* ---- step rail ---- */
.imk-rail{
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center; align-items:center;
  margin:0 auto clamp(20px,2.6vw,30px); max-width:920px;
}
.imk-step-btn{
  appearance:none; cursor:pointer; font-family:inherit; font-size:12.5px; font-weight:600;
  color:var(--muted); background:var(--white); border:1px solid var(--line);
  padding:8px 13px; border-radius:999px; display:inline-flex; align-items:center; gap:7px;
  transition:all .25s cubic-bezier(.4,0,.2,1); white-space:nowrap;
}
.imk-step-btn .n{
  width:19px;height:19px;border-radius:50%; display:grid; place-items:center;
  font-size:11px; font-weight:700; background:var(--teal-soft); color:var(--teal-dark);
  transition:all .25s;
}
.imk-step-btn:hover{border-color:var(--teal); color:var(--ink); transform:translateY(-1px)}
.imk-step-btn:focus-visible{outline:2px solid var(--teal); outline-offset:2px}
.imk-step-btn.active{background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:var(--shadow-sm)}
.imk-step-btn.active .n{background:rgba(255,255,255,.22); color:#fff}
.imk-step-btn.done .n{background:var(--green); color:#fff}
.imk-step-btn .lbl{display:none}
@media(min-width:760px){.imk-step-btn .lbl{display:inline}}

/* ---- stage (mock window) ---- */
.imk-stage-wrap{position:relative}
.imk-stage{
  position:relative; background:var(--white); border:1px solid var(--line);
  border-radius:20px; box-shadow:var(--shadow); overflow:hidden;
  min-height:clamp(460px,56vh,580px);
}
/* candidate C realistic browser chrome */
.imk-winbar{
  display:flex; align-items:center; gap:7px; padding:11px 16px;
  border-bottom:1px solid var(--line); background:linear-gradient(180deg,#fff,#fafcfc);
}
.imk-winbar i{width:11px;height:11px;border-radius:50%;display:inline-block;flex:none}
.imk-winbar i:nth-child(1){background:#ff5f57}.imk-winbar i:nth-child(2){background:#febc2e}.imk-winbar i:nth-child(3){background:#28c840}
.imk-url{
  flex:1; margin-left:8px; background:var(--paper); border:1px solid var(--line); border-radius:999px;
  padding:6px 13px; font-size:12.5px; color:var(--muted); display:flex; align-items:center; gap:8px;
  min-width:0; max-width:480px;
}
.imk-url .lock{color:var(--teal);font-size:11px}
.imk-url .pad{font-family:var(--font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.imk-winbar .live{margin-left:auto;font-size:11px;font-weight:700;color:var(--teal);display:inline-flex;align-items:center;gap:6px;flex:none}
.imk-winbar .live::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--cyan);animation:imk-pulse 1.6s infinite}
@keyframes imk-pulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(9,199,199,.5)}50%{opacity:.6;box-shadow:0 0 0 6px rgba(9,199,199,0)}}

.imk-canvas{position:relative; padding:clamp(20px,3vw,34px); min-height:clamp(400px,48vh,500px)}

/* panels (one per step) */
.imk-panel{
  position:absolute; inset:clamp(20px,3vw,34px); display:flex; flex-direction:column;
  opacity:0; visibility:hidden; transform:translateY(14px) scale(.985);
  transition:opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
  pointer-events:none; overflow:auto;
}
.imk-panel.show{opacity:1; visibility:visible; transform:none; pointer-events:auto}
.imk-panel-head{font-size:13px;font-weight:700;color:var(--teal-dark);margin:0 0 4px;letter-spacing:.01em;text-align:center}
.imk-panel-sub{font-size:13px;color:var(--muted);margin:0 0 16px;text-align:center}

/* generic reveal helper */
.imk-journey .r{opacity:0; transform:translateY(12px); transition:opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1)}
.imk-panel.show .r{opacity:1; transform:none}
.imk-panel.show .r.d1{transition-delay:.12s}.imk-panel.show .r.d2{transition-delay:.26s}
.imk-panel.show .r.d3{transition-delay:.4s}.imk-panel.show .r.d4{transition-delay:.54s}
.imk-panel.show .r.d5{transition-delay:.68s}.imk-panel.show .r.d6{transition-delay:.82s}

/* ===== STEP 1 — paste (candidate A hook + chips) ===== */
.imk-paste{margin:auto; width:100%; max-width:560px; text-align:center}
.imk-paste h3{font-size:clamp(20px,2.6vw,26px); margin:0 0 6px; color:var(--navy); letter-spacing:-.01em}
.imk-paste p.s{color:var(--muted);margin:0 0 22px;font-size:14px}
.imk-input{
  display:flex; align-items:center; gap:10px; background:var(--white);
  border:2px solid var(--line); border-radius:14px; padding:14px 16px; text-align:left;
  box-shadow:var(--shadow-sm); transition:border-color .3s, box-shadow .3s;
}
.imk-input.focus{border-color:var(--teal); box-shadow:0 0 0 4px rgba(0,109,112,.12)}
.imk-input .plus{
  width:34px;height:34px;border-radius:10px;flex:0 0 auto;display:grid;place-items:center;
  background:var(--teal-soft); color:var(--teal); font-size:20px; font-weight:700;
}
.imk-input .url{
  flex:1; font-size:14px; color:var(--ink); font-family:inherit; min-height:20px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0;
}
.imk-input .url.empty{color:#aab6b8}
.imk-input .caret{display:inline-block;width:2px;height:17px;background:var(--teal);vertical-align:-3px;animation:imk-blink 1s step-end infinite;margin-left:1px}
@keyframes imk-blink{50%{opacity:0}}
.imk-paste-btn{
  margin-top:18px; appearance:none; cursor:pointer; font-family:inherit;
  font-size:15px; font-weight:700; color:#fff; background:var(--teal);
  border:none; border-radius:12px; padding:14px 24px; box-shadow:var(--shadow-sm);
  transition:transform .18s, background .2s, box-shadow .2s; display:inline-flex; align-items:center; gap:9px;
}
.imk-paste-btn:hover{background:var(--teal-dark); transform:translateY(-2px); box-shadow:var(--shadow)}
.imk-paste-btn:active{transform:translateY(0)}
.imk-paste-btn.busy{opacity:.7;pointer-events:none}
.imk-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:22px}
.imk-chips span{
  font-size:11.5px;font-weight:600;color:var(--muted);background:var(--white);
  border:1px solid var(--line); padding:6px 11px; border-radius:999px;
}

/* ===== STEP 2 — card spawn ===== */
.imk-card{
  width:100%; max-width:560px; margin:auto; background:var(--white);
  border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow);
  overflow:hidden; transform-origin:center;
}
.imk-card.spawn{animation:imk-spawn .7s cubic-bezier(.2,.9,.25,1.1) both}
@keyframes imk-spawn{0%{opacity:0;transform:scale(.6) translateY(40px) rotate(-3deg)}60%{opacity:1}100%{opacity:1;transform:none}}
.imk-card-top{display:flex; gap:14px; padding:16px}
.imk-art{
  width:84px;height:84px;flex:0 0 auto;border-radius:12px;position:relative;overflow:hidden;
  background:linear-gradient(135deg,#0a2a3a,#0d3b44 55%,#0a575c); display:grid; place-items:center;
}
.imk-art::before{content:"";position:absolute;inset:0;background:
  repeating-conic-gradient(from 0deg, rgba(9,199,199,.0) 0deg 12deg, rgba(9,199,199,.14) 12deg 24deg);
  mix-blend-mode:screen;opacity:.6}
.imk-art .mic{font-size:34px;filter:drop-shadow(0 3px 6px rgba(0,0,0,.4))}
.imk-card-meta{flex:1;min-width:0}
.imk-badge{
  display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase; color:var(--gold); background:#fbf4e6; border:1px solid #f0e2c2;
  padding:4px 9px;border-radius:999px;
}
.imk-card-meta h3{margin:9px 0 5px;font-size:16.5px;line-height:1.25;color:var(--navy);letter-spacing:-.01em}
.imk-card-meta .by{font-size:12.5px;color:var(--muted);margin:0}
.imk-card-meta .dur{font-size:12px;color:var(--muted);margin-top:7px;display:inline-flex;align-items:center;gap:6px}
.imk-card-meta .dur::before{content:"⏱";font-size:12px}

/* ===== STEP 3 — REAL APP PLAYER (Upgrade 2) ===== */
.imk-player-area{
  width:100%; max-width:560px; margin:auto;
  background:var(--surface-offset); border:1px solid var(--border);
  border-radius:var(--radius-xl); overflow:hidden; box-shadow:var(--shadow-sm);
}
/* Spotify-style media block */
.imk-spot{
  position:relative; background:var(--spotify-dark); color:#fff;
  padding:18px 18px 16px; display:flex; flex-direction:column; gap:14px;
}
.imk-spot-top{display:flex; gap:14px; align-items:center}
.imk-spot-cover{
  width:84px;height:84px;flex:0 0 auto;border-radius:10px;position:relative;overflow:hidden;
  background:
    radial-gradient(60px 44px at 70% 26%, rgba(29,185,84,.55), transparent 70%),
    linear-gradient(150deg,#0b3a3c 0%,#0a575c 45%,#021d20 120%);
  display:grid;place-items:center;box-shadow:0 8px 22px rgba(0,0,0,.45);
}
.imk-spot-cover .mic{font-size:34px;filter:drop-shadow(0 3px 7px rgba(0,0,0,.55))}
.imk-spot-meta{flex:1;min-width:0}
.imk-spot-meta .ttl{font-size:15px;font-weight:700;line-height:1.25;color:#fff;margin:0 0 3px}
.imk-spot-meta .show{font-size:12.5px;color:#b3b3b3;margin:0}
.imk-spot-badge{
  display:inline-flex;align-items:center;gap:6px;margin-top:8px;
  font-size:11px;font-weight:700;letter-spacing:.02em;color:#fff;
}
.imk-spot-badge .gdot{width:15px;height:15px;border-radius:50%;background:var(--spotify-green);display:grid;place-items:center;color:#000;font-size:9px;font-weight:900;flex:none}
.imk-spot-badge .gtxt{color:var(--spotify-green)}
.imk-yt-chip{
  position:absolute; top:14px; right:14px;
  display:inline-flex; align-items:center; gap:6px;
  font-size:10px; font-weight:700; color:#fff; background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:4px 9px;
}
.imk-yt-chip .ytdot{width:13px;height:13px;border-radius:3px;background:var(--yt-red);display:grid;place-items:center;color:#fff;font-size:8px;flex:none}
.imk-spot-controls{display:flex;align-items:center;gap:14px}
.imk-spot-play{
  width:48px;height:48px;border-radius:50%;background:var(--spotify-green);border:none;cursor:pointer;
  display:grid;place-items:center;flex:0 0 auto;box-shadow:0 6px 18px rgba(29,185,84,.4);
  transition:transform .18s;
}
.imk-spot-play:hover{transform:scale(1.06)}
.imk-spot-play svg{width:18px;height:18px;margin-left:2px}
.imk-spot-scrub{flex:1;min-width:0;display:flex;align-items:center;gap:10px}
.imk-spot-time{font-size:11px;color:#b3b3b3;font-variant-numeric:tabular-nums;flex:none}
.imk-track{position:relative;flex:1;min-width:0;height:5px;border-radius:999px;background:#3a3a3a}
.imk-track .tfill{position:absolute;inset:0 auto 0 0;width:0;background:var(--spotify-green);border-radius:999px;transition:width .12s linear}
.imk-track .thumb{
  position:absolute;top:50%;left:0;transform:translate(-50%,-50%);
  width:16px;height:16px;border-radius:50%;background:var(--spotify-green);
  border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.5);transition:left .12s linear;
}
/* app bookmark rail */
.imk-bm-rail{border-top:1px solid var(--border);padding:14px 16px 16px}
.imk-bm-rail .hdr{font-size:12.5px;font-weight:700;color:var(--text);margin:0 0 10px;display:flex;align-items:center;gap:7px}
.detail-bookmark-item{
  background:var(--surface-raised); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:8px 12px; display:flex; align-items:center; gap:12px;
  opacity:0; transform:translateY(8px); transition:opacity .45s ease, transform .45s ease;
}
.detail-bookmark-item.in{opacity:1;transform:none}
.detail-bookmark-item .quote{flex:1;min-width:0;font-style:italic;font-size:13px;color:var(--text);line-height:1.4}
.detail-bookmark-item .bm-time{font-size:11px;color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none}
.detail-bookmark-item .bm-jump{
  font-size:12px;font-weight:700;color:var(--teal);background:none;border:none;cursor:pointer;
  font-family:inherit;flex:none;white-space:nowrap;padding:0;
}
.detail-bookmark-item .bm-jump:hover{color:var(--teal-dark)}

/* ===== STEP 4 — ENRICHMENT (candidate B two-column) ===== */
.imk-enrich{width:100%;max-width:720px;margin:auto}
.imk-enrich-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}
@media(max-width:680px){.imk-enrich-grid{grid-template-columns:1fr}}
.imk-e-card{
  background:var(--white);border:1px solid var(--line);border-radius:14px;padding:16px 16px 18px;
  box-shadow:var(--shadow-sm);opacity:0;transform:translateY(16px);
  transition:opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.imk-panel.show .imk-e-card.in{opacity:1;transform:none}
.imk-e-card h4{margin:0 0 12px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  color:var(--teal);display:flex;align-items:center;gap:8px}
.imk-e-card h4 .ic{font-size:14px}
.transcript-line{display:flex;gap:10px;margin-bottom:11px}
.transcript-line:last-child{margin-bottom:0}
.transcript-line .ts{font-size:11px;font-weight:700;color:var(--teal);font-variant-numeric:tabular-nums;flex:none;padding-top:1px}
.transcript-line .tx{font-size:13px;color:var(--ink);line-height:1.45}
.transcript-line.hi .tx{background:linear-gradient(transparent 60%, rgba(185,139,47,.28) 0)}
.imk-summary p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:var(--ink)}
.imk-summary p b{color:var(--ink)}
.imk-takeaways{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.imk-takeaways li{display:flex;gap:9px;font-size:13px;line-height:1.4;color:var(--ink);align-items:flex-start}
.imk-takeaways li .b{color:var(--teal);font-weight:700;flex:none}
.imk-tag-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.imk-tag{font-size:11.5px;font-weight:600;color:var(--teal-dark);background:var(--teal-soft);border-radius:999px;padding:5px 11px}

/* ===== STEP 5 — vortex (candidate A) ===== */
.imk-vortex{position:absolute;inset:0;display:grid;place-items:center}
.imk-vault{
  width:128px;height:128px;border-radius:50%;position:relative;z-index:3;
  background:radial-gradient(circle at 50% 40%, #0a575c, #00464b 60%, #061b22);
  display:grid;place-items:center;box-shadow:0 18px 60px rgba(0,70,75,.45), inset 0 2px 14px rgba(255,255,255,.12);
}
.imk-vault::before{
  content:"";position:absolute;inset:-14px;border-radius:50%;border:2px dashed rgba(9,199,199,.4);
  animation:imk-spin 9s linear infinite;
}
.imk-vault.pull::after{
  content:"";position:absolute;inset:-30px;border-radius:50%;
  background:radial-gradient(circle,rgba(9,199,199,.22),transparent 70%);animation:imk-throb 1.4s ease-in-out infinite;
}
@keyframes imk-spin{to{transform:rotate(360deg)}}
@keyframes imk-throb{0%,100%{transform:scale(1);opacity:.7}50%{transform:scale(1.18);opacity:1}}
.imk-vault .lbl{text-align:center;color:#dffaf9}
.imk-vault .lbl .big{font-size:22px}
.imk-vault .lbl .sm{font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;opacity:.8}
.imk-flyer{
  position:absolute;z-index:2;display:flex;align-items:center;gap:7px;
  font-size:12px;font-weight:600;color:var(--ink);background:var(--white);
  border:1px solid var(--line);border-radius:10px;padding:8px 12px;box-shadow:var(--shadow-sm);
  opacity:0;
}
.imk-flyer .ic{font-size:15px}
.imk-vortex.run .imk-flyer{animation:imk-suck 1.5s cubic-bezier(.55,0,.3,1) forwards}
@keyframes imk-suck{
  0%{opacity:0;transform:translate(var(--fx),var(--fy)) scale(1) rotate(var(--fr))}
  18%{opacity:1}
  100%{opacity:0;transform:translate(0,0) scale(.18) rotate(calc(var(--fr) * -2))}
}
.imk-vortex-cap{position:absolute;bottom:6px;left:0;right:0;text-align:center;font-size:13px;color:var(--muted);opacity:0;transition:opacity .5s .9s}
.imk-vortex-cap b{color:var(--ink)}
.imk-vortex.run .imk-vortex-cap{opacity:1}

/* ===== STEP 6 — graph (candidate A clean dashed semantic) ===== */
.imk-graph{position:absolute;inset:0}
.imk-graph svg{position:absolute;inset:0;width:100%;height:100%}
.imk-edge{stroke:var(--line);stroke-width:2;stroke-dasharray:6 6;
  stroke-dashoffset:200; opacity:0; transition:stroke-dashoffset 1s ease, opacity .5s ease, stroke .5s}
.imk-graph.run .imk-edge{stroke-dashoffset:0;opacity:1;stroke:var(--cyan)}
.imk-graph.run .imk-edge.e2{transition-delay:.15s}.imk-graph.run .imk-edge.e3{transition-delay:.3s}
.imk-graph.run .imk-edge.e4{transition-delay:.45s}.imk-graph.run .imk-edge.e5{transition-delay:.6s}.imk-graph.run .imk-edge.e6{transition-delay:.75s}
.imk-node{
  position:absolute;transform:translate(-50%,-50%) scale(.4);opacity:0;
  font-size:12px;font-weight:700;color:var(--ink);background:var(--white);
  border:1px solid var(--line);border-radius:999px;padding:8px 13px;box-shadow:var(--shadow-sm);
  transition:transform .55s cubic-bezier(.2,.9,.25,1.3), opacity .5s; white-space:nowrap;
}
.imk-graph.run .imk-node{opacity:1;transform:translate(-50%,-50%) scale(1)}
.imk-node.main{color:#fff;background:var(--teal);border-color:var(--teal);font-size:13px;box-shadow:var(--shadow)}
.imk-node.n2{transition-delay:.2s}.imk-node.n3{transition-delay:.32s}.imk-node.n4{transition-delay:.44s}
.imk-node.n5{transition-delay:.56s}.imk-node.n6{transition-delay:.68s}
.imk-graph-cap{position:absolute;bottom:4px;left:0;right:0;text-align:center;font-size:13px;color:var(--muted)}

/* ===== STEP 7 — BOOKSHELF (Upgrade 1 — real photo + Office cues) ===== */
.imk-shelf{width:100%;margin:auto;max-width:680px}
.imk-shelf-tabs{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:0 0 16px}
.imk-shelf-tabs .t{
  font-size:12px;font-weight:600;color:var(--muted);background:var(--white);
  border:1px solid var(--line);border-radius:999px;padding:6px 13px;
  display:inline-flex;align-items:center;gap:7px;
  opacity:0;transform:translateY(8px);transition:opacity .45s ease, transform .45s ease;
}
.imk-shelf.run .imk-shelf-tabs .t{opacity:1;transform:none}
.imk-shelf.run .imk-shelf-tabs .t:nth-child(2){transition-delay:.05s}
.imk-shelf.run .imk-shelf-tabs .t:nth-child(3){transition-delay:.1s}
.imk-shelf.run .imk-shelf-tabs .t:nth-child(4){transition-delay:.15s}
.imk-shelf.run .imk-shelf-tabs .t:nth-child(5){transition-delay:.2s}
.imk-shelf-tabs .t.media{color:var(--teal);border-color:var(--teal);background:var(--teal-soft)}
.imk-shelf-photo{
  position:relative;border-radius:16px;overflow:hidden;box-shadow:var(--shadow);
  border:1px solid var(--line);background:#0a0a0a;
  opacity:0;transform:translateY(16px) scale(.985);
  transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.imk-shelf.run .imk-shelf-photo{opacity:1;transform:none}
.imk-shelf-photo img{
  display:block;width:100%;max-width:100%;height:auto;max-height:clamp(190px,30vh,280px);
  object-fit:cover;object-position:center;
}
.imk-shelf-cap{
  margin:16px auto 0;max-width:560px;text-align:center;font-size:13px;color:var(--ink);
  background:var(--white);border:1px solid var(--line);border-radius:12px;padding:12px 16px;box-shadow:var(--shadow-sm);
  opacity:0;transform:translateY(8px);transition:opacity .6s .35s, transform .6s .35s;
}
.imk-shelf.run .imk-shelf-cap{opacity:1;transform:none}
.imk-shelf-cap b{color:var(--teal)}
.imk-office-chips{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:10px}
.imk-office-chips .pill{
  font-size:11px;font-weight:600;border-radius:999px;padding:4px 10px;
  display:inline-flex;gap:6px;align-items:center;border:1px solid var(--line);background:#fff;
}

/* ===== STEP 8 — CTA ===== */
.imk-cta{margin:auto;text-align:center;max-width:480px}
.imk-cta .mark{
  width:60px;height:60px;margin:0 auto 14px;border-radius:16px;display:grid;place-items:center;font-size:30px;
  background:linear-gradient(135deg,var(--teal),var(--teal-dark));box-shadow:var(--shadow);color:#fff;
  animation:imk-float 4s ease-in-out infinite;
}
@keyframes imk-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.imk-cta h3{margin:0 0 8px;font-size:clamp(22px,3vw,30px);color:var(--navy);letter-spacing:-.01em}
.imk-cta p{margin:0 0 20px;color:var(--muted);font-size:15px}
.imk-cta .actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.imk-cta a, .imk-cta button.ghost{
  display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:16px;text-decoration:none;
  border-radius:12px;padding:15px 30px;cursor:pointer;font-family:inherit;
  transition:transform .2s,background .2s;
}
.imk-cta a{color:#fff;background:var(--teal);box-shadow:var(--shadow);border:none}
.imk-cta a:hover{background:var(--teal-dark);transform:translateY(-2px)}
.imk-cta button.ghost{color:var(--teal);background:var(--white);border:1px solid var(--line)}
.imk-cta button.ghost:hover{border-color:var(--teal);transform:translateY(-2px)}
.imk-cta .fine{margin-top:14px;font-size:12px;color:var(--muted)}

/* ---- footer controls ---- */
.imk-controls{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin-top:18px;flex-wrap:wrap;
}
.imk-prog{flex:1;min-width:160px;height:5px;border-radius:999px;background:var(--line);overflow:hidden;position:relative}
.imk-prog .fill{position:absolute;inset:0 100% 0 0;background:linear-gradient(90deg,var(--teal),var(--cyan));transition:right .25s linear}
.imk-btns{display:flex;gap:8px;align-items:center}
.imk-ctl{
  appearance:none;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;color:var(--ink);
  background:var(--white);border:1px solid var(--line);border-radius:10px;padding:9px 14px;
  display:inline-flex;align-items:center;gap:7px;transition:all .2s;
}
.imk-ctl:hover{border-color:var(--teal);color:var(--teal);transform:translateY(-1px)}
.imk-ctl:focus-visible{outline:2px solid var(--teal); outline-offset:2px}
.imk-ctl.primary{background:var(--teal);color:#fff;border-color:var(--teal)}
.imk-ctl.primary:hover{background:var(--teal-dark);color:#fff}
.imk-ctl[disabled]{opacity:.4;pointer-events:none}

/* ambient background motes */
.imk-mote{position:absolute;border-radius:50%;background:rgba(9,199,199,.16);filter:blur(1px);z-index:1;animation:imk-drift linear infinite}
@keyframes imk-drift{0%{transform:translateY(0) translateX(0)}100%{transform:translateY(-40px) translateX(18px)}}

@media (prefers-reduced-motion: reduce){
  .imk-journey *{animation:none !important; transition:opacity .2s ease !important}
  .imk-panel{transform:none}
  .r{transform:none}
  .imk-node,.imk-flyer,.imk-card,.imk-e-card,.imk-shelf-photo,.imk-shelf-cap,.imk-shelf-tabs .t,.detail-bookmark-item{transform:none !important;opacity:1 !important}
  .imk-edge{stroke-dashoffset:0 !important;opacity:1 !important}
  .imk-mote{display:none}
}

/* ---- Analytics consent banner (prior-consent gate; reject parity) ---- */
.imk-consent{
  position:fixed; left:20px; bottom:20px; z-index:200;
  max-width:340px; padding:16px 18px;
  background:#fff; border:1px solid rgba(6,20,38,.1); border-radius:14px;
  box-shadow:var(--shadow);
  font-size:.85rem; line-height:1.5; color:var(--navy);
}
.imk-consent p{margin:0 0 12px}
.imk-consent-actions{display:flex; gap:8px}
.imk-consent-btn{
  flex:1; padding:8px 14px; border-radius:9px; cursor:pointer;
  font:inherit; font-weight:600; font-size:.85rem;
  border:1px solid rgba(6,20,38,.18); background:#fff; color:var(--navy);
}
.imk-consent-btn:hover{background:var(--teal-soft); border-color:var(--teal)}
@media (max-width:480px){
  .imk-consent{left:12px; right:12px; bottom:12px; max-width:none}
}
