﻿*, *::before, *::after { box-sizing: border-box; }
    html { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
    body { 
      width: 100%; 
      margin: 0; 
      overflow-x: hidden; 
      font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
      background-color: #080B14; 
      color: #F8FAFC;
      line-height: 1.6;
    }
    img { max-width: 100%; height: auto; }
    a { color: #38BDF8; text-decoration: none; transition: color 0.25s ease; }
    a:hover { color: #F59E0B; }

    
    :root {
      --primary-violet: #312E81;
      --primary-indigo: #4F46E5;
      --secondary-blue: #38BDF8;
      --accent-amber: #F59E0B;
      --accent-green: #22C55E;
      --bg-darker: #05080F;
      --bg-dark: #080B14;
      --bg-card: rgba(15, 23, 42, 0.75);
      --border-color: rgba(148, 163, 184, 0.16);
      --border-glow: rgba(56, 189, 248, 0.15);
      --text-main: #F8FAFC;
      --text-muted: #94A3B8;
    }

    
    .container {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
    }
    .section-padding { padding: 80px 0; }
    .text-center { text-align: center; }

    
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      background: rgba(8, 11, 20, 0.94);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border-color);
    }
    .header-inner {
      width: min(1200px, calc(100% - 32px));
      min-height: 72px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      max-width: 100%;
      text-decoration: none;
      flex-shrink: 0;
    }
    .logo img {
      display: block;
      height: 40px;
      width: auto;
      max-width: 150px;
      object-fit: contain;
      flex-shrink: 0;
    }
    .logo span {
      display: inline-block;
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
      color: #F8FAFC;
      white-space: nowrap;
      max-width: 180px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .desktop-nav-wrap {
      flex: 1 1 auto;
      min-width: 0;
      display: flex;
      justify-content: flex-end;
      overflow: hidden;
    }
    .desktop-nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      max-width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      white-space: nowrap;
    }
    .desktop-nav::-webkit-scrollbar { display: none; }
    .desktop-nav a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 14px;
      border-radius: 999px;
      color: var(--text-muted);
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      flex: 0 0 auto;
      transition: all 0.25s ease;
    }
    .desktop-nav a:hover {
      color: var(--text-main);
      background: rgba(56, 189, 248, 0.08);
    }
    .mobile-menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 14px;
      background: rgba(56, 189, 248, 0.1);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      flex: 0 0 auto;
    }
    .mobile-menu-btn span {
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 99px;
      background: #F8FAFC;
    }
    .mobile-nav-mask {
      position: fixed;
      inset: 0;
      z-index: 1100;
      background: rgba(2, 6, 23, 0.8);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity .25s ease, visibility .25s ease;
    }
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1110;
      width: min(86vw, 360px);
      height: 100vh;
      height: 100dvh;
      max-width: 90vw;
      background: #080B14;
      color: #F8FAFC;
      transform: translateX(-105%);
      transition: transform .28s ease;
      box-shadow: 24px 0 60px rgba(15, 23, 42, 0.6);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-right: 1px solid var(--border-color);
    }
    .drawer-head {
      min-height: 76px;
      padding: 16px 16px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid var(--border-color);
      flex: 0 0 auto;
    }
    .drawer-logo { min-width: 0; }
    .drawer-logo img { height: 34px; max-width: 120px; }
    .drawer-logo span { font-size: 16px; max-width: 145px; }
    .drawer-close {
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 14px;
      background: rgba(56, 189, 248, 0.1);
      color: #F8FAFC;
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
      flex: 0 0 auto;
    }
    .drawer-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      padding: 14px;
    }
    .drawer-nav { display: flex; flex-direction: column; gap: 8px; }
    .drawer-nav a {
      display: flex;
      align-items: center;
      width: 100%;
      min-height: 48px;
      padding: 13px 14px;
      border-radius: 14px;
      background: rgba(148, 163, 184, 0.06);
      color: #F8FAFC;
      text-decoration: none;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.35;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
      transition: background 0.2s;
    }
    .drawer-nav a:hover { background: rgba(56, 189, 248, 0.12); }
    body.drawer-open { overflow: hidden; touch-action: none; }
    body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; pointer-events: auto; }
    body.drawer-open .mobile-drawer { transform: translateX(0); }

    
    .site-footer {
      position: relative;
      z-index: 1;
      width: 100%;
      background: var(--bg-darker);
      color: #E2E8F0;
      padding: 56px 0 24px;
      overflow: hidden;
      border-top: 1px solid var(--border-color);
    }
    .footer-inner {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
      gap: 28px;
      align-items: start;
    }
    .footer-brand { min-width: 0; }
    .footer-brand p {
      margin: 16px 0 0;
      color: var(--text-muted);
      line-height: 1.8;
      font-size: 14px;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    .footer-logo span { color: #ffffff; }
    .footer-column { min-width: 0; }
    .footer-column h3 { margin: 0 0 14px; font-size: 15px; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; }
    .footer-column ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
    .footer-column li { min-width: 0; }
    .footer-column a, .footer-column span {
      display: inline;
      color: var(--text-muted);
      text-decoration: none;
      font-size: 14px;
      line-height: 1.55;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
      transition: color 0.2s;
    }
    .footer-column a:hover { color: #ffffff; }
    .footer-bottom {
      width: min(1200px, calc(100% - 32px));
      margin: 32px auto 0;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: var(--text-muted);
      font-size: 13px;
    }
    .footer-bottom p { margin: 0; min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
    .footer-bottom a { color: var(--text-muted); text-decoration: none; word-break: break-word; overflow-wrap: anywhere; }
    .footer-bottom a:hover { color: #ffffff; }

    
    .hero-layout-11 {
      position: relative;
      padding: 100px 0 140px;
      background: radial-gradient(circle at 50% 30%, rgba(49, 46, 129, 0.15) 0%, rgba(8, 11, 20, 0) 70%);
      overflow: hidden;
      border-bottom: 1px solid var(--border-color);
    }
    .hero-header {
      max-width: 800px;
      margin: 0 auto 56px;
      text-align: center;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 16px;
      background: rgba(79, 70, 229, 0.1);
      border: 1px solid rgba(79, 70, 229, 0.3);
      color: var(--secondary-blue);
      border-radius: 99px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 24px;
    }
    .hero-title {
      font-size: clamp(32px, 5vw, 54px);
      line-height: 1.15;
      font-weight: 800;
      color: #F8FAFC;
      margin: 0 0 20px;
      letter-spacing: -0.02em;
    }
    .hero-title span {
      background: linear-gradient(135deg, #FFF 40%, var(--secondary-blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-desc {
      font-size: clamp(16px, 2vw, 19px);
      color: var(--text-muted);
      margin: 0 auto 36px;
      max-width: 680px;
      line-height: 1.6;
    }
    .hero-ctas {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 28px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 700;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--primary-indigo), #6366F1);
      color: #FFF;
      box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 24px rgba(79, 70, 229, 0.45);
    }
    .btn-secondary {
      background: rgba(255, 255, 255, 0.05);
      color: #F8FAFC;
      border: 1px solid var(--border-color);
    }
    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }

    
    .collage-wall {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
      perspective: 1000px;
    }
    .collage-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 20px;
      backdrop-filter: blur(12px);
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }
    .collage-card:hover {
      transform: translateY(-4px) scale(1.02);
      border-color: rgba(56, 189, 248, 0.3);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.05);
    }
    .collage-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; height: 3px;
      background: transparent;
    }
    .collage-card.dossier-review::before { background: var(--primary-indigo); }
    .collage-card.risk-score::before { background: var(--accent-amber); }
    .collage-card.settlement-memo::before { background: var(--secondary-blue); }
    .collage-card.compliance-docs::before { background: var(--accent-green); }

    .card-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin-bottom: 14px;
    }
    .card-status {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 700;
    }
    .status-alert { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
    .status-ok { background: rgba(34, 197, 94, 0.1); color: var(--accent-green); }
    .status-info { background: rgba(56, 189, 248, 0.1); color: var(--secondary-blue); }

    .card-title {
      font-size: 16px;
      font-weight: 700;
      color: #F8FAFC;
      margin: 0 0 8px;
    }
    .card-body {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .card-body p { margin: 0; }
    .card-data-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .card-data-item:last-child { border-bottom: none; }
    .card-data-val { font-family: monospace; font-weight: bold; color: #FFF; }

    
    .section-title {
      font-size: clamp(24px, 3.5vw, 36px);
      font-weight: 800;
      color: #FFF;
      margin: 0 0 12px;
    }
    .section-subtitle {
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto 48px;
    }

    
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .b2b-card {
      background: rgba(15, 23, 42, 0.4);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 32px;
      transition: all 0.3s;
    }
    .b2b-card:hover {
      border-color: rgba(99, 102, 241, 0.3);
      transform: translateY(-4px);
    }
    .b2b-icon-wrap {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(79, 70, 229, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--secondary-blue);
    }

    
    .article-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }
    .article-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: all 0.3s;
    }
    .article-card:hover {
      border-color: rgba(56, 189, 248, 0.25);
      transform: translateY(-4px);
    }
    .article-image-wrap {
      aspect-ratio: 16 / 10;
      position: relative;
      overflow: hidden;
      background: #111827;
    }
    .article-image-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }
    .article-card:hover .article-image-wrap img {
      transform: scale(1.05);
    }
    .article-tags {
      position: absolute;
      bottom: 12px;
      left: 12px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .article-tag-item {
      padding: 4px 8px;
      background: rgba(8, 11, 20, 0.8);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 4px;
      font-size: 11px;
      color: #FFF;
    }
    .article-content {
      padding: 20px;
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
    }
    .article-meta-row {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 12px;
    }
    .article-heading {
      font-size: 18px;
      font-weight: 700;
      line-height: 1.4;
      color: #F8FAFC;
      margin: 0 0 10px;
    }
    .article-heading a { color: inherit; }
    .article-heading a:hover { color: var(--secondary-blue); }
    .article-summary-text {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.5;
      margin: 0 0 20px;
      flex-grow: 1;
    }
    .article-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 700;
      color: var(--secondary-blue);
    }

    
    .cta-banner {
      background: linear-gradient(135deg, #0B0F19, #1E1B4B);
      border: 1px solid var(--border-color);
      border-radius: 24px;
      padding: 64px 32px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    @media (max-width: 900px) {
      .header-inner { width: min(100% - 24px, 1200px); min-height: 64px; gap: 12px; }
      .desktop-nav-wrap, .desktop-nav { display: none !important; }
      .mobile-menu-btn { display: inline-flex !important; }
      .logo img { height: 34px; max-width: 118px; }
      .logo span { font-size: 16px; max-width: 145px; }
      .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
      .footer-brand { grid-column: 1 / -1; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

      .collage-wall { grid-template-columns: repeat(2, 1fr); }
      .grid-3 { grid-template-columns: 1fr; }
      .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 640px) {
      .footer-inner { grid-template-columns: 1fr; }
      .collage-wall { grid-template-columns: 1fr; }
      .article-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 420px) {
      .mobile-drawer { width: 88vw; }
      .logo span { max-width: 112px; }
      .drawer-logo span { max-width: 118px; }
      .footer-inner, .footer-bottom { width: min(100% - 24px, 1200px); }
    }