:root {
  --navy-1000: #01050f;
  --navy-950: #030814;
  --navy-900: #071122;
  --navy-850: #0b162c;
  --navy-800: #0b1c39;

  --blue: #1473e6;
  --blue-bright: #3594ff;
  --blue-soft: #88c3ff;

  --gold: #ffc857;
  --gold-soft: #ffe4a1;

  --ivory: #fafaf0;
  --white: #ffffff;
  --text-muted: #aeb8ca;

  --glass: rgba(9, 20, 42, 0.64);
  --glass-border: rgba(130, 176, 255, 0.19);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;

  --content-width: 1536px;
  --page-padding: clamp(1.25rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 71% 39%, rgba(23, 102, 220, 0.18), transparent 30rem),
    radial-gradient(circle at 84% 70%, rgba(255, 200, 87, 0.07), transparent 26rem),
    linear-gradient(135deg, var(--navy-1000), var(--navy-950) 42%, var(--navy-900));
  font-family: var(--font-body);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.14;
  pointer-events: none;
  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: 70px 70px;
}

button,
input {
  font: inherit;
}

.site-shell {
  width: min(100%, var(--content-width));
  min-height: 100vh;
  margin-inline: auto;
  padding: 2rem var(--page-padding);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--ivory);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding-right: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.mark-a,
.mark-c {
  position: absolute;
  inset: 0 auto auto 0;
  font-size: 2rem;
  line-height: 1;
}

.mark-a {
  color: var(--blue-bright);
  transform: translateX(0);
}

.mark-c {
  color: var(--gold);
  transform: translateX(0.65rem);
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.3vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.build-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  color: #d7dce6;
  font-size: 0.82rem;
}

.build-status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 1rem rgba(255, 200, 87, 0.8);
}

.hero {
  display: grid;
  grid-template-columns: minmax(22rem, 0.82fr) minmax(34rem, 1.28fr);
  align-items: center;
  min-height: 43rem;
  padding-block: 2.5rem 1rem;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 35rem;
  animation: copy-reveal 850ms ease-out both;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: clamp(0.73rem, 1vw, 0.9rem);
  font-weight: 600;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 7.7vw, 7.8rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(180deg, #62aaff, #1f67d1 52%, #0c2e75 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 1px rgba(107, 174, 255, 0.35);
  filter: drop-shadow(0 0.8rem 1.5rem rgba(13, 74, 168, 0.2));
}

.accent-line {
  position: relative;
  width: min(20rem, 85%);
  height: 1px;
  margin: 2.2rem 0 1.5rem;
  background: linear-gradient(90deg, var(--gold), rgba(255, 200, 87, 0));
}

.accent-line::after {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 0.35rem;
  height: 0.35rem;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 1rem var(--gold);
  transform: translate(-50%, -50%);
}

.hero-description {
  max-width: 33rem;
  margin: 0 0 2.4rem;
  color: #cad1dd;
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.notify-form label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.form-control {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 33rem;
  padding: 0.35rem;
  border: 1px solid var(--glass-border);
  border-radius: 0.85rem;
  background: rgba(5, 15, 32, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 1.2rem 3rem rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.email-icon {
  padding-left: 0.8rem;
  color: var(--text-muted);
}

.form-control input {
  width: 100%;
  min-width: 0;
  padding: 0.85rem;
  color: var(--white);
  border: 0;
  outline: 0;
  background: transparent;
}

.form-control input::placeholder {
  color: #8490a3;
}

.form-control button {
  min-height: 3.15rem;
  padding: 0.75rem 1.45rem;
  color: #101522;
  border: 0;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 0.7rem 2rem rgba(255, 200, 87, 0.13);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.form-control button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.9rem 2.4rem rgba(255, 200, 87, 0.22);
}

.form-control button:focus-visible,
.form-control input:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 3px;
}

.form-message {
  min-height: 1.5rem;
  margin: 0.6rem 0 0;
  color: var(--blue-soft);
  font-size: 0.82rem;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.7rem;
}

.value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.value + .value {
  padding-left: 1.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.value > span {
  color: var(--blue-bright);
  font-size: 1.6rem;
}

.value p {
  margin: 0;
  color: #c6cfde;
  font-size: 0.72rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-width: 0;
  height: min(72vh, 48rem);
  min-height: 39rem;
  perspective: 1200px;
  animation: scene-reveal 1100ms 180ms ease-out both;
}

.ambient-glow,
.logo-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ambient-glow {
  z-index: 0;
  top: 18%;
  left: 20%;
  width: 70%;
  height: 62%;
  background: radial-gradient(circle at 45% 45%, rgba(27, 116, 255, 0.24), rgba(255, 200, 87, 0.07) 45%, transparent 72%);
  filter: blur(45px);
}

.logo-scene {
  position: absolute;
  inset: 8% 0 5%;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.logo-glow {
  width: 64%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(35, 139, 255, 0.28), rgba(255, 200, 87, 0.08) 45%, transparent 72%);
  filter: blur(40px);
}

.ac-sculpture {
  position: relative;
  z-index: 3;
  width: 28rem;
  height: 28rem;
  transform-style: preserve-3d;
  transform:
    rotateX(var(--rotate-x, -4deg))
    rotateY(var(--rotate-y, -3deg));
  transition: transform 160ms ease-out;
  animation: logo-float 5s ease-in-out infinite;
}

.sculpture-a,
.sculpture-c {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-display);
  font-size: clamp(14rem, 25vw, 25rem);
  font-weight: 800;
  line-height: 0.72;
  transform-origin: center;
  user-select: none;
}

.sculpture-a {
  z-index: 2;
  color: transparent;
  background: linear-gradient(135deg, #0d2348 12%, #238bff 52%, #07152e 88%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 2px rgba(74, 166, 255, 0.75);
  filter:
    drop-shadow(0 25px 20px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 22px rgba(35, 139, 255, 0.32));
  transform: translate(-60%, -54%) rotate(-4deg) scaleX(0.9);
  text-shadow:
    10px 10px 0 #06142d,
    18px 18px 0 #030b1a;
}

.sculpture-c {
  z-index: 1;
  color: transparent;
  background: linear-gradient(135deg, #8b5f11 10%, #ffe1a0 45%, #c68c1b 75%, #7a4f08 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 2px rgba(255, 217, 136, 0.72);
  filter:
    drop-shadow(0 24px 20px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 18px rgba(255, 200, 87, 0.18));
  transform: translate(-14%, -47%) rotate(7deg) scaleX(0.95);
  text-shadow:
    10px 10px 0 #8a5c11,
    18px 18px 0 #4f3004;
}

.platform,
.platform-ring {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%) rotateX(68deg);
}

.platform {
  z-index: 2;
  bottom: 11%;
  width: 68%;
  height: 8rem;
  background: linear-gradient(180deg, #1b2946, #050b17 68%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.65),
    inset 0 10px 25px rgba(255, 255, 255, 0.04);
}

.platform-ring {
  z-index: 1;
  bottom: 7.5%;
  width: 70%;
  height: 9rem;
  border-bottom: 5px solid var(--blue-bright);
  box-shadow: 0 18px 35px rgba(35, 139, 255, 0.42);
}

.floating-card {
  position: absolute;
  z-index: 5;
  width: 12rem;
  padding: 1rem;
  border: 1px solid rgba(105, 164, 255, 0.28);
  border-radius: 1rem;
  background: rgba(7, 18, 39, 0.68);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  animation: card-float 6s ease-in-out infinite;
}

.floating-card p {
  margin: 0.65rem 0 0;
  color: #d7deea;
  font-size: 0.78rem;
  line-height: 1.5;
}

.card-icon {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-weight: 700;
}

.card-code {
  top: 12%;
  left: 2%;
  rotate: -5deg;
}

.card-accessibility {
  top: 14%;
  right: 0;
  rotate: 4deg;
  animation-delay: -2s;
}

.card-design {
  right: 2%;
  bottom: 18%;
  rotate: 5deg;
  animation-delay: -4s;
}

.scene-tagline {
  position: absolute;
  z-index: 6;
  bottom: 1rem;
  left: 50%;
  margin: 0;
  color: #9faac0;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.6vw, 1.15rem);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.scene-tagline span {
  color: var(--blue-bright);
}

.scene-tagline strong {
  color: var(--gold);
  font-weight: 600;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  background: rgba(6, 16, 34, 0.68);
  backdrop-filter: blur(20px);
  animation: service-reveal 800ms 500ms ease-out both;
}

.services article {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.2rem 1.35rem;
}

.services article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.service-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--blue-soft);
  border: 1px solid rgba(90, 157, 255, 0.4);
  border-radius: 0.65rem;
  font-size: 1.25rem;
}

.services h2 {
  margin: 0 0 0.3rem;
  color: #dde4ef;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services p {
  margin: 0;
  color: #8f9bad;
  font-size: 0.65rem;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-top: 1.8rem;
  color: #8d98a9;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  text-align: right;
}

.lexcoded span {
  color: var(--blue-bright);
}

@keyframes logo-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes card-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes copy-reveal {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scene-reveal {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(1rem);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes service-reveal {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .hero-copy {
    max-width: 40rem;
  }

  .hero-visual {
    height: 36rem;
    min-height: 36rem;
    margin-top: -1rem;
  }

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

  .services article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .services article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }
}

@media (max-width: 650px) {
  .site-shell {
    padding: 1.25rem;
  }

  .brand {
    gap: 0.85rem;
  }

  .brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    padding-right: 0.8rem;
  }

  .mark-a,
  .mark-c {
    font-size: 1.65rem;
  }

  .brand-name {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }

  .build-status {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(4rem, 23vw, 6.2rem);
  }

  .form-control {
    grid-template-columns: auto 1fr;
  }

  .form-control button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.3rem;
  }

  .values {
    gap: 1rem;
  }

  .value + .value {
    padding-left: 0;
    border-left: 0;
  }

  .hero-visual {
    width: 100%;
    height: 29rem;
    min-height: 29rem;
    margin-top: 1rem;
  }

  .ac-sculpture {
    width: 20rem;
    height: 20rem;
  }

  .sculpture-a,
  .sculpture-c {
    font-size: 13rem;
  }

  .card-code,
  .card-design {
    display: none;
  }

  .card-accessibility {
    top: 5%;
    right: 2%;
    width: 9.5rem;
  }

  .platform {
    width: 82%;
  }

  .platform-ring {
    width: 84%;
  }

  .scene-tagline {
    bottom: 0;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

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

  .services article + article,
  .services article:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .site-footer p:last-child {
    text-align: left;
  }
}

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