.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(11, 46, 43, 0.08);
  color: var(--brand-bg);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

[data-theme="dark"] .feature-icon {
  background: rgba(228, 184, 74, 0.12);
  color: var(--accent);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.checklist {
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.checklist .mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(18, 183, 106, 0.12);
  color: var(--success);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.checklist .mark svg {
  width: 14px;
  height: 14px;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.pricing-card.is-featured {
  border-color: var(--brand-bg);
  box-shadow: 0 16px 40px rgba(11, 46, 43, 0.18);
  position: relative;
}

.pricing-card.is-featured::before {
  content: "Most popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-bg);
  color: #fff;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.pricing-card ul {
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.pricing-card li {
  font-size: 0.9rem;
  color: var(--ink-muted);
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.pricing-card li::before {
  content: "✓";
  color: var(--brand-bg);
  font-weight: 600;
}

.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card .body {
  padding: 0.9rem;
}

.team-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.team-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  height: fit-content;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.status-grid {
  display: grid;
  gap: 0.75rem;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
}

.uptime-bars {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  gap: 3px;
  margin-top: 0.75rem;
}

.uptime-bars span {
  height: 28px;
  border-radius: 2px;
  background: var(--success);
}

.uptime-bars span.degraded {
  background: var(--warn);
}

.uptime-bars span.down {
  background: var(--danger);
}

.metric {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand-bg);
}

[data-theme="dark"] .metric {
  color: var(--brand-accent);
}

.not-found {
  min-height: 60dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.not-found h1 {
  font-size: clamp(3rem, 12vw, 6rem);
  letter-spacing: -0.06em;
  color: var(--brand-bg);
  margin-bottom: 0.25rem;
}

.doc-article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}

.split-cta {
  background: linear-gradient(135deg, #0b2e2b, #1a5c54);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .split-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2.5rem;
  }
}

.split-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0.5rem 0 0;
}

.job-item {
  display: grid;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s;
}

.job-item:hover {
  border-color: var(--brand-accent);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* —— Home below-fold —— */
.home-content {
  background: var(--bg);
  color: var(--text);
  position: relative;
  z-index: 5;
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}

.home-content--signal {
  background: var(--bg);
  color: var(--text);
}

.home-content--signal > .home-telemetry,
.home-content--signal > .section:nth-of-type(1),
.home-content--signal > .section:nth-of-type(2) {
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(228, 184, 74, 0.1), transparent 55%),
    linear-gradient(165deg, #0b2e2b 0%, #134843 55%, #0a2825 100%);
  color: #e8f2ef;
}

.home-content--signal > .section:nth-of-type(1) .section-title,
.home-content--signal > .section:nth-of-type(2) .section-title,
.home-content--signal > .section:nth-of-type(2) .value-card h3 {
  color: #fff;
}

.home-content--signal > .section:nth-of-type(1) .section-lead,
.home-content--signal > .section:nth-of-type(1) .eyebrow,
.home-content--signal > .section:nth-of-type(2) .eyebrow,
.home-content--signal > .section:nth-of-type(2) .value-card p {
  color: rgba(232, 242, 239, 0.72);
}

.home-content--signal .pricing-teaser--signal .plan {
  color: rgba(232, 242, 239, 0.92);
}

.home-content--signal .pricing-teaser--signal .plan h3 {
  color: #fff;
}

.home-content--signal .pricing-teaser--signal .plan .price {
  color: var(--accent);
}

.home-content--signal .pricing-teaser--signal .plan-tag {
  color: var(--accent);
}

.home-content--signal .pricing-teaser--signal .plan .muted {
  color: rgba(232, 242, 239, 0.68);
}

.home-content--signal .pricing-teaser--signal .plan .price small {
  color: rgba(232, 242, 239, 0.55);
  font-size: 0.55em;
}

.home-telemetry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(228, 184, 74, 0.22);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(232, 242, 239, 0.55);
}

.home-telemetry__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dca8e;
  box-shadow: 0 0 10px rgba(61, 202, 142, 0.7);
  animation: pulse 1.8s ease-in-out infinite;
}

.home-telemetry__accent {
  color: var(--accent);
  margin-inline-start: auto;
}

.home-gate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.home-hud-frame {
  background: linear-gradient(160deg, rgba(19, 72, 67, 0.55), rgba(7, 28, 26, 0.85));
  border: 1px solid rgba(228, 184, 74, 0.28);
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.home-hud-frame__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(232, 242, 239, 0.65);
}

.home-session-table {
  margin: 0 0 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(228, 184, 74, 0.2);
}

.home-session-table th {
  background: rgba(0, 0, 0, 0.25);
  color: rgba(232, 242, 239, 0.5);
}

.home-session-table td {
  color: rgba(232, 242, 239, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.home-hud-frame__media {
  margin: 0;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hud-frame__media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .home-content {
    padding-bottom: 0;
  }
}

.home-content .site-footer {
  margin-top: 0;
}

.value-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.value-grid--hud {
  gap: 1rem;
}

.value-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(228, 184, 74, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.18));
  border-top: 1px solid rgba(228, 184, 74, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.value-card__code {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.value-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem 1.15rem;
}

.trust-strip--signal {
  background: linear-gradient(120deg, rgba(11, 46, 43, 0.06), rgba(228, 184, 74, 0.08));
  border-color: rgba(11, 46, 43, 0.18);
  box-shadow: var(--shadow);
}

@media (min-width: 700px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .trust-strip > div {
    padding: 0.5rem 1rem;
    border-right: 1px solid var(--border);
  }
  .trust-strip > div:last-child {
    border-right: none;
  }
}

.trust-strip strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-bg);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .trust-strip strong {
  color: var(--accent);
}

.trust-strip span {
  font-size: 0.9rem;
  color: var(--muted);
}

.pricing-teaser {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .pricing-teaser {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-teaser .plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.pricing-teaser--signal .plan {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(19, 72, 67, 0.92) 0%, rgba(11, 46, 43, 0.98) 55%, rgba(7, 28, 26, 1) 100%);
  border: 1px solid rgba(228, 184, 74, 0.22);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  color: rgba(232, 242, 239, 0.92);
}

.pricing-teaser--signal .plan h3 {
  color: #fff;
}

.pricing-teaser--signal .plan .muted {
  color: rgba(232, 242, 239, 0.68);
}

.pricing-teaser--signal .plan .price {
  color: var(--accent);
}

.pricing-teaser--signal .plan .price small {
  color: rgba(232, 242, 239, 0.55);
  font-size: 0.55em;
}

.pricing-teaser--signal .plan.is-featured {
  border-color: rgba(228, 184, 74, 0.55);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(228, 184, 74, 0.28),
    0 0 28px rgba(228, 184, 74, 0.12);
}

.pricing-teaser--signal .plan.is-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-bg), var(--accent));
}

.plan-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.pricing-teaser .plan.is-featured {
  border-color: var(--brand-bg);
}

.pricing-teaser .plan h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.pricing-teaser .plan .price {
  font-size: 1.75rem;
  margin: 0.5rem 0 0.75rem;
}

.toolbar-center {
  justify-content: center;
}

.section-heading-space {
  margin: 3rem 0 1rem;
}

.form-success {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-card.is-hidden {
  display: none;
}

.aside-rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.contact-aside .muted:last-child {
  margin: 0;
}

.contact-aside a {
  color: var(--brand-bg);
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-theme="dark"] .contact-aside a {
  color: var(--accent);
}

.section-link {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.section-link a {
  color: var(--brand-bg);
  font-weight: 500;
}

[data-theme="dark"] .section-link a {
  color: var(--accent);
}

.section-actions {
  margin-top: 1.5rem;
}

.split-cta h2 {
  color: #fff;
}

/* —— Depth utilities (v3.0.2) —— */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: calc(var(--space) * 1); }
.mt-2 { margin-top: calc(var(--space) * 2); }
.mt-3 { margin-top: calc(var(--space) * 3); }
.mt-4 { margin-top: calc(var(--space) * 4); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: calc(var(--space) * 1); }
.mb-2 { margin-bottom: calc(var(--space) * 2); }
.ml-2 { margin-left: calc(var(--space) * 2); }
.my-2 { margin-block: calc(var(--space) * 2); }
.gap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.gap-row.center {
  justify-content: center;
}
.stack-tight {
  display: grid;
  gap: 0.35rem;
}
.card-clickable {
  cursor: pointer;
}
.card-title {
  margin-top: 0.65rem;
}
.metric-gap {
  margin-top: 0.75rem;
}
.modal-close {
  float: right;
}
.quote-block {
  margin: 0;
  font-size: 1.05rem;
}
.text-sm {
  font-size: 0.85rem;
}
.text-xs {
  font-size: 0.75rem;
}
.nowrap {
  white-space: nowrap;
}
.doc-card {
  display: block;
}
.doc-card__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.status-overall {
  margin-bottom: 1rem;
}
.status-components {
  margin: 1rem 0 2rem;
}
.stack-after {
  margin-top: 1rem;
}
.cta-after {
  margin-top: 2rem;
}
.two-col.spaced {
  margin-top: 3rem;
}

.code-block {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #0b2e2b;
  color: #e8f2ef;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
}

[data-theme="dark"] .code-block {
  background: #071c1a;
  border-color: var(--border-strong);
}

.code-block .c-muted { color: #8fafa6; }
.code-block .c-key { color: #e4b84a; }
.code-block .c-str { color: #9fd6c4; }

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mini-table th,
.mini-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.mini-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--faint);
  background: var(--surface-2);
}

.mini-table tr:last-child td {
  border-bottom: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
}

.pill-ok {
  color: var(--success);
  border-color: rgba(31, 157, 108, 0.35);
  background: rgba(31, 157, 108, 0.08);
}

.pill-warn {
  color: var(--warn);
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.08);
}

.ops-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.ops-panel h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.ops-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.55rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.ops-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.ops-row .mono {
  font-size: 0.8rem;
  color: var(--muted);
}

.checklist.stack-after,
.timeline.stack-after {
  margin-top: 1rem;
}

.muted.tight {
  margin: 0;
}
