/* ============================================================================
   FINCO PROTOCOL — Protocol Shell  ·  static/css/protocol-shell.css
   Shared navigation and all protocol-surface styles.
   Consumes design tokens from tokens.css via --fo-* variables.
   ========================================================================== */

/* ─── Protocol Nav ─────────────────────────────────────────────────────────── */

.proto-nav {
  background: #0b1117;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--fo-font-ui);
  position: sticky;
  top: 0;
  z-index: 200;
}

.proto-nav__inner {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  gap: var(--fo-s5);
  max-width: 1400px;
  margin: 0 auto;
}

.proto-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.proto-nav__brand-wordmark {
  font-size: 13px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.proto-nav__brand-wordmark span {
  color: #3fb8af;
}

.proto-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.proto-nav__link {
  font-size: 12.5px;
  font-weight: var(--fo-weight-medium);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 3px;
  letter-spacing: 0.01em;
  transition: color 100ms ease, background 100ms ease;
  white-space: nowrap;
}

.proto-nav__link:hover,
.proto-nav__link:focus {
  color: #ffffff;
  background: rgba(255,255,255,0.07);
  outline: none;
}

.proto-nav__link--active {
  color: #ffffff;
  background: rgba(255,255,255,0.09);
}

.proto-nav__badge {
  font-size: 9px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a55c;
  border: 1px solid rgba(201,165,92,0.5);
  border-radius: 2px;
  padding: 1px 5px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Placeholder nav items — non-interactive future product areas */
.proto-nav__link--placeholder {
  cursor: default;
  color: rgba(255,255,255,0.28);
  user-select: none;
}

.proto-nav__link--placeholder:hover,
.proto-nav__link--placeholder:focus {
  color: rgba(255,255,255,0.28);
  background: transparent;
}

.proto-nav__soon {
  font-size: 8px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201,165,92,0.7);
  border: 1px solid rgba(201,165,92,0.3);
  border-radius: 2px;
  padding: 1px 4px;
  margin-left: 5px;
  vertical-align: middle;
}

.proto-nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--fo-s2);
  flex-shrink: 0;
}

.proto-nav__signout {
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 4px 12px;
  cursor: pointer;
  font-family: var(--fo-font-ui);
  letter-spacing: 0.01em;
  transition: color 100ms ease, border-color 100ms ease;
  white-space: nowrap;
}

.proto-nav__signout:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.30);
}

/* ─── Protocol Home ─────────────────────────────────────────────────────────── */

.proto-home {
  min-height: calc(100vh - 48px);
  background: #f9fafb;
  font-family: var(--fo-font-ui);
}

/* ── Hero ── */

.proto-home__hero {
  background: #ffffff;
  border-bottom: 1px solid #e2e6ec;
}

.proto-home__hero-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 56px 32px 56px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: start;
}

.proto-home__hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Hero brand logo — approved FINCO mark above the eyebrow */
.proto-home__hero-brand {
  margin-bottom: 24px;
}

.proto-home__hero-logo {
  height: 52px;
  width: auto;
  display: block;
}

.proto-home__eyebrow {
  font-size: 11px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3fb8af;
  margin: 0 0 20px;
  padding-left: 10px;
  border-left: 2px solid #3fb8af;
}

.proto-home__title {
  font-size: 48px;
  font-weight: var(--fo-weight-bold);
  color: #0c1117;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.proto-home__tagline {
  font-size: 16px;
  font-weight: var(--fo-weight-regular);
  color: #374151;
  margin: 0 0 28px;
  line-height: 1.55;
  max-width: 460px;
}

.proto-home__proposition {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 36px;
}

.proto-home__prop-item {
  font-size: 13.5px;
  font-weight: var(--fo-weight-medium);
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.005em;
}

.proto-home__prop-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3fb8af;
  flex-shrink: 0;
}

.proto-home__supporting {
  font-size: 12.5px;
  color: #9ca3af;
  margin: 0 0 40px;
  font-style: italic;
}

.proto-home__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.proto-cta {
  font-size: 13.5px;
  font-weight: var(--fo-weight-semibold);
  text-decoration: none;
  border-radius: 3px;
  padding: 10px 20px;
  letter-spacing: 0.01em;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  white-space: nowrap;
  display: inline-block;
}

.proto-cta--primary {
  background: #3fb8af;
  color: #0b1a19;
  border: 1px solid transparent;
}

.proto-cta--primary:hover {
  background: #35a09a;
}

.proto-cta--secondary {
  background: transparent;
  color: #111827;
  border: 1px solid #d1d5db;
}

.proto-cta--secondary:hover {
  border-color: #9ca3af;
  background: #f3f4f6;
}

.proto-cta--tertiary {
  background: transparent;
  color: #6b7280;
  border: none;
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: var(--fo-weight-medium);
}

.proto-cta--tertiary:hover {
  color: #374151;
}

/* ── Product Capability Split — replaces illustrative composite ── */

.proto-capability-split {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
}

.proto-capability-card {
  padding: 20px 22px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proto-capability-card:last-child { border-bottom: none; }

.proto-capability-card--dark {
  background: #0f1318;
  border-bottom-color: #1e2530;
}

.proto-capability-card__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 2px;
}

.proto-capability-card__label--teal { color: #3fb8af; }

.proto-capability-card__headline {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.005em;
  margin: 0;
}

.proto-capability-card--dark .proto-capability-card__headline { color: #d7dee5; }

.proto-capability-card__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proto-capability-card__list li {
  font-size: 12px;
  color: #6b7280;
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.proto-capability-card--dark .proto-capability-card__list li { color: #7d8a96; }

.proto-capability-card__list li::before {
  content: '·';
  position: absolute;
  left: 3px;
  color: #3fb8af;
  font-weight: 700;
}

.proto-capability-card__cta {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  margin-top: 6px;
  display: inline-block;
  letter-spacing: 0.01em;
  transition: color 100ms ease;
}

.proto-capability-card__cta:hover { color: #111827; }

.proto-capability-card__cta--teal { color: #3fb8af; }
.proto-capability-card__cta--teal:hover { color: #35a09a; }

.proto-capability-card__badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a55c;
  border: 1px solid rgba(201,165,92,0.45);
  border-radius: 2px;
  padding: 2px 6px;
  display: inline-block;
  margin-top: 2px;
}

/* ── Product Composite Terminal (kept for backward compat) ── */

.proto-composite {
  background: #0f1318;
  border: 1px solid #1e2530;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.proto-composite__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #1e2530;
  background: #0c1015;
}

.proto-composite__title {
  font-size: 10px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4b6070;
  font-family: var(--fo-font-mono);
}

.proto-composite__tag {
  font-size: 9px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a55c;
  border: 1px solid rgba(201,165,92,0.4);
  border-radius: 2px;
  padding: 2px 6px;
}

.proto-composite__body {
  padding: 4px 0;
}

.proto-composite__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: baseline;
}

.proto-composite__row:last-child {
  border-bottom: none;
}

.proto-composite__row--sep {
  border-top: 1px solid #1e2530;
  margin-top: 4px;
  padding-top: 11px;
}

.proto-composite__label {
  font-size: 11px;
  color: #5b6f80;
  font-family: var(--fo-font-mono);
  letter-spacing: 0.03em;
}

.proto-composite__value {
  font-size: 13px;
  font-weight: var(--fo-weight-medium);
  color: #d7dee5;
  font-family: var(--fo-font-mono);
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.proto-composite__value--teal  { color: #3fb8af; }
.proto-composite__value--gold  { color: #c9a55c; }
.proto-composite__value--neg   { color: #d07a6a; }
.proto-composite__value--green { color: #7fbf7f; }

.proto-composite__footer {
  padding: 8px 16px;
  border-top: 1px solid #1e2530;
  font-size: 10px;
  color: #3a4a57;
  font-family: var(--fo-font-mono);
  background: #0c1015;
}

/* ── Trust Strip ── */

.proto-trust {
  background: #f0f2f5;
  border-top: 1px solid #d9dde3;
  border-bottom: 1px solid #d9dde3;
  padding: 18px 32px;
}

.proto-trust__inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.proto-trust__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-right: 1px solid #e5e9ef;
  text-align: center;
}

.proto-trust__pillar:last-child {
  border-right: none;
}

.proto-trust__pillar-label {
  font-size: 10px;
  font-weight: var(--fo-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f2937;
}

.proto-trust__pillar-sub {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.4;
}

/* ── Architecture Section ── */

.proto-arch {
  padding: 64px 32px;
  background: #ffffff;
}

.proto-arch__inner {
  max-width: 1260px;
  margin: 0 auto;
}

.proto-arch__header {
  margin-bottom: 40px;
}

.proto-arch__eyebrow {
  font-size: 11px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3fb8af;
  margin-bottom: 12px;
}

.proto-arch__title {
  font-size: 24px;
  font-weight: var(--fo-weight-bold);
  color: #111827;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.proto-arch__brand-strip {
  font-size: 10.5px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0;
}

.proto-arch__products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #e5e9ef;
  border-radius: 4px;
  overflow: hidden;
}

.proto-arch__product {
  padding: 32px 28px;
  border-right: 1px solid #e5e9ef;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 120ms ease;
}

.proto-arch__product:last-child {
  border-right: none;
}

.proto-arch__product:hover {
  background: #f9fafb;
}

.proto-arch__product-num {
  font-size: 11px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.1em;
  color: #9ca3af;
}

.proto-arch__product-name {
  font-size: 15px;
  font-weight: var(--fo-weight-bold);
  color: #111827;
  letter-spacing: -0.01em;
  margin: 0;
}

.proto-arch__product-name--teal { color: #2a8a85; }

.proto-arch__product-headline {
  font-size: 12px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.04em;
  color: #374151;
  margin: -4px 0 4px;
  text-transform: uppercase;
  font-style: italic;
}

.proto-arch__product-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.proto-arch__product-readonly {
  font-size: 10px;
  font-weight: var(--fo-weight-bold);
  letter-spacing: 0.1em;
  color: #c9a55c;
  display: inline-block;
  margin-left: 2px;
}

.proto-arch__product-link {
  font-size: 12px;
  font-weight: var(--fo-weight-semibold);
  color: #3fb8af;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.proto-arch__product--readonly .proto-arch__product-link::after {
  content: 'READ-ONLY';
  font-size: 9px;
  font-weight: var(--fo-weight-bold);
  letter-spacing: 0.1em;
  color: #c9a55c;
  border: 1px solid rgba(201,165,92,0.5);
  border-radius: 2px;
  padding: 1px 5px;
  margin-left: 4px;
}

/* ─── Verify Surface ─────────────────────────────────────────────────────────── */

.proto-verify {
  min-height: calc(100vh - 48px);
  background: #f9fafb;
  font-family: var(--fo-font-ui);
  padding: 48px 32px;
  max-width: 960px;
  margin: 0 auto;
}

.proto-verify__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e9ef;
}

.proto-verify__eyebrow {
  font-size: 11px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3fb8af;
  margin: 0 0 12px;
}

.proto-verify__title {
  font-size: 24px;
  font-weight: var(--fo-weight-bold);
  color: #0c1117;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}

.proto-verify__desc {
  font-size: 13.5px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
}

.proto-verify__schema {
  font-size: 11px;
  font-family: var(--fo-font-mono);
  color: #9ca3af;
  margin-top: 12px;
}

.proto-verify__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: var(--fo-weight-semibold);
  padding: 12px 16px;
  border-radius: 3px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.proto-verify__status--ok {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.proto-verify__status--err {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.proto-verify__cases {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #e5e9ef;
  border: 1px solid #e5e9ef;
  border-radius: 4px;
  overflow: hidden;
}

.proto-verify__case {
  background: #ffffff;
  padding: 11px 16px 11px 18px;
  border-left: 3px solid #e5e9ef;
}

.proto-verify__case:has(.proto-verify__case-ok) {
  border-left-color: #a7f3d0;
}

.proto-verify__case:has(.proto-verify__case-err) {
  border-left-color: #fecaca;
}

.proto-verify__case:first-child {
  border-radius: 3px 3px 0 0;
}

.proto-verify__case:last-child {
  border-radius: 0 0 3px 3px;
}

.proto-verify__case-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.proto-verify__case-id {
  font-size: 12.5px;
  font-weight: var(--fo-weight-semibold);
  font-family: var(--fo-font-mono);
  color: #0c1117;
  letter-spacing: 0.01em;
}

.proto-verify__case-surface {
  font-size: 10.5px;
  font-weight: var(--fo-weight-medium);
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e9ef;
  border-radius: 2px;
  padding: 1px 6px;
  font-family: var(--fo-font-mono);
}

.proto-verify__case-ok {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #047857;
}

.proto-verify__case-err {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: var(--fo-weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b91c1c;
}

.proto-verify__case-meta {
  font-size: 11px;
  color: #9ca3af;
  font-family: var(--fo-font-mono);
}

.proto-verify__digest {
  margin-top: 24px;
  padding: 14px 16px;
  background: #0f1318;
  border: 1px solid #1e2530;
  border-radius: 3px;
}

.proto-verify__digest-label {
  font-size: 9.5px;
  font-weight: var(--fo-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4b6070;
  margin-bottom: 8px;
  font-family: var(--fo-font-mono);
}

.proto-verify__digest-value {
  font-size: 12px;
  font-family: var(--fo-font-mono);
  color: #7fbf7f;
  word-break: break-all;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.proto-verify__error {
  font-size: 13px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 4px;
  padding: 16px;
  font-family: var(--fo-font-mono);
}

/* ── API Discovery Strip (home page) ── */

.proto-api-strip {
  background: #f0f2f5;
  border-top: 1px solid #d9dde3;
  border-bottom: 1px solid #d9dde3;
  padding: 14px 32px;
}

.proto-api-strip__inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.proto-api-strip__content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.proto-api-strip__label {
  font-size: 12px;
  font-weight: var(--fo-weight-semibold);
  color: #374151;
  letter-spacing: 0.02em;
}

.proto-api-strip__badge {
  font-size: 9px;
  font-weight: var(--fo-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a56db;
  border: 1px solid rgba(26,86,219,0.4);
  border-radius: 2px;
  padding: 1px 5px;
}

.proto-api-strip__desc {
  font-size: 12px;
  color: #6b7280;
}

.proto-api-strip__cta {
  font-size: 12px;
  font-weight: var(--fo-weight-semibold);
  color: #1a56db;
  text-decoration: none;
  white-space: nowrap;
  transition: color 100ms ease;
}

.proto-api-strip__cta:hover {
  color: #1347b8;
  text-decoration: underline;
}

/* ─── Radar Surface — terminal enhancements ──────────────────────────────────── */

/* Summary metrics row shown above panels when a snapshot is loaded */
.radar-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #232b33;
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #161b21;
}

.radar-summary__cell {
  padding: 12px 14px;
  border-right: 1px solid #232b33;
}

.radar-summary__cell:last-child {
  border-right: none;
}

.radar-summary__label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4b6070;
  margin-bottom: 5px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.radar-summary__value {
  font-size: 20px;
  font-weight: 700;
  color: #3fb8af;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.radar-summary__value--unavail {
  font-size: 12px;
  color: #4b6070;
  font-weight: 400;
}

.radar-summary__value--neg { color: #d07a6a; }
.radar-summary__value--gold { color: #c9a55c; }

.radar-summary__sub {
  font-size: 10px;
  color: #4b6070;
  font-family: "SFMono-Regular", Consolas, monospace;
  margin-top: 3px;
}

/* Asset identity header enhancement */
.radar-asset-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  background: #0e1319;
  border-bottom: 1px solid #1e2530;
}

.radar-asset-header__primary {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.radar-asset-header__symbol {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #d7dee5;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.radar-asset-header__chain {
  font-size: 11px;
  color: #4b6070;
  font-family: "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.05em;
}

.radar-asset-header__state {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radar-state-chip {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 3px 7px;
}

.radar-state-chip--ok {
  background: rgba(127,191,127,0.15);
  color: #7fbf7f;
  border: 1px solid rgba(127,191,127,0.3);
}

.radar-state-chip--partial {
  background: rgba(201,165,92,0.12);
  color: #c9a55c;
  border: 1px solid rgba(201,165,92,0.3);
}

.radar-state-chip--unavail {
  background: rgba(208,122,106,0.12);
  color: #d07a6a;
  border: 1px solid rgba(208,122,106,0.3);
}

.radar-state-chip--readonly {
  background: rgba(201,165,92,0.10);
  color: #c9a55c;
  border: 1px solid rgba(201,165,92,0.35);
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .proto-home__hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 24px 40px;
    gap: 40px;
  }

  .proto-home__title {
    font-size: 32px;
  }

  .proto-arch__products {
    grid-template-columns: 1fr;
  }

  .proto-arch__product {
    border-right: none;
    border-bottom: 1px solid #e5e9ef;
  }

  .proto-arch__product:last-child {
    border-bottom: none;
  }

  .proto-trust__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .proto-trust__pillar:nth-child(2) {
    border-right: none;
  }

  .proto-trust__pillar:nth-child(3),
  .proto-trust__pillar:nth-child(4) {
    border-top: 1px solid #e5e9ef;
    padding-top: 16px;
    margin-top: 4px;
  }

  .radar-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .radar-summary__cell:nth-child(2) {
    border-right: none;
  }

  .radar-summary__cell:nth-child(3),
  .radar-summary__cell:nth-child(4) {
    border-top: 1px solid #232b33;
  }
}

@media (max-width: 600px) {
  .proto-nav__inner {
    padding: 0 16px;
    height: auto;
    min-height: 48px;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: wrap;
  }

  .proto-nav__links {
    order: 3;
    width: 100%;
    padding-bottom: 8px;
    flex-wrap: wrap;
  }

  .proto-home__hero-inner {
    padding: 40px 16px 36px;
    gap: 36px;
  }

  .proto-home__title {
    font-size: 28px;
  }

  .proto-home__tagline {
    font-size: 15px;
  }

  .proto-trust {
    padding: 16px;
  }

  .proto-trust__inner {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .proto-trust__pillar {
    border-right: none;
  }

  .proto-arch {
    padding: 40px 16px;
  }

  .proto-verify {
    padding: 32px 16px;
  }

  .radar-summary {
    grid-template-columns: 1fr 1fr;
  }

  .radar-asset-header {
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }
}

/* ── 390 px — narrow phone ───────────────────────────────────────────────── */
@media (max-width: 420px) {
  /* Hide wordmark on very narrow phones; keep logo mark + links */
  .proto-nav__brand-wordmark {
    display: none;
  }

  .proto-home__hero-logo {
    height: 38px;
  }

  .proto-nav__link {
    padding: 4px 8px;
    font-size: 12px;
  }

  .proto-home__hero-inner {
    padding: 32px 16px 28px;
  }

  .proto-home__title {
    font-size: 26px;
  }

  .proto-composite {
    font-size: 12px;
  }

  .proto-verify {
    padding: 24px 16px;
  }
}

/* Secondary navigation ("More"): reachable but not an equal top-level product. */
.proto-nav__more { position: relative; margin-left: 4px; }
.proto-nav__more > summary { cursor: pointer; list-style: none; }
.proto-nav__more > summary::-webkit-details-marker { display: none; }
.proto-nav__more-menu {
  position: absolute; right: 0; top: 100%; z-index: 20; min-width: 200px;
  display: flex; flex-direction: column; gap: 2px; padding: 6px;
  background: var(--fo-surface, #0f1720); border: 1px solid var(--fo-border, #1f2a37); border-radius: 8px;
}
