:root {
  color-scheme: dark;
  --primary: #041c2c;
  --primary-soft: #0b3144;
  --surface: #082538;
  --surface-2: #0d3246;
  --surface-3: rgba(9, 40, 58, 0.82);
  --text: #eef6fb;
  --muted: #a8c2d2;
  --line: rgba(123, 229, 237, 0.18);
  --cyan: #22d4e6;
  --cyan-strong: #00c2d8;
  --blue: #3478f6;
  --purple: #8b5cf6;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --pink: #ec4899;
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(123, 229, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 229, 237, 0.06) 1px, transparent 1px),
    radial-gradient(circle at top, rgba(34, 212, 230, 0.08), transparent 32%),
    var(--primary);
  background-size: 48px 48px, 48px 48px, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(20px, 4vw, 56px);
  background: rgba(4, 28, 44, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
}

.nav-links,
.header-actions,
.hero-actions,
.cta-actions,
.top-conversion-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  justify-content: center;
}

.nav-links a,
.lang-link {
  color: rgba(238, 246, 251, 0.82);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a {
  padding: 10px 4px;
  white-space: nowrap;
}

.nav-links a:hover,
.lang-link:hover {
  color: #ffffff;
}

.header-actions {
  gap: 16px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 37, 56, 0.78);
}

.lang-link {
  display: inline-flex;
  min-width: 38px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.header-login-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--primary);
  background: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(34, 212, 230, 0.25);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.header-login-button:hover {
  background: var(--cyan-strong);
  box-shadow: 0 0 24px rgba(34, 212, 230, 0.4);
  transform: translateY(-1px);
}

.header-login-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.lang-link.is-active {
  color: var(--primary);
  background: var(--cyan);
}

.top-conversion {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 56px);
  background: linear-gradient(90deg, rgba(34, 212, 230, 0.16), rgba(8, 37, 56, 0.7));
  border-bottom: 1px solid var(--line);
}

.top-conversion-inner {
  display: flex;
  gap: 14px;
  align-items: center;
}

.top-conversion img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(34, 212, 230, 0.5);
  border-radius: 8px;
  object-fit: cover;
}

.top-conversion p,
.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-conversion strong {
  color: var(--text);
  font-size: 0.96rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--primary);
  background: var(--cyan);
}

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

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.button-large {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 1.04rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 72vh;
  place-items: center;
  overflow: hidden;
  padding: 88px 24px 64px;
  text-align: left;
}

.hero-media,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("/lp-assets/images/hero-lab.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 28, 44, 0.96) 0%, rgba(4, 28, 44, 0.86) 42%, rgba(4, 28, 44, 0.2) 78%),
    linear-gradient(180deg, rgba(4, 28, 44, 0.18), rgba(4, 28, 44, 0.82));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto 0 0;
  padding-inline: clamp(12px, 2.4vw, 28px);
  justify-self: start;
}

.hero-logo {
  width: 220px;
  height: auto;
  margin: 0 0 24px;
  filter: brightness(0) invert(1);
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 span {
  color: #8ef3ff;
}

.hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(238, 246, 251, 0.82);
  font-size: 1.05rem;
}

.hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 36px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 52px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-strip div {
  text-align: left;
}

.trust-strip dt {
  color: #8ef3ff;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
}

.trust-strip dd {
  margin: 8px 0 0;
  color: rgba(238, 246, 251, 0.7);
  font-size: 0.86rem;
  line-height: 1.6;
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-contrast {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-block: 1px solid var(--line);
}

.section-grid {
  display: grid;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
}

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

.section-image,
.terminal-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-image {
  aspect-ratio: 3 / 2;
}

.section-image-half {
  width: min(100%, 640px);
}

.section h2,
.final-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.18;
}

.section p,
.final-cta p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading-wide {
  max-width: 1360px;
}

.terminal-heading p {
  max-width: 980px;
  margin-inline: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 64px);
  max-width: 1360px;
  margin: 0 auto;
}

.service-card,
.use-case-card,
.journey-grid li,
.strength-grid article,
.faq-list details,
.terminal-card {
  overflow: hidden;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-primary {
  border-color: rgba(34, 212, 230, 0.46);
  box-shadow: 0 0 26px rgba(34, 212, 230, 0.12), var(--shadow);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto;
}

.use-case-card {
  min-height: 220px;
  padding: 30px 24px 28px;
}

.use-case-index {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.use-case-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.35;
}

.use-case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.service-visual {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #031624;
  padding: 18px;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
}

.service-visual::after {
  position: absolute;
  inset: 46% 0 0;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(8, 37, 56, 0.98));
}

.service-body {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 32px;
}

.service-body h3,
.journey-grid h3,
.strength-grid h3,
.terminal-body h3 {
  margin: 0 0 12px;
  color: #ffffff;
  line-height: 1.3;
}

.service-body h3 {
  font-size: 1.66rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: auto 0 26px;
  padding-top: 8px;
}

.feature-grid span {
  min-height: 60px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-grid span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.feature-muted span::before {
  background: var(--orange);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}

.service-card .button,
.service-actions .button {
  min-height: 56px;
  font-size: 1.08rem;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.services-heading {
  max-width: 1360px;
}

.services-heading h2 {
  white-space: nowrap;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.journey-grid li {
  position: relative;
  padding: 28px 22px 24px;
}

.journey-grid li:not(:last-child)::after {
  position: absolute;
  top: 64px;
  right: -14px;
  z-index: 2;
  color: rgba(238, 246, 251, 0.46);
  content: ">";
  font-size: 1.5rem;
  font-weight: 800;
}

.phase-illustration {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-bottom: 18px;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-size: 2rem;
}

.journey-grid span {
  display: inline-flex;
  min-width: 84px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.journey-grid p,
.strength-grid p,
.terminal-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.phase-blue {
  color: var(--blue);
}

.phase-blue span {
  background: var(--blue);
}

.phase-purple {
  color: var(--purple);
}

.phase-purple span {
  background: var(--purple);
}

.phase-green {
  color: var(--green);
}

.phase-green span {
  background: var(--green);
}

.phase-orange {
  color: var(--orange);
}

.phase-orange span {
  background: var(--orange);
}

.phase-red {
  color: var(--red);
}

.phase-red span {
  background: var(--red);
}

.phase-pink {
  color: var(--pink);
}

.phase-pink span {
  background: var(--pink);
}

.split-section>div,
.two-column-grid>div {
  max-width: 700px;
}

.split-section {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.98rem;
}

.check-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  grid-auto-rows: 1fr;
}

.terminal-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.terminal-image {
  aspect-ratio: 16 / 9;
}

.terminal-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto;
}

.strength-grid article {
  padding: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 56px 22px 24px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 28px clamp(20px, 5vw, 72px) 72px;
  padding: clamp(32px, 5vw, 52px);
  border: 1px solid rgba(34, 212, 230, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 37, 56, 0.96), rgba(13, 50, 70, 0.96));
  box-shadow: var(--shadow);
}

.cta-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(238, 246, 251, 0.72);
  background: rgba(1, 14, 24, 0.86);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer a {
  color: #8ef3ff;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .journey-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journey-grid li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .terminal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {

  .service-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

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

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

  .site-header {
    gap: 12px;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
  }

  .header-actions {
    justify-self: end;
  }

  .top-conversion {
    align-items: stretch;
    flex-direction: column;
  }

  .top-conversion-actions,
  .cta-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 920px) {
  .services-heading h2 {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 136px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-login-button {
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.86rem;
  }

  .language-switcher {
    padding: 2px;
  }

  .lang-link {
    min-width: 30px;
    height: 28px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-logo {
    width: 180px;
  }

  .trust-strip,
  .journey-grid,
  .strength-grid,
  .feature-grid,
  .terminal-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions,
  .top-conversion-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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