:root {
  --ink: #e7ebf0;
  --muted: #9aa6b2;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(12, 18, 27, 0.82);
  --panel-soft: rgba(19, 28, 40, 0.7);
  --nav: #333333;
  --nav-strong: #242424;
  --blue: #2f7df6;
  --blue-strong: #1f64cf;
  --gold: #d7b26d;
  --bg: #09111a;
  --max: 1180px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(5, 11, 18, 0.92), rgba(5, 11, 18, 0.98)),
    url("/assets/brand/robot-background.jpg") center/cover fixed no-repeat,
    var(--bg);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  height: 18px;
  background: var(--nav-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(51, 51, 51, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell,
.section,
.footer-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), #73a7ff);
  color: white;
  box-shadow: var(--shadow);
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #8fc0ff;
}

.cta-link {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--blue);
  color: white;
}

.cta-link:hover {
  background: var(--blue-strong);
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.quote,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 3rem;
}

.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(47, 125, 246, 0.12);
  color: #97c2ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  margin: 0;
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.hero h1 span {
  color: var(--gold);
}

.hero p.lead {
  margin: 1.2rem 0 0;
  color: #d5dde6;
  font-size: 1.15rem;
  max-width: 44rem;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 1.7rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button {
  background: var(--blue);
  color: white;
}

.button:hover {
  background: var(--blue-strong);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mini-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.mini-stat {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-stat strong {
  display: block;
  font-size: 1.6rem;
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-panel {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-panel h2 {
  font-size: 1rem;
}

.status-list {
  display: grid;
  gap: 0.85rem;
}

.status-item {
  padding: 1rem;
  border-radius: 18px;
  background: var(--panel-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.status-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 0 0 1.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head p {
  margin: 0.5rem 0 0;
  max-width: 42rem;
  color: var(--muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

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

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

.card,
.quote,
.contact-card {
  padding: 1.5rem;
}

.card h3,
.contact-card h3 {
  font-size: 1.15rem;
}

.card p,
.contact-card p,
.quote p,
.fine {
  color: var(--muted);
}

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(47, 125, 246, 0.12);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.list {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.list li + li {
  margin-top: 0.45rem;
}

.pill-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pill {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote {
  position: relative;
  overflow: hidden;
}

.quote::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 125, 246, 0.3), rgba(47, 125, 246, 0));
}

.quote strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
}

.cta-band {
  padding-bottom: 4rem;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 20, 0.85);
}

.footer-shell {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
}

.note-box {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(215, 178, 109, 0.08);
  border-radius: 0 16px 16px 0;
}

.redirect-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.redirect-card {
  width: min(100%, 620px);
  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .footer-shell {
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .quote,
  .contact-card,
  .redirect-card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .hero {
    padding-top: 3rem;
  }
}
