:root {
  --teal: #00b8b8;
  --teal-light: #20d3d0;
  --teal-soft: #e6fafa;
  --slate: #526371;
  --slate-dark: #2f3e46;
  --slate-mid: #6c7a86;
  --slate-light: #dde4e8;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --ink: #050607;
  --line: rgba(82, 99, 113, 0.16);
  --shadow: 0 24px 70px rgba(47, 62, 70, 0.15);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(190px, 320px) minmax(0, 1fr) minmax(190px, 320px);
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 72px;
  padding: 10px clamp(20px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(221, 228, 232, 0.72);
  backdrop-filter: blur(18px);
  transition:
    min-height 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

/* offset for fixed header */
body {
  padding-top: 72px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* ── Mobile menu button ─────────────────────────────────────── */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 180ms ease;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--slate-dark);
  border-radius: 2px;
  transition:
    transform 260ms ease,
    opacity 260ms ease,
    background 180ms ease;
}

.menu-btn:hover {
  border-color: var(--teal);
}

.menu-control {
  display: none;
  align-items: center;
  gap: 10px;
}

.menu-label {
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 850;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}



.site-header[data-scrolled] {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(47, 62, 70, 0.08);
}

.site-header::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(32, 211, 208, 0.78) 45%, transparent 72%);
  transform: translateX(-130%);
  animation: header-sweep 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes header-sweep {
  0%, 100% { transform: translateX(-130%); }
  50%      { transform: translateX(130%); }
}

.brand {
  display: flex;
  align-items: center;
  width: 320px;
  height: 58px;
  overflow: visible;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  mask-image:
    linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 3%, black 97%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.site-footer img {
  width: 140px;
  mask-image:
    linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.nav-links {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.1vw, 30px);
  color: var(--slate-dark);
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  z-index: 3;
}

.nav-links a,
.site-footer a {
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.lang-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--slate-mid);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.lang-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.nav-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav-cta,
.button.primary {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(5, 6, 7, 0.13);
}

.nav-cta::after,
.button.primary::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(32, 211, 208, 0.52) 45%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.nav-cta:hover,
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0, 184, 184, 0.23);
}

.nav-cta:hover::after,
.button.primary:hover::after {
  transform: translateX(130%);
}

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

.button.secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 184, 184, 0.5);
  color: var(--teal);
  box-shadow: 0 14px 32px rgba(47, 62, 70, 0.08);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px) 44px;
  overflow: hidden;
  isolation: isolate;
}

.lightning-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.85;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.86) 45%, rgba(255, 255, 255, 0.58) 100%),
    url("media/background.jpg") center / cover no-repeat;
  pointer-events: none;
}

.hero::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    radial-gradient(circle at 14% 24%, rgba(0, 184, 184, 0.14), transparent 24%),
    radial-gradient(circle at 77% 26%, rgba(82, 99, 113, 0.10), transparent 22%),
    linear-gradient(120deg, rgba(230, 250, 250, 0.42), transparent 52%);
  animation: atmosphere 10s ease-in-out infinite alternate;
  pointer-events: none;
}



.tech-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 0 44px, rgba(0, 184, 184, 0.14) 45px, transparent 46px),
    linear-gradient(0deg, transparent 0 44px, rgba(82, 99, 113, 0.12) 45px, transparent 46px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 84%, transparent);
  opacity: 0.28;
  animation: circuit-drift 18s linear infinite;
}

.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(0, 184, 184, 0.09);
  animation: node-pulse 2.8s ease-in-out infinite;
}

.node-a {
  top: 21%;
  left: 42%;
}

.node-b {
  top: 58%;
  left: 71%;
  animation-delay: 420ms;
}

.node-c {
  top: 34%;
  right: 10%;
  animation-delay: 900ms;
}

.node-d {
  bottom: 18%;
  left: 18%;
  animation-delay: 1.2s;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.output-label {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4.9rem, 11.3vw, 10.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h1,
h2,
.hero-statement,
.hero-copy {
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 4.2vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.18;
}

.hero-statement {
  margin-bottom: 18px;
  color: var(--slate-dark);
  font-size: clamp(1.55rem, 3vw, 2.85rem);
  font-weight: 850;
  line-height: 1.06;
}

.hero-copy {
  max-width: 650px;
  color: var(--slate);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
}

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

.hero-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero-audience span {
  padding: 8px 11px;
  border: 1px solid rgba(82, 99, 113, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--slate-dark);
  font-size: 0.88rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.console-card {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(82, 99, 113, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 248, 0.86)),
    var(--paper);
  box-shadow: var(--shadow);
  animation: float-card 5s ease-in-out infinite;
}

.console-card::before {
  position: absolute;
  inset: -40%;
  content: "";
  background: conic-gradient(from 180deg, transparent, rgba(0, 184, 184, 0.17), transparent 32%);
  animation: slow-spin 16s linear infinite;
}

.console-card > * {
  position: relative;
  z-index: 1;
}

.console-top {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-light);
}

.console-top span:first-child {
  background: var(--teal);
}

.console-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 238px;
  margin-bottom: 18px;
  border: 1px solid rgba(221, 228, 232, 0.82);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(230, 250, 250, 0.58)),
    url("media/background.jpg") center / cover no-repeat;
}

.console-logo img {
  width: min(66%, 285px);
  filter: drop-shadow(0 20px 26px rgba(47, 62, 70, 0.12));
}

.console-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--slate-dark);
}

.console-metric span {
  color: var(--teal);
  font-size: 2rem;
  font-weight: 900;
}

.progress-track {
  height: 10px;
  margin: 12px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(82, 99, 113, 0.14);
}

.progress-track span {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  animation: progress-glow 2.7s ease-in-out infinite;
}

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

.console-grid > div {
  position: relative;
  min-height: 76px;
  padding: 13px;
  border: 1px solid rgba(82, 99, 113, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.console-grid > div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--slate);
  font-size: 0.82rem;
}

.console-info-wrap {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 5;
}

.console-info-general {
  top: 12px;
  right: 12px;
}

.console-info-btn {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(0, 184, 184, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--teal);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(47, 62, 70, 0.12);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.console-info-btn:hover,
.console-info-wrap.is-open .console-info-btn {
  transform: translateY(-1px);
  border-color: var(--teal);
  background: var(--ink);
  color: var(--paper);
}

.console-info-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(220px, 68vw);
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(0, 184, 184, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--slate-dark);
  box-shadow: 0 18px 44px rgba(47, 62, 70, 0.18);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.42;
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.console-info-wrap:hover .console-info-popover,
.console-info-wrap:focus-within .console-info-popover,
.console-info-wrap.is-open .console-info-popover {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.console-grid > div:nth-child(n + 3) .console-info-popover {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(4px);
}

.console-grid > div:nth-child(n + 3) .console-info-wrap:hover .console-info-popover,
.console-grid > div:nth-child(n + 3) .console-info-wrap:focus-within .console-info-popover,
.console-grid > div:nth-child(n + 3) .console-info-wrap.is-open .console-info-popover {
  transform: translateY(0);
}

.console-info-wrap.is-open {
  z-index: 20;
}



.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, var(--max));
  margin: clamp(34px, 5vw, 72px) auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  box-shadow: 0 18px 45px rgba(47, 62, 70, 0.08);
}

.hero-panel div {
  min-height: 96px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.hero-panel span,
.method-steps span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.lap-e-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 184, 184, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 248, 0.92));
}

.lap-e-showcase::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 46px, rgba(0, 184, 184, 0.06) 47px, transparent 48px),
    linear-gradient(0deg, transparent 0 46px, rgba(82, 99, 113, 0.06) 47px, transparent 48px);
  background-size: 96px 96px;
  opacity: 0.56;
}

.lap-e-showcase::after {
  position: absolute;
  right: -120px;
  top: 20%;
  width: 420px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(0, 184, 184, 0), rgba(0, 184, 184, 0.48), rgba(82, 99, 113, 0));
  box-shadow:
    -120px 36px 0 rgba(82, 99, 113, 0.08),
    -220px -42px 0 rgba(0, 184, 184, 0.1);
}

.lap-e-showcase-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.lap-e-showcase-copy h2 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.lap-e-showcase-copy p {
  max-width: 640px;
  margin: 0;
  color: var(--slate);
  font-size: 1.02rem;
}

.lap-e-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lap-e-showcase-visual {
  justify-self: end;
  width: min(430px, 100%);
}

.lap-e-media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 184, 184, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(230, 250, 250, 0.42)),
    var(--paper);
  box-shadow: 0 26px 70px rgba(47, 62, 70, 0.18);
}

.lap-e-media-frame::before {
  position: absolute;
  inset: 12px;
  z-index: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  pointer-events: none;
}

.lap-e-media-frame::after {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  width: 42px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), rgba(221, 228, 232, 0.86));
}

.lap-e-media-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.lap-e-showcase-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(82, 99, 113, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(47, 62, 70, 0.08);
  backdrop-filter: blur(12px);
}

.lap-e-showcase-points article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid rgba(82, 99, 113, 0.14);
}

.lap-e-showcase-points article:last-child {
  border-right: 0;
}

.lap-e-showcase-points span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
}

.lap-e-showcase-points strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.lap-e-showcase-points p {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.section-pad {
  position: relative;
  padding: clamp(76px, 10vw, 136px) clamp(20px, 5vw, 72px);
}

.section-pad:not(.origin)::before,
.section-pad:not(.origin)::after {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.section-pad:not(.origin)::before {
  top: 0;
  height: 52px;
  background: linear-gradient(to bottom, var(--paper), transparent);
}

.section-pad:not(.origin)::after {
  bottom: 0;
  height: 52px;
  background: linear-gradient(to top, var(--paper), transparent);
}

.method.section-pad::before {
  background: linear-gradient(to bottom, var(--ink), transparent);
}

.method.section-pad::after {
  background: linear-gradient(to top, var(--ink), transparent);
}

.faq.section-pad::before,
.about.section-pad::before,
.lead-magnet.section-pad::before {
  background: linear-gradient(to bottom, var(--soft), transparent);
}

.faq.section-pad::after,
.about.section-pad::after,
.lead-magnet.section-pad::after {
  background: linear-gradient(to top, var(--soft), transparent);
}

.intro,
.services,
.method,
.diagnostic,
.about,
.contact,
.platform,
.origin {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.intro-grid,
.section-heading,
.platform,
.diagnostic,
.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.intro-tagline {
  margin-top: 12px;
  font-weight: 700;
  color: var(--teal);
  font-size: 1.02rem;
}

.intro-copy-stack {
  align-self: start;
  margin-top: clamp(-54px, -3.6vw, -34px);
  padding-top: 0;
}

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

.intro-copy-stack > p {
  margin: 0;
}

.intro-grid p,
.section-heading p,
.platform-copy p,
.diagnostic-copy p,
.about-copy p,
.contact-copy p {
  color: var(--slate);
  font-size: 1.06rem;
}

.section-heading {
  align-items: end;
  margin-bottom: 36px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 30px;
}

/* subtle texture on plain sections */
.intro,
.services,
.diagnostic {
  position: relative;
  isolation: isolate;
}

.intro::before,
.services::before,
.diagnostic::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: url("media/background-2.png") center / cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.code-lab {
  position: relative;
  margin-top: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(82, 99, 113, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 248, 0.9)),
    var(--paper);
  box-shadow: 0 22px 54px rgba(47, 62, 70, 0.14);
  isolation: isolate;
}

.code-lab::before {
  position: absolute;
  inset: -40%;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(0, 184, 184, 0.18) 50%, transparent 56%),
    linear-gradient(90deg, transparent 0 48px, rgba(0, 184, 184, 0.08) 49px, transparent 50px),
    linear-gradient(0deg, transparent 0 48px, rgba(82, 99, 113, 0.06) 49px, transparent 50px);
  background-size: 220px 220px, 50px 50px, 50px 50px;
  opacity: 0.14;
  animation: code-panel-flow 14s linear infinite;
}

.code-lab-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid rgba(82, 99, 113, 0.12);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.code-window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.code-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--slate-light);
}

.code-window-dots span:first-child {
  background: var(--teal);
}

.code-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.code-tabs::-webkit-scrollbar {
  display: none;
}

.code-tabs button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(82, 99, 113, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--slate);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.code-tabs button:hover,
.code-tabs button.active {
  border-color: rgba(0, 184, 184, 0.44);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.code-screen {
  position: relative;
  height: 286px;
  min-height: 0;
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(0, 184, 184, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.98), rgba(20, 30, 34, 0.96));
}

.code-screen::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 52px, rgba(0, 184, 184, 0.06) 53px, transparent 54px),
    linear-gradient(0deg, transparent 0 28px, rgba(255, 255, 255, 0.04) 29px, transparent 30px);
  background-size: 54px 30px;
  opacity: 0.7;
  animation: code-grid-drift 12s linear infinite;
  pointer-events: none;
}

.code-screen pre {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin: 0;
  white-space: pre-wrap;
  color: #e8fbfb;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.72rem, 1.2vw, 0.86rem);
  line-height: 1.64;
  transition: transform 420ms ease;
}

.code-screen code {
  color: inherit;
}

.code-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  margin-left: 2px;
  background: var(--teal-light);
  vertical-align: -0.2em;
  animation: code-cursor-blink 900ms steps(2, start) infinite;
}

.code-lab-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid rgba(82, 99, 113, 0.12);
  background: rgba(255, 255, 255, 0.84);
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.code-lab-foot span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
}

.code-lab-foot span:last-child::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(0, 184, 184, 0.8);
  content: "";
  animation: code-live-pulse 1.6s ease-in-out infinite;
}

@keyframes code-panel-flow {
  0%   { transform: translate3d(-2%, -2%, 0); }
  100% { transform: translate3d(2%, 2%, 0); }
}

@keyframes code-grid-drift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 54px 30px, 0 30px; }
}

@keyframes code-cursor-blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes code-live-pulse {
  0%, 100% { transform: scale(0.78); opacity: 0.58; }
  50%      { transform: scale(1); opacity: 1; }
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 14px;
  width: min(100%, var(--max));
  margin: 50px auto 0;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 390px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(82, 99, 113, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 248, 0.9)),
    var(--paper);
  box-shadow: 0 18px 48px rgba(47, 62, 70, 0.1);
  isolation: isolate;
}

.stat-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 184, 184, 0.14), transparent 30%),
    linear-gradient(90deg, transparent 0 42px, rgba(0, 184, 184, 0.07) 43px, transparent 44px);
  background-size: auto, 44px 44px;
  opacity: 0.8;
  animation: stat-card-field 16s linear infinite;
}

.roadmap-card::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 184, 184, 0.2), transparent 34%),
    linear-gradient(125deg, rgba(0, 184, 184, 0.1), transparent 42%),
    linear-gradient(90deg, transparent 0 42px, rgba(82, 99, 113, 0.06) 43px, transparent 44px);
  background-size: auto, auto, 44px 44px;
}

.stat-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  min-height: 76px;
}

.stat-head strong {
  display: block;
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
}

.stat-head span {
  max-width: 160px;
  color: var(--slate);
  font-weight: 750;
  text-align: right;
}

.stat-tabs {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  min-width: 0;
  min-height: 68px;
  margin-bottom: 14px;
  overflow: visible;
}

.stat-tabs button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(82, 99, 113, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--slate);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.stat-tabs button:hover,
.stat-tabs button.active {
  transform: translateY(-1px);
  border-color: rgba(0, 184, 184, 0.44);
  background: var(--ink);
  color: var(--paper);
}

.stat-explain {
  position: relative;
  flex: 1;
  min-height: 154px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 184, 184, 0.2);
  border-radius: 10px;
  background:
    radial-gradient(circle at 92% 0%, rgba(0, 184, 184, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(230, 250, 250, 0.62));
  color: var(--slate-dark);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.58;
}

.stat-explain::after {
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 3px;
  background: var(--teal);
  vertical-align: -0.15em;
  content: "";
  opacity: 0;
}

.stat-explain.is-typing::after {
  opacity: 1;
  animation: code-cursor-blink 900ms steps(2, start) infinite;
}

.roadmap-card .stat-explain {
  border-color: rgba(0, 184, 184, 0.3);
  box-shadow: inset 0 0 0 1px rgba(0, 184, 184, 0.06);
}

@keyframes stat-card-field {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 0 0, 44px 44px; }
}

/* ── Origin ─────────────────────────────────────────────────── */
.origin {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.origin-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
  filter: none;
  pointer-events: none;
}

.origin-grid {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.origin-copy {
  min-width: 0;
}

.origin-copy h2 {
  margin-bottom: 20px;
}

.origin-copy p {
  color: var(--slate);
  font-size: 1.04rem;
  margin-bottom: 18px;
}

.origin-quote {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 4px solid rgba(0, 184, 184, 0.55);
  border-radius: 0 10px 10px 0;
  background: rgba(223, 250, 250, 0.52);
  font-size: 1.08rem;
  font-weight: 750;
  color: var(--slate-dark);
  line-height: 1.45;
}

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

.service-card,
.method-steps article,
.diagnostic-tool,
.contact-form,
.contact-note {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(47, 62, 70, 0.08);
}

.service-card {
  position: relative;
  min-height: 296px;
  padding: 24px;
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(0, 184, 184, 0.14), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card > * {
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 184, 184, 0.42);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card img {
  width: 106px;
  height: 106px;
  margin: -4px 0 18px -4px;
  object-fit: contain;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card p,
.method-steps p {
  color: var(--slate);
}

.platform {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(244, 247, 248, 0.88), rgba(255, 255, 255, 0.96)),
    var(--paper);
}

.platform-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(47, 62, 70, 0.1);
}

.platform-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 800ms ease;
}

.platform-media:hover img {
  transform: scale(1.035);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.proof-list span {
  min-height: 48px;
  padding: 13px 14px;
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: var(--soft);
  color: var(--slate-dark);
  font-weight: 800;
}

.method {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.method::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 184, 184, 0.16), transparent 28%),
    linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, 0.05) 47px, transparent 48px);
  background-size: auto, 96px 96px;
  opacity: 0.8;
}

.method > * {
  position: relative;
}

.method .section-kicker,
.method-steps span {
  color: var(--teal-light);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
}

.method-steps article {
  min-height: 250px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: rgba(17, 23, 25, 0.92);
  box-shadow: none;
}

.method-steps p {
  color: rgba(255, 255, 255, 0.72);
}

.diagnostic {
  align-items: start;
}

.diagnostic-tool {
  padding: 22px;
}

.choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.choice {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  color: var(--slate-dark);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.choice.active,
.choice:hover {
  transform: translateY(-1px);
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--ink);
}

.solution-output {
  min-height: 220px;
  padding: 24px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 184, 184, 0.12), rgba(82, 99, 113, 0.08)),
    var(--paper);
}

.output-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.output-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(0, 184, 184, 0.34);
  border-radius: 999px;
  color: var(--slate-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.about {
  background: var(--soft);
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(34px, 5vw, 70px);
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.about-visual img {
  width: min(720px, 112%);
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 22px 42px rgba(47, 62, 70, 0.14));
}

/* ── FAQ accordion ──────────────────────────────────────────── */
.faq {
  background: var(--soft);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 62px;
  padding: 18px 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 800;
  text-align: left;
  line-height: 1.35;
  transition: color 160ms ease;
}

.faq-q:hover {
  color: var(--teal);
}

.faq-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--slate);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  transition:
    transform 280ms ease,
    border-color 280ms ease,
    color 280ms ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--teal);
  color: var(--teal);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    max-height 320ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.faq-item.open .faq-a {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
}

.faq-a p {
  margin: 0;
  padding-bottom: 22px;
  color: var(--slate);
  font-size: 0.96rem;
  line-height: 1.55;
}

.faq-foot {
  margin-top: 36px;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--slate-dark);
}

.faq-contact-btn {
  border: 0;
  border-bottom: 2px solid var(--teal);
  background: none;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.faq-contact-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ── Hiring ────────────────────────────────────────────────── */
.hiring {
  background: var(--paper);
}

.hiring-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.hiring-copy {
  min-width: 0;
}

.hiring-copy h2 {
  margin-bottom: 18px;
}

.hiring-copy p {
  color: var(--slate);
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.hiring-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.hiring-perks li {
  padding: 11px 14px;
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  background: var(--soft);
  color: var(--slate-dark);
  font-size: 0.93rem;
  font-weight: 700;
}

.hiring-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hiring-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(47, 62, 70, 0.06);
  text-align: center;
  transition: transform 220ms ease;
}

.hiring-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.hiring-stat {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.hiring-card span:last-child {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 750;
}

/* ── Lead magnet ───────────────────────────────────────────── */
.lead-magnet {
  background: var(--soft);
}

.lead-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, var(--paper), rgba(230, 250, 250, 0.44));
  box-shadow: 0 14px 38px rgba(47, 62, 70, 0.08);
}

.lead-card h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.lead-card p {
  color: var(--slate);
  font-size: 0.96rem;
}

.lead-card .button {
  flex-shrink: 0;
}

.contact {
  align-items: start;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.contact-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(0, 184, 184, 0.2), transparent 32%),
    rgba(5, 6, 7, 0.5);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(28px, 5vw, 64px);
  width: min(1180px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  padding: clamp(28px, 5vw, 54px);
  overflow-y: auto;
  border: 1px solid rgba(221, 228, 232, 0.86);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 248, 0.96)),
    var(--paper);
  box-shadow: 0 34px 90px rgba(5, 6, 7, 0.28);
  transform: translateY(22px) scale(0.98);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-modal.is-open .contact-panel {
  transform: translateY(0) scale(1);
}

.contact-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 44px, rgba(0, 184, 184, 0.08) 45px, transparent 46px),
    linear-gradient(0deg, transparent 0 44px, rgba(82, 99, 113, 0.08) 45px, transparent 46px);
  background-size: 92px 92px;
  opacity: 0.4;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--slate-dark);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.modal-close:hover {
  transform: translateY(-1px);
  border-color: var(--teal);
  color: var(--teal);
}

body.modal-open {
  overflow: hidden;
}

.contact-note {
  margin-top: 24px;
  padding: 18px;
  color: var(--slate-dark);
  background: var(--teal-soft);
  box-shadow: none;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-panel .contact-form {
  align-self: start;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--slate-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink);
  outline: 0;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 132px;
  padding: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(0, 184, 184, 0.1);
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(190, 30, 45, 0.54);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--slate);
}

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

.lap-e-chat {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 70;
  display: grid;
  justify-items: end;
  gap: 14px;
  pointer-events: none;
}

.lap-e-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding: 0;
  border: 1px solid rgba(0, 184, 184, 0.46);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, rgba(32, 211, 208, 0.34), transparent 42%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(5, 6, 7, 0.22);
  cursor: pointer;
  pointer-events: auto;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.lap-e-toggle:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 22px 54px rgba(5, 6, 7, 0.26);
}

.lap-e-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ink);
}

.lap-e-avatar img {
  width: 118%;
  max-width: none;
  transform: translateY(12px) scale(1.28);
}

.lap-e-pulse {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 0 6px rgba(32, 211, 208, 0.18);
}

.lap-e-panel {
  position: absolute;
  right: 0;
  bottom: 102px;
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto auto;
  width: min(390px, calc(100vw - 28px));
  max-height: min(660px, calc(100vh - 130px));
  overflow: hidden;
  border: 1px solid rgba(221, 228, 232, 0.9);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 248, 0.98)),
    var(--paper);
  box-shadow: 0 28px 78px rgba(5, 6, 7, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.97);
  transform-origin: bottom right;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lap-e-chat.is-open .lap-e-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lap-e-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 184, 184, 0.1), rgba(255, 255, 255, 0.86));
}

.lap-e-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lap-e-id img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: 50% 18%;
  border: 1px solid rgba(0, 184, 184, 0.38);
  border-radius: 50%;
  background: var(--ink);
}

.lap-e-id strong,
.lap-e-id span {
  display: block;
}

.lap-e-id strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.lap-e-id span {
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 750;
}

.lap-e-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--slate-dark);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 850;
}

.lap-e-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  overflow-y: auto;
  background:
    linear-gradient(90deg, transparent 0 31px, rgba(0, 184, 184, 0.05) 32px, transparent 33px),
    linear-gradient(0deg, transparent 0 31px, rgba(82, 99, 113, 0.05) 32px, transparent 33px),
    rgba(255, 255, 255, 0.78);
  background-size: 64px 64px;
}

.lap-e-message {
  width: fit-content;
  max-width: 86%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--slate-dark);
  font-size: 0.9rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.lap-e-message.assistant {
  justify-self: start;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(47, 62, 70, 0.08);
}

.lap-e-message.user {
  justify-self: end;
  border-color: rgba(0, 184, 184, 0.28);
  background: var(--teal-soft);
  color: var(--ink);
}

.lap-e-message.is-pending {
  color: var(--slate);
}

.lap-e-message strong {
  color: var(--ink);
  font-weight: 900;
}

.lap-e-actions {
  display: flex;
  gap: 8px;
  padding: 10px 14px 0;
  overflow-x: auto;
}

.lap-e-actions button,
.lap-e-end,
.lap-e-form button {
  border: 1px solid rgba(0, 184, 184, 0.28);
  background: var(--paper);
  color: var(--slate-dark);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.lap-e-actions button {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.lap-e-actions button:hover,
.lap-e-end:hover,
.lap-e-form button:hover {
  transform: translateY(-1px);
  border-color: var(--teal);
  color: var(--teal);
}

.lap-e-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 14px;
}

.lap-e-form textarea {
  min-height: 46px;
  max-height: 120px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  resize: none;
  outline: 0;
}

.lap-e-form textarea:focus {
  border-color: var(--teal);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(0, 184, 184, 0.1);
}

.lap-e-form button {
  min-width: 72px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
}

.lap-e-form button:disabled,
.lap-e-form textarea:disabled {
  cursor: wait;
  opacity: 0.68;
}

.lap-e-end {
  margin: 0 14px 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--teal-soft);
}

.lap-e-end[hidden] {
  display: none;
}

.lap-e-dialog {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 184, 184, 0.18), transparent 38%),
    rgba(5, 6, 7, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lap-e-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lap-e-dialog-card {
  display: grid;
  gap: 14px;
  width: min(318px, 100%);
  padding: 18px;
  border: 1px solid rgba(221, 228, 232, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(5, 6, 7, 0.26);
}

.lap-e-dialog-card[hidden] {
  display: none;
}

.lap-e-dialog-card h3,
.lap-e-dialog-card p {
  margin: 0;
}

.lap-e-dialog-card h3 {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
}

.lap-e-dialog-card p {
  color: var(--slate);
  font-size: 0.9rem;
}

.lap-e-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lap-e-dialog-actions button {
  min-height: 40px;
  border: 1px solid rgba(0, 184, 184, 0.28);
  border-radius: 12px;
  background: var(--paper);
  color: var(--slate-dark);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.lap-e-dialog-actions button:first-child {
  background: var(--ink);
  color: var(--paper);
}

.lap-e-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.lap-e-stars button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--slate-light);
  cursor: pointer;
  font-size: 1.72rem;
  line-height: 1;
  transition:
    color 140ms ease,
    transform 140ms ease;
}

.lap-e-stars button:hover,
.lap-e-stars button.is-active {
  color: var(--teal);
  transform: translateY(-1px);
}

.lap-e-survey-comment {
  display: grid;
  gap: 8px;
  color: var(--slate-dark);
  font-size: 0.84rem;
  font-weight: 850;
}

.lap-e-survey-comment textarea {
  width: 100%;
  min-height: 82px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  outline: 0;
  resize: vertical;
}

.lap-e-survey-comment textarea:focus {
  border-color: var(--teal);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(0, 184, 184, 0.1);
}

.site-footer {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--slate);
}

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

.site-footer p {
  margin: 0;
}

[data-i18n] {
  transition: opacity 380ms ease, filter 380ms ease, color 380ms ease;
}

.reveal {
  opacity: 1;
  transform: translateY(18px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

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

@keyframes atmosphere {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-1.5%, 1.2%, 0) scale(1.03);
  }
}

@keyframes circuit-drift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 92px 92px;
  }
}

@keyframes mobile-menu-grid {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 92px 46px;
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes node-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}



@keyframes progress-glow {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.16);
  }
}

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

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

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .console-card {
    margin: 0;
  }

  .badge-one {
    left: 16px;
  }

  .badge-two {
    right: 16px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    z-index: 1000;
  }

  .brand {
    width: clamp(126px, 18vw, 178px);
    height: 44px;
  }

  .menu-btn {
    display: flex;
  }

  .menu-control {
    display: flex;
  }

  .header-actions {
    position: fixed;
    top: calc(100dvh - 112px);
    left: 20px;
    right: 20px;
    bottom: auto;
    z-index: 1002;
    justify-content: center;
    padding: 14px;
    border: 1px solid rgba(82, 99, 113, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(47, 62, 70, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition:
      opacity 220ms ease,
      visibility 220ms ease,
      transform 220ms ease;
  }

  body.menu-open .header-actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    width: 100vw;
    height: calc(100dvh - 72px);
    padding: 22px 20px 124px;
    background:
      linear-gradient(135deg, #ffffff 0%, #f7ffff 58%, #eefbfb 100%),
      var(--paper);
    box-shadow: 0 28px 70px rgba(47, 62, 70, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 260ms ease,
      visibility 260ms ease,
      transform 260ms ease;
    overflow-y: auto;
    isolation: isolate;
  }

  .nav-links::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background:
      linear-gradient(90deg, transparent 0 44px, rgba(0, 184, 184, 0.08) 45px, transparent 46px),
      linear-gradient(0deg, transparent 0 44px, rgba(82, 99, 113, 0.06) 45px, transparent 46px),
      radial-gradient(circle at 12% 18%, rgba(0, 184, 184, 0.12), transparent 28%);
    background-size: 92px 92px;
    opacity: 0.58;
    animation: mobile-menu-grid 16s linear infinite;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    position: relative;
    z-index: 1;
    padding: 15px 16px;
    border: 1px solid rgba(82, 99, 113, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(47, 62, 70, 0.06);
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      background 180ms ease;
  }

  .nav-links a:hover {
    transform: translateX(4px);
    border-color: rgba(0, 184, 184, 0.38);
    background: var(--paper);
  }

  .hero-panel,
  .lap-e-showcase-grid,
  .intro-grid,
  .section-heading,
  .platform,
  .diagnostic,
  .about,
  .contact:not(.contact-panel) {
    grid-template-columns: 1fr;
  }

  .intro-copy-stack {
    margin-top: 0;
    padding-top: 0;
  }

  .lap-e-showcase-visual {
    justify-self: start;
    width: min(360px, 100%);
  }

  .lap-e-showcase-points {
    grid-template-columns: 1fr;
  }

  .lap-e-showcase-points article {
    border-right: 0;
    border-bottom: 1px solid rgba(82, 99, 113, 0.14);
  }

  .lap-e-showcase-points article:last-child {
    border-bottom: 0;
  }

  .code-lab {
    max-width: 760px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 32px);
  }

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

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

  .lead-card {
    grid-template-columns: 1fr;
  }

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

  .stat-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 8px;
    width: 100vw;
    max-width: 100vw;
    overflow: visible;
    padding: 10px 14px;
  }

  .brand {
    width: 104px;
    height: 36px;
  }

  .nav-cta {
    display: flex;
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.78rem;
  }

  .lang-toggle {
    width: 36px;
    height: 30px;
    font-size: 0.68rem;
  }

  .menu-btn {
    display: flex;
    width: 32px;
    height: 32px;
    padding: 5px;
    gap: 4px;
  }

  .menu-control {
    gap: 8px;
  }

  .menu-label {
    max-width: 96px;
    font-size: 0.68rem;
    line-height: 1.1;
    text-align: right;
  }

  .header-actions {
    gap: 6px;
    left: 12px;
    right: 12px;
    top: calc(100dvh - 96px);
    bottom: auto;
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding: 58px 24px 44px;
  }

  .hero-grid,
  .hero-content,
  .hero-panel {
    width: 100%;
    max-width: 342px;
    margin-left: 0;
    margin-right: 0;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(4rem, 18vw, 5.2rem);
    line-height: 0.98;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-statement {
    font-size: 1.35rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-panel,
  .lap-e-showcase-points,
  .service-grid,
  .method-steps,
  .choice-group,
  .proof-list,
  .contact-form,
  .site-footer,
  .stat-strip,
  .console-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    margin-top: 42px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .lap-e-showcase-copy h2 {
    font-size: clamp(2.45rem, 13vw, 3.4rem);
  }

  .lap-e-showcase-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lap-e-showcase-actions .button {
    width: 100%;
  }

  .lap-e-showcase-visual {
    width: min(320px, 100%);
  }

  .code-lab {
    margin-top: 22px;
    border-radius: 10px;
  }

  .code-lab-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .code-tabs {
    justify-content: flex-start;
  }

  .code-screen {
    height: 304px;
    min-height: 0;
    padding: 16px;
  }

  .code-screen pre {
    min-height: 0;
    font-size: 0.72rem;
    line-height: 1.58;
  }

  .platform-media img {
    min-height: 260px;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .contact-panel {
    width: 100%;
    padding: 52px 18px 20px;
    border-radius: 14px;
  }

  .contact-modal {
    padding: 12px;
  }

  .contact-panel .contact-copy h2 {
    font-size: 2rem;
  }

  .about-visual {
    justify-content: center;
  }

  .about-visual img {
    width: min(640px, 118%);
  }

  .lead-card {
    grid-template-columns: 1fr;
  }

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

  .hiring-stat {
    font-size: 2.2rem;
  }

  .nav-links {
    top: 68px;
    height: calc(100dvh - 68px);
  }

  .menu-open .lap-e-chat {
    display: none;
  }

  .lap-e-chat {
    right: 14px;
    bottom: 14px;
  }

  .lap-e-toggle {
    width: 72px;
    height: 72px;
  }

  .lap-e-avatar {
    width: 60px;
    height: 60px;
  }

  .lap-e-panel {
    bottom: 86px;
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 112px);
  }

  .lap-e-form {
    grid-template-columns: 1fr;
  }

  .lap-e-form button {
    min-height: 42px;
  }
}
