/* ═══════════════════════════════════════════════════
       INSTITUTIONAL TOKEN SYSTEM — Supreme Court × ISO
       ═══════════════════════════════════════════════════ */
    :root {
      color-scheme: light;

      /* ── Palette ── */
      --ink:          #0f1021;
      --accent:       #2a2560;
      --accent-hover: #1d1a3b;
      --bg:           #ffffff;
      --bg-soft:      #f6f7f9;
      --bg-deep:      #ffffff;
      --bg-panel:     rgba(0,0,0,.025);
      --border:       #e6e8ec;
      --border-glass: rgba(0,0,0,.06);
      --border-subtle:rgba(0,0,0,.05);
      --muted:        #5c6270;
      --radius:       6px;

      /* ── Status colors ── */
      --accent-green: #16873e;
      --accent-amber: #9e6e12;
      --accent-red:   #b43434;

      /* ── Text hierarchy ── */
      --text-primary:   rgba(15,18,30,.94);
      --text-secondary: rgba(15,18,30,.90);
      --text-tertiary:  rgba(15,18,30,.62);

      /* ── Legacy aliases ── */
      --purple-primary: #2a2560;
      --purple-bright:  #2a2560;
      --purple-glow:    transparent; /* deprecated */

      /* ── Typography ── */
      --serif: Georgia,'Source Serif 4',serif;
      --mono:  'IBM Plex Mono',Consolas,monospace;
      --sans:  'Inter',system-ui,-apple-system,sans-serif;

      /* ── Motion ── */
      --ease:     cubic-bezier(0.16, 1, 0.3, 1);
      --ease-out: cubic-bezier(0.33, 1, 0.68, 1);

      /* ── Spacing scale ── */
      --space-1:  14px;
      --space-2:  24px;
      --space-3:  40px;
      --space-4:  48px;
      --space-5:  64px;
      --space-6:  80px;
      --space-8:  96px;
      --space-10: 120px;
      --space-12: 160px;

      /* ── Layout ── */
      --max:        1320px;
      --nav-height: 72px;
    }

    /* Performance optimizations */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    [class*="packet"], [class*="pulse"], [class*="flow"], .hero-ring {
      will-change: transform, opacity;
    }

    *{ box-sizing:border-box; }
    
    /* Skip link for accessibility */
    .skip-link{
      position:absolute;
      left:-9999px;
      top:auto;
      width:1px;
      height:1px;
      overflow:hidden;
      z-index:999;
    }
    .skip-link:focus{
      position:fixed;
      top:var(--space-1);
      left:var(--space-1);
      width:auto;
      height:auto;
      padding:12px 18px;
      background:var(--bg-deep);
      border:1px solid var(--purple-bright);
      border-radius:8px;
      color:var(--text-primary);
      font-family:var(--mono);
      font-size:14px;
      letter-spacing:2px;
      text-transform:uppercase;
      text-decoration:none;
    }
    
    /* Screen reader only */
    .sr-only{
      position:absolute;
      width:1px;
      height:1px;
      padding:0;
      margin:-1px;
      overflow:hidden;
      clip:rect(0,0,0,0);
      white-space:nowrap;
      border:0;
    }
    
    /* Focus styles for accessibility */
    a:focus-visible, button:focus-visible {
      outline: 2px solid #1d1a3b;
      outline-offset: 3px;
      border-radius:8px;
    }
    
    html{ scroll-behavior:smooth; background:var(--bg-deep); }
    body{
      margin:0;
      font-family:var(--sans);
      background: var(--bg);
      color:var(--text-primary);
      overflow-x:hidden;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }
    a{ color:inherit; text-decoration:none; }
    a:hover{ text-decoration:none; }
    ::selection { background: var(--accent); color: #fff; }
.sa-cursor, .sa-ring, .sa-progress { display: none !important; pointer-events: none !important; }

    /* Subtle grid overlay */
    .grid-overlay{
      position:fixed;
      inset:0;
      pointer-events:none;
      z-index:0;
      
      opacity:0;
      
      
    }

    /* ============================================
       NAVIGATION
       ============================================ */
    .site-header{
      position:fixed;
      top:0;
      width:100%;
      z-index:50;
      padding:0 var(--space-2, 20px);
      height: var(--nav-height, 72px);
      border-bottom:1px solid rgba(0,0,0,0.09);
      background: #ffffff;
      -webkit-
      display: flex;
      align-items: center;
    }
    .nav-inner{
      max-width: var(--max, 1200px);
      margin:0 auto;
      width: 100%;
      height: 100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: var(--space-2, 20px);
    }
    .brand{
      display:flex;
      align-items:center;
      gap: 10px;
      gap: var(--space-1, 10px);
      flex-shrink: 0;
      text-decoration: none;
      visibility: visible;
      opacity: 1;
    }
    .brand:hover{ text-decoration: none; }
    .brand::after, .brand::before { display: none !important; }
    .nav-inner::after, .nav-inner::before { display: none !important; }
    .brand-mark { display: none; }
    
    @keyframes eye-pulse {
      0%, 100% {
        opacity: .75;
        transform: scale(.98);
        box-shadow: 0 0 0 rgba(196,184,232,0);
      }
      50% {
        opacity: 1;
        transform: scale(1.02);
        box-shadow: none;
      }
    }
    @media (prefers-reduced-motion: reduce){
      
    }
    .brand-name { display: none; }

    .nav-links{
      display:flex;
      align-items:center;
      gap: 14px;
      flex-wrap: nowrap;
      justify-content:center;
    }
    .nav-links a{
      font-family: var(--mono);
      font-size:11px;
      letter-spacing:0.06em;
      color: var(--text-secondary);
      padding: 8px 4px;
      position: relative;
      transition: color .25s ease;
      white-space: nowrap;
    }
    .nav-links a:hover{ color: #1d1a3b; text-decoration:none; }
    .nav-links a::after{
      content:none;
    }
    
    /* Active section indicator */
    .nav-links a.active{
      color: #1d1a3b;
      opacity: 1;
    }
    .nav-links a.active::after{
      width: 100%;
      opacity: 1;
    }

    .nav-badge{
      display:flex;
      align-items:center;
      gap:6px;
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(158,110,18,1.00);
      text-decoration: none !important;
      border: none;
      background: transparent;
      padding: 6px 0;
      border-radius: 0;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .nav-badge:hover{ text-decoration: none !important; }

    /* Mobile nav toggle */
    .nav-toggle{
      display: none;
      appearance: none;
      border: 1px solid var(--border-glass);
      background: rgba(0,0,0,0.04);
      width: 40px;
      height: 40px;
      border-radius: 0;
      cursor: pointer;
      position: relative;
      transition: border-color .2s ease;
    }
    .nav-toggle:hover{
      border-color: rgba(42,37,96,0.60);
      background: transparent;
    }
    .nav-toggle span{
      position: absolute;
      left: 50%;
      width: 16px;
      height: 1px;
      background: var(--text-secondary);
      transform: translateX(-50%);
      transition: all .18s var(--ease-out);
    }
    .nav-toggle span:nth-child(1){ top: 14px; }
    .nav-toggle span:nth-child(2){ top: 19px; }
    .nav-toggle span:nth-child(3){ top: 24px; }
    
    .nav-toggle[aria-expanded="true"] span:nth-child(1){
      top: 19px;
      transform: translateX(-50%) rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(2){
      opacity: 0;
      transform: translateX(-50%) scaleX(0);
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(3){
      top: 19px;
      transform: translateX(-50%) rotate(-45deg);
    }

    /* Mobile drawer */
    .nav-drawer{
      display: none;
      position: fixed;
      top: var(--nav-height);
      right: 0;
      width: 280px;
      max-width: calc(100vw - var(--space-4));
      height: calc(100vh - var(--nav-height)); height: calc(100svh - var(--nav-height));
      background: rgba(0,0,0,.96);
      border-left: 1px solid var(--border-glass);
      transform: translateX(100%);
      transition: transform .18s var(--ease-out);
      z-index: 49;
      padding: var(--space-3) var(--space-2);
      overflow-y: auto;
    }
    .nav-drawer.open{
      transform: translateX(0);
    }
    .nav-drawer a{
      display: flex;
      align-items: center;
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-secondary);
      padding: 14px 0;
      border-bottom: 1px solid var(--border-subtle);
      transition: color .2s ease;
    }
    .nav-drawer a:hover{
      color: var(--text-primary);
      text-decoration: none;
    }
    .nav-drawer .nav-signin{ color: #1d1a3b; border-bottom: none; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--border-glass); }
    .nav-drawer a.active{
      color: #1d1a3b;
    }
    
    .drawer-overlay{
      display: none;
      position: fixed;
      inset: 0;
      top: var(--nav-height);
      background: rgba(0,0,0,0.16);
      z-index: 48;
      opacity: 0;
      transition: opacity .18s ease;
      pointer-events: none;
    }
    .drawer-overlay.open{
      opacity: 1;
      pointer-events: auto;
    }


    /* ============================================
       MAIN CONTENT
       ============================================ */
    main{
      position: relative;
      z-index: 1;
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 var(--space-2);
    }

    /* ============================================
       HERO
       ============================================ */
    .hero{
      position: relative;
      padding: 0 0 48px;
      margin: 0;
      margin-top: var(--nav-height);
      overflow: visible;
    }
    .hero::before{ display: none; }
    
    .hero-kicker { font-family:var(--mono); font-size:11px; letter-spacing:3px; text-transform:uppercase; color:rgba(29,26,59,0.55); margin-bottom:20px; display:block; }
    .hero-kicker::before { display:none; }
    
    h1{
      font-family: var(--serif);
      font-size: clamp(44px, 7vw, 92px);
      font-weight: 400;
      line-height: .95;
      margin: 0;
      letter-spacing: -0.02em;
    }
    h1 .accent{
      font-style: italic;
      color: #1d1a3b;
      position: relative;
      text-shadow: 
        -1px 0 rgba(255,100,100,0.08), 
        1px 0 rgba(100,255,255,0.08),
        none;
    }
    
    /* Hero stamp line */
    .hero-stamp { display:none; }
    
    .hero-notice{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 1px;
      color: #1d1a3b;
      border: 1px solid rgba(42,37,96,0.60);
      background:rgba(0,0,0,0.03);
      padding: 8px 12px;
      border-radius: 8px;
      width: fit-content;
      margin: var(--space-1) 0 var(--space-2);
    }
    
    .hero-desc{
      max-width: 62ch;
      font-size: 18px;
      font-weight: 300;
      line-height: 1.75;
      color: var(--text-secondary);
      border-left: 2px solid #1d1a3b;
      padding-left: var(--space-2);
      margin: 0;
    }
    
    .hero-disclaimer{
      font-size:14px;
      color: var(--text-tertiary);
      font-weight: 200;
      font-family: var(--mono);
      letter-spacing: 0.5px;
      margin: 0;
      line-height: 1.55;
    }
    .hero-disclaimer + .hero-disclaimer{
      margin-top: 6px;
    }
    
    .hero-subline{
      font-size: 15px;
      color: var(--text-secondary);
      font-weight: 300;
      margin: var(--space-1) 0 0;
    }

    .hero-actions{
      display:flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: var(--space-1);
    }
    
    .hero-footnote{
      font-family: var(--mono);
      font-size:14px;
      color: var(--text-tertiary);
      letter-spacing: 1px;
      margin-top: var(--space-2);
    }
    

    /* === HUD SYSTEM === */
    .hud-frame{position:relative;padding:20px 16px;border:none;}
    .hud-frame::before,.hud-frame::after,
    .hud-frame>i::before,.hud-frame>i::after{
      content:'';position:absolute;width:8px;height:8px;
      border-color:rgba(0,0,0,0.12);border-style:solid;pointer-events:none;
    }
    .hud-frame::before{top:0;left:0;border-width:1px 0 0 1px;}
    .hud-frame::after{top:0;right:0;border-width:1px 1px 0 0;}
    .hud-frame>i::before{bottom:0;left:0;border-width:0 0 1px 1px;position:absolute;}
    .hud-frame>i::after{bottom:0;right:0;border-width:0 1px 1px 0;position:absolute;}
    .hud-frame>i{position:absolute;inset:0;pointer-events:none;}
    .hud-frame-green::before,.hud-frame-green::after,
    .hud-frame-green>i::before,.hud-frame-green>i::after{border-color:rgba(22,135,62,0.30);}
    .hud-frame-amber::before,.hud-frame-amber::after,
    .hud-frame-amber>i::before,.hud-frame-amber>i::after{border-color:rgba(158,110,18,0.26);}
    .hud-frame-red::before,.hud-frame-red::after,
    .hud-frame-red>i::before,.hud-frame-red>i::after{border-color:rgba(180,52,52,0.24);}
    .hud-scanline{border-bottom:1px solid rgba(0,0,0,0.06);}
    .hud-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#1d1a3b;margin-right:8px;flex-shrink:0;}
    .hud-dot-green{background:rgba(22,135,62,1.00);}
    .hud-dot-amber{background:rgba(158,110,18,1.00);}
    .hud-dot-red{background:rgba(180,52,52,1.00);}
    @keyframes hud-breathe{0%,100%{opacity:0.4;}50%{opacity:1;}}
    .hud-row{padding:12px 0;border-bottom:1px solid rgba(0,0,0,0.03);}
    .hud-row:last-child{border-bottom:none;}
    .hud-label{font-family:var(--mono);font-size:11px;letter-spacing:0.08em;color:rgba(15,18,30,0.42);text-transform:uppercase;}
    .hud-title{font-size:14px;color:rgba(15,18,30,0.88);font-weight:500;margin:2px 0;}
    .hud-desc{font-size:12.5px;color:rgba(15,18,30,0.76);line-height:1.5;}
    .hud-num{font-family:var(--mono);font-size:14px;letter-spacing:1px;color:#1d1a3b;margin-right:12px;}
    .hud-link{font-family:var(--mono);font-size:14px;letter-spacing:2px;color:#1d1a3b;text-decoration:none !important;border-bottom:none !important;padding-bottom:2px;transition:all 0.2s;}
    .hud-link:hover{color:#1d1a3b;}


    /* HUD phase row hover */
    .hud-row[style*="cursor:pointer"]:hover { background:rgba(0,0,0,0.03); }
    /* HUD verify tab hover */
    #tab-verify:hover, #tab-search:hover { background:rgba(42,37,96,0.25) !important; color:#1d1a3b !important; }
    /* HUD button hover */
    #verify-btn:hover, #search-btn:hover { border-color:#1d1a3b !important; color:#111318 !important; background:rgba(42,37,96,0.25) !important; }

    /* 2050 HUD OVERLAY */

    /* page scan removed */

    .section::before {
      content: '';
      position: absolute;
      top: 0; left: 10%; right: 10%;
      height: 1px;
      background: linear-gradient(90deg,
        transparent,
        rgba(42,37,96,0.25) 30%,
        rgba(42,37,96,0.60) 50%,
        rgba(42,37,96,0.25) 70%,
        transparent);
      animation: edge-pulse 4s ease-in-out infinite;
    }
    @keyframes edge-pulse {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 1; }
    }

    /* .reveal override removed — premium frost handles reveals */

    .section-label {
      overflow: hidden;
      display: inline-block;
    }
    .section-label.scanned::after { display:none; }
    @keyframes cursor-blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    .hud-frame::before, .hud-frame::after,
    .hud-frame > i::before, .hud-frame > i::after {
      width: 12px !important;
      height: 12px !important;
      transition: border-color 1.5s ease;
      /* breathing removed */
    }
    @keyframes corner-breathe {
      0%, 100% { border-color: rgba(0,0,0,0.09); }
      50% { border-color: rgba(42,37,96,0.60); }
    }
    .hud-frame-green::before, .hud-frame-green::after,
    .hud-frame-green > i::before, .hud-frame-green > i::after {
      /* breathing removed */
    }
    @keyframes corner-breathe-green {
      0%, 100% { border-color: rgba(22,135,62,0.20); }
      50% { border-color: rgba(22,135,62,1.00); }
    }

    .hud-frame {
      position: relative;
      overflow: hidden;
    }
    .hud-frame .hud-shimmer {
      position: absolute;
      top: 0; left: -100%; right: 0; bottom: 0;
      width: 100%;
      background: linear-gradient(105deg,
        transparent 40%,
        rgba(42,37,96,0.08) 45%,
        rgba(42,37,96,0.08) 50%,
        rgba(42,37,96,0.08) 55%,
        transparent 60%);
      pointer-events: none;
      z-index: 0;
    }
    @keyframes shimmer-sweep {
      from { left: -100%; }
      to { left: 200%; }
    }

    .hud-dot-green {
      position: relative;
    }
    .hud-dot-green::after {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      background: rgba(22,135,62,0.38);
      /* dot breathing removed */
      pointer-events: none;
    }
    @keyframes dot-breathe {
      0%, 100% { transform: scale(0.8); opacity: 0; }
      50% { transform: scale(1.8); opacity: 1; }
    }

    .hud-tick {
      font-family: var(--mono);
      font-variant-numeric: tabular-nums;
      display: inline-block;
      min-width: 2ch;
    }

    .section {
      position: relative;
    }

    .hud-row {
      transition: background 0.3s ease;
    }
    .hud-row:hover {
      background:rgba(0,0,0,0.03);
    }

    .btn::before, .btn::after {
      content: '';
      position: absolute;
      width: 6px; height: 6px;
      border-style: solid;
      border-color: rgba(42,37,96,0.60);
      pointer-events: none;
      transition: border-color 0.3s ease;
    }
    .btn::before {
      top: -1px; left: -1px;
      border-width: 1px 0 0 1px;
    }
    .btn::after {
      bottom: -1px; right: -1px;
      border-width: 0 1px 1px 0;
    }
    .btn:hover::before, .btn:hover::after {
      border-color: #1d1a3b;
    }

    .hud-link {
      position: relative;
    }

    .section-title.glow {
      text-shadow: 0 0 30px rgba(42,37,96,0.25);
    }

    #verify .hud-frame,
    #contact .hud-frame {
      -webkit-
      background: rgba(0,0,0,0.4);
    }


    /* AWWWARDS LAYER */


    
    .sa-noise {
      position: fixed; inset: 0;
      pointer-events: none; z-index: 99990; opacity: 0.025;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-repeat: repeat; background-size: 256px 256px;
    }
    .sa-vignette {
      position: fixed; inset: 0;
      pointer-events: none; z-index: 99989;
      background: none;
    }
    .sa-particles {
      position: fixed; inset: 0;
      pointer-events: none; z-index: -1;
    }
    @keyframes sa-fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
    @keyframes sa-fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
    @keyframes sa-fadeIn { from { opacity:0; } to { opacity:1; } }
    .btn {
      transition: color 0.2s ease, border-color 0.2s ease, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1) !important;
      will-change: transform;
    }
    
    

    /* Hero responsive */


    
    /* ============================================
       BUTTONS
       ============================================ */
    .btn{
      appearance:none;
      border:1px solid rgba(0,0,0,0.15);
      background: transparent;
      color: #111318;
      padding: 12px 20px;
      border-radius: 0;
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      cursor: pointer;
      transition: color .2s ease, border-color .2s ease;
      position: relative;
      overflow:visible;
    }
    .btn:hover{
      transform: none;
      border-color: #1d1a3b;
      color: #1d1a3b;
      background: transparent;
      text-decoration: none;
    }
    .btn.primary{
      border-color: rgba(42,37,96,0.60);
      background: transparent;
      box-shadow: none;
      color: #1d1a3b;
    }
    .btn.primary:hover{
      border-color: #1d1a3b;
      background:rgba(0,0,0,0.03);
    }

    /* ============================================
       SECTIONS
       ============================================ */
    .section{
      padding: 32px 0;
      border-top: 1px solid var(--border-glass);
      scroll-margin-top: calc(var(--nav-height) + 24px);
    }
    .section-head{ display:block; margin-bottom: var(--space-3); }
    .section-label{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 5px;
      text-transform: uppercase;
      color: rgba(15,18,30,0.44);
      display:block;
      margin-bottom: 12px;
    }
    .section-title{
      font-family: var(--serif);
      font-size: clamp(30px, 4vw, 50px);
      font-weight: 300;
      line-height: 1.1;
      margin: 0;
      letter-spacing: -0.01em;
      color: #1d1a3b;
    }
    .section-lead{
      max-width: 70ch;
      color: var(--text-secondary);
      font-weight: 300;
      line-height: 1.85;
      margin: var(--space-2) 0 0;
      font-size: 16px;
    }

    .grid-2{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-3);
      align-items: start;
    }

    /* ============================================
       PANELS
       ============================================ */
    .panel{
      background: transparent;
      border: none;
      border-radius: 0;
      padding: var(--space-3) 0;
      backdrop-filter: none;
      position: relative;
      overflow:visible;

    }
    .panel::before{ display:none; }
    .panel > *{ position: relative; z-index: 1; }

    .panel h3{
      margin: 0 0 14px;
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: rgba(15,18,30,0.86);
    }
    .panel p{
      margin: 0 0 var(--space-2);
      color: var(--text-secondary);
      font-weight: 300;
      line-height: 1.85;
    }
    
    .panel-note{
      font-size:14px;
      color: var(--text-tertiary);
      font-weight: 400;
      font-family: var(--mono);
      letter-spacing: 0.5px;
      margin-bottom: 14px;
    }
    .panel-detail{
      font-size:14px;
      color: var(--text-secondary);
      font-weight: 300;
      margin-bottom: 8px;
    }
    .panel-fine{
      font-size:14px;
      color: var(--text-tertiary);
      font-weight: 300;
      margin-bottom: 14px;
    }
    
    .list{
      list-style: none;
      padding: 0;
      margin: 0;
      border-top: 1px solid var(--border-glass);
    }
    .list li{
      padding: 12px 0;
      border-bottom: 1px solid var(--border-glass);
      color: var(--text-secondary);
      font-size: 14px;
      line-height: 1.55;
    }
    .list li:last-child{ border-bottom:none; }
    .list b{ color: var(--text-primary); font-weight: 600; }

    .tag{
      display:inline-flex;
      align-items:center;
      gap:8px;
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 8px 10px;
      border-radius: 999px;
      border: 1px solid rgba(0,0,0,0.21);
      background: rgba(0,0,0,0.04);
      color: #111318;
      width: fit-content;
    }

    /* Document download links */
    .doc-links {
      display: flex;
      gap: 10px;
      margin-top: 10px;
      flex-wrap: wrap;
    }
    .doc-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      background:rgba(0,0,0,0.03);
      border: 1px solid rgba(42,37,96,0.60);
      border-radius: 4px;
      color: #1d1a3b;
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 0.5px;
      text-decoration: none;
      transition: all 0.2s ease;
    }
    .doc-link:hover {
      background:rgba(0,0,0,0.03);
      border-color: #1d1a3b;
      color: #111318;
      text-decoration: none;
    }
    .doc-icon {
      padding: 2px 5px;
      background:rgba(0,0,0,0.03);
      border-radius: 2px;
      font-size:14px;
      font-weight: 600;
      letter-spacing: 1px;
    }
    .tag .dot{
      width:6px;height:6px;border-radius:50%;
      background: var(--accent-green);
      box-shadow: 0 0 0 6px rgba(22,135,62,0.25);
    }

    /* ============================================
       CRITERIA CHECKLIST
       ============================================ */
    .checklist{
      display:grid;
      gap: 12px;
      margin-top: var(--space-2);
    }
    .check{
      display:flex;
      gap: 12px;
      padding: 14px;
      border-radius: 16px;
      border: 1px solid rgba(0,0,0,0.09);
      background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.01) 100%);
      align-items:flex-start;
    }
    .check svg{ flex:0 0 auto; margin-top: 2px; }
    .check-title{
      font-weight: 600;
      color: var(--text-primary);
      font-size: 14px;
      margin-bottom: 2px;
    }
    .check-desc{
      color: var(--text-secondary);
      font-size:14px;
      line-height: 1.55;
      font-weight: 300;
    }

    /* ============================================
       MECHANISM NODES
       ============================================ */
    .mechanism{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-1);
    }
    .node{
      border: 1px solid rgba(0,0,0,0.11);
      background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.02) 100%);
      border-radius: 18px;
      padding: 28px 22px;
      position: relative;
      overflow:hidden;
      min-height: 165px;
    }
    .node::before{
      content:"";
      position:absolute;
      top:0;left:0;right:0;height:1px;
      background: linear-gradient(90deg, transparent, rgba(0,0,0,0.09), transparent);
      pointer-events:none;
    }
    .node > *{ position: relative; z-index: 1; }
    .node-num{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 4px;
      color: #1d1a3b;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .node-title{
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 400;
      margin: 0 0 var(--space-1);
      letter-spacing: -0.01em;
    }
    .node-desc{
      color: var(--text-tertiary);
      line-height: 1.65;
      font-size:14px;
      font-weight: 300;
      margin: 0;
    }

    /* ============================================
       RECORD BLOCK
       ============================================ */
    .record{
      background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,.12) 100%);
      border: 1px solid rgba(0,0,0,0.11);
      border-radius: 18px;
      overflow:hidden;
    }
    .record-head{
      display:flex;
      justify-content: space-between;
      align-items:center;
      padding: var(--space-2) 18px;
      background:rgba(0,0,0,0.03);
      border-bottom: 1px solid rgba(0,0,0,0.09);
      gap: 12px;
      flex-wrap: wrap;
    }
    .record-title{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: #111318;
    }
    .record-status{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: rgba(22,135,62,1.00);
      border: 1px solid rgba(22,135,62,0.50);
      background: rgba(22,135,62,0.15);
      padding: 6px 10px;
      border-radius: 999px;
      display:flex; align-items:center; gap: 8px;
    }
    .record-status .s-dot{
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent-green);
    }
    .record-status.illustrative{
      color: rgba(158,110,18,1.00);
      border-color: rgba(158,110,18,0.55);
      background: rgba(158,110,18,0.18);
    }
    .record-status.illustrative .s-dot{
      background: var(--accent-amber);
    }
    .record-head-right{
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 6px;
    }
    .verify-link{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #1d1a3b;
      border: 1px solid #1d1a3b;
      background:rgba(0,0,0,0.03);
      padding: 6px 10px;
      border-radius: 6px;
      transition: all .2s ease;
    }
    .verify-link:hover{
      border-color: #1d1a3b;
      background:rgba(0,0,0,0.03);
      text-decoration: none;
    }
    .record-body{
      padding: 18px;
      font-family: var(--mono);
      font-size:14px;
      color: #111318;
    }
    .kv{
      display:grid;
      grid-template-columns: 150px 1fr;
      gap: 12px;
      padding: var(--space-1) 0;
      border-bottom: 1px solid rgba(0,0,0,0.12);
    }
    .kv:last-child{ border-bottom:none; }
    .k{
      color: rgba(15,18,30,0.64);
      font-size:14px;
      letter-spacing: 2px;
      text-transform: uppercase;
    }
    .v{
      color: #111318;
      word-break: break-word;
    }
    .hash-row{
      display:flex;
      align-items:center;
      gap:var(--space-1);
    }
    .copy-btn{
      appearance:none;
      border:1px solid rgba(0,0,0,0.27);
      background:rgba(0,0,0,0.06);
      color:rgba(15,18,30,0.78);
      padding:4px 8px;
      border-radius:6px;
      font-family:var(--mono);
      font-size:14px;
      letter-spacing:1px;
      text-transform:uppercase;
      cursor:pointer;
      transition:all .2s ease;
    }
    .copy-btn:hover{
      border-color:#1d1a3b;
      background:rgba(0,0,0,0.03);
      color:#111318;
    }
    .copy-btn.copied{
      border-color:rgba(22,135,62,0.88);
      background:rgba(22,135,62,0.30);
      color:rgba(22,135,62,1.00);
    }
    .record-note{
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(0,0,0,0.15);
      color: rgba(15,18,30,0.94);
      font-size: 11.5px;
      line-height: 1.55;
      font-weight: 300;
      font-family: var(--sans);
    }
    
    /* Copy toast */
    .copy-toast{
      position: fixed;
      bottom: var(--space-3);
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: rgba(22,135,62,0.30);
      border: 1px solid rgba(22,135,62,0.88);
      color: rgba(22,135,62,1.00);
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 12px 18px;
      border-radius:8px;
      opacity: 0;
      transition: opacity .18s ease, transform .18s var(--ease-out);
      pointer-events: none;
      z-index: 100;
    }
    .copy-toast.show{
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ============================================
       STATES
       ============================================ */
    .states{
      display:grid;
      gap: var(--space-1);
      margin-top: var(--space-2);
    }
    .state{
      padding: 14px;
      border: 1px solid rgba(0,0,0,0.09);
      background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.01) 100%);
      border-radius: 16px;
      display:flex;
      justify-content: space-between;
      gap: 12px;
      align-items:flex-start;
    }
    .state-left{
      display:flex; flex-direction: column; gap: 2px;
    }
    .state-name{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #111318;
    }
    .state-desc{
      color: var(--text-secondary);
      font-size:14px;
      line-height: 1.55;
      font-weight: 300;
      margin:0;
    }
    .badge{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 6px 8px;
      border-radius: 999px;
      border: 1px solid rgba(0,0,0,0.21);
      background: rgba(0,0,0,0.04);
      color: #111318;
      white-space: nowrap;
    }
    .badge.green{ border-color: rgba(22,135,62,0.55); color: rgba(22,135,62,1.00); background: rgba(22,135,62,0.15); }
    .badge.amber{ border-color: rgba(158,110,18,0.48); color: rgba(158,110,18,1.00); background: rgba(158,110,18,0.13); }
    .badge.red{ border-color: rgba(180,52,52,0.44); color: rgba(180,52,52,1.00); background: rgba(180,52,52,0.12); }

    
    
    /* ENVELO mechanism animations */
    @keyframes mechFlowPacket {
      0% { left: 0; opacity: 0; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% { left: calc(100% - 6px); opacity: 0; }
    }
    .flow-packet-green { animation: mechFlowPacket 2.5s ease-in-out infinite; }
    .flow-packet-purple { animation: mechFlowPacket 2.5s ease-in-out infinite; animation-delay: 1.2s; }

    
    /* Hero animations */
    
    .hero-eye { animation: hero-eye-pulse 4s ease-in-out infinite; }
    @keyframes hero-eye-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
    .scroll-line { animation: scroll-bounce 2s ease-in-out infinite; }
    @keyframes scroll-bounce { 0%, 100% { transform: scaleY(1); opacity: 0.5; } 50% { transform: scaleY(0.7); opacity: 1; } }

    
    
    
    /* [consolidated below] */

    /* [consolidated below] */

    /* ===== CONSOLIDATED MOBILE FIXES ===== */
    
    /* Small phones */
    
    
    
    /* ===== END MOBILE FIXES ===== */

    /* Security diagram animations */
    @keyframes flowPacket {
      0% { left: 0; opacity: 0; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% { left: calc(100% - 6px); opacity: 0; }
    }
    .flow-packet { animation: flowPacket 2.5s ease-in-out infinite; }
    .flow-packet-delayed { animation-delay: 1.25s; }
    .envelo-eye { animation: eye-pulse 7s ease-in-out infinite; }
/* ============================================
       ENFORCEMENT DIAGRAM
       ============================================ */
    .diagram-container{transform:scale(1.15);transform-origin:center;
      display:flex;
      flex-direction: column;
      align-items: center;
      margin: var(--space-3) 0 var(--space-5);
    }
    .enforcement-diagram{
      max-width: 400px;
      width: 100%;
      height: auto;
    }
    .diagram-caption{
      font-size:14px;
      color: var(--text-tertiary);
      text-align: center;
      margin-top: var(--space-2);
      font-family: var(--mono);
      letter-spacing: 0.5px;
    }
    
    /* Subtle interlock pulse */
    @keyframes interlock-pulse {
      0%, 100% { 
        stroke: #1d1a3b;
        filter: drop-shadow(0 0 0 rgba(42,37,96,0.00));
      }
      50% { 
        stroke: #1d1a3b;
        filter: drop-shadow(0 0 8px rgba(42,37,96,0.60));
      }
    }
    .interlock-bg{
      animation: interlock-pulse 3s ease-in-out infinite;
    }
    
    @media (prefers-reduced-motion: reduce){
      .interlock-bg{ animation: none; }
    }
    
    /* ============================================
       CONTACT
       ============================================ */
    /* Process Timeline */
    .process-timeline{ display: flex; flex-direction: column; gap: 0; }
    .process-step{ display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-glass); }
    .process-step:last-child{ border-bottom: none; }
    .process-step-num{ 
      width: 28px; height: 28px; flex-shrink: 0;
      background:rgba(0,0,0,0.03); border: 1px solid #1d1a3b;
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-family: var(--mono); font-size:14px; color: #1d1a3b;
    }
    .process-step-content b{ display: block; margin-bottom: 4px; }
    .process-step-content p{ color: var(--text-secondary); font-size:14px; line-height: 1.55; margin: 0; }

    .contact-card{
      max-width: 540px;
      background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.02) 100%);
      border: 1px solid rgba(0,0,0,0.11);
      border-radius: 18px;
      padding: 8px 0;
    }
    .contact-row{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 28px;
      border-bottom: 1px solid var(--border-glass);
      gap: var(--space-2);
      flex-wrap: wrap;
    }
    .contact-row:last-child{ border-bottom: none; }
    .contact-label{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-tertiary);
    }
    .contact-link{
      font-family: var(--sans);
      font-size: 14px;
      color: #1d1a3b;
      transition: color .2s ease;
    }
    .contact-link:hover{
      color: var(--text-primary);
      text-decoration: none;
    }

    /* ============================================
       DEFINITION CALLOUT
       ============================================ */
    .definition-callout{
      background: linear-gradient(180deg, rgba(42,37,96,0.25) 0%, rgba(42,37,96,0.08) 100%);
      border: 1px solid rgba(42,37,96,0.25);
      border-radius:8px;
      padding: var(--space-2) 18px;
      margin-top: var(--space-2);
    }
    .definition-term{
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #1d1a3b;
      margin-bottom: 6px;
    }
    .definition-text{
      color: var(--text-secondary);
      font-size:14px;
      line-height: 1.65;
      font-weight: 300;
      margin: 0;
    }
    
    /* ============================================
       PROGRAM IDENTITY
       ============================================ */
    .program-grid{
      display: grid;
      gap: 8px;
      font-size:14px;
    }
    .program-row{
      display: flex;
      justify-content: space-between;
      gap: var(--space-2);
      flex-wrap: wrap;
      padding: 6px 0;
      border-bottom: 1px solid var(--border-glass);
    }
    .program-row:last-child{ border-bottom: none; }
    .program-label{
      color: var(--text-tertiary);
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .program-value{
      color: var(--text-primary);
    }
    .program-value.amber{
      color: var(--accent-amber);
    }
    .program-value a{
      color: #1d1a3b;
    }
    
    /* ============================================
       FOOTER
       ============================================ */
    footer{
      border-top: 1px solid var(--border-glass);
      padding: var(--space-6) 0 var(--space-4);
      margin-top: var(--space-4);
      color: rgba(15,18,30,0.86);
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 1px;
    }
    .footer-inner{
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 var(--space-2);
      display:flex;
      justify-content: space-between;
      align-items:flex-start;
      gap: var(--space-2);
      flex-wrap: wrap;
    }
    .footer-spec{
      margin-top: 8px;
      color: rgba(15,18,30,0.55);
      font-size:14px;
      letter-spacing: 1px;
    }
    .footer-disclaimer{
      margin-top: 12px;
      color: rgba(15,18,30,0.64);
      font-size:14px;
      max-width: 480px;
      line-height: 1.55;
    }
    .foot-links{ display:flex; gap: var(--space-4); flex-wrap: wrap; }
    .foot-col{ display:flex; flex-direction:column; gap:8px; min-width:120px; }
    .foot-col-title{ font-family:var(--mono); font-size:11px; letter-spacing:2px; color:#1d1a3b; margin-bottom:4px; }
    .foot-links a{ color: rgba(15,18,30,0.64); font-size:11px; }
    .foot-links a:hover{ color: #111318; text-decoration:none; }
    .old-foot-links{
      display:flex; gap: var(--space-2); flex-wrap: wrap;
    }
    .foot-links a{ color: rgba(15,18,30,0.64); }
    .foot-links a:hover{ color: #111318; text-decoration:none; }

    /* ============================================
       REVEAL ANIMATION
       ============================================ */
    .reveal{ 
      opacity: 0; 
      transform: translateY(8px); 
      transition: opacity .35s ease, transform .35s ease; 
    }
    .reveal.active{ opacity: 1; transform: translateY(0); }
    
    @media (prefers-reduced-motion: reduce){
      .reveal{ opacity: 1; transform: none; transition: none; }
    }

    /* Download Modal */
    .download-modal{
      display: none;
      position: fixed;
      inset: 0;
      z-index: 100;
      background: rgba(0,0,0,0.12);
      align-items: center;
      justify-content: center;
      padding: var(--space-2);
    }
    .download-modal.open{ display: flex; }
    .download-modal-card{
      background: var(--bg-deep);
      border: 1px solid rgba(0,0,0,0.09);
      padding: var(--space-3);
      max-width: 420px;
      width: 100%;
      position: relative;
    }
    .download-modal-close{
      position: absolute;
      top: 14px;
      right: 14px;
      appearance: none;
      border: none;
      background: none;
      color: var(--text-tertiary);
      font-family: var(--mono);
      font-size: 18px;
      cursor: pointer;
      line-height: 1;
      transition: filter .2s;
    }
    .download-modal-close:hover{ color: var(--text-primary); }
    .download-modal-card h3{
      font-family: var(--mono);
      font-size:14px;
      font-weight: 400;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: #1d1a3b;
      margin: 0 0 4px;
    }
    .download-modal-card > p{
      color: var(--text-tertiary);
      font-family: var(--mono);
      font-size:14px;
      line-height: 1.55;
      margin: 0 0 var(--space-2);
    }
    .download-form-group{ margin-bottom: 14px; }
    .download-form-label{
      display: block;
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--text-tertiary);
      margin-bottom: 6px;
    }
    .download-form-input, .download-form-select{
      width: 100%;
      padding: 10px 12px;
      background: rgba(0,0,0,0.04);
      border: 1px solid rgba(0,0,0,0.09);
      color: var(--text-primary);
      font-family: var(--mono);
      font-size:14px;
    }
    .download-form-input:focus, .download-form-select:focus{
      outline: none;
      border-color: #1d1a3b;
    }
    .download-form-select{
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.60)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
    }
    .download-form-btn{
      appearance: none;
      width: 100%;
      border: 1px solid rgba(42,37,96,0.60);
      background: transparent;
      color: #1d1a3b;
      padding: 12px 24px;
      font-family: var(--mono);
      font-size:14px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      cursor: pointer;
      transition: filter .2s, border-color .2s;
    }
    .download-form-btn:hover{
      border-color: #1d1a3b;
    }
    .download-form-fine{
      font-size:14px;
      font-family: var(--mono);
      color: var(--text-tertiary);
      margin-top: var(--space-2);
      line-height: 1.55;
      text-align: center;
      letter-spacing: 0.3px;
    }

    /* Animation Keyframes */
    @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
    @keyframes heartbeat {
      0%, 100% { transform: scale(1); }
      36% { transform: scale(1); }
      40% { transform: scale(1.06); }
      46% { transform: scale(1); }
      50% { transform: scale(1.03); }
      56% { transform: scale(1); }
    }
    @keyframes ecg-draw {
      0% { stroke-dashoffset: 1000; }
      100% { stroke-dashoffset: 0; }
    }
    .ecg-trace { animation: ecg-draw 4s linear infinite; }
    @keyframes pulse-slow { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.02); } }
    .timeline-dot animate { animation-play-state: paused; }
    .timeline-dot.playing animate { animation-play-state: running; }
    @keyframes bar-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
    @keyframes ekg-draw { 0% { stroke-dashoffset: 800; opacity: 1; } 80% { stroke-dashoffset: 0; opacity: 1; } 90%, 100% { stroke-dashoffset: 0; opacity: 0; } }
    @keyframes ekg-flow { 0% { transform: translateX(0); } 100% { transform: translateX(-500px); } }
    @keyframes ekg-scan { 0% { left: -80px; } 100% { left: 100%; } }
    @keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
    .hour-block { width: 100%; aspect-ratio: 1; background: rgba(42,37,96,0.25); border-radius: 4px; animation: block-fill 0.5s ease forwards; opacity: 0; }
    .hour-block:nth-child(n+61) { animation-name: block-fill-green; }
    @keyframes block-fill { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); background: #1d1a3b; } }
    @keyframes trail-fill { 0% { stroke-dashoffset: 880; } 100% { stroke-dashoffset: 0; } }
    @keyframes orbit-dot { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

    .cat72-progress { animation: cat72-fill 6s ease-in-out infinite; }
    @keyframes cat72-fill { 0%, 5% { stroke-dashoffset: 754; } 75% { stroke-dashoffset: 0; } 80%, 100% { stroke-dashoffset: 754; } }
    .cat72-marker { fill: rgba(0,0,0,1); stroke: #1d1a3b; stroke-width: 2; }
    .cat72-m0 { animation: cat72-mark 6s ease-in-out infinite; }
    .cat72-m24 { animation: cat72-mark 6s ease-in-out infinite; animation-delay: 0.5s; }
    .cat72-m48 { animation: cat72-mark 6s ease-in-out infinite; animation-delay: 1s; }
    .cat72-m72 { animation: cat72-mark-end 6s ease-in-out infinite; }
    @keyframes cat72-mark { 0%, 10% { fill: rgba(0,0,0,1); stroke: #1d1a3b; } 20%, 75% { fill: rgba(22,135,62,1.00); stroke: rgba(22,135,62,1.00); } 80%, 100% { fill: rgba(0,0,0,1); stroke: #1d1a3b; } }
    @keyframes cat72-mark-end { 0%, 70% { fill: rgba(0,0,0,1); stroke: #1d1a3b; } 75% { fill: rgba(22,135,62,1.00); stroke: rgba(22,135,62,1.00); filter: drop-shadow(0 0 8px rgba(22,135,62,1.00)); } 80%, 100% { fill: rgba(0,0,0,1); stroke: #1d1a3b; filter: none; } }
    .cat72-dot { animation: cat72-orbit 6s ease-in-out infinite; transform-origin: 140px 140px; }
    @keyframes cat72-orbit { 0%, 5% { transform: translateX(-50%) rotate(0deg); } 75% { transform: translateX(-50%) rotate(360deg); } 80%, 100% { transform: translateX(-50%) rotate(0deg); } }
    @keyframes thermo-width { 0% { width: 0%; } 80% { width: 100%; } 85%, 100% { width: 0%; } }
    @keyframes thermo-dot-0 { 0%, 0% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); opacity: 0.6; } 1%, 80% { background: rgba(22,135,62,1.00); border-color: rgba(22,135,62,1.00); opacity: 1; } 85%, 100% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); opacity: 0.6; } } 1%, 80% { background: rgba(22,135,62,1.00); border-color: rgba(22,135,62,1.00); box-shadow: 0 0 12px rgba(22,135,62,1.00); } 85%, 100% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); box-shadow: none; } }
    @keyframes thermo-dot-33 { 0%, 26% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); opacity: 0.6; } 27%, 80% { background: rgba(22,135,62,1.00); border-color: rgba(22,135,62,1.00); opacity: 1; } 85%, 100% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); opacity: 0.6; } } 27%, 80% { background: rgba(22,135,62,1.00); border-color: rgba(22,135,62,1.00); box-shadow: 0 0 12px rgba(22,135,62,1.00); } 85%, 100% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); box-shadow: none; } }
    @keyframes thermo-dot-66 { 0%, 52% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); opacity: 0.6; } 53%, 80% { background: rgba(22,135,62,1.00); border-color: rgba(22,135,62,1.00); opacity: 1; } 85%, 100% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); opacity: 0.6; } } 53%, 80% { background: rgba(22,135,62,1.00); border-color: rgba(22,135,62,1.00); box-shadow: 0 0 12px rgba(22,135,62,1.00); } 85%, 100% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); box-shadow: none; } }
    @keyframes thermo-dot-100 { 0%, 79% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); opacity: 0.6; } 80%, 80% { background: rgba(22,135,62,1.00); border-color: rgba(22,135,62,1.00); opacity: 1; } 85%, 100% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); opacity: 0.6; } } 80% { background: rgba(22,135,62,1.00); border-color: rgba(22,135,62,1.00); box-shadow: 0 0 16px rgba(22,135,62,1.00); } 85%, 100% { background: rgba(0,0,0,1); border-color: rgba(42,37,96,0.60); box-shadow: none; } }
     17%, 52% { background: rgba(22,135,62,1.00); border: 2px solid rgba(22,135,62,1.00); box-shadow: 0 0 12px rgba(22,135,62,1.00); } 54%, 100% { background: rgba(0,0,0,1); border: 2px solid #1d1a3b; box-shadow: none; } }
     34%, 52% { background: rgba(22,135,62,1.00); border: 2px solid rgba(22,135,62,1.00); box-shadow: 0 0 12px rgba(22,135,62,1.00); } 54%, 100% { background: rgba(0,0,0,1); border: 2px solid #1d1a3b; box-shadow: none; } }
     50%, 52% { background: rgba(22,135,62,1.00); border: 2px solid rgba(22,135,62,1.00); box-shadow: 0 0 16px rgba(22,135,62,1.00); } 54%, 100% { background: rgba(0,0,0,1); border: 2px solid #1d1a3b; box-shadow: none; } }
    @keyframes trail-fill { 0% { stroke-dashoffset: 880; } 100% { stroke-dashoffset: 0; } }
    @keyframes orbit-dot { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    @keyframes block-fill-green { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); background: rgba(22,135,62,1.00); } }
    @keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } 50% { opacity: 0.6; box-shadow: 0 0 16px rgba(22,135,62,1.00); } }
    @keyframes pulse-move { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
    @keyframes rotate-reverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    @keyframes orbit { from { transform: rotate(0deg) translateX(170px) rotate(0deg); } to { transform: rotate(360deg) translateX(170px) rotate(-360deg); } }
    @keyframes orbit-reverse { from { transform: rotate(360deg) translateX(170px) rotate(-360deg); } to { transform: rotate(0deg) translateX(170px) rotate(0deg); } }
    @keyframes flow-right { 0%, 100% { opacity: 0.4; transform: translateX(0); } 50% { opacity: 1; transform: translateX(4px); } }
    @keyframes flow-down { 0%, 100% { opacity: 0.4; transform: translateY(0); } 50% { opacity: 1; transform: translateY(4px); } }
  
    
    /* ============================================
       ENHANCED ANIMATIONS
       ============================================ */
    
    /* Staggered reveal — disabled, instant show */
    .reveal.active > * {
      opacity: 1;
    }
    
    @keyframes stagger-in {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    /* HUD — no card lift, no glow, no icon zoom */
    .btn.primary {
      position: relative;
      overflow: visible;
    }
    .btn.primary::before { display:none; }
    
    /* Badge hover */
    .badge {
      transition: all 0.2s ease !important;
    }
    
    .badge:hover {
      transform: translateY(-2px);
      background: rgba(0,0,0,0.12);
      border-color: #1d1a3b;
    }
    
    /* Smooth section transitions */
    .section {
      transition: opacity 0.5s ease;
    }
    
    /* Floating animation for hero elements */
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    
    /* Pulse glow for important elements */
    @keyframes glow-pulse {
      0%, 100% { box-shadow: 0 0 20px rgba(22,135,62,0.50); }
      50% { box-shadow: 0 0 40px rgba(22,135,62,1.00); }
    }
    
    /* Gate 3 (ENVELO) special glow */
    [style*="rgba(22,135,62,0.38)"] {
      
    }
    
    /* Smooth scroll indicator fade */
    .scroll-indicator {
      animation: bounce-fade 2s ease-in-out infinite;
    }
    
    @keyframes bounce-fade {
      0%, 100% { opacity: 0.5; transform: translateY(0); }
      50% { opacity: 1; transform: translateY(5px); }
    }
    
    /* Process step connector animation */
    @keyframes flow-right {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }
    
    /* Typing cursor effect for terminal */
    @keyframes blink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0; }
    }
    
    /* Number counter animation prep */
    .counter {
      display: inline-block;
    }
    
    /* Reduce motion for accessibility */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      /* .reveal override removed — premium frost handles reveals */
      .reveal.active > * { animation: none; opacity: 1; }
    }
    
    
    
    /* ============================================
       LIGHT MODE - AGGRESSIVE OVERRIDE
       ============================================ */
    
    /* Kill the dark radial gradient */
    
    /* Make grid subtle */
    
    /* ===== HEADER ===== */
    
    /* ===== ALL TEXT - BRUTE FORCE ===== */
    
    /* Section labels stay purple */
    
    /* Tertiary/muted text */
    
    /* ===== PURPLE ACCENT TEXT ===== */
    
    /* ===== GREEN ACCENT TEXT ===== */
    
    /* ===== ALL CARDS & PANELS ===== */
    
    /* Cards with purple gradient */
    
    /* Cards with green gradient (ENVELO highlight) */
    
    /* ===== TERMINAL/VERIFY WIDGET ===== */
    
    /* ===== BUTTONS ===== */
    
    /* ===== BADGES ===== */
    
    /* ===== INPUTS ===== */
    
    /* ===== SVGS ===== */
    
    /* Purple SVG elements */
    
    /* Green SVG elements */
    
    /* Gate icons in cards */
    
    /* ===== RED/WARNING ===== */
    
    /* ===== AMBER/WARNING ===== */
    
    /* ===== DRAFT BANNER ===== */
    
    /* ===== FOOTER ===== */
    
    /* ===== MOBILE DRAWER ===== */
    
    /* ===== LINKS ===== */
    
    /* But not buttons or nav */
    
    /* ===== LEGAL PAGES ===== */
    
    /* ===== THEME TOGGLE ===== */
    
    
    .theme-toggle:hover {
      border-color: #2a2560 !important;
    }
    
    .theme-toggle svg {
      width: 18px;
      height: 18px;
    }
    
    .theme-toggle .icon-sun { display: none; }
    .theme-toggle .icon-moon { display: block; }
    
    
    /* Accessibility - Skip Link */
    .skip-link {
      position: absolute;
      top: -50px;
      left: 16px;
      background: var(--purple-primary);
      color: #111318;
      padding: 12px 24px;
      border-radius: 8px;
      font-family: var(--mono);
      font-size:14px;
      z-index: 9999;
      transition: top 0.2s ease;
    }
    .skip-link:focus {
      top: 16px;
      outline: 2px solid var(--purple-bright);
      outline-offset: 2px;
    }
    
    /* Focus indicators */
    a:focus, button:focus, input:focus, select:focus, textarea:focus {
      outline: 2px solid var(--purple-bright);
      outline-offset: 2px;
    }
    
    /* Focus visible only for keyboard navigation */
    :focus:not(:focus-visible) {
      outline: none;
    }
    :focus-visible {
      outline: 2px solid var(--purple-bright);
      outline-offset: 2px;
    }
    
    /* ============================================
       MOBILE RESPONSIVE STYLES
       ============================================ */
    
    
    
    
    
    
    
    /* ===== ENVELO + SECURITY DIAGRAMS — MOBILE VERTICAL FLOW ===== */
    /* ===== END DIAGRAM MOBILE FIXES ===== */

    .gov-3col{display:grid;grid-template-columns:repeat(3,1fr);gap:0;text-align:center;}
    .gov-safeguards{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
    /* CAT-72 Process Flow Mobile */
    


      /* Flow Diagram Mobile */
  
    /* Show QR scanner button only on touch/mobile devices */
    
    
    
    

    
    

    
    

    
    /* ── MOBILE DIAGRAM STYLES ── */
    .m-diagram{display:none !important;}
    .m-diagram{--g:92,214,133;--p:157,140,207;--r:214,92,92;--a:214,160,92;}

    @keyframes md-glow{0%,100%{opacity:.5}50%{opacity:1}}
    @keyframes md-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
    @keyframes md-drift{0%,100%{transform:translate(0,0)}33%{transform:translate(2px,-1.5px)}66%{transform:translate(-1.5px,1px)}}
    @keyframes md-flow{0%{background-position:-200% 0}100%{background-position:200% 0}}

    .m-diagram .d-label{display:flex;align-items:center;gap:10px;margin-bottom:20px;}
    .m-diagram .d-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0;}
    .m-diagram .d-dot-g{background:rgba(var(--g),.9);box-shadow:0 0 10px rgba(var(--g),.35);}
    .m-diagram .d-dot-p{background:rgba(var(--p),.9);box-shadow:0 0 10px rgba(var(--p),.35);}
    .m-diagram .d-tag{font-family:var(--mono);font-size:14px;letter-spacing:2.5px;color:var(--text-tertiary);}
    .m-diagram .d-foot{margin-top:20px;padding-top:10px;border-top:1px solid rgba(0,0,0,0.04);font-family:var(--mono);font-size:14px;letter-spacing:2.5px;color:rgba(15,18,30,0.44);text-align:center;}

    /* ═ HERO + SECURITY ORBS ═ */
    .m-diagram .h-flow,.m-diagram .s-flow{display:flex;align-items:center;justify-content:center;padding:12px 0 20px;}
    .m-diagram .h-node{text-align:center;position:relative;}
    .m-diagram .h-orb{position:relative;width:82px;height:82px;margin:0 auto 12px;}
    .m-diagram .h-orb-xl{width:96px;height:96px;}
    .m-diagram .h-atmo{position:absolute;inset:-12px;border-radius:50%;opacity:0;}
    .m-diagram .h-g .h-atmo{background:radial-gradient(circle,rgba(var(--g),.08) 0%,transparent 70%);opacity:1;}
    .m-diagram .h-p .h-atmo{background:radial-gradient(circle,rgba(var(--p),.1) 0%,transparent 70%);opacity:1;}
    .m-diagram .h-ring{position:absolute;inset:0;border-radius:50%;border:1.5px solid;}
    .m-diagram .h-g .h-ring{border-color:rgba(var(--g),.3);}
    .m-diagram .h-p .h-ring{border-color:rgba(var(--p),.3);}
    .m-diagram .h-w .h-ring{border-color:rgba(0,0,0,0.15);}
    .m-diagram .h-fill{position:absolute;inset:3px;border-radius:50%;}
    .m-diagram .h-g .h-fill{background:radial-gradient(circle at 35% 30%,rgba(var(--g),.14) 0%,rgba(var(--g),.02) 50%,transparent 100%);}
    .m-diagram .h-p .h-fill{background:radial-gradient(circle at 35% 30%,rgba(var(--p),.16) 0%,rgba(var(--p),.03) 50%,transparent 100%);}
    .m-diagram .h-w .h-fill{background:radial-gradient(circle at 35% 30%,rgba(0,0,0,0.06) 0%,transparent 70%);}
    .m-diagram .h-detail{position:absolute;inset:10px;border-radius:50%;border:.5px solid rgba(0,0,0,0.06);}
    .m-diagram .h-core{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:6px;height:6px;border-radius:50%;}
    .m-diagram .h-g .h-core{background:rgba(var(--g),.95);box-shadow:0 0 14px rgba(var(--g),.5),0 0 4px rgba(var(--g),.9);}
    .m-diagram .h-p .h-core{background:rgba(var(--p),.95);box-shadow:0 0 14px rgba(var(--p),.5),0 0 4px rgba(var(--p),.9);}
    .m-diagram .h-w .h-core{background:rgba(0,0,0,0.14);box-shadow:0 0 10px rgba(0,0,0,0.42);}
    .m-diagram .h-orbit{position:absolute;inset:-10px;border-radius:50%;border:1px solid rgba(var(--p),.06);animation:md-spin 40s linear infinite;}
    .m-diagram .h-orbit::before{content:'';position:absolute;top:-2px;left:50%;width:3px;height:3px;border-radius:50%;background:rgba(var(--p),.6);box-shadow:0 0 6px rgba(var(--p),.4);transform:translateX(-50%);}
    .m-diagram .h-orbit-2{position:absolute;inset:-4px;border-radius:50%;border:.5px dashed rgba(var(--p),.06);animation:md-spin 60s linear infinite reverse;}
    .m-diagram .h-name{font-family:var(--mono);font-size:14px;letter-spacing:2px;font-weight:500;display:block;}
    .m-diagram .h-g .h-name{color:rgba(var(--g),.95);}
    .m-diagram .h-p .h-name{color:rgba(var(--p),.95);}
    .m-diagram .h-w .h-name{color:var(--text-secondary);}
    .m-diagram .h-sub{font-family:var(--mono);font-size:14px;letter-spacing:2px;color:rgba(var(--p),.4);display:block;margin-top:2px;}
    .m-diagram .h-conn{width:32px;height:2px;position:relative;margin:0 4px;margin-bottom:28px;}
    .m-diagram .h-conn-bg{position:absolute;inset:0;background:rgba(var(--p),.06);border-radius:1px;}
    .m-diagram .h-conn-flow{position:absolute;inset:0;border-radius:1px;background:linear-gradient(90deg,transparent 0%,rgba(var(--p),.35) 50%,transparent 100%);background-size:200% 100%;animation:md-flow 2.5s ease-in-out infinite;}
    .m-diagram .h-conn-tip{position:absolute;right:-3px;top:50%;transform:translateY(-50%);width:0;height:0;border-top:3.5px solid transparent;border-bottom:3.5px solid transparent;border-left:5px solid rgba(var(--p),.2);}
    .m-diagram .h-vrow{display:flex;justify-content:center;gap:8px;}
    .m-diagram .h-v{display:flex;align-items:center;gap:6px;font-family:var(--mono);font-size:14px;letter-spacing:2px;font-weight:500;padding:7px 14px;border:1px solid;border-radius:3px;position:relative;overflow:hidden;}
    .m-diagram .h-v::before{content:'';position:absolute;inset:0;opacity:.03;}
    .m-diagram .h-vd{width:5px;height:5px;border-radius:50%;}
    .m-diagram .h-vg{border-color:rgba(var(--g),.2);color:rgba(var(--g),.9);}
    .m-diagram .h-vg::before{background:rgb(var(--g));}
    .m-diagram .h-vg .h-vd{background:rgb(var(--g));box-shadow:0 0 8px rgba(var(--g),.5);}
    .m-diagram .h-va{border-color:rgba(var(--a),.2);color:rgba(var(--a),.9);}
    .m-diagram .h-va::before{background:rgb(var(--a));}
    .m-diagram .h-va .h-vd{background:rgb(var(--a));box-shadow:0 0 8px rgba(var(--a),.5);}
    .m-diagram .h-vr{border-color:rgba(var(--r),.2);color:rgba(var(--r),.9);}
    .m-diagram .h-vr::before{background:rgb(var(--r));}
    .m-diagram .h-vr .h-vd{background:rgb(var(--r));box-shadow:0 0 8px rgba(var(--r),.5);}

    /* ═ ENVELO PIPELINE ═ */
    .m-diagram .e-pipe{display:flex;align-items:center;justify-content:center;padding:8px 0 18px;}
    .m-diagram .e-node{text-align:center;padding:0 8px;}
    .m-diagram .e-node-core{background:rgba(var(--p),.03);border:1px solid rgba(var(--p),.06);border-radius:8px;padding:10px 12px;}
    .m-diagram .e-icon{font-size:24px;margin-bottom:4px;display:block;line-height:1;}
    .m-diagram .e-icon svg{width:24px;height:24px;display:block;margin:0 auto;}
    .m-diagram .e-nm{font-family:var(--mono);font-size:14px;letter-spacing:2px;font-weight:500;color:var(--text-secondary);display:block;}
    .m-diagram .e-ds{font-family:var(--mono);font-size:7.5px;color:var(--text-tertiary);display:block;margin-top:2px;}
    .m-diagram .e-arrow{width:20px;display:flex;align-items:center;gap:1px;}
    .m-diagram .e-aline{width:12px;height:1px;background:linear-gradient(90deg,transparent,rgba(var(--p),.15));}
    .m-diagram .e-atip{width:0;height:0;border-top:3px solid transparent;border-bottom:3px solid transparent;border-left:4px solid rgba(var(--p),.2);}
    .m-diagram .e-tiers{display:flex;flex-direction:column;gap:5px;}
    .m-diagram .e-tier{display:flex;border-radius:4px;overflow:hidden;}
    .m-diagram .e-bar{width:4px;flex-shrink:0;}
    .m-diagram .e-tg .e-bar{background:linear-gradient(180deg,rgba(var(--g),.85),rgba(var(--g),.35));}
    .m-diagram .e-ta .e-bar{background:linear-gradient(180deg,rgba(var(--a),.85),rgba(var(--a),.35));}
    .m-diagram .e-tr .e-bar{background:linear-gradient(180deg,rgba(var(--r),.85),rgba(var(--r),.35));}
    .m-diagram .e-body{flex:1;padding:9px 14px;background:rgba(0,0,0,0.02);font-family:var(--mono);font-size:8.5px;color:var(--text-tertiary);line-height:1.5;}
    .m-diagram .e-tl{font-weight:600;letter-spacing:2px;margin-right:8px;}
    .m-diagram .e-tg .e-tl{color:rgba(var(--g),.9);}
    .m-diagram .e-ta .e-tl{color:rgba(var(--a),.9);}
    .m-diagram .e-tr .e-tl{color:rgba(var(--r),.9);}

    /* ═ SECURITY EXTRAS ═ */
    .m-diagram .s-flow{padding:12px 0 16px;}
    .m-diagram .s-badge{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-family:var(--mono);font-size:5.5px;letter-spacing:1.5px;color:rgba(var(--p),.35);white-space:nowrap;padding:2px 6px;border:1px solid rgba(var(--p),.06);border-radius:2px;background:var(--bg-deep);}
    .m-diagram .s-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px;}
    .m-diagram .s-item{font-family:var(--mono);font-size:7.5px;letter-spacing:1px;padding:6px 10px;border-radius:3px;display:flex;align-items:center;gap:5px;}
    .m-diagram .s-deny{color:rgba(var(--r),.8);background:rgba(var(--r),.025);border:1px solid rgba(var(--r),.1);}
    .m-diagram .s-allow{color:rgba(var(--g),.8);background:rgba(var(--g),.025);border:1px solid rgba(var(--g),.1);}
    .m-diagram .s-item>span{font-size:14px;font-weight:600;}
    .m-diagram .s-gap{height:5px;}

    /* ═ CAT-72 RINGS ═ */
    .m-diagram .c-container{display:flex;justify-content:center;padding:10px 0 18px;}
    .m-diagram .c-wall{width:226px;height:226px;border-radius:50%;border:2px solid rgba(var(--r),.3);box-shadow:0 0 40px rgba(var(--r),.05),inset 0 0 30px rgba(var(--r),.02);display:flex;align-items:center;justify-content:center;position:relative;}
    .m-diagram .c-mrc{width:180px;height:180px;border-radius:50%;border:1px solid rgba(var(--r),.15);display:flex;align-items:center;justify-content:center;position:relative;}
    .m-diagram .c-warn{width:134px;height:134px;border-radius:50%;border:1px dashed rgba(var(--a),.2);display:flex;align-items:center;justify-content:center;position:relative;background:radial-gradient(circle,rgba(var(--a),.015) 0%,transparent 70%);}
    .m-diagram .c-odd{width:88px;height:88px;border-radius:50%;border:1.5px solid rgba(var(--g),.25);background:radial-gradient(circle at 35% 30%,rgba(var(--g),.07) 0%,rgba(var(--g),.015) 50%,transparent 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 0 24px rgba(var(--g),.04),inset 0 0 20px rgba(var(--g),.02);}
    .m-diagram .c-label{position:absolute;top:-8px;left:50%;transform:translateX(-50%);font-family:var(--mono);font-size:14px;letter-spacing:1.5px;font-weight:500;padding:1px 7px;background:var(--bg-deep);white-space:nowrap;}
    .m-diagram .c-wall>.c-label{color:rgba(var(--r),.65);}
    .m-diagram .c-mrc>.c-label{color:rgba(var(--r),.4);}
    .m-diagram .c-warn>.c-label{color:rgba(var(--a),.5);}
    .m-diagram .c-odd-text{font-family:var(--mono);font-size:14px;letter-spacing:3px;font-weight:600;color:rgba(var(--g),.75);}
    .m-diagram .c-agents{position:relative;width:48px;height:36px;margin-top:4px;}
    .m-diagram .c-dot{position:absolute;width:4px;height:4px;border-radius:50%;background:rgba(var(--g),.65);box-shadow:0 0 6px rgba(var(--g),.3);animation:md-drift 5s ease-in-out infinite;font-style:normal;}
    .m-diagram .c-dot:nth-child(1){top:4px;left:8px;animation-delay:0s}
    .m-diagram .c-dot:nth-child(2){top:16px;left:24px;animation-delay:.7s}
    .m-diagram .c-dot:nth-child(3){top:6px;left:32px;animation-delay:1.4s}
    .m-diagram .c-dot:nth-child(4){top:24px;left:12px;animation-delay:2.1s}
    .m-diagram .c-dot:nth-child(5){top:12px;left:20px;animation-delay:.35s}
    .m-diagram .c-dot:nth-child(6){top:22px;left:30px;animation-delay:1.05s}
    .m-diagram .c-dot-a{background:rgba(var(--a),.85) !important;box-shadow:0 0 10px rgba(var(--a),.5) !important;width:5px !important;height:5px !important;}
    .m-diagram .c-dot-r{background:rgba(var(--r),.85) !important;box-shadow:0 0 10px rgba(var(--r),.5) !important;width:5px !important;height:5px !important;}
    .m-diagram .c-legend{display:flex;justify-content:center;gap:16px;font-family:var(--mono);font-size:14px;color:var(--text-tertiary);}
    .m-diagram .c-legend>div{display:flex;align-items:center;gap:5px;}
    .m-diagram .c-ld{width:5px;height:5px;border-radius:50%;}
    .m-diagram .c-ldg{background:rgba(var(--g),.65);box-shadow:0 0 5px rgba(var(--g),.3);}
    .m-diagram .c-lda{background:rgba(var(--a),.65);box-shadow:0 0 5px rgba(var(--a),.3);}
    .m-diagram .c-ldr{background:rgba(var(--r),.65);box-shadow:0 0 5px rgba(var(--r),.3);}

    /* ═ PROCESS TIMELINE ═ */
    .m-diagram .p-timeline{padding:6px 0;}
    .m-diagram .p-step{display:flex;align-items:stretch;gap:16px;min-height:54px;}
    .m-diagram .p-track{display:flex;flex-direction:column;align-items:center;width:34px;flex-shrink:0;}
    .m-diagram .p-marker{width:34px;height:34px;border-radius:50%;border:1.5px solid;display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:14px;letter-spacing:1.5px;font-weight:500;flex-shrink:0;position:relative;z-index:2;}
    .m-diagram .p-mp{border-color:rgba(var(--p),.35);color:rgba(var(--p),.95);background:rgba(var(--p),.05);box-shadow:0 0 12px rgba(var(--p),.08);}
    .m-diagram .p-mt{border-color:rgba(0,0,0,0.12);color:var(--text-tertiary);background:rgba(0,0,0,0.02);}
    .m-diagram .p-mg{border-color:rgba(var(--g),.35);color:rgba(var(--g),.95);background:rgba(var(--g),.05);box-shadow:0 0 12px rgba(var(--g),.08);}
    .m-diagram .p-line{width:1.5px;flex:1;}
    .m-diagram .p-lp{background:linear-gradient(180deg,rgba(var(--p),.18),rgba(var(--p),.04));}
    .m-diagram .p-lt{background:rgba(0,0,0,0.04);}
    .m-diagram .p-info{padding:7px 0 18px;}
    .m-diagram .p-title{font-family:var(--mono);font-size:14px;letter-spacing:3px;font-weight:500;color:var(--text-primary);margin-bottom:3px;}
    .m-diagram .p-desc{font-family:var(--mono);font-size:8.5px;color:var(--text-tertiary);line-height:1.4;}

    /* ═ LANDSCAPE ═ */
    @media (max-height:500px) and (orientation:landscape) {
      .m-diagram .h-orb{width:42px;height:42px;}
      .m-diagram .h-orb-xl{width:50px;height:50px;}
      .m-diagram .h-conn{width:22px;margin-bottom:20px;}
      .m-diagram .h-v{padding:5px 10px;font-size:14px;}
      .m-diagram .e-pipe{padding:4px 0 12px;}
      .m-diagram .e-icon{font-size:18px;}
      .m-diagram .e-icon svg{width:18px;height:18px;}
      .m-diagram .c-wall{width:164px;height:164px;}
      .m-diagram .c-mrc{width:130px;height:130px;}
      .m-diagram .c-warn{width:97px;height:97px;}
      .m-diagram .c-odd{width:64px;height:64px;}
      .m-diagram .c-odd-text{font-size:14px;}
      .m-diagram .p-marker{width:26px;height:26px;font-size:14px;}
      .m-diagram .p-step{min-height:42px;gap:12px;}
      .m-diagram .p-info{padding:5px 0 12px;}
      .m-diagram .p-title{font-size:14px;}
    }
    /* ── END MOBILE DIAGRAM STYLES ── */

    
    /* ══ LIGHT MODE GLOBAL OVERRIDES ══ */
    
    /* Force dark text everywhere as baseline */
    html { background: #ffffff !important; }
    
    /* Links hover — darken instead of brighten */
    /* brightness hover removed */
    
    /* Purple buttons — preserve white text */
    [style*="background: var(--purple-primary)"],
    [style*="background:var(--purple-primary)"],
    [style*="4a3d75"], [style*="5B4B8A"] {
      color: #fff !important;
    }
    [style*="background: var(--purple-primary)"] *,
    [style*="background:var(--purple-primary)"] * {
      color: #fff !important;
    }
    
    /* Canvas containers — slight warm tint instead of black */
    canvas {
      background: transparent !important;
    }
/* — Merged blocks — */
#sa-boot { display:none !important; 
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
#sa-boot.done { opacity: 0; pointer-events: none; }
#sa-boot pre {
  font-family: var(--mono);
  font-size:14px;
  letter-spacing: 1px;
  color: rgba(15,18,30,0.70);
  line-height: 2.2;
  text-align: left;
}
#sa-boot .cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: #1d1a3b;
  animation: blink-cursor 0.6s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink-cursor { 0%,100%{opacity:1} 50%{opacity:0} }

.hud-frame > i::before, .hud-frame > i::after {
  transition: width 0.5s cubic-bezier(0.22,1,0.36,1),
              height 0.5s cubic-bezier(0.22,1,0.36,1) !important;
}
.hud-frame:not(.brackets-in) > i::before,
.hud-frame:not(.brackets-in) > i::after {
  width: 0px !important;
  height: 0px !important;
}
.hud-frame.brackets-in > i::before,
.hud-frame.brackets-in > i::after {
  width: 12px !important;
  height: 12px !important;
}
@media (max-width: 768px) {
  .hero > div:first-child {
    flex-direction: column !important;
    padding: 60px 20px 60px !important;
    gap: 40px !important;
  }
}
.cert-stack-1 { display:none; }
.cert-stack-2 { display:none; }
.cert-active-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(22,135,62,0.90);
}
.hud-cta-primary {
  position: relative;
  font-family: var(--mono);
  font-size:14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1d1a3b;
  text-decoration: none;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.hud-cta-primary > i {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hud-cta-primary > i::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-top: 1px solid rgba(61,50,98,0.50);
  border-left: 1px solid rgba(61,50,98,0.50);
}
.hud-cta-primary > i::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 14px; height: 14px;
  border-bottom: 1px solid rgba(61,50,98,0.50);
  border-right: 1px solid rgba(61,50,98,0.50);
}
.hud-cta-primary:hover {
  color: #1d1a3b;
}
.hud-cta-primary:hover > i::before,
.hud-cta-primary:hover > i::after {
  border-color: rgba(61,50,98,0.90);
}
.hud-cta-primary span {
  opacity: 0.55;
  transition: opacity 0.2s;
}
.hud-cta-primary:hover span {
  opacity: 1;
}

.hud-cta-secondary {
  font-family: var(--mono);
  font-size:14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(15,18,30,0.38);
  text-decoration: none;
  transition: color 0.2s;
}
.hud-cta-secondary:hover {
  color: rgba(15,18,30,0.70);
}
.nav-signin {
  position: relative;
  font-family: var(--mono);
  font-size:11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1d1a3b;
  padding: 6px 16px;
  border: none;
  transition: color 0.2s;
  margin-left: 12px;
}
.nav-signin > i {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.nav-signin > i::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-top: 1px solid rgba(61,50,98,0.35);
  border-left: 1px solid rgba(61,50,98,0.35);
  transition: border-color 0.2s;
}
.nav-signin > i::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 8px; height: 8px;
  border-bottom: 1px solid rgba(61,50,98,0.35);
  border-right: 1px solid rgba(61,50,98,0.35);
  transition: border-color 0.2s;
}
.nav-signin:hover > i::before,
.nav-signin:hover > i::after {
  border-color: rgba(61,50,98,0.80);
}
/* Premium Frost System — single source of truth */
:root{
  --hairline: rgba(15,18,30,0.08);
  --hairline-2: rgba(15,18,30,0.12);
  --glass-bg: rgba(255,255,255,0.58);
  --glass-border: rgba(255,255,255,0.45);
  --glass-inset: rgba(255,255,255,0.35);
  --glass-shadow-1: rgba(15,18,30,0.04);
  --glass-shadow-2: rgba(15,18,30,0.06);
}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;}
body{background:#ffffff;}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--bg);}

.glass{background:var(--glass-bg);backdrop--webkit-backdrop-border:1px solid var(--glass-border);box-shadow:0 0 0 1px var(--glass-inset) inset,0 2px 6px var(--glass-shadow-1),0 18px 60px var(--glass-shadow-2);border-radius:16px;}
.glass:hover{box-shadow:0 0 0 1px rgba(255,255,255,0.40) inset,0 6px 20px rgba(15,18,30,0.05),0 24px 80px rgba(15,18,30,0.08);}

.site-header,header,.nav-bar{background:#ffffff!important;border-bottom:1px solid rgba(0,0,0,0.08)!important;}
.brand-name { display: none; }
.nav-links a{color:rgba(15,18,30,0.75)!important;}
.nav-links a.active{color:#1d1a3b!important;}

.nav-drawer{background:rgba(255,255,255,0.98)!important;border-left:1px solid rgba(0,0,0,0.08)!important;box-shadow:-8px 0 32px rgba(0,0,0,0.08)!important;}
.nav-drawer a{color:rgba(15,18,30,0.72)!important;font-family:var(--mono);font-size:11px;letter-spacing:2px;}
.nav-drawer a:hover{color:rgba(42,37,96,1)!important;background:rgba(42,37,96,0.04)!important;}
.nav-drawer a.active{color:rgba(42,37,96,1)!important;}
.nav-drawer .nav-signin{color:#1d1a3b!important;border-top:1px solid rgba(0,0,0,0.06)!important;margin-top:8px!important;}

.section{border-top:1px solid var(--hairline)!important;}
.section-head{background:rgba(255,255,255,0.45)!important;backdrop--webkit-backdrop-border-radius:16px!important;padding:28px 24px!important;text-align:left!important;}
.section-lead{margin-left:0!important;margin-right:auto!important;}
.hud-frame .hud-title,.hud-frame .hud-desc,.hud-frame .hud-row{text-align:left!important;}

.hud-frame{border-radius:16px!important;border:1px solid var(--hairline)!important;background:rgba(255,255,255,0.40);backdrop--webkit-backdrop-}
.hud-frame::before,.hud-frame::after,.hud-frame>i::before,.hud-frame>i::after{border-color:rgba(15,18,30,0.10)!important;}
.hud-frame>i::before,.hud-frame>i::after{border-width:0.5px!important;opacity:0.5!important;}

.reveal .hud-frame:nth-child(1){transition-delay:0ms;}
.reveal .hud-frame:nth-child(2){transition-delay:80ms;}
.reveal .hud-frame:nth-child(3){transition-delay:160ms;}
.reveal .hud-frame:nth-child(4){transition-delay:240ms;}
.reveal .hud-frame:nth-child(5){transition-delay:320ms;}
.reveal .hud-frame:nth-child(6){transition-delay:400ms;}
.hud-frame{opacity:0;transform:translateY(12px);transition:opacity 0.6s cubic-bezier(0.22,1,0.36,1),transform 0.6s cubic-bezier(0.22,1,0.36,1)!important;}
.reveal.in-view .hud-frame,.reveal.active .hud-frame{opacity:1;transform:translateY(0);}
.hud-frame:hover{transform:translateY(-1px)!important;}

a:hover{filter:none!important;text-decoration:none;}
.nav-links a:hover,.hud-link:hover,.doc-link:hover,.verify-link:hover,.contact-link:hover{filter:none!important;color:#1d1a3b;}

#envelo-canvas,#security-canvas,#cat72-canvas,#process-canvas,canvas{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;box-shadow:none!important;}

.reveal{opacity:0;transform:translateY(8px);transition:opacity .35s ease,transform .35s ease;}
.reveal.active{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1!important;transform:none!important;transition:none!important;}}

h1{letter-spacing:-0.04em!important;}
.section-title{letter-spacing:-0.04em!important;font-weight:300!important;}
.section-lead{font-size:16px!important;line-height:1.8!important;max-width:62ch!important;}
footer{border-top:1px solid var(--hairline)!important;}

.guarantee-box,.fee-card,.process-card,.artifact-card,.cert-card,.research-card{background:rgba(255,255,255,0.65)!important;backdrop--webkit-backdrop-border:1px solid rgba(15,18,30,0.06)!important;box-shadow:0 1px 2px rgba(15,18,30,0.03),0 4px 16px rgba(15,18,30,0.02)!important;}
.verify-panel,#verify-result,#search-result{background:rgba(255,255,255,0.70)!important;backdrop--webkit-backdrop-}

::selection { background: var(--accent); color: #fff; }
.sa-cursor, .sa-ring, .sa-progress { display: none !important; pointer-events: none !important; }
.sa-particles,.sa-noise,.sa-vignette,.hud-shimmer{display:none!important}
.hud-scanline::before,.hud-scanline::after { display:none; }
.section-title,.section-label,.hud-title,.hud-label,.hud-desc,.hud-link,.hud-num,h1,h2,h3,p,span,a,div{text-shadow:none!important}
.section-title.glow{text-shadow:none!important;filter:none!important}
.section-title{letter-spacing:-0.03em!important}
.section-lead{max-width:580px!important;margin-left:0!important;margin-right:auto!important;line-height:1.75!important}
.hud-title{font-size:15px!important}
.hud-desc{line-height:1.7!important}
.section{padding-top:16px!important;padding-bottom:16px!important}

/* Flow Diagram Mobile */
  
    /* Conformance States Mobile */

  
    /* Timeline Mobile */
    .timeline-desktop { display: block; }
    .timeline-mobile { display: none !important; }

  
    /* Verify & API Sections Mobile */

  
    /* API Code Box Mobile */

  
    /* Mechanism Flow Diagram */
    .mechanism-desktop { display: block; }
    .mechanism-mobile { display: none; }

  
    /* Show QR scanner button only on touch/mobile devices */

    /* ===== MOBILE HERO LAYOUT FIX (PORTRAIT) ===== */
    /* ===== MOBILE HERO LAYOUT FIX (LANDSCAPE) ===== */

@media (max-width: 600px) {
  .diagram-well { padding: 24px 0; }
  .diagram-well svg { width: 100% !important; height: auto !important; }
  a[href="scenarios.html"], a[href="/conformance.html"] {
    display: inline-flex !important;
    width: auto !important;
    max-width: fit-content !important;
    align-self: center !important;
  }
}

@media (max-width: 768px) {
  .section-head { margin-bottom: 8px !important; }
  .diagram-well { padding: 12px 0 !important; }
}

    /* ── Nav bar ── */
    .site-header {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 50;
      height: var(--nav-height, 72px);
      background: #ffffff;
      border-bottom: 1px solid rgba(0,0,0,0.08);
      display: flex;
      align-items: center;
      padding: 0 24px;
    }
    .nav-inner {
      max-width: var(--max, 1320px);
      margin: 0 auto;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .brand {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      text-decoration: none;
    }
    .brand:hover { opacity: 0.8; }
    .brand-mark { display: none; }
    .brand-name { display: none; }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      flex: 1;
      justify-content: center;
    }
    .nav-links a {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing:0.06em;
      color: rgba(15,16,33,0.6);
      text-decoration: none;
      white-space: nowrap;
      transition: color 150ms ease;
    }
    .nav-links a:hover,
    .nav-links a.active { color: var(--ink); }
    .nav-signin {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 1.5px;
      color: var(--ink);
      text-decoration: none;
      border: 1px solid rgba(15,16,33,0.25);
      padding: 7px 14px;
      border-radius: 4px;
      flex-shrink: 0;
      transition: border-color 150ms ease;
      white-space: nowrap;
    }
    .nav-signin:hover { border-color: rgba(15,16,33,0.6); }
    .nav-signin > i { display: none; }
    .nav-toggle {
      display: none;
      appearance: none;
      background: none;
      border: 1px solid rgba(15,16,33,0.2);
      border-radius: 4px;
      padding: 8px;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
      width: 36px;
      height: 36px;
      align-items: center;
      justify-content: center;
    }
    .nav-toggle span {
      display: block;
      width: 16px;
      height: 1.5px;
      background: var(--ink);
      border-radius: 1px;
    }
    .nav-badge { display: none; }
    @media (max-width: 768px) {
      .nav-links { display: none !important; }
      .nav-signin { display: none !important; }
      .nav-toggle { display: flex !important; }
      .brand svg { width: min(340px, 80vw) !important; height: auto !important; }
    }