/* Site-specific styles layered over the generated Tailwind utility sheet. */
.nav-link {
  font-size: 12px;
  color: #cbd5e1;
  padding: 4px 8px;
  border-radius: 9999px;
  transition: color 150ms ease;
  text-decoration: none;
}
.nav-link:hover {
  color: #2dd4bf;
}
.nav-link-active {
  background: #1e293b;
  color: #2dd4bf;
}

.card {
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.4);
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #e2e8f0;
}
.card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.card-list li {
  color: #cbd5e1;
  margin-bottom: 4px;
}
.card-text {
  color: #cbd5e1;
}

.card-accent {
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.14), transparent 40%),
    rgba(15, 23, 42, 0.55);
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #99f6e4;
  background: rgba(15, 118, 110, 0.14);
}

.demo-shell {
  position: relative;
  border: 1px solid #1f2937;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(45, 212, 191, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
}

.demo-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.demo-stage video,
.demo-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.demo-stage video {
  object-fit: cover;
}

.demo-stage canvas {
  pointer-events: none;
}

.metric-card {
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 18px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
}

.metric-value {
  display: block;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.metric-detail {
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 8px;
}

.dds-benchmark-widget {
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 20px;
  padding: 20px;
  background: rgba(2, 6, 23, 0.78);
}

.dds-benchmark-heading,
.dds-relative-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.dds-benchmark-profile,
.dds-relative-heading p,
.dds-relative-heading > span {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.55;
}

.dds-benchmark-data-link {
  color: #5eead4;
  font-size: 13px;
  white-space: nowrap;
}

.dds-target-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.dds-target-tabs button {
  border: 1px solid rgba(71, 85, 105, 0.95);
  border-radius: 999px;
  padding: 8px 14px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

.dds-target-tabs button[aria-selected="true"] {
  border-color: #2dd4bf;
  background: #2dd4bf;
  color: #020617;
}

.dds-target-tabs button:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 3px;
}

.dds-benchmark-status {
  margin-top: 14px;
  color: #99f6e4;
  font-size: 13px;
}

.dds-benchmark-error {
  color: #fca5a5;
}

.dds-active-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.dds-relative-panel {
  margin-top: 18px;
  border-top: 1px solid rgba(51, 65, 85, 0.8);
  padding-top: 18px;
}

.dds-relative-heading h3 {
  color: #ccfbf1;
  font-size: 15px;
  font-weight: 700;
}

.dds-score-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.dds-score-row {
  display: grid;
  grid-template-columns: 110px minmax(100px, 1fr) 44px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.dds-score-row > span {
  color: #e2e8f0;
  font-weight: 700;
}

.dds-score-row > div {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.72);
}

.dds-score-row i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #2dd4bf);
  transition: width 240ms ease;
}

.dds-score-row strong {
  color: #99f6e4;
  text-align: right;
}

@media (max-width: 760px) {
  .dds-benchmark-heading,
  .dds-relative-heading {
    display: block;
  }

  .dds-benchmark-data-link {
    display: inline-block;
    margin-top: 12px;
  }

  .dds-active-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .dds-active-metrics {
    grid-template-columns: 1fr;
  }

  .dds-score-row {
    grid-template-columns: 88px minmax(70px, 1fr) 38px;
    gap: 8px;
  }
}

.tin-package {
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 14px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.55);
}

.tin-package strong {
  display: block;
  margin-bottom: 6px;
  color: #ccfbf1;
  font-size: 15px;
}

.tin-package span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
}

.tin-license {
  border-left: 3px solid #2dd4bf;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.76);
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.65;
}

.tin-license strong {
  display: block;
  color: #ccfbf1;
  margin-bottom: 3px;
}

.tin-license a {
  color: #5eead4;
  font-weight: 600;
}

.tin-code {
  overflow-x: auto;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 16px;
  padding: 18px;
  background: #020617;
  color: #d1fae5;
  font-family:
    "JetBrains Mono",
    "Fira Code",
    "Source Code Pro",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 13px;
  line-height: 1.65;
}

.tin-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tin-flow span {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.66);
  color: #ccfbf1;
  font-size: 13px;
  font-weight: 700;
}

.tin-flow span:not(:last-child)::after {
  content: "v";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: #2dd4bf;
  font-size: 16px;
  line-height: 1;
}

.tin-feature-matrix {
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.42);
}

.tin-perf-table {
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.78);
}

.tin-perf-row {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-top: 1px solid rgba(51, 65, 85, 0.72);
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.45;
}

.tin-perf-row:first-child {
  border-top: 0;
}

.tin-perf-row span:first-child {
  color: #ccfbf1;
  font-weight: 700;
}

.tin-perf-head {
  display: none;
  background: rgba(15, 118, 110, 0.14);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tin-perf-head span:first-child {
  color: #e2e8f0;
}

.ros-topology {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 16px;
  padding: 16px;
  background: rgba(2, 6, 23, 0.78);
}

.ros-node,
.ros-topic-link {
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 14px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.66);
}

.ros-node span,
.ros-topic-link span,
.ros-node strong,
.ros-topic-link strong,
.ros-node em {
  display: block;
}

.ros-node span,
.ros-topic-link span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ros-node strong,
.ros-topic-link strong {
  margin-top: 5px;
  color: #ccfbf1;
  font-size: 15px;
}

.ros-node em {
  margin-top: 5px;
  color: #cbd5e1;
  font-size: 13px;
  font-style: normal;
}

.ros-node-pub {
  border-color: rgba(45, 212, 191, 0.42);
}

.ros-topic-link {
  position: relative;
  border-color: rgba(20, 184, 166, 0.42);
}

.ros-topic-link::before,
.ros-topic-link::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 14px;
  background: rgba(45, 212, 191, 0.6);
}

.ros-topic-link::before {
  top: -15px;
}

.ros-topic-link::after {
  bottom: -15px;
}

.ros-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tin-feature-row {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid rgba(51, 65, 85, 0.72);
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
}

.tin-feature-row:first-child {
  border-top: 0;
}

.tin-feature-row span:first-child {
  color: #ccfbf1;
  font-weight: 700;
}

.tin-feature-head {
  display: none;
  background: rgba(15, 118, 110, 0.12);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tin-feature-head span:first-child {
  color: #e2e8f0;
}

@media (min-width: 768px) {
  .tin-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tin-flow span:not(:last-child)::after {
    content: "->";
    top: 50%;
    right: -17px;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
  }

  .tin-feature-row,
  .tin-feature-head,
  .tin-perf-row,
  .tin-perf-head {
    display: grid;
    align-items: start;
  }

  .tin-feature-row,
  .tin-feature-head {
    grid-template-columns: 0.8fr 1.25fr 1.25fr;
    gap: 18px;
  }

  .tin-perf-row,
  .tin-perf-head {
    grid-template-columns: minmax(0, 1.6fr) minmax(84px, 0.7fr) minmax(84px, 0.7fr);
    gap: 14px;
  }
}

.input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.6);
  padding: 10px 12px;
  outline: none;
  color: #e2e8f0;
  font-size: 14px;
}
.input:focus {
  border-color: #2dd4bf;
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
}
.input::placeholder {
  color: #94a3b8;
}

.vision-deck {
  display: grid;
  gap: 28px;
}

.vision-slide {
  min-height: 520px;
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 22px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.32);
}

.vision-hero {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(45, 212, 191, 0.28);
  background:
    radial-gradient(circle at 80% 15%, rgba(45, 212, 191, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 1));
}

.vision-slide h1 {
  max-width: 860px;
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

.vision-slide h2 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
  color: #f8fafc;
}

.vision-slide h3 {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #ccfbf1;
}

.vision-slide p,
.vision-slide li {
  max-width: 900px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
}

.vision-kicker {
  margin-bottom: 16px;
  color: #5eead4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vision-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.vision-chip-row span {
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 9999px;
  padding: 8px 12px;
  color: #ccfbf1;
  background: rgba(15, 118, 110, 0.14);
  font-size: 12px;
  font-weight: 650;
}

.vision-grid-2,
.vision-grid-3 {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.vision-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vision-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vision-grid-2 > div,
.vision-grid-3 > div,
.vision-mini-card,
.vision-ladder > div,
.vision-architecture > div {
  border: 1px solid rgba(51, 65, 85, 0.86);
  border-radius: 14px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.62);
}

.vision-mini-card {
  min-height: 86px;
  color: #f8fafc;
  font-weight: 700;
}

.vision-mini-card span {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-weight: 500;
}

.vision-ladder {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.vision-ladder strong {
  display: block;
  color: #ccfbf1;
  font-size: 15px;
}

.vision-ladder span {
  display: block;
  margin-top: 6px;
  color: #cbd5e1;
  font-size: 14px;
}

.vision-architecture {
  display: grid;
  grid-template-columns: 1fr 0.35fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 26px;
}

.vision-architecture > div {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #f8fafc;
  font-weight: 700;
}

.vision-architecture span {
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.vision-final {
  border-color: rgba(45, 212, 191, 0.28);
}

.vision-disclaimer {
  margin-top: 28px;
  border-top: 1px solid rgba(51, 65, 85, 0.85);
  padding-top: 18px;
  font-size: 13px !important;
  color: #94a3b8 !important;
}

.vision-sources {
  min-height: 360px;
}

.vision-sources a {
  color: #5eead4;
  text-decoration: none;
}

.vision-sources a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .vision-slide {
    min-height: auto;
    padding: 22px;
  }

  .vision-grid-2,
  .vision-grid-3,
  .vision-architecture {
    grid-template-columns: 1fr;
  }
}
