:root {
  --bg: #edf2f8;
  --panel: rgba(255, 255, 255, 0.94);
  --text: #101828;
  --text-strong: #0b1220;
  --muted: #5b6574;
  --line: #d7dde8;
  --accent: #1f4b99;
  --accent-2: #15315f;
  --shadow: 0 10px 26px rgba(17, 24, 39, 0.07);
  --shadow-strong: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --radius-sm: 14px;
  --radius-xs: 11px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 75, 153, 0.10), transparent 26%),
    radial-gradient(circle at 86% 8%, rgba(21, 49, 95, 0.08), transparent 22%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
}

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

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--text-strong); }
p { line-height: 1.65; }

.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 36px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(215, 221, 232, 0.7);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, rgba(245, 248, 252, 0.82), rgba(241, 246, 252, 0.74));
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.045);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-copy { min-width: 0; }
.brand-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-size: 0.96rem;
}

.topnav a {
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.topnav a:hover {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom-color: var(--accent);
}

.top-actions,
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
}
.button:hover {
  text-decoration: none;
  background: #fbfcfe;
  border-color: #bcc7d8;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.button.primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.page-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 22px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03) 34%, rgba(15,23,42,0.90) 34%, rgba(15,23,42,0.97)),
    linear-gradient(135deg, #0f172a 0%, #152746 100%);
  border: 1px solid rgba(19, 29, 53, 0.18);
  box-shadow: var(--shadow-strong);
}
.hero-topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-brand .brand-mark {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #f4f8ff;
}
.hero-brand .eyebrow,
.hero-brand strong {
  color: #eef4ff;
}
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.93rem;
}
.hero-nav a {
  color: #d6e0f2;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.hero-nav a:hover {
  color: #ffffff;
  text-decoration: none;
  border-bottom-color: rgba(255,255,255,0.9);
}
.hero-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.hero-top-actions .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.92rem;
}
.hero h1,
.hero h2,
.hero p,
.hero .eyebrow {
  color: #eef4ff;
}
.hero h1 {
  margin-bottom: 2px;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1;
}
.hero h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
}
.hero-lede {
  max-width: 64ch;
  color: #d6e0f2;
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.hero-copy { min-width: 0; }
.hero-sidebar {
  display: grid;
  gap: 12px;
  align-content: start;
}
.hero-note {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: #e9effa;
}
.hero-note p { margin-bottom: 0; color: #e9effa; }

.metric-grid {
  display: grid;
  gap: 12px;
}
.hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-card {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.metric-card span {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.metric-card small {
  display: block;
  color: #dbe5f7;
  line-height: 1.45;
}
.metric-card.accent-card {
  background: linear-gradient(180deg, #eef4ff, #ffffff);
  border-color: #cddaf2;
}
.metric-card.accent-card span,
.metric-card.accent-card small { color: var(--accent-2); }
.metric-card.accent-card small { color: var(--muted); }

.section { padding: 24px; }
.section-muted { background: linear-gradient(180deg, #fbfcfe, #f4f7fb); }
.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.section-head.split {
  grid-template-columns: 1fr auto;
  align-items: end;
}
.section-head h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.section-tag {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f7fb;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.content-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
}
.content-card h4 {
  margin-bottom: 8px;
  font-size: 1.03rem;
  line-height: 1.35;
}
.content-card p {
  margin-bottom: 0;
  color: var(--muted);
}
.featured-card {
  background: linear-gradient(180deg, #eef4ff, #ffffff);
  border-color: #cddafb;
}
.card-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.impact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
}
.impact-bullets {
  padding: 12px 14px;
}
.impact-bullets .impact-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}
.impact-bullets .impact-list li {
  margin-bottom: 6px;
  line-height: 1.4;
}
.impact-bullets .impact-list li:last-child { margin-bottom: 0; }

.highlight-grid .highlight-card {
  display: grid;
  gap: 10px;
}
.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.text-link::after { content: "→"; font-weight: 700; }

.dashboard-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,249,253,0.97)),
    repeating-linear-gradient(135deg, rgba(31,75,153,0.03) 0 16px, rgba(31,75,153,0.01) 16px 32px);
}
.dashboard-copy p {
  color: var(--muted);
  max-width: 58ch;
}
.dashboard-preview {
  border: 1px solid #ccd9ef;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #10192f, #17284a);
  padding: 16px;
  box-shadow: var(--shadow-strong);
}
.preview-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.preview-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #eef3ff;
  font-size: 0.82rem;
  font-weight: 700;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.preview-stat {
  min-height: 96px;
  padding: 14px;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.preview-stat span {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
}
.preview-stat small {
  color: #d9e4f7;
  line-height: 1.45;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.case-study-grid .content-card:last-child { grid-column: 1 / -1; }

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.experience-card h4 { margin-bottom: 0; }
.experience-summary {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 90ch;
}

.tool-groups {
  display: grid;
  gap: 14px;
}
.tool-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: #fff;
}
.tool-group h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d6dfeb;
  background: #f7faff;
  color: var(--accent-2);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-section {
  display: grid;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245,248,252,0.98));
}
.contact-copy p {
  max-width: 64ch;
  color: var(--muted);
}
.contact-copy h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.contact-meta a { font-weight: 600; }

.qa-sim-launch-card {
  display: grid;
  gap: 0.55rem;
  max-width: 520px;
  padding: 1.25rem;
  border: 1px solid rgba(120, 170, 220, 0.28);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(98, 213, 255, 0.16), transparent 16rem),
    rgba(15, 28, 46, 0.78);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.qa-sim-launch-card:hover,
.qa-sim-launch-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(98, 213, 255, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  outline: none;
}

.qa-sim-launch-kicker {
  color: #62d5ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qa-sim-launch-card strong {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.qa-sim-launch-card span:not(.qa-sim-launch-kicker) {
  opacity: 0.82;
  line-height: 1.45;
}

.qa-sim-launch-card em {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #62d5ff, #b8ebff);
  color: #06101d;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .topnav,
  .top-actions { justify-content: flex-start; }
  .hero-topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .hero-nav,
  .hero-top-actions { justify-content: flex-start; }
}

@media (max-width: 920px) {
  .hero,
  .dashboard-section,
  .impact-layout,
  .case-study-grid,
  .section-head.split {
    grid-template-columns: 1fr;
  }
  .three-grid,
  .experience-grid,
  .hero-metrics,
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .case-study-grid .content-card:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .site-shell { padding: 12px 12px 26px; }
  .topbar,
  .hero,
  .section,
  .dashboard-section {
    padding: 16px;
  }
  .section-tag { width: fit-content; }
  .top-actions,
  .hero-actions,
  .contact-actions,
  .hero-top-actions { justify-content: flex-start; }
  .hero-actions .button,
  .contact-actions .button,
  .top-actions .button,
  .hero-top-actions .button {
    width: 100%;
    justify-content: center;
  }
  .brand-copy strong { font-size: 0.96rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero h2 { font-size: 1.35rem; }
  .hero-metrics { gap: 10px; }
  .metric-card { min-height: auto; padding: 14px; }
  .pill-row { gap: 6px; }
  .pill {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.88rem;
  }
}
