:root {
  --navy: #06143F;
  --navy-soft: #10245e;
  --indigo: #6366F1;
  --indigo-dark: #4F46E5;
  --bg: #F7F9FC;
  --surface: #ffffff;
  --text: #1a1f2e;
  --body: #2a3040;
  --muted: #5b6478;
  --border: #e3e7f0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--navy-soft); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 19px;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--indigo));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
header.site .spacer { flex: 1; }
header.site nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
header.site nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
header.site nav a:hover,
header.site nav a[aria-current="page"] { color: var(--navy); }

/* Hero */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}
h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--navy);
  line-height: 1.12;
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Sections */
section { padding: 40px 0; }
h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 20px;
}
h3 {
  font-size: 18px;
  color: var(--text);
  margin: 0 0 8px;
}
p { margin: 0 0 12px; color: var(--body); }

/* Product cards */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product .head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.product img.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(6, 20, 63, 0.15);
}
.product .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--indigo-dark);
  background: #eef0ff;
  border-radius: 999px;
  padding: 2px 10px;
}
.product .actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
}
.product.placeholder {
  border-style: dashed;
  color: var(--muted);
  justify-content: center;
}

.btn {
  display: inline-block;
  background: var(--indigo);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
}
.btn:hover { background: var(--indigo-dark); }

/* Info grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
dl.facts { margin: 0; }
dl.facts dt { color: var(--navy); font-weight: 700; }
dl.facts dd { margin: 0 0 10px; color: var(--muted); word-break: break-word; }

/* Document pages (policies) */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.doc h1 { font-size: 32px; margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 19px; margin: 28px 0 8px; }
.doc ul { padding-left: 22px; margin: 0 0 12px; }
.doc li { margin-bottom: 6px; color: var(--body); }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 32px 0;
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}
footer.site .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 12px;
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--navy-soft); text-decoration: underline; }
