  :root {
    --ink: #180f26;
    --paper: #191127;
    --gold: #883CF0;
    --rust: #7c3aed;
    --teal: #b29dce;
    --pale: #e8e2d4;
    --muted: #d6d6d6;
    --line: #3a1c632c;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Syne', sans-serif;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom cursor */
  #cursor {
    position: fixed; top: 0; left: 0;
    width: 10px; height: 10px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s, width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: multiply;
  }
  #cursor.big { width: 40px; height: 40px; background: var(--gold); }

  /* Noise overlay */
  body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9998; opacity: 0.6;
  }

  /* ─── HERO ─── */
  #hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    border-bottom: 2px solid #3a1c63;
  }

  .hero-left {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 2px solid #3a1c63;
  }

  .badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 40px;
  }
  .badge::before {
    content: ''; display: block;
    width: 28px; height: 2px;
    background: var(--rust);
  }

  h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(52px, 7vw, 96px);
    line-height: 0.95;
    margin-bottom: 32px;
    color:#fff;
  }
  h1 em { font-style: italic; color: var(--rust); }

  .hero-desc {
    font-size: 16px; line-height: 1.7;
    color: var(--muted);
    max-width: 420px;
    margin-bottom: 48px;
  }

  .cta-row { display: flex; gap: 16px; align-items: center; }

  .btn-primary {
    padding: 14px 32px;
    background: var(--ink);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    border: 2px solid #3a1c63;
    cursor: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--rust); border-color: var(--rust); }

  .btn-ghost {
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    border: 2px solid #3a1c63;
    cursor: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
  }
  .btn-ghost:hover { background: var(--gold); border-color: var(--gold); }

  /* Hero right — live demo */
  .hero-right {
    display: flex; align-items: center; justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
    background: var(--ink);
  }

  .hero-right .grid-bg {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  .terminal {
    position: relative; z-index: 1;
    width: 100%; max-width: 380px;
    background: #23133a;
    border: 1px solid #3a1c63;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    animation: floatup 4s ease-in-out infinite;
  }

  @keyframes floatup {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }

  .term-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px;
    background: #2a1647;
    border-bottom: 1px solid #3a1c63;
  }
  .dot { width: 10px; height: 10px; border-radius: 50%; }
  .dot.r { background: #ff5f57; }
  .dot.y { background: #febc2e; }
  .dot.g { background: #28c840; }
  .term-title { margin-left: auto; font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.3); }

  .term-body { padding: 24px; }

  .term-line {
    font-family: 'DM Mono', monospace;
    font-size: 13px; line-height: 2;
    opacity: 0;
    animation: appear 0.5s forwards;
  }
  .term-line.prompt { color: var(--gold); }
  .term-line.ok { color: #28c840; }
  .term-line.info { color: rgba(255,255,255,0.5); }
  .term-line.warn { color: var(--rust); }

  .term-line:nth-child(1) { animation-delay: 0.3s; }
  .term-line:nth-child(2) { animation-delay: 0.8s; }
  .term-line:nth-child(3) { animation-delay: 1.5s; }
  .term-line:nth-child(4) { animation-delay: 2.2s; }
  .term-line:nth-child(5) { animation-delay: 3.0s; }
  .term-line:nth-child(6) { animation-delay: 3.8s; }

  @keyframes appear { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

  .cursor-blink {
    display: inline-block; width: 8px; height: 14px;
    background: var(--gold); vertical-align: middle;
    animation: blink 1s step-end infinite;
  }
  @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

  /* stats strip */
  .stat-strip {
    display: flex;
    border-bottom: 2px solid #3a1c63;
  }
  .stat-item {
    flex: 1; padding: 32px 40px;
    border-right: 2px solid #3a1c63;
    position: relative;
    overflow: hidden;
  }
  .stat-item:last-child { border-right: none; }
  .stat-item::before {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--rust);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  .stat-item:hover::before { transform: scaleX(1); }

  .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 48px; line-height: 1;
    margin-bottom: 8px;
    color:#fff;
  }
  .stat-label {
    font-family: 'DM Mono', monospace;
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--muted);
  }

  /* ─── SECTION HEADER ─── */
  .section-head {
    padding: 80px 80px 60px;
    border-bottom: 2px solid #3a1c63;
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 40px;
  }
  .section-head h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    max-width: 600px;
    color:#fff;
  }
  .section-head p {
    font-size: 15px; line-height: 1.7;
    color: var(--muted); max-width: 320px; text-align: right;
  }

  /* ─── FACTORS GRID ─── */
  .factors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 2px solid #3a1c63;
  }

  .factor-card {
    padding: 56px 48px;
    border-right: 2px solid #3a1c63;
    position: relative; overflow: hidden;
    transition: background 0.3s;
    cursor: none;
  }
  .factor-card:last-child { border-right: none; }
  .factor-card:hover { background: #1f1232; color: var(--paper); }
  .factor-card:hover .factor-icon { border-color: #3a1c63; color: var(--paper); }
  .factor-card:hover .factor-label { color: var(--gold); }
  .factor-card:hover p { color: rgba(244, 240, 232, 0.683); }

  .factor-num {
    font-family: 'DM Mono', monospace;
    font-size: 11px; letter-spacing: 0.2em;
    color: var(--muted); margin-bottom: 32px;
    transition: color 0.3s;
  }
  .factor-card:hover .factor-num { color: rgba(255, 255, 255, 0.77); }

  .factor-icon {
    width: 56px; height: 56px;
    border: 2px solid #3a1c63;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 28px;
    transition: all 0.3s;
  }

  .factor-label {
    font-size: 22px; font-weight: 800;
    margin-bottom: 16px; transition: color 0.3s;
    color:#fff;
  }
  .factor-card p {
    font-size: 14px; line-height: 1.7;
    color: var(--muted); transition: color 0.3s;
  }

  .factor-bg-text {
    position: absolute; bottom: -20px; right: -10px;
    font-family: 'DM Serif Display', serif;
    font-size: 120px; font-weight: 700;
    opacity: 0.04; line-height: 1; pointer-events: none;
    transition: opacity 0.3s;
  }
  .factor-card:hover .factor-bg-text { opacity: 0.08; }

  /* ─── INTERACTIVE DEMO ─── */
  #demo {
    padding: 80px;
    background: var(--ink);
    color: #fff;
    border-bottom: 2px solid var(--gold);
  }

  .demo-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 60px;
  }
  .demo-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.1;
    color:#fff;
  }
  .demo-header h2 em { font-style: italic; color: var(--gold); }

  .demo-steps {
    display: flex; gap: 4px;
    margin-bottom: 48px;
  }
  .step-dot {
    width: 32px; height: 4px;
    background: rgba(255,255,255,0.15);
    cursor: none; transition: background 0.3s;
  }
  .step-dot.active { background: var(--gold); }
  .step-dot.done { background: var(--teal); }

  .demo-stage {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: start;
  }

  .demo-panel {
    background: #0f0818;
    border: 1px solid #3a1c63;
    padding: 40px;
    min-height: 360px;
    position: relative;
  }

  .demo-step { display: none; }
  .demo-step.active { display: block; }

  .demo-step h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 28px; margin-bottom: 8px;
  }
  .demo-step .step-sub {
    font-family: 'DM Mono', monospace;
    font-size: 11px; color: var(--gold); letter-spacing: 0.15em;
    text-transform: uppercase; margin-bottom: 24px;
  }

  .input-group { margin-bottom: 20px; }
  .input-group label {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin-bottom: 8px;
  }
  .input-group input {
    width: 100%; padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #3a1c63;
    color: var(--paper);
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    outline: none; transition: border-color 0.2s;
    cursor: none;
  }
  .input-group input:focus { border-color: var(--gold); }
  .input-group input::placeholder { color: rgba(255,255,255,0.2); }

  .otp-row { display: flex; gap: 8px; }
  .otp-box {
    flex: 1; padding: 16px 8px;
    background: rgba(234, 226, 226, 0.904);
    border: 1px solid #3a1c63;
    color: var(--paper);
    font-family: 'DM Mono', monospace;
    font-size: 22px; font-weight: 700;
    text-align: center;
    outline: none; transition: border-color 0.2s;
    cursor: none;
  }
  .otp-box:focus { border-color: var(--gold); background: rgba(236, 236, 236, 0.686); }

  .btn-demo {
    width: 100%; padding: 14px;
    background: var(--gold);
    color: var(--ink);
    font-family: 'Syne', sans-serif;
    font-size: 13px; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase;
    border: none; cursor: none;
    transition: all 0.2s; margin-top: 24px;
  }
  .btn-demo:hover { background: #fff; }

  .biometric-circle {
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 2px solid #3a1c63;
    margin: 20px auto;
    display: flex; align-items: center; justify-content: center;
    font-size: 64px; position: relative;
    cursor: none;
    transition: all 0.3s;
  }
  .biometric-circle::before {
    content: '';
    position: absolute; inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--gold);
    animation: spin 2s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .biometric-circle.scanning { border-color: var(--gold); box-shadow: 0 0 40px #c24fec17; }
  .biometric-circle.verified { border-color: #28c840; box-shadow: 0 0 40px rgba(40,200,64,0.3); }
  .biometric-circle.verified::before { border-top-color: #28c840; }

  .scan-btn {
    display: block; width: 100%;
    padding: 14px; margin-top: 24px;
    background: transparent;
    border: 1px solid #3a1c63;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    cursor: none; transition: all 0.3s;
    text-align: center;
  }
  .scan-btn:hover { border-color: var(--gold); color: var(--gold); }

  .success-screen {
    text-align: center; padding: 20px 0;
  }
  .checkmark-circle {
    width: 80px; height: 80px;
    background: rgba(40,200,64,0.1);
    border: 2px solid #28c840;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; margin: 0 auto 24px;
    animation: pop 0.5s ease;
  }
  @keyframes pop { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

  .success-screen h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px; color: #28c840; margin-bottom: 12px;
  }
  .success-screen p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; }

  .btn-restart {
    margin-top: 24px; padding: 12px 24px;
    background: transparent;
    border: 1px solid #3a1c63;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    cursor: none; transition: all 0.3s;
  }
  .btn-restart:hover { border-color: var(--gold); color: var(--gold); }

  /* demo info panel */
  .demo-info { padding: 12px 0; }
  .info-block {
    padding: 24px 0;
    border-bottom: 1px solid #3a1c63;
  }
  .info-block:last-child { border-bottom: none; }
  .info-block .tag {
    font-family: 'DM Mono', monospace;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--rust); margin-bottom: 8px;
  }
  .info-block p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); }

  /* ─── METHODS STRIP ─── */
  .methods-section { border-bottom: 2px solid #3a1c63; }

  .methods-head {
    padding: 60px 80px 40px;
    border-bottom: 2px solid #3a1c63;
  }
  .methods-head h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 54px);
    color:#fff;
  }

  .method-row {
    display: grid; grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 28px 80px;
    border-bottom: 1px solid #3a1c63;
    cursor: none;
    transition: background 0.2s;
    position: relative;
  }
  .method-row:hover { background: #1f1232; }
  .method-row.open { background: #2a1647; }

  .method-num {
    font-family: 'DM Mono', monospace;
    font-size: 12px; color: var(--muted);
  }
  .method-name {
    font-size: 20px; font-weight: 700;
    display: flex; align-items: center; gap: 16px;
    color:#fff;
  }
  .method-emoji { font-size: 24px; }
  .method-toggle {
    font-size: 20px; color: var(--muted);
    transition: transform 0.3s;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
  }
  .method-row.open .method-toggle { transform: rotate(45deg); color: var(--rust); }

  .method-body {
    display: none;
    padding: 0 80px 32px;
    grid-column: 1 / -1;
    background: #2a1647;
    color: #fff;
  }
  .method-body.open { display: block; }

  .method-body-inner {
    display: grid; grid-template-columns: 2fr 1fr;
    gap: 48px; padding: 32px 0;
    border-top: 1px solid #3a1c63;
  }
  .method-body p { font-size: 15px; line-height: 1.8; color: var(--muted); }
  .method-pros h4, .method-cons h4 {
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 12px;
  }
  .method-pros h4 { color: var(--teal); }
  .method-cons h4 { color: var(--rust); margin-top: 20px; }
  .method-pros li, .method-cons li {
    font-size: 13px; line-height: 1.9; color: var(--muted);
    list-style: none; padding-left: 16px; position: relative;
  }
  .method-pros li::before { content: '+'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
  .method-cons li::before { content: '−'; position: absolute; left: 0; color: var(--rust); font-weight: 700; }

  /* ─── RISK METER ─── */
  #risk {
    padding: 80px;
    border-bottom: 2px solid #3a1c63;
    background: #23133a;
  }
  #risk h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 54px);
    margin-bottom: 8px;
    color:#fff;
  }
  #risk .sub { color: var(--muted); font-size: 15px; margin-bottom: 56px; }

  .risk-scenarios {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 24px; margin-bottom: 48px;
  }
  .scenario-btn {
    padding: 20px 16px;
    background: var(--paper);
    border: 2px solid #3a1c63;
    font-family: 'Syne', sans-serif;
    font-size: 13px; font-weight: 700;
    cursor: none; transition: all 0.2s;
    text-align: left; position: relative;
    color:#fff;
  }
  .scenario-btn:hover, .scenario-btn.active {
    background: #3a1c6350; color: #fff;
  }
  .scenario-icon { font-size: 28px; display: block; margin-bottom: 12px; }
  .scenario-risk {
    font-family: 'DM Mono', monospace;
    font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--muted); margin-top: 6px; display: block;
  }
  .scenario-btn.active .scenario-risk { color: var(--gold); }

  .risk-display {
    background: var(--paper);
    border: 2px solid #3a1c63;
    padding: 40px;
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 48px; align-items: center;
    min-height: 200px;
  }

  .risk-level {
    text-align: center;
  }
  .risk-circle {
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 3px solid #3a1c63;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    font-weight: 700; transition: all 0.5s;
  }
  .risk-circle.low { background: #4a1a7a1a; border-color: var(--teal); color: var(--teal); }
  .risk-circle.medium { background: #4a1a7a1a; border-color: var(--gold); color: var(--gold); }
  .risk-circle.high { background: #4a1a7a1a; border-color: var(--rust); color: var(--rust); }
  .risk-circle.critical { background: #4a1a7a1a; border-color: var(--rust); color: var(--rust); box-shadow: 0 0 40px #be52e50f; }

  .risk-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }

  .risk-detail h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
  .risk-detail p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
  .rec-badge {
    display: inline-block; padding: 6px 14px;
    background: var(--ink); color: var(--paper);
    font-family: 'DM Mono', monospace;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    margin-right: 8px; margin-bottom: 8px;
  }

  /* ─── FOOTER ─── */
  footer {
    padding: 60px 80px;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 2px solid #3a1c63;
  }
  footer .logo {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color:#fff;
  }
  footer .logo em { font-style: italic; color: var(--rust); }
  footer p {
    font-family: 'DM Mono', monospace;
    font-size: 11px; color: var(--muted);
    letter-spacing: 0.12em; text-transform: uppercase;
  }

  /* Scroll animations */
  .reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }

  @media (max-width: 900px) {
    #hero { grid-template-columns: 1fr; }
    .hero-left { padding: 60px 32px; }
    .hero-right { display: none; }
    .stat-strip { flex-wrap: wrap; }
    .stat-item { flex: 1 1 50%; border-bottom: 2px solid #3a1c63; }
    .section-head { flex-direction: column; padding: 48px 32px; }
    .section-head p { text-align: left; }
    .factors-grid { grid-template-columns: 1fr; }
    .factor-card { border-right: none; border-bottom: 2px solid #3a1c63; }
    #demo { padding: 48px 32px; }
    .demo-stage { grid-template-columns: 1fr; }
    .methods-head { padding: 40px 32px; }
    .method-row { padding: 24px 32px; }
    .method-body { padding: 0 32px 24px; }
    .method-body-inner { grid-template-columns: 1fr; }
    #risk { padding: 48px 32px; }
    .risk-scenarios { grid-template-columns: repeat(2,1fr); }
    .risk-display { grid-template-columns: 1fr; }
    footer { flex-direction: column; gap: 24px; padding: 40px 32px; text-align: center; }
  }