/* Groundpasse public site — standalone, no build step */

:root {
  --bg: #070b10;
  --bg-elevated: #0f141c;
  --border: #1e2a3a;
  --text: #eef2f7;
  --muted: #8fa3bc;
  --accent: #3dd68c;
  --accent-glow: rgba(61, 214, 140, 0.15);
  --blue: #5eb3ff;
  --purple: #b794f6;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "SF Mono", "Fira Code", monospace;
  --max: 1100px;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--accent);
}
@media (max-width: 768px) {
  .nav-links { display: none; }
}
.btn {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #070b10;
}
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--muted); text-decoration: none; }

/* Hero */
.hero {
  padding: 7rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 70% 55% at 20% -10%, var(--accent-glow), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(94, 179, 255, 0.08), transparent),
    var(--bg);
}
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-cta { justify-content: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-stat-pills { justify-content: center; }
}
.hero-copy { min-width: 0; }
.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 1.75rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.tagline {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}
.hero-visual { position: relative; min-width: 0; }
.hero-image-wrap {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
.hero-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.hero-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.12) 0%, transparent 50%, rgba(94, 179, 255, 0.08) 100%);
  pointer-events: none;
}
.hero-stat-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.stat-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent);
}

/* Showcase banner */
.showcase {
  padding: 0 1.5rem 3rem;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
}
.showcase-inner {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
}
.showcase-inner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 40%;
}
.showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(transparent, rgba(7, 11, 16, 0.95));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.showcase-caption strong {
  font-size: 1.1rem;
  color: var(--text);
}
.showcase-caption span {
  font-size: 0.9rem;
  color: var(--muted);
}
@media (max-width: 600px) {
  .showcase-caption { padding: 1.25rem; }
}

/* Robot platform tabs */
.robot-platforms {
  padding-top: 3rem;
}
.robot-tabs-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
}
.robot-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 0.35rem 0.35rem 0;
}
.robot-tab {
  flex: 1 1 auto;
  min-width: 7rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.robot-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.robot-tab[aria-selected="true"] {
  color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.robot-panel {
  padding: 0;
}
.robot-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 800px) {
  .robot-panel-grid { grid-template-columns: 1fr; }
  .robot-tab { min-width: calc(50% - 0.25rem); font-size: 0.82rem; }
}
.robot-panel-media {
  min-height: 280px;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
@media (max-width: 800px) {
  .robot-panel-media { border-right: none; border-bottom: 1px solid var(--border); }
}
.robot-panel-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.robot-panel-body {
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.robot-panel-body h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}
.robot-panel-body > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.robot-use-cases {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.robot-use-cases li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text);
  font-size: 0.9rem;
}
.robot-use-cases li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.robot-capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.robot-capability-tags span {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent-glow);
  border: 1px solid rgba(61, 214, 140, 0.25);
  color: var(--accent);
}

/* Sections */
section {
  padding: 5rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
section .subtitle {
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-card p { color: var(--muted); font-size: 0.9rem; }
.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.feature-card-highlight {
  grid-column: span 1;
}
.feature-thumb {
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 1px solid var(--border);
}
.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* Modes */
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 700px) { .modes { grid-template-columns: 1fr; } }
.mode-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mode-card.sim { border-top: 3px solid var(--purple); }
.mode-card.real { border-top: 3px solid var(--blue); }
.mode-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.mode-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mode-card:hover .mode-image img {
  transform: scale(1.03);
}
.mode-body {
  padding: 1.75rem;
  flex: 1;
}
.mode-card h3 { margin-bottom: 0.5rem; }
.mode-card .mode-body > p {
  color: var(--muted);
  font-size: 0.9rem;
}
.mode-card ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.mode-card li { margin-bottom: 0.35rem; }

/* How it works */
.how-overview {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .how-overview {
    grid-template-columns: 1fr;
  }
  .how-connector { display: none; }
}
.how-layer {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.how-layer-agents { border-top: 3px solid var(--purple); }
.how-layer-core { border-top: 3px solid var(--accent); }
.how-layer-robot { border-top: 3px solid var(--blue); }
.how-layer-with-image {
  padding: 0;
  overflow: hidden;
}
.how-layer-image {
  height: 88px;
  overflow: hidden;
}
.how-layer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.85;
}
.how-layer-with-image .how-layer-label,
.how-layer-with-image p {
  padding: 0 1.25rem;
}
.how-layer-with-image .how-layer-label {
  padding-top: 0.85rem;
}
.how-layer-with-image p {
  padding-bottom: 1.1rem;
}
.how-layer-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.how-layer p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
}
.how-connector {
  width: 2px;
  background: linear-gradient(var(--border), var(--accent), var(--border));
  min-height: 48px;
  align-self: center;
}
.how-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
}
.how-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.how-step:last-child { border-bottom: none; }
.how-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-step-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.how-step-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 640px;
}
.how-step-body strong {
  color: var(--text);
  font-weight: 500;
}
.how-tagline {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.how-tagline strong {
  font-size: 1rem;
  color: var(--accent);
}
.how-tagline span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Flow (legacy) */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.flow-step {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}
.flow-arrow { color: var(--muted); font-size: 1.2rem; }

/* Contact */
.contact-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 520px;
}
.contact-box p { color: var(--muted); margin-bottom: 1.25rem; }
.contact-email {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--accent);
}

/* License */
.license-text {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-height: 200px;
  overflow-y: auto;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

.divider {
  height: 1px;
  background: var(--border);
  max-width: var(--max);
  margin: 0 auto;
}

/* Inner pages */
.page-hero {
  padding: 7rem 1.5rem 2.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% -20%, var(--accent-glow), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-short { padding-bottom: 2rem; }
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.page-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 720px;
}
.page-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.65;
}
.page-section {
  padding: 4rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.page-section-tight { padding-top: 2rem; }
.page-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.page-cta {
  padding: 3rem 1.5rem 4rem;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--border);
}
.page-cta p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.page-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-tagline {
  margin-top: 0.5rem;
  font-size: inherit;
}

/* Home explore cards */
.home-explore {
  padding: 4rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.home-explore h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.home-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.home-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}
.home-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 600;
}
.home-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}
.home-card p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}
.home-card-link {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.5rem;
}
.home-cta-band {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}
.home-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}
.home-cta-inner h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.home-cta-inner p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Info grid (platforms) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.info-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Feature detail (features page) */
.feature-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-detail:first-of-type { padding-top: 0; }
.feature-detail:last-of-type { border-bottom: none; }
.feature-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.feature-detail-with-image {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.feature-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.feature-detail-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.feature-detail-body h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.feature-detail-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.65;
}
.feature-detail-body p strong { color: var(--text); font-weight: 500; }
.feature-detail-list {
  list-style: none;
  margin-top: 0.5rem;
}
.feature-detail-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.feature-detail-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}
.feature-detail-body code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .feature-detail,
  .feature-detail-with-image {
    grid-template-columns: 1fr;
  }
}

/* Sim-real expanded modes */
.modes-stacked {
  grid-template-columns: 1fr;
  gap: 2rem;
}
.mode-card-expanded .mode-body h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.mode-card-expanded .mode-body h3 {
  font-size: 0.95rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}
.mode-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.mode-card-expanded .mode-body > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
}
.compare-table td {
  color: var(--muted);
}
.compare-table tr:last-child td,
.compare-table tr:last-child th { border-bottom: none; }
.compare-table td:first-child {
  color: var(--text);
  font-weight: 500;
  width: 28%;
}
.compare-highlight {
  color: var(--accent) !important;
  text-align: center;
}
.compare-table code {
  font-family: var(--mono);
  font-size: 0.85em;
}

/* Workflow steps */
.workflow-steps {
  list-style: none;
  counter-reset: workflow;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.workflow-steps li {
  counter-increment: workflow;
  padding: 1.25rem 1.5rem 1.25rem 3.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.workflow-steps li::before {
  content: counter(workflow);
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.workflow-steps li strong { color: var(--text); }

/* How steps expanded */
.how-steps-expanded .how-step-body h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Glossary */
.glossary dl {
  display: grid;
  gap: 1.25rem;
}
.glossary dt {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.glossary dd {
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: 0;
  line-height: 1.6;
}

/* Contact page */
.contact-page { padding-top: 2rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-box-large {
  max-width: none;
  text-align: left;
}
.contact-lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.contact-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.contact-reasons h2 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-list strong {
  font-size: 0.95rem;
  color: var(--text);
}
.contact-list span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Legal full page */
.license-text-full {
  max-height: none;
  overflow: visible;
}
.license-text-full h2 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}
.license-text-full h2:first-child { margin-top: 0; }
.license-text-full p {
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

/* Robot platforms on dedicated page */
.robot-platforms.page-section {
  padding-top: 2rem;
}
.robot-platforms.page-section > h2,
.robot-platforms.page-section > .subtitle {
  display: none;
}
