/* Shared industry architecture pages */
:root {
  --navy: #080e1a;
  --blue: #3b82f6;
  --blue-light: #93c5fd;
  --white: #f0f4ff;
  --muted: #64748b;
  --border: rgba(255,255,255,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
a { color: inherit; }
a:link, a:visited { color: inherit; }
body {
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: max(18px, env(safe-area-inset-top, 0px)) 48px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(8,14,26,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
nav.nav--demo {
  justify-content: flex-start;
}
nav.nav--demo .nav-home {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.25rem;
}
nav [data-tc-nav] {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 0.5rem 0.75rem;
  flex: 1 1 auto; justify-content: flex-end; min-width: 0;
}
nav .tc-nav-links,
nav .site-nav-links {
  flex-wrap: nowrap !important;
}
.nav-home {
  font-size: 20px; font-weight: 700; letter-spacing: -0.04em;
  color: #e2e8f0; text-decoration: none; line-height: 1;
}
.nav-home span { color: var(--blue); }
.page { max-width: 920px; margin: 0 auto; padding: calc(5.75rem + env(safe-area-inset-top, 0px)) 1.5rem 4rem; }
.eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 0.85rem;
}
h1 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 0.65rem;
}
.lede { color: #94a3b8; font-size: 1.02rem; max-width: 40rem; margin-bottom: 0.75rem; }
.lede strong { color: #e2e8f0; font-weight: 600; }
.note {
  margin: 1.25rem 0 1.75rem;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(96,165,250,0.28);
  background: rgba(37,99,235,0.08);
  font-size: 0.92rem;
  color: #cbd5e1;
}
.note strong { color: #f8fafc; }
.arch-ui {
  padding: 1.35rem 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.2);
  background: linear-gradient(180deg, #0b1628 0%, #101f35 100%);
  box-shadow: 0 20px 40px rgba(0,0,0,0.28);
  margin-bottom: 2rem;
}
.arch-owner {
  font-size: 0.65rem; font-weight: 750; letter-spacing: 0.12em;
  text-transform: uppercase; color: #94a3b8; margin-bottom: 0.45rem;
}
.arch-owner--tek { color: #93c5fd; text-align: center; }
.arch-zone {
  padding: 0.85rem 0.75rem; border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(15,23,42,0.28); margin-bottom: 0.15rem;
}
.arch-zone--tek {
  border-color: rgba(37,99,235,0.35);
  background: rgba(37,99,235,0.06);
}
.arch-zone-label {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.35rem 1rem;
  margin-bottom: 0.55rem;
}
.arch-zone-label strong {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #93c5fd; font-weight: 700;
}
.arch-zone-label span { font-size: 0.78rem; color: #94a3b8; }
.arch-tiles, .arch-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.arch-tile, .arch-chip {
  font-size: 0.72rem; font-weight: 600; color: #e2e8f0;
  padding: 0.38rem 0.6rem; border-radius: 7px;
  border: 1px solid rgba(148,163,184,0.22);
  background: rgba(30,41,59,0.65);
}
.arch-chip { border-radius: 999px; color: #cbd5e1; background: rgba(15,23,42,0.55); }
.arch-flow {
  text-align: center; margin: 0.7rem 0; color: #64748b;
  font-size: 0.62rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
}
.arch-flow .arr { display: block; color: #60a5fa; opacity: 0.7; font-size: 0.9rem; margin-top: 0.15rem; }
.arch-runtime {
  text-align: center; padding: 1rem;
  border-radius: 12px; border: 1px solid rgba(37,99,235,0.5);
  background: rgba(37,99,235,0.1);
}
.arch-runtime-name { font-size: 1.1rem; font-weight: 750; color: #f8fafc; margin-bottom: 0.3rem; }
.arch-runtime-pipe {
  font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em;
  text-transform: uppercase; color: #93c5fd; margin-bottom: 0.65rem;
}
.arch-outcomes { display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }
.arch-outcome {
  font-size: 0.72rem; font-weight: 750; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 7px; border: 1px solid transparent;
}
.arch-outcome--allow { color: #bbf7d0; background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.35); }
.arch-outcome--pause { color: #fde68a; background: rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.4); }
.arch-outcome--block { color: #fecaca; background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.35); }
.arch-sor {
  text-align: center; padding: 0.85rem 0.75rem; border-radius: 10px;
  border: 1px dashed rgba(148,163,184,0.3); background: rgba(15,23,42,0.4);
}
.arch-sor-systems { font-size: 0.82rem; color: #e2e8f0; font-weight: 550; margin: 0.35rem 0; }
.arch-sor-note { font-size: 0.72rem; color: #64748b; }
.example {
  margin-top: 0.5rem; padding: 1.15rem 1.2rem; border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.18); background: rgba(15,23,42,0.4);
}
.example h2 { font-size: 1.05rem; margin-bottom: 0.55rem; }
.example p { color: #94a3b8; font-size: 0.92rem; margin-bottom: 0.45rem; }
.example .result { color: #fde68a; font-weight: 650; }
.ce {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.4rem; align-items: center; text-align: center;
  margin: 1.25rem 0; padding: 0.85rem; border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.16); background: rgba(15,23,42,0.35);
}
.ce strong { display: block; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; margin-bottom: 0.2rem; }
.ce span { font-size: 0.78rem; color: #cbd5e1; font-weight: 600; }
.ce .arr { color: #60a5fa; opacity: 0.65; }
@media (max-width: 640px) {
  nav { padding: max(14px, env(safe-area-inset-top, 0px)) 16px 14px; }
  .page { padding: calc(5.25rem + env(safe-area-inset-top, 0px)) 1rem 3rem; }
  .ce { grid-template-columns: 1fr; }
  .ce .arr { transform: rotate(90deg); }
  .industry-selector {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.45rem;
    margin: 1rem 0 1.35rem;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }
  .industry-selector::-webkit-scrollbar { display: none; }
  .scenario-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .scenario-card {
    padding: 0.95rem 1rem;
  }
  .links { flex-direction: column; align-items: stretch; }
  .links a { text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; }
}
.links { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.links a {
  text-decoration: none; font-size: 0.8rem; font-weight: 650;
  padding: 0.55rem 0.9rem; border-radius: 6px;
  border: 1px solid rgba(148,163,184,0.25); color: #cbd5e1;
}
.links a.primary { background: #0891b2; border-color: #0891b2; color: #fff; }
.disclaimer { margin-top: 1.5rem; font-size: 0.82rem; color: #64748b; max-width: 40rem; line-height: 1.55; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; margin-top: 1.5rem; }
@media (max-width: 800px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  display: block; text-decoration: none; color: inherit;
  padding: 1.1rem 1.15rem; border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.18); background: rgba(15,23,42,0.35);
}
.hub-card:hover { border-color: rgba(96,165,250,0.45); }
.hub-card h2 { font-size: 1rem; margin-bottom: 0.4rem; color: #f8fafc; }
.hub-card p { font-size: 0.85rem; color: #94a3b8; margin: 0; }
.page--wide { max-width: 1040px; }
.industry-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 1.25rem 0 1.75rem;
}
.industry-chip {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
}
.industry-chip:hover,
.industry-chip:focus-visible {
  color: #fff;
  border-color: rgba(59,130,246,0.5);
  background: rgba(37,99,235,0.14);
  outline: none;
}
.industry-chip.active {
  color: #fff;
  border-color: rgba(59,130,246,0.55);
  background: rgba(37,99,235,0.22);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.15);
}
.scenario-stage {
  margin-top: 0.25rem;
  scroll-margin-top: calc(5.5rem + env(safe-area-inset-top, 0px));
}
.industry-active-header {
  margin-bottom: 1rem;
}
.industry-active-header h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.35rem;
}
.view-all-btn {
  margin-top: 0.85rem;
  font-family: Manrope, sans-serif;
  font-size: 0.82rem;
  font-weight: 650;
  color: #67e8f9;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
  text-align: left;
}
.view-all-btn:hover,
.view-all-btn:focus-visible {
  color: #bae6fd;
  outline: none;
  text-decoration: underline;
}
.scenario-expand-wrap { margin-bottom: 0.5rem; }
.domain-count {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}
.catalog-summary {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 1rem;
}
.scenario-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.75rem;
}
.scenario-list li { list-style: none; margin: 0; padding: 0; }
.scenario-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.05rem;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.2);
  background: rgba(15,23,42,0.45);
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.scenario-card:hover,
.scenario-card:focus-visible {
  border-color: rgba(59,130,246,0.4);
  background: rgba(37,99,235,0.1);
  outline: none;
}
.scenario-card__title {
  display: block;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.4;
  margin: 0;
}
.scenario-card__meta {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}
.scenario-card__cta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #67e8f9;
}
.scenario-card:hover .scenario-card__cta,
.scenario-card:focus-visible .scenario-card__cta {
  color: #bae6fd;
}
/* Legacy list anchor support if cached HTML */
.scenario-list a:not(.scenario-card) {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(15,23,42,0.35);
}
.scenario-list a:not(.scenario-card) strong {
  display: block;
  color: #f1f5f9;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.scenario-list a:not(.scenario-card) span {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}
@media (min-width: 900px) {
  .scenario-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.domain-catalog {
  margin-top: 0.75rem;
}
.domain-picker {
  margin-top: 1.25rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(15,23,42,0.35);
}
.domain-picker__label {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.45rem;
}
.domain-picker__select {
  width: 100%;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #020617 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 0.72rem 2.25rem 0.72rem 0.85rem;
  color: #f1f5f9;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.domain-picker__select:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.domain-picker__hint {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  max-width: 40rem;
}
.domain-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}
.domain-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.22);
  background: rgba(2,6,23,0.55);
  color: #cbd5e1;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.domain-chip:hover {
  border-color: rgba(96,165,250,0.45);
  color: #f1f5f9;
}
.domain-chip:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.domain-chip.is-active {
  border-color: rgba(59,130,246,0.65);
  background: rgba(37,99,235,0.18);
  color: #f8fafc;
}
@media (min-width: 900px) {
  .domain-chips {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 0.5rem;
  }
  .domain-picker__select {
    max-width: 420px;
  }
}
.domain-feature-block {
  padding-bottom: 0;
  border-bottom: none;
  scroll-margin-top: 5.5rem;
}
.domain-feature-block__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.65rem;
}
.domain-feature-card {
  padding: 1rem 1.05rem;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.2);
  background: rgba(15,23,42,0.45);
}
.domain-feature-card__name {
  display: block;
  font-size: 1rem;
  color: #f1f5f9;
  margin-bottom: 0.35rem;
}
.domain-feature-card__sentence {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.domain-feature-card__cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #67e8f9;
  text-decoration: none;
}
.domain-feature-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: #64748b;
}
.domain-feature-more__unlock {
  background: none;
  border: none;
  color: #93c5fd;
  font-weight: 650;
  cursor: pointer;
  font-size: 0.82rem;
  padding: 0;
}
.domain-extra-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.domain-extra-list--free {
  margin-top: 0.85rem;
}
.domain-extra-list.hidden { display: none; }
.scenario-card--compact { padding: 0.85rem 1rem; }
.unlock-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3,7,18,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.unlock-modal[hidden] { display: none !important; }
.unlock-modal__panel {
  width: min(420px, 100%);
  background: #0a1020;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 1.25rem;
  position: relative;
}
.unlock-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
}
.unlock-modal h2 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.unlock-modal__lede { color: #94a3b8; font-size: 0.9rem; margin-bottom: 1rem; }
.unlock-modal label { display: block; font-size: 11px; color: #64748b; margin: 0.5rem 0 0.25rem; }
.unlock-modal input {
  width: 100%;
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}
.unlock-modal__btn {
  margin-top: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  border: 1px solid #334155;
  background: transparent;
  color: #cbd5e1;
  font-weight: 650;
  cursor: pointer;
  font-size: 0.82rem;
}
.unlock-modal__btn--primary { background: #0891b2; border-color: #0891b2; color: #fff; }
.unlock-modal__hint { font-size: 0.78rem; color: #64748b; margin-top: 0.75rem; line-height: 1.5; }
.unlock-modal__hint a { color: #93c5fd; }
.unlock-modal__err { color: #fca5a5; font-size: 0.85rem; margin-top: 0.5rem; }
