:root {
  --bg: #f0f4ff;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --text: #0f1729;
  --muted: #4a5675;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --border: rgba(15, 30, 80, 0.1);
  --shadow: 0 4px 32px rgba(15, 30, 80, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  font-feature-settings: "liga" 0;
  color: var(--text);
  background: linear-gradient(180deg, #eef2ff 0%, #f4f7ff 50%, #f8faff 100%);
}


body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='1400' height='900'><line x1='70' y1='0' x2='70' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='140' y1='0' x2='140' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='210' y1='0' x2='210' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='280' y1='0' x2='280' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='350' y1='0' x2='350' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='420' y1='0' x2='420' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='490' y1='0' x2='490' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='560' y1='0' x2='560' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='630' y1='0' x2='630' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='700' y1='0' x2='700' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='770' y1='0' x2='770' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='840' y1='0' x2='840' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='910' y1='0' x2='910' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='980' y1='0' x2='980' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='1050' y1='0' x2='1050' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='1120' y1='0' x2='1120' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='1190' y1='0' x2='1190' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='1260' y1='0' x2='1260' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='1330' y1='0' x2='1330' y2='900' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='40' x2='1400' y2='40' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='80' x2='1400' y2='80' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='120' x2='1400' y2='120' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='160' x2='1400' y2='160' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='200' x2='1400' y2='200' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='240' x2='1400' y2='240' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='280' x2='1400' y2='280' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='320' x2='1400' y2='320' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='360' x2='1400' y2='360' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='400' x2='1400' y2='400' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='440' x2='1400' y2='440' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='480' x2='1400' y2='480' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='520' x2='1400' y2='520' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='560' x2='1400' y2='560' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='600' x2='1400' y2='600' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='640' x2='1400' y2='640' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='680' x2='1400' y2='680' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='720' x2='1400' y2='720' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='760' x2='1400' y2='760' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='800' x2='1400' y2='800' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='840' x2='1400' y2='840' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><line x1='0' y1='880' x2='1400' y2='880' stroke='rgba(100,130,200,0.09)' stroke-width='1'/><rect x='72' y='2' width='136' height='36' rx='6' fill='%233b82f6' fill-opacity='0.19'/><rect x='562' y='42' width='66' height='36' rx='6' fill='%238b5cf6' fill-opacity='0.2'/><rect x='982' y='2' width='206' height='36' rx='6' fill='%2310b981' fill-opacity='0.18'/><rect x='212' y='82' width='276' height='36' rx='6' fill='%2306b6d4' fill-opacity='0.19'/><rect x='772' y='82' width='136' height='36' rx='6' fill='%23f97316' fill-opacity='0.18'/><rect x='1192' y='42' width='136' height='36' rx='6' fill='%233b82f6' fill-opacity='0.17'/><rect x='2' y='162' width='66' height='76' rx='6' fill='%2310b981' fill-opacity='0.18'/><rect x='422' y='162' width='206' height='36' rx='6' fill='%238b5cf6' fill-opacity='0.2'/><rect x='912' y='122' width='66' height='36' rx='6' fill='%2306b6d4' fill-opacity='0.19'/><rect x='1262' y='162' width='66' height='36' rx='6' fill='%23f97316' fill-opacity='0.18'/><rect x='282' y='242' width='346' height='36' rx='6' fill='%233b82f6' fill-opacity='0.17'/><rect x='702' y='282' width='136' height='36' rx='6' fill='%238b5cf6' fill-opacity='0.2'/><rect x='1052' y='242' width='206' height='36' rx='6' fill='%2310b981' fill-opacity='0.18'/><rect x='72' y='362' width='206' height='36' rx='6' fill='%23f97316' fill-opacity='0.19'/><rect x='492' y='402' width='66' height='36' rx='6' fill='%2306b6d4' fill-opacity='0.2'/><rect x='842' y='362' width='276' height='36' rx='6' fill='%233b82f6' fill-opacity='0.18'/><rect x='1262' y='402' width='66' height='36' rx='6' fill='%238b5cf6' fill-opacity='0.17'/><rect x='282' y='482' width='136' height='36' rx='6' fill='%2310b981' fill-opacity='0.19'/><rect x='632' y='522' width='206' height='36' rx='6' fill='%23f97316' fill-opacity='0.18'/><rect x='1122' y='482' width='206' height='36' rx='6' fill='%2306b6d4' fill-opacity='0.2'/><rect x='72' y='562' width='206' height='36' rx='6' fill='%23f97316' fill-opacity='0.19'/><rect x='1052' y='562' width='206' height='36' rx='6' fill='%233b82f6' fill-opacity='0.18'/><rect x='632' y='602' width='66' height='36' rx='6' fill='%238b5cf6' fill-opacity='0.2'/><rect x='772' y='642' width='136' height='36' rx='6' fill='%2310b981' fill-opacity='0.18'/><rect x='282' y='682' width='206' height='36' rx='6' fill='%2306b6d4' fill-opacity='0.19'/><rect x='1262' y='642' width='66' height='36' rx='6' fill='%238b5cf6' fill-opacity='0.17'/><rect x='562' y='762' width='206' height='36' rx='6' fill='%23f97316' fill-opacity='0.18'/><rect x='142' y='802' width='206' height='36' rx='6' fill='%233b82f6' fill-opacity='0.19'/><rect x='982' y='802' width='206' height='36' rx='6' fill='%2306b6d4' fill-opacity='0.18'/><rect x='422' y='842' width='136' height='36' rx='6' fill='%2310b981' fill-opacity='0.2'/><rect x='1192' y='842' width='136' height='36' rx='6' fill='%23f97316' fill-opacity='0.17'/></svg>");
  background-size: cover;
  background-repeat: no-repeat;
}

/* ── Navigation ── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(16px);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #eef4ff;
  text-decoration: none;
}

.nav-logo span {
  color: #7eb8f7;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #9aafcc;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 180ms;
}

.nav-links a:hover,
.nav-links a.active {
  color: #eef4ff;
}

/* ── Layout ── */

.page {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
  position: relative;
  z-index: 1;
}

/* ── Hero Card ── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow);
  animation: rise 700ms ease-out both;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* ── Typography ── */

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 0.95;
}

h2 {
  margin: 0;
}

.intro {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ── Service / Product Grid ── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

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

.service-tile {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(15, 30, 80, 0.06);
}

.service-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-tile h2 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.service-tile p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Buttons ── */

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button.secondary {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ── Contact ── */

.contact-info {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-email {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 180ms;
}

.contact-email:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.contact-location {
  color: var(--muted);
  font-size: 1rem;
}

/* ── Policy pages ── */

.policy-card {
  padding: 3rem clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow);
  animation: rise 700ms ease-out both;
}

.policy-card h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin: 0.5rem 0 0;
}

.policy-meta {
  margin: 1rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.policy-body h2 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.2rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.policy-body p,
.policy-body li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.policy-body p {
  margin: 0.75rem 0 0;
}

.policy-body ul {
  margin: 0.75rem 0 0;
  padding-left: 1.4rem;
}

.policy-body li {
  margin-bottom: 0.4rem;
}

.policy-body a {
  color: var(--accent);
  text-decoration: none;
}

.policy-body a:hover {
  text-decoration: underline;
}

.highlight-box {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f0f4ff;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── Product extras ── */

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 180ms;
}

.tile-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
}

.platform-badge {
  display: inline-flex;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Footer ── */

.watermark {
  position: fixed;
  right: 1.25rem;
  bottom: 1rem;
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(15, 23, 42, 0.55);
}

.watermark a {
  color: rgba(15, 23, 42, 0.55);
  text-decoration: none;
}

.watermark a:hover {
  color: rgba(15, 23, 42, 0.85);
}

/* ── Animation ── */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */

@media (max-width: 760px) {
  nav {
    padding: 0.85rem 1.25rem;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .page {
    width: min(100% - 1.25rem, 1080px);
    padding-top: 1.25rem;
  }

  .hero {
    padding: 2rem 1.25rem;
    border-radius: 24px;
  }

  .service-grid,
  .service-grid.grid-2,
  .service-grid.grid-4 {
    grid-template-columns: 1fr;
  }

  .watermark {
    right: 1rem;
    bottom: 0.85rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.75rem 1rem;
  }

  .nav-logo {
    font-size: 0.95rem;
  }

  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    font-size: 0.78rem;
  }
}
