:root {
  --ink: #0b1324;
  --ink-soft: #4d5a70;
  --night: #07111f;
  --night-soft: #102238;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #dfe5ee;
  --blue: #4169e1;
  --blue-dark: #2447ad;
  --performance: #d7f55f;
  --control: #77a3ff;
  --connect: #ff8a70;
  --radius: 1.25rem;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(223, 229, 238, 0.85);
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.main-nav a {
  color: #314056;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--blue-dark);
}

.main-nav .nav-cta {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.25rem auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(119, 163, 255, 0.24), transparent 24rem),
    linear-gradient(135deg, var(--night), var(--night-soft));
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to left, black, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 5rem;
  padding-block: 7rem;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--performance);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
}

.hero-copy {
  max-width: 700px;
  margin: 0 0 2rem;
  color: #c9d6e5;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 740;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: #eaf0f7;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.solution-orbit {
  position: relative;
  min-height: 420px;
}

.orbit-ring {
  position: absolute;
  inset: 3rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.orbit-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9rem;
  height: 9rem;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 70px rgba(119, 163, 255, 0.3);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.orbit-label {
  position: absolute;
  min-width: 9.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(13, 27, 42, 0.88);
  box-shadow: var(--shadow);
  font-weight: 760;
}

.orbit-label::before {
  content: "";
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.orbit-performance {
  --accent: var(--performance);
  top: 1.25rem;
  left: 0;
}

.orbit-control {
  --accent: var(--control);
  right: 0;
  top: 44%;
}

.orbit-connect {
  --accent: var(--connect);
  bottom: 1rem;
  left: 8%;
}

.section {
  padding-block: 6.5rem;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--night);
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.section-dark .section-heading p {
  color: #b8c7d9;
}

.cards-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.solution-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(7, 17, 31, 0.05);
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.42rem;
  background: var(--accent);
}

.solution-card.performance { --accent: var(--performance); }
.solution-card.control { --accent: var(--control); }
.solution-card.connect { --accent: var(--connect); }

.solution-number {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  margin-bottom: 4.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.solution-card p {
  margin-top: 0;
  color: var(--ink-soft);
}

.text-link {
  margin-top: auto;
  color: var(--blue-dark);
  font-weight: 760;
  text-decoration: none;
}

.text-link::after {
  content: " →";
}

.lifecycle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: lifecycle;
}

.lifecycle article {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid #334255;
}

.lifecycle article::before {
  counter-increment: lifecycle;
  content: "0" counter(lifecycle);
  position: absolute;
  top: -1.05rem;
  right: 0;
  padding-left: 0.7rem;
  background: var(--night);
  color: #718398;
  font-size: 0.75rem;
  font-weight: 800;
}

.lifecycle p {
  color: #b8c7d9;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.outcome-list div {
  padding: 2.1rem;
  background: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 720;
  letter-spacing: -0.025em;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 6rem;
  background: var(--blue);
  color: var(--white);
}

.cta-band::after {
  content: "ED";
  position: absolute;
  right: -1rem;
  bottom: -7rem;
  color: rgba(255, 255, 255, 0.09);
  font-size: 20rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 7rem 6rem;
  background: var(--night);
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 25rem;
  height: 25rem;
  right: -7rem;
  bottom: -12rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.025), 0 0 0 8rem rgba(255, 255, 255, 0.02);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #c9d6e5;
  font-size: 1.25rem;
}

.page-performance { border-bottom: 0.5rem solid var(--performance); }
.page-control { border-bottom: 0.5rem solid var(--control); }
.page-connect { border-bottom: 0.5rem solid var(--connect); }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 5rem;
  align-items: start;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 6rem;
  padding: 1.25rem 1rem 1.25rem 2.4rem;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 1.7rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.process-stack {
  display: grid;
  gap: 1rem;
}

.process-card {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.2rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
}

.process-card strong {
  color: var(--blue-dark);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-card h3,
.process-card p {
  margin-bottom: 0;
}

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

.topic-card {
  min-height: 180px;
  display: flex;
  align-items: end;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  font-size: 1.18rem;
  font-weight: 740;
}

.founder-panel {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--night);
  color: var(--white);
  box-shadow: var(--shadow);
}

.founder-panel p {
  color: #c9d6e5;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 2rem;
  align-items: start;
}

.contact-form,
.contact-card,
.booking-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(7, 17, 31, 0.05);
}

.contact-card .email-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--blue-dark);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 760;
  text-decoration: none;
}

.contact-card .email-link:hover {
  text-decoration: underline;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 720;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.7rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.8rem 0.9rem;
  outline: none;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.13);
}

.form-actions {
  margin-top: 1.2rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.booking-card {
  position: sticky;
  top: 6rem;
  background: var(--night);
  color: var(--white);
}

.booking-card p {
  color: #c9d6e5;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin-top: 2.5rem;
  font-size: 1.55rem;
}

.legal-copy a {
  color: var(--blue-dark);
}

.site-footer {
  padding-block: 3.5rem 2rem;
  background: var(--night);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(0, 1fr);
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-tagline {
  max-width: 300px;
  color: #9fb0c4;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 0.8rem 2rem;
}

.site-footer .brand,
.site-footer .brand span {
  color: #ffffff !important;
}

.footer-links a,
.footer-legal a {
  color: #c9d6e5;
  text-decoration: none;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #26384b;
  color: #8395aa;
  font-size: 0.86rem;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
  }

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

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.25rem 1.4rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 35px rgba(7, 17, 31, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.75rem 0;
  }

  .main-nav .nav-cta {
    margin-top: 0.5rem;
    padding-inline: 1rem;
    text-align: center;
  }

  .hero-grid,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 1rem;
    padding-block: 5rem 2.5rem;
  }

  .solution-orbit {
    min-height: 330px;
    max-width: 560px;
  }

  .cards-three {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 310px;
  }

  .solution-number {
    margin-bottom: 3rem;
  }

  .two-column {
    gap: 2.5rem;
  }

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

  .booking-card {
    position: static;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .section,
  .page-hero {
    padding-block: 4.5rem;
  }

  .hero-grid {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .lifecycle,
  .outcome-list,
  .feature-list,
  .topic-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .outcome-list,
  .feature-list {
    gap: 1px;
  }

  .process-card {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

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

  .footer-main {
    gap: 2rem;
  }

  .solution-orbit {
    min-height: 290px;
  }

  .orbit-core {
    width: 7rem;
    height: 7rem;
  }

  .orbit-label {
    min-width: 8.2rem;
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
  }
}
