:root {
  --paper: #050505;
  --ink: #f2eee6;
  --muted: #4d4942;
  --muted-strong: #80786c;
  --gold: #c6a15b;
  --gold-soft: #dfc68d;
  --line: rgba(198, 161, 91, 0.18);
  --panel: rgba(255, 255, 255, 0.025);
  --panel-strong: rgba(255, 255, 255, 0.045);
  --headline: Georgia, "Times New Roman", Times, serif;
  --body: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --caps: "Aptos", "Segoe UI", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 2%, rgba(198, 161, 91, 0.08), transparent 24rem),
    linear-gradient(180deg, #070707 0%, #030303 52%, #060606 100%);
  font-family: var(--body);
}

.app-body {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(198, 161, 91, 0.08), transparent 26rem),
    linear-gradient(180deg, #070707 0%, #030303 100%);
  font-family: var(--body);
}

.app-body::before {
  display: none;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

.app-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
}

.app-brand {
  color: var(--ink);
  font-family: var(--headline);
  letter-spacing: 0.42em;
  font-size: 25px;
}

.app-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  margin-top: 44px;
}

.app-nav button {
  border: 1px solid transparent;
  padding: 12px 12px;
  color: var(--muted-strong);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--caps);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 11px;
}

.app-nav button.active,
.app-nav button:hover {
  color: var(--gold);
  border-color: var(--line);
  background: rgba(198, 161, 91, 0.05);
}

.app-sidebar-foot {
  display: grid;
  gap: 10px;
}

.app-sidebar-foot a {
  color: rgba(198, 161, 91, 0.44);
  font-family: var(--caps);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 10px;
}

.app-main {
  padding: 28px;
  min-width: 0;
}

.app-topbar {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto 30px;
  text-align: center;
}

.app-eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: var(--caps);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
}

.app-topbar h1 {
  margin: 0;
  max-width: 100%;
  color: var(--ink);
  font-family: var(--headline);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.app-top-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.language-switch.compact {
  color: var(--muted-strong);
}

.language-switch.compact span {
  background: var(--line);
}

.app-status {
  min-width: 138px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 11px 12px;
  color: var(--muted-strong);
  text-align: center;
  font-size: 13px;
}

.app-section {
  display: none;
}

.app-section.active {
  display: block;
  max-width: 980px;
  margin: 0 auto;
}

.app-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.two-columns {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.source-intelligence-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.software-panel,
.system-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.software-panel {
  padding: 24px;
}

.source-panel {
  position: sticky;
  top: 28px;
}

.discovery-mode {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.discovery-mode label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: rgba(242, 238, 230, 0.74);
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.discovery-mode input {
  width: auto;
  accent-color: var(--gold);
}

.source-output {
  display: grid;
  gap: 18px;
}

.source-summary,
.source-signal-columns,
.source-lists {
  display: grid;
  gap: 12px;
}

.source-summary {
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
}

.source-signal-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-lists {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-summary article,
.source-signal-columns article,
.source-lists article,
.source-links {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  padding: 18px;
}

.source-summary h4 {
  margin: 12px 0 0;
  color: var(--ink);
  font-family: var(--headline);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}

.source-summary p,
.source-signal-columns p,
.source-lists li {
  color: rgba(242, 238, 230, 0.62);
  line-height: 1.55;
}

.source-lists ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-links .result-label {
  flex-basis: 100%;
}

.source-links a {
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-decoration: none;
}

.secondary-action {
  width: 100%;
  border: 1px solid rgba(198, 161, 91, 0.56);
  background: linear-gradient(180deg, rgba(211, 174, 102, 0.94), rgba(176, 136, 63, 0.94));
  color: #070604;
  font-family: var(--caps);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 18px;
  cursor: pointer;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.panel-title span,
.result-label {
  color: var(--gold);
  font-family: var(--caps);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 10px;
}

.panel-title h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font-family: var(--headline);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.panel-title strong {
  color: rgba(198, 161, 91, 0.32);
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 400;
}

.software-form label,
.app-body label {
  color: var(--muted-strong);
  font-family: var(--caps);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 400;
}

.app-body textarea,
.app-body input {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(0, 0, 0, 0.2);
  font-family: var(--body);
}

.app-body textarea:focus,
.app-body input:focus {
  border-color: rgba(198, 161, 91, 0.56);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.08);
}

.app-body .form-row button {
  border: 1px solid var(--gold);
  color: #070707;
  background: var(--gold);
  font-family: var(--caps);
  letter-spacing: 0.24em;
  font-size: 11px;
  font-weight: 400;
}

.result-panel {
  min-height: 430px;
}

.empty-state {
  display: grid;
  align-content: center;
  min-height: 282px;
  border: 1px dashed var(--line);
  padding: 26px;
  color: var(--muted-strong);
  background: rgba(0, 0, 0, 0.18);
}

.empty-state span {
  color: var(--ink);
  font-family: var(--headline);
  font-size: 24px;
  font-weight: 400;
}

.empty-state p {
  margin: 10px 0 0;
  max-width: 360px;
  line-height: 1.55;
}

.app-body .result-card {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.app-body .result-head {
  border-bottom-color: var(--line);
}

.app-body .result-head strong {
  color: var(--ink);
  font-family: var(--headline);
  font-size: 24px;
  font-weight: 400;
}

.app-body .result-answer p {
  color: rgba(242, 238, 230, 0.7);
  font-family: var(--body);
}

.app-body .result-details,
.app-body .result-details summary {
  color: var(--muted-strong);
}

.pipeline-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pipeline-strip article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 18px;
}

.pipeline-strip span {
  color: var(--gold);
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.pipeline-strip strong {
  display: block;
  margin-top: 20px;
  color: var(--ink);
  font-size: 16px;
}

.pipeline-strip p {
  margin: 6px 0 0;
  color: var(--muted-strong);
  line-height: 1.45;
}

.system-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.system-tabs button {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-strong);
  padding: 9px 14px;
  cursor: pointer;
  font-size: 14px;
}

.system-tabs button.active {
  border-color: var(--gold);
  color: #070707;
  background: var(--gold);
}

.system-panel {
  display: none;
  padding: 20px;
}

.system-panel.active {
  display: block;
}

.section-intro {
  max-width: 760px;
}

.section-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: 0;
}

.section-intro p:last-child {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.enterprise-list {
  margin-top: 0;
}

.app-body .capability,
.app-body .tool {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.app-body .capability strong,
.app-body .tool strong {
  margin: 0;
  color: var(--ink);
  font-family: var(--headline);
  font-size: 17px;
  font-weight: 400;
}

.app-body .capability span,
.app-body .tool span {
  color: var(--muted-strong);
  font-size: 13px;
}

.app-body .badge {
  margin: 0;
  border: 1px solid var(--line);
  padding: 5px 9px;
  color: var(--gold);
  background: rgba(198, 161, 91, 0.08);
  font-family: var(--caps);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-body pre {
  border-color: var(--line);
  color: rgba(242, 238, 230, 0.7);
  background: rgba(0, 0, 0, 0.24);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

.site-nav {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 4px 48px 0;
  height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  background: rgba(5, 5, 5, 0.74);
  backdrop-filter: blur(12px);
  z-index: 5;
}

.brand-word {
  font-family: var(--headline);
  letter-spacing: 0.52em;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.nav-links a,
.kicker,
.outline-cta,
.gold-cta,
.ghost-cta,
.language-switch,
.runtime-pill,
label,
.site-footer p,
.badge {
  font-family: var(--caps);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-size: 12px;
}

.nav-links a {
  color: var(--muted-strong);
  transition: color 200ms ease;
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 24px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-strong);
}

.language-switch span {
  width: 1px;
  height: 13px;
  background: var(--line);
}

.language-switch button {
  padding: 0;
  border: 0;
  color: var(--muted-strong);
  background: transparent;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--gold);
}

.outline-cta,
.ghost-cta,
.gold-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.outline-cta:hover,
.ghost-cta:hover {
  border-color: rgba(198, 161, 91, 0.52);
  color: var(--gold-soft);
}

.gold-cta {
  color: #070707;
  background: var(--gold);
  border-color: var(--gold);
}

.gold-cta:hover {
  background: var(--gold-soft);
}

.outline-cta:active,
.ghost-cta:active,
.gold-cta:active,
button:active {
  transform: translateY(1px);
}

.hero {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 64px);
  padding: 82px 24px 118px;
  text-align: center;
}

.kicker {
  margin: 0;
  color: var(--gold);
}

.hero h1 {
  margin: 34px 0 0;
  max-width: 1120px;
  font-family: var(--headline);
  font-weight: 400;
  font-size: clamp(48px, 6.45vw, 102px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-top: 10px;
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 400;
}

.hero-copy {
  margin: 34px auto 0;
  max-width: 760px;
  color: rgba(242, 238, 230, 0.62);
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.62;
  font-weight: 500;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(920px, calc(100vw - 48px));
  margin: 42px auto 0;
  border-top: 1px solid rgba(198, 161, 91, 0.28);
  border-bottom: 1px solid rgba(198, 161, 91, 0.22);
}

.hero-proof article {
  display: grid;
  gap: 10px;
  padding: 18px 24px;
  border-right: 1px solid rgba(198, 161, 91, 0.18);
}

.hero-proof article:last-child {
  border-right: 0;
}

.hero-proof span {
  color: var(--gold);
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-proof strong {
  color: rgba(242, 238, 230, 0.82);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.product-section,
.narrative-section,
.sample-section,
.deliverable-band,
.plans-section,
.trust-section,
.contact-section,
.utility-grid {
  border-top: 1px solid var(--line);
}

.product-section,
.narrative-section,
.sample-section,
.plans-section,
.trust-section {
  padding: 92px 48px;
}

.sample-shell {
  max-width: 1440px;
  margin: 0 auto;
}

.sample-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.sample-card,
.sample-lines,
.sample-report-meta,
.sample-report-paper {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.sample-card {
  min-height: 520px;
  padding: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(223, 198, 141, 0.11), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.sample-card > span,
.sample-lines > span,
.sample-report-meta span,
.sample-report-paper span {
  display: block;
  color: var(--gold);
  font-family: var(--caps);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 11px;
}

.sample-card h3 {
  margin: 78px 0 0;
  max-width: 10ch;
  color: var(--ink);
  font-family: var(--headline);
  font-size: clamp(46px, 5vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.sample-card p,
.sample-lines p {
  color: rgba(242, 238, 230, 0.58);
  font-size: 17px;
  line-height: 1.72;
}

.sample-card p {
  max-width: 34ch;
  margin: 26px 0 0;
}

.sample-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.sample-metrics div {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.sample-metrics strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--headline);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.sample-metrics span {
  display: block;
  margin-top: 10px;
  color: rgba(242, 238, 230, 0.48);
  font-size: 12px;
  line-height: 1.35;
}

.sample-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.sample-lines {
  display: grid;
  align-content: center;
  gap: 26px;
  min-height: 520px;
  padding: 44px;
}

.sample-lines p {
  margin: 0;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
  font-family: var(--headline);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.08;
}

.sample-lines p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sample-report-hero {
  display: grid;
  justify-items: center;
  padding: 92px 24px 78px;
  text-align: center;
}

.sample-report-hero h1 {
  margin: 30px auto 0;
  max-width: 1050px;
  font-family: var(--headline);
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.sample-report-hero p {
  max-width: 760px;
  margin: 30px auto 0;
  color: rgba(242, 238, 230, 0.58);
  font-size: 19px;
  line-height: 1.7;
}

.sample-report-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px 92px;
}

.sample-report-meta {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 28px;
}

.sample-report-meta strong {
  display: block;
  margin: 10px 0 28px;
  color: var(--ink);
  font-family: var(--headline);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
}

.sample-report-meta p {
  margin: 10px 0 0;
  color: rgba(242, 238, 230, 0.54);
  line-height: 1.68;
}

.sample-meta-stack {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.sample-meta-stack strong {
  margin-bottom: 0;
  font-size: 24px;
}

.sample-report-paper {
  padding: 42px;
}

.sample-report-paper section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 26px;
  padding: 0 0 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.sample-report-paper section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.sample-report-paper h2 {
  color: var(--ink);
  font-family: var(--headline);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.sample-report-paper p,
.sample-report-paper li {
  color: rgba(242, 238, 230, 0.62);
  font-size: 17px;
  line-height: 1.75;
}

.sample-report-paper p {
  margin: 20px 0 0;
}

.sample-report-paper ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 18px;
}

.sample-report-paper p,
.sample-report-paper ul {
  grid-column: 2;
}

.sample-verdict,
.sample-report-table,
.case-grid,
.quality-gate {
  grid-column: 2;
}

.sample-verdict {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(223, 198, 141, 0.3);
  background: rgba(198, 161, 91, 0.06);
}

.sample-verdict strong,
.sample-report-table strong,
.quality-gate strong {
  color: var(--gold-soft);
  font-family: var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

.sample-report-table {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.sample-report-table.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sample-report-table div,
.case-grid article,
.quality-gate article {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.sample-report-table p,
.quality-gate p,
.case-grid p {
  grid-column: auto;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
}

.case-grid,
.quality-gate {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid span {
  margin-bottom: 18px;
}

.quality-gate {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.feature-grid article,
.process-list article {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.feature-grid span,
.process-list span {
  display: block;
  margin-bottom: 92px;
  color: var(--gold);
  font-family: var(--caps);
  letter-spacing: 0.28em;
  font-size: 12px;
}

.feature-grid h3,
.process-list h3 {
  font-size: 34px;
  line-height: 1.05;
}

.feature-grid p,
.process-list p {
  margin: 20px 0 0;
  color: rgba(242, 238, 230, 0.42);
  font-size: 17px;
  line-height: 1.7;
}

.process-list {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.plan-grid,
.trust-grid {
  display: grid;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.plan-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.08fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-grid article,
.trust-grid article {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.plan-grid article {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 420px;
  padding: 34px 38px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(198, 161, 91, 0.075), transparent 17rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
}

.plan-grid article:nth-child(2) {
  border-color: rgba(223, 198, 141, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(223, 198, 141, 0.115), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.02));
}

.plan-grid span,
.trust-grid span {
  display: block;
  margin-bottom: 72px;
  color: var(--gold);
  font-family: var(--caps);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 11px;
}

.plan-grid > article > span {
  margin-bottom: 58px;
  color: rgba(223, 198, 141, 0.82);
  font-size: 10px;
}

.plan-grid h3,
.trust-grid h3 {
  font-size: 34px;
  line-height: 1.05;
}

.plan-grid h3 {
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(34px, 2.7vw, 50px);
  line-height: 1.02;
}

.plan-grid p,
.trust-grid p {
  margin: 18px 0 0;
  color: rgba(242, 238, 230, 0.44);
  font-size: 16px;
  line-height: 1.68;
}

.plan-grid p {
  max-width: 34ch;
  color: rgba(242, 238, 230, 0.56);
  font-size: 15px;
  line-height: 1.65;
}

.plan-grid strong {
  display: block;
  margin-top: 28px;
  color: var(--gold-soft);
  font-family: var(--caps);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}

.plan-grid strong {
  align-self: end;
  margin-top: 26px;
  color: rgba(223, 198, 141, 0.86);
  font-size: 10px;
}

.paypal-block {
  margin-top: 18px;
}

[data-paypal-hosted-button] {
  display: none;
}

.paypal-fallback {
  margin: 0;
}

.paypal-premium-button {
  width: 100%;
  max-width: 248px;
  min-height: 40px;
  border: 1px solid rgba(223, 198, 141, 0.56);
  border-radius: 999px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(223, 198, 141, 0.18), rgba(198, 161, 91, 0.08) 44%, rgba(7, 7, 7, 0.82) 100%),
    linear-gradient(90deg, rgba(198, 161, 91, 0.05), rgba(242, 238, 230, 0.11), rgba(198, 161, 91, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 16px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(198, 161, 91, 0.08);
  cursor: pointer;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1px;
  padding: 7px 18px 8px;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
}

.paypal-premium-button:hover {
  filter: brightness(1.05);
  border-color: var(--gold-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -10px 16px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(198, 161, 91, 0.18);
}

.paypal-premium-button:active {
  transform: translateY(1px);
}

.paypal-premium-button span {
  font-family: var(--caps);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 9px;
  line-height: 1.2;
  text-align: center;
}

.paypal-premium-button small {
  color: rgba(242, 238, 230, 0.48);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}

.trial-premium-button {
  background:
    linear-gradient(180deg, rgba(223, 198, 141, 0.32), rgba(198, 161, 91, 0.12) 48%, rgba(7, 7, 7, 0.86) 100%),
    linear-gradient(90deg, rgba(198, 161, 91, 0.06), rgba(242, 238, 230, 0.12), rgba(198, 161, 91, 0.06));
}

.paypal-fallback button,
.paypal-fallback a {
  cursor: pointer;
}

.paypal-fallback {
  display: grid;
  justify-items: center;
}

h2,
h3 {
  margin: 0;
  font-family: var(--headline);
  font-weight: 400;
}

.section-heading h2,
.detail-section h2 {
  max-width: 760px;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
  gap: 22px;
  max-width: 1440px;
  margin: 0 auto;
}

.analysis-console,
.capability-panel,
.utility-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.analysis-console {
  padding: 30px;
  min-height: 560px;
}

.capability-panel,
.utility-grid article {
  padding: 26px;
}

.console-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 30px;
}

.console-head h3,
.capability-panel h3 {
  margin-top: 12px;
  font-size: 34px;
  line-height: 1.05;
}

.runtime-pill {
  min-width: 170px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--muted-strong);
  text-align: center;
}

label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-strong);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

textarea,
input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  outline: none;
}

textarea:focus,
input:focus {
  border-color: rgba(198, 161, 91, 0.56);
}

textarea {
  min-height: 172px;
  resize: vertical;
  line-height: 1.55;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-top: 14px;
}

.form-row button {
  border: 1px solid var(--gold);
  color: #070707;
  background: var(--gold);
  padding: 0 26px;
  cursor: pointer;
  font-family: var(--caps);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
}

pre {
  overflow: auto;
  min-height: 150px;
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(242, 238, 230, 0.72);
  background: rgba(0, 0, 0, 0.26);
  font-family: "Courier New", monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.run-result {
  margin-top: 24px;
}

.result-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  padding: 22px;
}

.result-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.result-stat {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(199, 160, 91, 0.16);
  background: rgba(255, 255, 255, 0.025);
}

.result-head strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--caps);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: none;
  overflow-wrap: anywhere;
}

.app-body .result-head .result-stat strong {
  font-family: var(--caps);
  font-size: 14px;
  font-weight: 500;
}

.result-label {
  display: block;
  color: var(--gold);
  font-family: var(--caps);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.provider-warning {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(199, 160, 91, 0.22);
  color: var(--gold-soft);
  background: rgba(199, 160, 91, 0.08);
  font-size: 13px;
  line-height: 1.5;
}

.result-answer {
  padding-top: 22px;
}

.result-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.compact-cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 10px;
  letter-spacing: 0.2em;
  cursor: pointer;
}

.result-answer p {
  margin: 14px 0 0;
  color: rgba(242, 238, 230, 0.68);
  font-size: 17px;
  line-height: 1.7;
}

.result-answer h4 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-family: var(--headline);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.18;
}

.result-answer h4:first-of-type {
  margin-top: 14px;
}

.result-answer strong {
  color: var(--gold-soft);
  font-weight: 500;
}

.upgrade-card h4 {
  margin: 16px 0 0;
  color: var(--ink);
  font-family: var(--headline);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}

.upgrade-card p {
  max-width: 680px;
  color: rgba(242, 238, 230, 0.6);
  font-size: 16px;
  line-height: 1.7;
}

.answer-line {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.result-details {
  margin-top: 20px;
  color: var(--muted-strong);
}

.result-details summary {
  cursor: pointer;
  color: var(--gold);
  font-family: var(--caps);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 11px;
}

.capability-list,
.tool-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.capability,
.tool {
  border-top: 1px solid var(--line);
  padding: 14px 0 6px;
}

.capability strong,
.tool strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-family: var(--headline);
  font-weight: 400;
  font-size: 22px;
}

.capability span,
.tool span {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.5;
}

.badge {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
}

.deliverable-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
  padding: 92px 48px;
}

.deliverable-band > * {
  max-width: 820px;
}

.deliverable-band h2,
.contact-section h2,
.workbench-hero h1 {
  margin: 20px 0 0;
  max-width: 860px;
  font-family: var(--headline);
  font-weight: 400;
  font-size: clamp(42px, 5.8vw, 86px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  width: 100%;
  max-width: 940px;
  margin: 4px 0 0;
}

.deliverable-card {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(198, 161, 91, 0.22);
  background:
    linear-gradient(145deg, rgba(242, 238, 230, 0.045), rgba(198, 161, 91, 0.025)),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.deliverable-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 176, 104, 0.62), transparent);
}

.deliverable-card.primary {
  min-height: 292px;
  background:
    radial-gradient(circle at 18% 16%, rgba(212, 176, 104, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(242, 238, 230, 0.065), rgba(198, 161, 91, 0.035)),
    var(--panel-strong);
}

.deliverable-card.wide {
  grid-column: span 2;
  min-height: 190px;
}

.deliverable-card span {
  color: rgba(212, 176, 104, 0.86);
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.28em;
}

.deliverable-card h3 {
  margin: 70px 0 0;
  max-width: 430px;
  color: var(--ink);
  font-family: var(--headline);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.98;
}

.deliverable-card p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(242, 238, 230, 0.46);
  font-size: 16px;
  line-height: 1.6;
}

.contact-section {
  display: grid;
  justify-items: center;
  padding: 116px 24px 132px;
  text-align: center;
}

.contact-section p:not(.kicker) {
  max-width: 680px;
  margin: 34px auto 0;
  color: rgba(242, 238, 230, 0.36);
  font-size: 18px;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}

.workbench-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  padding: 92px 48px 70px;
  border-bottom: 1px solid var(--line);
}

.workbench-hero .hero-copy {
  margin-left: 0;
  text-align: left;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 48px;
}

.utility-grid article:first-child {
  grid-row: span 2;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 0 24px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: rgba(198, 161, 91, 0.42);
}

.site-footer p:last-child {
  justify-self: end;
  color: var(--gold);
}

.legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.legal-links a {
  color: rgba(198, 161, 91, 0.58);
  font-family: var(--caps);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 11px;
  transition: color 180ms ease;
}

.legal-links a:hover {
  color: var(--gold-soft);
}

.legal-page {
  min-height: calc(100dvh - 156px);
  padding: 118px 24px 130px;
  text-align: center;
}

.legal-page h1 {
  margin: 28px auto 0;
  max-width: 840px;
  font-family: var(--headline);
  font-weight: 400;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.legal-copy {
  display: grid;
  gap: 22px;
  max-width: 760px;
  margin: 70px auto 0;
  color: rgba(242, 238, 230, 0.42);
  font-size: 18px;
  line-height: 1.75;
}

.legal-copy p {
  margin: 0;
}

@media (max-width: 960px) {
  .site-nav {
    position: static;
    grid-template-columns: 1fr;
    height: auto;
    padding: 24px 20px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    max-width: calc(100vw - 40px);
    justify-content: start;
    flex-wrap: wrap;
    gap: 22px;
  }

  .nav-links a,
  .language-switch,
  .outline-cta {
    letter-spacing: 0.26em;
    font-size: 10px;
  }

  .hero {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 72px 20px 96px;
    overflow: hidden;
  }

  .hero > * {
    width: min(300px, calc(100vw - 48px));
    max-width: min(300px, calc(100vw - 48px));
    min-width: 0;
  }

  .hero .kicker {
    letter-spacing: 0.2em;
    font-size: 10px;
    line-height: 1.5;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.08;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
  }

  .hero h1 span,
  .hero h1 em {
    max-width: 100%;
  }

  .hero-copy {
    width: min(300px, calc(100vw - 64px));
    max-width: min(300px, calc(100vw - 64px));
    margin-left: auto;
    margin-right: auto;
    color: rgba(242, 238, 230, 0.68);
    font-size: 15px;
    line-height: 1.58;
    overflow-wrap: break-word;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 34px;
  }

  .hero-proof article {
    border-right: 0;
    border-bottom: 1px solid rgba(198, 161, 91, 0.18);
  }

  .hero-proof article:last-child {
    border-bottom: 0;
  }

  .section-heading,
    .product-grid,
    .feature-grid,
    .process-list,
    .sample-preview,
    .sample-report-body,
    .plan-grid,
    .trust-grid,
    .deliverable-band,
    .workbench-hero,
    .utility-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-section,
  .narrative-section,
  .sample-section,
  .plans-section,
  .trust-section,
  .deliverable-band,
  .contact-section,
  .utility-grid {
    padding: 54px 20px;
  }

  .console-head,
  .form-row,
  .result-head,
  .result-export-actions,
  .hero-actions,
  .sample-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer p:last-child {
    justify-self: start;
  }

  .legal-links {
    justify-content: start;
    flex-wrap: wrap;
  }

  .deliverable-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .deliverable-card,
  .deliverable-card.primary,
  .deliverable-card.wide {
    grid-column: 1;
    min-height: auto;
  }

  .deliverable-card h3 {
    margin-top: 58px;
  }

  .app-shell {
    display: block;
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
    height: auto;
    gap: 20px;
  }

  .app-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
  }

  .app-sidebar-foot {
    grid-template-columns: repeat(3, max-content);
    gap: 16px;
  }

  .app-main {
    padding: 20px;
  }

  .app-topbar,
  .app-top-actions,
  .two-columns,
  .pipeline-strip {
    grid-template-columns: 1fr;
    display: grid;
  }

  .source-intelligence-grid,
  .source-summary,
  .source-signal-columns,
  .source-lists {
    grid-template-columns: 1fr;
  }

  .source-panel {
    position: static;
  }

  .sample-card,
  .sample-lines {
    min-height: auto;
  }

  .sample-report-body {
    padding: 0 20px 54px;
  }

  .sample-report-meta {
    position: static;
  }

  .sample-report-paper {
    padding: 26px;
  }

  .sample-report-paper section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sample-report-paper p,
  .sample-report-paper ul {
    grid-column: 1;
  }

  .sample-verdict,
  .sample-report-table,
  .sample-report-table.three-column,
  .case-grid,
  .quality-gate {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .app-body .capability,
  .app-body .tool,
  .result-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .app-sidebar {
    padding: 24px 20px;
  }

  .app-main {
    padding: 20px 24px 20px 14px;
    overflow: hidden;
  }

  .sample-metrics {
    grid-template-columns: 1fr;
  }

  .sample-card,
  .sample-lines,
  .sample-report-paper,
  .sample-report-meta {
    padding: 22px;
  }

  .sample-card h3 {
    margin-top: 54px;
  }

  .sample-lines p {
    font-size: 27px;
  }

  .deliverable-card {
    padding: 22px;
  }

  .deliverable-card h3 {
    font-size: 30px;
  }

  .app-section,
  .app-grid,
  .two-columns,
  .software-form,
  .software-panel,
  .result-panel,
  .app-status {
    width: 100%;
    max-width: 100%;
  }

  .software-panel,
  .result-panel,
  .app-status {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .software-form textarea,
  .software-form input,
  .software-form button {
    width: calc(100vw - 92px);
    max-width: calc(100vw - 92px);
  }

  .app-topbar h1 {
    font-size: clamp(34px, 9.5vw, 38px);
    line-height: 1.02;
  }

  .software-panel,
  .system-panel {
    padding: 22px 16px;
  }

  .result-card {
    padding: 16px;
  }

  .app-body textarea,
  .app-body input {
    font-size: 15px;
  }
}
