:root {
  --ink: #171827;
  --muted: #62677a;
  --line: #e4e8f0;
  --panel: #ffffff;
  --soft: #f2f4f8;
  --violet: #8a55f2;
  --indigo: #4e4ee5;
  --blue: #0960e0;
  --cyan: #10b8c6;
  --shadow: 0 22px 60px rgba(23, 24, 39, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: #fff;
}

body.nav-open {
  overflow: hidden;
}

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

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

.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: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(228, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--indigo);
}

.brand img {
  width: 58px;
  height: 34px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav > a,
.nav-group > a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 13px;
  color: #303348;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--indigo);
}

.nav-group {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: 0.18s ease;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #3d4055;
}

.nav-submenu a:hover {
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section-band {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 84px;
}

.soft {
  background: var(--soft);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(54px, 7vw, 92px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -18vw;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(16, 184, 198, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 6.4rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 4.25rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 690px;
  font-size: 1.24rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--indigo) 55%, var(--cyan));
  box-shadow: 0 16px 36px rgba(78, 78, 229, 0.26);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.hero-visual > img {
  position: relative;
  z-index: 2;
  width: min(440px, 82vw);
  filter: drop-shadow(0 28px 46px rgba(78, 78, 229, 0.22));
}

.motion-line {
  position: absolute;
  border-radius: 999px;
  transform: rotate(-28deg);
}

.line-one {
  width: 72%;
  height: 16px;
  background: var(--cyan);
  opacity: 0.28;
  top: 30%;
  right: 0;
}

.line-two {
  width: 54%;
  height: 10px;
  background: var(--violet);
  opacity: 0.22;
  bottom: 25%;
  left: 6%;
}

.hero-stat {
  position: absolute;
  right: 0;
  bottom: 32px;
  z-index: 3;
  width: min(260px, 70vw);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-stat strong,
.hero-stat span {
  display: block;
}

.hero-stat strong {
  margin-bottom: 4px;
  color: var(--indigo);
  font-size: 1.35rem;
}

.hero-stat span {
  color: var(--muted);
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.align-start {
  align-items: start;
}

.lead-stack p,
.large-copy {
  font-size: 1.2rem;
}

.section-header {
  max-width: 980px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.section-header.narrow {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.timeline,
.cards,
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline article,
.cards article,
.process-steps article,
.culture-list article,
.principles article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.timeline article,
.cards article,
.culture-list article {
  padding: 24px;
}

.timeline span,
.process-steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: var(--indigo);
}

.manifest {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 24, 39, 0.92), rgba(78, 78, 229, 0.84)),
    linear-gradient(135deg, var(--violet), var(--cyan));
}

.manifest h2,
.manifest p,
.manifest .eyebrow {
  color: #fff;
}

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

.manifest-grid p {
  min-height: 148px;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.08);
}

.culture-list {
  display: grid;
  gap: 14px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.principles article {
  min-height: 150px;
  padding: 18px;
}

.principles strong {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.9rem;
}

.principles span {
  display: block;
  font-weight: 800;
  line-height: 1.35;
}

.values {
  background:
    linear-gradient(180deg, #fff 0%, #fff 42%, var(--soft) 42%, var(--soft) 100%);
}

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

.process {
  background: #171827;
}

.process h2,
.process h3,
.process .eyebrow {
  color: #fff;
}

.process p {
  color: #ccd2e2;
}

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

.process-steps article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.process-steps span {
  color: var(--ink);
  background: var(--cyan);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tech-grid span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #313348;
  font-weight: 800;
  background: #fff;
}

.products {
  background:
    linear-gradient(135deg, rgba(78, 78, 229, 0.08), rgba(16, 184, 198, 0.12)),
    #fff;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.product-copy {
  max-width: 800px;
}

.product-showcase-next {
  margin-top: 58px;
  padding-top: 58px;
  border-top: 1px solid rgba(78, 78, 229, 0.16);
}

.product-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.product-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: 7px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--violet), var(--indigo), var(--cyan));
}

.product-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 22px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--indigo);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(78, 78, 229, 0.1);
}

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

.product-features li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.55;
}

.product-features li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(16, 184, 198, 0.14);
}

.product-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(78, 78, 229, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.product-note p {
  margin: 0;
}

.product-note strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.45;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  background: var(--soft);
}

.contact-copy {
  max-width: 780px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(16, 184, 198, 0.22);
  border-color: var(--cyan);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 54px;
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

.site-footer p:last-child {
  margin-left: auto;
  color: var(--muted);
  font-weight: 500;
}

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

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 14px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav > a,
  .nav-group > a {
    display: flex;
    min-height: 46px;
    padding: 0;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .hero,
  .split,
  .product-showcase,
  .product-note,
  .contact {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3.25rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 340px;
  }

  .timeline,
  .cards,
  .process-steps,
  .manifest-grid,
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .section-band {
    padding: 58px 18px;
    scroll-margin-top: 76px;
  }

  h1 {
    font-size: 2.65rem;
    line-height: 1.06;
  }

  h2 {
    font-size: 2.3rem;
    line-height: 1.1;
  }

  .hero-copy,
  .lead-stack p,
  .large-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .timeline,
  .cards,
  .process-steps,
  .manifest-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .manifest-grid p {
    min-height: 116px;
  }

  .principles article {
    min-height: 118px;
  }

  .hero-stat {
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
  }

  .site-footer p:last-child {
    margin-left: 0;
  }
}
