:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-elev: #111114;
  --bg-soft: #15151a;
  --border: #292930;
  --border-strong: #3a3a44;
  --fg: #f2f2f4;
  --fg-dim: #b4b4bd;
  --accent: #6ea8ff;
  --accent-bright: #9fc5ff;
  --accent-soft: rgba(110, 168, 255, 0.12);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --radius: 12px;
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 8%, rgba(110, 168, 255, 0.09), transparent 30%),
    var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 75%);
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  color: var(--bg);
  background: var(--accent-bright);
  font-family: var(--mono);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

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

.site-header {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
  border-radius: 2px;
  box-shadow: 4px 4px 0 var(--accent-soft);
}

.lang-switch {
  display: flex;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.lang-switch a {
  min-width: 38px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--fg-dim);
  text-align: center;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease;
}

.lang-switch a.active {
  color: var(--fg);
  background: var(--accent-soft);
  border-color: rgba(110, 168, 255, 0.35);
}

.lang-switch a:not(.active):hover {
  color: var(--fg);
  border-color: var(--border);
  background: var(--bg-elev);
}

main {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  padding: 72px 0 48px;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.redirect {
  width: auto;
  margin: 0;
  padding: 32px;
  text-align: center;
}

.redirect p {
  color: var(--fg-dim);
  font-family: var(--mono);
  font-size: 13px;
}

.redirect a {
  color: var(--fg);
  border-bottom: 1px solid var(--border-strong);
  transition:
    color 150ms ease,
    border-color 150ms ease;
}

.redirect a:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
  min-height: 600px;
  padding: 36px 0 88px;
}

.eyebrow,
.section-kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 24px;
}

h1 {
  max-width: 760px;
  font-size: clamp(52px, 7.2vw, 92px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 span {
  display: block;
  color: var(--fg-dim);
}

.lede {
  max-width: 650px;
  margin-top: 28px;
  color: var(--fg-dim);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

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

.button {
  min-height: 48px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button::after {
  content: "↗";
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button:is(:hover, :focus-visible)::after {
  transform: translate3d(2px, -2px, 0);
}

.button-primary {
  color: #08090c;
  background: var(--accent);
  border-color: var(--accent);
}

.button-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--fg);
  background: rgba(17, 17, 20, 0.7);
}

.button-secondary::after {
  content: "↓";
}

.button-secondary:is(:hover, :focus-visible)::after {
  transform: translate3d(0, 2px, 0);
}

.button-secondary:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--fg-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.status::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(110, 168, 255, 0.65);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-stat {
  position: relative;
  min-height: 350px;
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, var(--accent-soft), transparent 52%),
    var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.hero-stat::after {
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(110, 168, 255, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(110, 168, 255, 0.035),
    0 0 0 58px rgba(110, 168, 255, 0.02);
}

.stat-label {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-number {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(104px, 14vw, 160px);
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 0.75;
  color: var(--accent-bright);
}

.stat-unit {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-note {
  position: relative;
  z-index: 1;
  max-width: 230px;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.5;
}

section {
  margin-top: 120px;
  scroll-margin-top: 28px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

h2 {
  max-width: 720px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section-copy {
  max-width: 630px;
  margin-top: 16px;
  color: var(--fg-dim);
  font-size: 17px;
}

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

.capability {
  min-height: 370px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.capability:hover {
  border-color: var(--border-strong);
  background: var(--bg-soft);
  transform: translateY(-3px);
}

.capability-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 52px;
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid rgba(110, 168, 255, 0.25);
  border-radius: 9px;
}

.capability-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.capability p {
  color: var(--fg-dim);
  font-size: 14px;
}

.tech-list {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.tech-list li {
  padding: 3px 8px;
  color: var(--fg-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.promise {
  position: relative;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(44px, 7vw, 96px);
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius);
}

.promise::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: var(--accent);
}

.promise-number {
  font-size: clamp(112px, 17vw, 210px);
  font-weight: 650;
  letter-spacing: -0.1em;
  line-height: 0.75;
}

.promise-unit {
  display: block;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promise-content h3 {
  max-width: 600px;
  font-size: clamp(29px, 4vw, 48px);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.promise-intro {
  max-width: 610px;
  margin-top: 18px;
  color: #48484f;
  font-size: 17px;
}

.promise-points {
  margin-top: 34px;
  list-style: none;
  border-top: 1px solid #cbccd0;
}

.promise-points li {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  border-bottom: 1px solid #cbccd0;
  font-size: 14px;
}

.promise-points span {
  color: #28568f;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  padding: clamp(30px, 5vw, 56px);
  background:
    linear-gradient(120deg, rgba(110, 168, 255, 0.1), transparent 45%),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact .section-kicker {
  display: block;
  margin-bottom: 18px;
}

.contact h2 {
  max-width: 700px;
}

.contact-intro {
  max-width: 590px;
  margin-top: 16px;
  color: var(--fg-dim);
  font-size: 16px;
}

.contact-link {
  white-space: nowrap;
}

footer {
  margin-top: 96px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--fg-dim);
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
}

footer a {
  color: var(--fg-dim);
  transition: color 150ms ease;
}

footer a:hover {
  color: var(--accent-bright);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(110, 168, 255, 0.55);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(110, 168, 255, 0);
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-stat,
section {
  animation: enter 600ms ease both;
}

.hero-stat {
  animation-delay: 80ms;
}

section {
  animation-delay: 140ms;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 50px;
    padding-bottom: 32px;
  }

  .hero-stat {
    min-height: 290px;
  }

  .stat-number {
    font-size: 132px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .capability {
    min-height: 0;
  }

  .capability-icon {
    margin-bottom: 36px;
  }

  .tech-list {
    margin-top: 28px;
  }

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

  .promise-number {
    font-size: 150px;
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-link {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  body::before {
    background-size: 44px 44px;
  }

  .site-header,
  main {
    width: min(calc(100% - 36px), var(--page-width));
  }

  .site-header {
    padding: 18px 0;
  }

  main {
    padding-top: 38px;
  }

  .hero {
    gap: 36px;
    padding: 22px 0 20px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 64px);
    letter-spacing: -0.06em;
  }

  .lede {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 28px;
    display: grid;
  }

  .button {
    width: 100%;
  }

  .status {
    align-items: flex-start;
    line-height: 1.45;
  }

  .status::before {
    margin-top: 5px;
  }

  .hero-stat {
    min-height: 260px;
    padding: 24px;
  }

  .stat-number {
    font-size: 116px;
  }

  section {
    margin-top: 84px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  h2 {
    font-size: 32px;
  }

  .section-copy {
    font-size: 15px;
  }

  .capability {
    padding: 22px;
  }

  .capability-icon {
    margin-bottom: 30px;
  }

  .promise {
    gap: 42px;
    padding: 36px 24px 30px;
  }

  .promise-number {
    font-size: 120px;
  }

  .promise-intro {
    font-size: 15px;
  }

  .contact {
    gap: 32px;
    padding: 30px 24px;
  }

  footer {
    margin-top: 72px;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .button:is(:hover, :focus-visible)::after,
  .button-secondary:is(:hover, :focus-visible)::after {
    transform: none;
  }
}
