:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --soft: #f6f8fb;
  --paper: #ffffff;
  --line: #e5e7eb;
  --line-strong: #d0d5dd;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --green: #0f766e;
  --orange: #f97316;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(100% - 40px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header.is-scrolled .brand,
.site-header.nav-active .brand {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.84);
  padding: 9px 11px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-header.is-scrolled .nav-links a,
.site-header.nav-active .nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  outline: none;
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a:focus-visible,
.site-header.nav-active .nav-links a:hover,
.site-header.nav-active .nav-links a:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.nav-links .nav-cta {
  margin-left: 4px;
  background: #fff;
  color: var(--accent);
}

.site-header.is-scrolled .nav-links .nav-cta,
.site-header.nav-active .nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.site-header.is-scrolled .nav-toggle,
.site-header.nav-active .nav-toggle {
  border-color: var(--line);
  background: #fff;
}

.site-header.is-scrolled .nav-toggle span:not(.sr-only),
.site-header.nav-active .nav-toggle span:not(.sr-only) {
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #101828;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 40, 0.86) 0%, rgba(16, 24, 40, 0.68) 42%, rgba(16, 24, 40, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 24, 40, 0.44), rgba(16, 24, 40, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 132px 0 92px;
  color: #fff;
}

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

.hero .eyebrow {
  color: #93c5fd;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.85rem, 5.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 17px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #fff;
}

.intro-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.intro-grid > div {
  min-height: 118px;
  padding: 25px 24px;
  border-right: 1px solid var(--line);
}

.intro-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.metric {
  display: block;
  color: var(--ink);
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 800;
}

.metric-label {
  display: block;
  max-width: 180px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.section,
.split-section,
.timeline-section,
.contact-section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 520px;
}

.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-card p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
}

.product-card,
.capability,
.passion-item,
.timeline li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-card {
  min-height: 242px;
  padding: 26px;
}

.product-card.spotlight {
  grid-row: span 2;
  background: #f8fbff;
  border-color: #bfdbfe;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.product-meta span {
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  padding: 5px 9px;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spotlight .product-meta span {
  background: #dbeafe;
  color: var(--accent-dark);
}

.product-card h3,
.capability h3,
.passion-item h3,
.timeline h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-card p,
.capability p,
.passion-item p,
.timeline p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.product-card li + li {
  margin-top: 8px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.capability-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.capability {
  min-height: 196px;
  padding: 24px;
}

.capability-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  margin-bottom: 34px;
  border-radius: 7px;
  background: #eef4ff;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.passion-section {
  width: 100%;
  max-width: none;
  background: var(--soft);
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
}

.passion-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.system-map {
  position: relative;
  aspect-ratio: 1;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 42px 42px;
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 68%;
  height: 1px;
  background: rgba(37, 99, 235, 0.18);
  transform: translate(-50%, -50%);
}

.system-map::after {
  width: 1px;
  height: 68%;
}

.map-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 126px;
  min-height: 54px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.map-node.core {
  top: 50%;
  left: 50%;
  width: 152px;
  min-height: 68px;
  transform: translate(-50%, -50%);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.map-node.top {
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
}

.map-node.right {
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  color: var(--green);
}

.map-node.bottom {
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--orange);
}

.map-node.left {
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  color: var(--ink);
}

.passion-list {
  display: grid;
  gap: 12px;
}

.passion-item {
  padding: 24px;
}

.timeline-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 24px 24px 24px 76px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dbeafe;
  border: 7px solid #fff;
  box-shadow: 0 0 0 1px #bfdbfe;
}

.timeline-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-section {
  padding-top: 22px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 8px;
  background: #101828;
  color: #fff;
  padding: 38px;
}

.contact-card .eyebrow {
  color: #93c5fd;
}

.contact-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .site-header.is-scrolled .nav-links a,
  .site-header.nav-active .nav-links a {
    color: var(--ink);
  }

  .nav-links .nav-cta,
  .site-header.is-scrolled .nav-links .nav-cta,
  .site-header.nav-active .nav-links .nav-cta {
    margin-left: 0;
    background: var(--accent);
    color: #fff;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content {
    max-width: 640px;
    margin-left: max(20px, calc((100vw - var(--max)) / 2));
    padding: 122px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    line-height: 1.06;
  }

  .intro-grid,
  .product-grid,
  .split-section,
  .passion-layout,
  .timeline-section {
    grid-template-columns: 1fr;
  }

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

  .intro-grid > div:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .intro-grid > div {
    border-bottom: 1px solid var(--line);
  }

  .product-card.spotlight {
    grid-row: auto;
  }

  .section,
  .split-section,
  .timeline-section,
  .contact-section,
  .passion-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .system-map {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .brand span:last-child {
    display: none;
  }

  .hero-content,
  .intro-grid,
  .section,
  .split-section,
  .timeline-section,
  .contact-section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-top: 118px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(1.85rem, 7.4vw, 2.25rem);
    line-height: 1.08;
  }

  .hero-copy {
    max-width: 360px;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid > div,
  .intro-grid > div:first-child,
  .intro-grid > div:nth-child(odd) {
    min-height: 98px;
    padding: 22px;
    border-left: 1px solid var(--line);
  }

  .product-card,
  .capability,
  .passion-item,
  .timeline li {
    padding: 22px;
  }

  .capability-panel {
    grid-template-columns: 1fr;
  }

  .passion-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .timeline li {
    padding-left: 64px;
  }

  .timeline li::before {
    left: 22px;
  }

  .contact-card {
    align-items: stretch;
    flex-direction: column;
    padding: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-node {
    width: 108px;
    min-height: 52px;
    font-size: 0.76rem;
  }

  .map-node.core {
    width: 126px;
  }
}
