:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --surface-elevated: #efefef;
  --text: #111111;
  --text-secondary: #2f2f2f;
  --text-muted: #666666;
  --border: #d7d7d7;
  --accent: #111111;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 56px);
  background-size: 128px 128px, 128px 128px, 30px 30px, 30px 30px, cover, cover;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px, center, center;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 6% 14%, rgba(0, 0, 0, 0.1) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 24% 62%, rgba(0, 0, 0, 0.09) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 52% 24%, rgba(0, 0, 0, 0.09) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 76% 34%, rgba(0, 0, 0, 0.09) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 90% 76%, rgba(0, 0, 0, 0.08) 0 1.6px, transparent 2.4px),
    linear-gradient(90deg, transparent 0 8%, rgba(0, 0, 0, 0.04) 8% 8.2%, transparent 8.2% 52%, rgba(0, 0, 0, 0.04) 52% 52.2%, transparent 52.2% 100%),
    linear-gradient(transparent 0 12%, rgba(0, 0, 0, 0.04) 12% 12.2%, transparent 12.2% 68%, rgba(0, 0, 0, 0.04) 68% 68.2%, transparent 68.2% 100%);
  background-size: 240px 240px, 320px 320px, 280px 280px, 360px 360px, 420px 420px, cover, cover;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0, center, center, center, center;
  opacity: 0.5;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--text-secondary); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text); }
h5, h6 { font-weight: 600; color: var(--text); }
p { color: var(--text-secondary); }

.page-wrap { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
main { flex: 1 0 auto; }
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 0 8%, rgba(0, 0, 0, 0.018) 8% 8.2%, transparent 8.2% 52%, rgba(0, 0, 0, 0.018) 52% 52.2%, transparent 52.2% 100%),
    linear-gradient(transparent 0 18%, rgba(0, 0, 0, 0.018) 18% 18.25%, transparent 18.25% 64%, rgba(0, 0, 0, 0.018) 64% 64.25%, transparent 64.25% 100%),
    repeating-linear-gradient(90deg, transparent 0 150px, rgba(0, 0, 0, 0.016) 150px 151px, transparent 151px 300px);
  opacity: 0.32;
}
.section > .container { position: relative; z-index: 1; }
.section-title { max-width: 760px; margin-bottom: 2rem; }
.section-title .eyebrow { color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.section-title h2 { margin-top: 0.6rem; margin-bottom: 0.9rem; }

.surface { background: var(--surface); border: 1px solid var(--border); border-radius: 0.9rem; }
.surface-elevated { background: var(--surface-elevated); border: 1px solid var(--border); border-radius: 0.9rem; }

.btn-pax,
.btn-pax-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  padding: 0.72rem 1.08rem;
  border: 1px solid var(--accent);
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-pax {
  background: #111;
  color: #fff;
}
.btn-pax:hover {
  background: #fff;
  color: #111;
  border-color: #111;
}
.btn-pax-outline {
  background: #fff;
  color: #111;
}
.btn-pax-outline:hover {
  background: #111;
  color: #fff;
}

.tagline {
  display: inline-block;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.paxium-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.paxium-logo-dark {
  filter: invert(1) grayscale(1) contrast(1.25);
}
.paxium-header .navbar-brand img { height: 52px; width: auto; }
.paxium-footer .paxium-logo-dark { height: 44px; width: auto; }
.paxium-header .nav-link { color: var(--text-secondary); font-weight: 500; }
.paxium-header .nav-link.active,
.paxium-header .nav-link:hover { color: var(--text); }
.paxium-header .dropdown-toggle::after {
  border-top: 0.35em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  margin-left: 0.45rem;
  vertical-align: 0.18em;
}
.paxium-header .paxium-dropdown-menu {
  background: #ffffff;
  border: 1px solid #cecece;
  border-radius: 0.85rem;
  min-width: 410px;
  padding: 0.55rem;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}
.paxium-header .paxium-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-radius: 0.62rem;
  padding: 0.72rem 0.78rem;
  color: #111111;
  white-space: normal;
  border: 1px solid transparent;
}
.paxium-header .paxium-drop-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.paxium-header .paxium-drop-title {
  color: #111111;
  font-weight: 600;
  line-height: 1.3;
}
.paxium-header .paxium-drop-desc {
  color: #4f4f4f;
  font-size: 0.84rem;
  line-height: 1.35;
}
.paxium-header .paxium-dropdown-item i {
  color: #222;
  font-size: 1.1rem;
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}
.paxium-header .paxium-dropdown-item:hover,
.paxium-header .paxium-dropdown-item:focus,
.paxium-header .paxium-dropdown-item.active {
  color: #000;
  background: #f3f3f3;
  border-color: #d3d3d3;
}
.paxium-header .paxium-dropdown-item:hover i,
.paxium-header .paxium-dropdown-item:focus i,
.paxium-header .paxium-dropdown-item.active i {
  transform: translateX(2px);
}
@media (min-width: 992px) {
  .paxium-header .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
}
@media (max-width: 991px) {
  .paxium-header .navbar-brand img { height: 44px; }
  .paxium-header .paxium-dropdown-menu {
    min-width: 100%;
    margin-top: 0.45rem;
  }
  .paxium-header .paxium-drop-desc {
    font-size: 0.8rem;
  }
}

.hero {
  padding: 7rem 0 5rem;
  border-top: 0;
}
.hero::before {
  opacity: 0.42;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.022) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.022) 0 1px, transparent 1px 58px),
    linear-gradient(120deg, transparent 0 20%, rgba(0, 0, 0, 0.03) 20% 20.3%, transparent 20.3% 100%);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
.hero .hero-copy { max-width: 760px; }
.hero .hero-art {
  margin-top: 1.6rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}
.hero svg { width: 100%; height: auto; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 992px) {
  .grid-cards { grid-template-columns: 1fr; }
}

.service-card,
.feature-card,
.outcome-card,
.challenge-card {
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  height: 100%;
}
.service-card h3,
.feature-card h3,
.outcome-card h3,
.challenge-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}
.card-link { font-weight: 600; color: var(--text); }

.list-clean {
  padding: 0;
  margin: 0;
  list-style: none;
}
.list-clean li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-secondary);
}
.list-clean li:last-child { border-bottom: 0; }

.faq-section .faq-item {
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  margin-bottom: 0.8rem;
}
.faq-section .faq-question {
  width: 100%;
  background: transparent;
  color: var(--text);
  border: 0;
  text-align: left;
  font-weight: 600;
  padding: 0;
}
.faq-section .faq-answer {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  display: none;
}
.faq-section .faq-item.open .faq-answer { display: block; }

.cta-band {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 2rem;
}

.contact-form .form-control,
.contact-form .form-select,
.contact-form textarea {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
}
.contact-form .form-control::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form .form-control:focus,
.contact-form textarea:focus {
  border-color: #111;
  box-shadow: none;
  background: #fff;
  color: #111;
}

.paxium-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.2rem 0;
}
.paxium-footer a { color: var(--text-secondary); }
.paxium-footer a:hover { color: var(--text); }
.paxium-footer .small { color: var(--text-muted); }

.kicker {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 600;
}

.security-icon {
  width: 22px;
  height: 22px;
  border: 1px solid var(--text);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  margin-right: 0.45rem;
}

.table-lite {
  width: 100%;
  border-collapse: collapse;
}
.table-lite td,
.table-lite th {
  border: 1px solid var(--border);
  padding: 0.55rem 0.6rem;
  color: var(--text-secondary);
}
.table-lite th { color: var(--text); font-weight: 600; }
