:root {
  color-scheme: dark;
  --ink: #f4f0e8;
  --muted: #bcb5a8;
  --line: rgba(244, 240, 232, 0.14);
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --bg: #10100f;
  --bg-soft: #171614;
  --accent: #e4ff63;
  --accent-2: #6ee7d8;
  --accent-3: #ff8166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: clamp(12px, 2.4vw, 28px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #070706, #10100f 680px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 76px),
    #10100f;
  color: var(--ink);
  line-height: 1.5;
}

.page-shell {
  width: min(100%, 1540px);
  margin: 0 auto;
  overflow: visible;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 16, 15, 0.96), rgba(16, 16, 15, 0.99)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 76px),
    var(--bg);
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.34);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: clamp(12px, 2.4vw, 28px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4.2vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 15, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--accent);
  color: #171614;
  font-weight: 900;
}

.top-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-toggle {
  display: none;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 820;
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: min(780px, calc(100vh - 68px));
  padding: clamp(54px, 7vw, 92px) clamp(20px, 4.2vw, 56px) 48px;
}

.hero-copy {
  max-width: 680px;
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.7vw, 6.35rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 760;
}

.button.primary {
  background: var(--ink);
  color: #121210;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
}

.value-orbit {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1.06;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 26%, rgba(110, 231, 216, 0.22), transparent 28%),
    radial-gradient(circle at 24% 76%, rgba(228, 255, 99, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.orbit-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(244, 240, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 12%, transparent 74%);
}

.orbit-line {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 50%;
  animation: orbitSpin 18s linear infinite;
}

.line-two {
  inset: 24% 12%;
  border-color: rgba(110, 231, 216, 0.28);
  transform: rotate(32deg);
  animation-duration: 24s;
  animation-direction: reverse;
}

.line-three {
  inset: 12% 24%;
  border-color: rgba(228, 255, 99, 0.26);
  transform: rotate(-24deg);
  animation-duration: 28s;
}

.orbit-node {
  position: absolute;
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 112px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(244, 240, 232, 0.18);
  background: rgba(16, 16, 15, 0.78);
  backdrop-filter: blur(16px);
}

.orbit-node span,
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.orbit-node strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.ai-node {
  top: 11%;
  left: 10%;
  min-width: 84px;
  min-height: 72px;
  place-items: center;
  animation: floatNode 6s ease-in-out infinite;
}

.ai-node strong {
  font-size: 2.15rem;
  line-height: 1;
}

.money-node {
  top: 16%;
  right: 12%;
  min-width: 118px;
  color: #121210;
  background: var(--accent);
  animation: floatNode 6s ease-in-out 1.2s infinite;
}

.money-node span,
.money-node strong {
  color: #121210;
}

.money-node strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  overflow: hidden;
  height: 2.2rem;
  font-size: 2rem;
  line-height: 1;
}

.money-symbol {
  flex: 0 0 auto;
}

.money-cycle {
  display: grid;
  animation: moneyCount 4.8s steps(4) infinite;
}

.money-cycle span {
  display: block;
  height: 2.2rem;
  color: #121210;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 2.2rem;
  text-transform: none;
}

.measure-node {
  right: 10%;
  bottom: 17%;
  animation: floatNode 6s ease-in-out 2.1s infinite;
}

.measure-node strong {
  color: var(--accent-2);
}

.value-card {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 9%;
  padding: 18px;
  border: 1px solid rgba(244, 240, 232, 0.18);
  background: rgba(16, 16, 15, 0.82);
  backdrop-filter: blur(18px);
}

.value-card strong {
  display: block;
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
}

.value-bars {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.46fr;
  gap: 8px;
  margin-top: 18px;
}

.value-bars span {
  display: block;
  height: 8px;
  background: var(--accent);
  transform-origin: left;
  animation: measurePulse 3.2s ease-in-out infinite;
}

.value-bars span:nth-child(2) {
  background: var(--accent-2);
  animation-delay: 0.4s;
}

.value-bars span:nth-child(3) {
  background: var(--accent-3);
  animation-delay: 0.8s;
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatNode {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@keyframes measurePulse {
  0%,
  100% {
    transform: scaleX(0.42);
    opacity: 0.72;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes moneyCount {
  to {
    transform: translateY(-8.8rem);
  }
}

.intro-band {
  margin: 0 clamp(20px, 4.2vw, 56px);
  padding: clamp(20px, 3vw, 30px) 0;
  border-block: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.intro-band p {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.1vw, 2.15rem);
  line-height: 1.12;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 4.2vw, 56px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  line-height: 1.05;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.feature-card h3 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.8rem);
  line-height: 1.06;
}

.feature-card p {
  max-width: 620px;
  color: var(--muted);
}

.post-list {
  display: grid;
  gap: 14px;
}

.use-case-list {
  display: grid;
  gap: 18px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.case-copy,
.case-visual {
  padding: clamp(22px, 4vw, 38px);
  background: var(--bg-soft);
}

.case-copy h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.05;
}

.case-copy h3 {
  margin: 28px 0 8px;
  color: var(--accent);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.case-copy p {
  max-width: 760px;
  color: var(--muted);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 10px;
}

.case-metrics div {
  min-height: 110px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.case-metrics span,
.case-visual span {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.case-metrics strong,
.case-visual strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1;
}

.case-visual {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  background:
    radial-gradient(circle at 80% 18%, rgba(110, 231, 216, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028)),
    var(--bg);
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(244, 240, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.44;
}

.case-visual > * {
  position: relative;
}

.visual-lines,
.visual-bars,
.visual-flow {
  display: grid;
  gap: 12px;
  margin-top: 44px;
}

.visual-lines i,
.visual-bars i,
.visual-flow i {
  display: block;
  height: 12px;
  background: var(--accent);
  opacity: 0.9;
}

.visual-lines i:nth-child(1) {
  width: 78%;
}

.visual-lines i:nth-child(2) {
  width: 54%;
  background: var(--accent-2);
}

.visual-lines i:nth-child(3) {
  width: 88%;
}

.visual-lines i:nth-child(4) {
  width: 41%;
  background: var(--accent-3);
}

.visual-bars {
  grid-template-columns: 0.43fr 0.31fr 0.26fr;
  align-items: end;
  min-height: 160px;
}

.visual-bars i {
  height: 100%;
}

.visual-bars i:nth-child(2) {
  height: 72%;
  background: var(--accent-2);
}

.visual-bars i:nth-child(3) {
  height: 48%;
  background: var(--accent-3);
}

.visual-flow {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.visual-flow i {
  height: 92px;
}

.visual-flow i:nth-child(2) {
  background: var(--accent-2);
}

.visual-flow i:nth-child(3) {
  background: var(--accent-3);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.evidence-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.evidence-grid h3 {
  margin-bottom: 10px;
}

.evidence-grid p {
  color: var(--muted);
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.topic-grid article {
  min-height: 290px;
  padding: 22px;
  background: var(--bg-soft);
}

.topic-grid span {
  color: var(--accent-2);
  font-weight: 900;
}

.topic-grid h3 {
  margin-top: 38px;
  font-size: 1.35rem;
}

.topic-grid p {
  color: var(--muted);
}

.value-test {
  background: #f4f0e8;
  color: #121210;
}

.value-test .kicker {
  color: #697c00;
}

.test-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.test-list li {
  display: grid;
  gap: 28px;
  min-height: 160px;
  padding: 18px;
  border: 1px solid rgba(18, 18, 16, 0.16);
  font-size: 1.2rem;
  font-weight: 760;
}

.test-list span {
  color: #697c00;
  font-size: 0.88rem;
}

.dark-button {
  width: fit-content;
  margin-top: 28px;
  border-color: rgba(18, 18, 16, 0.18);
  background: #121210;
  color: var(--ink);
}

.page-hero {
  max-width: 760px;
  padding: clamp(34px, 4vw, 56px) clamp(20px, 4.2vw, 56px) clamp(18px, 3vw, 32px);
}

.page-hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.95rem, 2.8vw, 2.9rem);
  line-height: 1.1;
}

.compact-section {
  padding-top: clamp(28px, 4vw, 52px);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  display: grid;
  align-content: space-between;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.tool-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.08;
}

.tool-card p {
  color: var(--muted);
}

.interactive-tools {
  border-top: 1px solid var(--line);
}

.ai-analyzer {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 1px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.ai-analyzer > div {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--bg-soft);
}

.ai-analyzer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  line-height: 1.08;
}

.ai-analyzer p {
  color: var(--muted);
}

.privacy-note,
.ai-status {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(228, 255, 99, 0.34);
  background: rgba(228, 255, 99, 0.08);
  color: var(--ink);
  font-size: 0.9rem;
}

.ai-input-panel label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.ai-input-panel textarea {
  width: 100%;
  min-height: 210px;
  resize: vertical;
  padding: 14px;
  border: 1px solid rgba(244, 240, 232, 0.16);
  background: rgba(16, 16, 15, 0.76);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

.ai-input-panel button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.compact-output {
  min-height: 260px;
}

.app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab-button,
.copy-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 780;
}

.tab-button:hover,
.copy-button:hover,
.tab-button.active {
  border-color: rgba(228, 255, 99, 0.64);
  background: var(--accent);
  color: #121210;
}

.tool-app {
  display: none;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.tool-app.active {
  display: grid;
}

.tool-form,
.score-controls,
.tool-output {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 3vw, 28px);
  background: var(--bg-soft);
}

.tool-output {
  background:
    radial-gradient(circle at 85% 14%, rgba(110, 231, 216, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    var(--bg);
}

.tool-form label,
.score-controls label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 780;
  text-transform: uppercase;
}

.tool-form input,
.tool-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(244, 240, 232, 0.16);
  background: rgba(16, 16, 15, 0.76);
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.score-controls input {
  accent-color: var(--accent);
}

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

.metric-grid div {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.metric-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.metric-grid strong,
.score-ring strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.recommendation {
  margin: 0;
  padding: 16px;
  border-left: 5px solid var(--accent);
  background: rgba(228, 255, 99, 0.1);
  color: var(--ink);
  font-weight: 720;
}

.score-ring {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  min-width: 170px;
  padding: 22px;
  border: 1px solid rgba(228, 255, 99, 0.48);
  background: rgba(228, 255, 99, 0.1);
}

.score-ring span {
  color: var(--muted);
  font-weight: 820;
}

.action-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.action-list li {
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.generated-output {
  min-height: 340px;
  max-height: 520px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  background: rgba(16, 16, 15, 0.78);
  color: #ded8cc;
  padding: 16px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.55;
}

.worksheet {
  border-top: 1px solid var(--line);
}

.worksheet-grid {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(24px, 5vw, 72px);
}

.worksheet-grid h3 {
  font-size: 1.3rem;
}

.worksheet-grid p {
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: checklist;
}

.checklist li {
  position: relative;
  padding: 15px 16px 15px 54px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.checklist li::before {
  counter-increment: checklist;
  content: counter(checklist);
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  background: var(--accent);
  color: #121210;
  font-size: 0.78rem;
  font-weight: 900;
}

.baseline-table {
  display: grid;
  border: 1px solid var(--line);
}

.baseline-table > div {
  display: grid;
  grid-template-columns: 0.75fr 1.55fr 0.75fr;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.baseline-table > div:last-child {
  border-bottom: 0;
}

.baseline-table strong,
.baseline-table span {
  padding: 15px;
  border-right: 1px solid var(--line);
}

.baseline-table strong:last-child,
.baseline-table span:last-child {
  border-right: 0;
}

.baseline-table strong {
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.baseline-table span {
  color: var(--muted);
}

.baseline-table span:first-child {
  color: var(--ink);
  font-weight: 760;
}

.experiment-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.experiment-steps article {
  min-height: 250px;
  padding: 20px;
  background: var(--bg-soft);
}

.experiment-steps span {
  color: var(--accent-2);
  font-weight: 900;
}

.experiment-steps h3 {
  margin-top: 46px;
  font-size: 1.25rem;
}

.experiment-steps p {
  color: var(--muted);
}

.operating-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.operating-grid article {
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    var(--bg-soft);
}

.operating-grid span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.operating-grid h3 {
  margin-top: 54px;
  font-size: 1.25rem;
}

.operating-grid p {
  color: var(--muted);
}

.source-section {
  border-top: 1px solid var(--line);
}

.source-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.source-list a {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.source-list a:hover {
  border-color: rgba(228, 255, 99, 0.52);
  color: var(--accent);
}

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

.publication-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.publication-card:hover {
  border-color: rgba(228, 255, 99, 0.52);
}

.publication-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
}

.publication-card p {
  margin: 0;
  color: var(--muted);
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.publication-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) 20px;
}

.article h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
}

.article-lede {
  color: var(--accent);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 760;
}

.article p,
.article li {
  color: #ded8cc;
  font-size: 1.13rem;
}

.article h2 {
  margin-top: 54px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  line-height: 1.1;
}

blockquote {
  margin: 42px 0;
  padding: 24px;
  border-left: 6px solid var(--accent);
  background: var(--panel);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.article-callout {
  margin: 42px 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--accent);
}

.article-callout p {
  margin: 0 0 10px;
  color: #121210;
  font-size: clamp(1.08rem, 1.9vw, 1.65rem);
  font-weight: 860;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.subscribe-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: 100%;
  min-height: min(760px, calc(100vh - 68px));
  padding: clamp(54px, 7vw, 92px) clamp(20px, 4.2vw, 56px);
}

.subscribe-copy {
  max-width: 680px;
}

.subscribe-copy h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  line-height: 0.94;
}

.subscribe-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.subscribe-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.subscribe-panel {
  position: relative;
  overflow: hidden;
  width: min(100%, 520px);
  justify-self: end;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(228, 255, 99, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.subscribe-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(244, 240, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.44;
  pointer-events: none;
}

.subscribe-panel > * {
  position: relative;
}

.subscribe-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-pulse {
  width: 10px;
  height: 10px;
  background: var(--accent-2);
  border-radius: 999px;
  box-shadow: 0 0 22px var(--accent-2);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.subscribe-panel h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.subscribe-panel p {
  max-width: 420px;
  color: var(--muted);
}

.kit-embed-shell {
  margin-top: 24px;
  min-height: 190px;
  border: 1px solid rgba(244, 240, 232, 0.16);
  background: rgba(16, 16, 15, 0.64);
}

.kit-embed-shell .formkit-powered-by-convertkit-container,
.kit-embed-shell .formkit-powered-by-convertkit {
  display: none !important;
}

.kit-embed-shell .formkit-form,
.kit-embed-shell .formkit-form[data-uid="2d9a9497c9"] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.kit-embed-shell .formkit-form[data-uid="2d9a9497c9"] [data-style="minimal"] {
  padding: 18px !important;
}

.kit-embed-shell .formkit-background,
.kit-embed-shell .formkit-header,
.kit-embed-shell .formkit-subheader,
.kit-embed-shell .formkit-guarantee {
  display: none !important;
}

.kit-embed-shell .formkit-fields {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  margin: 0 !important;
}

.kit-embed-shell .formkit-field,
.kit-embed-shell .formkit-submit {
  margin: 0 !important;
}

.kit-embed-shell .formkit-input,
.kit-embed-shell .formkit-submit {
  min-height: 48px !important;
  border-radius: 0 !important;
  font: inherit !important;
}

.kit-embed-shell .formkit-input {
  border: 1px solid rgba(244, 240, 232, 0.16) !important;
  background: rgba(16, 16, 15, 0.74) !important;
  color: var(--ink) !important;
}

.kit-embed-shell .formkit-submit {
  border: 0 !important;
  background: var(--accent) !important;
  color: #121210 !important;
  font-weight: 860 !important;
}

.kit-embed-shell .formkit-submit > span {
  padding: 13px 18px !important;
}

.subscribe-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.subscribe-strip h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
}

.thanks-hero {
  min-height: min(680px, calc(100vh - 68px));
}

.small-orbit {
  width: min(100%, 460px);
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.72;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4.2vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .ai-analyzer,
  .feature-card,
  .case-study,
  .tool-app,
  .subscribe-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .topic-grid,
  .test-list,
  .tool-grid,
  .experiment-steps,
  .operating-grid,
  .evidence-grid,
  .publication-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-orbit {
    justify-self: start;
    max-width: 620px;
  }

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

  .subscribe-panel {
    justify-self: start;
    max-width: 640px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 0;
  }

  .page-shell {
    border-inline: 0;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    top: 0;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .top-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 10px;
  }

  .site-header.nav-open .top-nav {
    display: grid;
  }

  .top-nav a {
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.045);
  }

  .hero {
    padding: 38px 16px 32px;
  }

  .section,
  .subscribe-hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .intro-band {
    margin-right: 16px;
    margin-left: 16px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
    line-height: 0.98;
  }

  .subscribe-copy h1 {
    font-size: clamp(2.3rem, 11vw, 4rem);
    line-height: 1;
  }

  .subscribe-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .kit-embed-shell .formkit-fields {
    grid-template-columns: 1fr !important;
  }

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

  .topic-grid,
  .test-list,
  .tool-grid,
  .experiment-steps,
  .operating-grid,
  .case-metrics,
  .evidence-grid,
  .publication-grid {
    grid-template-columns: 1fr;
  }

  .baseline-table > div {
    grid-template-columns: 1fr;
  }

  .baseline-table strong,
  .baseline-table span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .baseline-table strong:last-child,
  .baseline-table span:last-child {
    border-bottom: 0;
  }

  .topic-grid article,
  .test-list li,
  .operating-grid article {
    min-height: auto;
  }

  .value-orbit {
    aspect-ratio: 0.9;
  }

  .orbit-node {
    min-width: 94px;
    min-height: 68px;
    padding: 12px;
  }

  .orbit-node strong {
    font-size: 1rem;
  }

  .money-node strong {
    font-size: 1.72rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
