:root {
  /* Laboratory whites */
  --paper:       #FFFFFF;
  --paper-2:     #FAFAFA;
  --paper-3:     #F4F4F5;
  --rule:        #E5E7EB;
  --rule-soft:   #F0F1F2;
  --rule-strong: #D4D7DC;

  /* Ink + grays */
  --ink:         #0A0A0A;
  --ink-2:       #1F2024;
  --ink-mute:    #4B5563;
  --ink-faint:   #6B7280;
  --gray:        #9CA3AF;
  --gray-quiet:  #C7CBD1;

  /* 4 Rings palette (exact) */
  --r-blue:      #009BF9;  /* Personality */
  --r-yellow:    #F5B600;  /* Character   */
  --r-green:     #0DBD2B;  /* Resources   */
  --r-red:       #FF545A;  /* Well-Being  */

  --r-blue-soft:   rgba(0,155,249,.08);
  --r-yellow-soft: rgba(245,182,0,.10);
  --r-green-soft:  rgba(13,189,43,.09);
  --r-red-soft:    rgba(255,84,90,.09);

  /* Typography */
  --serif: 'Newsreader', 'Times New Roman', Georgia, serif;
  --sans:  'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Tweakable variants */
html[data-type="garamond"] { --serif: 'EB Garamond', 'Times New Roman', Georgia, serif; }
html[data-density="airy"]   { --sec-pad: 144px; }
html[data-density="normal"] { --sec-pad: 112px; }
html[data-density="tight"]  { --sec-pad: 80px; }

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; --sec-pad: 112px; --gutter: clamp(28px, 4.5vw, 100px); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ─────────────────────────────────────────────────────────────────
   PRIMITIVES
   ───────────────────────────────────────────────────────────────── */
.mono   { font-family: var(--mono); font-feature-settings: "ss01"; }
.serif  { font-family: var(--serif); }
.label  { font-family: var(--sans); font-size: 18px; font-weight: 500; letter-spacing: 0;  color: var(--ink-faint); }
.eyebrow { font-family: var(--serif); font-size: 18px; font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-mute); }
.rule    { border-top: 1px solid var(--rule); }
.rule-thick { border-top: 2px solid var(--ink); }
.dot { display:inline-block; width: 6px; height: 6px; border-radius: 50%; vertical-align: middle; }

.container { max-width: none; margin: 0 auto; padding: 0 var(--gutter); }
.narrow    { max-width: 880px;  margin: 0 auto; padding: 0 48px; }

.sec  { padding: var(--sec-pad) 0; position: relative; }
.sec--white { background: var(--paper); }
.sec--paper { background: var(--paper-2); }
.sec--ink   { background: var(--ink); color: var(--paper); }

/* Section header: a §number, a rule, and a small caps title (paper-feel) */
.sec-head {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 64px;
  align-items: baseline;
}
.sec-num  { font-family: var(--mono); font-size: 18px; font-weight: 500; letter-spacing: .14em; color: var(--ink-faint); text-transform: uppercase; padding-top: 14px; }
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sec-head h2 em { font-style: italic; font-weight: 400; color: var(--ink-mute); }
.sec-head p { margin-top: 28px; max-width: none; color: var(--ink-mute); font-size: 22px; line-height: 1.5; font-family: var(--serif); }

/* ─────────────────────────────────────────────────────────────────
   RUNNING HEADER + NAV
   ───────────────────────────────────────────────────────────────── */
.runner {
  display: flex; justify-content: center; align-items: center;
  padding: 11px 48px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink-faint);
  text-transform: none;
  background: var(--paper);
}
.runner-l, .runner-r { display: flex; align-items: center; gap: 18px; }
.runner-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2);
  font-size: 14px;
}
.runner-chip .dot { width: 7px; height: 7px; border-radius: 50%; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: none; margin: 0 auto; padding: 18px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 34px; height: 30px; }
.brand-name {
  font-family: var(--serif); font-weight: 500; font-size: 20px;
  letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; line-height: 1.05;
}
.brand-sub { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--ink-faint);  margin-top: -1px; line-height: 1.05; }
.nav-links { display: flex; gap: 14px; align-items: center; }
.nav-tagline { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--ink-faint); white-space: nowrap; }
.nav-links a {
  font-size: 15px; color: var(--ink-mute); white-space: nowrap;
  position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px;
  font-size: 15px; font-weight: 500; letter-spacing: .02em;
  border-radius: 999px; white-space: nowrap;
}
.nav-cta:hover { background: #222; color: var(--paper); }
.nav-cta .arrow { font-family: var(--mono); }
/* Fix: .nav-links a was overriding .nav-cta via specificity — restore button styling */
.nav-links a.nav-cta { color: var(--paper); padding: 10px 18px; }
.nav-links a.nav-cta:hover { color: var(--paper); }
/* Selected-page indicator */
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-links a.nav-cta.active::after { display: none; }

/* ─────────────────────────────────────────────────────────────────
   HERO - editorial title page
   ───────────────────────────────────────────────────────────────── */
.hero { padding: 88px 0 120px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hero-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: block;
}
.hero-text { max-width: 1100px; margin-bottom: 80px; }
.hero-meta {
  display: flex; gap: 16px; align-items: center;
  font-family: var(--serif); font-size: 19px; letter-spacing: 0;
  color: var(--ink-mute); text-transform: none;
  font-style: italic;
  margin-bottom: 40px;
}
.hero-meta .sep { width: 22px; height: 1px; background: var(--rule-strong); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(43px, 6vw, 93px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 1100px;
}
.hero h1 em { font-style: italic; color: var(--ink); font-weight: 400; }
/* Centered hero (overview) to match the rest */
.hero .hero-text { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.hero .hero-meta { justify-content: center; }
.hero h1 { margin-left: auto; margin-right: auto; }
.hero .hero-lede { margin-left: auto; margin-right: auto; }
.hero .byline { margin-left: auto; margin-right: auto; text-align: left; }
.hero .hero-cta { justify-content: center; }
.hero h1 .light { color: var(--gray); }
.hero-lede {
  margin-top: 40px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.42;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 780px;
}
.hero-lede em { font-style: italic; }
.byline {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 32px;
  max-width: 520px;
}
.byline dt { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  padding-top: 3px; }
.byline dd { font-family: var(--serif); font-size: 18px; color: var(--ink-2); font-style: italic; }
.hero-cta {
  display: flex; align-items: center; gap: 24px;
  margin-top: 44px;
}

/* Buttons */
.btn-primary, .btn-ghost, .btn-dark {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 17px; font-weight: 500; letter-spacing: 0;
  padding: 18px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #222; }
.btn-ghost   { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-dark    { background: var(--paper); color: var(--ink); }
.btn-arrow { font-family: var(--sans); font-size: 17px; line-height: 1; }

/* Two-line CTA: primary verb + small trial subline */
.btn-primary .btn-stack {
  display: inline-flex; flex-direction: column; gap: 4px; align-items: flex-start; line-height: 1.1;
}
.btn-primary .btn-stack-main {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: 0;
}
.btn-primary .btn-stack-sub {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-style: italic; font-size: 13.5px; font-weight: 400;
  color: rgba(255,255,255,.62);
  letter-spacing: 0;
}
.btn-primary .trial-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--r-green); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(13,189,43,.18);
}
/* When the stack is present, tighten the button's padding */
.btn-primary:has(.btn-stack) { padding: 14px 26px 13px; }

/* Hero figure column */
/* Hero figure - full-width product screenshot */
.hero-fig {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 56px 56px 56px;
  overflow: hidden;
}
.hero-fig img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(10, 12, 20, .18)) drop-shadow(0 10px 20px rgba(10, 12, 20, .10));
  border-radius: 12px;
}
.hero-fig::after {
  content: 'The Journal pane, live on macOS';
  position: absolute; top: 18px; left: 56px;
  font-family: var(--serif); font-style: italic; font-size: 18px;
  color: var(--ink-faint);
}

/* Pillars below hero */
.pillars {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.pillars-inner {
  max-width: none; margin: 0 auto; padding: 28px var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.pillar {
  padding: 20px 28px;
  display: flex; gap: 16px; align-items: flex-start;
  border-right: 1px solid var(--rule);
}
.pillar:last-child { border-right: 0; }
.pillar-num { font-family: var(--sans); font-size: 18px; color: var(--ink-faint); letter-spacing: .1em; }
.pillar-t { font-family: var(--serif); font-size: 18px; color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.pillar-s { font-size: 18px; color: var(--ink-faint); line-height: 1.5; }
.pillar .dot { width: 8px; height: 8px; margin-top: 6px; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────────
   §01 SCIENCE - interactive SEM diagram
   ───────────────────────────────────────────────────────────────── */
.science-wrap { max-width: none; margin: 0 auto; padding: 0 var(--gutter); }
.science-grid { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
.diagram-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.diagram-tabs {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding: 12px 18px;
  font-family: var(--sans); font-size: 18px; letter-spacing: 0;
  color: var(--ink-faint); 
}
.diagram-tabs .right { display: flex; gap: 14px; align-items: center; }
.diagram-tabs .swatch { display: inline-flex; align-items: center; gap: 6px; }
.diagram-tabs .swatch .dot { width: 7px; height: 7px; }

.r4-board { position: relative; width: 100%; aspect-ratio: 5 / 4; }
.r4-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.r4-base { stroke: var(--gray-quiet); stroke-width: 20; fill: none; transition: opacity .35s, stroke .35s; }
.r4-base.dim { opacity: .25; }
.r4-flow {
  stroke-width: 20; fill: none; opacity: 0;
  transition: opacity .3s;
}
@keyframes flowDash { to { stroke-dashoffset: -28; } }
.r4-flow.on { opacity: 1; stroke-dasharray: 6 6; animation: flowDash 1.1s linear infinite; stroke-width: 22; }

.r4-ring {
  position: absolute;
  width: 20.5%; aspect-ratio: 1 / 1;
  border-radius: 50%; background: var(--paper);
  border: 2.5px solid var(--gray-quiet);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  cursor: pointer; z-index: 2;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), border-color .25s, box-shadow .3s;
}
.r4-ring[data-r=p] { border-color: var(--r-blue); }
.r4-ring[data-r=c] { border-color: var(--r-yellow); }
.r4-ring[data-r=r] { border-color: var(--r-green); }
.r4-ring[data-r=w] { border-color: var(--r-red); }
.r4-ring:hover { transform: translate(-50%, -50%) scale(1.04); }
.r4-ring.on { transform: translate(-50%, -50%) scale(1.08); }
.r4-ring.on[data-r=p] { box-shadow: 0 0 0 7px rgba(0,155,249,.32); }
.r4-ring.on[data-r=c] { box-shadow: 0 0 0 7px rgba(245,182,0,.34); }
.r4-ring.on[data-r=r] { box-shadow: 0 0 0 7px rgba(13,189,43,.32); }
.r4-ring.on[data-r=w] { box-shadow: 0 0 0 7px rgba(255,84,90,.32); }
.r4-nm { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1; margin-bottom: 4px; letter-spacing: -.01em; }
.r4-q  { font-family: var(--sans); font-size: 18px; letter-spacing: 0;  color: var(--ink-faint); text-align: center; padding: 0 6px; line-height: 1.3; }

.r4-card {
  display: none;
}

/* New: full-width shelf above the board */
.r4-shelf {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 48px; align-items: start;
  padding: 22px 26px;
  border-bottom: 1px solid var(--rule);
  border-left: 4px solid var(--rule-soft);
  background: var(--paper-2);
  transition: border-left-color .3s, background .3s;
}
.r4-shelf-tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 10px;
}
.r4-shelf-t {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  color: var(--ink); line-height: 1.16; letter-spacing: -.01em;
}
.r4-shelf-b {
  font-size: 18px; color: var(--ink-mute); line-height: 1.55;
  padding-top: 4px;
}
@media (max-width: 980px) {
  .r4-shelf { grid-template-columns: 1fr; gap: 14px; padding: 18px 20px; }
}

.r4-pill {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center;
  padding: 4px 11px;
  background: #0B3D6B;
  border: none;
  border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
  opacity: 0; pointer-events: none; z-index: 4;
  transition: opacity .25s;
}
.r4-pill.show { opacity: 1; }
.r4-pill .dot { display: none; }

.diagram-foot {
  border-top: 1px solid var(--rule);
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: 18px; letter-spacing: .1em;
  color: var(--ink-faint); 
}

/* Science sidebar */
.science-side .label { margin-bottom: 18px; }
.science-side .lede {
  font-family: var(--serif); font-size: 22px; line-height: 1.3;
  letter-spacing: -.01em; color: var(--ink); font-weight: 400;
  margin-bottom: 20px;
}
.science-side .lede em { font-style: italic; }
.science-side p { font-size: 18px; color: var(--ink-mute); line-height: 1.7; margin-bottom: 16px; }
.cite-list { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.cite-list li {
  list-style: none; display: grid; grid-template-columns: 28px 1fr;
  gap: 12px; padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 18px; color: var(--ink-mute); line-height: 1.5;
}
.cite-list li:last-child { border-bottom: none; }
.cite-list .n { font-family: var(--mono); font-size: 18px; color: var(--ink-faint); padding-top: 2px; }

/* ─────────────────────────────────────────────────────────────────
   HOW IT WORKS - full-bleed screenshot + 3 steps
   ───────────────────────────────────────────────────────────────── */
.hiw-wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.hiw-shot {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 64px 56px 56px;
  overflow: hidden;
  margin-bottom: 56px;
}
.hiw-shot > img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 30px 60px rgba(10,12,20,.16)) drop-shadow(0 10px 20px rgba(10,12,20,.08));
  border-radius: 12px;
}
.hiw-shot .corner {
  position: absolute; top: 22px; left: 56px;
  font-family: var(--sans); font-size: 18px; font-weight: 500;
  color: var(--ink-faint); display: flex; align-items: center; gap: 10px;
}
.hiw-shot .corner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--r-blue); }
.hiw-shot .stamp {
  position: absolute; top: 22px; right: 56px;
  font-family: var(--mono); font-size: 18px; letter-spacing: .12em;
  color: var(--ink-faint); text-transform: uppercase;
}
.hiw-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--rule); background: var(--paper);
}
.hiw-step {
  padding: 36px 32px 36px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 14px;
}
.hiw-step:last-child { border-right: 0; }
.hiw-step .num {
  font-family: var(--mono); font-size: 18px; letter-spacing: .14em;
  color: var(--ink-faint); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.hiw-step .num .dot { width: 7px; height: 7px; border-radius: 50%; }
.hiw-step h3 {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  letter-spacing: -.015em; color: var(--ink); line-height: 1.15;
}
.hiw-step h3 em { font-style: italic; color: var(--ink-mute); font-weight: 400; }
.hiw-step p { font-size: 18px; color: var(--ink-mute); line-height: 1.6; }
.hiw-step .foot {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
  display: flex; justify-content: space-between;
  font-family: var(--sans); font-size: 18px; color: var(--ink-faint);
}
.hiw-step .foot .v { font-family: var(--serif); font-style: italic; color: var(--ink-2); }

@media (max-width: 980px) {
  .hiw-wrap { padding: 0 24px; }
  .hiw-shot { padding: 44px 16px 16px; }
  .hiw-shot .corner, .hiw-shot .stamp { left: 18px; right: 18px; top: 14px; font-size: 18px; }
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-step { border-right: 0; border-bottom: 1px solid var(--rule); }
  .hiw-step:last-child { border-bottom: 0; }
}

/* ─────────────────────────────────────────────────────────────────
   §02-04 PRODUCT FEATURES - editorial split
   ───────────────────────────────────────────────────────────────── */
.feat {
  display: block;
  max-width: none; margin: 0 auto; padding: 0 var(--gutter);
}
.feat-text {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  column-gap: 96px;
  row-gap: 16px;
  margin-bottom: 64px;
}
.feat-text > * { grid-column: 2; }
.feat-text .eyebrow,
.feat-text > h2 { grid-column: 1; }
.feat-text .eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 0; align-self: start; }
.feat-text .eyebrow .dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.feat-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.0;
  letter-spacing: -.024em;
  color: var(--ink);
  margin: 0;
  align-self: end;
}
.feat-text h2 em { font-style: italic; color: var(--ink-mute); font-weight: 400; }
.feat-body { display: flex; flex-direction: column; gap: 20px; }
.feat-body p,
.feat-text > p { font-size: 22px; color: var(--ink-mute); line-height: 1.5; margin-bottom: 0; font-family: var(--serif); }
.feat-text > p + p { margin-top: 8px; }
.feat-text > p strong { color: var(--ink); font-weight: 500; }
.feat-text .pull {
  padding-left: 26px;
  border-left: 2px solid var(--ink);
  font-family: var(--serif); font-style: italic; font-size: 23px;
  line-height: 1.4; color: var(--ink-2);
  margin-top: 16px;
}
.feat-text .pull-attr {
  display: block; margin-top: 14px;
  font-family: var(--sans); font-style: normal; font-size: 18px; font-weight: 500;
  letter-spacing: 0; color: var(--ink-faint); text-transform: none;
}
.feat-attrs {
  grid-column: 1 / -1;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 32px;
}
.feat-attrs .at-l { font-family: var(--sans); font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--ink-faint); text-transform: none; margin-bottom: 4px; }
.feat-attrs .at-v { font-family: var(--serif); font-size: 20px; color: var(--ink); font-style: italic; }

.feat-fig { width: 100%; }

/* Figure frames */
.fig-frame {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  overflow: hidden;
}
.fig-frame::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, rgba(0,0,0,.025) 1px, transparent 1px) 0 0 / 32px 32px;
  pointer-events: none;
}
.fig-frame > svg { position: relative; z-index: 1; width: 100%; height: auto; display: block; }

/* Screenshot frame - lighter background, no grid, with subtle padding */
.fig-screen {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 60px 44px 44px;
  overflow: hidden;
  min-height: 0;
}
.fig-screen.fig-screen--tight { padding: 14px; }
.fig-screen > img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(10, 12, 20, .15)) drop-shadow(0 8px 18px rgba(10, 12, 20, .08));
  border-radius: 12px;
}
.fig-screen-corner {
  position: absolute; top: 24px; left: 32px;
  font-family: var(--sans); font-size: 18px; letter-spacing: 0; font-weight: 500;
  color: var(--ink-faint); text-transform: none;
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
}
.fig-screen-corner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--r-blue); }
.fig-screen-corner.is-plan .dot     { background: var(--r-yellow); }
.fig-screen-corner.is-understand .dot { background: var(--r-red); }
.fig-screen-corner.is-summaries .dot  { background: var(--r-green); }

.fig-subs {
  display: block;
  margin-top: 56px;
}
.fig-sub {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 60px 44px 44px;
  display: block;
  position: relative;
  margin-top: 28px;
}
.fig-sub > img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 30px 60px rgba(10,12,20,.15)) drop-shadow(0 8px 18px rgba(10,12,20,.08));
  border-radius: 12px;
}
.fig-sub .cap {
  position: absolute; top: 18px; left: 44px;
  font-family: var(--serif); font-style: italic; font-size: 19px;
  color: var(--ink-faint);
}

.fig-cap {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 18px;
  font-family: var(--sans); font-size: 18px; letter-spacing: 0;
  color: var(--ink-faint); text-transform: none;
}
.fig-cap span { font-weight: 500; }

@media (max-width: 980px) {
  .fig-subs { grid-template-columns: 1fr; }
}

/* Eyebrow icon (replacing tiny color dots in some places) */
.eyebrow-ico {
  width: 18px; height: 18px;
  display: inline-block; flex-shrink: 0;
}
.eyebrow-ico img { width: 100%; height: 100%; display: block; }

/* ─────────────────────────────────────────────────────────────────
   BENEFITS TIMELINE
   ───────────────────────────────────────────────────────────────── */
.benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.benefit {
  padding: 40px 32px 44px;
  border-right: 1px solid var(--rule);
  position: relative;
  background: var(--paper);
}
.benefit:last-child { border-right: 0; }
.benefit .label { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.benefit .label .dot { width: 7px; height: 7px; }
.benefit h3 {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--ink); line-height: 1.1; margin-bottom: 14px;
  letter-spacing: -.015em;
}
.benefit p { font-size: 18px; color: var(--ink-mute); line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────────
   PULL QUOTE (full-bleed editorial)
   ───────────────────────────────────────────────────────────────── */
.pq-wrap {
  max-width: 1000px; margin: 0 auto; padding: 0 48px;
  text-align: center;
}
.pq-q {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink);
}
.pq-q::before { content: '“'; font-style: normal; color: var(--ink-faint); margin-right: .05em; }
.pq-q::after  { content: '”'; font-style: normal; color: var(--ink-faint); margin-left: .05em; }
.pq-attr {
  margin-top: 28px;
  font-family: var(--sans); font-size: 18px; letter-spacing: 0;
  color: var(--ink-faint); 
}

/* ─────────────────────────────────────────────────────────────────
   PRIVACY
   ───────────────────────────────────────────────────────────────── */
.priv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.priv-card {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
}
.priv-card:last-child { border-right: 0; }
.priv-card .lbl { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  margin-bottom: 28px; }
.priv-card .lbl span { color: var(--ink); }
.priv-glyph {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.priv-glyph img { width: 100%; height: 100%; object-fit: contain; display: block; }
.priv-card h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--ink); line-height: 1.2; margin-bottom: 12px;
  letter-spacing: -.01em;
}
.priv-card p { font-size: 18px; color: var(--ink-mute); line-height: 1.65; }

/* Offline-by-design strip */
.priv-strip {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  align-items: center;
  padding: 40px 48px;
  background: var(--ink); color: var(--paper);
  margin-bottom: 56px;
}
.priv-strip-l .priv-strip-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 16px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.priv-strip-l .priv-strip-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--r-green); box-shadow: 0 0 0 3px rgba(13,189,43,.22);
}
.priv-strip-l p {
  font-family: var(--serif); font-size: 30px; line-height: 1.18;
  letter-spacing: -.015em; color: #fff; font-weight: 400;
}
.priv-strip-l p em { font-style: italic; color: rgba(255,255,255,.66); }
.priv-strip-r {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px;
}
.priv-strip-r li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 18px;
  color: rgba(255,255,255,.86);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.priv-strip-r li .x {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.7);
  flex-shrink: 0;
}

/* Featured screenshot + protections */
.priv-feature {
  display: grid; grid-template-columns: 420px 1fr; gap: 72px;
  align-items: start;
  margin-bottom: 56px;
}
.priv-shot {
  position: relative;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.priv-shot img {
  display: block; width: 100%; height: auto;
  border-radius: 4px;
  filter: drop-shadow(0 30px 60px rgba(10,12,20,.20)) drop-shadow(0 8px 20px rgba(10,12,20,.10));
}
.priv-shot figcaption {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding: 0 4px;
  font-family: var(--sans); font-size: 16px; color: var(--ink-faint);
}
.priv-shot .cap-l { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.priv-shot .cap-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--r-yellow); }
.priv-shot .cap-r { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }

.priv-list { display: flex; flex-direction: column; gap: 0; }
.priv-row {
  padding: 28px 0 28px;
  border-bottom: 1px solid var(--rule);
}
.priv-row:first-child { padding-top: 0; }
.priv-row:last-child { border-bottom: 0; padding-bottom: 0; }
.priv-row-h {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 20px; align-items: baseline;
  margin-bottom: 10px;
}
.priv-row-num {
  font-family: var(--mono); font-size: 16px; letter-spacing: .12em;
  color: var(--ink-faint); padding-top: 6px;
}
.priv-row h3 {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  letter-spacing: -.015em; color: var(--ink); line-height: 1.18;
}
.priv-row h3 em { font-style: italic; color: var(--ink-mute); font-weight: 400; }
.priv-row p {
  margin-left: 76px;
  font-size: 18px; color: var(--ink-mute); line-height: 1.65;
}

@media (max-width: 980px) {
  .priv-strip { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; }
  .priv-strip-r { grid-template-columns: 1fr 1fr; }
  .priv-feature { grid-template-columns: 1fr; gap: 40px; }
  .priv-shot { max-width: 360px; }
  .priv-row p { margin-left: 0; }
  .priv-row-h { grid-template-columns: 1fr; gap: 6px; }
}

/* ─────────────────────────────────────────────────────────────────
   PRICING
   ───────────────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--rule); background: var(--paper); }
.price-card { padding: 44px 32px 40px; border-right: 1px solid var(--rule); position: relative; }
.price-card:last-child { border-right: 0; }
.price-card.feat-card {
  background: var(--paper-2);
}
.price-card.feat-card::before {
  content: 'Education discount';
  position: absolute; top: 16px; right: 16px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .02em;
  color: var(--r-blue); background: var(--r-blue-soft);
  padding: 5px 12px; border-radius: 999px;
}
.price-card.feat-card::after { content: none; }
.price-tier {
  font-family: var(--sans); font-size: 18px; letter-spacing: 0;
  color: var(--ink-faint);  margin-bottom: 24px;
}
.price-amt {
  font-family: var(--serif); font-size: 72px; font-weight: 400;
  color: var(--ink); line-height: 1; letter-spacing: -.025em;
  display: flex; align-items: baseline; gap: 6px;
}
.price-amt .sym { font-size: 28px; color: var(--ink-mute); position: relative; top: -22px; }
.price-amt .from { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  align-self: center; margin-right: 4px; }
.price-meta {
  margin-top: 14px;
  font-family: var(--sans); font-size: 18px; letter-spacing: .1em;
  color: var(--ink-mute); 
}
.price-detail {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 18px; color: var(--ink-mute); line-height: 1.65;
}
.price-cta {
  display: flex; justify-content: space-between; align-items: center;
  max-width: none; margin: 56px auto 0; padding: 0 var(--gutter);
}
.price-cta-l { font-family: var(--serif); font-size: 22px; color: var(--ink); font-style: italic; }
.price-cta-l small { display: block; font-family: var(--sans); font-style: normal; font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  margin-top: 8px; }

/* ─────────────────────────────────────────────────────────────────
   RESEARCH + DATASET
   ───────────────────────────────────────────────────────────────── */
.res-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--rule); background: var(--paper);
}
.res-card { padding: 40px 36px; border-right: 1px solid var(--rule); }
.res-card:last-child { border-right: 0; }
.res-card .lbl { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  margin-bottom: 28px; }
.res-card .lbl .dot { width: 7px; height: 7px; }
.res-card h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--ink); line-height: 1.25; margin-bottom: 14px;
  letter-spacing: -.01em;
}
.res-card .author { font-family: var(--sans); font-size: 18px; letter-spacing: .1em; color: var(--ink-faint);  margin-bottom: 16px; }
.res-card p { font-size: 18px; color: var(--ink-mute); line-height: 1.65; margin-bottom: 24px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--sans); font-size: 18px; font-weight: 500;
  color: var(--ink);
  transition: background .15s, color .15s;
}
.dl-btn:hover { background: var(--ink); color: var(--paper); }
.dl-btn .arr { font-family: var(--mono); }

.dataset {
  margin-top: 48px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid; grid-template-columns: 220px 1fr; gap: 56px;
  padding: 44px 40px;
}
.dataset .lbl { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  }
.dataset h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--ink); margin: 12px 0 24px; letter-spacing: -.015em; }
.dataset p { font-size: 18px; color: var(--ink-mute); line-height: 1.75; margin-bottom: 14px; }
.dataset .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.dataset .meta dt { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  margin-bottom: 4px; }
.dataset .meta dd { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-2); }

/* ─────────────────────────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 80px;
  align-items: start;
}
.about-portrait {
  border: 1px solid var(--rule);
  aspect-ratio: 4 / 5;
  background: var(--paper);
  display: flex; align-items: flex-end; justify-content: center;
  font-family: var(--serif); font-size: 96px; color: var(--gray);
  position: relative;
  overflow: hidden;
}
.about-portrait::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 11px, var(--rule-soft) 11px 12px);
  z-index: 0;
}
.about-portrait .ph { position: relative; z-index: 1; padding-bottom: 24px; font-style: italic; letter-spacing: -.02em; }
.about-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 1; }
.portrait-cap {
  margin-top: 12px;
  font-family: var(--sans); font-size: 18px; letter-spacing: 0;
  color: var(--ink-faint); 
  display: flex; justify-content: center;
}
.about-text h3 { font-family: var(--serif); font-size: 38px; font-weight: 500; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }
.about-text .title { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  margin-bottom: 28px; }
.about-text p { font-size: 18px; color: var(--ink-mute); line-height: 1.75; margin-bottom: 16px; max-width: 640px; }
.cred {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--rule);
  list-style: none;
}
.cred li {
  display: grid; grid-template-columns: 122px 1fr;
  gap: 24px; padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 18px; color: var(--ink-2);
}
.cred li .yr { font-family: var(--sans); font-size: 14px; letter-spacing: .06em; color: var(--ink-faint); padding-top: 5px; white-space: nowrap; }
.cred li .ttl em { font-style: italic; color: var(--ink-mute); }

/* Other work — project link cards under the bio */
.proj-block { margin-top: 64px; padding-top: 0; }
.proj-block > .proj-eyebrow {
  font-family: var(--sans); font-size: 16px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
  padding-bottom: 22px; border-bottom: 1px solid var(--rule); margin-bottom: 36px;
}
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); background: var(--paper); }
.proj-card { padding: 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.proj-card:last-child { border-right: 0; }
.proj-shot {
  position: relative; display: block;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  aspect-ratio: 16 / 10; overflow: hidden;
}
.proj-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.proj-shot.is-empty {
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(to right, rgba(0,0,0,.022) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(to bottom, rgba(0,0,0,.022) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--paper-2);
}
.proj-shot.is-empty span {
  font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray); border: 1px dashed var(--rule-strong); padding: 8px 14px; border-radius: 999px;
}
/* Book-cover treatment: full portrait cover on a dark mat */
.proj-shot.is-cover,
.proj-shot.is-fit {
  aspect-ratio: auto; min-height: 0;
  display: block; padding: 18px; background: var(--paper);
}
.proj-shot.is-cover img,
.proj-shot.is-fit img {
  display: block; width: 100%; height: auto;
  object-fit: contain; object-position: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(10,12,20,.14);
}
.proj-meta { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.proj-meta .lbl {
  font-family: var(--sans); font-size: 15px; letter-spacing: .04em; color: var(--ink-faint);
  display: flex; align-items: center; gap: 9px;
}
.proj-meta .lbl .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.proj-meta h4 { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); line-height: 1.12; }
.proj-meta h4 em { font-style: italic; color: var(--ink-mute); font-weight: 400; }
.proj-meta p { font-size: 17px; color: var(--ink-mute); line-height: 1.6; margin: 0; }
.proj-link {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.proj-link:hover { color: var(--ink-mute); border-color: var(--ink-mute); }
.proj-link .arr { font-family: var(--mono); }

.lit-bundle {
  margin-top: 20px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 26px 30px;
}
.lit-bundle .l { display: flex; align-items: center; gap: 16px; }
.lit-bundle .badge {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--r-yellow);
  padding: 6px 11px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.lit-bundle p { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: #fff; margin: 0; }
.lit-bundle p em { font-style: italic; color: rgba(255,255,255,.7); }

@media (max-width: 980px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .proj-card:last-child { border-bottom: 0; }
  .lit-bundle { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ─────────────────────────────────────────────────────────────────
   FOOTER - colophon style
   ───────────────────────────────────────────────────────────────── */
.colophon { background: var(--ink); color: rgba(255,255,255,.75); }
.colophon-inner { max-width: none; margin: 0 auto; padding: 80px var(--gutter) 40px; }
.colo-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.colo-top h4 {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: #fff; line-height: 1.2; letter-spacing: -.015em;
  margin-bottom: 16px;
}
.colo-top p { font-size: 18px; color: rgba(255,255,255,.55); line-height: 1.7; }
.colo-h { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: rgba(255,255,255,.5);  margin-bottom: 18px; }
.colo-list { list-style: none; }
.colo-list li { padding: 6px 0; }
.colo-list a { color: rgba(255,255,255,.75); font-size: 18px; }
.colo-list a:hover { color: #fff; }
.colo-bot {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 36px;
  font-family: var(--sans); font-size: 18px; letter-spacing: 0;
  color: rgba(255,255,255,.4); 
}

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .runner-l .hide-md, .runner-r .hide-md { display: none; }
  .nav-inner { padding: 14px 24px; }
  .nav-tagline { display: none; }
  .nav-inner .runner-chip { display: none; }
  .container, .hero-grid, .feat, .science-wrap { padding-left: 24px; padding-right: 24px; }
  .narrow { padding-left: 24px; padding-right: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 56px 0 80px; }
  .pillars-inner { grid-template-columns: 1fr 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--rule); }
  .pillar:nth-child(odd) { border-right: 1px solid var(--rule); }
  .pillar:nth-last-child(-n+2) { border-bottom: 0; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .science-grid { grid-template-columns: 1fr; }
  .feat-text { grid-template-columns: 1fr; column-gap: 0; row-gap: 16px; }
  .feat-text > * { grid-column: 1; }
  .feat-text h2 { align-self: start; }
  .feat-attrs { grid-column: 1; grid-template-columns: 1fr 1fr; }
  .fig-screen { padding: 32px 16px 16px; }
  .fig-screen-corner { top: 14px; left: 18px; font-size: 18px; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-right: 0; border-bottom: 1px solid var(--rule); }
  .benefit:last-child { border-bottom: 0; }
  .priv-grid, .price-grid, .res-grid { grid-template-columns: 1fr; }
  .priv-card, .price-card, .res-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .priv-card:last-child, .price-card:last-child, .res-card:last-child { border-bottom: 0; }
  .price-cta { flex-direction: column; align-items: flex-start; gap: 24px; }
  .dataset { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { max-width: 280px; }
  .colo-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .r4-card { font-size: 18px; }
  .r4-card .ttl { font-size: 18px; }
  .r4-pill { font-size: 12px; padding: 3px 9px; }
}

#scroll-anchor { scroll-margin-top: 80px; }
section[id] { scroll-margin-top: 80px; }

/* ─────────────────────────────────────────────────────────────────
   §02 RESEARCHERS - the prominent dissertation/research section
   ───────────────────────────────────────────────────────────────── */
.rsch-banner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  margin-bottom: 56px;
}
.rsch-banner .lbl {
  font-family: var(--sans); font-size: 18px; letter-spacing: 0;
   color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 14px;
}
.rsch-banner .lbl .badge { display: inline-block; width: 7px; height: 7px; background: var(--r-blue); border-radius: 50%; }
.rsch-banner .title { font-family: var(--serif); font-size: 19px; font-style: italic; color: #fff; }

.rsch-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px;
  align-items: start;
}
.rsch-text h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06;
  letter-spacing: -.018em; color: var(--ink);
  margin-bottom: 22px;
}
.rsch-text h3 em { font-style: italic; color: var(--ink-mute); font-weight: 400; }
.rsch-text > p { font-size: 22px; color: var(--ink-mute); line-height: 1.5; margin-bottom: 14px; font-family: var(--serif); }
.rsch-text > p strong { color: var(--ink); font-weight: 500; }

.rsch-specs {
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px;
  max-width: 520px;
}
.rsch-specs .l { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  margin-bottom: 4px; }
.rsch-specs .v { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); }

/* CSV preview frame */
.csv-frame {
  border: 1px solid var(--rule); background: var(--paper);
}
.csv-frame-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--rule);
  padding: 12px 18px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em;
  color: var(--ink-faint); text-transform: uppercase;
}
.csv-frame-head > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csv-frame-head .pill { display: inline-flex; gap: 6px; align-items: center; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); white-space: nowrap; flex-shrink: 0; }
.csv-frame-head .pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--r-green); }

.csv-table {
  font-family: var(--mono); font-size: 11px;
  width: 100%; border-collapse: collapse;
  color: var(--ink-2);
}
.csv-table thead th {
  text-align: left; font-weight: 500;
  padding: 12px 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint);
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.csv-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule-soft);
  white-space: nowrap;
}
.csv-table tbody tr:last-child td { border-bottom: 0; }
.csv-table .n { color: var(--ink-faint); }
.csv-table .col-p { color: var(--r-blue); }
.csv-table .col-c { color: #B88600; }
.csv-table .col-r { color: #0A9F22; }
.csv-table .col-w { color: var(--r-red); }
.csv-frame-foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--rule);
  padding: 12px 18px;
  font-family: var(--mono); font-size: 18px; letter-spacing: .1em;
  color: var(--ink-faint); text-transform: uppercase;
}

/* Stat strip */
.rsch-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.rsch-stats .cell {
  padding: 18px 20px;
  border-right: 1px solid var(--rule);
}
.rsch-stats .cell:last-child { border-right: 0; }
.rsch-stats .num { font-family: var(--serif); font-size: 32px; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.rsch-stats .lbl { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  margin-top: 8px; }

/* Download row */
.dl-row {
  margin-top: 72px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}
.dl-row .l h4 { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -.015em; color: var(--ink); }
.dl-row .l p { font-size: 18px; color: var(--ink-mute); line-height: 1.6; margin-top: 10px; }
.dl-row .r { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dl-card {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--rule);
  padding: 18px 20px 20px;
  background: var(--paper);
  transition: border-color .2s, transform .2s;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.dl-card:hover { border-color: var(--ink); }
.dl-card .lbl { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  }
.dl-card .name { font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; margin-top: 6px; }
.dl-card .meta { font-family: var(--mono); font-size: 18px; color: var(--ink-faint); margin-top: 10px; display: flex; justify-content: space-between; }
.dl-card .arr { font-family: var(--mono); position: absolute; top: 16px; right: 18px; font-size: 18px; color: var(--ink-faint); transition: color .2s; }
.dl-card:hover .arr { color: var(--ink); }

/* Suitable for tag strip */
.tag-strip {
  margin-top: 56px;
  display: flex; flex-direction: column; gap: 16px;
}
.tag-strip .head { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  }
.tag-strip .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-strip .tag {
  font-family: var(--sans); font-size: 18px; color: var(--ink-2);
  padding: 7px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
}

/* In-app callout */
.inapp-callout {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 360px; gap: 40px;
  align-items: center;
  padding: 36px 36px 36px 40px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.inapp-callout .l .lbl { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  margin-bottom: 16px; }
.inapp-callout .l h5 { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; margin-bottom: 10px; }
.inapp-callout .l p { font-size: 18px; color: var(--ink-mute); line-height: 1.6; }
.inapp-callout .r {
  background: var(--paper); border: 1px solid var(--rule);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.inapp-callout .r .t { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); }
.inapp-callout .r .b {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 18px; font-weight: 500;
}

@media (max-width: 980px) {
  .rsch-grid { grid-template-columns: 1fr; gap: 40px; }
  .rsch-stats { grid-template-columns: 1fr 1fr; }
  .rsch-stats .cell:nth-child(2) { border-right: 0; }
  .rsch-stats .cell:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .dl-row { grid-template-columns: 1fr; gap: 32px; }
  .dl-row .r { grid-template-columns: 1fr; }
  .inapp-callout { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .csv-table { font-size: 10px; }
  .csv-table thead th, .csv-table tbody td { padding: 8px 10px; }
}

/* ── §03 PERSONAS ── */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); background: var(--paper); }
.persona-card { padding: 40px 32px 32px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; }
.persona-card:last-child { border-right: 0; }
.p-lbl { font-family: var(--sans); font-size: 18px; letter-spacing: 0;  color: var(--ink-faint); display: flex; align-items: center; gap: 10px; }
.p-lbl .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.p-role { font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -.015em; line-height: 1.1; color: var(--ink); margin-top: 2px; }
.p-h { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.22; letter-spacing: -.01em; color: var(--ink); margin-top: 6px; }
.p-h em { font-style: italic; color: var(--ink-mute); font-weight: 400; }
.p-body { font-size: 18px; color: var(--ink-mute); line-height: 1.55; }
.p-list { list-style: none; margin-top: 4px; }
.p-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--rule-soft); font-size: 18px; color: var(--ink-2); line-height: 1.55; }
.p-list li:last-child { border-bottom: 0; }
.p-list .n { font-family: var(--sans); font-size: 18px; color: var(--ink-faint); padding-top: 2px; }
.p-out { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.p-out .lbl { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-faint);  }
.p-out .v { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); line-height: 1.4; }
/* Persona role-styling - each card tinted with one ring color */
.persona-card.p-mod  .p-glyph { background: var(--r-blue-soft); }
.persona-card.p-stu  .p-glyph { background: var(--r-yellow-soft); }
.persona-card.p-fac  .p-glyph { background: var(--r-green-soft); }
.p-glyph {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  margin-bottom: 4px;
}
.p-glyph img { width: 32px; height: 32px; display: block; }

@media (max-width: 980px) { .persona-grid { grid-template-columns: 1fr; } .persona-card { border-right: 0; border-bottom: 1px solid var(--rule); } .persona-card:last-child { border-bottom: 0; } }

/* ───────────────────────────────────────────────────────────────
   GLOBAL SOFT CORNERS — rounded rectangles across the page
   ─────────────────────────────────────────────────────────────── */
.hero-fig,
.hiw-shot, .hiw-steps,
.priv-strip, .priv-shot, .priv-grid,
.diagram-card, .r4-shelf,
.csv-frame,
.rsch-banner, .rsch-stats,
.inapp-callout, .inapp-callout .r,
.persona-grid,
.benefits,
.price-grid,
.res-grid, .dataset,
.about-portrait,
.proj-grid, .proj-shot, .lit-bundle,
.fig-screen, .fig-sub, .fig-frame,
.dl-card {
  border-radius: 20px;
}
/* Clip inner dividers to the rounded corners */
.hero-fig, .hiw-shot, .hiw-steps,
.priv-strip, .priv-shot, .priv-grid,
.diagram-card,
.csv-frame,
.rsch-stats,
.persona-grid,
.benefits,
.price-grid,
.res-grid,
.about-portrait,
.proj-grid, .proj-shot, .lit-bundle,
.fig-screen, .fig-sub, .fig-frame {
  overflow: hidden;
}
/* Benefits strip had no side borders — give it a full frame so the radius reads */
.benefits { border: 1px solid var(--rule); }

/* ─────────────────────────────────────────────────────────────────
   LEAD HERO — "The Four Rings of Life"
   ───────────────────────────────────────────────────────────────── */
.hero-lead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0 64px;
}
.hero-lead .wrap { max-width: 1080px; margin: 0 auto; padding: 0 48px; text-align: center; }
.hero-lead .eyebrow-line {
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 38px;
}
.hero-lead .eyebrow-line .rings { display: inline-flex; gap: 5px; }
.hero-lead .eyebrow-line .rings i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.hero-lead h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(54px, 8vw, 120px); line-height: .96;
  letter-spacing: -.035em; color: var(--ink);
}
.hero-lead h1 em { font-style: italic; }
.hero-lead .lead {
  margin: 38px auto 0; max-width: 800px;
  font-family: var(--serif); font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.5; color: var(--ink-2);
}
.hero-lead .lead strong { font-weight: 500; color: var(--ink); }
.hero-lead .lead .b { color: var(--r-blue); font-style: italic; }
.hero-lead .lead .c { color: #B88600; font-style: italic; }
.hero-lead .lead .r { color: #0A9F22; font-style: italic; }
.hero-lead .lead .w { color: var(--r-red); font-style: italic; }
.hero-lead .ringrow {
  margin: 48px auto 0; max-width: 940px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--rule); border-radius: 20px; overflow: hidden;
  background: var(--paper);
}
.hero-lead .ringrow .cell {
  padding: 26px 18px; border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 9px; align-items: center;
}
.hero-lead .ringrow .cell:last-child { border-right: 0; }
.hero-lead .ringrow .ring { width: 20px; height: 20px; border-radius: 50%; border: 3px solid; }
.hero-lead .ringrow .nm { font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.hero-lead .ringrow .q { font-family: var(--sans); font-size: 13px; letter-spacing: .02em; color: var(--ink-faint); }
.hero-lead .cta { margin-top: 48px; display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-lead .lead-foot {
  margin-top: 28px; font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--ink-faint);
}
@media (max-width: 980px) {
  .hero-lead { padding: 64px 0 56px; }
  .hero-lead .wrap { padding: 0 24px; }
  .hero-lead .ringrow { grid-template-columns: 1fr 1fr; }
  .hero-lead .ringrow .cell:nth-child(2) { border-right: 0; }
  .hero-lead .ringrow .cell:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

/* Interactive model above the lead hero */
.ring-hero-diagram { background: var(--paper); padding: 32px 0 8px; }
.rhd-wrap { max-width: 860px; margin: 0 auto; padding: 0 48px; }
.rhd-title {
  font-family: var(--serif); font-weight: 400; text-align: center;
  font-size: clamp(48px, 8.5vw, 132px); line-height: .98;
  letter-spacing: -.035em; color: var(--ink);
  max-width: 1280px; margin: 0 auto 32px; padding: 0 48px;
  text-wrap: balance;
}
.rhd-title em { font-style: italic; color: #9CA3AF; }
.rhd-title em { font-style: italic; }
.rhd-note {
  text-align: center; margin-top: 18px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.rhd-note .rings { display: inline-flex; gap: 5px; }
.rhd-note .rings i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.rhd-board { margin: 0 auto; }
@media (max-width: 980px) { .rhd-wrap { padding: 0 24px; } .ring-hero-diagram { padding: 28px 0 4px; } }

/* ─────────────────────────────────────────────────────────────────
   SECTION PICKER — one view at a time
   ───────────────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 60; }
.picker {
  position: relative;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.picker-row {
  max-width: none; margin: 0 auto; padding: 11px var(--gutter);
  display: flex; align-items: center; gap: 10px;
}
.picker-arrow {
  flex: 0 0 auto; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--paper);
  color: var(--ink); font-family: var(--mono); font-size: 17px; line-height: 1;
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.picker-arrow:hover { border-color: var(--ink); }
.picker-arrow:active { background: var(--ink); color: #fff; }
.picker-inner {
  flex: 1 1 auto; min-width: 0;
  display: flex; gap: 8px; align-items: center;
  overflow-x: auto; scrollbar-width: none;
}
.picker-inner::-webkit-scrollbar { display: none; }
.picker-lbl {
  flex: 0 0 auto; margin-right: 6px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint);
}
.picker-pill {
  flex: 0 0 auto;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .01em;
  color: var(--ink-mute); background: transparent;
  border: 1px solid var(--rule); border-radius: 999px;
  padding: 8px 16px; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.picker-pill:hover { color: var(--ink); border-color: var(--rule-strong); }
.picker-pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 980px) { .picker-row { padding: 10px 12px; } }

/* One view at a time. Home shown by default until JS takes over. */
.pv { display: none; }
.pv[data-view="home"] { display: block; }

/* ── App Store companion CTA + device row (added for iOS companion) ── */
.appstore-cta {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 12px 28px; border-radius: 14px; background: var(--ink); color: var(--paper);
  font-family: var(--sans); line-height: 1.2; text-align: center;
}
.appstore-cta:hover { background: #222; }
.appstore-cta .main { font-size: 17px; font-weight: 600; }
.appstore-cta .sub  { font-size: 13px; font-weight: 400; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.appstore-cta.is-soon { background: var(--paper); color: var(--ink); border: 1px dashed var(--rule-strong); pointer-events: none; }
.appstore-cta.is-soon .sub { color: var(--ink-faint); }
.devices-row { display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; }
.devices-row .ipad   { flex: 1 1 520px; max-width: 680px; margin: 0; }
.devices-row .iphone { flex: 0 0 300px; max-width: 300px; margin: 0; }
@media (max-width: 820px) { .devices-row { gap: 28px; } }

/* ── Generic tab group (How it works / Research) ── */
.tabs { margin-top: 36px; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; background: var(--paper); }
.tab-bar { display: flex; margin: 0; padding: 0; background: var(--paper-2); }
.tab-btn {
  flex: 1 1 0; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 14px; text-align: center;
  background: transparent; border: 0; border-right: 1px solid var(--rule);
  font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink-faint); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s;
}
.tab-btn:last-child { border-right: 0; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: inset 0 3px 0 var(--ink); }
.tab-btn .tab-ico { width: 18px; height: 18px; flex-shrink: 0; display: inline-flex; }
.tab-btn .tab-ico svg { width: 100%; height: 100%; display: block; }
.tab-panel { display: none; padding: 44px; }
.tab-panel.active { display: block; }
@media (max-width: 820px) {
  .tab-bar { flex-wrap: wrap; }
  .tab-btn { flex: 1 1 50%; border-bottom: 1px solid var(--rule); font-size: 17px; padding: 14px 10px; }
  .tab-panel { padding: 28px; }
}

/* section-number logo (replaces the § glyph) — half the header logo size */
.sec-num .sec-ico { width: 76px; height: auto; display: inline-block; vertical-align: middle; margin-right: 0; }
