/* ================================================================
   CELIXTRA WEBSITE STYLES
   Edit colors, spacing and typography from the variables below.
   ================================================================ */
:root {
  --ink: #05070d;
  --ink-soft: #0a1020;
  --paper: #f3f5f8;
  --white: #f7f9ff;
  --blue: #2457ff;
  --violet: #7448ff;
  --cyan: #28c8f5;
  --muted: #9caac4;
  --line-dark: rgba(166, 183, 217, 0.18);
  --line-light: #cbd2df;
  --text: #0c1322;
  --page-padding: clamp(24px, 6vw, 100px);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}

/* Header */
.site-header {
  height: 92px;
  padding: 0 clamp(24px, 4.5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  letter-spacing: 0;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 50px);
}
.main-navigation a {
  color: #d6ddeb;
  font-size: 14px;
  padding: 36px 0 33px;
  position: relative;
  white-space: nowrap;
}
.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: 0.3s;
}
.main-navigation a:hover,
.main-navigation a.active {
  color: white;
}
.main-navigation a:hover::after,
.main-navigation a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-button {
  justify-self: end;
}
.menu-button {
  display: none;
}

/* Reusable elements */
.button {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 3px;
  background: var(--blue);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 13px 42px rgba(36, 87, 255, 0.27);
  transition: 0.25s;
}
.button:hover {
  transform: translateY(-2px);
  background: #3a69ff;
  box-shadow: 0 16px 50px rgba(36, 87, 255, 0.36);
}
.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}
.button-outline {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
.button-light {
  background: white;
  color: var(--ink);
  box-shadow: none;
}
.button-light:hover {
  background: #e9efff;
  color: #14399f;
}
.button-dark {
  background: var(--ink);
  box-shadow: none;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.eyebrow,
.section-label {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.27em;
  font-weight: 700;
  color: #6887ff;
  text-transform: uppercase;
}
.section-label {
  color: #3c4960;
  letter-spacing: 0.2em;
}
.section-label.blue {
  color: #6f8cff;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid #1c315f;
  font-size: 13px;
  font-weight: 700;
}
.section-button {
  width: max-content;
  margin: 48px auto 0;
}

/* Home hero */
.home-hero {
  min-height: 850px;
  padding: 145px clamp(24px, 4.5vw, 76px) 70px;
  background:
    radial-gradient(
      circle at 76% 35%,
      rgba(36, 87, 255, 0.12),
      transparent 30%
    ),
    var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 51% 49%;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid-effect {
  position: absolute;
  width: 480px;
  height: 420px;
  right: -90px;
  top: 150px;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(83, 112, 224, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 112, 224, 0.13) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to left, black, transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1,
.page-hero h1,
.contact-section h1,
.start-section aside h1 {
  max-width: 830px;
  margin: 20px 0 25px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(66px, 7.3vw, 116px);
  letter-spacing: -0.045em;
  line-height: 0.84;
  text-transform: uppercase;
}
.hero-content h1 em {
  display: block;
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px #7590ff;
  text-shadow: 0 0 45px rgba(36, 87, 255, 0.18);
}
.hero-description {
  max-width: 550px;
  color: #b4bfd2;
  font-size: 17px;
  line-height: 1.65;
}
.hero-proof {
  margin-top: 56px;
  display: flex;
  gap: 28px;
  color: #8592aa;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-image {
  height: 720px;
  align-self: stretch;
  margin: -80px -8vw -70px -16vw;
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 71% center;
  mix-blend-mode: screen;
  animation: breathe 8s ease-in-out infinite;
}
.signal {
  position: absolute;
  padding: 9px 12px;
  background: rgba(5, 7, 13, 0.7);
  border: 1px solid rgba(110, 137, 239, 0.25);
  color: #a9b7ce;
  font-size: 8px;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}
.signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.signal-one {
  right: 7%;
  top: 29%;
}
.signal-two {
  left: 27%;
  bottom: 18%;
}
.product-rail {
  min-height: 112px;
  padding: 20px clamp(24px, 4.5vw, 76px);
  background: white;
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 65px);
  overflow-x: auto;
  border-bottom: 1px solid #dce1e9;
}
.product-rail small {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #7d8799;
  white-space: nowrap;
}
.product-rail a {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.product-rail a i {
  width: 39px;
  height: 39px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-family: Arial, sans-serif;
  font-size: 18px;
}
.product-rail a:nth-of-type(2) i {
  background: var(--ink);
  border-radius: 50%;
}
.product-rail > span {
  height: 40px;
  width: 1px;
  background: #d5dae3;
}
.product-rail p {
  margin-left: auto;
  color: #6c768a;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

/* General sections */
.intro-section {
  padding: clamp(90px, 10vw, 160px) var(--page-padding);
  display: grid;
  grid-template-columns: 25% 75%;
  gap: 30px;
}
.section-side {
  display: flex;
  justify-content: space-between;
  padding-right: 35px;
}
.section-side span {
  font-size: 11px;
  color: #8993a5;
}
.intro-section h2,
.story-intro h2,
.principle-section h2 {
  margin: 0;
  font-size: clamp(43px, 5.5vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.intro-section h2 em {
  color: var(--blue);
  font-style: normal;
}
.intro-section article > p {
  max-width: 700px;
  margin: 38px 0 25px;
  color: #5e687b;
  font-size: 17px;
  line-height: 1.8;
}
.dark-section {
  padding: clamp(90px, 9vw, 145px) var(--page-padding);
  background:
    radial-gradient(circle at 90% 5%, rgba(36, 87, 255, 0.14), transparent 27%),
    var(--ink);
  color: white;
  overflow: hidden;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 68px;
}
.section-heading h2 {
  margin: 18px 0 0;
  font-size: clamp(43px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.section-heading > p {
  max-width: 390px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
}
.card-grid article {
  min-height: 405px;
  padding: 27px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  transition: 0.3s;
}
.service-cards article:hover {
  background: rgba(36, 87, 255, 0.08);
  transform: translateY(-4px);
}
.card-grid article > span {
  color: #66738d;
  font-size: 10px;
}
.service-cards article > i {
  display: block;
  margin: 75px 0 30px;
  color: var(--blue);
  font-size: 33px;
  font-style: normal;
}
.card-grid h3 {
  margin: 0 0 17px;
  font-size: 21px;
}
.card-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.service-cards article > a {
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
}
.value-cards article {
  min-height: 325px;
}
.value-cards h3 {
  margin-top: 90px;
  font-size: 23px;
}
.impact-section {
  padding: clamp(90px, 10vw, 160px) var(--page-padding);
  display: grid;
  grid-template-columns: 43% 57%;
  gap: 8vw;
  align-items: center;
}
.impact-section h2 {
  margin: 21px 0 27px;
  font-size: clamp(43px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.impact-section article > p:not(.section-label) {
  max-width: 520px;
  color: #657085;
  line-height: 1.75;
}
.impact-section .button {
  margin-top: 25px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.stat-grid div {
  min-height: 185px;
  padding: 28px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-grid strong {
  font-size: 62px;
  letter-spacing: -0.07em;
}
.stat-grid span {
  color: #657085;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.stat-grid .stat-blue {
  background: var(--blue);
  color: white;
}
.stat-grid .stat-blue span {
  color: white;
}

/* Product cards */
.product-feature {
  min-height: 620px;
  padding: 70px clamp(30px, 5vw, 75px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 28px;
  color: white;
}
.product-feature.celiform {
  background: linear-gradient(135deg, #1237b8, #2866ff 60%, #62bdff);
}
.product-feature.celitool {
  background:
    radial-gradient(circle at 82% 34%, #273d72, transparent 33%), #080b11;
}
.product-feature > small {
  position: absolute;
  left: 35px;
  top: 30px;
  font-size: 9px;
  letter-spacing: 0.18em;
}
.product-feature > div {
  max-width: 560px;
  position: relative;
  z-index: 2;
}
.pill {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 20px;
  font-size: 8px;
  letter-spacing: 0.15em;
}
.product-feature h3 {
  margin: 28px 0 24px;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.06em;
}
.product-feature p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}
.product-feature .button {
  margin-top: 22px;
}
.product-feature > b {
  position: absolute;
  right: 2%;
  top: 1%;
  color: rgba(255, 255, 255, 0.09);
  font-family: Impact, sans-serif;
  font-size: 520px;
  line-height: 1;
}
.product-index {
  padding: 70px clamp(24px, 4.5vw, 76px) 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #e5e9f0;
}
.product-index .product-feature {
  min-height: 690px;
  margin: 0;
  align-items: flex-end;
  padding-bottom: 60px;
}
.product-index .product-feature > b {
  font-size: 390px;
}
.principle-section {
  padding: clamp(90px, 10vw, 155px) var(--page-padding);
  display: grid;
  grid-template-columns: 32% 68%;
  gap: 5vw;
}
.principle-section h2 {
  font-size: clamp(42px, 5vw, 72px);
}
.principle-section article > p {
  max-width: 700px;
  color: #657085;
  line-height: 1.8;
}

/* Inner pages */
.page-hero {
  min-height: 700px;
  padding: 190px var(--page-padding) 115px;
  background:
    radial-gradient(circle at 82% 28%, rgba(36, 87, 255, 0.2), transparent 27%),
    var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -140px;
  bottom: -300px;
  border: 1px solid rgba(83, 113, 230, 0.23);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(36, 87, 255, 0.03),
    0 0 0 160px rgba(36, 87, 255, 0.02);
}
.page-hero h1 {
  max-width: 1150px;
  position: relative;
  z-index: 1;
}
.page-hero h1 span {
  color: #6986ff;
}
.page-hero > p:last-child {
  max-width: 730px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.story-intro {
  padding: clamp(90px, 10vw, 160px) var(--page-padding);
  display: grid;
  grid-template-columns: 36% 64%;
  gap: 8vw;
  align-items: center;
}
.story-orb {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4774ff, #0b1730 58%, #05070d);
  display: grid;
  place-items: center;
  color: white;
  font-family: Impact, sans-serif;
  font-size: 11vw;
  box-shadow: 0 30px 90px rgba(36, 87, 255, 0.25);
}
.story-intro h2 {
  margin: 20px 0 30px;
  font-size: clamp(40px, 4.8vw, 70px);
}
.story-intro article > p:not(.section-label) {
  color: #626d81;
  font-size: 16px;
  line-height: 1.8;
}
.timeline-section {
  padding: clamp(90px, 9vw, 145px) var(--page-padding);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 65px;
}
.timeline article {
  padding-right: 25px;
}
.timeline b {
  color: var(--blue);
  font-size: 10px;
}
.timeline i {
  display: block;
  height: 1px;
  margin: 23px 0 36px;
  background: #bec7d5;
  position: relative;
}
.timeline i::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.timeline h3 {
  margin: 0 0 15px;
  font-size: 27px;
}
.timeline p {
  max-width: 220px;
  color: #657085;
  font-size: 13px;
  line-height: 1.6;
}
.service-list {
  padding: 70px var(--page-padding) 130px;
}
.service-list article {
  padding: 55px 0;
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  gap: 45px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}
.service-list article > span {
  color: var(--blue);
  font-size: 11px;
}
.service-list h2 {
  margin: 0 0 15px;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.05em;
}
.service-list p {
  max-width: 700px;
  margin: 0 0 20px;
  color: #657085;
  line-height: 1.7;
}
.service-list small {
  color: #536078;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.service-list article > i {
  width: 90px;
  height: 90px;
  border: 1px solid #bdc7d7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 32px;
  font-style: normal;
}
.product-detail-hero {
  min-height: 800px;
  padding: 180px var(--page-padding) 100px;
  color: white;
  display: grid;
  grid-template-columns: 68% 32%;
  align-items: center;
  overflow: hidden;
}
.product-detail-hero.celiform {
  background: linear-gradient(135deg, #102c9e, #2868ff 60%, #66c1ff);
}
.product-detail-hero.celitool {
  background:
    radial-gradient(circle at 84% 35%, #28447d, transparent 30%), var(--ink);
}
.product-detail-hero h1 {
  max-width: 900px;
  margin: 24px 0 28px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(80px, 10vw, 150px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.product-detail-hero p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.75;
}
.product-detail-hero > b {
  color: rgba(255, 255, 255, 0.11);
  font-family: Impact, sans-serif;
  font-size: 38vw;
  line-height: 1;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
}
.metric-row div {
  min-height: 210px;
  padding: 34px clamp(24px, 4vw, 65px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #d6dde8;
}
.metric-row strong {
  font-size: 68px;
  letter-spacing: -0.07em;
}
.metric-row span {
  color: #667188;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Contact and project forms */
.contact-section {
  min-height: 900px;
  padding: 180px var(--page-padding) 100px;
  background:
    radial-gradient(
      circle at 18% 30%,
      rgba(36, 87, 255, 0.15),
      transparent 27%
    ),
    var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}
.contact-section h1 {
  font-size: clamp(62px, 7vw, 105px);
}
.contact-section h1 span {
  color: #6b88ff;
}
.contact-section article > p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.direct-contact {
  margin-top: 50px;
  padding-top: 30px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px 20px;
  border-top: 1px solid var(--line-dark);
}
.direct-contact small {
  color: #77839a;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.contact-form,
.project-form {
  padding: clamp(25px, 4vw, 55px);
  background: white;
  color: var(--text);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
}
.contact-form label,
.form-step > label {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.form-step input,
.form-step select,
.form-step textarea {
  padding: 15px;
  border: 1px solid #d3dae5;
  background: #f8f9fb;
  color: #11192a;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.form-step input:focus,
.form-step select:focus,
.form-step textarea:focus {
  border-color: var(--blue);
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form > small {
  display: block;
  margin-top: 16px;
  color: #747f92;
  font-size: 10px;
  line-height: 1.5;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
}
.form-message {
  min-height: 20px;
  margin: 0 0 16px;
  color: #a4132c;
  font-size: 12px;
  line-height: 1.5;
}
.form-message.success {
  padding: 12px 14px;
  border: 1px solid #61c99b;
  background: #edfff6;
  color: #11633f;
}
.form-message.error {
  padding: 12px 14px;
  border: 1px solid #ff8b9c;
  background: #fff1f3;
  color: #a4132c;
}
.project-success {
  max-width: 620px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}
.project-success h2 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 5vw, 4rem);
}
.project-success p {
  color: var(--text-muted);
}
.start-section {
  min-height: 900px;
  padding: 160px var(--page-padding) 90px;
  background:
    radial-gradient(
      circle at 12% 40%,
      rgba(36, 87, 255, 0.15),
      transparent 26%
    ),
    var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 7vw;
}
.start-section aside {
  position: sticky;
  top: 120px;
  height: max-content;
}
.start-section aside h1 {
  font-size: clamp(60px, 7vw, 100px);
}
.start-section aside > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}
.start-section aside > div {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #8491aa;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.project-form {
  min-height: 650px;
}
.project-form > header {
  display: flex;
  justify-content: space-between;
  color: #6f7a8e;
  font-size: 9px;
  letter-spacing: 0.15em;
}
.progress {
  height: 2px;
  margin: 18px 0 52px;
  background: #e0e4eb;
}
.progress i {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--blue);
  transition: 0.3s;
}
.form-step {
  display: none;
}
.form-step.active {
  display: block;
  animation: fadeUp 0.3s ease;
}
.form-step > small {
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 0.17em;
}
.form-step h2 {
  margin: 15px 0 35px;
  font-size: clamp(31px, 3.2vw, 47px);
  letter-spacing: -0.045em;
}
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.option-grid label {
  margin: 0;
  cursor: pointer;
}
.option-grid input {
  position: absolute;
  opacity: 0;
}
.option-grid label span {
  min-height: 77px;
  padding: 17px;
  border: 1px solid #d4dbe6;
  display: flex;
  align-items: center;
  color: var(--text);
  font-size: 13px;
}
.option-grid input:checked + span {
  border-color: var(--blue);
  background: #eef2ff;
  box-shadow: inset 3px 0 var(--blue);
}
.checkbox {
  flex-direction: row !important;
  align-items: center;
  color: #687388;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.checkbox input {
  width: 18px;
  height: 18px;
}
.form-actions {
  margin-top: 45px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e4eb;
}
.back-button {
  border: 0;
  background: none;
  color: #697489;
  cursor: pointer;
}

/* CTA and footer */
.closing-cta {
  min-height: 550px;
  padding: 100px 24px;
  background:
    radial-gradient(circle at center, rgba(36, 87, 255, 0.24), transparent 35%),
    var(--ink);
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.closing-cta h2 {
  margin: 23px 0 37px;
  font-size: clamp(46px, 6vw, 87px);
  line-height: 1;
  letter-spacing: -0.06em;
}
.closing-cta h2 span {
  color: #708cff;
}
.site-footer {
  padding: 80px clamp(24px, 4.5vw, 76px) 25px;
  background: #03050a;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  padding-bottom: 75px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 65px;
}
.footer-intro p {
  max-width: 360px;
  color: #7d899e;
  font-size: 13px;
  line-height: 1.7;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-column strong {
  margin-bottom: 12px;
  color: #667186;
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.footer-column a,
.footer-column span {
  color: #b1bbce;
  font-size: 12px;
}
.footer-column a:hover {
  color: #6f8cff;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  color: #5d687b;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Chatbot */
.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 12px 45px rgba(36, 87, 255, 0.48);
  cursor: pointer;
}
.chat-launcher > span {
  width: 7px;
  height: 10px;
  border-radius: 5px;
  background: white;
}
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 99;
  width: min(370px, calc(100vw - 28px));
  height: 530px;
  background: white;
  border: 1px solid #dbe1eb;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.32);
}
.chat-header {
  padding: 18px;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
}
.chat-header i {
  grid-row: 1/3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35d59e;
  align-self: center;
}
.chat-header small {
  color: #7f8ba0;
  font-size: 9px;
}
.chat-header button {
  border: 0;
  background: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}
.chat-messages {
  height: 345px;
  padding: 18px;
  overflow-y: auto;
  background: #f3f5f9;
}
.chat-messages p {
  max-width: 84%;
  padding: 11px 13px;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.55;
}
.chat-messages .bot {
  background: white;
  border: 1px solid #e0e5ed;
}
.chat-messages .user {
  margin-left: auto;
  background: var(--blue);
  color: white;
}
.chat-prompts {
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}
.chat-prompts button {
  padding: 6px 9px;
  border: 1px solid #d9e0ea;
  border-radius: 15px;
  background: white;
  white-space: nowrap;
  font-size: 9px;
  cursor: pointer;
}
.chat-form {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 42px;
  border-top: 1px solid #dde3ec;
}
.chat-form input {
  padding: 8px;
  border: 0;
  outline: 0;
  font-size: 12px;
}
.chat-form button {
  border: 0;
  background: var(--blue);
  color: white;
  cursor: pointer;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes breathe {
  50% {
    transform: scale(1.018) translateY(-3px);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .main-navigation {
    position: fixed;
    inset: 92px 0 auto;
    padding: 24px;
    background: rgba(5, 7, 13, 0.98);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-navigation.open {
    display: flex;
  }
  .main-navigation a {
    padding: 10px 0;
    font-size: 18px;
  }
  .main-navigation a::after {
    bottom: 3px;
  }
  .header-button {
    display: none;
  }
  .menu-button {
    width: 42px;
    height: 42px;
    border: 0;
    background: none;
    display: block;
    justify-self: end;
    position: relative;
  }
  .menu-button span {
    position: absolute;
    left: 9px;
    width: 24px;
    height: 1px;
    background: white;
    transition: 0.25s;
  }
  .menu-button span:first-child {
    top: 16px;
  }
  .menu-button span:last-child {
    top: 24px;
  }
  .menu-button.open span:first-child {
    top: 20px;
    transform: rotate(45deg);
  }
  .menu-button.open span:last-child {
    top: 20px;
    transform: rotate(-45deg);
  }
  .home-hero {
    grid-template-columns: 56% 44%;
  }
  .hero-image {
    margin-left: -26vw;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-section,
  .contact-section,
  .start-section {
    grid-template-columns: 1fr;
  }
  .start-section aside {
    position: static;
  }
  .product-index {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-column:last-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 76px;
    padding: 0 20px;
  }
  .brand {
    font-size: 14px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .main-navigation {
    inset: 76px 0 auto;
  }
  .home-hero {
    min-height: auto;
    padding: 130px 20px 0;
    display: flex;
    flex-direction: column;
  }
  .hero-content h1 {
    font-size: clamp(58px, 17vw, 82px);
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-proof {
    margin-top: 38px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .hero-image {
    height: 530px;
    margin: -30px -30vw -20px -12vw;
  }
  .signal-one {
    right: 16%;
  }
  .signal-two {
    left: 33%;
  }
  .button {
    min-height: 50px;
    padding: 0 17px;
    gap: 15px;
  }
  .product-rail {
    min-height: 90px;
    gap: 24px;
  }
  .product-rail small,
  .product-rail p,
  .product-rail > span {
    display: none;
  }
  .product-rail a {
    font-size: 23px;
  }
  .intro-section,
  .dark-section,
  .impact-section,
  .products-home,
  .story-intro,
  .timeline-section,
  .principle-section {
    padding: 80px 20px;
  }
  .intro-section,
  .story-intro,
  .principle-section {
    grid-template-columns: 1fr;
  }
  .section-side {
    padding: 0;
  }
  .intro-section h2 {
    font-size: 42px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 45px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .service-cards article {
    min-height: 335px;
  }
  .stat-grid strong {
    font-size: 48px;
  }
  .stat-grid div {
    min-height: 150px;
    padding: 20px;
  }
  .product-feature {
    min-height: 680px;
    padding: 65px 24px 35px;
    align-items: flex-end;
  }
  .product-feature h3 {
    font-size: 55px;
  }
  .product-feature > b {
    right: -10%;
    top: 8%;
    font-size: 420px;
  }
  .closing-cta {
    min-height: 480px;
    padding: 80px 20px;
  }
  .closing-cta h2 {
    font-size: 47px;
  }
  .page-hero {
    min-height: 620px;
    padding: 140px 20px 80px;
  }
  .page-hero h1 {
    font-size: 60px;
  }
  .story-intro {
    gap: 65px;
  }
  .story-orb {
    width: 75%;
    margin: auto;
    font-size: 28vw;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-list {
    padding: 50px 20px 80px;
  }
  .service-list article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }
  .service-list article > i {
    display: none;
  }
  .product-index {
    padding: 50px 20px 80px;
  }
  .product-index .product-feature {
    min-height: 620px;
  }
  .product-detail-hero {
    min-height: 730px;
    padding: 140px 20px 70px;
    grid-template-columns: 1fr;
    position: relative;
  }
  .product-detail-hero h1 {
    font-size: 77px;
  }
  .product-detail-hero > b {
    position: absolute;
    right: -5%;
    bottom: -5%;
    font-size: 70vw;
  }
  .metric-row {
    grid-template-columns: 1fr;
  }
  .metric-row div {
    min-height: 130px;
  }
  .contact-section {
    padding: 140px 20px 80px;
  }
  .contact-section h1 {
    font-size: 59px;
  }
  .contact-form,
  .project-form {
    padding: 24px;
  }
  .two-columns,
  .option-grid {
    grid-template-columns: 1fr;
  }
  .start-section {
    padding: 130px 20px 70px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px 25px;
  }
  .footer-intro,
  .footer-column:last-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }
  .chat-launcher {
    right: 14px;
    bottom: 14px;
  }
  .chat-panel {
    right: 14px;
    bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
