:root {
  --primary: #0B3A82;
  --secondary: #1E5BB8;
  --accent: #E53935;
  --dark: #0B1F3A;
  --dark-2: #10284b;
  --light: #F5F7FA;
  --yellow: #FFD54F;
  --text: #14304f;
  --muted: #5f7290;
  --white: #ffffff;
  --border: rgba(11, 58, 130, 0.12);
  --shadow: 0 18px 40px rgba(7, 25, 54, 0.16);
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 250, 0.85);
  border-bottom: 1px solid rgba(11, 58, 130, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 228px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary);
  background: rgba(11, 58, 130, 0.08);
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 0;
  transition: transform 0.25s ease;
}

.header-social-link:hover,
.header-social-link:focus-visible {
  transform: translateY(-1px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 7px;
  background: #0a66c2;
  box-shadow: 0 10px 20px rgba(10, 102, 194, 0.18);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header-social-link:hover .social-icon,
.header-social-link:focus-visible .social-icon {
  background: #004182;
  box-shadow: 0 12px 24px rgba(0, 65, 130, 0.24);
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: #ffffff;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  position: relative;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--primary);
  content: "";
}
.mobile-toggle span::before { top: -6px; }
.mobile-toggle span::after { top: 4px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 213, 79, 0.18), transparent 25%),
    radial-gradient(circle at 85% 10%, rgba(30, 91, 184, 0.22), transparent 20%),
    linear-gradient(135deg, #081933 0%, #0d2b57 42%, #143d75 100%);
  color: var(--white);
}

.hero::before,
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(175, 195, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 195, 232, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  padding: 5.5rem 0 4rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 8px rgba(255, 213, 79, 0.14);
}

.hero h1, .page-hero h1 {
  margin: 0 0 1rem;
  line-height: 1.08;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  letter-spacing: -0.03em;
}

.hero p,
.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  max-width: 60ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--yellow);
  color: #0a1e3e;
  box-shadow: 0 14px 30px rgba(255, 213, 79, 0.25);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(11, 58, 130, 0.18);
}
.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.hero-card {
  position: relative;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.dashboard-panel {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(7, 21, 43, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-dots { display: flex; gap: 0.45rem; }
.panel-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.panel-dots span:first-child { background: #ff6b6b; }
.panel-dots span:nth-child(2) { background: #ffd54f; }
.panel-dots span:nth-child(3) { background: #4ade80; }

.panel-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 420px;
}

.sidebar {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar .item,
.metric-card,
.module-card,
.doc-card,
.price-card,
.download-card,
.highlight-card,
.capability-card,
.info-card,
.cta-card,
.feature-list li,
.stat-card,
.support-card {
  border: 1px solid var(--border);
}

.sidebar .item {
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
}

.sidebar .item.active {
  background: rgba(30, 91, 184, 0.26);
  border-color: rgba(255, 255, 255, 0.18);
}

.panel-main {
  padding: 1rem;
}

.metric-grid,
.grid-3,
.grid-4,
.pricing-grid,
.download-grid,
.support-grid,
.module-grid,
.doc-grid {
  display: grid;
  gap: 1rem;
}

.metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1rem; }
.grid-3, .pricing-grid, .download-grid, .support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4, .module-grid, .doc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.metric-card,
.capability-card,
.module-card,
.doc-card,
.price-card,
.download-card,
.highlight-card,
.info-card,
.cta-card,
.stat-card,
.support-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.06);
}

.metric-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}
.metric-card h3 {
  margin: 0 0 0.25rem;
  color: var(--white);
  font-size: 1.8rem;
}
.metric-card p { margin: 0; color: rgba(255, 255, 255, 0.74); }

.chart-card {
  min-height: 225px;
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.wave-chart {
  display: flex;
  align-items: end;
  gap: 0.7rem;
  height: 140px;
}

.wave-chart span {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, rgba(255, 213, 79, 0.95), rgba(30, 91, 184, 0.58));
}

.radar-ring {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(175, 195, 232, 0.24);
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(255, 213, 79, 0.14) 0 4%, transparent 4.5%),
    radial-gradient(circle, transparent 18%, rgba(175, 195, 232, 0.2) 18.5% 19%, transparent 19.5%),
    radial-gradient(circle, transparent 39%, rgba(175, 195, 232, 0.16) 39.5% 40%, transparent 40.5%),
    radial-gradient(circle, transparent 59%, rgba(175, 195, 232, 0.12) 59.5% 60%, transparent 60.5%),
    rgba(255,255,255,0.02);
}

.radar-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(175, 195, 232, 0.12);
}

.radar-ring::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 50%;
  transform-origin: bottom left;
  transform: rotate(-15deg);
  background: linear-gradient(45deg, rgba(229, 57, 53, 0.04), rgba(229, 57, 53, 0.42));
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  border-radius: 0 100% 0 0;
}

.radar-ring .dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 10px rgba(255, 213, 79, 0.12);
}
.radar-ring .dot.one { top: 32%; left: 66%; }
.radar-ring .dot.two { top: 61%; left: 26%; }
.radar-ring .dot.three { top: 20%; left: 44%; }

.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 2.2rem;
  max-width: 760px;
}

.section-header .eyebrow,
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.section-header .eyebrow::before,
.page-hero .eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.section-header h2,
.section-header h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-header p,
.card-text,
.price-card p,
.download-card p,
.doc-card p,
.capability-card p,
.highlight-card p,
.info-card p,
.support-card p,
.module-card p {
  margin: 0;
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.stat-card { padding: 1.25rem; }
.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.capability-card,
.module-card,
.doc-card,
.price-card,
.download-card,
.highlight-card,
.info-card,
.support-card {
  padding: 1.4rem;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(11, 58, 130, 0.09);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.capability-card h3,
.module-card h3,
.doc-card h3,
.price-card h3,
.download-card h3,
.highlight-card h3,
.info-card h3,
.support-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.16rem;
}

.dark-section {
  position: relative;
  color: var(--white);
  background: linear-gradient(180deg, #0a1d39 0%, #08152b 100%);
}
.dark-section .section-header p,
.dark-section .module-card p,
.dark-section .highlight-card p,
.dark-section .cta-card p,
.dark-section .support-card p { color: rgba(255,255,255,0.72); }
.dark-section .module-card,
.dark-section .highlight-card,
.dark-section .support-card,
.dark-section .cta-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  box-shadow: none;
}
.dark-section .card-icon { background: rgba(255,255,255,0.08); color: var(--yellow); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.9rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.86);
  border-radius: 14px;
}
.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  flex: 0 0 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0c274d 0%, #113c74 100%);
  color: var(--white);
}
.page-hero .container { position: relative; padding: 4.5rem 0 3.2rem; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at top right, rgba(255, 213, 79, 0.14), transparent 22%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1rem;
}

.toc {
  position: sticky;
  top: 104px;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.08);
}
.toc h3 { margin-top: 0; margin-bottom: 1rem; }
.toc a {
  display: block;
  padding: 0.65rem 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(11, 58, 130, 0.08);
}
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: var(--primary); }

.doc-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1.5rem;
}
.doc-section {
  padding: 1.6rem;
  margin-bottom: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.05);
}
.doc-section h2 { margin-top: 0; }
.doc-section ul { padding-left: 1.1rem; color: var(--muted); }
.doc-section li + li { margin-top: 0.45rem; }

.price-card {
  position: relative;
  padding-top: 1.8rem;
}
.price-card.featured {
  border-color: rgba(11, 58, 130, 0.32);
  box-shadow: 0 20px 34px rgba(11, 58, 130, 0.12);
}
.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 58, 130, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 1rem 0;
}
.price-line strong {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--primary);
}
.price-line span { color: var(--muted); }

.download-card .meta,
.info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(11, 58, 130, 0.07);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-card {
  padding: 2rem;
  border-radius: 28px;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: #08152b;
  color: rgba(255,255,255,0.72);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-brand img { width: 170px; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--white); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.notice {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 213, 79, 0.14);
  border: 1px solid rgba(255, 213, 79, 0.35);
  color: #6d5700;
}

@media (max-width: 1024px) {
  .hero-content,
  .doc-layout,
  .two-col,
  .panel-body,
  .grid-4,
  .module-grid,
  .doc-grid,
  .grid-3,
  .pricing-grid,
  .download-grid,
  .support-grid,
  .stat-row,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 820px) {
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(245, 247, 250, 0.96);
    border: 1px solid rgba(11, 58, 130, 0.08);
    box-shadow: 0 18px 34px rgba(11,31,58,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }

  .header-actions {
    order: 2;
    margin-left: auto;
  }
  .mobile-toggle {
    order: 3;
  }
  .social-icon {
    width: 34px;
    height: 34px;
  }
  .hero-content { padding: 4.25rem 0 3.25rem; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .brand img { width: 190px; }
}

@media (max-width: 560px) {
  .container { width: min(var(--max-width), calc(100% - 1.2rem)); }

  .nav-wrap {
    min-height: 74px;
    gap: 0.5rem;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand img {
    width: 150px;
  }
  .social-icon {
    width: 32px;
    height: 32px;
    padding: 5px;
  }
  .section { padding: 4rem 0; }
  .hero h1, .page-hero h1 { font-size: 2.4rem; }
  .btn { width: 100%; }
  .button-row { flex-direction: column; }
  .hero-card { padding: 1rem; }
  .panel-main, .sidebar, .doc-section, .cta-card, .price-card, .download-card { padding: 1rem; }
  .radar-ring { width: 210px; height: 210px; }
}


.doc-figure {
  margin-top: 1.25rem;
  background: rgba(11, 31, 58, 0.45);
  border: 1px solid rgba(122, 162, 247, 0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.doc-figure img,
.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
}

.doc-caption,
.gallery-card figcaption {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(122, 162, 247, 0.14);
}

.doc-gallery {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  margin: 0;
  background: rgba(11, 31, 58, 0.45);
  border: 1px solid rgba(122, 162, 247, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.gallery-card-wide {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .doc-gallery {
    grid-template-columns: 1fr;
  }
}


.use-case-card {
  padding: 1.5rem;
}

.use-case-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.18rem;
}

.use-case-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.use-case-card li + li {
  margin-top: 0.45rem;
}

.solution-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.solution-strip .highlight-card {
  padding: 1.35rem;
}

@media (max-width: 1024px) {
  .solution-strip {
    grid-template-columns: 1fr;
  }
}


.skip-link {
  position: fixed;
  left: 1rem;
  top: -120px;
  z-index: 3000;
  background: var(--primary);
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(7, 25, 54, 0.2);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.accessibility-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 4000;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(7, 25, 54, 0.24);
  cursor: pointer;
}

.accessibility-toggle span:first-child {
  font-size: 1.2rem;
  line-height: 1;
}

.accessibility-panel {
  position: fixed;
  right: 1rem;
  bottom: 5.4rem;
  z-index: 4001;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(76vh, 620px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  border: 1px solid rgba(11, 58, 130, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(7, 25, 54, 0.22);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(10px);
}

.accessibility-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.accessibility-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.accessibility-panel__header strong {
  display: block;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.accessibility-panel__header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.accessibility-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(11, 58, 130, 0.08);
  color: var(--primary);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.accessibility-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-height: calc(min(76vh, 620px) - 96px);
  overflow-y: auto;
  padding-right: 0.15rem;
}

.accessibility-actions::-webkit-scrollbar {
  width: 8px;
}

.accessibility-actions::-webkit-scrollbar-track {
  background: #edf2f8;
  border-radius: 999px;
}

.accessibility-actions::-webkit-scrollbar-thumb {
  background: rgba(11, 58, 130, 0.25);
  border-radius: 999px;
}

.accessibility-action {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(11, 58, 130, 0.14);
  border-radius: 14px;
  background: #f7f9fd;
  color: var(--text);
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.accessibility-action:hover,
.accessibility-action.is-active {
  background: rgba(11, 58, 130, 0.1);
  border-color: rgba(11, 58, 130, 0.24);
}

.accessibility-action--reset {
  background: rgba(229, 57, 53, 0.08);
  color: #8d1f1c;
  border-color: rgba(229, 57, 53, 0.14);
}

body.a11y-high-contrast {
  --light: #ffffff;
  --text: #000000;
  --muted: #1b1b1b;
  --primary: #001a72;
  --dark: #000000;
  --border: rgba(0, 0, 0, 0.25);
  background: #ffffff;
}

body.a11y-high-contrast .site-header,
body.a11y-high-contrast .info-card,
body.a11y-high-contrast .capability-card,
body.a11y-high-contrast .module-card,
body.a11y-high-contrast .doc-card,
body.a11y-high-contrast .cta-card,
body.a11y-high-contrast .download-card,
body.a11y-high-contrast .price-card,
body.a11y-high-contrast .supported-card,
body.a11y-high-contrast .toc-panel,
body.a11y-high-contrast .highlight-card,
body.a11y-high-contrast .support-card,
body.a11y-high-contrast .hero-card,
body.a11y-high-contrast .chart-card {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
  box-shadow: none !important;
}

body.a11y-high-contrast .hero,
body.a11y-high-contrast .dark-section,
body.a11y-high-contrast .page-hero {
  background: #000000 !important;
  color: #ffffff !important;
}

body.a11y-high-contrast .hero p,
body.a11y-high-contrast .page-hero p,
body.a11y-high-contrast .section-header p,
body.a11y-high-contrast .price-card p,
body.a11y-high-contrast .download-card p,
body.a11y-high-contrast .use-case-card p,
body.a11y-high-contrast .highlight-card p,
body.a11y-high-contrast .support-card p {
  color: inherit !important;
}

body.a11y-underline-links a:not(.btn):not(.brand):not(.accessibility-toggle) {
  text-decoration: underline !important;
  text-underline-offset: 0.16em;
}

body.a11y-readable-font {
  font-family: Arial, Helvetica, sans-serif;
}

body.a11y-reduce-motion *,
body.a11y-reduce-motion *::before,
body.a11y-reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

body.a11y-reduce-motion .reveal {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 720px) {
  .accessibility-toggle {
    right: 0.75rem !important;
    left: auto !important;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
    min-width: 56px;
    min-height: 56px;
    padding: 0 1rem;
    z-index: 4000;
  }

  .accessibility-toggle span:last-child {
    display: none;
  }

  .accessibility-panel {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
    max-height: min(72vh, 560px);
    border-radius: 22px;
    z-index: 4001;
  }

  .accessibility-panel__header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.98);
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
  }
}
