:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe4ef;
  --surface: #ffffff;
  --wash: #f8fafc;
  --teal: #14b8a6;
  --sky: #0ea5e9;
  --amber: #f59e0b;
  --rose: #ec4899;
  --shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -48px;
  z-index: 20;
}

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

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.86);
  border-bottom: 1px solid rgba(219, 228, 239, 0.78);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 78px;
  padding: 0 22px;
}

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

.brand img {
  height: 52px;
  width: 230px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 12px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
  background: #e8f7f4;
  color: #0f766e;
  transform: translateY(-1px);
}

.nav-toggle {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  width: 20px;
}

.nav-toggle {
  position: relative;
}

.nav-toggle::before {
  transform: translateY(-7px);
}

.nav-toggle::after {
  transform: translateY(7px);
}

.hero {
  min-height: calc(100vh - 78px);
  overflow: hidden;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.88) 45%, rgba(248, 250, 252, 0.34) 100%),
    radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.22), transparent 28%),
    radial-gradient(circle at 78% 72%, rgba(236, 72, 153, 0.13), transparent 26%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.network-canvas {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.page-view {
  animation: pageIn 420ms ease both;
}

.page-view[hidden] {
  display: none;
}

.hero-inner,
.page-hero-inner,
.section-inner,
.footer-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 22px;
  padding-right: 22px;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  min-height: calc(100vh - 78px);
  padding-bottom: 72px;
  padding-top: 58px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  color: #0f766e;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  background: linear-gradient(90deg, var(--teal), var(--amber));
  border-radius: 999px;
  content: "";
  height: 3px;
  width: 40px;
}

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

h1 {
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.96;
  margin-bottom: 24px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.04;
  margin-bottom: 18px;
}

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

.lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
  max-width: 720px;
}

.photo-card {
  background: #fff;
  border: 1px solid rgba(219, 228, 239, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.photo-card img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-card figcaption {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.82));
  bottom: 0;
  color: #fff;
  display: grid;
  gap: 2px;
  left: 0;
  padding: 70px 22px 22px;
  position: absolute;
  right: 0;
}

.photo-card figcaption strong {
  font-size: 1.08rem;
}

.photo-card figcaption span {
  color: #e2e8f0;
}

.hero-photo {
  animation: floatPanel 7s ease-in-out infinite;
}

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

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  transition: border 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

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

.btn-accent {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.hero-panel {
  animation: floatPanel 7s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 228, 239, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-topbar {
  align-items: center;
  background: #0f172a;
  display: flex;
  gap: 7px;
  padding: 14px 16px;
}

.panel-dot {
  background: #fff;
  border-radius: 999px;
  height: 9px;
  opacity: 0.8;
  width: 9px;
}

.panel-body {
  padding: 24px;
}

.metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.metric {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.metric strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 8px;
}

.signal-list {
  display: grid;
  gap: 10px;
}

.signal {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.signal-icon {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 0.8rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
}

.signal:nth-child(1) .signal-icon {
  background: #ccfbf1;
  color: #0f766e;
}

.signal:nth-child(2) .signal-icon {
  background: #e0f2fe;
  color: #0369a1;
}

.signal:nth-child(3) .signal-icon {
  background: #fef3c7;
  color: #a16207;
}

.ticker {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 13px 0;
}

.ticker-track {
  animation: ticker 28s linear infinite;
  display: flex;
  gap: 34px;
  min-width: max-content;
  padding-left: 100%;
}

.ticker span {
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #fff;
}

.section-head {
  display: flex;
  gap: 34px;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  max-width: 540px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
  padding: 26px;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.card:hover {
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.service-glyph,
.value-glyph {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.service-card:nth-child(4n + 1) .service-glyph,
.value-card:nth-child(4n + 1) .value-glyph {
  background: #ccfbf1;
  color: #0f766e;
}

.service-card:nth-child(4n + 2) .service-glyph,
.value-card:nth-child(4n + 2) .value-glyph {
  background: #e0f2fe;
  color: #0369a1;
}

.service-card:nth-child(4n + 3) .service-glyph,
.value-card:nth-child(4n + 3) .value-glyph {
  background: #fef3c7;
  color: #a16207;
}

.service-card:nth-child(4n + 4) .service-glyph,
.value-card:nth-child(4n + 4) .value-glyph {
  background: #fce7f3;
  color: #be185d;
}

.split {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.feature-item {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  padding: 16px;
}

.check {
  background: #ccfbf1;
  border-radius: 8px;
  color: #0f766e;
  flex: 0 0 28px;
  font-size: 1rem;
  font-weight: 900;
  height: 28px;
  line-height: 28px;
  text-align: center;
}

.visual-stack {
  display: grid;
  gap: 14px;
}

.process-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  padding: 18px;
}

.process-step {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 44px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
}

.page-hero {
  background:
    linear-gradient(115deg, rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.82)),
    linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(245, 158, 11, 0.18));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.page-hero::after {
  animation: sweep 12s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  content: "";
  height: 160%;
  position: absolute;
  right: -40%;
  top: -30%;
  transform: rotate(18deg);
  width: 28%;
}

.page-hero-inner {
  padding-bottom: 86px;
  padding-top: 86px;
  position: relative;
  z-index: 1;
}

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

.stats-inner {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 22px;
}

.stat {
  padding: 26px 22px;
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: 8px;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
}

.contact-detail {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.contact-detail:first-child {
  padding-top: 0;
}

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

.contact-detail strong {
  display: block;
  margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 16px;
}

label {
  color: #334155;
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

input,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
  outline: 0;
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 54px 0 24px;
}

.footer-inner {
  display: grid;
  gap: 34px;
}

.footer-main {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(160px, 0.42fr));
}

.footer-logo {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 8px;
  width: 252px;
}

.footer-main p,
.footer-main a {
  color: #cbd5e1;
}

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

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.16);
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-40vw) rotate(18deg);
  }
  100% {
    transform: translateX(110vw) rotate(18deg);
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .brand img {
    height: 46px;
    width: 204px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 2px;
    left: 0;
    padding: 14px 22px 18px;
    position: absolute;
    right: 0;
    top: 72px;
  }

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

  .site-nav a {
    border-radius: 8px;
    width: 100%;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-height: 520px;
  }

  .hero-inner {
    padding-top: 58px;
  }

  .section-head {
    display: block;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .hero-inner,
  .page-hero-inner,
  .section-inner,
  .footer-inner,
  .stats-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 188px;
  }

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

  .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .metric-grid,
  .stats-inner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero-inner {
    padding-bottom: 62px;
    padding-top: 62px;
  }

  .card {
    padding: 22px;
  }
}
