/* =========================================================
   ZentiqOne Design System
   ========================================================= */
:root {
  --color-navy: #0B1F3A;
  --color-blue: #2454FF;
  --color-blue-light: #EAF0FF;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F9FC;
  --color-text: #1A1F2B;
  --color-text-muted: #5B6472;
  --color-border: #E3E8F0;
  --max-width: 1160px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--color-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
main { display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -999px; top: auto; background: #fff; color: var(--color-navy); padding: 0.75rem 1.25rem; border-radius: 0 0 8px 0; z-index: 1000; }
.skip-link:focus { left: 0; top: 0; }

h1, h2, h3, h4 { color: var(--color-navy); line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; }
p { margin-top: 0; }
.lead { font-size: 1.15rem; color: var(--color-text-muted); }
.text-muted { color: var(--color-text-muted); }

.btn { display: inline-block; padding: 0.85rem 1.7rem; border-radius: 8px; font-weight: 700; cursor: pointer; border: 2px solid transparent; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--color-blue); color: #fff; }
.btn-primary:hover { background: #173dcc; }
.btn-navy { background: var(--color-navy); color: #fff; }
.btn-navy:hover { background: #142a4d; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Header / Nav */
.site-header { background: var(--color-navy); position: sticky; top: 0; z-index: 100; }
.navbar { max-width: var(--max-width); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.navbar .logo { color: #fff; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.navbar .logo:hover { text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: #dce4f5; font-weight: 500; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta { background: var(--color-blue); color: #fff !important; padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 700; }
.nav-cta:hover { background: #173dcc; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-navy); flex-direction: column; align-items: flex-start; padding: 1rem 24px 1.5rem; display: none; gap: 1rem; }
  .nav-links.is-open { display: flex; }
}

/* Sections */
section { padding: 64px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-navy { background: var(--color-navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .text-muted { color: #b9c6e6; }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head.left { text-align: left; margin: 0 0 2.5rem; max-width: none; }

/* Hero */
.hero { padding: 72px 0 60px; background: linear-gradient(180deg, var(--color-blue-light), #ffffff); }
.hero .container { max-width: 880px; text-align: center; }
.badge { display: inline-block; background: var(--color-navy); color: #fff; padding: 0.4rem 1rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; margin-bottom: 1.25rem; }
.definition-block { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin: 2rem auto 0; text-align: left; box-shadow: var(--shadow); }
.hero .btn-row { justify-content: center; margin-top: 1.75rem; }

/* Page hero (non-home) */
.page-hero { background: var(--color-blue-light); padding: 52px 0 48px; }
.page-hero .container { max-width: 880px; }

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Cards */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.6rem; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.5rem; }
.card ul { margin: 0.85rem 0; padding-left: 1.1rem; color: var(--color-text-muted); }
.card li { margin-bottom: 0.35rem; }
.card .learn-more { font-weight: 700; }
.badge-num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-blue-light); color: var(--color-blue); font-weight: 800; margin-bottom: 0.9rem; }

/* Chips / Tags */
.chip-grid { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip { background: var(--color-blue-light); color: var(--color-navy); padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; }
.chip-link { background: var(--color-blue-light); color: var(--color-navy); padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
.chip-link:hover { background: var(--color-blue); color: #fff; text-decoration: none; }

/* Icon grid (industries icon variant) */
.icon-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.75rem; text-align: center; }
@media (max-width: 900px) { .icon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
.icon-item { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.icon-shape { width: 44px; height: 44px; background: var(--color-blue); }
.icon-shape.shape-circle { border-radius: 50%; }
.icon-shape.shape-square { border-radius: 10px; }
.icon-shape.shape-diamond { border-radius: 8px; transform: rotate(45deg); }
.icon-shape.shape-hex { clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.icon-shape.shape-triangle { background: transparent; width: 0; height: 0; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 38px solid var(--color-blue); }
.icon-item span { font-weight: 700; color: var(--color-navy); font-size: 0.95rem; }

/* Flow diagram */
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; }
.flow-step { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.25rem; font-weight: 700; color: var(--color-navy); text-align: center; min-width: 130px; box-shadow: var(--shadow); }
.flow-arrow { color: var(--color-blue); font-size: 1.5rem; padding: 0 0.7rem; font-weight: 700; }
.flow-caption { text-align: center; max-width: 760px; margin: 1.75rem auto 0; color: var(--color-text-muted); }
@media (max-width: 768px) {
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
}

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.4rem; margin-bottom: 0.9rem; }
.faq summary { font-weight: 700; color: var(--color-navy); cursor: pointer; }
.faq details p { margin: 0.75rem 0 0.2rem; color: var(--color-text-muted); }

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.9rem; }
.checklist li { padding-left: 1.6rem; position: relative; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-blue); font-weight: 700; }

/* CTA band */
.cta-band { background: var(--color-navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd8f2; }

/* Two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* Breadcrumb */
.breadcrumb { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--color-text-muted); }

/* Form */
.form-grid { display: grid; gap: 1.1rem; max-width: 640px; }
label { font-weight: 700; display: block; margin-bottom: 0.4rem; color: var(--color-navy); }
input, textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 8px; font-family: inherit; font-size: 1rem; }
textarea { resize: vertical; }

/* Footer */
.site-footer { background: var(--color-navy); color: #cdd8f2; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 2.25rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { color: #fff; font-weight: 800; font-size: 1.4rem; margin-bottom: 0.7rem; }
.footer-tagline { color: #fff; font-weight: 700; margin-bottom: 0.6rem; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: #cdd8f2; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: #9fb0d3; }
.footer-bottom a { color: var(--indigo-l); text-decoration: underline;}
/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* =========================================================
   Stats bar
   ========================================================= */
.stats-bar { background: #fff; border-bottom: 1px solid var(--color-border); padding: 32px 0; }
.stats-bar-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.stat-item { flex: 1 1 200px; text-align: center; min-width: 150px; }
.stat-num { display: block; font-size: 2.25rem; font-weight: 800; color: var(--color-navy); line-height: 1.1; }
.stat-label { display: block; margin-top: 0.4rem; color: var(--color-text-muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 600px) { .stats-bar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* =========================================================
   Icon utilities
   ========================================================= */
.icon-svg { width: 40px; height: 40px; stroke: var(--color-blue); fill: none; stroke-width: 1.6; }
.icon-svg-fill { fill: var(--color-blue); stroke: none; }
.icon-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--color-blue-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; flex-shrink: 0; }
.icon-badge .icon-svg { width: 30px; height: 30px; }

/* =========================================================
   Trust / compliance section
   ========================================================= */
.trust-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; }
.trust-card h3 { margin-bottom: 0.5rem; }
.trust-clarifier { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-left: 4px solid var(--color-blue); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-top: 2rem; }
.trust-clarifier p { margin: 0; color: var(--color-text); }
.trust-clarifier strong { color: var(--color-navy); }

/* =========================================================
   Scroll-reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Long-form article / prose styles (Learn section)
   ========================================================= */
.article-hero { background: var(--color-blue-light); padding: 52px 0 48px; }
.article-hero .container { max-width: 880px; }
.article-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; color: var(--color-text-muted); font-size: 0.9rem; font-weight: 600; }
.topic-tag { display: inline-block; background: var(--color-blue-light); color: var(--color-navy); padding: 0.3rem 0.85rem; border-radius: 999px; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.article-hero .topic-tag { background: #fff; }

.prose { max-width: 720px; margin: 0 auto; line-height: 1.75; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose p { margin-bottom: 1.25rem; color: var(--color-text); }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.4rem; color: var(--color-text); }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote { margin: 1.5rem 0; padding: 0.25rem 1.5rem; border-left: 4px solid var(--color-blue); color: var(--color-text-muted); font-style: italic; }
.prose code { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 4px; padding: 0.15rem 0.4rem; font-size: 0.9em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { text-align: left; padding: 0.75rem 1rem; border: 1px solid var(--color-border); }
.prose th { background: var(--color-bg-alt); color: var(--color-navy); }

.callout { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-left: 4px solid var(--color-blue); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.75rem 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.75rem; }

.related-box { border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; padding: 1.75rem; margin-top: 2.5rem; box-shadow: var(--shadow); }
.related-box h3 { margin-bottom: 0.9rem; }
.related-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }

/* =========================================================
   Glossary
   ========================================================= */
.glossary-grid { columns: 2; column-gap: 3rem; }
@media (max-width: 700px) { .glossary-grid { columns: 1; } }
.glossary-term { break-inside: avoid; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.glossary-term dt { font-weight: 800; color: var(--color-navy); margin-bottom: 0.35rem; }
.glossary-term dd { margin: 0; color: var(--color-text-muted); }

/* =========================================================
   Learn hub grid
   ========================================================= */
.learn-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .learn-grid { grid-template-columns: 1fr; } }
.learn-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.6rem; transition: box-shadow .2s ease, transform .2s ease; }
.learn-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.learn-card .topic-tag { margin-bottom: 0.85rem; }
.learn-card h3 { margin-bottom: 0.5rem; }
.learn-card p { color: var(--color-text-muted); margin-bottom: 0.85rem; }
.learn-card .learn-more { font-weight: 700; }
