:root {
  --navy: #07068f;
  --navy-deep: #05056d;
  --navy-dark: #02034a;
  --blue: #2458ff;
  --logo-blue-top: #69b8f8;
  --logo-blue-mid: #4f82ee;
  --logo-blue-bottom: #3348d4;
  --cyan: #53c7ff;
  --sky: #eaf6ff;
  --ink: #080b22;
  --muted: #596070;
  --line: #dfe5ef;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --radius: 8px;
  --container: 1180px;
  --gutter: 28px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
input,
textarea {
  font: inherit;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  max-width: calc(var(--container) + (var(--gutter) * 2));
  margin: 0 auto;
  padding: 24px var(--gutter);
  color: #ffffff;
}

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

.brand-logo {
  display: block;
  width: clamp(190px, 18vw, 270px);
  height: auto;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

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

.brand-mark .mark-disc,
.hero-mark .mark-disc {
  fill: #ffffff;
}

.brand-mark .mark-wave,
.hero-mark .mark-wave {
  fill: none;
  stroke: #02031f;
  stroke-width: 7.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-light .brand-name {
  color: #ffffff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.button-primary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 6, 143, 0.2);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff;
}

.button-light {
  background: #ffffff;
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.brand-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 92% 72% at 50% 30%, rgba(135, 205, 255, 0.32) 0 24%, rgba(94, 152, 242, 0.2) 52%, transparent 86%),
    radial-gradient(ellipse 88% 64% at 51% 78%, rgba(45, 61, 200, 0.26) 0 36%, rgba(45, 61, 200, 0.12) 62%, transparent 90%),
    linear-gradient(180deg, var(--logo-blue-top) 0%, var(--logo-blue-mid) 48%, var(--logo-blue-bottom) 100%);
  color: #ffffff;
  isolation: isolate;
}

.brand-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 62% at 50% 44%, rgba(255, 255, 255, 0.08), transparent 68%),
    radial-gradient(ellipse 70% 55% at 82% 20%, rgba(255, 255, 255, 0.045), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 48%, rgba(12, 32, 150, 0.1));
}

.hero-logo-fill {
  position: absolute;
  inset: -8%;
  z-index: -1;
  opacity: 0.24;
}

.hero-logo-fill svg {
  width: 100%;
  height: 100%;
}

.ghost-wave {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 128;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-center {
  width: min(100%, 920px);
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 128px var(--gutter) 80px;
  text-align: center;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.hero-mark {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.18));
}

.hero-center h1 {
  margin: 0;
  font-size: 72px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-center p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  font-weight: 500;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 34px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateX(-50%);
}

.intro-section,
.services-section,
.why-section,
.cta-section,
.site-footer,
.page-main {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.intro-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  max-width: calc(var(--container) + (var(--gutter) * 2));
  margin: 0 auto;
  padding-top: 86px;
  padding-bottom: 80px;
}

.intro-copy {
  max-width: 760px;
}

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

.intro-copy h2,
.section-heading h2,
.cta-section h2,
.page-hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-copy p:last-child,
.page-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.intro-actions {
  display: flex;
  gap: 12px;
}

.services-section {
  background: var(--soft);
  padding-top: 82px;
  padding-bottom: 88px;
}

.section-heading {
  max-width: var(--container);
  margin: 0 auto 34px;
}

.section-heading h2 {
  max-width: 780px;
}

.service-list {
  max-width: var(--container);
  display: grid;
  gap: 12px;
  margin: 0 auto;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.service-trigger {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: transparent;
  padding: 0 28px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.service-trigger span:first-child {
  font-size: 19px;
  font-weight: 800;
}

.service-plus {
  position: relative;
  width: 18px;
  height: 18px;
}

.service-plus::before,
.service-plus::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.service-plus::after {
  transform: rotate(90deg);
}

.service-card.is-open .service-plus::after {
  opacity: 0;
}

.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.service-panel p {
  overflow: hidden;
  max-width: 820px;
  margin: 0;
  padding: 0 28px;
  color: var(--muted);
}

.service-card.is-open .service-panel {
  grid-template-rows: 1fr;
}

.service-card.is-open .service-panel p {
  padding-bottom: 24px;
}

.why-section {
  max-width: calc(var(--container) + (var(--gutter) * 2));
  margin: 0 auto;
  padding-top: 86px;
  padding-bottom: 88px;
}

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

.why-grid article {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(8, 11, 34, 0.06);
}

.why-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.why-grid h3 {
  margin: 36px 0 12px;
  font-size: 19px;
}

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

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--navy);
  color: #ffffff;
  padding-top: 48px;
  padding-bottom: 48px;
}

.cta-section h2 {
  max-width: 760px;
  font-size: 34px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 42px;
  max-width: calc(var(--container) + (var(--gutter) * 2));
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 44px;
}

.site-footer .brand-name,
.site-footer a,
.site-footer span {
  color: var(--ink);
}

.footer-logo-img {
  display: block;
  width: clamp(190px, 18vw, 260px);
  height: auto;
}

.site-footer .brand-mark .mark-disc {
  fill: var(--sky);
}

.site-footer p {
  max-width: 340px;
  color: var(--muted);
}

.site-footer nav,
.site-footer address {
  display: grid;
  align-content: start;
  gap: 10px;
  font-style: normal;
}

.page-header {
  position: static;
  background: var(--navy);
}

.page-main {
  max-width: calc(980px + (var(--gutter) * 2));
  margin: 0 auto;
  padding-top: 82px;
  padding-bottom: 90px;
}

.page-hero {
  margin-bottom: 28px;
}

.content-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 34px;
  box-shadow: 0 20px 50px rgba(8, 11, 34, 0.06);
}

.content-panel h2 {
  margin: 0 0 10px;
}

.content-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-list a,
.contact-list span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 14px 16px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-page-main {
  position: relative;
  max-width: none;
  overflow: hidden;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.contact-page-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 12%, rgba(93, 177, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(63, 82, 214, 0.12), transparent 28%);
}

.contact-hero,
.contact-panel {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.contact-hero {
  text-align: center;
}

.contact-hero h1 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.contact-hero > p:not(.eyebrow) {
  max-width: 690px;
  margin-left: auto;
  margin-right: auto;
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.contact-highlights span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--logo-blue-top), var(--logo-blue-bottom));
  padding: 9px 15px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(34, 75, 207, 0.2);
}

.contact-panel {
  grid-template-columns: 0.9fr 1.1fr;
  background:
    linear-gradient(135deg, rgba(238, 246, 255, 0.94), #ffffff 58%),
    #ffffff;
}

.contact-sidebar,
.next-steps {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-card {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #143fbb);
  padding: 24px;
  color: #ffffff;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-list a,
.contact-list span {
  display: grid;
  gap: 4px;
}

.contact-list a small,
.contact-list span small {
  color: var(--logo-blue-bottom);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-steps {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 22px;
}

.next-steps ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-cta {
    grid-column: 1 / -1;
    display: flex;
  }

  .site-header.is-open .main-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .intro-actions {
    flex-wrap: wrap;
  }

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

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    padding-top: 18px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-brand-lockup {
    flex-direction: column;
    gap: 18px;
  }

  .hero-mark {
    width: 76px;
    height: 76px;
  }

  .hero-center h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-center p {
    font-size: 17px;
  }

  .intro-copy h2,
  .section-heading h2,
  .page-hero h1 {
    font-size: 34px;
  }

  .intro-actions,
  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .why-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .why-grid article {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .brand-hero {
    min-height: 100svh;
  }

  .hero-logo-fill {
    inset: -18% -55%;
    opacity: 0.28;
  }

  .hero-center {
    justify-items: start;
    padding-top: 118px;
    text-align: left;
  }

  .hero-brand-lockup {
    align-items: flex-start;
  }

  .hero-center h1 {
    max-width: 9ch;
    font-size: clamp(38px, 13vw, 52px);
    line-height: 0.98;
    overflow-wrap: break-word;
  }

  .hero-center p {
    max-width: 290px;
  }

  .scroll-cue {
    left: var(--gutter);
    transform: none;
  }

  .intro-section,
  .services-section,
  .why-section,
  .page-main {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .intro-copy h2,
  .section-heading h2,
  .cta-section h2,
  .page-hero h1 {
    font-size: clamp(30px, 10vw, 38px);
  }

  .service-trigger {
    min-height: 62px;
    padding-inline: 18px;
  }

  .why-grid article {
    min-height: 0;
  }

  .cta-section {
    align-items: stretch;
    padding-top: 34px;
    padding-bottom: 36px;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    text-align: left;
  }

  .contact-highlights {
    justify-content: flex-start;
  }

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