:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --surface: #0f2035;
  --surface-2: #132a45;
  --text: #f7f9fc;
  --muted: #aebed1;
  --ink: #101828;
  --ink-soft: #596579;
  --light: #f5f7fa;
  --line: rgba(255, 255, 255, 0.11);
  --line-dark: rgba(16, 24, 40, 0.11);
  --accent: #63e6d1;
  --accent-strong: #32cdb4;
  --accent-soft: rgba(99, 230, 209, 0.12);
  --blue: #5aa8ff;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-header.scrolled {
  background: rgba(7, 17, 31, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--accent);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  max-width: 540px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #d5deea;
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a {
  transition: color .2s ease, background .2s ease;
}

.primary-nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease;
}

.section-shell {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: 78px 0 92px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 88%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .58;
  pointer-events: none;
}

.hero-orb-one {
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(99, 230, 209, .24), transparent 68%);
  top: -90px;
  right: -90px;
}

.hero-orb-two {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(90, 168, 255, .18), transparent 68%);
  left: -130px;
  bottom: -90px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  gap: 76px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.eyebrow.dark {
  color: #188c7b;
}

.hero h1,
.section-heading h2,
.approach-copy h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 760;
}

.hero-lead {
  max-width: 780px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #06131c;
  box-shadow: 0 14px 35px rgba(50, 205, 180, 0.17);
}

.button-primary:hover {
  background: #7ff0dd;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
}

.hero-visual {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.visual-card {
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(20,44,70,.94), rgba(9,24,42,.96));
  box-shadow: var(--shadow);
}

.visual-card-main {
  width: min(100%, 500px);
  padding: 24px;
  border-radius: 30px;
  transform: rotate(-2deg);
}

.visual-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.dot-row {
  display: flex;
  gap: 6px;
}

.dot-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
}

.status-pill {
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(99, 230, 209, .2);
  border-radius: 999px;
  padding: 6px 9px;
}

.visual-balance {
  padding: 30px 0 24px;
}

.visual-balance span,
.visual-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.visual-balance strong {
  display: block;
  margin-top: 7px;
  font-size: 28px;
  letter-spacing: -.03em;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.visual-grid > div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}

.visual-grid b {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.floating-chip {
  position: absolute;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  background: rgba(10, 27, 45, .9);
  box-shadow: 0 18px 40px rgba(0,0,0,.23);
  backdrop-filter: blur(14px);
  color: #dce8f4;
  font-size: 12px;
  font-weight: 700;
}

.chip-one { top: 10%; right: -2%; }
.chip-two { bottom: 13%; left: -4%; }
.chip-three { bottom: 2%; right: 5%; }

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #091624;
}

.trust-grid {
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  text-align: center;
  gap: 18px;
  color: #b9c8d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.section {
  padding: 112px 0;
}

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

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.section-heading h2,
.approach-copy h2 {
  font-size: clamp(38px, 4.7vw, 58px);
  font-weight: 740;
}

.section-heading > p,
.approach-copy > p {
  margin: 20px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.section-light .section-heading > p,
.section-light .section-copy,
.section-light .contact-section p {
  color: var(--ink-soft);
}

.section-copy {
  color: #46556a;
  font-size: 18px;
  line-height: 1.8;
}

.section-copy p:first-child {
  margin-top: 0;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.centered {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.centered .eyebrow::before {
  display: none;
}

.centered p {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 230, 209, .32);
  background: linear-gradient(145deg, rgba(99,230,209,.06), rgba(255,255,255,.018));
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin: 30px 0 12px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-accent {
  background:
    radial-gradient(circle at 20% 20%, rgba(99,230,209,.12), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(90,168,255,.10), transparent 28%),
    #0b1728;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.approach-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.approach-list {
  border-top: 1px solid var(--line);
}

.approach-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.approach-item > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.approach-item h3 {
  margin: -3px 0 6px;
  font-size: 20px;
}

.approach-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  padding-bottom: 128px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 86px;
  align-items: start;
}

.contact-card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(16,24,40,.08);
}

.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line-dark);
  transition: background .2s ease;
}

a.contact-row:hover {
  background: #f7fafc;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-label {
  color: #7a8798;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-row strong {
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 48px 0;
  background: #06101c;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .6fr .8fr;
  gap: 50px;
}

.footer-name {
  font-size: 15px;
  font-weight: 800;
}

.site-footer p {
  max-width: 440px;
  margin: 10px 0 0;
  color: #8fa1b6;
  font-size: 13px;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #9eafc1;
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 860px;
  }

  .hero-visual {
    min-height: 460px;
  }

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

@media (max-width: 860px) {
  .header-inner {
    min-height: 74px;
  }

  .brand-name {
    max-width: min(65vw, 430px);
    font-size: 12px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1100;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    padding: 118px 24px 40px;
    background: rgba(6, 16, 28, .98);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 28px;
    transform: translateX(100%);
    transition: transform .28s ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .nav-cta {
    padding: 0;
    border: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 0;
    text-align: left;
  }

  .two-column,
  .approach-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section {
    padding: 88px 0;
  }

  .contact-section {
    padding-bottom: 96px;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    max-width: 68vw;
    font-size: 10.5px;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 72px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.68;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .visual-card-main {
    padding: 18px;
    border-radius: 24px;
  }

  .visual-balance strong {
    font-size: 22px;
  }

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

  .visual-grid > div {
    min-height: 74px;
  }

  .chip-one { top: 4%; right: 0; }
  .chip-two { bottom: 9%; left: -1%; }
  .chip-three { display: none; }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    font-size: 10px;
  }

  .section-heading h2,
  .approach-copy h2 {
    font-size: 38px;
  }

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

  .service-card {
    min-height: 240px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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