:root {
  --midnight: #00084d;
  --midnight-deep: #000532;
  --lime: #d4ee3f;
  --white: #ffffff;
  --soft: #f5f7fa;
  --ink: #10173a;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.055);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--midnight);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at var(--glow-x, 76%) var(--glow-y, 20%), rgba(212, 238, 63, 0.11), transparent 26rem),
    radial-gradient(circle at 12% 78%, rgba(255, 255, 255, 0.06), transparent 30rem),
    linear-gradient(180deg, var(--midnight) 0%, var(--midnight) 48%, var(--midnight-deep) 100%);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 238, 63, 0.13), rgba(255, 255, 255, 0.04) 36%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--cursor-x, -500px) - 50%), calc(var(--cursor-y, -500px) - 50%), 0);
  transition: opacity 220ms ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 8, 77, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand img {
  width: clamp(164px, 20vw, 252px);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.24));
}

.nav-links {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.nav-links a,
.nav-cta {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  justify-self: end;
  padding: 11px 16px;
  border: 1px solid rgba(212, 238, 63, 0.54);
  border-radius: 6px;
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: 760;
}

.nav-cta:hover {
  background: rgba(212, 238, 63, 0.1);
  transform: translateY(-1px);
}

.hero,
.system-section,
.method,
.services,
.manifesto,
.contact {
  position: relative;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
}

.hero {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: clamp(26px, 5vw, 54px);
  padding-top: 130px;
  padding-bottom: 44px;
}

.hero-stage {
  position: relative;
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: clamp(540px, 68vh, 720px);
  padding: clamp(34px, 6vw, 72px) 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 1120px;
}

.eyebrow,
.section-marker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--midnight);
}

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

h1 {
  max-width: 1120px;
  margin-bottom: 24px;
  font-size: clamp(4.05rem, 8.25vw, 8.8rem);
  font-weight: 680;
  line-height: 0.9;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  font-weight: 650;
  line-height: 1;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.72;
}

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

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 820;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-120%);
  transition: transform 620ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::before {
  transform: translateX(120%);
}

.button.primary {
  color: var(--midnight);
  background: var(--lime);
  box-shadow: 0 20px 46px rgba(212, 238, 63, 0.24);
}

.button.ghost {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
}

.visual-field {
  position: relative;
  position: absolute;
  inset: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(0, 8, 77, 0.14), rgba(0, 8, 77, 0.72)),
    radial-gradient(circle at 78% 42%, rgba(212, 238, 63, 0.14), transparent 16rem),
    radial-gradient(circle at 16% 70%, rgba(255, 255, 255, 0.08), transparent 22rem),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.visual-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 42.2%, transparent 43%),
    linear-gradient(25deg, transparent 0 58%, rgba(212, 238, 63, 0.12) 58.2%, transparent 59%),
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.14), transparent 0.35rem),
    radial-gradient(circle at 70% 66%, rgba(212, 238, 63, 0.7), transparent 0.28rem),
    radial-gradient(circle at 42% 82%, rgba(255, 255, 255, 0.18), transparent 0.25rem);
  opacity: 0.82;
}

.hero-symbol {
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  bottom: clamp(-70px, -4vw, -24px);
  z-index: 2;
  width: clamp(230px, 32vw, 440px);
  opacity: 0.32;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.28)) drop-shadow(0 0 38px rgba(212, 238, 63, 0.16));
  animation: floatHeroSymbol 7s ease-in-out infinite;
}

.connection-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), rgba(212, 238, 63, 0.28), transparent);
  transform-origin: left center;
}

.line-one {
  top: 28%;
  left: 8%;
  width: 68%;
  transform: rotate(-8deg);
}

.line-two {
  right: 4%;
  bottom: 30%;
  width: 62%;
  transform: rotate(12deg);
}

.line-three {
  top: 64%;
  left: 14%;
  width: 36%;
  transform: rotate(23deg);
}

.floating-star {
  position: absolute;
  aspect-ratio: 1;
  background: var(--lime);
  clip-path: polygon(50% 0%, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0% 50%, 40% 38%);
  filter: drop-shadow(0 0 18px rgba(212, 238, 63, 0.7));
  animation: softPulse 4.6s ease-in-out infinite;
}

.star-one { top: 22%; right: 19%; width: 24px; }
.star-two { bottom: 24%; left: 36%; width: 14px; animation-delay: 900ms; }
.star-three { top: 62%; right: 33%; width: 10px; animation-delay: 1600ms; }

.hero-concepts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(32px, 5vw, 54px);
}

.hero-concepts span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 8, 77, 0.42);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 720;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-strip span {
  display: grid;
  min-height: 66px;
  place-items: center;
  padding: 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 8, 77, 0.62);
  font-size: 0.9rem;
  font-weight: 720;
  text-align: center;
}

.system-section,
.services {
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 14%, rgba(212, 238, 63, 0.13), transparent 24rem),
    linear-gradient(180deg, #f8fafc, #ffffff);
}

.system-section,
.method,
.services,
.manifesto,
.contact {
  padding-top: clamp(82px, 9vw, 128px);
  padding-bottom: clamp(82px, 9vw, 128px);
}

.section-heading,
.method-header {
  max-width: 900px;
  margin-bottom: clamp(36px, 6vw, 68px);
}

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

.feature-panel,
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(0, 8, 77, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 62px rgba(0, 8, 77, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-panel::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(212, 238, 63, 0.18), transparent 44%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.feature-panel:hover,
.service-card:hover {
  border-color: rgba(0, 8, 77, 0.18);
  box-shadow: 0 34px 90px rgba(0, 8, 77, 0.14);
  transform: translateY(-6px);
}

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

.panel-number,
.service-tag {
  display: inline-flex;
  margin-bottom: 62px;
  color: var(--midnight);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.feature-panel p,
.service-card p {
  color: rgba(16, 23, 58, 0.68);
  line-height: 1.68;
}

.method,
.manifesto,
.contact {
  background:
    radial-gradient(circle at 16% 12%, rgba(212, 238, 63, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--midnight), var(--midnight));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
  min-height: 320px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.032)),
    rgba(0, 8, 77, 0.62);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 26px rgba(212, 238, 63, 0.72);
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 78px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.68;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(212, 238, 63, 0.16), transparent 15rem),
    var(--midnight);
}

.service-card.featured p {
  color: var(--muted);
}

.service-card.featured .service-tag,
.service-card.featured a {
  color: var(--lime);
}

.service-card a {
  position: relative;
  z-index: 1;
  color: var(--midnight);
  font-weight: 850;
}

.service-card a::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 12px;
  background: var(--lime);
}

.manifesto-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 50%, rgba(212, 238, 63, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.045);
}

.manifesto-panel p {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.2rem, 4.8vw, 5.6rem);
  font-weight: 650;
  line-height: 1.02;
  text-wrap: balance;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: grid;
  gap: 8px;
  overflow-wrap: anywhere;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.86);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-links a:hover {
  border-color: rgba(212, 238, 63, 0.46);
  background: rgba(212, 238, 63, 0.07);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.contact-links span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 840;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--midnight-deep);
}

.footer img {
  width: min(220px, 50vw);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.mini-star,
.large-star {
  display: inline-block;
  aspect-ratio: 1;
  background: var(--lime);
  clip-path: polygon(50% 0%, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0% 50%, 40% 38%);
  filter: drop-shadow(0 0 12px rgba(212, 238, 63, 0.62));
}

.mini-star {
  width: 14px;
}

.large-star {
  width: clamp(42px, 6vw, 76px);
  background: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms ease, transform 720ms ease;
  transition-delay: var(--delay, 0ms);
}

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

@keyframes floatHeroSymbol {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

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

  .hero-stage,
  .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .system-layout,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .cursor-glow {
    display: none;
  }

  .nav {
    top: 12px;
    width: calc(100% - 24px);
    padding: 12px;
  }

  .brand img {
    width: 152px;
  }

  .nav-cta {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-stage {
    min-height: 640px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.72rem, 12.2vw, 3.7rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
  }

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

  .hero-symbol {
    right: -54px;
    bottom: -18px;
    width: 260px;
    opacity: 0.22;
  }

  .hero-concepts {
    gap: 8px;
  }

  .hero-concepts span {
    padding: 9px 11px;
    font-size: 0.8rem;
  }

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

  .manifesto-panel {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
