/* Base: reset, page layout, header, footer and the prototype's first components.
   The site CSS is split in numbered files that load in this order: the order is
   part of the cascade, so a rule moves between files only if nothing in between
   competes with it. Colours and sizes come from ../tokens.css. Fonts are
   self-hosted and declared in theme.json (fontFace). */

* {
  box-sizing: border-box;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: radial-gradient(circle at 78% 8%, rgb(from var(--color-brand) r g b / 0.16), transparent 28%),
    radial-gradient(circle at 12% 36%, rgb(from var(--green) r g b / 0.07), transparent 25%), var(--bg);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(from var(--bg) r g b / 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  position: relative;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand img {
  object-position: center;
  width: 36px;
  height: 36px;
}
.hero {
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(from var(--color-brand) r g b / 0.22), transparent 68%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow:before {
  content: "";
}
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.055em;
  margin: 0;
}
h1 {
  max-width: 980px;
  margin-top: 22px;
}
.hero-title {
  position: relative;
  display: flex;
  align-items: baseline;
  min-height: 1.05em;
  gap: 0;
}
.hero-word.is-visible {
  animation: wordIn 0.52s cubic-bezier(0.22, 0.75, 0.2, 1) forwards;
}
@keyframes wordIn {
  from {
    opacity: 0;
    transform: translateY(110%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-word.complexity-impact {
  animation: complexityImpact 1.15s cubic-bezier(0.16, 0.82, 0.2, 1) both;
  color: var(--white);
}
@keyframes complexityImpact {
  0% {
    transform: scale(1);
    -webkit-text-stroke: 0 solid transparent;
    text-shadow: none;
  }
  35% {
    transform: scale(1.045);
    -webkit-text-stroke: 1.6px var(--color-accent);
    text-shadow: 0 0 18px rgb(from var(--color-accent) r g b / 0.18);
  }
  70% {
    transform: scale(1.018);
    -webkit-text-stroke: 1px rgb(from var(--color-accent) r g b / 0.65);
    text-shadow: none;
  }
  100% {
    transform: scale(1);
    -webkit-text-stroke: 0 solid transparent;
    text-shadow: none;
  }
}
.hero-word-stage.is-final .hero-word {
  opacity: 0 !important;
  transform: translateY(-115%) !important;
}
.grad {
  background: linear-gradient(100deg, var(--white), var(--blue-light) 48%, var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy {
  color: #b8c3d1;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.section {
  padding: 100px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head p,
.lead {
  color: var(--muted);
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(10, 31, 55, 0.9), rgba(6, 18, 35, 0.78));
  position: relative;
  overflow: hidden;
}
.card:before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: rgb(from var(--color-brand) r g b / 0.16);
  filter: blur(10px);
}
.card:hover {
  border-color: rgb(from var(--color-accent) r g b / 0.28);
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--color-accent);
  color: #091426;
  border: 1px solid rgb(from var(--color-accent) r g b / 0.9);
  box-shadow: 0 10px 26px rgb(from var(--color-accent) r g b / 0.18);
}
.benefit {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 70px;
}
.tag {
  display: inline-block;
  border: 1px solid rgb(from var(--color-accent) r g b / 0.25);
  color: var(--color-accent);
  background: rgb(from var(--color-accent) r g b / 0.05);
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 800;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
details p {
  color: var(--muted);
  max-width: 850px;
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.logo-tile {
  height: 90px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #aeb9c8;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.018);
}
.cta {
  padding: 90px 0;
}
.cta-box {
  border: 1px solid rgb(from var(--color-accent) r g b / 0.2);
  border-radius: 32px;
  padding: 60px;
  background: radial-gradient(circle at 75% 20%, rgb(from var(--green) r g b / 0.14), transparent 25%),
    radial-gradient(circle at 25% 80%, rgb(from var(--color-brand) r g b / 0.18), transparent 32%), var(--navy);
  text-align: center;
}
.cta-box p {
  color: var(--muted);
  max-width: 640px;
  margin: 20px auto 30px;
}
.form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}
label {
  color: #b7c2d0;
  font-weight: 600;
}
input,
textarea,
select {
  width: 100%;
  margin-top: 7px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--white);
  padding: 14px;
  font: inherit;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgb(from var(--color-accent) r g b / 0.55);
  box-shadow: 0 0 0 3px rgb(from var(--color-accent) r g b / 0.06);
}
textarea {
  min-height: 140px;
  resize: vertical;
}
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: #7f8da0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8dee7;
  font-weight: 800;
}
.footer-brand img {
  object-fit: contain;
}
.notice {
  color: #7f8da0;
}
@media (max-width: 850px) {
  .hero-title {
    display: block;
  }
  .section-head,
  .split {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .grid2,
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding-top: 75px;
  }
  .container {
    width: min(calc(100% - 32px), var(--max));
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
