:root {
  --navy: #172A3A;
  --blue: #1F4E79;
  --slate: #3E6B89;
  --teal: #2F855A;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --border: #E5E7EB;
  --text: #111827;
  --muted: #6B7280;
  --shadow: 0 18px 45px rgba(23, 42, 58, 0.10);
  --radius: 16px;
  --max: 1180px;
}

* { 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(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 820px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--navy); }
.brand-mark { width: 34px; height: 34px; display: inline-flex; }
.brand-mark svg rect { fill: none; stroke: var(--blue); stroke-width: 2.5; }
.brand-mark svg path { fill: none; stroke: var(--teal); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.main-nav a:hover, .text-link:hover { color: var(--blue); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 10px 24px rgba(23, 42, 58, 0.18); }
.button-primary:hover { background: #20384c; }
.button-secondary { color: var(--navy); background: #fff; border-color: var(--border); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.hero { padding: 96px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--teal); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 5vw, 64px); line-height: 1.02; letter-spacing: -.05em; margin-bottom: 24px; color: var(--navy); }
h2 { font-size: clamp(30px, 3.5vw, 42px); line-height: 1.12; letter-spacing: -.035em; color: var(--navy); margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.2; color: var(--navy); margin-bottom: 10px; }
p { color: var(--muted); }
.hero-text { font-size: 20px; max-width: 650px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; min-height: 440px; border: 1px solid var(--border); border-radius: 28px; background: radial-gradient(circle at 30% 20%, rgba(47,133,90,.12), transparent 28%), linear-gradient(145deg, #fff, #edf4f8); box-shadow: var(--shadow); overflow: hidden; }
.visual-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(320px, 78%); background: rgba(255,255,255,.94); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: 0 20px 60px rgba(23, 42, 58, .14); z-index: 4; }
.visual-label { display: block; color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.visual-card strong { display: block; font-size: 24px; color: var(--navy); margin-bottom: 18px; }
.confidence-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.bar { height: 9px; background: #d9e8ef; border-radius: 999px; margin: 11px 0; }
.bar-wide { width: 95%; background: var(--blue); }
.bar-mid { width: 76%; }
.bar-short { width: 58%; }
.node { position: absolute; z-index: 5; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 10px 15px; font-size: 14px; font-weight: 800; color: var(--blue); box-shadow: 0 10px 28px rgba(23, 42, 58, .10); }
.node-one { top: 58px; left: 48px; }
.node-two { top: 68px; right: 54px; }
.node-three { bottom: 62px; left: 52px; }
.node-four { bottom: 72px; right: 58px; }
.connection { position: absolute; height: 1px; background: rgba(31,78,121,.22); transform-origin: left center; z-index: 1; }
.connection-one { width: 300px; top: 150px; left: 90px; transform: rotate(25deg); }
.connection-two { width: 340px; bottom: 150px; left: 80px; transform: rotate(-24deg); }
.connection-three { width: 400px; top: 220px; left: 42px; }

.section { padding: 92px 0; }
.section-white { background: #fff; }
.section-muted { background: var(--bg); }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: 0 12px 32px rgba(23, 42, 58, .06); }
.product-card { min-height: 100%; display: flex; flex-direction: column; }
.card-kicker { color: var(--blue); font-weight: 800; margin-bottom: 12px; }
.icon-line { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 12px; color: var(--teal); font-size: 22px; font-weight: 900; margin-bottom: 22px; }
ul { margin: 10px 0 22px; padding-left: 20px; color: var(--muted); }
.text-link { margin-top: auto; font-weight: 800; color: var(--teal); }

.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.step-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: #fff; }
.step-number { display: inline-block; color: var(--slate); font-size: 13px; font-weight: 900; letter-spacing: .12em; margin-bottom: 18px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.benefit { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.benefit h3 { font-size: 19px; }
.benefit p { margin-bottom: 0; }
.platform-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 54px; align-items: center; }
.platform-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.platform-list div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 22px; border-bottom: 1px solid var(--border); }
.platform-list div:last-child { border-bottom: 0; }
.platform-list strong { color: var(--navy); }
.platform-list span { color: var(--muted); }
.cta-section { padding: 80px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.cta-card { text-align: center; border-radius: 24px; padding: 64px 28px; background: var(--navy); box-shadow: var(--shadow); }
.cta-card h2 { color: #fff; }
.cta-card p { max-width: 620px; margin: 0 auto 26px; color: rgba(255,255,255,.75); }
.cta-card .button-primary { background: #fff; color: var(--navy); box-shadow: none; }

.site-footer { background: #0f1e2b; color: #fff; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, .7fr); gap: 34px; }
.footer-brand { color: #fff; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.68); }
.site-footer a { display: block; margin: 8px 0; }
.site-footer h4 { margin: 0 0 12px; color: #fff; }
.copyright { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 14px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid, .product-grid, .steps-grid, .benefit-grid, .platform-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .section { padding: 68px 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav-wrap { height: 68px; }
  .nav-wrap .button { display: none; }
  h1 { font-size: 40px; }
  .hero-text { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .platform-list div { grid-template-columns: 1fr; gap: 6px; }
  .card, .step-card, .benefit { padding: 24px; }
}
