  :root {
      --primary: #2563eb;
      --primary-rgb: 37, 99, 235;
      --primary-foreground: #ffffff;
      --background: #ffffff;
      --foreground: #0f172a;
      --muted-foreground: #64748b;
      --border: #e2e8f0;
      --card: #ffffff;
      --card-foreground: #0f172a;
      --soft: #f6f8fb;
      --navy: #08101f;
      --navy-surface: #0f1d34;
      --navy-border: rgba(255, 255, 255, .08);
      --on-navy: #ffffff;
      --on-navy-muted: rgba(255, 255, 255, .62);
      --cyan: #22d3ee;
      --success: #22c55e;
      --warning: #f59e0b;
      --shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .10);
      --shadow-lift: 0 20px 60px -20px rgba(15, 23, 42, .35);
      --shadow-glow: 0 30px 80px -30px rgba(34, 211, 238, .25);
  }

  * {
      box-sizing: border-box;
  }

  html {
      scroll-behavior: smooth;
  }

  body {
      font-family: 'Manrope', sans-serif;
      background: var(--background);
      color: var(--foreground);
      font-size: 16px;
      overflow-x: hidden;
  }

  h1,
  h2,
  h3,
  .font-display {
      font-family: 'Sora', sans-serif;
  }

  .font-mono {
      font-family: 'IBM Plex Mono', monospace;
  }

  a {
      text-decoration: none;
      color: inherit;
  }

  .container-nv {
      max-width: 1200px;
      margin: 0 auto;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
  }

  .text-primary-nv {
      color: var(--primary) !important;
  }

  .bg-primary-nv {
      background: var(--primary) !important;
  }

  .text-muted-nv {
      color: var(--muted-foreground) !important;
  }

  .text-cyan-nv {
      color: var(--cyan) !important;
  }

  .bg-soft-nv {
      background: var(--soft) !important;
  }

  .bg-navy-nv {
      background: var(--navy) !important;
      color: var(--on-navy);
  }

  .text-on-navy {
      color: var(--on-navy) !important;
  }

  .text-on-navy-muted {
      color: var(--on-navy-muted) !important;
  }

  .border-navy-nv {
      border-color: var(--navy-border) !important;
  }

  .eyebrow {
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
  }

  .fs-14 {
    font-size: 14px;
  }

  /* ---------- Header ---------- */
  .site-header {
      position: sticky;
      top: 0;
      z-index: 1030;
      background: rgba(255, 255, 255, .92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
  }

  .brand-mark {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: rgba(var(--primary-rgb), .10);
      border: 1px solid rgba(var(--primary-rgb), .20);
      color: var(--primary);
  }

  .brand-mark img {
      width: 20px;
      height: 20px;
  }

  .navbar-nav .nav-link {
      font-weight: 600;
      font-size: .925rem;
      color: #1e293b;
      padding: .6rem .85rem !important;
      border-radius: .5rem;
      transition: color .15s ease, background-color .15s ease;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
      color: var(--primary) !important;
  }

  .mega-menu {
      border: 1px solid var(--border);
      border-radius: 1rem;
      box-shadow: var(--shadow-lift);
      padding: .5rem;
  }

  .mega-menu .dropdown-item {
      display: flex;
      gap: .75rem;
      padding: .75rem;
      border-radius: .75rem;
      white-space: normal;
  }

  .mega-menu .dropdown-item:hover {
      background: var(--soft);
  }

  .mega-icon {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
      border-radius: .5rem;
      display: grid;
      place-items: center;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
  }

  .btn-primary-nv {
      background: var(--primary) !important;
      border-color: var(--primary) !important;
      color: #fff !important;
      font-weight: 600 !important;
      box-shadow: 0 10px 24px -12px var(--primary) !important;
  }

  .btn-primary-nv:hover,
  .btn-primary-nv:focus,
  .btn-primary-nv:active {
      background: rgba(var(--primary-rgb), .9) !important;
      color: #fff !important;
  }

  .btn-outline-nv {
      border: 1px solid var(--border) !important;
      color: var(--foreground) !important;
      font-weight: 600 !important;
      background: var(--background) !important;
  }

    .btn-outline-nv:hover,
    .btn-outline-nv:focus,
    .btn-outline-nv:active {
      background: var(--soft) !important;
      color: var(--foreground) !important;
  }

  .btn-outline-navy {
      border: 1px solid var(--navy-border) !important;
      color: var(--on-navy) !important;
      font-weight: 600 !important;
  }

  .btn-outline-navy:hover,
  .btn-outline-navy:active,
  .btn-outline-navy:focus {
      background: rgba(255, 255, 255, .05) !important;
      color: var(--on-navy) !important;
  }

  /* ---------- Hero ---------- */
  .hero-section {
      position: relative;
      overflow: hidden;
      background-image:
          radial-gradient(circle at 15% 15%, rgba(34, 211, 238, .18), transparent 45%),
          linear-gradient(180deg, #08101f 0%, #0a1a30 100%);
  }

  .hero-section::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .5;
      background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
      background-size: 36px 36px;
  }

  .hero-badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--cyan);
      display: inline-block;
  }

  .device-card {
      border-radius: 1rem;
      border: 1px solid var(--navy-border);
      background: var(--navy-surface);
      box-shadow: var(--shadow-glow);
      overflow: hidden;
      position: relative;
  }

  .stat-tile {
      border-radius: .85rem;
      border: 1px solid var(--navy-border);
      background: rgba(255, 255, 255, .03);
      padding: 1rem;
  }

  .stat-icon {
      width: 28px;
      height: 28px;
      border-radius: .5rem;
      display: grid;
      place-items: center;
      font-size: .85rem;
  }

  .bars-wrap {
      display: flex;
      align-items: flex-end;
      gap: 6px;
      height: 50px;
  }

  .bar-item {
      flex: 1;
      border-radius: 3px;
      background: linear-gradient(to top, rgba(var(--primary-rgb), .35), rgba(34, 211, 238, .75));
  }

  @keyframes nv-pulse-node {

      0%,
      100% {
          opacity: .4;
          transform: scale(.85);
      }

      50% {
          opacity: 1;
          transform: scale(1.15);
      }
  }

  .flow-node circle:last-child {
      animation: nv-pulse-node 2.4s ease-in-out infinite;
  }

  .flow-node:nth-child(2) circle:last-child {
      animation-delay: .35s;
  }

  .flow-node:nth-child(3) circle:last-child {
      animation-delay: .7s;
  }

  .flow-node:nth-child(4) circle:last-child {
      animation-delay: 1.05s;
  }

  .flow-node:nth-child(5) circle:last-child {
      animation-delay: 1.4s;
  }

  /* ---------- Trust bar ---------- */
  .logo-tile {
      height: 64px;
      border: 1px solid var(--border);
      border-radius: .85rem;
      background: var(--card);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: .75rem 1.25rem;
      box-shadow: var(--shadow-card);
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .logo-tile:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
      border-color: rgba(var(--primary-rgb), .3);
  }

  .logo-tile img {
      max-height: 28px;
      max-width: 100%;
      width: auto;
      object-fit: contain;
      opacity: .85;
      transition: opacity .2s ease;
  }

  .logo-tile:hover img {
      opacity: 1;
  }

  .pill-check {
      display: flex;
      align-items: center;
      gap: .65rem;
      border: 1px solid var(--border);
      border-radius: .85rem;
      background: var(--card);
      padding: 1rem 1.25rem;
  }

  .pill-check .icon {
      width: 32px;
      height: 32px;
      border-radius: .5rem;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
      display: grid;
      place-items: center;
      flex-shrink: 0;
  }

  /* ---------- Cards ---------- */
  .nv-card {
      border: 1px solid var(--border);
      border-radius: 1rem;
      background: var(--card);
      box-shadow: var(--shadow-card);
      transition: transform .25s ease, box-shadow .25s ease;
      height: 100%;
  }

  .nv-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lift);
  }

  .service-icon {
      width: 48px;
      height: 48px;
      border-radius: .85rem;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
      display: grid;
      place-items: center;
      font-size: 1.25rem;
  }

  .check-bullet {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      font-size: .65rem;
      margin-top: 2px;
  }

  .link-arrow {
      font-weight: 600;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: .4rem;
  }

  .link-arrow i {
      transition: transform .2s ease;
  }

  .link-arrow:hover i {
      transform: translateX(3px);
  }

  /* Smaller variant — used inside compact service cards (services.html) */
  .link-arrow-sm {
      font-weight: 600;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      font-size: 14px;
  }

  .link-arrow-sm i {
      transition: transform .2s ease;
  }

  .link-arrow-sm:hover i {
      transform: translateX(3px);
  }

  /* ---------- Breadcrumb (services page hero) ---------- */
  .breadcrumb-nv {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: .5rem;
      font-size: .75rem;
      color: var(--on-navy-muted);
      list-style: none;
      padding: 0;
      margin: 0 0 1.5rem;
  }

  .breadcrumb-nv a {
      color: var(--on-navy-muted);
  }

  .breadcrumb-nv a:hover {
      color: var(--on-navy);
  }

  .breadcrumb-nv .current {
      color: var(--on-navy);
  }

  /* ---------- Why / progress ---------- */
  .progress-card {
      border-radius: 1rem;
      background: var(--navy);
      border: 1px solid var(--navy-border);
      padding: 2rem;
      position: relative;
      overflow: hidden;
  }

  .progress-card::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .35;
      background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
      background-size: 34px 34px;
  }

  .progress-item {
      border: 1px solid var(--navy-border);
      border-radius: .85rem;
      background: rgba(255, 255, 255, .03);
      padding: 1rem;
      position: relative;
      z-index: 1;
  }

  .progress-item+.progress-item {
      margin-top: .75rem;
  }

  .progress-nv {
      height: 6px;
      border-radius: 99px;
      background: rgba(255, 255, 255, .10);
      overflow: hidden;
  }

  .progress-nv>span {
      display: block;
      height: 100%;
      border-radius: 99px;
      background: linear-gradient(90deg, var(--primary), var(--cyan));
  }

  .why-icon {
      width: 44px;
      height: 44px;
      border-radius: .85rem;
      background: var(--soft);
      color: var(--primary);
      display: grid;
      place-items: center;
      flex-shrink: 0;
  }

  /* ---------- Method ---------- */
  .step-num {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(var(--primary-rgb), .25);
      background: var(--background);
      color: var(--primary);
      font-family: 'Sora', sans-serif;
      font-weight: 700;
      display: grid;
      place-items: center;
  }

  /* Compact numbered method cards (services page) */
  .method-card {
      border: 1px solid var(--border);
      border-radius: 1rem;
      background: var(--card);
      padding: 1.25rem;
      height: 100%;
  }

  .method-num {
      font-family: 'Sora', sans-serif;
      font-weight: 700;
      font-size: .9rem;
      color: var(--primary);
  }

  .dash-line {
      flex: 1;
      height: 2px;
      background-image: linear-gradient(to right, var(--border) 50%, transparent 50%);
      background-size: 10px 2px;
  }

  /* ---------- Case cards ---------- */
  .case-thumb {
      aspect-ratio: 16/10;
      border-radius: 1rem 1rem 0 0;
      background: var(--navy);
      position: relative;
      overflow: hidden;
  }

  .case-thumb::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .5;
      background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
      background-size: 30px 30px;
  }

  .case-thumb::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, .25), transparent 60%);
  }

  .case-url-box {
      position: absolute;
      left: 1.25rem;
      right: 1.25rem;
      bottom: 1rem;
      z-index: 2;
      border: 1px solid var(--navy-border);
      border-radius: .6rem;
      background: rgba(15, 29, 52, .9);
      padding: .6rem .75rem;
  }

  .case-badge-corner {
      position: absolute;
      right: 1rem;
      top: 1rem;
      z-index: 2;
      background: rgba(255, 255, 255, .10);
      color: var(--on-navy-muted);
      font-size: .65rem;
      font-weight: 600;
      border-radius: .4rem;
      padding: .25rem .5rem;
  }

  .badge-soft {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      border-radius: 99px;
      padding: .3rem .7rem;
      font-size: .75rem;
      font-weight: 600;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
  }

  /* ---------- Security section ---------- */
  .cert-tile {
      border: 1px solid var(--navy-border);
      border-radius: .85rem;
      background: rgba(255, 255, 255, .03);
      padding: 1rem;
  }

  /* ---------- Testimonials ---------- */
  .testimonial-card {
      border: 1px solid var(--border);
      border-radius: 1.25rem;
      background: var(--card);
      box-shadow: var(--shadow-card);
      padding: 2rem;
      display: flex;
      flex-direction: column;
      height: 100%;
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
      position: relative;
  }

  .testimonial-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lift);
      border-color: rgba(var(--primary-rgb), 0.35);
  }

  .testimonial-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid rgba(var(--primary-rgb), 0.2);
      flex-shrink: 0;
  }

  .testimonial-stars {
      display: flex;
      gap: .25rem;
      color: #f59e0b;
      font-size: .85rem;
  }

  .testimonial-quote {
      font-size: .95rem;
      line-height: 1.65;
      color: var(--foreground);
      font-style: italic;
  }

  .testimonial-tag {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      font-size: .75rem;
      font-weight: 600;
      padding: .25rem .65rem;
      border-radius: 99px;
      background: rgba(var(--primary-rgb), .08);
      color: var(--primary);
  }

  .quote-icon {
      font-size: 1.5rem;
      color: rgba(var(--primary-rgb), .35);
  }

  .avatar-placeholder {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px dashed var(--border);
      background: var(--soft);
  }

  .notice-soft {
      display: flex;
      gap: .5rem;
      align-items: flex-start;
      border: 1px dashed var(--border);
      border-radius: .6rem;
      background: var(--soft);
      padding: .5rem .75rem;
      font-size: .75rem;
      color: var(--muted-foreground);
  }

  .dot-warning {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--warning);
      margin-top: 3px;
      flex-shrink: 0;
  }

  /* ---------- Insights ---------- */
  .insight-thumb {
      aspect-ratio: 16/9;
      border-radius: 1rem 1rem 0 0;
      background: var(--navy);
      position: relative;
      overflow: hidden;
  }

  .insight-thumb::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .5;
      background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
      background-size: 30px 30px;
  }

  .insight-thumb::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, .2), transparent 60%);
  }

  .insight-arrow {
      position: absolute;
      right: 1rem;
      top: 1rem;
      z-index: 2;
      color: var(--cyan);
      transition: transform .2s ease;
  }

  .insight-card:hover .insight-arrow {
      transform: translate(3px, -3px);
  }

  /* ---------- CTA ---------- */
  .cta-section {
      position: relative;
      overflow: hidden;
      color: var(--on-navy);
      background: linear-gradient(135deg, #0a1a30 0%, #142c52 55%, #0d2140 100%);
  }

  .cta-section::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .4;
      background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
      background-size: 36px 36px;
  }

  /* ---------- Footer ---------- */
  .footer-nv {
      background: var(--navy);
      color: var(--on-navy);
  }

  .footer-nv h2 {
      font-size: .85rem;
      font-weight: 700;
  }

  .footer-nv ul {
      list-style: none;
      padding: 0;
      margin: 0;
  }

  .footer-nv ul li {
      margin-top: .65rem;
  }

  .footer-nv ul li a {
      font-size: .9rem;
      color: var(--on-navy-muted);
  }

  .footer-nv ul li a:hover {
      color: var(--on-navy);
  }

  .social-icon {
      width: 44px;
      height: 44px;
      border-radius: .5rem;
      border: 1px solid var(--navy-border);
      display: grid;
      place-items: center;
      color: var(--on-navy);
  }

  .social-icon:hover {
      background: rgba(255, 255, 255, .05);
  }

  .status-pill {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      border: 1px solid var(--navy-border);
      border-radius: 99px;
      padding: .35rem .75rem;
      font-size: .75rem;
      font-weight: 600;
      color: var(--on-navy-muted);
  }

  .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--success);
  }

  /* ---------- Cards (variants) ---------- */
  .warning-icon {
      width: 40px;
      height: 40px;
      border-radius: .85rem;
      background: rgba(245, 158, 11, .15);
      color: var(--warning);
      display: grid;
      place-items: center;
      font-size: 1.05rem;
  }

  .service-pill {
      border: 1px solid var(--border);
      border-radius: .85rem;
      background: var(--card);
      padding: .85rem 1rem;
      font-size: .875rem;
      font-weight: 600;
      color: var(--foreground);
      height: 100%;
      display: flex;
      align-items: center;
  }

  /* ---------- Documentation card ---------- */
  .doc-card {
      border: 1px solid var(--navy-border);
      border-radius: 1rem;
      background: var(--navy-surface);
      color: var(--on-navy);
      padding: 1.75rem;
      height: fit-content;
  }

  .doc-badge {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      border-radius: 99px;
      padding: .3rem .7rem;
      font-size: .75rem;
      font-weight: 600;
      border: 1px solid var(--navy-border);
      background: rgba(255, 255, 255, .05);
      color: var(--on-navy-muted);
  }

  /* ---------- FAQ accordion ---------- */
  .faq-accordion {
      border: 1px solid var(--border);
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: var(--shadow-card);
  }

  .faq-accordion .accordion-item {
      border: none;
      border-bottom: 1px solid var(--border);
      background: var(--card);
  }

  .faq-accordion .accordion-item:first-of-type {
      border-top-left-radius: 1rem;
      border-top-right-radius: 1rem;
  }

  .faq-accordion .accordion-item:last-of-type {
      border-bottom-left-radius: 1rem;
      border-bottom-right-radius: 1rem;
      border-bottom: none;
  }

  .faq-accordion .accordion-button {
      font-weight: 600;
      font-size: .95rem;
      color: var(--foreground);
      padding: 1.1rem 1.5rem;
      background: var(--card);
  }

  .faq-accordion .accordion-button:not(.collapsed) {
      color: var(--foreground);
      background: var(--card);
      box-shadow: none;
  }

  .faq-accordion .accordion-button:focus {
      box-shadow: none;
      border-color: var(--border);
  }

  .faq-accordion .accordion-button::after {
      filter: none;
  }

  .faq-accordion .accordion-body {
      padding: 0 1.5rem 1.35rem;
      font-size: .9rem;
      color: var(--muted-foreground);
      line-height: 1.6;
  }


  /* ---------- Feature icon (40px variant of service-icon) ---------- */
  .feature-icon {
      width: 40px;
      height: 40px;
      border-radius: .85rem;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
      display: grid;
      place-items: center;
      font-size: 1rem;
  }

  /* ---------- Workflow steps (navy diagram) ---------- */
  .workflow-step {
      border: 1px solid var(--navy-border);
      border-radius: .85rem;
      background: rgba(255, 255, 255, .03);
      padding: 1rem;
      position: relative;
      height: 100%;
  }

  .workflow-num {
      font-family: 'IBM Plex Mono', monospace;
      font-size: .7rem;
      color: var(--cyan);
  }

  .workflow-connector {
      display: none;
      position: absolute;
      right: -.6rem;
      top: 50%;
      width: 1rem;
      height: 1px;
      background: rgba(34, 211, 238, .4);
      z-index: 2;
  }

  @media (min-width:992px) {
      .workflow-connector {
          display: block;
      }
  }

  /* ---------- Tag pill (integrations list) ---------- */
  .tag-pill {
      border: 1px solid var(--border);
      border-radius: .5rem;
      background: var(--soft);
      padding: .5rem 1rem;
      font-size: .875rem;
      font-weight: 600;
      color: var(--muted-foreground);
      display: inline-block;
  }


  /* ---------- Architecture diagram (navy) ---------- */
  .arch-card {
      border: 1px solid var(--navy-border);
      border-radius: 1rem;
      background: var(--navy-surface);
      padding: 1.5rem;
  }

  .arch-layer {
      border: 1px solid var(--navy-border);
      border-radius: .85rem;
      background: rgba(255, 255, 255, .03);
      padding: 1rem;
  }

  .arch-chip {
      border: 1px solid var(--navy-border);
      border-radius: .4rem;
      padding: .25rem .5rem;
      font-family: 'IBM Plex Mono', monospace;
      font-size: .68rem;
      color: var(--on-navy-muted);
      display: inline-block;
  }

  .arch-connector {
      width: 1px;
      height: .85rem;
      background: rgba(34, 211, 238, .4);
      margin: 0 auto;
  }


  /* ---------- Cases page: filter tabs + empty state ---------- */
  .case-filter-tabs .nav-link {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--border);
      border-radius: .5rem;
      background: var(--card);
      color: var(--muted-foreground);
      font-weight: 600;
      font-size: .875rem;
      padding: 0 1rem;
      transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  }

  .case-filter-tabs .nav-link:hover {
      background: var(--soft);
      color: var(--foreground);
  }

  .case-filter-tabs .nav-link.active {
      border-color: var(--primary);
      background: var(--primary);
      color: #fff;
  }

  .case-empty-state {
      border: 1px dashed var(--border);
      border-radius: 1rem;
      background: var(--soft);
      padding: 3rem 1.5rem;
      text-align: center;
      color: var(--muted-foreground);
  }

  .case-empty-state i {
      font-size: 1.75rem;
      color: var(--primary);
      margin-bottom: .75rem;
  }


  /* ---------- About page: light cert tile, team photo placeholder, step number ---------- */
  .cert-tile-light {
      border: 1px solid var(--border);
      border-radius: .85rem;
      background: var(--card);
      padding: 1rem;
  }

  .team-photo-placeholder {
      aspect-ratio: 4/3;
      border-radius: .85rem;
      border: 1px dashed var(--border);
      background: var(--soft);
  }

  .about-step-num {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
      font-size: .75rem;
      font-weight: 700;
      display: grid;
      place-items: center;
      flex-shrink: 0;
  }


  /* ---------- Insights page: featured article thumb + search input with icon ---------- */
  .featured-article-thumb {
      min-height: 224px;
      border-radius: 1rem 1rem 0 0;
      background: var(--navy);
      position: relative;
      overflow: hidden;
  }

  .featured-article-thumb::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .5;
      background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
      background-size: 30px 30px;
  }

  .featured-article-thumb::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, .25), transparent 60%);
  }

  @media (min-width:992px) {
      .featured-article-thumb {
          min-height: 100%;
          border-radius: 1rem 0 0 1rem;
      }
  }

  .search-input-icon {
      position: relative;
  }

  .search-input-icon i {
      position: absolute;
      left: .9rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted-foreground);
      pointer-events: none;
      font-size: .8rem;
  }

  .search-input-icon input {
      min-height: 44px;
      width: 100%;
      border-radius: .5rem;
      border: 1px solid var(--border);
      background: var(--card);
      padding-left: 2.25rem;
      padding-right: .75rem;
      font-size: .875rem;
      outline: none;
  }

  .search-input-icon input:focus {
      border-color: var(--primary);
  }


  /* ---------- Pricing page: tier cards + comparison table ---------- */
  .pricing-card {
      border: 1px solid var(--border);
      border-radius: 1rem;
      background: var(--card);
      box-shadow: var(--shadow-card);
      padding: 1.75rem;
      height: 100%;
      display: flex;
      flex-direction: column;
  }

  .pricing-card-highlight {
      border-color: rgba(var(--primary-rgb), .4);
      box-shadow: 0 0 0 1px rgba(var(--primary-rgb), .2), var(--shadow-card);
  }

  .pricing-price {
      font-family: 'Sora', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--foreground);
  }

  .compare-table-wrap {
      border: 1px solid var(--border);
      border-radius: 1rem;
      background: var(--card);
  }

  .compare-table-wrap table {
      min-width: 640px;
      margin-bottom: 0;
  }

  .compare-table-wrap th,
  .compare-table-wrap td {
      padding: 1rem 1.25rem;
      vertical-align: middle;
  }

  .compare-table-wrap thead th {
      font-weight: 700;
      border-bottom: 1px solid var(--border);
  }

  .compare-table-wrap tbody th {
      font-weight: 600;
      text-align: left;
      color: var(--foreground);
  }

  .compare-table-wrap tbody td {
      color: var(--muted-foreground);
  }


  /* ---------- Contact page: info cards + form + danger variant icon ---------- */
  .contact-info-card {
      display: flex;
      align-items: center;
      gap: 1rem;
      border: 1px solid var(--border);
      border-radius: 1rem;
      background: var(--card);
      padding: 1.1rem 1.25rem;
      transition: opacity .2s ease;
  }

  a.contact-info-card:hover {
      opacity: .9;
  }

  .contact-icon {
      width: 40px;
      height: 40px;
      border-radius: .85rem;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      font-size: 1rem;
  }

  .contact-label {
      font-size: .75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .06em;
      color: var(--muted-foreground);
      margin-bottom: .15rem;
  }

  .contact-value {
      font-size: .9rem;
      font-weight: 600;
      color: var(--foreground);
      margin-bottom: 0;
  }

  .danger-icon {
      width: 40px;
      height: 40px;
      border-radius: .85rem;
      background: rgba(220, 38, 38, .10);
      color: #dc2626;
      display: grid;
      place-items: center;
      font-size: 1.05rem;
  }

  .contact-form-card {
      border: 1px solid var(--border);
      border-radius: 1rem;
      background: var(--card);
      box-shadow: var(--shadow-card);
      padding: 1.75rem;
  }

  @media (min-width:992px) {
      .contact-form-card {
          padding: 2rem;
      }
  }

  .form-label-nv {
      font-size: .875rem;
      font-weight: 600;
      color: var(--foreground);
      margin-bottom: .5rem;
  }

  .form-control-nv {
      min-height: 44px;
      width: 100%;
      border-radius: .5rem;
      border: 1px solid var(--border);
      background: var(--background);
      padding: 0 .85rem;
      font-size: .875rem;
      outline: none;
      transition: border-color .15s ease;
  }

  textarea.form-control-nv {
      min-height: auto;
      padding: .65rem .85rem;
      resize: vertical;
  }

  .form-control-nv:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12);
  }

  .form-check-nv {
      display: flex;
      align-items: flex-start;
      gap: .65rem;
      font-size: .875rem;
      color: var(--muted-foreground);
  }

  .form-check-nv input[type="checkbox"] {
      margin-top: .2rem;
      width: 16px;
      height: 16px;
      accent-color: var(--primary);
      border-radius: .25rem;
      flex-shrink: 0;
  }

  .required-asterisk {
      color: #dc2626;
  }


  /* ---------- Quote page: radio tiles, select input, expect list ---------- */
  .radio-tile {
      display: flex;
      align-items: center;
      gap: .75rem;
      min-height: 44px;
      border: 1px solid var(--border);
      border-radius: .5rem;
      padding: 0 1rem;
      font-size: .875rem;
      color: var(--foreground);
      cursor: pointer;
      transition: background-color .15s ease, border-color .15s ease;
  }

  .radio-tile:hover {
      background: var(--soft);
  }

  .radio-tile input[type="radio"] {
      width: 16px;
      height: 16px;
      accent-color: var(--primary);
      flex-shrink: 0;
  }

  .select-nv {
      min-height: 44px;
      width: 100%;
      border-radius: .5rem;
      border: 1px solid var(--border);
      background: var(--background);
      padding: 0 .85rem;
      font-size: .875rem;
      outline: none;
      transition: border-color .15s ease;
  }

  .select-nv:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12);
  }

  .fieldset-legend {
      font-size: .875rem;
      font-weight: 600;
      color: var(--foreground);
      margin-bottom: .75rem;
  }

  .expect-list {
      list-style: none;
      padding: 0;
      margin: 1rem 0 0;
      display: flex;
      flex-direction: column;
      gap: .75rem;
  }

  .expect-list li {
      display: flex;
      align-items: flex-start;
      gap: .75rem;
  }

  .expect-list p {
      font-size: .875rem;
      line-height: 1.6;
      color: var(--muted-foreground);
      margin-bottom: 0;
  }

  .expect-icon {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      font-size: .6rem;
      margin-top: 2px;
  }


  /* ---------- Case detail page: approach steps, schematic diagram, overview DL, tech pill ---------- */
  .approach-num {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: rgba(var(--primary-rgb), .10);
      color: var(--primary);
      font-size: .7rem;
      font-weight: 700;
      display: grid;
      place-items: center;
      flex-shrink: 0;
  }

  .schematic-box {
      border-radius: 1rem;
      border: 1px solid var(--border);
      background: var(--navy);
      padding: 1.5rem;
      overflow: hidden;
  }

  .schematic-col {
      border: 1px solid var(--navy-border);
      border-radius: .75rem;
      background: rgba(255, 255, 255, .03);
      padding: 1rem;
      font-size: .75rem;
      font-weight: 600;
      color: var(--on-navy);
  }

  .overview-dl dt {
      font-weight: 600;
      font-size: .875rem;
      color: var(--foreground);
  }

  .overview-dl dd {
      font-size: .875rem;
      color: var(--muted-foreground);
      margin-bottom: 0;
  }

  .overview-dl>div+div {
      margin-top: .75rem;
  }

  .tech-pill {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      border-radius: 99px;
      padding: .3rem .7rem;
      font-size: .75rem;
      font-weight: 600;
      background: var(--soft);
      color: var(--muted-foreground);
  }

  section {
      padding-top: 5rem;
      padding-bottom: 5rem;
  }

  @media (max-width:991.98px) {
      section {
          padding-top: 3.5rem;
          padding-bottom: 3.5rem;
      }
  }

  .scrolling-space {
    scroll-margin-top: 5.5rem;
  }

  @media (max-width: 1199.98px) {
    /* Keep Bootstrap's fixed offcanvas anchored to the viewport on mobile. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-header .navbar .offcanvas {
        height: 100vh;
        height: 100dvh;
        width: min(300px, 100vw);
        max-width: 100vw;
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 1045;
    }

    .navbar-nav .nav-item {
        min-width: -webkit-fill-available;
    }

    .navbar-nav .nav-item .nav-link {
        display: flex;
        align-items: center;
        color: #fff;
        padding: 1rem 1.5rem 1rem 1.5rem !important;
        border-bottom: 1px solid var(--navy-border) !important;
        border-radius: 0;
        position: relative;
    }

    .navbar-nav .dropdown-toggle::after {
        position: absolute;
        right: 16px;
    }

    .navbar-nav .dropdown-menu:not(.show) {
        display: block !important;
        max-width: max-content;
        padding: 0;
        border: 0;
        margin-left: 30px;
        background: transparent;
    }

    .navbar-nav .dropdown-menu .text-body {
        color: var(--on-navy-muted) !important;
    }

    .navbar-nav .dropdown-menu .mega-icon,
    .navbar-nav .dropdown-menu .text-muted-nv {
        display: none !important;
    }
  }