/* Shared foundations: readable type, visible focus, stable layout, and large controls. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  --bg: #f4f1e8;
  --text: #171717;
  --muted: #5a574f;
  --accent: #d8ef45;
  --accent-ink: #171717;
  --surface: #fffdf6;
  --surface-strong: #171717;
  --line: rgba(23, 23, 23, 0.2);
  --soft-line: rgba(23, 23, 23, 0.1);
  --display: Arial, Helvetica, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  border: 0;
}

button:not(:disabled),
input[type='range'] {
  cursor: pointer;
}

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

p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.02;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--surface-strong);
  color: var(--bg);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(1480px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 92px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  min-height: 44px;
  width: fit-content;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark i {
  display: block;
  width: 22px;
  height: 22px;
  border: 6px solid var(--text);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--accent);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-header nav a,
.site-footer > a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  text-underline-offset: 0.35rem;
  text-decoration-thickness: 2px;
}

.site-header nav a:not(:hover),
.site-footer > a:not(:hover) {
  text-decoration-color: transparent;
}

.domain-chip {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(2rem, 6vw, 7rem);
  min-height: min(850px, calc(100vh - 92px));
  align-items: center;
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.eyebrow,
.section-label {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 2rem;
  font-size: clamp(4.1rem, 7.4vw, 8.7rem);
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
}

.hero-intro {
  max-width: 660px;
  margin-bottom: 2.4rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.primary-action,
.secondary-action,
.submit-button,
.visual-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.primary-action {
  gap: 1rem;
  padding: 0.75rem 0.8rem 0.75rem 1.45rem;
  background: var(--surface-strong);
  color: var(--bg);
}

.primary-action i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-style: normal;
}

.secondary-action {
  padding: 0.75rem 1.2rem;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.42rem;
  text-decoration-thickness: 2px;
}

.primary-action:hover,
.submit-button:hover,
.visual-button:hover {
  transform: translateY(-2px);
}

.hero-side-note {
  position: absolute;
  right: -1.1rem;
  bottom: 2.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-side-note span {
  color: var(--text);
}

.hero-side-note p {
  margin: 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.08);
}

.hero-visual > div {
  min-height: 570px;
}

.visual-button {
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  background: var(--surface-strong);
  color: var(--bg);
  font-size: 0.78rem;
}

.visual-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.visual-control {
  display: grid;
  gap: 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.visual-control input[type='range'] {
  width: 100%;
  min-height: 44px;
  accent-color: var(--accent);
}

.journey {
  display: grid;
  grid-template-columns: minmax(180px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: 1.35rem;
  border-block: 1px solid var(--line);
}

.journey-label {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.journey li {
  min-height: 56px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.65rem;
  align-items: center;
  padding-inline: 1rem;
  border-left: 1px solid var(--line);
}

.journey li span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 800;
}

.journey li b {
  font-size: 0.82rem;
  line-height: 1.35;
}

.problem {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 8rem);
  padding-block: clamp(6rem, 10vw, 10rem);
}

.problem-statement {
  align-self: start;
}

.reader-question {
  max-width: 34ch;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
}

.problem h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 4.6vw, 5.3rem);
  letter-spacing: -0.06em;
}

.problem-statement > p:last-of-type,
.examples-heading > p:last-child {
  color: var(--muted);
}

.problem-outcome {
  margin-top: 2.2rem;
  padding: 1.3rem 1.4rem;
  border-left: 5px solid var(--accent);
  background: var(--surface);
}

.problem-outcome span,
.example-card-heading,
.example-card dt {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.problem-outcome span {
  color: var(--muted);
}

.problem-outcome p {
  margin: 0.45rem 0 0;
  font-weight: 750;
  line-height: 1.5;
}

.examples-panel {
  min-width: 0;
}

.examples-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  column-gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.examples-heading .section-label {
  grid-column: 1 / -1;
}

.examples-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.3rem);
  letter-spacing: -0.05em;
}

.examples-heading > p:last-child {
  margin: 0;
  font-size: 0.9rem;
}

.example-grid {
  display: grid;
  gap: 1rem;
}

.example-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(180px, 0.7fr) minmax(0, 1.5fr);
  gap: 1.2rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.example-card-heading {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--muted);
}

.example-card-heading p {
  margin: 0;
}

.example-number {
  min-width: 32px;
  min-height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
}

.example-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.6vw, 1.7rem);
  letter-spacing: -0.035em;
}

.example-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
}

.example-card dl > div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.example-card dt {
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.example-card dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* The example section inherits each product metaphor without changing its readable structure. */
.theme-agents .example-card:nth-child(2) { margin-left: 1.5rem; }
.theme-agents .example-card:nth-child(3) { margin-left: 3rem; }
.theme-spread .example-card { border-radius: 0; background-image: linear-gradient(90deg, rgba(115, 247, 220, 0.05) 1px, transparent 1px); background-size: 32px 100%; }
.theme-better .example-card { border-radius: 2rem; }
.theme-victor .example-card { border-width: 2px; border-radius: 0; }
.theme-victor .example-number { border-radius: 0; background: var(--accent); color: var(--accent-ink); }
.theme-water .example-card { border-radius: 3rem 1rem 3rem 1rem; background: rgba(255, 255, 255, 0.46); }
.theme-done .example-card { border: 3px solid var(--text); box-shadow: 6px 6px 0 var(--accent); }
.theme-blueprint .example-card { border: 2px dashed var(--line); background-image: linear-gradient(rgba(11, 45, 143, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 45, 143, 0.05) 1px, transparent 1px); background-size: 22px 22px; }
.theme-source .example-card { border-inline: 0; background: transparent; }
.theme-continuity .example-card { border-radius: 1.4rem; }
.theme-private .example-card { border-inline: 0; background: transparent; }
.theme-machine .example-card { border-radius: .35rem; background: #1b211e; }
.theme-strict .example-card { border: 2px solid var(--text); border-left: 10px solid var(--accent); border-radius: 0; }
.theme-brain .example-card { border-radius: 50% 1.4rem 1.4rem 1.4rem; }
.theme-sense .example-card { border-color: rgba(112, 240, 194, 0.3); border-radius: 1rem; background: rgba(12, 41, 36, 0.8); }

.idea {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding-block: clamp(6rem, 11vw, 11rem);
  border-top: 1px solid var(--line);
}

.idea h2,
.first-release h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5.2vw, 5.8rem);
  letter-spacing: -0.06em;
}

.idea-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.5rem;
}

.idea-body > p,
.release-copy > p,
.contact-copy > p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.3vw, 1.28rem);
}

.idea-body aside {
  position: relative;
  padding: 1.5rem 1.6rem 1.5rem 3rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.idea-body aside::before {
  position: absolute;
  top: 1.65rem;
  left: 1.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: '';
}

.idea-body aside span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.idea-body aside p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.feature-section {
  padding-bottom: clamp(6rem, 11vw, 11rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-card {
  min-height: 330px;
  padding: 2rem;
}

.feature-card + .feature-card {
  border-left: 1px solid var(--line);
}

.feature-index {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  margin-bottom: 4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  letter-spacing: -0.04em;
}

.feature-card p {
  max-width: 34ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.first-release {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr 1.2fr 0.75fr;
  gap: 3rem;
  align-items: end;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 6rem);
  border-radius: 2.4rem;
  background: var(--surface-strong);
  color: var(--bg);
}

.release-number {
  align-self: start;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.first-release .section-label,
.first-release .release-copy > p {
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}

.release-copy h2 {
  margin-bottom: 1.4rem;
  color: var(--bg);
}

.release-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-list li {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding-block: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--bg) 20%, transparent);
  font-size: 0.88rem;
  font-weight: 750;
}

.release-list i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 9vw, 10rem);
  padding-block: clamp(7rem, 12vw, 12rem);
}

.contact-copy h2 {
  margin-bottom: 1.8rem;
}

.contact-copy p {
  max-width: 50ch;
}

.contact-form {
  align-self: start;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background: var(--surface);
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--bg);
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  font-weight: 500;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--text);
}

.contact-form [aria-invalid='true'] {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.16);
}

.turnstile-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  margin-block: 0.6rem 1rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.submit-button {
  width: 100%;
  justify-content: space-between;
  padding: 0.9rem 1rem 0.9rem 1.3rem;
  background: var(--surface-strong);
  color: var(--bg);
}

.submit-button i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-style: normal;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 1.6em;
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
  font-weight: 750;
}

.form-status[data-state='error'] {
  color: #a11b12;
}

.form-status[data-state='success'] {
  color: #176b3a;
}

.form-privacy {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.2fr) auto;
  gap: 3rem;
  align-items: start;
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer .wordmark {
  color: var(--text);
  font-size: 0.85rem;
}

.site-footer .wordmark i {
  width: 16px;
  height: 16px;
  border-width: 4px;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding-block: 4rem;
}

.not-found h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.07em;
}

.not-found > p:not(.eyebrow) {
  max-width: 48ch;
  margin-bottom: 2rem;
  color: var(--muted);
}

/* 01 — AgentsUse: editorial orbit */
.theme-agents {
  --bg: #f2f1e9;
  --text: #171717;
  --muted: #56554e;
  --accent: #dfff31;
  --accent-ink: #171717;
  --surface: #fbfaf3;
  --surface-strong: #171717;
  --line: rgba(23, 23, 23, 0.22);
  --display: 'Arial Black', Arial, sans-serif;
}

.theme-agents .hero h1 span:last-child {
  width: fit-content;
  padding-inline: 0.08em;
  background: var(--accent);
  transform: rotate(-1.5deg);
}

.agent-orbit {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-strong);
  color: var(--bg);
}

.orbit-ring {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.orbit-ring-two {
  width: 41%;
  border-style: dashed;
}

.orbit-centre {
  position: relative;
  z-index: 2;
  width: 158px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
}

.orbit-centre span {
  font-size: 0.8rem;
  font-weight: 850;
}

.orbit-centre b {
  font-size: 2.7rem;
  line-height: 1;
}

.orbit-node {
  position: absolute;
  z-index: 3;
  min-width: 104px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: #252525;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.orbit-node-1 { top: 11%; left: 39%; }
.orbit-node-2 { top: 31%; right: 7%; }
.orbit-node-3 { right: 17%; bottom: 13%; }
.orbit-node-4 { bottom: 14%; left: 15%; }
.orbit-node-5 { top: 31%; left: 5%; }
.agent-orbit .visual-caption { position: absolute; bottom: 1.5rem; color: #bebeb5; }

/* 02 — AI Bid Ask: dark market split */
.theme-spread {
  --bg: #071113;
  --text: #ecfff9;
  --muted: #9bb8b1;
  --accent: #73f7dc;
  --accent-ink: #071113;
  --surface: #0b181b;
  --surface-strong: #e9fff8;
  --line: rgba(215, 255, 244, 0.22);
  --display: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --body: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.theme-spread .hero h1 {
  font-size: clamp(3.6rem, 6.5vw, 7.7rem);
  letter-spacing: -0.065em;
}

.theme-spread .hero h1 span:last-child { color: var(--accent); }
.theme-spread .hero-visual { border-radius: 0; box-shadow: 0 0 100px rgba(115, 247, 220, 0.08); }
.theme-spread .wordmark i { border-radius: 2px; transform: rotate(45deg); }
.theme-spread .first-release { color: var(--bg); background: #dffff5; }
.theme-spread .first-release h2 { color: var(--bg); }
.theme-spread .first-release .section-label,
.theme-spread .first-release .release-copy > p { color: #35504a; }
.theme-spread .release-list li { border-color: rgba(7, 17, 19, 0.18); }

.order-book {
  display: flex;
  flex-direction: column;
  padding: 2.1rem;
  background: #071113;
  color: #ecfff9;
}

.book-head,
.order-book .ask-book > div,
.order-book .bid-book > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(215, 255, 244, 0.12);
  font-size: 0.78rem;
}

.book-head { color: #789a92; text-transform: uppercase; }
.order-book b { text-align: right; }
.ask-book b { color: #ff908c; }
.bid-book b { color: var(--accent); }
.ask-book > div { background: linear-gradient(90deg, transparent 55%, rgba(255, 91, 84, 0.1)); }
.bid-book > div { background: linear-gradient(90deg, transparent 45%, rgba(115, 247, 220, 0.1)); }

.spread-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block: 0.7rem;
  padding: 1rem 0.8rem;
  border-block: 1px dashed rgba(215, 255, 244, 0.32);
  color: #9bb8b1;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.spread-readout strong { color: #ecfff9; font-size: 1.7rem; }
.order-book .visual-control { margin-top: auto; padding-top: 2rem; color: #9bb8b1; }

/* 03 — AlgoBetter: warm editorial race */
.theme-better {
  --bg: #fff3e8;
  --text: #281410;
  --muted: #6d5149;
  --accent: #ff5f48;
  --accent-ink: #281410;
  --surface: #fffaf5;
  --surface-strong: #281410;
  --line: rgba(40, 20, 16, 0.22);
  --display: Georgia, 'Times New Roman', serif;
}

.theme-better .wordmark span,
.theme-better .primary-action,
.theme-better .section-label,
.theme-better .eyebrow { font-family: Arial, sans-serif; }
.theme-better .hero h1 span:last-child { color: var(--accent); font-style: italic; }
.theme-better .hero-visual { border-radius: 50% 50% 1.5rem 1.5rem; }

.algo-race {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 3rem;
  overflow: hidden;
}

.race-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(var(--text) 1px, transparent 1px), linear-gradient(90deg, var(--text) 1px, transparent 1px);
  background-size: 36px 36px;
}

.race-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 115px 1fr 70px;
  gap: 1rem;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.race-row b { text-align: right; }
.race-track { position: relative; height: 12px; border-bottom: 2px solid var(--text); }
.runner { position: absolute; left: 0; bottom: -6px; width: 22px; height: 22px; border: 4px solid var(--text); border-radius: 50%; background: var(--accent); }
.runner-b { background: #ffd55a; }
.algo-race .visual-button { position: relative; z-index: 2; align-self: flex-start; margin-top: 1.5rem; }
.algo-race .visual-caption { position: relative; z-index: 2; }
.algo-race.is-running .runner-a { animation: race-fast 1.2s ease-out forwards; }
.algo-race.is-running .runner-b { animation: race-slow 1.8s ease-out forwards; }

/* 04 — AlgoVictor: electric competition board */
.theme-victor {
  --bg: #171204;
  --text: #fff7d6;
  --muted: #c5b87c;
  --accent: #ffd43b;
  --accent-ink: #171204;
  --surface: #211b09;
  --surface-strong: #ffd43b;
  --line: rgba(255, 247, 214, 0.25);
  --display: 'Arial Black', Impact, sans-serif;
}

.theme-victor .hero h1 { text-transform: uppercase; }
.theme-victor .hero h1 span:last-child { color: var(--accent); }
.theme-victor .hero-visual,
.theme-victor .first-release,
.theme-victor .contact-form { border-radius: 0; }
.theme-victor .first-release { color: var(--bg); }
.theme-victor .first-release h2 { color: var(--bg); }
.theme-victor .first-release .section-label,
.theme-victor .first-release .release-copy > p { color: #5a4810; }
.theme-victor .release-list li { border-color: rgba(23, 18, 4, 0.2); }

.challenge-bracket {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  background-image: radial-gradient(rgba(255, 212, 59, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
}

.bracket-label { display: flex; justify-content: space-between; border-bottom: 4px solid var(--accent); padding-bottom: 1rem; font-size: 0.72rem; }
.bracket-label b { color: var(--accent); text-transform: uppercase; }
.bracket-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 5rem; margin-block: 3rem; }
.bracket-entry,
.bracket-final { display: flex; align-items: center; gap: 0.8rem; min-height: 62px; border: 2px solid var(--line); padding: 0.8rem; background: #171204; font-size: 0.75rem; }
.bracket-entry span,
.bracket-final span { color: var(--accent); }
.bracket-final { position: absolute; width: 48%; left: 26%; top: calc(50% - 31px); border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.bracket-final span { color: var(--accent-ink); }
.challenge-bracket .visual-button { margin-top: auto; background: var(--accent); color: var(--accent-ink); }

/* 05 — BeWater AI: responsive fluid field */
.theme-water {
  --bg: #eef5ff;
  --text: #071a5c;
  --muted: #445989;
  --accent: #0b4cff;
  --accent-ink: #ffffff;
  --surface: #dfeeff;
  --surface-strong: #071a5c;
  --line: rgba(7, 26, 92, 0.2);
  --display: 'Trebuchet MS', Arial, sans-serif;
}

.theme-water .hero h1 { letter-spacing: -0.07em; }
.theme-water .hero h1 span:last-child { color: var(--accent); }
.theme-water .wordmark i { border-radius: 60% 40% 55% 45%; }
.theme-water .hero-visual { border: 0; border-radius: 52% 48% 46% 54% / 45% 58% 42% 55%; box-shadow: 0 30px 100px rgba(11, 76, 255, 0.18); }
.theme-water .first-release { border-radius: 5rem 1.5rem 5rem 1.5rem; }

.water-field {
  position: relative;
  overflow: hidden;
  background: #0b4cff;
  color: #ffffff;
}

.water-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.water-purpose { position: absolute; z-index: 2; left: 50%; top: 50%; width: 148px; aspect-ratio: 1; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; transform: translate(-50%, -50%); background: rgba(7,26,92,.72); text-align: center; backdrop-filter: blur(8px); }
.water-purpose span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.water-purpose b { font-size: 1.35rem; }
.water-node { position: absolute; z-index: 2; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(7,26,92,.55); font-size: .7rem; font-weight: 800; backdrop-filter: blur(7px); }
.water-node-1 { top: 12%; left: 16%; }
.water-node-2 { top: 20%; right: 12%; }
.water-node-3 { right: 18%; bottom: 15%; }
.water-node-4 { left: 12%; bottom: 20%; }
.water-field .visual-caption { position: absolute; z-index: 2; bottom: 1.5rem; left: 50%; width: 80%; transform: translateX(-50%); color: rgba(255,255,255,.78); text-align: center; }

/* 06 — BotItDone: bold production line */
.theme-done {
  --bg: #f1eee4;
  --text: #141414;
  --muted: #555148;
  --accent: #ffcd1f;
  --accent-ink: #141414;
  --surface: #fffdf7;
  --surface-strong: #141414;
  --line: rgba(20, 20, 20, 0.23);
  --display: 'Arial Black', Arial, sans-serif;
}

.theme-done .hero h1 span:last-child { color: #d24a2f; }
.theme-done .hero-visual { border: 8px solid var(--text); border-radius: 0.5rem; transform: rotate(1.2deg); }
.theme-done .idea-body aside { box-shadow: 8px 8px 0 var(--accent); }

.task-line { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 2rem; overflow: hidden; background: var(--accent); color: var(--text); }
.line-counter { position: absolute; top: 1.5rem; right: 1.5rem; display: grid; width: 90px; aspect-ratio: 1; place-content: center; border: 4px solid var(--text); background: #fff8d8; text-align: center; transform: rotate(3deg); }
.line-counter span { font-size: .6rem; font-weight: 900; }
.line-counter strong { font-size: 2.3rem; line-height: 1; }
.line-track { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-block: 5px solid var(--text); }
.line-stage { min-height: 92px; display: grid; place-content: center; border-right: 2px solid var(--text); font-size: .7rem; text-align: center; }
.line-stage:last-child { border-right: 0; }
.line-stage span { font-size: .58rem; }
.task-ticket { width: 145px; margin: 1.3rem 0 2rem; padding: .8rem; border: 3px solid var(--text); background: #fffdf7; box-shadow: 6px 6px 0 #d24a2f; font-size: .65rem; transform: translateX(0); }
.task-ticket b { display: block; margin-top: .25rem; }
.task-line .visual-button { align-self: flex-start; }
.task-line.is-moving .task-ticket { animation: task-through 1.45s ease-in-out; }

/* 07 — BotTheTask: technical blueprint */
.theme-blueprint {
  --bg: #f4f0dc;
  --text: #0b2d8f;
  --muted: #4c609d;
  --accent: #ff6b43;
  --accent-ink: #0b2d8f;
  --surface: #fbf8e9;
  --surface-strong: #0b2d8f;
  --line: rgba(11, 45, 143, 0.28);
  --display: Rockwell, 'Courier New', monospace;
}

.theme-blueprint .hero h1 { font-size: clamp(3.6rem, 6.4vw, 7.5rem); }
.theme-blueprint .hero h1 span:last-child { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .12em; text-underline-offset: .12em; }
.theme-blueprint .hero-visual { border: 3px solid var(--text); border-radius: 0; box-shadow: 12px 12px 0 rgba(11,45,143,.15); }

.recipe-stack { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 3rem; background-color: #0b2d8f; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; color: #f4f0dc; }
.recipe-tab { position: absolute; top: 1.4rem; right: 1.4rem; padding: .55rem .7rem; border: 1px solid rgba(255,255,255,.55); font-size: .62rem; font-weight: 900; }
.recipe-step { display: grid; grid-template-columns: 42px 1fr 32px; align-items: center; min-height: 68px; margin-bottom: .7rem; border: 1px solid rgba(255,255,255,.45); padding: .7rem .9rem; background: rgba(255,255,255,.05); font-size: .76rem; transform: translateX(calc((var(--step, 1) - 1) * 5px)); }
.recipe-step span { color: #84a4ff; }
.recipe-step i { width: 18px; height: 18px; border: 2px solid #84a4ff; border-radius: 50%; }
.recipe-step.is-checked i { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px #0b2d8f; }
.recipe-stack .visual-button { align-self: flex-start; margin-top: 1rem; background: var(--accent); color: #0b2d8f; }
.recipe-stack .visual-caption { margin-top: .8rem; color: #b7c8ff; }

/* 08 — DataSmart Invest: source lens */
.theme-source {
  --bg: #f3f1e7;
  --text: #0c2a1c;
  --muted: #51655b;
  --accent: #bde957;
  --accent-ink: #0c2a1c;
  --surface: #faf9f2;
  --surface-strong: #0c2a1c;
  --line: rgba(12, 42, 28, 0.22);
  --display: Georgia, 'Times New Roman', serif;
}

.theme-source .hero h1 span:last-child { font-style: italic; color: #1d6846; }
.theme-source .hero-visual { border-radius: 50%; aspect-ratio: 1; min-height: 0; }
.theme-source .hero-visual > div { min-height: 100%; }

.source-lens { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 4rem; overflow: hidden; }
.reported-number { position: relative; z-index: 3; display: grid; width: 190px; aspect-ratio: 1; place-content: center; margin: 0 auto 1.5rem; border: 1px solid var(--line); border-radius: 50%; background: rgba(189,233,87,.22); text-align: center; }
.reported-number span { font-family: Arial,sans-serif; font-size: .65rem; text-transform: uppercase; }
.reported-number strong { font-size: 2.4rem; line-height: 1; }
.source-layers { position: relative; z-index: 2; }
.source-layer { display: flex; justify-content: space-between; padding: .7rem 1rem; border-top: 1px solid var(--line); font-family: Arial,sans-serif; font-size: .7rem; transition: transform .25s, background .25s; }
.source-layer.is-active { background: var(--accent); transform: scale(1.04); }
.source-lens .visual-button { align-self: center; margin-top: 1.4rem; }
.source-lens .visual-caption { margin-top: .8rem; text-align: center; }

/* 09 — Digital Assets Kit: quiet continuity cards */
.theme-continuity {
  --bg: #fbf1ed;
  --text: #4a2243;
  --muted: #785b72;
  --accent: #f6a886;
  --accent-ink: #4a2243;
  --surface: #fffaf7;
  --surface-strong: #4a2243;
  --line: rgba(74, 34, 67, 0.2);
  --display: Georgia, 'Times New Roman', serif;
}

.theme-continuity .hero h1 { font-size: clamp(3.4rem, 6.6vw, 7.7rem); }
.theme-continuity .hero h1 span:last-child { color: #a34872; }
.theme-continuity .hero-visual { border-radius: 48% 48% 1.5rem 1.5rem; }

.continuity-vault { position: relative; padding: 2.4rem; background: linear-gradient(150deg, #fffaf7, #f7dfd7); }
.vault-ring { position: absolute; top: 50%; left: 50%; z-index: 1; width: 210px; aspect-ratio: 1; display: grid; place-content: center; border: 1px dashed var(--line); border-radius: 50%; transform: translate(-50%,-50%); text-align: center; }
.vault-ring span { font-size: .65rem; text-transform: uppercase; }
.vault-ring b { font-size: 1.4rem; }
.vault-cards { position: relative; z-index: 2; height: 450px; }
.vault-card { position: absolute; width: 190px; min-height: 126px; display: grid; grid-template-columns: 35px 1fr; gap: .5rem; align-content: center; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,250,247,.94); padding: 1rem; color: var(--text); text-align: left; box-shadow: 0 18px 35px rgba(74,34,67,.1); transition: transform .25s; }
.vault-card span { color: #a34872; font-size: .66rem; }
.vault-card b { font-family: var(--display); font-size: 1.1rem; }
.vault-card i { grid-column: 2; color: var(--muted); font-size: .65rem; font-style: normal; }
.vault-card:hover,
.vault-card:focus-visible { transform: translateY(-6px) rotate(0); }
.vault-card.card-1 { top: 8%; left: 4%; transform: rotate(-5deg); }
.vault-card.card-2 { top: 4%; right: 2%; transform: rotate(4deg); }
.vault-card.card-3 { bottom: 4%; left: 7%; transform: rotate(3deg); }
.vault-card.card-4 { right: 5%; bottom: 7%; transform: rotate(-4deg); }
.continuity-vault .visual-caption { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); width: 90%; text-align: center; }

/* 10 — List Privately: controlled reveal */
.theme-private {
  --bg: #f4e9dc;
  --text: #4d1727;
  --muted: #77525e;
  --accent: #cf805e;
  --accent-ink: #4d1727;
  --surface: #fbf4eb;
  --surface-strong: #4d1727;
  --line: rgba(77, 23, 39, 0.22);
  --display: Didot, 'Bodoni 72', Georgia, serif;
}

.theme-private .hero h1 { font-size: clamp(3.4rem, 6.2vw, 7.2rem); letter-spacing: -.055em; }
.theme-private .hero h1 span:last-child { font-style: italic; }
.theme-private .hero-visual { border-radius: 50% 50% 0 0; }

.privacy-aperture { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.4rem; overflow: hidden; background: #d7b99f; }
.property-outline { position: absolute; inset: 12% 11% 24%; display: grid; place-content: end center; border: 2px solid rgba(77,23,39,.42); background: linear-gradient(155deg, transparent 48%, rgba(77,23,39,.12) 49%); }
.property-outline::before { position: absolute; top: -20%; left: 8%; width: 84%; height: 45%; border-left: 2px solid rgba(77,23,39,.42); border-top: 2px solid rgba(77,23,39,.42); transform: rotate(30deg) skewX(-28deg); content: ''; }
.property-outline i { width: 60px; height: 95px; border: 2px solid rgba(77,23,39,.42); border-bottom: 0; }
.property-outline span { margin-bottom: 1rem; font-size: .65rem; text-transform: uppercase; }
.aperture-mask { position: absolute; inset: 0; background: radial-gradient(circle at 50% 43%, transparent 0 25%, rgba(77,23,39,.92) 25.5% 100%); transition: background .3s; }
.privacy-aperture[data-level='0'] .aperture-mask { background: radial-gradient(circle at 50% 43%, transparent 0 12%, rgba(77,23,39,.96) 12.5% 100%); }
.privacy-aperture[data-level='2'] .aperture-mask { background: radial-gradient(circle at 50% 43%, transparent 0 48%, rgba(77,23,39,.75) 49% 100%); }
.visibility-label,
.privacy-aperture .visual-control,
.visibility-scale { position: relative; z-index: 2; color: #fff7ef; }
.visibility-label { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1rem; }
.visibility-label span { font-size: .68rem; text-transform: uppercase; }
.visibility-label b { font-family: var(--display); font-size: 1.8rem; }
.visibility-scale { display: flex; justify-content: space-between; font-size: .6rem; }

/* 11 — Machine Invest: industrial stack */
.theme-machine {
  --bg: #151a17;
  --text: #f2f6e9;
  --muted: #a8b2a5;
  --accent: #b8ff35;
  --accent-ink: #151a17;
  --surface: #202722;
  --surface-strong: #b8ff35;
  --line: rgba(242, 246, 233, 0.22);
  --display: 'Arial Black', Arial, sans-serif;
}

.theme-machine .hero h1 { font-size: clamp(3.6rem, 6.5vw, 7.7rem); text-transform: uppercase; }
.theme-machine .hero h1 span:last-child { color: var(--accent); }
.theme-machine .hero-visual,
.theme-machine .first-release,
.theme-machine .contact-form { border-radius: .35rem; }
.theme-machine .first-release { color: var(--bg); }
.theme-machine .first-release h2 { color: var(--bg); }
.theme-machine .first-release .section-label,
.theme-machine .first-release .release-copy > p { color: #445024; }
.theme-machine .release-list li { border-color: rgba(21,26,23,.2); }

.machine-stack { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: center; padding: 2.6rem; background-image: linear-gradient(rgba(184,255,53,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(184,255,53,.06) 1px, transparent 1px); background-size: 32px 32px; }
.stack-arm { position: relative; height: 320px; }
.stack-arm i { position: absolute; display: block; height: 28px; border: 6px solid var(--accent); background: #202722; transform-origin: left center; }
.stack-arm i:nth-child(1) { width: 125px; left: 12%; bottom: 24%; transform: rotate(-55deg); }
.stack-arm i:nth-child(2) { width: 110px; left: 35%; top: 34%; transform: rotate(28deg); }
.stack-arm i:nth-child(3) { width: 70px; right: 5%; top: 49%; transform: rotate(-32deg); }
.stack-layers { display: grid; gap: .8rem; }
.machine-layer { min-height: 70px; display: grid; grid-template-columns: 44px 1fr; align-items: center; border: 1px solid var(--line); background: #202722; color: var(--text); padding: .8rem 1rem; text-align: left; transition: transform .2s, color .2s, background .2s; }
.machine-layer span { color: var(--accent); font-size: .65rem; }
.machine-layer:hover,
.machine-layer:focus-visible { transform: translateX(-8px); background: var(--accent); color: var(--accent-ink); }
.machine-layer:hover span,
.machine-layer:focus-visible span { color: var(--accent-ink); }
.machine-stack .visual-caption { position: absolute; bottom: 1rem; right: 2.6rem; color: #a8b2a5; }

/* 12 — StrictAI: hard-edged control scanner */
.theme-strict {
  --bg: #efeee8;
  --text: #111111;
  --muted: #585753;
  --accent: #ef3f32;
  --accent-ink: #111111;
  --surface: #f8f7f2;
  --surface-strong: #111111;
  --line: rgba(17, 17, 17, 0.28);
  --display: Helvetica, Arial, sans-serif;
}

.theme-strict .hero h1 { font-weight: 950; letter-spacing: -.08em; }
.theme-strict .hero h1 span:last-child { color: var(--accent); }
.theme-strict .hero-visual,
.theme-strict .first-release,
.theme-strict .contact-form,
.theme-strict .idea-body aside { border-radius: 0; }
.theme-strict .wordmark i { border-radius: 0; }

.control-scan { position: relative; display: flex; flex-direction: column; padding: 2.5rem; background: #111; color: #f4f3ed; }
.scan-frame { position: relative; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; border: 2px solid #f4f3ed; padding: 1rem; overflow: hidden; font-size: .68rem; }
.scan-frame b { align-self: flex-end; color: #ef3f32; font-size: 1.5rem; }
.scan-frame i { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.control-scan.is-scanning .scan-frame i { animation: scan-line 1.2s ease-in-out; }
.scan-checks { display: grid; grid-template-columns: 1fr 1fr; margin-block: 1.2rem; border: 1px solid rgba(244,243,237,.3); }
.scan-check { display: grid; grid-template-columns: 30px 1fr; gap: .4rem; min-height: 74px; align-content: center; padding: .7rem; border: 1px solid rgba(244,243,237,.18); font-size: .66rem; }
.scan-check span { color: #ef3f32; }
.scan-check i { grid-column: 2; color: #aaa79e; font-style: normal; }
.scan-check.is-checked i { color: #80e5a3; }
.control-scan .visual-button { margin-top: auto; background: var(--accent); color: #111; border-radius: 0; }

/* 13 — Trade With Brain: calm signal practice */
.theme-brain {
  --bg: #f1efff;
  --text: #17152f;
  --muted: #625e80;
  --accent: #8b7cff;
  --accent-ink: #17152f;
  --surface: #faf9ff;
  --surface-strong: #17152f;
  --line: rgba(23, 21, 47, 0.2);
  --display: Georgia, 'Times New Roman', serif;
}

.theme-brain .hero h1 span:last-child { color: #6a58da; font-style: italic; }
.theme-brain .hero-visual { border-radius: 50% 1.7rem 50% 1.7rem; }

.decision-signal { display: flex; flex-direction: column; justify-content: center; padding: 3rem; background: #17152f; color: #f1efff; }
.signal-head { display: flex; justify-content: space-between; margin-bottom: 3rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(241,239,255,.25); font-size: .65rem; text-transform: uppercase; }
.signal-head b { color: #ff9a7e; }
.signal-row { display: grid; grid-template-columns: 85px 1fr; gap: 1rem; align-items: center; margin-bottom: 1.5rem; font-size: .72rem; font-weight: 800; }
.signal-row i { position: relative; height: 70px; overflow: hidden; border-block: 1px solid rgba(241,239,255,.15); }
.signal-row i::after { position: absolute; inset: 0; background-repeat: no-repeat; background-position: center; background-size: 100% 70px; content: ''; }
.signal-row.impulse i::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 80'%3E%3Cpath d='M0 42h50l18-26 24 54 26-45 20 17h58l24-30 22 56 32-46 21 20h205' fill='none' stroke='%23ff9a7e' stroke-width='5'/%3E%3C/svg%3E"); }
.signal-row.plan i::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 80'%3E%3Cpath d='M0 44h90l18-12 35 18 42-12 35 6h280' fill='none' stroke='%238b7cff' stroke-width='5'/%3E%3C/svg%3E"); }
.pause-count { display: flex; justify-content: space-between; align-items: end; margin: 1rem 0; }
.pause-count span { font-size: .7rem; text-transform: uppercase; }
.pause-count strong { color: var(--accent); font-size: 3rem; line-height: 1; }
.decision-signal .visual-button { align-self: flex-start; background: var(--accent); color: #17152f; }

/* 14 — TradingSense: reflective pattern grid */
.theme-sense {
  --bg: #071c19;
  --text: #effff8;
  --muted: #9bc3b7;
  --accent: #70f0c2;
  --accent-ink: #071c19;
  --surface: #0c2924;
  --surface-strong: #effff8;
  --line: rgba(239, 255, 248, 0.22);
  --display: 'Trebuchet MS', Arial, sans-serif;
}

.theme-sense .hero h1 span:last-child { color: var(--accent); }
.theme-sense .hero-visual { border-radius: 1.5rem 1.5rem 50% 50%; box-shadow: 0 30px 100px rgba(112,240,194,.09); }
.theme-sense .first-release { color: var(--bg); }
.theme-sense .first-release h2 { color: var(--bg); }
.theme-sense .first-release .section-label,
.theme-sense .first-release .release-copy > p { color: #49675f; }
.theme-sense .release-list li { border-color: rgba(7,28,25,.18); }
.theme-sense .form-status[data-state='success'] { color: #70f0c2; }

.pattern-mirror { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 3rem; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(112,240,194,.12), transparent 45%), #071c19; color: #effff8; }
.mirror-axis { position: absolute; top: 2rem; left: 50%; bottom: 2rem; display: flex; flex-direction: column; justify-content: space-between; align-items: center; width: 1px; background: rgba(112,240,194,.5); font-size: .6rem; text-transform: uppercase; }
.mirror-axis span,
.mirror-axis b { padding: .3rem; background: #071c19; writing-mode: vertical-rl; }
.pattern-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; }
.pattern-stage { min-height: 90px; display: grid; grid-template-columns: 34px 1fr; align-content: center; border: 1px solid rgba(239,255,248,.25); border-radius: .7rem; background: rgba(12,41,36,.8); color: #effff8; padding: 1rem; text-align: left; transition: transform .2s, border .2s; }
.pattern-stage:nth-child(even) { text-align: right; grid-template-columns: 1fr 34px; }
.pattern-stage:nth-child(even) span { grid-column: 2; grid-row: 1; }
.pattern-stage:nth-child(even) b { grid-column: 1; grid-row: 1; }
.pattern-stage span { color: var(--accent); font-size: .65rem; }
.pattern-stage i { grid-column: 1 / -1; height: 3px; margin-top: .6rem; background: linear-gradient(90deg, var(--accent), transparent); }
.pattern-stage:hover,
.pattern-stage:focus-visible { transform: scale(1.03); border-color: var(--accent); }
.pattern-readout { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(239,255,248,.22); font-size: .7rem; }
.pattern-readout strong { color: var(--accent); text-align: right; }

/* Product-fit UX archetypes: each site keeps the accessible foundation but uses a distinct journey rhythm. */
.ux-field-guide .journey {
  padding-inline: 1.4rem;
  border: 0;
  background: #171717;
  color: #f2f1e9;
}
.ux-field-guide .journey-label,
.ux-field-guide .journey li span { color: #d8ef45; }
.ux-field-guide .journey li { border-color: rgba(242, 241, 233, 0.2); }
.theme-agents .feature-grid { gap: 1rem; border: 0; }
.theme-agents .feature-card { border: 1px solid var(--line); background: var(--surface); }
.theme-agents .feature-card + .feature-card { border-left: 1px solid var(--line); }
.theme-agents .feature-card:nth-child(2) { transform: translateY(2rem); }

.ux-market-terminal .journey {
  border: 1px solid var(--line);
  background-image: linear-gradient(90deg, rgba(115, 247, 220, 0.04) 1px, transparent 1px);
  background-size: 42px 100%;
  padding-inline: 1.4rem;
}
.ux-market-terminal .journey li b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 650; }
.ux-market-terminal .journey li span { color: var(--accent); }
.theme-spread .feature-grid { gap: 1px; border: 1px solid var(--line); background: var(--line); }
.theme-spread .feature-card { background: var(--bg); }
.theme-spread .feature-card + .feature-card { border-left: 0; }

.ux-benchmark-editorial .journey { border: 0; }
.ux-benchmark-editorial .journey ol { gap: 0.7rem; }
.ux-benchmark-editorial .journey li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}
.ux-benchmark-editorial .journey li span { color: #e75b4c; }
.theme-better .hero { grid-template-columns: minmax(380px, 0.88fr) minmax(0, 1.12fr); }
.theme-better .hero-visual { grid-column: 1; grid-row: 1; }
.theme-better .hero-copy { grid-column: 2; grid-row: 1; padding-left: clamp(1rem, 3vw, 3rem); }
.theme-better .hero h1 { font-size: clamp(3.5rem, 5.5vw, 6.8rem); }
.theme-better .feature-grid { gap: 1rem; border: 0; }
.theme-better .feature-card { border: 1px solid var(--line); border-radius: 2rem; background: var(--surface); }
.theme-better .feature-card + .feature-card { border-left: 1px solid var(--line); }

.ux-tournament-arena .journey {
  padding-inline: 1.4rem;
  border: 3px solid var(--accent);
  background: rgba(255, 212, 59, 0.07);
}
.ux-tournament-arena .journey-label,
.ux-tournament-arena .journey li span { color: var(--accent); }
.ux-tournament-arena .journey li b { text-transform: uppercase; }
.theme-victor .feature-grid { gap: 1rem; border: 0; }
.theme-victor .feature-card { border: 2px solid var(--line); }
.theme-victor .feature-card + .feature-card { border-left: 2px solid var(--line); }
.theme-victor .feature-card:hover { border-color: var(--accent); }

.ux-adaptive-system .journey {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  background: rgba(11, 76, 255, 0.08);
}
.ux-adaptive-system .journey ol { gap: 0.5rem; }
.ux-adaptive-system .journey li { border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.56); }
.ux-adaptive-system .journey li span { color: var(--accent); }
.theme-water .feature-grid { gap: 1rem; border: 0; }
.theme-water .feature-card { border: 1px solid var(--line); border-radius: 3rem 1rem 3rem 1rem; background: rgba(255, 255, 255, 0.4); }
.theme-water .feature-card + .feature-card { border-left: 1px solid var(--line); }

.ux-service-workshop .journey {
  padding-inline: 1.2rem;
  border: 4px solid var(--text);
  background: var(--accent);
  box-shadow: 8px 8px 0 #d24a2f;
}
.ux-service-workshop .journey-label,
.ux-service-workshop .journey li span { color: var(--text); }
.ux-service-workshop .journey li { border-color: var(--text); }
.theme-done .feature-grid { border: 5px solid var(--text); background: var(--surface); }
.theme-done .feature-card + .feature-card { border-left: 3px solid var(--text); }
.theme-done .feature-index { border: 3px solid var(--text); border-radius: 0; background: var(--accent); color: var(--text); }

.ux-recipe-blueprint .journey {
  padding-inline: 1.3rem;
  border: 2px solid var(--text);
  background-image: linear-gradient(rgba(11, 45, 143, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 45, 143, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ux-recipe-blueprint .journey li { border-left-style: dashed; }
.ux-recipe-blueprint .journey li span { color: var(--accent); }
.theme-blueprint .feature-grid { gap: 1rem; border: 0; }
.theme-blueprint .feature-card { border: 2px dashed var(--line); background: var(--surface); }
.theme-blueprint .feature-card + .feature-card { border-left: 2px dashed var(--line); }
.theme-blueprint .feature-index { border-radius: 0; border: 2px solid var(--text); color: var(--text); }

.ux-research-journal .journey { border-color: var(--text); }
.ux-research-journal .journey-label { font-family: Georgia, serif; font-size: 0.82rem; letter-spacing: 0; text-transform: none; }
.ux-research-journal .journey li span { color: #1d6846; }
.theme-source .feature-grid { grid-template-columns: 1fr; }
.theme-source .feature-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 90px minmax(220px, 0.72fr) 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-block: 2.4rem;
}
.theme-source .feature-card + .feature-card { border-top: 1px solid var(--line); border-left: 0; }
.theme-source .feature-index { margin: 0; }
.theme-source .feature-card p { max-width: 52ch; }

.ux-continuity-planner .journey { border: 0; }
.ux-continuity-planner .journey ol { gap: 0.8rem; }
.ux-continuity-planner .journey li { border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.ux-continuity-planner .journey li span { color: #a34872; }
.theme-continuity .feature-grid { grid-template-columns: 1.2fr 0.8fr; gap: 1rem; border: 0; }
.theme-continuity .feature-card { border: 1px solid var(--line); border-radius: 1.4rem; background: var(--surface); }
.theme-continuity .feature-card + .feature-card { border-left: 1px solid var(--line); }
.theme-continuity .feature-card:first-child { grid-row: span 2; min-height: 100%; }
.theme-continuity .feature-card:not(:first-child) { min-height: 0; }
.theme-continuity .feature-card:not(:first-child) .feature-index { margin-bottom: 1.5rem; }

.ux-private-concierge .journey { border-block-color: rgba(77, 23, 39, 0.45); }
.ux-private-concierge .journey-label { font-family: var(--display); font-size: 0.92rem; font-style: italic; letter-spacing: 0; text-transform: none; }
.ux-private-concierge .journey li span { color: #9a513f; }
.theme-private .hero { grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr); }
.theme-private .hero-visual { grid-column: 1; grid-row: 1; }
.theme-private .hero-copy { grid-column: 2; grid-row: 1; padding-left: clamp(1rem, 4vw, 4rem); }
.theme-private .hero h1 { font-size: clamp(3.2rem, 5.2vw, 6.4rem); }
.theme-private .feature-grid { border-top-color: rgba(77, 23, 39, 0.45); border-bottom-color: rgba(77, 23, 39, 0.45); }
.theme-private .feature-card { padding-inline: 2.8rem; }
.theme-private .feature-index { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }

.ux-industrial-map .journey {
  padding-inline: 1.4rem;
  border: 1px solid var(--line);
  background-image: linear-gradient(rgba(184, 255, 75, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(184, 255, 75, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.ux-industrial-map .journey-label,
.ux-industrial-map .journey li span { color: var(--accent); }
.theme-machine .feature-grid { gap: 0.8rem; border: 0; }
.theme-machine .feature-card { border: 1px solid var(--line); border-radius: 0.35rem; background: #1b211e; }
.theme-machine .feature-card + .feature-card { border-left: 1px solid var(--line); }
.theme-machine .feature-index { border-radius: 0.2rem; color: var(--accent); }

.ux-governance-console .journey {
  padding-inline: 1.2rem;
  border: 2px solid var(--text);
  border-left: 12px solid var(--accent);
  background: var(--surface);
}
.ux-governance-console .journey-label,
.ux-governance-console .journey li span { color: var(--accent); }
.theme-strict .feature-grid { border: 2px solid var(--text); }
.theme-strict .feature-card + .feature-card { border-left: 2px solid var(--text); }
.theme-strict .feature-index { border-radius: 0; border-color: var(--accent); color: var(--accent); }
.theme-strict .idea-body aside { border-left: 10px solid var(--accent); background: #111; color: #f8f7f2; }
.theme-strict .idea-body aside span { color: #d5d2c9; }

.ux-behavior-coach .journey { border: 0; }
.ux-behavior-coach .journey ol { gap: 0.8rem; }
.ux-behavior-coach .journey li { border: 0; border-radius: 1.2rem; background: rgba(139, 124, 255, 0.1); }
.ux-behavior-coach .journey li span { color: #6a58da; }
.theme-brain .feature-grid { gap: 1rem; border: 0; }
.theme-brain .feature-card { border: 1px solid var(--line); border-radius: 50% 1.4rem 1.4rem 1.4rem; background: var(--surface); }
.theme-brain .feature-card + .feature-card { border-left: 1px solid var(--line); }
.theme-brain .contact-copy { grid-column: 2; grid-row: 1; }
.theme-brain .contact-form { grid-column: 1; grid-row: 1; }

.ux-review-journal .journey { border-color: rgba(112, 240, 194, 0.42); }
.ux-review-journal .journey-label,
.ux-review-journal .journey li span { color: var(--accent); }
.ux-review-journal .journey li { border-color: rgba(112, 240, 194, 0.24); }
.theme-sense .hero { grid-template-columns: minmax(400px, 0.92fr) minmax(0, 1.08fr); }
.theme-sense .hero-visual { grid-column: 1; grid-row: 1; }
.theme-sense .hero-copy { grid-column: 2; grid-row: 1; padding-left: clamp(1rem, 3vw, 3rem); }
.theme-sense .hero h1 { font-size: clamp(3.6rem, 5.7vw, 7rem); }
.theme-sense .feature-grid { grid-template-columns: 1fr 1fr; gap: 1rem; border: 0; }
.theme-sense .feature-card { border: 1px solid var(--line); border-radius: 1rem; background: rgba(12, 41, 36, 0.8); }
.theme-sense .feature-card + .feature-card { border-left: 1px solid var(--line); }
.theme-sense .feature-card:last-child { grid-column: 1 / -1; min-height: 250px; }

@keyframes race-fast {
  to { left: calc(100% - 22px); }
}

@keyframes race-slow {
  to { left: 72%; }
}

@keyframes task-through {
  0% { transform: translateX(0) rotate(-2deg); }
  70% { transform: translateX(calc(100% + 260px)) rotate(2deg); }
  71% { opacity: 0; }
  72% { transform: translateX(0); opacity: 0; }
  100% { opacity: 1; }
}

@keyframes scan-line {
  0%, 100% { top: 0; }
  50% { top: calc(100% - 3px); }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .theme-better .hero,
  .theme-private .hero,
  .theme-sense .hero {
    grid-template-columns: 1fr;
  }

  .theme-better .hero-copy,
  .theme-better .hero-visual,
  .theme-private .hero-copy,
  .theme-private .hero-visual,
  .theme-sense .hero-copy,
  .theme-sense .hero-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .theme-better .hero-copy,
  .theme-private .hero-copy,
  .theme-sense .hero-copy {
    padding-left: 0;
  }

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

  .hero-visual {
    max-width: 760px;
    min-height: 540px;
  }

  .hero-visual > div {
    min-height: 540px;
  }

  .theme-source .hero-visual {
    width: min(680px, 100%);
  }

  .hero-side-note {
    display: none;
  }

  .first-release {
    grid-template-columns: .35fr 1fr;
  }

  .release-list {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .section-shell {
    width: min(100% - 36px, 720px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 78px;
  }

  .site-header nav {
    gap: .7rem;
  }

  .site-header nav a {
    font-size: .7rem;
  }

  .domain-chip {
    display: none;
  }

  .hero {
    gap: 3.5rem;
    padding-block: 4rem 5.5rem;
  }

  .journey {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .journey ol {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 15vw, 6rem);
  }

  .hero-visual,
  .hero-visual > div {
    min-height: 500px;
  }

  .idea,
  .problem,
  .contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .theme-agents .example-card:nth-child(n) {
    margin-left: 0;
  }

  .example-card {
    grid-template-columns: minmax(120px, 0.35fr) minmax(180px, 0.65fr);
  }

  .example-card dl {
    grid-column: 1 / -1;
  }

  .theme-brain .contact-copy,
  .theme-brain .contact-form {
    grid-column: 1;
    grid-row: auto;
  }

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

  .theme-continuity .feature-grid,
  .theme-sense .feature-grid {
    grid-template-columns: 1fr;
  }

  .theme-continuity .feature-card:first-child,
  .theme-sense .feature-card:last-child {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

  .theme-source .feature-card {
    display: block;
  }

  .theme-source .feature-index {
    margin-bottom: 2.5rem;
  }

  .feature-grid .feature-card + .feature-card {
    border-left: 0;
  }

  .theme-agents .feature-card:nth-child(2) {
    transform: none;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card + .feature-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-index {
    margin-bottom: 2.5rem;
  }

  .first-release {
    grid-template-columns: 1fr;
  }

  .release-number {
    font-size: 7rem;
  }

  .release-list {
    grid-column: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 18px;
  }

  .section-shell {
    width: min(100% - 26px, 520px);
  }

  .site-header {
    display: flex;
    min-height: 72px;
    justify-content: space-between;
  }

  .site-header .wordmark {
    font-size: .85rem;
  }

  .site-header nav a:not(:last-child) {
    display: none;
  }

  .site-header nav a {
    min-width: 44px;
    justify-content: center;
    font-size: .67rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .eyebrow {
    margin-bottom: 1rem;
  }

  .hero h1,
  .theme-better .hero h1,
  .theme-victor .hero h1,
  .theme-blueprint .hero h1,
  .theme-source .hero h1,
  .theme-continuity .hero h1,
  .theme-private .hero h1,
  .theme-sense .hero h1,
  .theme-machine .hero h1 {
    font-size: clamp(3rem, 15.5vw, 4.7rem);
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .primary-action {
    justify-content: space-between;
  }

  .hero-visual,
  .hero-visual > div {
    min-height: 430px;
  }

  .hero-visual {
    border-radius: 1.25rem;
  }

  .journey ol {
    grid-template-columns: 1fr;
  }

  .journey li {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-block: 0.6rem;
  }

  .ux-adaptive-system .journey {
    border-radius: 1.5rem;
  }

  .idea h2,
  .problem h2,
  .first-release h2,
  .contact h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .examples-heading,
  .example-card,
  .example-card dl {
    grid-template-columns: 1fr;
  }

  .example-card dl {
    gap: 0;
  }

  .example-card dl > div {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .first-release {
    width: 100%;
    border-radius: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .orbit-centre { width: 125px; }
  .orbit-node { min-width: 80px; padding: .55rem; font-size: .62rem; }
  .orbit-node-1 { left: 34%; }
  .orbit-node-2 { right: 2%; }
  .orbit-node-5 { left: 2%; }
  .order-book,
  .algo-race,
  .challenge-bracket,
  .recipe-stack,
  .source-lens,
  .decision-signal,
  .pattern-mirror,
  .control-scan { padding: 1.35rem; }
  .race-row { grid-template-columns: 84px 1fr; }
  .race-row b { grid-column: 2; }
  .bracket-grid { gap: .7rem; }
  .bracket-final { width: 62%; left: 19%; }
  .line-track { grid-template-columns: 1fr 1fr; }
  .line-stage { border-bottom: 2px solid var(--text); }
  .vault-cards { height: 360px; }
  .vault-card { width: 145px; min-height: 105px; }
  .machine-stack { grid-template-columns: 1fr; padding: 1.3rem; }
  .stack-arm { display: none; }
  .machine-stack .visual-caption { right: 1.3rem; }
  .pattern-grid { gap: .8rem 2rem; }
  .pattern-stage { min-height: 78px; padding: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 2026 portfolio redesign: editorial imagery, product proof, and restrained conversion flow. */
body {
  --container: 1360px;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.12);
  background-image:
    radial-gradient(circle at 12% 4%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 30rem),
    linear-gradient(var(--bg), var(--bg));
  background-attachment: fixed;
}

.section-shell {
  width: min(var(--container), calc(100% - 64px));
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 14px;
  width: min(1400px, calc(100% - 32px));
  min-height: 70px;
  margin: 14px auto 0;
  padding-inline: 20px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px) saturate(1.25);
}

.site-header nav {
  gap: 1.5rem;
}

.site-header nav a {
  font-size: 0.78rem;
  font-weight: 720;
}

.domain-chip {
  border-color: transparent;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  font-size: 0.68rem;
}

.hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr) !important;
  gap: clamp(3rem, 6vw, 7rem);
  min-height: 790px;
  padding-block: clamp(5rem, 8vw, 8rem);
}

.hero-copy,
.hero-visual {
  grid-column: auto !important;
  grid-row: auto !important;
}

.hero-copy {
  max-width: 700px;
  padding-left: 0 !important;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 1.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  color: var(--text);
  letter-spacing: 0.08em;
}

body[class*='theme-'] .hero h1 {
  max-width: 11ch;
  margin-bottom: 1.7rem;
  font-size: clamp(3.8rem, 6vw, 6.5rem) !important;
  font-weight: 760;
  letter-spacing: -0.072em !important;
  line-height: 0.94;
  text-transform: none;
}

.hero-intro {
  max-width: 590px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.25vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions {
  gap: 0.75rem;
}

.primary-action,
.secondary-action {
  min-height: 56px;
}

.primary-action {
  padding-left: 1.25rem;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--surface-strong) 18%, transparent);
}

.secondary-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.hero-assurances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-assurances li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.4rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 680;
  line-height: 1.45;
}

.hero-assurances span {
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
}

body[class*='theme-'] .hero-visual {
  position: relative;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  transform: none;
}

.hero-visual-order-book {
  min-height: 780px !important;
}

.hero-visual-continuity-vault {
  min-height: 704px !important;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-visual > .hero-demo {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 26px;
  width: min(76%, 580px);
  min-height: 0;
  height: 70%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.hero-demo > div {
  min-height: 100% !important;
  height: 100%;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  width: min(48%, 310px);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 10, 0.58);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-visual figcaption span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.68);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-visual figcaption p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 680;
  line-height: 1.4;
}

.hero-side-note {
  display: none;
}

body .journey {
  gap: 2rem;
  margin-top: -1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

body .journey ol {
  gap: 0.4rem;
}

body .journey li {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
}

.problem {
  display: block;
  margin-top: clamp(5rem, 9vw, 9rem);
  padding: clamp(3.5rem, 6vw, 6.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.05);
}

.problem-statement {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 1.2rem clamp(3rem, 7vw, 8rem);
  align-items: start;
  padding-bottom: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.problem-statement .section-label,
.problem-statement .reader-question,
.problem-statement h2 {
  grid-column: 1;
}

.problem-statement .section-label {
  margin-bottom: 0;
}

.reader-question {
  max-width: 30ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

body .problem h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.problem-statement > p:last-of-type {
  grid-column: 2;
  grid-row: 2;
  max-width: 52ch;
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.7;
}

.problem-outcome {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  padding: 1.35rem 1.5rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 11%, var(--bg));
}

.examples-panel {
  padding-top: clamp(3rem, 5vw, 5rem);
}

.examples-heading {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  margin-bottom: 2rem;
}

.examples-heading h2 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 3.8vw, 4.2rem);
}

body .example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body .example-card,
.theme-agents .example-card:nth-child(n) {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 0;
  padding: clamp(1.5rem, 2.3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: none;
  transform: none;
}

.example-card-heading {
  justify-content: space-between;
}

.example-card h3 {
  min-height: 2.3em;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.08;
}

body .example-card dl {
  display: block;
  margin-top: auto;
}

body .example-card dl > div {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  border-left: 0;
}

.example-card dd {
  font-size: 0.94rem;
  line-height: 1.6;
}

.theme-agents .example-card:first-child,
.theme-spread .example-card:first-child,
.theme-machine .example-card:first-child,
.theme-sense .example-card:first-child {
  background: var(--surface-strong);
  color: var(--bg);
}

.theme-agents .example-card:first-child dd,
.theme-spread .example-card:first-child dd,
.theme-machine .example-card:first-child dd,
.theme-sense .example-card:first-child dd,
.theme-agents .example-card:first-child dt,
.theme-spread .example-card:first-child dt,
.theme-machine .example-card:first-child dt,
.theme-sense .example-card:first-child dt,
.theme-agents .example-card:first-child .example-card-heading,
.theme-spread .example-card:first-child .example-card-heading,
.theme-machine .example-card:first-child .example-card-heading,
.theme-sense .example-card:first-child .example-card-heading {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}

.idea {
  gap: clamp(3rem, 8vw, 9rem);
  padding-block: clamp(7rem, 11vw, 11rem);
  border-top: 0;
}

body .idea h2,
body .first-release h2,
body .contact h2 {
  font-size: clamp(2.7rem, 4.8vw, 5rem);
  letter-spacing: -0.06em;
}

.idea-body aside {
  border: 0;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

.feature-section {
  padding-bottom: clamp(7rem, 11vw, 11rem);
}

body[class*='theme-'] .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border: 0;
  background: transparent;
}

body[class*='theme-'] .feature-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 88%, var(--bg));
  transform: none;
}

body[class*='theme-'] .feature-card + .feature-card {
  border-left: 1px solid var(--line);
}

.feature-index {
  margin-bottom: auto;
  border-radius: 10px;
  color: var(--text);
}

.feature-card h3 {
  margin-top: 3.5rem;
}

body .first-release {
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1.2fr) minmax(240px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 6rem);
  border: 1px solid color-mix(in srgb, var(--bg) 15%, transparent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.release-number {
  opacity: 0.75;
}

.contact {
  gap: clamp(3rem, 8vw, 9rem);
  padding-block: clamp(8rem, 12vw, 12rem);
}

body .contact-form {
  padding: clamp(1.6rem, 3vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  background: var(--bg);
}

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr !important;
    gap: 4rem;
    min-height: auto;
  }

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

  body[class*='theme-'] .hero-visual {
    width: 100%;
    max-width: none;
    min-height: 670px;
  }

  .hero-visual > .hero-demo {
    width: min(68%, 620px);
  }
}

@media (max-width: 820px) {
  .section-shell {
    width: min(100% - 36px, 720px);
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    margin-top: 8px;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-assurances {
    max-width: 620px;
  }

  body[class*='theme-'] .hero-visual {
    min-height: 600px;
  }

  body .journey {
    margin-top: 1rem;
  }

  .problem {
    padding: 3rem;
  }

  .problem-statement {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .problem-statement .section-label,
  .problem-statement .reader-question,
  .problem-statement h2,
  .problem-statement > p:last-of-type,
  .problem-outcome {
    grid-column: 1;
    grid-row: auto;
  }

  body .example-grid,
  body[class*='theme-'] .feature-grid {
    grid-template-columns: 1fr;
  }

  .example-card h3 {
    min-height: 0;
  }

  body[class*='theme-'] .feature-card {
    min-height: 260px;
  }

  body .first-release {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
    border-radius: 16px;
  }

  .hero {
    gap: 3rem;
    padding-block: 4rem 5rem;
  }

  body[class*='theme-'] .hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.3rem) !important;
  }

  .hero-intro {
    font-size: 1.06rem;
  }

  .hero-assurances {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .hero-assurances li {
    min-height: 38px;
    align-items: center;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--line);
  }

  body[class*='theme-'] .hero-visual {
    min-height: 520px;
    border-radius: 26px;
  }

  body[class*='theme-'] .hero-visual-order-book {
    min-height: 840px !important;
  }

  body[class*='theme-'] .hero-visual-algo-race,
  body[class*='theme-'] .hero-visual-bracket,
  body[class*='theme-'] .hero-visual-machine-stack {
    min-height: 550px !important;
  }

  body[class*='theme-'] .hero-visual-recipe-stack {
    min-height: 650px !important;
  }

  body[class*='theme-'] .hero-visual-decision-signal {
    min-height: 630px !important;
  }

  body[class*='theme-'] .hero-visual-continuity-vault,
  body[class*='theme-'] .hero-visual-control-scan {
    min-height: 660px !important;
  }

  body[class*='theme-'] .hero-visual-task-line {
    min-height: 774px !important;
  }

  body[class*='theme-'] .hero-visual-source-lens {
    min-height: 830px !important;
  }

  .hero-visual figcaption {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
  }

  .hero-visual > .hero-demo {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    height: 64%;
    border-radius: 17px;
  }

  .problem {
    width: calc(100% - 20px);
    padding: 2rem 1.25rem;
    border-radius: 26px;
  }

  body .problem h2,
  .examples-heading h2,
  body .idea h2,
  body .first-release h2,
  body .contact h2 {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .examples-heading {
    display: block;
  }

  .examples-heading > p:last-child {
    margin-top: 1rem;
  }

  body .example-card {
    padding: 1.5rem;
    border-radius: 18px;
  }

  body .first-release {
    width: calc(100% - 20px);
    border-radius: 26px;
  }
}
