:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --ink: #14213d;
  --muted: #5f6f86;
  --line: #dce4ed;
  --accent: #1769aa;
  --accent-2: #0f4f82;
  --dark: #0c1726;
  --dark-2: #132337;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 33, 61, .10);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 252, .9);
  border-bottom: 1px solid rgba(220, 228, 237, .9);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px) 0 0/9px 9px,
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px) 0 0/9px 9px,
    linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(23, 105, 170, .25);
}
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 10px;
  color: #334760;
  font-weight: 600;
  font-size: 14px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--accent-2); }
.nav-cta { background: var(--dark) !important; color: white !important; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(36,125,188,.24), transparent 31%),
    linear-gradient(135deg, #0a1523 0%, #0f2034 52%, #183453 100%);
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}
.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
  color: #8bc5ef;
}
.eyebrow::before { content:""; width: 22px; height: 2px; background: #8bc5ef; }
h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 18px 0 22px;
  max-width: 850px;
}
.hero p {
  max-width: 720px;
  font-size: 20px;
  color: #d8e5f1;
  margin: 0 0 30px;
}
.hero-tagline {
  color: white !important;
  font-weight: 700;
  font-size: 18px !important;
  margin-top: 14px !important;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 750;
  border-radius: 12px;
  padding: 13px 18px;
  border: 1px solid transparent;
}
.button-primary { background: #ffffff; color: var(--dark); }
.button-secondary { border-color: rgba(255,255,255,.26); color: white; background: rgba(255,255,255,.05); }
.button-dark { background: var(--dark); color: white; }
.button-outline { border-color: var(--line); background: white; color: var(--ink); }

.hero-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}
.hero-panel .panel-label { color: #9fcff0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.flow {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.flow-item {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 15px 16px;
}
.flow-item strong { display:block; margin-bottom: 2px; }
.flow-item span { color: #c7d7e5; font-size: 14px; }

.section { padding: 84px 0; }
.section-tight { padding: 58px 0; }
.section-dark { background: var(--dark); color: white; }
.section-header { max-width: 760px; margin-bottom: 34px; }
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 8px 0 14px;
}
.section-header p { color: var(--muted); font-size: 18px; margin: 0; }
.section-dark .section-header p { color: #b7c7d8; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 6px 22px rgba(20,33,61,.04);
}
.card:hover { transform: translateY(-2px); transition: .2s ease; box-shadow: var(--shadow); }
.card-kicker { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.card h3 { margin: 8px 0 10px; font-size: 24px; letter-spacing: -.02em; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card a { color: var(--accent-2); text-decoration: none; font-weight: 750; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.feature-list { display: grid; gap: 14px; margin-top: 24px; }
.feature {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.feature strong { display: block; margin-bottom: 3px; }
.feature span { color: var(--muted); }

.blueprint-box {
  min-height: 370px;
  border-radius: 22px;
  border: 1px solid #365271;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(135deg, #10263c, #17395a);
  background-size: 28px 28px, 28px 28px, auto;
  padding: 28px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.blueprint-box small { color: #96c2e5; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; }
.blueprint-box h3 { font-size: 32px; margin: 8px 0; }
.blueprint-box p { color: #c8d7e5; margin: 0; }

.callout {
  border-radius: 22px;
  padding: 36px;
  background: linear-gradient(135deg, #ffffff, #eef5fb);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.callout h2 { margin: 0 0 6px; font-size: 32px; letter-spacing: -.03em; }
.callout p { margin: 0; color: var(--muted); }

.page-hero {
  background: var(--dark);
  color: white;
  padding: 86px 0 64px;
}
.page-hero h1 { font-size: clamp(42px, 5vw, 64px); margin-bottom: 16px; }
.page-hero p { max-width: 760px; color: #c9d8e5; font-size: 19px; }

.content {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  max-width: 900px;
}
.content h2 { margin-top: 34px; }
.content h2:first-child { margin-top: 0; }
.content p, .content li { color: #43556d; }
.content code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }

.contact-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
.contact-card {
  border: 1px solid var(--line);
  background:white;
  border-radius:18px;
  padding:26px;
}
.contact-card h3 { margin-top:0; }
.contact-card p { color:var(--muted); }
.contact-card a { color:var(--accent-2); font-weight:700; text-decoration:none; }

.footer {
  background: #09121e;
  color: #b8c5d3;
  padding: 46px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}
.footer strong { color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.footer a { color: #c8d5e1; text-decoration: none; }
.footer small { display:block; margin-top: 16px; color: #7f91a4; }

.notice {
  background: #fff8e5;
  border: 1px solid #f0d68a;
  color: #6a5418;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .hero-grid, .split, .cards, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 80px 0; min-height: auto; }
  .hero-panel { max-width: 640px; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 650px) {
  .nav { align-items: flex-start; padding: 14px 0; flex-direction: column; }
  .nav-links { width: 100%; }
  .nav-links a { padding-left: 0; margin-right: 10px; }
  .section { padding: 62px 0; }
  .callout { align-items: flex-start; flex-direction: column; }
  .content { padding: 24px; }
}
