:root {
  --bg: #f1ebdd;
  --paper: #fffaf0;
  --ink: #0e0e0c;
  --muted: #5f5a50;
  --line: #d6cfbe;
  --dark: #0e0e0c;
  --dark-soft: #1f211f;
  --red: #c0392b;
  --green: #24795c;
  --blue: #244f73;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
main, section, article, aside, div, p, li, a, small, dd, dt {
  min-width: 0;
}
main {
  position: relative;
}
.site-header {
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 56px;
  border-bottom: 1px solid var(--ink);
  background: rgba(241, 235, 221, 0.96);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-style: italic;
  text-decoration: none;
  letter-spacing: 0;
}
.brand span, .live, .eyebrow { color: var(--red); }
.nav { min-width: 0; max-width: 100%; display: flex; gap: 24px; font-size: 14px; }
.nav a { flex: 0 0 auto; white-space: nowrap; }
.nav a, .header-cta { text-decoration: none; color: var(--muted); }
.nav a[aria-current="page"], .nav a:hover, .header-cta:hover { color: var(--ink); }
.header-cta { justify-self: end; font-size: 14px; }
.site-footer {
  padding: 26px 56px;
  border-top: 1px solid var(--ink);
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
}
.site-footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.md-copy {
  display: inline;
  color: var(--red);
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 300;
  line-height: inherit;
  letter-spacing: 0;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.md-copy:hover {
  color: var(--ink);
}
.md-copy[aria-disabled="true"] {
  cursor: wait;
  opacity: .62;
}
.hero {
  min-height: 0;
  padding: 96px 56px 64px;
}
.hero-copy {
  max-width: 1180px;
}
.primary-hero {
  min-height: 0;
  padding: 96px 56px 54px;
}
.primary-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  max-width: 1180px;
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: .98;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
.primary-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 22px;
}
.primary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.primary-badges span {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
}
.primary-highlights {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  max-width: 760px;
  background: var(--line);
  border: 1px solid var(--line);
}
.primary-highlights article {
  display: grid;
  grid-template-columns: minmax(150px, .45fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  background: var(--paper);
}
.primary-highlights b {
  font-size: 16px;
  line-height: 1.15;
}
.primary-highlights span {
  color: var(--muted);
  font-size: 14px;
}
.primary-visual-band {
  padding: 12px 56px 86px;
}
.primary-console {
  max-width: 1160px;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: 18px 18px 0 var(--paper);
}
.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: var(--dark);
  color: #fff;
}
.console-top b {
  font-size: 18px;
}
.console-top span {
  color: #bde8cf;
  font-size: 13px;
}
.console-grid {
  display: grid;
  grid-template-columns: minmax(120px, .58fr) minmax(240px, 1fr) minmax(210px, .9fr);
  min-height: 420px;
}
.source-rail,
.document-stack,
.automation-panel {
  padding: 20px;
}
.source-rail {
  background: var(--bg);
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 10px;
}
.source-rail span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  font-size: 11px;
}
.source-rail b {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  font-size: 16px;
}
.document-stack {
  display: grid;
  align-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
}
.doc-line {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 16px;
}
.doc-line.active {
  border-color: var(--ink);
  background: #fff;
}
.doc-line span,
.automation-panel small {
  display: block;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
}
.doc-line b {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.15;
}
.doc-line em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
}
.automation-panel {
  display: grid;
  align-content: stretch;
  gap: 1px;
  background: var(--line);
}
.automation-panel div {
  padding: 16px;
  background: #fff;
}
.automation-panel b {
  display: block;
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.15;
}
.primary-pipeline,
.services-page {
  padding: 86px 56px;
}
.primary-pipeline {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
}
.primary-pipeline h2,
.services-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
}
.pipeline-steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pipeline-steps article {
  display: grid;
  grid-template-columns: 44px minmax(0, 180px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  background: var(--paper);
}
.pipeline-steps span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.pipeline-steps b {
  font-size: 18px;
}
.pipeline-steps p {
  margin: 0;
  color: var(--muted);
}
.primary-proof {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr);
  gap: 56px;
  padding: 86px 56px;
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.primary-proof h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
}
.primary-proof p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}
.proof-board {
  display: grid;
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.proof-board div {
  background: var(--bg);
  padding: 24px;
}
.proof-board span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 74px);
  line-height: .95;
}
.proof-board b {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
}
.primary-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
}
.primary-metrics article {
  min-height: 150px;
  padding: 22px;
  background: #fff;
}
.primary-metrics span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1;
}
.primary-metrics article:last-child span {
  font-size: clamp(30px, 2.4vw, 36px);
}
.primary-metrics b {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.25;
}
.primary-tech {
  padding: 86px 56px;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tech-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
}
.tech-grid span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}
.tech-grid h3 {
  margin: 32px 0 12px;
  font-size: 26px;
}
.tech-grid p {
  margin: 0;
  color: var(--muted);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--ink);
  background: var(--paper);
  text-decoration: none;
}
.service-card span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  font-size: 12px;
}
.service-card h2 {
  margin: 34px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
}
.service-card p {
  color: var(--muted);
  font-size: 18px;
}
.service-card b {
  margin-top: auto;
  color: var(--ink);
}
.eyebrow {
  margin: 0 0 18px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  margin: 0 0 18px;
}
.eyebrow-row .eyebrow {
  margin: 0;
}
.eyebrow-row .eyebrow::after {
  content: "/";
  margin-left: 14px;
  color: var(--muted);
}
.md-copy-wrap {
  display: inline;
}
.md-copy-floating {
  position: absolute;
  top: 18px;
  right: 56px;
  z-index: 3;
}
h1, h2, h3 { letter-spacing: 0; }
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(58px, 9vw, 138px);
  line-height: .92;
  max-width: 980px;
}
.hero h1 {
  max-width: 1120px;
  font-size: clamp(56px, 7.2vw, 118px);
  line-height: .95;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
.lead {
  margin: 30px 0 0;
  max-width: 720px;
  font-size: 21px;
  color: var(--muted);
}
.hero-actions, .final-cta .button { margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 650;
}
.button.primary { background: var(--ink); color: var(--paper); }
.button.ghost { background: transparent; color: var(--ink); margin-left: 10px; }
.metrics-strip {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.metrics-strip strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}
.metrics-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.home-tech-grid span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  color: var(--red);
}
.knowledge-samples {
  margin-top: 18px;
}
.home-product-demo {
  padding: 24px 56px 86px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .82fr);
  gap: 54px;
  align-items: center;
}
.demo-copy h2 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1;
}
.demo-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}
.hero-figure {
  border: 1px solid var(--ink);
  background: var(--bg);
}
.telegram-shot {
  width: min(100%, 650px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid #b8c4cf;
  border-radius: 0;
  background: #dbe8f3;
  box-shadow: 0 18px 50px rgba(14,14,12,.18);
}
.telegram-top {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f6f8fb;
  border-bottom: 1px solid #c7d2dc;
}
.telegram-top strong,
.telegram-top small {
  display: block;
}
.telegram-top strong { font-size: 17px; }
.telegram-top small { color: #6b7a86; font-size: 13px; }
.tg-back {
  color: #2d8adf;
  font-size: 34px;
  line-height: 1;
}
.tg-avatar,
.tg-mini-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #42b7f5, #2878d7);
  color: #fff;
  font-weight: 800;
}
.tg-avatar {
  width: 42px;
  height: 42px;
  font-family: Georgia, "Times New Roman", serif;
}
.telegram-chat {
  min-height: 560px;
  padding: 18px 18px 22px;
  background:
    linear-gradient(rgba(219,232,243,.92), rgba(219,232,243,.92)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,.35) 18px 19px);
}
.tg-day {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 4px 12px;
  border-radius: 14px;
  background: rgba(71,91,110,.28);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.tg-row {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}
.tg-row.user {
  justify-content: flex-end;
}
.tg-mini-avatar {
  width: 30px;
  height: 30px;
  align-self: flex-end;
}
.tg-bubble {
  position: relative;
  max-width: min(78%, 430px);
  padding: 10px 12px 18px;
  border-radius: 14px;
  background: #fff;
  color: #101010;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.tg-row.user .tg-bubble {
  background: #d8f7c3;
}
.tg-bubble p {
  margin: 0 0 8px;
}
.tg-bubble b {
  font-weight: 750;
}
.tg-bubble time {
  position: absolute;
  right: 10px;
  bottom: 5px;
  color: #6f8b62;
  font-size: 11px;
}
.tg-doc {
  margin-bottom: 8px;
  padding: 10px 12px;
  border-left: 3px solid #2d8adf;
  border-radius: 8px;
  background: rgba(45,138,223,.1);
}
.tg-doc b,
.tg-doc span {
  display: block;
}
.tg-doc span {
  margin-top: 3px;
  color: #506070;
  font-size: 13px;
}
.voice-note {
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.voice-note span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #36a45e;
}
.voice-note i {
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: #72b58b;
}
.voice-note i:nth-child(3) { height: 14px; }
.voice-note i:nth-child(4) { height: 30px; }
.voice-note i:nth-child(5) { height: 18px; }
.voice-note em {
  margin-left: auto;
  color: #51635a;
  font-style: normal;
  font-size: 13px;
}
.tg-keyboard {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}
.tg-keyboard button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: #edf6ff;
  color: #1783df;
  font: inherit;
  font-weight: 700;
}
.figure-top {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
}
.chat-scene { padding: 22px; display: grid; gap: 13px; }
.bubble {
  width: min(82%, 360px);
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.bubble p { margin: 0; }
.bubble small {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}
.bubble.user {
  justify-self: end;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.doc-card {
  display: grid;
  gap: 7px;
  min-height: 150px;
  padding: 15px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.doc-card strong { align-self: end; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; }
.doc-card + p { margin-top: 10px; color: #e8dfcf; }
.voice { display: flex; align-items: center; gap: 9px; }
.voice span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
}
.voice i {
  display: block;
  width: 4px;
  height: 22px;
  background: var(--paper);
}
.voice i:nth-child(3) { height: 12px; }
.voice i:nth-child(4) { height: 28px; }
.voice i:nth-child(5) { height: 16px; }
.voice em { margin-left: auto; color: #ded3bf; font-style: normal; font-size: 13px; }
.dark-shift {
  background: var(--dark);
  color: var(--paper);
  padding: 86px 56px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
}
.dark-shift h2, .section-heading h2, .final-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,.22);
}
.comparison article { padding: 28px; }
.comparison article + article { border-left: 1px solid rgba(255,255,255,.22); }
.comparison h3 { margin: 0 0 12px; font-size: 26px; }
.comparison p, .final-cta p { color: rgba(255,255,255,.72); }
dl { margin: 24px 0 0; }
dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
dt { color: rgba(255,255,255,.58); }
dd { margin: 0; text-align: right; }
.content-band, .reports-preview, .final-cta, .page-hero, .sloy-thesis, .sloy-user-context {
  padding: 86px 56px;
}
.section-heading {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 42px;
}
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 18px; max-width: 720px; }
.feature-grid, .report-grid, .knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-grid article, .report-card, .knowledge-card {
  min-height: 210px;
  padding: 24px;
  background: var(--paper);
  text-decoration: none;
}
.feature-grid span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--red);
  font-size: 12px;
}
.feature-grid h3, .report-card span, .knowledge-card span {
  display: block;
  margin: 24px 0 10px;
  font-size: 23px;
  line-height: 1.1;
}
.feature-grid p, .report-card small, .knowledge-card small {
  color: var(--muted);
  font-size: 15px;
}
.feature-grid .feature-wide {
  grid-column: 1 / -1;
  min-height: 160px;
}
.feature-grid .feature-wide h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  max-width: 920px;
}
.feature-grid .feature-wide p {
  max-width: 980px;
  font-size: 18px;
}
.adaptive-company {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(179, 44, 32, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(179, 44, 32, .08) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}
.operating-loop {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
  margin-bottom: 26px;
}
.operating-loop article {
  min-height: 190px;
  padding: 18px;
  background: var(--bg);
}
.operating-loop span,
.evidence-list li {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
}
.operating-loop span {
  color: var(--red);
}
.operating-loop b {
  display: block;
  margin: 22px 0 8px;
  font-size: 22px;
  line-height: 1.05;
}
.operating-loop p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.prompt-lab {
  background: #f6f0e3;
}
.prompt-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.prompt-card {
  min-height: 236px;
  padding: 22px;
  background: var(--paper);
}
.prompt-card.lead {
  grid-column: span 2;
  background: var(--ink);
  color: var(--paper);
}
.prompt-line {
  margin: 0 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.06;
}
.prompt-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
}
.prompt-card p:not(.prompt-line) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.prompt-card.lead p:not(.prompt-line) {
  color: rgba(255, 250, 240, .72);
}
.evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--red);
}
.prompt-card.lead .evidence-list {
  color: rgba(255, 250, 240, .76);
}
.evidence-list li {
  border: 1px solid currentColor;
  padding: 5px 8px;
}
.portfolio-intelligence {
  background: var(--ink);
  color: var(--paper);
}
.portfolio-intelligence .section-heading p:not(.eyebrow) {
  color: rgba(255, 250, 240, .72);
}
.portfolio-radar {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 1px;
  border: 1px solid rgba(255, 250, 240, .24);
  background: rgba(255, 250, 240, .24);
}
.radar-lead,
.radar-stack article,
.portfolio-strip article {
  background: #141412;
}
.radar-lead {
  min-height: 520px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.radar-lead .prompt-line {
  font-size: clamp(34px, 5vw, 72px);
  max-width: 980px;
}
.radar-lead p:not(.prompt-line) {
  max-width: 760px;
  color: rgba(255, 250, 240, .76);
  font-size: 18px;
}
.radar-stack {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
}
.radar-stack article {
  padding: 28px;
}
.radar-stack span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #f3b6a8;
  font-size: 11px;
  text-transform: uppercase;
}
.radar-stack h3 {
  margin: 22px 0 10px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.05;
}
.radar-stack p {
  margin: 0;
  color: rgba(255, 250, 240, .7);
}
.portfolio-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 250, 240, .2);
  background: rgba(255, 250, 240, .2);
}
.portfolio-strip article {
  padding: 22px;
}
.portfolio-strip b {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}
.portfolio-strip p {
  margin: 0;
  color: rgba(255, 250, 240, .68);
  font-size: 15px;
}
.report-grid, .knowledge-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.system-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.system-grid article {
  min-height: 260px;
}
.uo-showcase {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.uo-video-card,
.uo-showcase-copy,
.uo-block-grid article,
.uo-price-grid article,
.uo-implementation div {
  background: var(--paper);
}
.uo-video-card {
  padding: 18px;
}
.uo-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
}
.uo-showcase-copy {
  padding: 32px;
}
.uo-showcase-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.05;
}
.uo-showcase-copy p:not(.eyebrow) {
  color: var(--muted);
}
.uo-block-grid,
.uo-price-grid,
.uo-implementation {
  margin-top: 18px;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.uo-block-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.uo-block-grid article {
  padding: 26px;
}
.uo-block-grid span,
.uo-price-grid small {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}
.uo-block-grid h3 {
  margin: 20px 0 12px;
  font-size: 23px;
  line-height: 1.12;
}
.uo-block-grid p,
.uo-price-grid span,
.uo-implementation span {
  color: var(--muted);
}
.uo-price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.uo-price-grid article {
  min-height: 150px;
  padding: 24px;
}
.uo-price-grid strong {
  display: block;
  margin: 18px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}
.uo-implementation {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.uo-implementation div {
  padding: 20px 24px;
}
.uo-implementation b,
.uo-implementation span {
  display: block;
}
.uo-implementation b {
  margin-bottom: 8px;
}
.primary-docs-page .section-heading {
  align-items: start;
}
.primary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.report-card:hover, .knowledge-card:hover { background: #fffdf7; }
.knowledge-card em {
  display: block;
  color: var(--red);
  font-style: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.text-link { display: inline-block; margin-top: 28px; color: var(--red); font-weight: 700; }
.final-cta {
  background: var(--dark);
  color: var(--paper);
  text-align: center;
}
.final-cta h2, .final-cta p { max-width: 940px; margin-left: auto; margin-right: auto; }
.final-cta p { font-size: 20px; }
.final-cta .button.primary { background: var(--paper); color: var(--ink); }
.doc-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 880px);
  gap: 54px;
  padding: 54px 56px 90px;
  align-items: start;
}
.doc-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.doc-aside a { text-decoration: none; }
.doc-content {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 48px;
  overflow-wrap: normal;
  word-break: normal;
}
.doc-content h1 {
  font-size: clamp(40px, 6vw, 78px);
  margin-bottom: 30px;
}
.doc-content h2 {
  margin-top: 44px;
  font-size: 34px;
  line-height: 1.15;
}
.doc-content h3 { margin-top: 30px; font-size: 23px; }
.doc-content p, .doc-content li { color: #312f2a; font-size: 18px; }
.doc-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--red);
  background: var(--bg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}
.markdown-landing .page-hero {
  min-height: auto;
  border-bottom: 1px solid var(--line);
}
.landing-md {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}
.landing-md h1 {
  max-width: 1120px;
  margin-top: 0;
}
.landing-md h2 {
  max-width: 920px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.landing-md p,
.landing-md li {
  max-width: 860px;
}
.landing-md ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}
.landing-md li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.markdown-extra-grid {
  padding-top: 72px;
}
.report-page {
  padding: 42px 56px 96px;
}
.report-toplink {
  max-width: 1040px;
  margin: 0 auto 22px;
}
.report-toplink a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}
.report-content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}
.report-content h1 {
  max-width: 880px;
  font-size: clamp(44px, 6vw, 82px);
}
.report-eyebrow,
.report-step {
  margin: 0 0 16px;
  color: var(--red) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.report-step {
  margin-top: 38px;
}
.report-content h2 {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.report-content h3 {
  margin-top: 8px;
  font-size: 28px;
}
.report-content p,
.report-content li {
  max-width: 820px;
  line-height: 1.65;
}
.report-content .asset-gallery {
  grid-template-columns: 1fr;
}
.knowledge-index .compact {
  padding-bottom: 36px;
}
.uo-dashboard {
  margin: 0 56px 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
}
.uo-dashboard div {
  min-height: 150px;
  padding: 24px;
  background: var(--paper);
}
.uo-dashboard div + div { border-left: 1px solid var(--ink); }
.uo-dashboard strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 68px;
  line-height: 1;
  font-weight: 400;
}
.uo-dashboard span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}
.uo-screens {
  margin: 0 56px 86px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.uo-screens figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}
.uo-screens img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
}
.uo-screens figcaption {
  padding: 16px;
  color: var(--muted);
  font-size: 14px;
}
.uo-cluster {
  padding: 0 56px 76px;
}
.compact-heading {
  margin-bottom: 24px;
}
.compact-heading h2 {
  font-size: clamp(32px, 4vw, 52px);
}
.sloy-thesis {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: end;
}
.sloy-thesis h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
}
.sloy-thesis > p {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
}
.sloy-user-context {
  border-bottom: 1px solid var(--line);
}
.sloy-product-tour {
  padding: 86px 56px;
}
.sloy-showcase {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 0 16px;
  scrollbar-width: thin;
}
.sloy-showcase figure {
  flex: 0 0 clamp(300px, 30vw, 440px);
  max-width: calc(100vw - 40px);
  margin: 0;
  overflow: clip;
  border: 1px solid var(--line);
  background: var(--paper);
  scroll-snap-align: start;
}
.sloy-showcase figure.wide {
  flex-basis: clamp(420px, 44vw, 640px);
}
.sloy-showcase figure.tall {
  flex-basis: clamp(280px, 24vw, 360px);
}
.sloy-showcase img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.sloy-showcase figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
}
.sloy-showcase figcaption b {
  font-size: 20px;
}
.sloy-showcase figcaption span {
  color: var(--muted);
}
.page-hero h1 {
  max-width: 1120px;
  font-size: clamp(46px, 7vw, 92px);
}
.page-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 22px;
}
.sloy-page .page-hero {
  padding-bottom: 70px;
}
.sloy-page .page-hero h1 {
  max-width: 1120px;
}
.sloy-page .page-hero p:not(.eyebrow) {
  max-width: 1040px;
}
.sloy-page .content-band,
.sloy-page .sloy-user-context,
.sloy-page .sloy-product-tour {
  padding-top: 72px;
  padding-bottom: 72px;
}
.sloy-page .section-heading {
  margin-bottom: 30px;
}
.sloy-page .feature-grid article {
  min-height: 178px;
  padding: 22px;
}
.sloy-page .feature-grid h3 {
  margin-top: 16px;
  font-size: 21px;
}
.sloy-page .feature-grid p {
  font-size: 14.5px;
}
.sloy-page .feature-grid .feature-wide {
  min-height: 136px;
}
.sloy-page .feature-grid .feature-wide h3 {
  font-size: clamp(26px, 3vw, 40px);
}
.sloy-page .feature-grid .feature-wide p {
  font-size: 16px;
}
.asset-gallery {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.asset-gallery img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
}
.sloy-visual {
  margin: 0 56px 86px;
  border: 1px solid var(--ink);
  background: #fff;
}
.sloy-bar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: #000;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}
.sloy-bar span { font-weight: 500; opacity: .75; }
.sloy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px;
  background: #fafafa;
}
.sloy-card {
  min-height: 280px;
  padding: 30px;
  border-radius: 8px;
  background: #f2f2f2;
  border-left: 5px solid #1389f5;
}
.sloy-card.orange { border-left-color: #f29900; }
.sloy-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 30px;
}
.sloy-card-head span {
  color: #666;
  font-size: 15px;
}
.sloy-card-head b {
  font-size: 20px;
  color: #159947;
}
.sloy-card dl div {
  border-top: 1px solid #ddd;
}
.sloy-card dt { color: #666; }
.sloy-card dd { color: #000; font-weight: 750; }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr; gap: 14px; padding: 16px 20px; position: static; }
  .site-footer { padding: 22px 20px; }
  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 18px;
    overflow-x: visible;
    padding-bottom: 0;
  }
  .header-cta { justify-self: start; }
  .hero, .primary-hero, .home-product-demo, .dark-shift, .section-heading, .doc-shell, .sloy-thesis, .primary-pipeline, .primary-proof {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero { min-height: auto; }
  .hero h1 { font-size: 48px; }
  .page-hero h1 { font-size: 42px; }
  .primary-hero h1 { font-size: 46px; }
  .home-product-demo { padding-top: 6px; }
  .telegram-shot { width: 100%; justify-self: stretch; }
  .hero-figure { min-width: 0; }
  .metrics-strip, .comparison, .feature-grid, .report-grid, .knowledge-grid, .asset-gallery, .sloy-grid, .uo-dashboard, .uo-screens, .service-grid, .primary-metrics, .tech-grid, .uo-showcase, .uo-block-grid, .uo-price-grid, .uo-implementation, .system-grid, .compact-grid, .operating-loop, .prompt-board, .portfolio-radar, .portfolio-strip {
    grid-template-columns: 1fr;
  }
  .prompt-card.lead { grid-column: auto; }
  .radar-lead { min-height: auto; }
  .primary-highlights article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .primary-console { box-shadow: 10px 10px 0 var(--paper); }
  .console-grid { grid-template-columns: 1fr; min-height: auto; }
  .source-rail,
  .document-stack {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .source-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .source-rail span {
    grid-column: 1 / -1;
  }
  .recognition-grid { grid-template-columns: 1fr; }
  .pipeline-steps article { grid-template-columns: 36px minmax(0, 1fr); }
  .pipeline-steps article p { grid-column: 2; }
  .uo-dashboard, .uo-screens, .uo-cluster { margin-left: 20px; margin-right: 20px; padding-left: 0; padding-right: 0; }
  .uo-dashboard div + div { border-left: 0; border-top: 1px solid var(--ink); }
  .comparison article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .content-band, .reports-preview, .final-cta, .page-hero, .sloy-thesis, .sloy-user-context, .sloy-product-tour, .primary-pipeline, .primary-proof, .primary-tech, .services-page, .primary-visual-band, .report-page { padding: 64px 20px; }
  .landing-md ul { grid-template-columns: 1fr; }
  .eyebrow-row { align-items: flex-start; }
  .md-copy-floating { top: 14px; right: 20px; }
  .sloy-showcase figure,
  .sloy-showcase figure.wide,
  .sloy-showcase figure.tall {
    flex-basis: min(82vw, 520px);
  }
  .telegram-chat { min-height: 470px; padding: 14px; }
  .tg-bubble { max-width: 86%; }
  .voice-note { min-width: 220px; }
  .sloy-visual { margin: 0 20px 64px; }
  .sloy-grid { padding: 18px; }
  .doc-aside { position: static; }
  .doc-content { padding: 28px 20px; }
  .report-content { padding: 0; }
}
