:root {
  --ink: #102335;
  --ink-2: #1f3a52;
  --blue: #1f5d8f;
  --blue-2: #2e78ad;
  --blue-pale: #eaf2f8;
  --paper: #f8fafc;
  --white: #ffffff;
  --line: #cfdae4;
  --muted: #617386;
  --charcoal: #17202a;
  --success: #2f7d5b;
  --shadow: 0 24px 60px rgba(16, 35, 53, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.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; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(207,218,228,0.75);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative; width: 52px; height: 52px;
  border: 1px solid var(--blue);
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(31,93,143,0.08), rgba(31,93,143,0.02));
  overflow: hidden;
}
.grid-line { position: absolute; background: rgba(31,93,143,0.24); }
.grid-line.v1 { width: 1px; height: 100%; left: 33%; }
.grid-line.v2 { width: 1px; height: 100%; left: 66%; }
.grid-line.h1 { height: 1px; width: 100%; top: 33%; }
.grid-line.h2 { height: 1px; width: 100%; top: 66%; }
.brand-initials { position: relative; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -1px; color: var(--blue); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: Montserrat, sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; }
.primary-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 14px; }
.primary-nav a:hover { color: var(--blue); }
.nav-cta { padding: 11px 16px; border: 1px solid var(--blue); color: var(--blue); }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; padding: 8px 12px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f7fafc 0%, #edf4f8 100%); }
.blueprint-grid, .cover-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,93,143,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,93,143,.08) 1px, transparent 1px),
    linear-gradient(rgba(31,93,143,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,93,143,.035) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  mask-image: linear-gradient(to right, black, transparent 80%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; min-height: 680px; padding: 88px 0; }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow.dark { color: var(--ink-2); }
h1, h2, h3 { font-family: Montserrat, sans-serif; line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(42px, 5.2vw, 70px); letter-spacing: -0.04em; margin-bottom: 22px; }
h2 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -0.035em; }
h3 { font-size: 22px; letter-spacing: -0.02em; }
.hero-copy > p { font-size: 20px; color: var(--muted); max-width: 700px; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; font-weight: 700; border: 1px solid transparent; cursor: pointer; }
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: #174a72; }
.button.secondary { background: white; border-color: var(--line); }
.button.secondary:hover { border-color: var(--blue); color: var(--blue); }
.trust-row { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust-row span::before { content: "✓"; margin-right: 8px; color: var(--success); }

.hero-panel { background: rgba(255,255,255,.94); border: 1px solid rgba(31,93,143,.16); padding: 28px; box-shadow: var(--shadow); }
.panel-topline { display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.status-pill { background: #e5f2ec; color: var(--success); padding: 7px 10px; border-radius: 999px; }
.hero-panel h2 { font-size: 30px; margin: 25px 0 10px; }
.hero-panel > p { color: var(--muted); }
.steps-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.steps-preview div { border: 1px solid var(--line); padding: 16px; display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; }
.steps-preview span { grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--blue); color: var(--blue); font-size: 11px; font-weight: 800; }
.steps-preview strong { font-size: 14px; }
.steps-preview small { color: var(--muted); }
.score-card { display: flex; align-items: center; justify-content: space-between; padding: 18px; background: var(--ink); color: white; }
.score-card small { display: block; color: #b8c9d8; }
.score-card strong { font-size: 26px; }
.score-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 7px solid #5f94ba; font-weight: 800; }

.problem-strip { background: var(--ink); color: white; padding: 54px 0; }
.problem-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.problem-grid h2 { font-size: 38px; margin-bottom: 0; }
.problem-grid p { font-size: 19px; color: #c8d5df; margin: 0; }

.section { padding: 104px 0; }
.section-alt { background: var(--paper); }
.section-heading { margin-bottom: 42px; }
.section-heading.split { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading.split > div:first-child { max-width: 760px; }
.section-heading.split > p { max-width: 360px; color: var(--muted); }
.section-heading.centered { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-heading.centered p { color: var(--muted); font-size: 18px; }
.card-grid.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.solution-card, .product-card { border: 1px solid var(--line); padding: 26px; background: white; transition: .2s ease; }
.solution-card:hover, .product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,35,53,.08); }
.solution-card.featured { background: var(--ink); color: white; border-color: var(--ink); }
.solution-card p, .product-card p { color: var(--muted); }
.solution-card.featured p { color: #c8d5df; }
.solution-card a, .product-card a { color: var(--blue); font-weight: 800; }
.solution-card.featured a { color: white; }
.module-id { color: var(--blue); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }

.product-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 82px; align-items: center; }
.product-visual { display: flex; justify-content: center; }
.document-cover { width: min(420px, 100%); aspect-ratio: .74; background: linear-gradient(155deg, #0f283d, #1f5d8f); color: white; position: relative; padding: 34px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.document-cover .cover-grid { mask-image: none; opacity: .35; }
.cover-brand, .cover-body, .cover-footer { position: relative; }
.cover-brand { font-size: 11px; letter-spacing: .15em; font-weight: 800; }
.cover-body { margin: auto 0; }
.cover-body > span { font-size: 13px; letter-spacing: .18em; font-weight: 700; color: #bcd4e5; }
.cover-body h3 { font-size: 36px; margin: 14px 0 18px; }
.cover-body p { color: #d4e2ec; }
.cover-footer { display: flex; justify-content: space-between; color: #bcd4e5; font-size: 12px; }
.product-copy .lead { font-size: 19px; color: var(--muted); }
.outcome-list { display: grid; gap: 15px; margin: 28px 0; }
.outcome-list > div { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.outcome-list > div > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e5f2ec; color: var(--success); font-weight: 800; }
.outcome-list p { margin: 0; color: var(--muted); }
.outcome-list strong { color: var(--ink); }
.product-meta { display: flex; gap: 12px; margin: 30px 0; flex-wrap: wrap; }
.product-meta div { min-width: 145px; padding: 14px 16px; border: 1px solid var(--line); background: white; }
.product-meta small { display: block; color: var(--muted); text-transform: uppercase; font-weight: 700; font-size: 10px; letter-spacing: .1em; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-grid article { border-top: 3px solid var(--blue); background: var(--paper); padding: 28px; }
.process-grid article > span { color: var(--blue); font-weight: 800; font-size: 12px; letter-spacing: .1em; }
.process-grid p { color: var(--muted); }
.principle-card { margin-top: 40px; padding: 38px; background: var(--blue-pale); display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.principle-card h3 { font-size: 30px; margin-bottom: 0; }
.principle-card p { font-size: 24px; font-weight: 700; color: var(--blue); margin: 0; }

.library-section { background: #0f1d29; color: white; }
.library-section .section-heading p { color: #b8c9d8; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { border: 1px solid #355064; background: transparent; color: #c7d5df; padding: 9px 13px; cursor: pointer; }
.filter.active, .filter:hover { background: white; color: var(--ink); }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { color: var(--ink); }
.product-card.hidden { display: none; }
.product-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 22px 0; background: var(--blue-pale); color: var(--blue); border: 1px solid #c9dce9; font-weight: 800; }
.product-tags { display: flex; gap: 8px; margin: 18px 0; }
.product-tags span { font-size: 11px; font-weight: 700; background: var(--paper); border: 1px solid var(--line); padding: 6px 8px; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.about-grid p { font-size: 18px; color: var(--muted); }
.about-points { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.about-points span { padding: 8px 11px; background: white; border: 1px solid var(--line); font-size: 12px; font-weight: 700; }

.cta-section { background: linear-gradient(135deg, #17486e, #0f283d); padding: 72px 0; }
.cta-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; color: white; align-items: center; }
.cta-card p { color: #c8d5df; }
.signup-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.signup-form input { min-height: 50px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: white; padding: 0 16px; }
.signup-form input::placeholder { color: #c8d5df; }
.form-message { grid-column: 1 / -1; min-height: 22px; color: #d8efe5; font-size: 13px; }

.site-footer { background: #0a141d; color: white; padding: 54px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 50px; }
.footer-brand .brand-mark { border-color: #5f94ba; }
.footer-brand .brand-initials { color: #87b4d3; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a, .footer-grid span, .footer-grid p { color: #9fb2c2; font-size: 14px; }
.footer-grid strong { margin-bottom: 5px; }
.footer-bottom { border-top: 1px solid #233645; margin-top: 38px; padding-top: 18px; color: #7890a2; font-size: 12px; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; left: 20px; right: 20px; top: 78px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; flex-direction: column; align-items: stretch; display: none; }
  .primary-nav.open { display: flex; }
  .hero-grid, .product-layout, .about-grid, .cta-card, .problem-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; min-height: auto; }
  .card-grid.four, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading.split { align-items: start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 9px; }
  .brand-mark { width: 44px; height: 44px; }
  .section { padding: 74px 0; }
  .hero-grid { padding: 66px 0; }
  .hero-copy > p { font-size: 17px; }
  .hero-actions, .trust-row, .product-meta { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .steps-preview, .card-grid.four, .process-grid, .library-grid, .principle-card, .footer-grid { grid-template-columns: 1fr; }
  .panel-topline { align-items: flex-start; flex-direction: column; }
  .signup-form { grid-template-columns: 1fr; }
  .signup-form .button { width: 100%; }
}
