:root {
  --bg: #1E2749;
  --surface: #FAFAFD;
  --text: #162036;
  --text-light: rgba(250, 250, 253, 0.88);
  --muted: #63708b;
  --border: rgba(22, 32, 54, 0.10);
  --teal: #65BBC4;
  --teal-dark: #4eaab4;
  --max: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { max-width: 780px; }
.centered { text-align: center; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(30, 39, 73, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 86px;
}
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  color: rgba(250,250,253,0.84); font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.is-active { color: #fff; border-color: var(--teal); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--teal); color: #102033;
  font-weight: 600; border: 1px solid var(--teal); transition: .2s ease;
}
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.button-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.24);
}
.button-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--teal); }
.button-outline-dark {
  background: transparent; color: var(--text); border-color: rgba(22,32,54,0.16);
}
.button-outline-dark:hover { background: rgba(22,32,54,0.04); border-color: var(--teal); }
.button-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }

.hero, .page-hero {
  background: var(--bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before, .page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top, rgba(101,187,196,0.10), transparent 36%);
  pointer-events: none;
}
.hero-inner {
  min-height: 760px;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  text-align: center; padding: 110px 0 100px;
}
.hero-logo { width: min(540px, 86vw); margin-bottom: 18px; }
.eyebrow {
  margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; color: var(--teal); font-weight: 600;
}
.eyebrow-dark { color: var(--muted); }
.hero h1, .page-hero h1, .section h2 {
  margin: 0; line-height: 1.08; letter-spacing: -0.03em;
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.9rem); }
.page-hero { padding: 120px 0 86px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); }
.hero-copy, .page-hero p { font-size: 1.15rem; max-width: 760px; color: var(--text-light); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.centered-actions { justify-content: center; }

.section { padding: 88px 0; }
.section-alt { background: #f2f5fa; }
.section-dark { background: var(--bg); color: #fff; }
.section-heading { margin-bottom: 34px; }
.section-heading.centered { text-align: center; }
.section-heading.light p { color: var(--text-light); }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 10px; }
.section-heading p { color: var(--muted); max-width: 760px; }
.section-dark .section-heading p { color: var(--text-light); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; min-height: 100%;
}
.card h3, .card h2 { margin-top: 0; margin-bottom: 10px; }
.card p { margin: 0; color: #4f5d78; }
.card-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.card-dark p { color: var(--text-light); }
.card-service { min-height: 220px; }
.large-service { min-height: 260px; }
.product-card { min-height: 260px; }

.feature-list, .stack-list { display: grid; gap: 14px; }
.feature-item, .stack-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.stack-item span { display: block; color: #56627d; margin-top: 4px; }
.pill {
  display: inline-block; padding: 6px 10px; border-radius: 999px;
  background: rgba(101,187,196,0.16); color: var(--teal);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.pill-light { background: rgba(30,39,73,0.06); color: var(--bg); }
.text-link {
  display: inline-block; margin-top: 18px; color: var(--teal); font-weight: 600;
}
.dark-link { color: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid rgba(22,32,54,0.14); border-radius: 12px;
  padding: 14px 16px; font: inherit; color: var(--text); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(101,187,196,0.18);
}
.notice { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; }
.notice.success { background: rgba(101,187,196,0.14); color: #11404a; }
.notice.error { background: rgba(220, 77, 77, 0.12); color: #8a2525; }
.hp-field { position: absolute; left: -9999px; }

.site-footer {
  background: #111a35; color: rgba(250,250,253,0.88); padding: 56px 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 30px; }
.footer-brand { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-copy, .footer-meta { margin: 0; color: rgba(250,250,253,0.72); }
.footer-meta { margin-top: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a:hover { color: var(--teal); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 980px) {
  .grid-3, .grid-2, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-inner { min-height: 660px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero-inner { padding-top: 92px; min-height: 620px; }
  .button, .button-sm { width: 100%; }
  .hero-actions { width: 100%; }
  .page-hero { padding-top: 96px; }
  .section { padding: 70px 0; }
}
