:root {
  --navy: #222a57;
  --navy-800: #1a2144;
  --navy-700: #2a3266;

  --blue: #1d49a7;
  --blue-700: #163a87;
  --blue-100: #e4eafb;
  --blue-50: #eef2fc;

  --teal: #55b3a5;
  --teal-700: #3e9a8e;
  --teal-100: #d9efeb;
  --teal-light: #c4e8e5;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --white: #ffffff;
  --bg: #f6fbfb;

  --font-display: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(34, 42, 87, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(34, 42, 87, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(34, 42, 87, 0.28);

  --container: 1160px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(29, 73, 167, 0.6);
}

.btn-primary:hover {
  background: var(--blue-700);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--slate-300);
}

.btn-ghost:hover {
  border-color: var(--blue);
  background: var(--blue-50);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--blue-100);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  height: 44px;
  width: auto;
}

.brand-word {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.brand-wordmark {
  height: 20px;
  width: auto;
}

.brand-domain {
  font-size: 0.72rem;
  color: var(--slate-500);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--slate-800);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.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);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
}

.mobile-nav-list .nav-link {
  display: block;
  padding: 10px 0;
  font-size: 1.05rem;
}

.mobile-nav-list .btn {
  margin-top: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--blue-50), transparent 60%),
    radial-gradient(800px 500px at 0% 20%, var(--teal-100), transparent 55%),
    var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.hero-title .accent {
  color: var(--teal-700);
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--slate-600);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-500);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 320px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-card-top {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-300);
}

.hero-card-body {
  padding: 28px 24px 32px;
}

.spark-badge {
  height: 64px;
  width: auto;
  margin-bottom: 18px;
}

.spark-badge img {
  height: 64px;
  width: auto;
}

.hero-card-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 4px 0 20px;
}

.hero-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-bars span {
  display: block;
  height: 10px;
  width: var(--w);
  border-radius: 6px;
  background: var(--blue-100);
}

.hero-bars span:nth-child(2) {
  background: var(--teal-100);
}

.hero-bars span:nth-child(3) {
  background: var(--navy);
  opacity: 0.16;
}

.hero-nodes {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}

.node:nth-child(2) {
  background: var(--teal);
}

.node:nth-child(3) {
  background: var(--navy);
}

.hero-float {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  color: var(--slate-700);
}

.hero-float-a {
  top: -14px;
  left: 8%;
}

.hero-float-b {
  bottom: 24%;
  left: -4%;
}

.hero-float-c {
  bottom: -16px;
  right: 6%;
}

/* ---------- Trust strip ---------- */
.trust {
  padding: 28px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: var(--bg);
}

.trust-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 18px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--slate-400);
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.section-sub {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--slate-600);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.icon-blue {
  background: var(--blue-100);
  color: var(--blue);
}

.icon-teal {
  background: var(--teal-100);
  color: var(--teal-700);
}

.icon-navy {
  background: var(--blue-50);
  color: var(--navy);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.card-text {
  color: var(--slate-600);
  font-size: 0.98rem;
}

/* ---------- Product ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.product-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--slate-900);
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.product-text {
  color: var(--slate-600);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-700);
  font-weight: 500;
}

.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-100);
  position: relative;
  flex-shrink: 0;
}

.check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 9px;
  border: solid var(--teal-700);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Product visual */
.product-visual {
  display: flex;
  justify-content: center;
}

.product-window {
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.product-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.product-window-title {
  margin-left: 10px;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.product-window-body {
  padding: 12px 18px 18px;
}

.pv-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.9rem;
  color: var(--slate-700);
}

.pv-row:last-child {
  border-bottom: none;
}

.pv-head {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-400);
  font-weight: 600;
}

.pv-ok,
.pv-low,
.pv-out {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  text-align: center;
  width: fit-content;
}

.pv-ok {
  background: var(--teal-100);
  color: var(--teal-700);
}

.pv-low {
  background: #fef3c7;
  color: #b45309;
}

.pv-out {
  background: #fee2e2;
  color: #b91c1c;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.about-text {
  font-size: 1.08rem;
  color: var(--slate-600);
  margin-top: 18px;
  max-width: 560px;
}

.about-text em,
.section-title em {
  font-style: italic;
  color: var(--blue);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-list li {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.about-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.about-card {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.about-card blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
}

.about-card figcaption {
  margin-top: 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-light);
  font-weight: 600;
}

/* ---------- Who we serve ---------- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.serve-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--slate-800);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.serve-item:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
}

.serve-icon {
  font-size: 1.5rem;
}

/* ---------- CTA ---------- */
.cta {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-sub {
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--blue-100);
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--slate-400);
  padding: 48px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand .brand-domain {
  color: var(--slate-500);
}

.footer-tagline {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
}

.footer-nav ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.92rem;
  color: var(--slate-400);
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--teal-light);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--slate-500);
  flex-basis: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid,
  .product,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-float-a {
    left: 2%;
  }

  .hero-float-b {
    left: -2%;
  }

  .about-aside {
    position: static;
  }

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

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

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 540px) {
  .serve-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-wordmark {
    height: 17px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
