:root {
  --ink: #0e172a;
  --text: #273248;
  --muted: #67748d;
  --line: #e5eaf2;
  --bg: #f7f9fd;
  --white: #fff;
  --blue: #1d5ca6;
  --blue2: #0f3760;
  --navy: #081225;
  --navy2: #101f40;
  --cyan: #4ac5f8;
  --violet: #7c4dff;
  --green: #12a66a;
  --green-soft: #e9f8f1;
  --amber: #f5a524;
  --red: #eb4d4b;
  --soft: #edf3ff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  --shadow-sm: 0 12px 36px rgba(15, 23, 42, 0.07);
  --radius: 24px;
  --bg-card: #fff;
  --bg-muted: #f4f7fc;
  --border-card: #e5eaf2;
  --text-secondary: #64748b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
.container {
  width: min(1220px, calc(100% - 40px));
  margin: auto;
}
.announcement {
  padding: 10px 16px;
  text-align: center;
  background: linear-gradient(90deg, #071021, #15357b, #071021);
  color: #d9e7ff;
  font-size: 12px;
}
.announcement strong {
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 234, 242, 0.9);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.brand > span:last-child span {
  color: var(--blue);
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  object-fit: contain;
  box-shadow: 0 10px 25px rgba(47, 91, 234, 0.27);
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 750;
  color: #3f4b62;
}
.nav-links a:hover {
  color: var(--blue);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.site-theme-toggle span::before {
  content: "☀";
  font-size: 20px;
  line-height: 1;
}
.site-theme-toggle:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.site-menu-toggle,
.site-mobile-menu {
  display: none;
}
body.dark-theme {
  background: #081225;
  color: #e6efff;
  --bg-card: #121e34;
  --bg-muted: #19263d;
  --border-card: #263752;
  --text-secondary: #aebbd2;
}
body.dark-theme .site-header {
  background: rgba(8, 18, 37, 0.93);
  border-color: #253958;
}
body.dark-theme .site-header .brand,
body.dark-theme .site-menu-toggle,
body.dark-theme .nav-links {
  color: #f8fbff;
}
body.dark-theme .site-theme-toggle {
  border-color: #8ebcff;
  color: #d9e7ff;
}
body.dark-theme .site-theme-toggle span::before {
  content: "☾";
  font-size: 22px;
}
body.dark-theme .site-theme-toggle:hover {
  border-color: #fff;
  color: #fff;
}
body.dark-theme .logo-strip,
body.dark-theme .section {
  background: #081225;
}
body.dark-theme .section-heading h2,
body.dark-theme .section-heading p,
body.dark-theme .logo-strip p {
  color: #d2def0;
}
body.dark-theme .btn-ghost,
body.dark-theme .btn-secondary {
  border-color: #3a5072;
  background: #15243c;
  color: #f3f7ff;
}
body.dark-theme .btn-ghost:hover,
body.dark-theme .btn-secondary:hover {
  border-color: #75c8ff;
  background: #1c2c48;
  color: #fff;
}
body.dark-theme .audience-chips span,
body.dark-theme .evidence-chip {
  border-color: #3a5072;
  background: #15243c;
  color: #e6efff;
}
body.dark-theme .site-mobile-menu {
  border-color: #253958;
  background: #101f40;
}
body.dark-theme .site-mobile-menu a:not(.btn) {
  color: #e6efff;
}
body.dark-theme .site-mobile-menu a:not(.btn):hover {
  background: #1c2c48;
  color: #8edcff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: 0.22s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 91, 234, 0.25);
}
.btn-primary:hover {
  background: var(--blue2);
}
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
}
.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
}
.btn-lg {
  padding: 14px 20px;
}
.btn-white {
  background: #fff;
  color: var(--blue2);
}
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.section {
  padding: 105px 0;
}
.section-heading h2 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.052em;
  margin: 14px 0;
}
.section-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.split-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 55px;
  align-items: end;
  margin-bottom: 45px;
}
.centered {
  text-align: center;
  max-width: 790px;
  margin: 0 auto 50px;
}
.eyebrow {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.dark-eyebrow {
  background: rgba(255, 255, 255, 0.09);
  color: #bfe7ff;
}
.text-link {
  font-size: 12px;
  color: var(--blue);
  font-weight: 900;
}
.red {
  background: var(--red);
}
.amber {
  background: var(--amber);
}
.green {
  background: var(--green);
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #c7b7ff, #7c4dff);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.checklist-copy h2,
.mobile-copy h2,
.report-copy h2,
.ai-copy h2 {
  font-size: 47px;
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 16px 0;
}
.checklist-copy > p,
.mobile-copy > p,
.report-copy > p,
.ai-copy > p {
  color: var(--muted);
  line-height: 1.7;
}
.footer {
  padding: 65px 0 25px;
  background: #071021;
  color: #cbd5e1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 35px;
}
.footer .brand {
  color: #fff;
}
.footer-brand p {
  font-size: 10px;
  line-height: 1.6;
  color: #8e9bb0;
  max-width: 290px;
}
.footer strong {
  font-size: 11px;
  color: #fff;
}
.footer a {
  display: block;
  font-size: 10px;
  color: #8e9bb0;
  margin: 9px 0;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.social a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.social svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #1f2d45;
  margin-top: 35px;
  padding-top: 20px;
  font-size: 9px;
  color: #64748b;
}
@media (max-width: 1050px) {
  .nav {
    justify-content: flex-start;
    gap: 8px;
  }
  .nav-actions {
    display: flex;
    margin-left: auto;
  }
  .nav-actions > a,
  .nav-actions > button[data-dialog-open] {
    display: none;
  }
  .site-menu-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .site-menu-toggle span::before {
    content: "☰";
    font-size: 23px;
    line-height: 1;
  }
  .site-menu-open .site-menu-toggle span::before {
    content: "←";
    font-size: 26px;
  }
  .site-mobile-menu {
    position: absolute;
    display: flex;
    top: 100%;
    left: 0;
    width: min(360px, calc(100vw - 24px));
    height: calc(100vh - 76px);
    padding: 22px 20px;
    background: #fff;
    border-right: 1px solid var(--line);
    box-shadow: 20px 24px 45px rgba(15, 23, 42, 0.14);
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }
  .site-mobile-menu a:not(.btn) {
    padding: 13px 10px;
    border-radius: 10px;
    color: #3f4b62;
    font-size: 14px;
    font-weight: 750;
  }
  .site-mobile-menu a:not(.btn):hover {
    background: var(--soft);
    color: var(--blue);
  }
  .site-mobile-menu .btn:first-of-type {
    margin-top: 14px;
  }
  .site-menu-open .site-mobile-menu {
    transform: translateX(0);
  }
  .nav-links {
    display: none;
  }
  .hero-grid,
  .role-panel.active,
  .checklist-grid,
  .mobile-grid,
  .report-grid,
  .ai-grid,
  .case,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-product {
    min-height: 570px;
  }
  .split-heading {
    grid-template-columns: 1fr;
  }
  .workflow-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .track-line {
    display: none;
  }
  .builder-body {
    grid-template-columns: 130px 1fr;
  }
  .properties {
    display: none;
  }
  .report-composition {
    min-height: 600px;
  }
  .testimonial-grid,
  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .container {
    width: min(100% - 26px, 1220px);
  }
  .nav-actions .btn-ghost {
    display: none;
  }
  .hero {
    padding-top: 60px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-product {
    min-height: 510px;
  }
  .product-window {
    inset: 35px 0 60px;
  }
  .mobile-float {
    width: 145px;
    left: -4px;
  }
  .report-float {
    width: 185px;
  }
  .section {
    padding: 75px 0;
  }
  .section-heading h2,
  .checklist-copy h2,
  .mobile-copy h2,
  .report-copy h2,
  .ai-copy h2 {
    font-size: 35px;
  }
  .role-copy {
    padding: 30px;
  }
  .role-visual {
    padding: 25px;
  }
  .role-tabs {
    width: 100%;
    overflow: auto;
  }
  .role-tab {
    white-space: nowrap;
  }
  .workflow-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .builder-tree {
    display: none;
  }
  .builder-body {
    grid-template-columns: 1fr;
  }
  .mobile-stage {
    min-height: 580px;
  }
  .phone-device {
    width: 230px;
  }
  .report-composition {
    min-height: 550px;
    padding: 18px;
  }
  .pdf-sheet {
    width: 100%;
  }
  .email-card {
    right: 8px;
    bottom: 15px;
    width: 210px;
  }
  .case-metrics {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .testimonial-grid,
  .resource-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-inner > div:last-child {
    flex-wrap: wrap;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .nav {
    gap: 10px;
  }
  .nav-actions {
    display: flex;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
}

/* Blog */
.blog-page {
  background: #f8faff;
}
.blog-home-link {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.blog-home-link .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.blog-home-link > span span {
  color: var(--blue);
}
body.dark-theme .blog-home-link {
  background: rgba(16, 31, 64, 0.85);
  color: #fff;
}
.blog-hero {
  padding: 100px 0 44px;
  background: linear-gradient(135deg, #f1f7ff 0%, #fff 56%, #f4f0ff 100%);
  border-bottom: 1px solid var(--line);
}
.blog-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 56px;
}
.blog-hero h1 {
  max-width: 640px;
  margin: 10px 0 0;
  font-size: clamp(40px, 4.6vw, 64px);
  letter-spacing: -0.06em;
}
.blog-hero-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.blog-hero p {
  max-width: 460px;
  margin: 0;
  color: #52617a;
  font-size: 17px;
  line-height: 1.65;
}
.blog-search {
  width: min(430px, 100%);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.blog-search span {
  font-size: 22px;
  line-height: 1;
}
.blog-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.blog-topics button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #52617a;
  font-size: 12px;
  font-weight: 800;
}
.blog-topics button.active,
.blog-topics button:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.blog-featured,
.blog-list-section {
  padding-top: 78px;
  padding-bottom: 78px;
}
.blog-list-section {
  background: #fff;
}
.blog-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.blog-section-head h2 {
  margin-top: 7px;
  font-size: 34px;
  letter-spacing: -0.05em;
}
.blog-section-head > a,
.blog-card-copy > a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.blog-feature-grid,
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.blog-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.blog-card img {
  width: 100%;
  height: 205px;
  display: block;
  object-fit: cover;
}
.blog-card-featured img {
  height: 285px;
}
.blog-card-copy {
  padding: 22px;
}
.blog-card-copy > span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.blog-card-copy h3 {
  font-size: 23px;
  line-height: 1.18;
}
.blog-card-copy p {
  margin: 11px 0 17px;
  color: #62708a;
  font-size: 13px;
  line-height: 1.6;
}
body.dark-theme .blog-page,
body.dark-theme .blog-list-section {
  background: #081225;
}
body.dark-theme .blog-hero {
  background: linear-gradient(135deg, #101f40, #081225);
  border-color: #253958;
}
body.dark-theme .blog-hero p,
body.dark-theme .blog-card-copy p {
  color: #b9c8df;
}
body.dark-theme .blog-search,
body.dark-theme .blog-topics button,
body.dark-theme .blog-card {
  border-color: #253958;
  background: #101f40;
  color: #f3f7ff;
}
body.dark-theme .blog-search input,
body.dark-theme .blog-section-head h2,
body.dark-theme .blog-card-copy h3 {
  color: #f3f7ff;
}
@media (max-width: 800px) {
  .blog-hero { padding: 84px 0 35px; }
  .blog-hero-inner { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .blog-hero h1, .blog-hero p { max-width: none; }
  .blog-featured, .blog-list-section { padding-top: 58px; padding-bottom: 58px; }
  .blog-list-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .blog-home-link { top: 14px; left: 14px; padding: 6px 14px 6px 6px; font-size: 14px; }
  .blog-section-head { align-items: flex-start; flex-direction: column; }
  .blog-section-head h2 { font-size: 29px; }
  .blog-feature-grid, .blog-list-grid { grid-template-columns: 1fr; }
  .blog-card-featured img { height: 230px; }
  .blog-card img { height: 210px; }
  .blog-card-copy { padding: 19px; }
  .blog-card-copy h3 { font-size: 21px; }
}

/* Book a demo */
.demo-dialog {
  max-height: min(92vh, 780px);
  width: min(1040px, calc(100% - 32px));
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
  padding: 0;
}
.demo-dialog::backdrop {
  background: rgba(8, 18, 37, 0.55);
  backdrop-filter: blur(3px);
}
.demo-close {
  position: sticky;
  top: 19px;
  float: right;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  margin: 0 19px 12px 0;
}
.demo-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.demo-form,
.demo-contact {
  padding: 38px 48px 44px;
}
.demo-form {
  display: grid;
  gap: 14px;
}
.demo-form h2,
.demo-contact h2 {
  margin-bottom: 5px;
  font-size: 25px;
}
.demo-form label {
  display: grid;
  gap: 6px;
  color: #3f4b62;
  font-size: 12px;
  font-weight: 800;
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}
.demo-form .btn {
  width: 100%;
  margin-top: 5px;
}
.demo-form input:disabled,
.demo-form select:disabled,
.demo-form textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.demo-form .btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.demo-form .btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: demo-btn-spin 0.6s linear infinite;
}
@keyframes demo-btn-spin {
  to {
    transform: rotate(360deg);
  }
}
.demo-form .form-message {
  min-height: 1.2em;
  font-size: 13px;
  font-weight: 700;
}
.demo-form .form-message.is-success {
  color: #16a34a;
}
.demo-form .form-message.is-error {
  color: #dc2626;
}
.demo-contact {
  display: flex;
  flex-direction: column;
  gap: 17px;
  background: #f8faff;
  border-left: 1px solid var(--line);
}
.demo-contact p {
  color: #66748d;
  font-size: 13px;
  line-height: 1.6;
}
.demo-contact-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.demo-contact-link b {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8f2ff;
  color: var(--blue);
}
.demo-contact-link span {
  display: grid;
  gap: 1px;
  font-size: 13px;
  font-weight: 800;
}
.demo-contact-link small,
.demo-map small {
  color: #71809a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo-map {
  min-height: 164px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: auto;
  padding: 18px;
  border-radius: 16px;
  background-color: #e9eff4;
  background-image: linear-gradient(90deg, rgba(255,255,255,.52) 2px, transparent 2px), linear-gradient(rgba(255,255,255,.52) 2px, transparent 2px), linear-gradient(135deg, #edf6ee, #dce7f0);
  background-size: 38px 38px, 38px 38px, auto;
  color: var(--ink);
}
.demo-map > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.demo-map div { display: grid; gap: 3px; }
.demo-map b { font-size: 13px; }
.demo-map em { color: var(--blue); font-size: 12px; font-style: normal; font-weight: 900; }
body.dark-theme .demo-dialog { border-color: #253958; background: #101f40; }
body.dark-theme .demo-form h2,
body.dark-theme .demo-contact h2 { color: #f3f7ff; }
body.dark-theme .demo-contact p,
body.dark-theme .demo-form label { color: #c2d0e5; }
body.dark-theme .demo-close,
body.dark-theme .demo-form input,
body.dark-theme .demo-form select,
body.dark-theme .demo-form textarea { border-color: #3a5072; background: #15243c; color: #f3f7ff; }
body.dark-theme .demo-contact { border-color: #253958; background: #0d1a32; }
body.dark-theme .demo-contact-link { color: #f3f7ff; }
body.dark-theme .demo-contact-link b { background: #1c355c; color: #8edcff; }
body.dark-theme .role-dashboard { border-color: #253958; }
body.dark-theme .role-top b,
body.dark-theme .role-top strong { color: #f3f7ff; }
body.dark-theme .role-top span { color: #aebbd2; }
body.dark-theme .role-metrics b { color: #f8fafc; }
body.dark-theme .role-metrics span { color: #aebbd2; }
body.dark-theme .risk-list div { border-color: #263752; background: var(--bg-card); }
body.dark-theme .risk-list b { color: #f3f7ff; }
body.dark-theme .risk-list span { color: #aebbd2; }
body.dark-theme .candidate { border-color: #263752; background: var(--bg-card); }
body.dark-theme .candidate b { color: #f3f7ff; }
body.dark-theme .candidate small { color: #aebbd2; }
body.dark-theme .candidate em { color: var(--green); }
body.dark-theme .assignment-board { border-color: #253958; }
body.dark-theme .assignment-board strong,
body.dark-theme .board-head strong { color: #f3f7ff; }
body.dark-theme .board-head span { color: #aebbd2; }
body.dark-theme .feature-points b { color: #f3f7ff; }
body.dark-theme .builder-demo { border-color: #253958; }
body.dark-theme .builder-head small { color: #8edcff; }
body.dark-theme .builder-head strong { color: #f3f7ff; }
body.dark-theme .builder-tree { background: #0d1a33; border-color: #253958; }
body.dark-theme .builder-tree small { color: #aebbd2; }
body.dark-theme .builder-tree > b { background: #15243c; color: #f3f7ff; }
body.dark-theme .builder-tree button { color: #aebbd2; }
body.dark-theme .builder-tree button.active { background: #1c355c; color: #8edcff; }
body.dark-theme .builder-tree .add-section { border-color: #263752; color: #aebbd2; }
body.dark-theme .builder-main { background: #111d33; }
body.dark-theme .builder-title small { color: #aebbd2; }
body.dark-theme .question { background: #15243c; border-color: #263752; }
body.dark-theme .question.active { border-color: #3a6090; box-shadow: 0 0 0 3px rgba(47, 91, 234, 0.15); }
body.dark-theme .q-no { background: #1c355c; }
body.dark-theme .q-tags span { background: #1c355c; color: #aebbd2; }
body.dark-theme .answer-row { color: #aebbd2; }
body.dark-theme .properties label { color: #aebbd2; }
body.dark-theme .properties input,
body.dark-theme .properties select { background: #0d1a33; color: #f3f7ff; border-color: #263752; }
@media (max-width: 760px) {
  .demo-dialog {
    max-height: min(94vh, 100%);
    width: calc(100% - 20px);
    border-radius: 20px;
  }
  .demo-form, .demo-contact { padding: 30px 24px; }
  .demo-content { grid-template-columns: 1fr; }
  .demo-contact { border-top: 1px solid var(--line); border-left: 0; }
  .demo-map { min-height: 145px; }
}
