/* VoltFabric AI — Precision Engineering */
:root {
  --bg: #16181d;
  --surface: #1c1f26;
  --fg: #f1f5f9;
  --muted: #94a3b8;
  --subtle: #64748b;
  --accent: #d97706;
  --copper: #b45309;
  --border: #334155;
  --logo: #e2e8f0;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 72rem;
  --header-h: 4rem;
  --ticker-h: 2.25rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, [role="button"] { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

h1, h2, h3 { text-wrap: balance; line-height: 1.15; font-weight: 600; }
p { text-wrap: pretty; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Ticker */
.ticker {
  height: var(--ticker-h);
  border-bottom: 1px solid var(--border);
  background: #0f1115;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--subtle);
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: tick 40s linear infinite;
}
.ticker strong { color: var(--accent); font-weight: 500; }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}
.site-header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--logo);
  flex-shrink: 0;
}
.logo svg { width: 1.15rem; height: 1.15rem; color: var(--accent); }
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.nav-desktop a { color: var(--muted); transition: color 0.15s; }
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--fg); }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--fg);
}
.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 0.75rem 1rem 1.25rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--fg);
}

@media (min-width: 900px) {
  .nav-desktop, .header-cta { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.125rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover { background: var(--copper); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Grid bg */
.site-grid {
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--border) 40%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--border) 40%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Sections */
.section { padding: 4.5rem 0; border-bottom: 1px solid var(--border); }
.section-sm { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
  margin-top: 1rem;
}
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.hero-badge span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.metric {
  background: var(--bg);
  padding: 1.5rem 1.25rem;
}
.metric .value {
  font-size: 1.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.metric .label {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metric { padding: 2rem 1.5rem; }
  .metric .value { font-size: 2rem; }
}

/* Cards / grids */
.grid-2 { display: grid; gap: 1rem; }
.grid-3 { display: grid; gap: 1rem; }
.grid-4 { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.card-accent {
  border-left: 3px solid var(--copper);
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.card p, .card li {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.card .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Stack layers */
.layer-row {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.layer {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--copper);
}
.layer .layer-id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
}
.layer strong { font-size: 1rem; }
.layer span { font-size: 0.9rem; color: var(--muted); }
@media (min-width: 768px) {
  .layer {
    grid-template-columns: 7rem 12rem 1fr;
    align-items: center;
    gap: 1rem;
  }
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
td { color: var(--fg); }
tr:last-child td { border-bottom: 0; }

/* Pricing */
.price-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--accent);
}
.price-card .tier {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.price-card h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
.price-card .price {
  font-size: 2rem;
  font-weight: 600;
  margin: 0.5rem 0 0.25rem;
}
.price-card .price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}
.price-card ul {
  margin: 1.25rem 0 1.5rem;
  flex: 1;
}
.price-card li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.price-card li:last-child { border-bottom: 0; }
.price-card li::before {
  content: "✓ ";
  color: var(--accent);
}

/* Quote */
.quote {
  border-left: 3px solid var(--copper);
  background: var(--surface);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.quote p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
}
.quote footer {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

/* Code */
pre {
  background: #0f1115;
  border: 1px solid var(--border);
  padding: 1.25rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-grid p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 20rem;
  margin-top: 0.75rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 2.25rem;
  display: flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--fg); }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--subtle);
  line-height: 1.7;
}

/* Stack schematic (home) */
.schematic {
  display: none;
  position: relative;
}
@media (min-width: 1000px) {
  .hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
  }
  .schematic {
    display: block;
  }
}
.schematic-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--subtle);
  margin-bottom: 1rem;
  text-align: right;
}
.schematic-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  position: relative;
  padding-left: 1.25rem;
}
.schematic-stack::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), #0d9488, var(--accent), #65a30d, var(--accent));
  opacity: 0.7;
}
.schematic-item {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  padding: 0.9rem 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  position: relative;
  margin: 0.35rem 0;
}
.schematic-item::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.schematic-item:nth-child(1) { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); color: var(--accent); }
.schematic-item:nth-child(2) { border-color: color-mix(in srgb, #0d9488 40%, var(--border)); }
.schematic-item:nth-child(2)::before { background: #0d9488; box-shadow: 0 0 0 3px color-mix(in srgb, #0d9488 25%, transparent); }
.schematic-item:nth-child(3) { border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); }
.schematic-item:nth-child(3)::before { background: #ca8a04; box-shadow: 0 0 0 3px color-mix(in srgb, #ca8a04 25%, transparent); }
.schematic-item:nth-child(4) { border-color: color-mix(in srgb, #65a30d 35%, var(--border)); }
.schematic-item:nth-child(4)::before { background: #65a30d; box-shadow: 0 0 0 3px color-mix(in srgb, #65a30d 25%, transparent); }
.schematic-item:nth-child(5) { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); color: var(--accent); }
.schematic-path {
  margin-top: 1rem;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--subtle);
  border: 1px solid var(--border);
  display: inline-block;
  float: right;
  padding: 0.4rem 0.65rem;
  clear: both;
}
.schematic-dots {
  position: absolute;
  left: 0;
  top: 2rem;
  bottom: 2.5rem;
  width: 1rem;
  pointer-events: none;
  overflow: hidden;
}
.schematic-dot {
  position: absolute;
  left: 0.2rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
  animation: flow-down 3.2s linear infinite;
}
.schematic-dot:nth-child(2) { background: #0d9488; animation-delay: 0.8s; }
.schematic-dot:nth-child(3) { background: #ca8a04; animation-delay: 1.6s; }
.schematic-dot:nth-child(4) { background: #65a30d; animation-delay: 2.4s; }
@keyframes flow-down {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Interactive stack explorer */
.stack-explorer {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .stack-explorer {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}
.stack-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.stack-layer-btn {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 1.1rem 1.25rem;
  border-radius: 0.25rem;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
  font-family: inherit;
}
.stack-layer-btn:hover,
.stack-layer-btn.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--surface) 70%, #2a1f0f);
}
.stack-layer-btn .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.stack-layer-btn strong { font-size: 1rem; }
.stack-layer-btn .layer-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.stack-layer-btn .desc {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.stack-detail {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  min-height: 16rem;
  border-radius: 0.25rem;
}
.stack-detail h3 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin: 0.35rem 0 0.75rem;
}
.stack-detail p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.stack-detail ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}
.stack-detail li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 0.85rem;
  position: relative;
}
.stack-detail li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* CTA band */
.cta-band {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--bg)), var(--bg));
}

/* Edge map */
.edge-map-layout {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .edge-map-layout {
    grid-template-columns: 1.4fr 1fr;
    min-height: 28rem;
  }
}
.edge-map {
  border: 1px solid var(--border);
  background: #12141a;
  position: relative;
  min-height: 20rem;
  overflow: hidden;
}
.edge-map svg { width: 100%; height: 100%; display: block; min-height: 20rem; }
.edge-map .pop-node { cursor: pointer; }
.edge-map .pop-node circle.core { fill: var(--accent); }
.edge-map .pop-node circle.ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.45;
}
.edge-map .pop-node.active circle.ring { opacity: 1; stroke-width: 2; }
.edge-map .pop-node text {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}
.edge-map .pop-node.coming circle.core {
  fill: transparent;
  stroke: var(--subtle);
  stroke-width: 1.5;
  stroke-dasharray: 3 2;
}
.edge-map line.link {
  stroke: color-mix(in srgb, var(--accent) 45%, transparent);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.edge-side {
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.edge-side-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  color: var(--fg);
  padding: 0.85rem 1rem;
  font-family: inherit;
  cursor: pointer;
}
.edge-side-item:hover,
.edge-side-item.active {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-left-color: var(--accent);
}
.edge-side-item .code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.edge-side-item .meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.edge-side-item .live {
  float: right;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #65a30d;
  letter-spacing: 0.06em;
}
.edge-side-detail {
  border-top: 1px solid var(--border);
  padding: 1rem;
  background: #12141a;
}
.edge-side-detail h3 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.edge-side-detail dl {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  font-size: 0.8rem;
}
.edge-side-detail dt { color: var(--muted); }
.edge-side-detail dd { color: var(--fg); text-align: right; font-family: var(--font-mono); }

/* Footer columns */
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--subtle);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.3rem 0;
}
.footer-col a:hover { color: var(--fg); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

/* Utility */
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.max-prose { max-width: 42rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.9rem; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); max-width: 28rem; }
.section h2 + .lead { margin-top: 0.85rem; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Timeline */
.timeline-item {
  border-left: 2px solid var(--border);
  padding: 0 0 2rem 1.25rem;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-item .year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}
.timeline-item h3 { margin: 0.35rem 0 0.5rem; font-size: 1.15rem; }
.timeline-item p { color: var(--muted); font-size: 0.92rem; }

/* Pop chips */
.pop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .pop-grid { grid-template-columns: repeat(5, 1fr); }
}
.pop {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem;
}
.pop .code {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--accent);
}
.pop .name { font-size: 0.9rem; margin-top: 0.25rem; }
.pop .note { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }

/* ===== V2 IA: dropdown nav ===== */
.nav-desktop { display: none; align-items: center; gap: 0.15rem; }
@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
}
.nav-item { position: relative; }
.nav-item > button,
.nav-item > a.nav-top {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-item > button:hover,
.nav-item > a.nav-top:hover,
.nav-item.open > button,
.nav-item > a.nav-top.active { color: var(--fg); }
.nav-item > button svg { width: 10px; height: 10px; opacity: 0.7; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0;
  z-index: 50;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.nav-item.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.nav-dropdown a:hover { color: var(--fg); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.nav-dropdown a .sub {
  display: block;
  font-size: 0.72rem;
  color: var(--subtle);
  margin-top: 0.15rem;
}
.nav-dropdown .sep {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0;
}
/* Mobile accordion */
.mobile-nav .mob-group { border-bottom: 1px solid var(--border); padding: 0.5rem 0; }
.mobile-nav .mob-group strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--subtle);
  text-transform: uppercase;
  padding: 0.35rem 0;
}
.mobile-nav .mob-group a { display: block; padding: 0.4rem 0; color: var(--muted); font-size: 0.95rem; }
.mobile-nav .mob-group a:hover { color: var(--fg); }

/* Solution / product cards */
.sol-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .sol-grid { grid-template-columns: repeat(3, 1fr); }
}
.sol-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  transition: border-color 0.15s;
}
.sol-card:hover { border-color: var(--accent); }
.sol-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.sol-card h3 { font-size: 1.25rem; margin-bottom: 0.65rem; }
.sol-card p { color: var(--muted); font-size: 0.92rem; flex: 1; line-height: 1.55; }
.sol-card .link {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}
.app-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}
@media (min-width: 700px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .app-grid { grid-template-columns: repeat(3, 1fr); }
}
.app-card {
  border-top: 2px solid var(--border);
  padding: 1.25rem 0 0.5rem;
}
.app-card:hover { border-top-color: var(--accent); }
.app-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.app-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* Pillar band */
.pillar-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.pillar-grid {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}
@media (min-width: 800px) {
  .pillar-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
.pillar-grid h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 16ch; }
.pillar-grid p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* Feature list */
.feature-list { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.feature-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}
.feature-list li::before {
  content: "▸";
  color: var(--accent);
  font-size: 0.8rem;
  padding-top: 0.15rem;
}

/* Hidden solution flag helper - pages still exist, nav omits them */
[data-solution="off"] { display: none !important; }
