:root {
  --bg: #0d1117;
  --panel: #151b2c;
  --ink: #eef2ff;
  --muted: #b4bfd0;
  --accent: #79aaff;
  --border: #2b3853;
  --button: #101827;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 system-ui,
    sans-serif;
}
a {
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
}
.review {
  font-size: 12px;
  background: var(--panel);
  padding: 9px;
  text-align: center;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  gap: 20px;
}
.brand {
  text-decoration: none;
  font-weight: 750;
  font-size: 24px;
  letter-spacing: -1px;
}
.brand span {
  color: var(--accent);
}
.links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.links a {
  text-decoration: none;
  font-size: 14px;
}
.pill,
.cta {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  background: var(--accent);
  color: var(--button);
  font-weight: 650;
}
.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0 95px;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 2px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -3px;
  margin: 24px 0;
}
h2 {
  font-size: clamp(30px, 3.5vw, 45px);
  line-height: 1.15;
  letter-spacing: -1.6px;
  margin: 14px 0 22px;
}
h3 {
  line-height: 1.25;
  font-size: 23px;
}
p {
  color: var(--muted);
}
.lead {
  font-size: 19px;
  max-width: 510px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.small {
  font-size: 12px;
}
.preview {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 25px 65px #0002;
  transform: rotate(-1deg);
}
.preview header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.tag {
  font-size: 11px;
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 30px;
  color: var(--muted);
}
.view-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.view-buttons button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
}
.view-buttons button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--button);
}
.sample {
  min-height: 275px;
}
.row {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.row strong {
  display: block;
  font-size: 14px;
}
.row small {
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
}
.section {
  padding: 75px 0;
  border-top: 1px solid var(--border);
}
.intro {
  max-width: 620px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}
.number {
  font:
    14px ui-monospace,
    monospace;
  color: var(--accent);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
}
.capture {
  padding: 26px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 0 12px 12px 0;
  font-size: 19px;
}
.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.outcomes div {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
}
.outcomes b {
  display: block;
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.article a {
  text-decoration: none;
}
.article .number {
  font-family: inherit;
}
.article h3 {
  font-size: 21px;
}
.article p {
  color: var(--muted);
  line-height: 1.6;
}
.journal-intro {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}
.journal-intro a {
  color: var(--accent);
}
.topic-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 36px;
  padding: 0;
}
.topic-nav a {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.topic-nav a:hover,
.topic-nav a:focus-visible {
  border-color: var(--accent);
}
.topic-group {
  margin-top: 58px;
}
.topic-group h2 {
  scroll-margin-top: 25px;
}
.topic-group > p {
  color: var(--muted);
}
.wide {
  padding: 45px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.wide h2 {
  max-width: 650px;
}
details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 35px 0;
  font-size: 13px;
  color: var(--muted);
}
.editorial h1,
.editorial h2 {
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -2px;
}
.editorial .preview {
  transform: rotate(1deg);
}
.hybrid .hero {
  grid-template-columns: 1.05fr 1fr;
}
.hybrid .preview {
  background: #101827;
  color: #eef2ff;
  --bg: #131d30;
  --panel: #101827;
  --ink: #eef2ff;
  --muted: #b4bfd0;
  --border: #30405b;
  --accent: #79aaff;
  --button: #101827;
}
.mobile-nav {
  display: none;
}
@media (max-width: 850px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero {
    padding: 45px 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .links {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .preview {
    transform: none !important;
  }
  .section {
    padding: 50px 0;
  }
  .wrap {
    padding: 0 20px;
  }
  .hybrid .hero {
    grid-template-columns: 1fr;
  }
  h1 {
    letter-spacing: -2px;
  }
  .wide {
    padding: 25px;
  }
  footer {
    flex-direction: column;
  }
  .outcomes {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
dialog {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  max-width: 520px;
  width: calc(100% - 40px);
}
dialog::backdrop {
  background: #000a;
}
input,
textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  margin: 8px 0 18px;
}
label {
  display: block;
}
.reader {
  max-width: 720px;
  margin: 50px auto;
}
.reader h1 {
  font-size: 48px;
}
.reader p {
  font-size: 18px;
  line-height: 1.85;
}
.reader .small {
  font-size: 13px;
}
.reader h2 {
  margin-top: 2.2em;
  font-size: 28px;
}
.reader h3 {
  margin-top: 1.8em;
}
.reader ul,
.reader ol {
  padding-left: 1.3em;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.reader li + li {
  margin-top: 0.5em;
}
.reader blockquote {
  margin: 1.8em 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--accent);
}
.reader hr {
  margin: 2.5em 0;
  border: 0;
  border-top: 1px solid var(--border);
}
.reader .sources,
.reader .related {
  margin-top: 2.5em;
  padding-top: 1px;
  border-top: 1px solid var(--border);
}
.reader .sources ol {
  font-size: 16px;
}
.reader .badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.reader .reading {
  list-style: none;
  padding-left: 0;
}
.group {
  margin: 2em 0 0.6em;
}
.reading-list-link {
  margin-top: 28px;
}
.reader a {
  color: var(--accent);
}
.audience-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.audience-links a {
  font-size: 14px;
}
.compare-links {
  margin: 25px 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 600px) {
  .reader h1 {
    font-size: 36px;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
footer > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.footer-brand img {
  width: 24px;
  height: 24px;
}
.preview-controls {
  display: none;
}
[data-product-preview] .view-buttons {
  display: none;
}
[data-product-preview].enhanced .view-buttons {
  display: flex;
}
.enhanced .preview-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.preview-controls p {
  margin: 0;
  font-size: 11px;
}
.preview-controls button {
  flex-shrink: 0;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  min-height: 40px;
}
.view-buttons button {
  position: relative;
  overflow: hidden;
  min-height: 42px;
}
.view-buttons button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #16356b;
  transform-origin: left;
}
[data-playing="true"] .view-buttons button[aria-pressed="true"]::after {
  animation: preview-progress 7s linear;
}
.sample {
  min-height: 325px;
}
@keyframes preview-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.attention-journey {
  position: relative;
  overflow: hidden;
  margin: 10px 0 45px;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 75% 50%, #21457240, transparent 60%),
    var(--panel);
}
.journey-intro {
  max-width: 640px;
}
.journey-intro h2 {
  margin-bottom: 14px;
}
.journey-inputs {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
}
.journey-inputs span {
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.journey-map {
  display: block;
  width: 100%;
  height: auto;
  margin: 5px 0;
}
.journey-strand {
  fill: none;
  stroke: #607696;
  stroke-width: 1.5;
  opacity: 0.5;
}
.journey-route {
  fill: none;
  stroke: url(#trellis-path);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.journey-node {
  fill: var(--bg);
  stroke: #79aaff;
  stroke-width: 2;
}
.journey-label {
  fill: var(--ink);
  font:
    600 17px system-ui,
    sans-serif;
}
.journey-small {
  fill: var(--muted);
  font:
    13px system-ui,
    sans-serif;
}
.journey-visible .journey-route {
  animation: trace-attention 2.6s ease-out both;
}
@keyframes trace-attention {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.journey-caption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.journey-caption strong {
  font-size: 14px;
}
.journey-caption p {
  font-size: 13px;
  margin: 6px 0 0;
}
@media (max-width: 850px) {
  .attention-journey {
    padding: 24px;
  }
  .journey-caption {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .journey-inputs {
    flex-wrap: wrap;
  }
  .journey-map {
    min-height: 180px;
  }
  .preview {
    padding: 20px;
  }
  .preview-controls {
    flex-wrap: wrap;
  }
  .sample {
    min-height: 370px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-visible .journey-route,
  [data-playing="true"] .view-buttons button[aria-pressed="true"]::after {
    animation: none;
  }
  .view-buttons button[aria-pressed="true"]::after {
    transform: scaleX(1);
  }
}

.journey-steps {
  display: none;
}
@media (max-width: 850px) {
  .journey-label,
  .journey-small {
    display: none;
  }
  .journey-map {
    min-height: 100px;
  }
  .journey-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }
  .journey-steps strong,
  .journey-steps small {
    display: block;
  }
  .journey-steps strong {
    font-size: 14px;
  }
  .journey-steps small {
    font-size: 12px;
    color: var(--muted);
  }
}

.nav-login {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  left: 20px;
  top: 10px;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--button);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}

/* Phone menu: a real button with an icon, opening a panel of full-size rows. */
.mobile-nav {
  position: relative;
  border: 0;
  padding: 0;
}
.mobile-nav summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 650;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.15s ease, background 0.15s ease;
}
.menu-icon {
  position: relative;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-icon::before {
  top: -5px;
}
.menu-icon::after {
  top: 5px;
}
.mobile-nav[open] .menu-icon {
  background: transparent;
}
.mobile-nav[open] .menu-icon::before {
  transform: translateY(5px) rotate(45deg);
}
.mobile-nav[open] .menu-icon::after {
  transform: translateY(-5px) rotate(-45deg);
}
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  width: min(320px, calc(100vw - 40px));
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 40px #0008;
}
.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 17px;
  text-decoration: none;
}
.menu-panel a:hover {
  background: var(--bg);
}
.menu-panel .menu-cta {
  justify-content: center;
  margin-top: 8px;
  background: var(--accent);
  color: var(--button);
  font-weight: 650;
}

/* Homepage on a phone: a slim early-access bar once the hero has scrolled away. */
.sticky-cta {
  display: none;
}
@media (max-width: 767px) {
  .sticky-cta.is-visible {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 15;
    min-height: 52px;
    border-radius: 14px;
    background: var(--accent);
    color: var(--button);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px #000a;
    animation: sticky-in 0.2s ease-out;
  }
}
@keyframes sticky-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta.is-visible {
    animation: none;
  }
}

/*
 * Phones: the same content in less scrolling. Chip rows scroll sideways
 * instead of stacking, cards are tighter, and the Field notes picks become a
 * swipeable row.
 */
@media (max-width: 767px) {
  /* Grid columns may shrink below their content, so a sideways-scrolling row never widens the page. */
  .hero > *,
  .split > * {
    min-width: 0;
  }
  .section {
    padding: 40px 0;
  }
  .hero {
    padding: 28px 0 36px;
  }
  .card {
    padding: 20px;
  }
  .cards {
    gap: 12px;
    margin-top: 24px;
  }
  .view-buttons,
  .journey-inputs,
  .topic-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    margin-inline: -20px;
    padding-inline: 20px;
  }
  .view-buttons > *,
  .journey-inputs > *,
  .topic-nav > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  .view-buttons button {
    min-height: 44px;
    font-size: 14px;
  }
  .sample {
    min-height: 0;
  }
  .journey-map {
    display: none;
  }
  .attention-journey {
    margin-bottom: 24px;
  }
  #learn .cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
  }
  #learn .cards > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .wide {
    padding: 22px;
  }
  .audience-links a,
  footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .reader {
    margin: 28px auto;
  }
  /* Article meta: quieter, sentence case, and kept to one line where it fits. */
  .reader .eyebrow {
    font-size: 13px;
    letter-spacing: 0.2px;
    text-transform: none;
    font-weight: 600;
  }
  .journey-inputs {
    margin-bottom: 20px;
  }
  /* Stand-alone links and buttons are at least 44px tall to tap (links inside a sentence are not). */
  .brand,
  .preview-controls button,
  .card.article > a:last-child,
  .reader > a:first-child,
  .reading-list-link a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
