/* Typography & base */
:root {
  --brand-700: #0e2a47; /* deep trust blue */
  --brand-600: #153a66;
  --brand-500: #1d4f8b; /* primary */
  --brand-400: #2c6bb8;
  --brand-300: #5a92d6;
  --brand-200: #a9c2ec;
  --accent-mint: #1cc5b7;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --ink-900: #0f1824;
  --ink-700: #2a3a52;
  --ink-500: #5b6b86;
  --success: #1e9e6a;
  --shadow: 0 10px 30px rgba(21, 58, 102, 0.15);
  --radius-lg: 16px;
  --radius-md: 12px;
  --caps-track: .22em;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink-900);
  background: linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
}

img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(13, 42, 71, 0.08);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 52px; height: 52px; object-fit: contain; }
.logo.small { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; letter-spacing: 2px; color: var(--brand-700); }
.brand-sub { font-weight: 700; letter-spacing: 8px; color: var(--brand-400); font-size: 12px; margin-top: 2px; }
.brand-name.small { font-size: 14px; letter-spacing: 3px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-700); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: var(--caps-track); font-size: 12px; }
.nav a:hover { color: var(--brand-500); }

/* Buttons */
.btn { appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 12px 22px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--caps-track); font-size: 12px; }
.btn-primary { background: linear-gradient(135deg, var(--brand-500), var(--brand-400)); background-size: 200% 200%; color: #fff; box-shadow: var(--shadow); transition: background-position .35s ease, box-shadow .2s ease, transform .06s ease; }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 12px 26px rgba(29, 79, 139, 0.3); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(44,107,184,0.25); }
.btn-lg { padding: 16px 28px; font-size: 13px; }
.btn.full { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1fr; gap: 0; align-items: center; padding: 160px 0 120px; }
.hero-text { text-align: center; max-width: 960px; margin: 0 auto; }
.headline {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  margin: 0 0 24px;
  color: var(--brand-700);
}
.subhead { font-size: clamp(18px, 2.6vw, 24px); color: var(--ink-700); margin: 0 0 36px; }
.hero-cta { display: flex; gap: 14px; align-items: center; justify-content: center; }
.disclaimer { margin-top: 22px; color: var(--ink-500); font-size: 12px; }

/* Value cards just below hero */
.values { padding: 6px 0 8px; }
.value-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value-card { background: #fff; border: 1px solid rgba(21,58,102,0.08); border-radius: 14px; padding: 16px; box-shadow: 0 8px 18px rgba(21,58,102,0.06); }
.value-title { display: block; font-weight: 800; color: var(--brand-600); text-transform: uppercase; letter-spacing: var(--caps-track); font-size: 11px; margin-bottom: 6px; }
.value-card p { margin: 0; color: var(--ink-700); font-size: 14px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%); border-top: 1px solid rgba(21,58,102,0.06); border-bottom: 1px solid rgba(21,58,102,0.06); }
/* Distinct background for Products */
#products { background: linear-gradient(180deg, #f7fbff 0%, #edf4ff 100%); border-top: 1px solid rgba(44,107,184,0.10); border-bottom: 1px solid rgba(44,107,184,0.10); }
.section-title { margin: 0 0 20px; color: var(--brand-700); text-transform: uppercase; letter-spacing: var(--caps-track); font-weight: 800; font-size: 14px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.col { background: var(--surface); border: 1px solid rgba(21,58,102,0.08); border-radius: var(--radius-md); padding: 26px; box-shadow: 0 8px 20px rgba(21,58,102,0.06); }
.col h3 { margin-top: 0; color: var(--brand-600); letter-spacing: .02em; }
.col p { color: var(--ink-700); }

/* How it works + Benefits + Products sizing */
#how-it-works .cols, #benefits .cols, #products .cols { gap: 36px; }
#how-it-works .col, #benefits .col, #products .col { padding: 34px 30px; min-height: 220px; }
#how-it-works .col h3, #benefits .col h3, #products .col h3 { font-size: 22px; margin-bottom: 8px; }
#how-it-works .col p, #benefits .col p, #products .col p { font-size: 16px; line-height: 1.6; }

/* Footer */
.site-footer { border-top: 1px solid rgba(21,58,102,0.08); background: #fff; }
.footer-content { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; }

/* Modal */
.modal[aria-hidden="true"] { display: none; }
.modal[aria-hidden="false"] { display: block; }
.modal { position: fixed; inset: 0; z-index: 50; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 24, 36, 0.55); }
.modal-card { position: relative; z-index: 2; width: min(560px, calc(100% - 32px)); margin: 6vh auto; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(15,24,36,0.35); padding: 26px; }
.modal-title { margin: 0 0 6px; color: var(--brand-700); }
.modal-sub { margin: 0 0 18px; color: var(--ink-700); }
.modal-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink-500); }

.field { display: grid; gap: 6px; margin: 12px 0; }
label { font-weight: 600; color: var(--ink-700); }
input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(21,58,102,0.18);
  font-size: 15px; outline: none; transition: box-shadow .2s ease, border-color .2s ease;
}
input:focus { border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(44,107,184,0.15); }
.error { color: #b00020; font-size: 12px; min-height: 16px; }
.privacy-note { color: var(--ink-500); font-size: 12px; text-align: center; }

/* Responsive */
@media (max-width: 980px) {
  .value-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; padding: 140px 0 100px; }
  .nav a { display: none; }
}
@media (max-width: 820px) {
  .cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .value-cards { grid-template-columns: 1fr; }
} 