:root {
  --ink: #121a21;
  --muted: #60717d;
  --line: #d9e4e8;
  --paper: #f3f7f5;
  --white: #ffffff;
  --blue: #1268d6;
  --blue-dark: #073f66;
  --green: #169b73;
  --lime: #97bf2b;
  --cyan: #15a9c9;
  --amber: #c78a2d;
  --charcoal: #0e1821;
  --shadow: 0 26px 70px rgba(18, 26, 33, 0.14);
  --soft-shadow: 0 14px 40px rgba(18, 26, 33, 0.09);
  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;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef5f2 0, var(--paper) 520px),
    var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.site-header.is-scrolled {
  align-items: center;
  color: var(--ink);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(6, 15, 24, 0.24), rgba(6, 15, 24, 0));
  box-shadow: none;
  backdrop-filter: blur(18px);
  padding-top: 6px;
  padding-bottom: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  transition: width 180ms ease, padding 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.brand img {
  width: clamp(108px, 8vw, 138px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.12));
  transition: width 180ms ease;
}

.site-header.is-scrolled .brand {
  background: rgba(255, 255, 255, 0.82);
  padding: 3px 5px;
}

.site-header.is-scrolled .brand img {
  width: clamp(58px, 4.5vw, 76px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 18, 27, 0.22);
  font-size: 0.92rem;
  font-weight: 760;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled .main-nav {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.13);
}

.site-header.is-scrolled .main-nav a {
  padding: 6px 10px;
}

.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
}

.main-nav a:hover,
.nav-cta {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .nav-cta {
  background: #eaf2f2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 75%);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 82% 26%, rgba(21, 169, 201, 0.25), transparent 30%),
    linear-gradient(90deg, rgba(6, 15, 24, 0.96), rgba(6, 15, 24, 0.72) 48%, rgba(6, 15, 24, 0.24)),
    linear-gradient(180deg, rgba(6, 15, 24, 0.12), rgba(6, 15, 24, 0.84));
}

.hero-grid {
  display: grid;
  width: min(1280px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.7fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  margin: 0 auto;
  padding: 220px 0 116px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #7ee0c8;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-line {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(126, 224, 200, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  font-weight: 820;
  backdrop-filter: blur(12px);
}

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

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7.6vw, 7.7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 4vw, 4.45rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 2vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 18px 34px rgba(18, 104, 214, 0.34);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-console {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(9, 24, 35, 0.64);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(126, 224, 200, 0.36), transparent 34%, rgba(199, 138, 45, 0.28));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.console-header span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--lime);
}

.console-header span:nth-child(2) {
  background: var(--cyan);
}

.console-header span:nth-child(3) {
  background: var(--amber);
}

.console-header strong {
  margin-left: auto;
  font-weight: 700;
}

.console-metric {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.console-metric small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 750;
  text-transform: uppercase;
}

.console-metric strong {
  display: block;
  margin: 6px 0 14px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.metric-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
}

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

.console-grid span,
.console-flow span {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 760;
}

.console-flow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-flow i {
  flex: 1;
  height: 1px;
  min-width: 20px;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
}

.signal-bar {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 30px;
  left: clamp(20px, 5vw, 72px);
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.signal-bar span {
  flex: 1;
  min-width: 150px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.14);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 760;
}

.intro,
.services,
.process,
.profile,
.contact,
.insight-panel {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: stretch;
  background: var(--white);
}

.intro p,
.profile-copy p,
.contact p,
.section-heading p,
.insight-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.impact-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 104, 214, 0.05), transparent),
    #fbfdfc;
}

.impact-grid span,
.process-steps span {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
}

.capability-band {
  overflow: hidden;
  padding: 18px 0;
  color: var(--white);
  background: var(--charcoal);
}

.capability-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding-left: max(20px, 5vw);
  animation: drift 34s linear infinite;
}

.capability-track span {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 780;
  white-space: nowrap;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.services {
  position: relative;
  background:
    linear-gradient(180deg, #f7faf9 0, #edf3f2 100%);
}

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

.service-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(217, 228, 232, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 250, 0.84));
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 18px auto;
  width: 78px;
  height: 78px;
  border-right: 2px solid rgba(18, 104, 214, 0.14);
  border-bottom: 2px solid rgba(22, 155, 115, 0.18);
  border-radius: 0 0 8px 0;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 104, 214, 0.32);
  box-shadow: 0 30px 70px rgba(18, 26, 33, 0.14);
}

.service-card.featured {
  color: var(--white);
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(7, 63, 102, 0.98), rgba(22, 155, 115, 0.9)),
    var(--blue-dark);
}

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

.service-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
}

.service-card li {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #e8f3f0;
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card.featured li {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.card-icon {
  display: grid;
  width: 54px;
  height: 40px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-dark);
  background: #dfeeff;
  font-size: 0.78rem;
  font-weight: 900;
}

.featured .card-icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.insight-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 24, 33, 0.97), rgba(7, 63, 102, 0.92)),
    var(--charcoal);
}

.insight-copy p {
  color: rgba(255, 255, 255, 0.72);
}

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

.insight-stack div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
}

.insight-stack span {
  color: #7ee0c8;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-stack strong {
  text-align: right;
}

.process {
  background: #eaf0f1;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.process-steps article {
  position: relative;
  min-height: 250px;
  padding: 28px;
  background: var(--white);
}

.process-steps article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--amber));
}

.process-steps p {
  color: var(--muted);
}

.profile {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: var(--white);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.profile-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #e8f3f0;
  font-weight: 820;
}

.profile-panel {
  border-radius: 8px;
  padding: 34px;
  color: var(--ink);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 247, 0.9)),
    var(--white);
  box-shadow: var(--shadow);
}

.profile-logo {
  width: min(310px, 100%);
  height: auto;
  margin: 0 0 28px;
}

.profile-panel p {
  margin-bottom: 12px;
  color: var(--muted);
}

.profile-panel .owner {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 850;
}

.profile-panel a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 63, 102, 0.96), rgba(14, 24, 33, 1) 58%, rgba(22, 155, 115, 0.9));
}

.contact-visual {
  display: grid;
  width: 178px;
  min-height: 166px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 247, 0.92));
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.contact-visual img {
  width: 132px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.14));
}

.contact h2,
.contact p {
  max-width: 820px;
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #8b9aa3;
  background: #101920;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-header {
  position: sticky;
  top: 0;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 150px clamp(20px, 5vw, 72px) 54px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 63, 102, 0.96), rgba(22, 155, 115, 0.9)),
    var(--blue-dark);
}

.legal-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.legal-content {
  width: min(920px, calc(100% - 40px));
  margin: -22px auto 80px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 26px 0 10px;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--blue-dark);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.legal-signature {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-content strong {
  color: var(--ink);
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-34%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .intro,
  .insight-panel,
  .profile {
    grid-template-columns: 1fr;
  }

  .hero-console {
    max-width: 560px;
  }

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

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

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

  .main-nav {
    position: absolute;
    top: calc(100% - 8px);
    right: 20px;
    display: none;
    width: min(320px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .main-nav a,
  .site-header.is-scrolled .main-nav a:hover,
  .site-header.is-scrolled .nav-cta {
    background: transparent;
  }

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

  .legal-nav {
    position: static;
    display: flex;
    width: auto;
    flex-direction: row;
    padding: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
  }
}

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

  .brand {
    padding: 8px 10px;
  }

  .brand img {
    width: 96px;
    height: auto;
  }

  .site-header.is-scrolled .brand img {
    width: 58px;
  }

  .hero {
    min-height: 920px;
  }

  .hero-grid {
    width: calc(100% - 36px);
    padding: 190px 0 150px;
  }

  h1 {
    font-size: 3.35rem;
  }

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

  .hero-console {
    padding: 14px;
  }

  .console-grid,
  .service-grid,
  .impact-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .console-flow {
    display: grid;
  }

  .console-flow i {
    display: none;
  }

  .signal-bar {
    right: 18px;
    bottom: 18px;
    left: 18px;
    overflow-x: auto;
  }

  .service-card,
  .process-steps article,
  .impact-grid article {
    min-height: 0;
  }

  .insight-stack div {
    display: block;
  }

  .insight-stack strong {
    display: block;
    margin-top: 6px;
    text-align: left;
  }

  .contact-visual {
    width: 138px;
    min-height: 132px;
  }

  .contact-visual img {
    width: 104px;
  }

  .legal-header {
    align-items: flex-start;
  }

  .legal-nav {
    display: none;
  }

  .legal-hero {
    padding-top: 120px;
  }
}
