:root {
  --blue-950: #0f1f3d;
  --blue-900: #162848;
  --blue-800: #1e3a6e;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white:    #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
a.button {
  font: inherit;
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ── HEADER ─────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-600);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--gray-700);
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-cta {
  padding: 0.55rem 1.1rem !important;
  border-radius: var(--radius-md) !important;
  background: var(--blue-600) !important;
  color: #fff !important;
  font-weight: 600;
  transition: background 0.15s !important;
  margin-left: 0.5rem;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue-800) !important;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 0.65rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--gray-700);
}

/* ── HERO ────────────────────────────────── */

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-300);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--blue-100);
  color: var(--blue-800);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 56ch;
  font-size: 1.08rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button-primary {
  background: var(--blue-600);
  color: #fff;
}

.button-primary:hover {
  background: var(--blue-800);
}

.button-secondary {
  background: var(--white);
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.button-secondary:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.hero-points {
  display: grid;
  gap: 0.6rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-600);
}

/* Hero right panel */

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-md);
}

.panel-primary {
  background: var(--blue-950);
  color: #fff;
  border-color: transparent;
}

.panel-primary h2,
.panel-primary .panel-label,
.panel-primary p {
  color: inherit;
}

.panel-primary p {
  opacity: 0.75;
}

.panel-primary h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.panel-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

.panel-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.panel-accent {
  background: var(--blue-50);
  border-color: var(--blue-100);
}

.panel-muted {
  background: var(--white);
}

.panel-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--gray-900);
}

.panel-card span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ── TRUST STRIP ─────────────────────────── */

.trust-strip {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-grid > div {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--gray-300);
}

.trust-grid > div:last-child {
  border-right: none;
}

.stat {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.trust-grid p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ── SECTIONS ────────────────────────────── */

.section {
  padding: 5rem 0;
}

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

.section-heading {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
}

.section-heading p:last-child {
  margin-top: 0.75rem;
  color: var(--gray-500);
}

/* ── SERVICE CARDS ───────────────────────── */

.card-grid,
.security-grid {
  display: grid;
  gap: 1rem;
}

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

.info-card,
.security-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.info-card:hover,
.security-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 0.85rem;
}

.info-card h3,
.security-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-card p,
.security-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── PLATFORM SECTION ────────────────────── */

.split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.stack-list {
  display: grid;
  gap: 0.75rem;
}

.stack-item {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.stack-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.stack-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ── WHY SECTION ─────────────────────────── */

.why-layout {
  gap: 4rem;
}

.why-layout .section-heading h2 {
  max-width: none;
}

.benefit-list {
  display: grid;
  gap: 0.75rem;
}

.benefit-list article {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.benefit-list h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.benefit-list p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ── CTA BAND ────────────────────────────── */

.cta-band {
  padding: 3rem 0 5rem;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--blue-950);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-band-inner h2,
.cta-band-inner .eyebrow {
  color: #fff;
}

.cta-band-inner .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.cta-band-inner h2 {
  margin-top: 0.75rem;
}

.cta-band-inner .button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-band-inner .button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ── TEAM (subpage) ──────────────────────── */

.subpage-hero {
  padding: 4rem 0 2.5rem;
  background: var(--blue-50);
  border-bottom: 1px solid var(--gray-300);
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 2rem;
  align-items: start;
}

.subpage-note {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.subpage-note p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

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

.team-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.team-card img {
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--blue-50);
}

.team-card h2 {
  font-size: 1.1rem;
}

.team-card p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ── FOOTER ──────────────────────────────── */

.site-footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-300);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.footer-bottom {
  padding: 1rem 0;
  border-top: 1px solid var(--gray-300);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 0.9rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
}

.footer-links a:hover {
  color: var(--gray-900);
  background: var(--gray-300);
}

.footer-login {
  color: var(--blue-600) !important;
  font-weight: 600;
  margin-left: 0.5rem;
}

.footer-login:hover {
  background: var(--blue-50) !important;
  color: var(--blue-800) !important;
}

/* ── REVEAL ANIMATION ────────────────────── */

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

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

.delay-1 { transition-delay: 0.07s; }
.delay-2 { transition-delay: 0.14s; }

/* ── MOBILE NAV ──────────────────────────── */

body[data-menu-open="true"] .site-nav {
  display: flex;
}

/* ── RESPONSIVE ──────────────────────────── */

@media (max-width: 980px) {
  .hero-grid,
  .subpage-grid,
  .split-layout,
  .footer-grid,
  .cta-band-inner,
  .team-card {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .security-grid,
  .trust-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid > div:nth-child(2) {
    border-right: none;
  }

  .trust-grid > div:nth-child(3) {
    border-right: 1px solid var(--gray-300);
    border-top: 1px solid var(--gray-300);
  }

  .trust-grid > div:nth-child(4) {
    border-right: none;
    border-top: 1px solid var(--gray-300);
  }

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

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.5rem;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--gray-300);
    box-shadow: var(--shadow-lg);
  }

  .site-nav a {
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-md);
  }

  .nav-cta {
    text-align: center;
  }

  .nav-wrap {
    position: relative;
  }

  .service-grid,
  .security-grid,
  .trust-grid,
  .team-grid,
  .panel-stack {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    border-right: none;
    border-top: 1px solid var(--gray-300);
  }

  .trust-grid > div:first-child {
    border-top: none;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cta-band-inner {
    padding: 1.75rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  h1 {
    font-size: 2.2rem;
  }

  .section-heading h2,
  .cta-band-inner h2 {
    max-width: none;
  }
}
