:root {
  color-scheme: dark;
  --ink: #f4f8ff;
  --text: #c8d7ea;
  --muted: #90a4bb;
  --paper: #030711;
  --surface: #07111f;
  --soft: #0a1728;
  --soft-blue: #071b34;
  --line: #1b3656;
  --blue: #21a4ff;
  --blue-dark: #071c36;
  --blue-soft: #102f50;
  --gray: #0d1b2d;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(33, 164, 255, 0.18);
  background: rgba(3, 7, 17, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(33, 164, 255, 0.25);
}

.brand-name {
  font-size: 1rem;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 800;
}

.nav-links a:hover {
  background: var(--soft);
}

.nav-links .nav-cta {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 88% 15%, rgba(33, 164, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #030711 0%, #06101e 100%);
}

.hero-content {
  max-width: 720px;
}

.first-line {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgba(33, 164, 255, 0.32);
  border-radius: 8px;
  background: rgba(7, 28, 54, 0.82);
  color: #bfe6ff;
  padding: 10px 13px;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 950;
  line-height: 1.2;
  box-shadow: 0 10px 28px rgba(29, 111, 232, 0.08);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.8rem, 8.8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--white);
}

.button.secondary:hover {
  background: var(--soft-blue);
}

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #020611;
  box-shadow: 0 28px 70px rgba(11, 59, 130, 0.24);
  overflow: hidden;
  animation: brandFloat 7s ease-in-out infinite;
}

.hero-visual::after {
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  content: "";
  transform: skewX(-18deg);
  animation: logoSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes logoSweep {
  0%,
  18% {
    left: -35%;
  }

  100% {
    left: 130%;
  }
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--blue-dark);
  color: var(--white);
}

.metrics-band article {
  min-height: 148px;
  padding: 28px clamp(18px, 4vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.metrics-band article:last-child {
  border-right: 0;
}

.metrics-band span {
  display: block;
  margin-bottom: 10px;
  color: #9fccff;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 950;
}

.metrics-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.section,
.decision-section,
.process-band,
.contact-band,
.agents-band {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.agents-copy h2,
.expertise-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4.3vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.agents-copy p,
.expertise-copy p,
.contact-copy p,
.service-card p,
.process-list p,
.agent-stack p,
.decision-card li {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading p,
.agents-copy p,
.expertise-copy p,
.contact-copy p {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.decision-section {
  background: var(--soft);
}

.decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 1120px;
}

.decision-card {
  min-height: 360px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.decision-card.strong {
  border-color: rgba(33, 164, 255, 0.42);
  background: linear-gradient(180deg, #09192b 0%, #071426 100%);
  box-shadow: var(--shadow);
}

.decision-card h3 {
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.decision-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.decision-arrow {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  display: grid;
  gap: 16px;
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card.featured {
  border-color: rgba(33, 164, 255, 0.42);
  background: linear-gradient(180deg, #09192b 0%, #071426 100%);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: #8fd5ff;
  font-size: 0.92rem;
  font-weight: 950;
}

.service-card h3,
.agent-stack h3,
.process-list h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--text);
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.agents-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  background: #02050c;
  color: var(--white);
}

.agents-copy {
  max-width: 620px;
  position: sticky;
  top: 110px;
}

.agents-copy h2 {
  color: var(--white);
}

.agents-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.agent-stack {
  display: grid;
  gap: 12px;
}

.agent-stack article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.agent-stack span {
  color: #9fccff;
  font-weight: 950;
}

.agent-stack h3 {
  color: var(--white);
}

.agent-stack p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.expertise-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  background: var(--paper);
}

.expertise-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.credential-grid span,
.market-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--text);
  padding: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.process-band {
  background: var(--soft-blue);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.process-list li {
  min-height: 260px;
  padding: 26px;
  background: var(--surface);
}

.process-list span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 950;
}

.process-list p {
  margin: 12px 0 0;
}

.markets-section {
  background: var(--paper);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(30px, 5vw, 72px);
  background: #02050c;
  color: var(--white);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(29, 111, 232, 0.16);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #02050c;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--blue);
  font-weight: 850;
}

@media (max-width: 1100px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero h1 {
    max-width: 13ch;
  }
}

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

  .nav-links {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .metrics-band,
  .decision-grid,
  .agents-band,
  .expertise-section,
  .contact-band,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .metrics-band article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .decision-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .agents-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-name {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 0;
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .hero-actions,
  .site-footer,
  .site-footer div {
    align-items: stretch;
    flex-direction: column;
  }

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

  .section,
  .decision-section,
  .process-band,
  .contact-band,
  .agents-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .service-grid,
  .process-list,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .agent-stack article {
    grid-template-columns: 1fr;
  }
}

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

  .hero-visual,
  .hero-visual::after {
    animation: none;
  }
}
