/* VAKOYA — system fonts only, no external resources, no JS-dependent styling. */

:root {
  --bg: #06070a;
  --bg-elevated: #0a0c11;
  --surface: #0e1117;
  --surface-2: #161b24;
  --ink: #f3f5f8;
  --muted: #a3aab8;
  --muted-strong: #b9c0cd;
  --gold: #d8b567;
  --gold-deep: #ecd08a;
  --gold-soft: rgba(216, 181, 103, 0.12);
  --border: rgba(245, 247, 250, 0.1);
  --border-strong: rgba(245, 247, 250, 0.18);
  --dark-bg: var(--bg-elevated);
  --dark-fg: var(--ink);
  --dark-muted: var(--muted);
  --dark-border: var(--border-strong);
  --danger: #e5636b;
  --danger-dim: rgba(229, 99, 107, 0.14);
  --warn: #dba556;
  --warn-dim: rgba(219, 165, 86, 0.14);
  --ok: #6fbf9a;
  --ok-dim: rgba(111, 191, 154, 0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --max: 1200px;
  --font-mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(
    circle,
    rgba(245, 247, 250, 0.05) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul {
  margin: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

a:hover,
a:focus {
  border-bottom-color: currentColor;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
  border-bottom-color: transparent;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.rule-gold {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 16px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(6, 7, 10, 0.86);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}

/* Structured so a future <img class="brand-mark-logo"> can be inserted
   as the first child without further markup changes. */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: none;
}

.brand-mark-text {
  display: flex;
  flex-direction: column;
}

.brand-mark .wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.brand-mark .descriptor {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  padding: 12px 2px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--ink);
}

.site-nav .cta {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border-strong);
  font-weight: 600;
  min-height: 44px;
}

.site-nav .cta:hover,
.site-nav .cta:focus {
  border-color: var(--gold);
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: 900px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(216, 181, 103, 0.14) 0%,
    rgba(216, 181, 103, 0.04) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 72px;
}

/* Single-column hero variant (no product mockup) for pages without a
   right-column visual, e.g. the Core homepage. */
.hero-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-grid--single .hero-copy {
  max-width: 46em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 14px;
}

.hero-en-sub {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted-strong);
  margin-bottom: 26px;
}

.hero .sub {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted-strong);
  max-width: 34em;
  margin-bottom: 36px;
}

.archive-notice {
  max-width: 760px;
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  color: var(--ink);
  line-height: 1.75;
}

.archive-notice a {
  color: var(--gold-deep);
  font-weight: 700;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  border-bottom: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--gold-deep);
  box-shadow: 0 8px 24px -10px rgba(216, 181, 103, 0.5);
  transform: translateY(-1px);
  border-bottom: none;
}

.link-secondary {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border-strong);
}

.link-secondary:hover,
.link-secondary:focus {
  border-bottom-color: var(--ink);
}

.trust-line {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-line .item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
}

.trust-line .item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-block;
  flex: none;
}

.trust-line .label {
  font-weight: 700;
  color: var(--ink);
}

.trust-line .desc {
  color: var(--muted);
}

/* ---------- Hero visual: archived concept-page mockup ---------- */

.hero-visual {
  position: relative;
}

.product-ui {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 28px 64px -28px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.product-sidebar {
  flex: 0 0 112px;
  background: var(--bg);
  color: var(--ink);
  padding: 22px 16px;
}

.product-sidebar .sb-brand {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 26px;
}

.product-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
}

.product-sidebar nav span {
  color: var(--muted);
}

.product-sidebar nav span.active {
  color: var(--ink);
  font-weight: 700;
  position: relative;
  padding-left: 12px;
}

.product-sidebar nav span.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.product-main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 22px 24px 18px;
}

.product-main-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}

.product-block {
  margin-bottom: 16px;
}

.product-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.product-text {
  font-size: 13px;
  line-height: 1.7;
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--ink);
}

.product-block--suggested .product-text {
  background: var(--gold-soft);
  border-color: rgba(216, 181, 103, 0.35);
}

.product-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.product-flow .flow-arrow {
  color: var(--border-strong);
}

.product-flow .flow-human {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.person-icon {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: none;
}

.person-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.person-icon::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.5px;
  width: 12px;
  height: 6px;
  border-radius: 6px 6px 0 0;
  background: var(--muted);
}

.product-demo-note {
  margin-top: 12px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Evaluation Console (static, no JS) ---------- */

.eval-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.eval-console {
  margin-top: 32px;
  max-width: 640px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.7);
}

.eval-console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.eval-console-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.eval-console-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid rgba(216, 181, 103, 0.4);
  border-radius: 100px;
  padding: 3px 10px;
}

.eval-console-body {
  padding: 24px 22px 22px;
}

.eval-console-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.eval-case {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.eval-scenario {
  font-size: 14px;
  color: var(--muted);
}

.eval-field {
  margin-bottom: 15px;
}

.eval-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.eval-value {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.eval-value--bad {
  color: var(--danger);
}

.eval-status-row {
  display: flex;
  gap: 32px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.eval-field--inline {
  margin-bottom: 0;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.badge--high {
  background: var(--danger-dim);
  color: var(--danger);
}

.badge--fail {
  background: var(--danger-dim);
  color: var(--danger);
}

.eval-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Trust bar ---------- */

.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.trust-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-bar .item {
  padding: 28px 24px;
  border-left: 1px solid var(--border);
}

.trust-bar .item:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-bar .item-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  margin-bottom: 14px;
  position: relative;
}

.trust-bar .item-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.trust-bar .item-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 6px;
}

.trust-bar .item-desc {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Sections (generic) ---------- */

.section {
  padding: 88px 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- Differentiation / Purpose (text-focused sections) ---------- */

.text-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.text-section .section-title {
  max-width: 20em;
  margin-bottom: 20px;
}

.text-section .section-lead {
  font-size: 15.5px;
  color: var(--muted-strong);
  max-width: 42em;
  line-height: 1.9;
}

.compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 40px;
  margin-top: 36px;
  align-items: start;
}

.compare-divider {
  background: var(--border);
  align-self: stretch;
}

.compare-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.compare-label--accent {
  color: var(--gold);
}

.compare-list {
  list-style: none;
  padding: 0;
}

.compare-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14px;
  color: var(--ink);
  border-top: 1px solid var(--border);
}

.compare-list li:first-child {
  border-top: none;
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

.compare-col--accent .compare-list li::before {
  border-color: var(--gold);
}

.check-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 32px;
}

.check-list li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 14px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

/* ---------- Main content: Solution + Workflow row ---------- */

.main-content {
  padding: 56px 0 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 56px;
  padding-bottom: 56px;
}

.solution-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 28px;
}

.solution-points {
  border-top: 1px solid var(--border);
}

.solution-point {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink);
}

.solution-point .num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  padding-top: 1px;
}

/* Workflow */

.workflow-title {
  margin-bottom: 32px;
}

.workflow {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.workflow::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: var(--border-strong);
  z-index: 0;
}

.workflow .wf-step {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.workflow .wf-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  margin: 0 auto 18px;
  background: var(--bg-elevated);
}

.workflow .wf-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.workflow .wf-step p {
  font-size: 13px;
  color: var(--muted);
}

.workflow-note {
  margin-top: 36px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

/* Data section (elevated panel) */

.section--dark {
  background: var(--bg-elevated);
  color: var(--ink);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--dark .section-label {
  color: var(--gold);
}

.section--dark .section-title {
  color: var(--ink);
}

.section--dark .data-body {
  color: var(--muted-strong);
  max-width: 36em;
  margin: 20px 0 40px;
  font-size: 15.5px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
  margin-bottom: 40px;
}

.data-grid .data-item {
  padding: 20px 22px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  font-size: 14px;
  color: var(--ink);
}

.section--dark .link-secondary {
  color: var(--ink);
  border-bottom-color: var(--border-strong);
}

.section--dark .link-secondary:hover,
.section--dark .link-secondary:focus {
  border-bottom-color: var(--ink);
}

/* PoC */

.poc-section {
  padding: 72px 0 0;
}

.poc-frame {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.poc-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.poc-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.poc-audience {
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted-strong);
}

.price {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

.price-prefix {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.price .unit {
  font-size: 17px;
  font-weight: 600;
  margin-left: 4px;
  color: var(--muted);
}

.price-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  max-width: 48em;
  line-height: 1.75;
}

.poc-tagline {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.spec-table {
  border-top: 1px solid var(--border);
}

.spec-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 2px;
}

.spec-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
}

.spec-sublist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.spec-sublist span {
  white-space: nowrap;
}

.spec-sublist .sub-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-strong);
  margin-right: 6px;
}

.spec-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.spec-flow .flow-arrow {
  color: var(--border-strong);
}

.spec-note {
  font-size: 12px;
  color: var(--muted);
}

/* FAQ */

.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--border-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--border-strong);
}

.faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 50em;
  padding: 0 44px 22px 0;
  color: var(--muted-strong);
  font-size: 14.5px;
  line-height: 1.85;
}

/* Final CTA */

.cta-final {
  text-align: center;
  padding: 84px 0 96px;
}

.cta-final h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 16px;
}

.cta-final .sub {
  font-size: 15.5px;
  color: var(--muted-strong);
  max-width: 30em;
  margin: 0 auto 32px;
}

/* ---------- Policy pages ---------- */

.policy-hero {
  padding: 76px 0 56px;
  border-bottom: 1px solid var(--border);
}

.policy-hero h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  max-width: 16em;
}

.policy-hero .sub {
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
  max-width: 34em;
}

.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 68px 32px 96px;
}

.policy .intro {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 52px;
}

.policy section + section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.policy .item-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
}

.policy h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.policy p,
.policy ul {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.9;
}

.policy p + p {
  margin-top: 12px;
}

.policy ul {
  list-style: none;
  padding: 0;
}

.policy li {
  padding: 6px 0;
  color: var(--muted);
}

.policy a {
  border-bottom: 1px solid var(--border-strong);
}

.policy a:hover,
.policy a:focus {
  border-bottom-color: var(--ink);
}

.updated {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-elevated);
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.footer-brand .tagline {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.footer-col {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}

.footer-col .label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-strong);
  margin-bottom: 8px;
  display: block;
}

.footer-col a {
  color: var(--ink);
  border-bottom-color: var(--border-strong);
}

.footer-col a:hover,
.footer-col a:focus {
  border-bottom-color: var(--ink);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Section tonal banding ---------- */

.section--alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Hero product console (promoted hero visual) ---------- */

.hero-console {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
}

.hero-console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.hc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hc-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  border: 1px solid rgba(216, 181, 103, 0.4);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}

.hero-console-main {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.hc-sidebar {
  flex: 0 0 168px;
  padding: 20px 18px;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.hc-sidebar-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.hc-sidebar-sub {
  font-size: 11.5px;
  color: var(--muted-strong);
  margin-bottom: 20px;
}

.hc-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
}

.hc-stat:first-of-type {
  border-top: none;
}

.hc-stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}

.hc-stat-dot--pass {
  background: var(--ok);
}

.hc-stat-dot--review {
  background: var(--warn);
}

.hc-stat-dot--fail {
  background: var(--danger);
}

.hc-stat-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.hc-stat-name {
  font-size: 11.5px;
  color: var(--muted);
}

.hc-detail {
  flex: 1 1 auto;
  min-width: 0;
  padding: 20px 22px;
}

.hc-detail-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hc-case {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.hc-scenario {
  font-size: 13.5px;
  color: var(--muted-strong);
}

.hc-field {
  margin-bottom: 13px;
}

.hc-field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 5px;
}

.hc-field-value {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.hc-field-value--bad {
  color: var(--danger);
}

.hc-status-row {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hc-field--inline {
  margin-bottom: 0;
}

.hc-list {
  padding: 6px 20px;
}

.hc-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}

.hc-list-row:first-child {
  border-top: none;
}

.hc-list-case {
  font-family: var(--font-mono);
  color: var(--muted-strong);
}

.hc-list-row--active .hc-list-case {
  color: var(--ink);
  font-weight: 700;
}

.hero-console-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Badges (extended) ---------- */

.badge--med {
  background: var(--warn-dim);
  color: var(--warn);
}

.badge--low {
  background: rgba(163, 170, 184, 0.14);
  color: var(--muted-strong);
}

.badge--pass {
  background: var(--ok-dim);
  color: var(--ok);
}

.badge--review {
  background: var(--warn-dim);
  color: var(--warn);
}

.section-lede {
  margin-top: 18px;
  font-size: 15.5px;
  color: var(--muted-strong);
  max-width: 42em;
  line-height: 1.9;
}

/* ---------- Widescreen Failure Ledger ---------- */

.ledger-wrap {
  margin-top: 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow-x: auto;
  background: var(--surface);
}

.ledger {
  min-width: 720px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 0.55fr 1.5fr 1.5fr 0.8fr 0.9fr;
  gap: 16px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.ledger-row:last-child {
  border-bottom: none;
}

.ledger-row--head {
  background: rgba(255, 255, 255, 0.02);
}

.ledger-row--head span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.ledger-row:not(.ledger-row--head) span {
  font-size: 13.5px;
  color: var(--muted-strong);
}

.ledger-case {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 700;
}

.ledger-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Test matrix (What We Test) ---------- */

.test-matrix {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tm-item {
  background: var(--surface);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s ease;
}

.tm-item:hover {
  background: var(--surface-2);
}

.tm-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tm-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.tm-marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
}

.tm-code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.tm-desc {
  font-size: 13px;
  color: var(--muted-strong);
}

/* ---------- Target tags ---------- */

.target-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.target-tag {
  font-size: 12.5px;
  color: var(--muted-strong);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 7px 16px;
}

/* ---------- Problem / statement section ---------- */

.statement {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 20em;
}

.statement-desc {
  margin-top: 20px;
  font-size: 15.5px;
  color: var(--muted-strong);
  max-width: 38em;
  line-height: 1.9;
}

/* ---------- Founding Pilot: two-column ---------- */

.poc-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  padding: 8px 0 40px;
}

.poc-col-price .poc-label {
  margin-bottom: 14px;
}

.poc-meta {
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.poc-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.poc-meta-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.poc-meta-value {
  font-size: 14px;
  color: var(--ink);
  text-align: right;
}

.poc-col-deliverables {
  border-left: 1px solid var(--border);
  padding-left: 40px;
}

.poc-sub-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.poc-deliverables-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 24px;
}

.poc-deliverables-list li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.poc-deliverables-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.poc-cta-row {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ---------- Boundaries: compact technical panel ---------- */

.boundaries-section {
  padding: 80px 0;
}

.boundaries-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.boundary-block-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.boundary-block-desc {
  font-size: 14px;
  color: var(--muted-strong);
  line-height: 1.85;
  margin-bottom: 22px;
}

.data-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

.data-grid--compact .data-item {
  padding: 14px 16px;
  font-size: 13px;
}

.tech-panel {
  border-top: 1px solid var(--border-strong);
}

.tech-panel-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-strong);
}

.tech-panel-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  flex: none;
}

.tech-panel-text {
  font-size: 13.5px;
  color: var(--muted-strong);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 56px;
  }

  .hero {
    padding-top: 48px;
  }

  .site-nav {
    gap: 8px 14px;
    font-size: 13px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .compare-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .compare-divider {
    display: none;
  }

  .compare-col:last-of-type {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
  }

  .poc-intro {
    align-items: flex-start;
  }

  .spec-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .check-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .workflow::before {
    top: 0;
    bottom: 0;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .workflow .wf-step {
    text-align: left;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    align-items: start;
  }

  .workflow .wf-circle {
    margin: 0;
  }

  .data-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-bar .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-bar .item:nth-child(2n+1) {
    border-left: none;
    padding-left: 0;
  }

  .trust-bar .item:nth-child(1),
  .trust-bar .item:nth-child(2) {
    padding-top: 24px;
  }

  .trust-bar .item:nth-child(3),
  .trust-bar .item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .section {
    padding: 60px 0;
  }

  .main-content {
    padding-top: 44px;
  }

  .content-grid {
    padding-bottom: 44px;
  }

  .cta-final {
    padding: 60px 0 72px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .eval-console {
    max-width: none;
  }

  .poc-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .poc-col-deliverables {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 28px;
  }

  .boundaries-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .test-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .site-header .wrap {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .wrap {
    padding: 0 20px;
  }

  .trust-bar .wrap {
    padding: 0 20px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 4px 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .site-nav .cta {
    margin-left: 0;
  }

  .eval-status-row {
    gap: 20px;
  }

  .hero-console-main {
    flex-direction: column;
  }

  .hc-sidebar {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
    padding: 16px 18px;
  }

  .hc-sidebar-label,
  .hc-sidebar-sub {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .hc-stat {
    border-top: none;
    padding: 4px 0;
    flex: 1 1 auto;
    min-width: 84px;
  }

  .test-matrix {
    grid-template-columns: minmax(0, 1fr);
  }

  .poc-deliverables-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .poc-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .poc-meta-value {
    text-align: left;
  }
}
