/* Shared stylesheet for the ApexDelta marketing site.
   Extracted from index.html when the site went multi-page: every page now
   links this one file, so styling stays identical across them and the
   browser caches it once instead of re-downloading ~30KB per page. */

:root{
    --ink:#120C1F;
    --ink-soft:#1D1530;
    --purple:#4A2184;
    --purple-bright:#7A4FD1;
    --purple-glow: rgba(122,79,209,0.35);
    --gold:#D9A657;
    --gold-soft: rgba(217,166,87,0.16);
    --paper:#F8F6FB;
    --paper-dim:#EFEBF6;
    --line:#E2DCEE;
    --text:#231A38;
    --text-dim:#6B6479;
    --white:#FFFFFF;
    --radius:14px;
    --maxw:1180px;
    --ease: cubic-bezier(.16,.8,.24,1);
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    font-family:'Outfit', sans-serif;
    background:var(--paper);
    color:var(--text);
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.display{
    font-family:'Outfit', sans-serif;
    letter-spacing:-0.02em;
    margin:0;
  }
  .mono{
    font-family:'JetBrains Mono', monospace;
    letter-spacing:0.02em;
  }
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
  img{max-width:100%; display:block;}

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  ::selection{background:var(--gold-soft); color:var(--purple);}

  /* ---------- NAV ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(18,12,31,0.72);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,0.06);
  }
  nav.wrap{
    display:flex; align-items:center; justify-content:space-between;
    height:92px;
  }
  .brand{display:flex; flex-direction:row; align-items:center; gap:12px; text-align:left;}
  a.brand, a.brand-mark{cursor:pointer;}
  .brand-mark{
    width:46px; height:46px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    position:relative;
  }
  .brand-mark svg{width:46px; height:46px; overflow:visible;}
  .brand-mark img{width:46px; height:46px; object-fit:contain;}
  .brand-name{
    display:flex; flex-direction:column; align-items:flex-start; line-height:1.15;
    color:var(--white); font-weight:600; font-size:16px; font-family:'Outfit', sans-serif; white-space:nowrap;
  }
  .brand-sub{
    display:block; font-size:8.5px; font-weight:500; letter-spacing:0.38em;
    text-transform:uppercase; color:rgba(255,255,255,0.85);
    margin-top:3px;
  }
  .nav-links{display:flex; gap:26px; align-items:center;}
  .nav-links a{
    color:rgba(255,255,255,0.72); font-size:14.5px; font-weight:500;
    transition:color .25s var(--ease);
    position:relative;
  }
  .nav-links a::after{
    content:''; position:absolute; left:0; bottom:-6px; width:0; height:1px;
    background:var(--gold); transition:width .3s var(--ease);
  }
  .nav-links a:hover{color:var(--white);}
  .nav-links a:hover::after{width:100%;}
  .nav-cta{
    padding:10px 20px; border-radius:8px;
    background:var(--gold); color:var(--ink) !important;
    font-weight:600; font-size:14px;
    transition:transform .25s var(--ease), box-shadow .25s var(--ease);
  }
  .nav-cta:hover{transform:translateY(-2px); box-shadow:0 10px 24px rgba(217,166,87,0.35);}
  .nav-demat{
    padding:10px 18px; border-radius:8px;
    border:1px solid rgba(255,255,255,0.25); color:rgba(255,255,255,0.9) !important;
    font-weight:600; font-size:14px;
    transition:border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
  }
  .nav-demat:hover{border-color:var(--gold); color:var(--gold) !important; transform:translateY(-2px);}
  .nav-demat::after{display:none !important;}
  .nav-login{position:relative;}
  .nav-login-btn{
    background:none; border:1px solid rgba(255,255,255,0.25); color:rgba(255,255,255,0.9);
    font-weight:600; font-size:14px; padding:10px 18px; border-radius:8px; cursor:pointer;
    font-family:'Outfit', sans-serif;
    transition:border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  }
  .nav-login-btn:hover{border-color:var(--gold); color:var(--gold); transform:translateY(-2px);}
  .login-dropdown{
    position:absolute; top:calc(100% + 12px); right:0; width:280px;
    background:rgba(18,12,31,0.98); border:1px solid rgba(255,255,255,0.12); border-radius:12px;
    padding:20px; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
    box-shadow:0 24px 48px rgba(0,0,0,0.4);
    opacity:0; transform:translateY(-8px); visibility:hidden; pointer-events:none;
    transition:opacity .25s var(--ease), transform .25s var(--ease);
    z-index:200; text-align:left;
  }
  .login-dropdown.open{opacity:1; transform:translateY(0); visibility:visible; pointer-events:auto;}
  .login-dropdown label{
    display:block; font-size:11.5px; font-family:'JetBrains Mono', monospace; letter-spacing:0.04em;
    color:rgba(255,255,255,0.55); margin:12px 0 6px;
  }
  .login-dropdown label:first-of-type{margin-top:0;}
  .login-dropdown input{
    width:100%; padding:10px 12px; border-radius:7px; border:1px solid rgba(255,255,255,0.15);
    background:rgba(255,255,255,0.05); color:#fff; font-size:14px; font-family:'Outfit', sans-serif;
  }
  .login-dropdown input:focus{outline:none; border-color:var(--gold);}
  .login-password-field{position:relative;}
  .login-password-field input{padding-right:54px;}
  .login-toggle-password{
    position:absolute; right:4px; top:0; bottom:0; height:100%; display:flex; align-items:center;
    background:none; border:none; color:rgba(255,255,255,0.5); font-size:12px; font-weight:500;
    cursor:pointer; padding:0 8px; appearance:none; -webkit-appearance:none;
  }
  .login-toggle-password:hover{color:var(--gold);}
  .login-dropdown-error{color:#E8877B; font-size:12.5px; margin-top:10px; line-height:1.4;}
  /* The "not an error, you're just early" beta notice reuses this element, so
     any link inside it needs to read as a real call to action rather than
     inheriting the error colour. */
  .login-dropdown-error a{
    color:var(--gold); font-weight:600; text-decoration:none; white-space:nowrap;
    border-bottom:1px solid rgba(217,166,87,0.45); transition:border-color .2s ease;
  }
  /* .nav-links a:hover forces pure white; keep the CTA gold on hover too. */
  .login-dropdown-error a:hover{color:var(--gold); border-bottom-color:var(--gold);}
  .login-dropdown-submit{
    width:100%; margin-top:16px; text-align:center; justify-content:center;
    background:var(--gold); color:var(--ink); font-weight:600; font-size:14px;
    padding:11px; border:none; border-radius:8px; cursor:pointer; font-family:'Outfit', sans-serif;
    transition:filter .25s var(--ease);
  }
  .login-dropdown-submit:hover{filter:brightness(1.08);}
  .login-dropdown-submit:disabled{opacity:0.6; cursor:default;}
  @media (max-width:900px){
    .login-dropdown{
      position:static; width:auto; margin-top:14px; transform:none; box-shadow:none;
      border-color:rgba(255,255,255,0.1);
    }
    .login-dropdown.open{transform:none;}
    .nav-login{margin-top:12px;}
    .nav-login-btn{
      width:100%; text-align:center; padding:14px 20px;
      appearance:none; -webkit-appearance:none;
    }
  }
  .nav-toggle{
    display:none;
    background:none; border:none; cursor:pointer;
    width:38px; height:38px; padding:8px;
    flex-direction:column; justify-content:space-between;
  }
  .nav-toggle span{
    display:block; width:100%; height:2px; background:var(--white); border-radius:2px;
    transition:transform .3s var(--ease), opacity .2s var(--ease);
  }
  .nav-toggle.open span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    background:radial-gradient(120% 90% at 18% 0%, #241740 0%, var(--ink) 55%, #0C0815 100%);
    padding:168px 0 120px;
    overflow:hidden;
    color:var(--white);
  }
  .hero-glow{
    position:absolute; width:640px; height:640px; border-radius:50%;
    background:radial-gradient(circle, var(--purple-glow) 0%, rgba(122,79,209,0) 70%);
    top:-220px; right:-160px;
    animation:drift 14s ease-in-out infinite alternate;
    pointer-events:none;
  }
  @keyframes drift{
    0%{transform:translate(0,0) scale(1);}
    100%{transform:translate(-40px,30px) scale(1.08);}
  }
  .hero-grid{
    display:grid; grid-template-columns:1.05fr 0.95fr; gap:48px; align-items:center;
    position:relative; z-index:2;
  }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'JetBrains Mono', monospace; font-size:12.5px; letter-spacing:0.08em;
    color:var(--gold); text-transform:uppercase;
    padding:7px 14px; border:1px solid rgba(217,166,87,0.35); border-radius:99px;
    background:rgba(217,166,87,0.06);
    opacity:0; animation:riseIn .8s var(--ease) forwards;
  }
  .eyebrow-dot{width:6px; height:6px; border-radius:50%; background:var(--gold); animation:pulse 2s ease-in-out infinite;}
  @keyframes pulse{0%,100%{opacity:1;} 50%{opacity:.35;}}

  .hero h1{
    font-size:clamp(38px, 5vw, 64px);
    line-height:1.05;
    margin-top:22px;
    font-weight:600;
    opacity:0; animation:riseIn .9s .12s var(--ease) forwards;
  }
  .hero h1 em{
    font-style:normal; color:var(--gold);
  }
  .hero p.lead{
    margin-top:22px; font-size:17.5px; line-height:1.65; color:rgba(255,255,255,0.68);
    max-width:480px;
    opacity:0; animation:riseIn .9s .24s var(--ease) forwards;
  }
  .hero-ctas{
    display:flex; gap:14px; margin-top:36px; flex-wrap:wrap;
    opacity:0; animation:riseIn .9s .36s var(--ease) forwards;
  }
  .btn-primary{
    background:var(--gold); color:var(--ink); font-weight:600; font-size:15px;
    padding:14px 26px; border-radius:9px; display:inline-flex; align-items:center; gap:8px;
    transition:transform .25s var(--ease), box-shadow .25s var(--ease);
  }
  .btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 28px rgba(217,166,87,0.32);}
  .btn-ghost{
    border:1px solid rgba(255,255,255,0.22); color:var(--white); font-weight:500; font-size:15px;
    padding:14px 24px; border-radius:9px;
    transition:border-color .25s var(--ease), background .25s var(--ease);
  }
  .btn-ghost:hover{border-color:rgba(255,255,255,0.5); background:rgba(255,255,255,0.05);}

  .hero-meta{
    display:flex; gap:28px; margin-top:44px;
    opacity:0; animation:riseIn .9s .46s var(--ease) forwards;
  }
  .hero-meta div{border-left:1px solid rgba(255,255,255,0.14); padding-left:14px;}
  .hero-meta .num{font-family:'Outfit',sans-serif; font-size:21px; font-weight:600; color:var(--white);}
  .hero-meta .lbl{font-size:12px; color:rgba(255,255,255,0.5); margin-top:2px;}

  @keyframes riseIn{
    from{opacity:0; transform:translateY(16px);}
    to{opacity:1; transform:translateY(0);}
  }

  /* Signal graphic */
  .signal-card{
    position:relative; z-index:2;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.09);
    border-radius:18px;
    padding:26px 26px 20px;
    backdrop-filter:blur(6px);
    opacity:0; animation:riseIn 1s .3s var(--ease) forwards;
  }
  .signal-card-top{display:flex; justify-content:space-between; align-items:center; margin-bottom:14px;}
  .chart-tabs{display:flex; gap:6px; margin-bottom:16px;}
  .chart-tab{
    flex:1; font-family:'Outfit',sans-serif; font-size:12px; font-weight:500;
    color:rgba(255,255,255,0.55); background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.09); border-radius:8px; padding:7px 6px;
    cursor:pointer; transition:all .25s var(--ease); white-space:nowrap;
  }
  .chart-tab:hover{color:rgba(255,255,255,0.85); border-color:rgba(217,166,87,0.35);}
  .chart-tab.active{
    color:var(--gold); background:rgba(217,166,87,0.12);
    border-color:rgba(217,166,87,0.45);
  }
  .live-bars rect{ transition:y .55s cubic-bezier(.34,.05,.2,1), height .55s cubic-bezier(.34,.05,.2,1), fill .35s ease; }
  .live-labels text{ transition:opacity .3s ease; }
  .signal-card-top .ticker{font-family:'JetBrains Mono',monospace; font-size:12.5px; color:rgba(255,255,255,0.55);}
  .signal-card-top .delta-badge{
    font-family:'JetBrains Mono',monospace; font-size:12.5px; font-weight:500;
    color:#7BE8B8; background:rgba(123,232,184,0.1); border:1px solid rgba(123,232,184,0.25);
    padding:4px 9px; border-radius:6px;
  }
  .signal-svg-wrap{width:100%; height:190px;}
  .signal-path{
    fill:none; stroke:var(--gold); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round;
    stroke-dasharray:900; stroke-dashoffset:900;
    animation:draw 2.2s .6s var(--ease) forwards;
  }
  .signal-fill{opacity:0; animation:fadeIn 1s 1.8s var(--ease) forwards;}
  @keyframes draw{to{stroke-dashoffset:0;}}
  @keyframes fadeIn{to{opacity:1;}}
  .signal-dot{
    animation:blink 2.4s ease-in-out 2.6s infinite;
  }
  @keyframes blink{0%,100%{opacity:1; r:4.5;} 50%{opacity:0.4; r:6.5;}}
  .signal-rows{display:flex; flex-direction:column; gap:10px; margin-top:6px;}
  .signal-row{
    display:flex; justify-content:space-between; align-items:center;
    font-family:'JetBrains Mono',monospace; font-size:12.5px;
    color:rgba(255,255,255,0.6);
    padding-top:10px; border-top:1px solid rgba(255,255,255,0.07);
  }
  .signal-row b{color:rgba(255,255,255,0.88); font-weight:500;}
  .up{color:#7BE8B8;}
  .down{color:#E8877B;}

  /* ---------- SECTION SHARED ---------- */
  section{padding:110px 0;}
  .section-head{max-width:620px; margin-bottom:64px;}
  .section-eyebrow{
    font-family:'JetBrains Mono',monospace; font-size:12px; letter-spacing:0.1em; text-transform:uppercase;
    color:var(--purple); font-weight:500;
  }
  .section-head h2{
    font-size:clamp(28px,3.4vw,40px); margin-top:14px; font-weight:600; color:var(--text);
  }
  .section-head p{color:var(--text-dim); font-size:16.5px; line-height:1.65; margin-top:16px;}

  /* Content is visible by default -- the scroll fade-in is a progressive
     enhancement, not a gate. Without this, every .reveal section (most of
     the page below the hero) would start at opacity:0 and stay invisible
     to any visitor/crawler/preview-bot that can't or doesn't run the
     IntersectionObserver JS below -- a real risk for a marketing site
     whose whole job is to be found and read. The "js-reveal-enabled"
     class is added by that same script, right before it starts hiding
     and observing elements, so only browsers that actually run the JS
     ever see the hidden-then-fade-in state at all. */
  .js-reveal-enabled .reveal{opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease);}
  .js-reveal-enabled .reveal.in{opacity:1; transform:translateY(0);}

  /* ---------- FEATURES ---------- */
  .features-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .features-grid.features-grid-4{grid-template-columns:repeat(4,1fr);}
  .features-grid-4 .feature-card{padding:26px 22px;}
  .features-grid-4 .feature-card h3{font-size:17px;}
  .feature-card{
    background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
    padding:32px 28px; transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  }
  .feature-card:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 48px -20px rgba(74,33,132,0.25);
    border-color:rgba(74,33,132,0.25);
  }
  .feature-icon{
    width:44px; height:44px; border-radius:10px; background:var(--paper-dim);
    display:flex; align-items:center; justify-content:center; margin-bottom:20px;
  }
  .feature-icon svg{width:22px; height:22px;}
  .feature-card h3{font-size:19px; font-weight:600;}
  .feature-card p{margin-top:10px; font-size:14.5px; line-height:1.65; color:var(--text-dim);}
  .inline-link{color:var(--gold); font-weight:500; text-decoration:none; border-bottom:1px solid rgba(217,166,87,0.35); transition:border-color .2s ease;}
  .inline-link:hover{border-color:var(--gold);}

  /* ---------- HOW IT WORKS ---------- */
  .how{background:var(--ink); color:var(--white);}
  #insight.how{background:var(--ink-soft); border-top:1px solid rgba(255,255,255,0.06); border-bottom:1px solid rgba(255,255,255,0.06);}
  .how .section-eyebrow{color:var(--gold);}
  .how .section-head p{color:rgba(255,255,255,0.6);}
  .how .section-head h2{color:var(--white);}
  .steps{display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative;}
  .steps.steps-4{grid-template-columns:repeat(4,1fr);}
  .step{padding:0 28px 0 0; position:relative;}
  .step:not(:last-child)::after{
    content:''; position:absolute; top:26px; right:-2px; width:calc(100% - 68px); height:1px;
    background:linear-gradient(90deg, rgba(217,166,87,0.5), rgba(217,166,87,0));
  }
  .step-index{
    font-family:'JetBrains Mono',monospace; color:var(--gold); font-size:16px; font-weight:500;
    width:52px; height:52px; border-radius:50%; margin-bottom:22px;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    background:linear-gradient(145deg, rgba(217,166,87,0.18), rgba(217,166,87,0.04));
    border:1px solid rgba(217,166,87,0.34);
    box-shadow:0 8px 24px rgba(217,166,87,0.10), inset 0 1px 0 rgba(255,255,255,0.06);
    position:relative; overflow:hidden;
    transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  }
  .step-index::after{
    content:''; position:absolute; inset:0; border-radius:50%;
    background:radial-gradient(60% 60% at 50% 0%, rgba(217,166,87,0.24), transparent 70%);
    opacity:0; transition:opacity .35s var(--ease);
  }
  .step:hover .step-index{
    transform:translateY(-4px);
    border-color:rgba(217,166,87,0.62);
    box-shadow:0 14px 34px rgba(217,166,87,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
  }
  .step:hover .step-index::after{opacity:1;}
  .step h3{font-size:19px; font-weight:600; margin-bottom:10px;}
  .step p{font-size:14.5px; line-height:1.65; color:rgba(255,255,255,0.6);}

  /* Premium security icon badges */
  .secure-grid .step:not(:last-child)::after{display:none;}
  .secure-icon{
    width:54px; height:54px; border-radius:15px; margin-bottom:22px;
    display:flex; align-items:center; justify-content:center;
    color:var(--gold);
    background:linear-gradient(145deg, rgba(217,166,87,0.16), rgba(217,166,87,0.04));
    border:1px solid rgba(217,166,87,0.32);
    box-shadow:0 8px 24px rgba(217,166,87,0.10), inset 0 1px 0 rgba(255,255,255,0.06);
    position:relative; overflow:hidden;
    transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  }
  .secure-icon::after{
    content:''; position:absolute; inset:0; border-radius:15px;
    background:radial-gradient(60% 60% at 50% 0%, rgba(217,166,87,0.22), transparent 70%);
    opacity:0; transition:opacity .35s var(--ease);
  }
  .secure-icon svg{width:26px; height:26px; position:relative; z-index:1;}
  .step:hover .secure-icon{
    transform:translateY(-4px);
    border-color:rgba(217,166,87,0.6);
    box-shadow:0 14px 34px rgba(217,166,87,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
  }
  .step:hover .secure-icon::after{opacity:1;}

  /* ---------- METRICS ---------- */
  .metrics-strip{
    background:var(--paper-dim); border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    padding:64px 0;
  }
  .metrics-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:left;}
  .metric .num{
    font-family:'Outfit',sans-serif; font-size:clamp(30px,3.6vw,44px); font-weight:600; color:var(--purple);
  }
  .metric .lbl{margin-top:8px; font-size:13.5px; color:var(--text-dim); line-height:1.5;}

  /* ---------- PRICING ---------- */
  .pricing-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch;}
  .price-card{
    background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
    padding:34px 28px; display:flex; flex-direction:column;
    transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  }
  .price-card:hover{transform:translateY(-6px); box-shadow:0 24px 48px -22px rgba(74,33,132,0.22);}
  .price-card.highlight{
    background:linear-gradient(165deg, var(--purple) 0%, #3A2264 100%);
    color:var(--white); border-color:transparent; position:relative;
  }
  .price-badge{
    position:absolute; top:-13px; right:28px; background:var(--gold); color:var(--ink);
    font-size:12px; font-weight:600; padding:5px 12px; border-radius:99px;
    font-family:'JetBrains Mono',monospace;
  }
  .price-card h3{font-size:17px; font-weight:600;}
  .price-card .price{
    font-family:'Outfit',sans-serif; font-size:38px; font-weight:600; margin-top:16px;
  }
  .price-card .price span{font-size:14px; font-weight:400; opacity:.6;}
  .price-card .desc{font-size:13.5px; margin-top:10px; opacity:.7; line-height:1.5;}
  .price-list{list-style:none; padding:0; margin:26px 0 30px; display:flex; flex-direction:column; gap:12px; flex-grow:1;}
  .price-list li{font-size:14px; display:flex; gap:10px; align-items:flex-start; line-height:1.5;}
  .price-list svg{width:15px; height:15px; margin-top:2px; flex-shrink:0;}
  .price-cta{
    text-align:center; padding:12px; border-radius:8px; font-weight:600; font-size:14.5px;
    border:1px solid var(--line); transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  }
  .price-card:not(.highlight) .price-cta:hover{background:var(--ink); color:var(--white); border-color:var(--ink);}
  .price-card.highlight .price-cta{background:var(--gold); color:var(--ink); border:none;}
  .price-card.highlight .price-cta:hover{filter:brightness(1.08);}


  .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;
  }

  /* ---------- COMPARISON ---------- */
  .compare-scroll{overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:var(--white);}
  .compare-table{border-collapse:collapse; width:100%; min-width:640px; font-size:14.5px;}
  .compare-table th, .compare-table td{padding:15px 18px; text-align:left; border-bottom:1px solid var(--line);}
  .compare-table thead th{
    font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase;
    color:var(--text-dim); font-weight:400; background:var(--paper-dim); vertical-align:bottom;
  }
  .compare-table tbody tr:last-child td{border-bottom:none;}
  .compare-table td:first-child{font-weight:500;}
  .compare-table td:not(:first-child){text-align:center; width:15%;}
  .compare-table tr.is-us td{background:var(--purple); color:var(--white); font-weight:600;}
  .compare-table tr.is-us td:first-child{border-radius:0 0 0 var(--radius);}
  .compare-table tr.is-us td:last-child{border-radius:0 0 var(--radius) 0;}
  .mark{font-size:16px; line-height:1; display:inline-block;}
  .mark-yes{color:var(--purple);}
  .compare-table tr.is-us .mark-yes{color:var(--gold);}
  .mark-no{color:var(--line); font-size:19px;}
  .mark-part{color:var(--gold);}
  .compare-note{font-size:12.5px; color:var(--text-dim); margin-top:18px; max-width:700px;}
  /* On narrow screens the table scrolls inside its own container, which is
     invisible without a cue -- a reader sees only "Platform" and half of the
     first data column and assumes that is the whole table. */
  .compare-hint{
    display:none; font-family:'JetBrains Mono',monospace; font-size:11px;
    letter-spacing:.08em; text-transform:uppercase; color:var(--purple);
    margin:0 0 12px; align-items:center; gap:7px;
  }
  .compare-hint span{font-size:14px; animation:nudge 1.6s var(--ease) infinite;}
  @keyframes nudge{0%,100%{transform:translateX(0);}50%{transform:translateX(4px);}}
  @media (prefers-reduced-motion: reduce){ .compare-hint span{animation:none;} }

  /* ---------- PROOF STRIP ---------- */
  .proof-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
  .proof-item{display:flex; flex-direction:column; gap:7px;}
  .proof-item .pk{
    font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.1em;
    text-transform:uppercase; color:var(--purple);
  }
  .proof-item h3{font-size:15.5px; font-weight:600; margin:0; line-height:1.35;}
  .proof-item p{font-size:13.5px; color:var(--text-dim); margin:0; line-height:1.5;}

  /* ---------- FOUNDER ---------- */
  .founder-card{
    background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
    padding:38px 34px; display:grid; grid-template-columns:auto 1fr; gap:28px; align-items:start;
  }
  .founder-mark{
    width:62px; height:62px; border-radius:50%; flex-shrink:0;
    background:linear-gradient(165deg, var(--purple) 0%, #3A2264 100%);
    display:flex; align-items:center; justify-content:center;
    font-family:'Outfit',sans-serif; font-size:23px; font-weight:600; color:var(--white);
  }
  .founder-name{font-size:19px; font-weight:600; margin:0;}
  .founder-role{
    font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--purple);
    letter-spacing:.05em; margin:3px 0 14px;
  }
  .founder-card p{font-size:15px; color:var(--text-dim); margin:0 0 12px; max-width:62ch; line-height:1.65;}
  .founder-links{display:flex; flex-wrap:wrap; gap:18px; margin-top:16px; font-size:14px;}

  /* ---------- PRICING NOTE ---------- */
  .pricing-note{font-size:12.5px; color:var(--text-dim); margin-top:26px; max-width:680px;}

  /* ---------- FINAL CTA ---------- */
  /* ---------- FAQ ---------- */
  .faq-list{max-width:820px; margin:0 auto;}
  .faq-item{
    border-bottom:1px solid var(--line);
    padding:4px 0;
  }
  .faq-item summary{
    list-style:none; cursor:pointer;
    font-family:'Outfit',sans-serif; font-size:18px; font-weight:600; color:var(--text);
    padding:22px 44px 22px 0; position:relative;
    transition:color .25s var(--ease);
  }
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-item summary::after{
    content:''; position:absolute; right:6px; top:50%; width:12px; height:12px;
    border-right:2px solid var(--purple); border-bottom:2px solid var(--purple);
    transform:translateY(-70%) rotate(45deg);
    transition:transform .3s var(--ease);
  }
  .faq-item[open] summary::after{ transform:translateY(-30%) rotate(-135deg); }
  .faq-item summary:hover{color:var(--purple);}
  .faq-item p{
    margin:0 0 22px; font-size:15.5px; line-height:1.7; color:var(--text-dim); max-width:680px;
  }

  .final-cta{
    background:radial-gradient(120% 140% at 50% 0%, #2A1B4A 0%, var(--ink) 60%);
    color:var(--white); text-align:center; padding:120px 0;
  }
  .final-cta h2{font-size:clamp(28px,4vw,44px); font-weight:600;}
  .final-cta p{color:rgba(255,255,255,0.6); margin-top:16px; font-size:16px;}
  .final-cta .hero-ctas{justify-content:center; margin-top:34px;}

  .early-access-form{
    display:flex; flex-direction:column; align-items:center; gap:20px;
    margin:34px auto 0; max-width:760px;
  }
  .early-access-row{
    display:flex; flex-wrap:wrap; gap:12px; justify-content:center; width:100%;
  }
  .early-access-row input{
    flex:1 1 170px; min-width:150px;
    padding:13px 16px; border-radius:9px; border:1px solid rgba(255,255,255,0.18);
    background:rgba(255,255,255,0.06); color:var(--white); font-size:14.5px;
    font-family:'Outfit', sans-serif;
  }
  .early-access-row input::placeholder{color:rgba(255,255,255,0.45);}
  .early-access-row input:focus{outline:none; border-color:var(--gold);}
  .early-access-form button{flex:0 0 auto; white-space:nowrap;}
  .early-access-brokers{text-align:center; width:100%;}
  .early-access-brokers-label{
    display:block; font-size:12.5px; color:rgba(255,255,255,0.55); margin-bottom:12px;
    font-family:'JetBrains Mono', monospace; letter-spacing:0.02em;
  }
  .early-access-broker-pills{display:flex; flex-wrap:wrap; gap:8px; justify-content:center;}
  .broker-pill{
    display:inline-flex; align-items:center; gap:7px;
    padding:8px 15px; border-radius:99px; border:1px solid rgba(255,255,255,0.18);
    background:rgba(255,255,255,0.04); color:rgba(255,255,255,0.75);
    font-size:13.5px; cursor:pointer; transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  }
  .broker-pill:hover{border-color:rgba(217,166,87,0.4);}
  .broker-pill input{accent-color:var(--gold); cursor:pointer; margin:0;}
  .broker-pill:has(input:checked){
    border-color:var(--gold); background:rgba(217,166,87,0.14); color:var(--white);
  }
  .broker-other-input{
    display:block; margin:12px auto 0; padding:10px 14px; border-radius:9px;
    border:1px solid rgba(255,255,255,0.18); background:rgba(255,255,255,0.06);
    color:var(--white); font-size:14px; font-family:'Outfit', sans-serif;
    width:220px; max-width:100%; text-align:center;
  }
  .broker-other-input::placeholder{color:rgba(255,255,255,0.45);}
  .broker-other-input:focus{outline:none; border-color:var(--gold);}
  .early-access-message{margin-top:2px; font-size:14px; min-height:1.3em;}
  .early-access-message.success{color:#7BE8B8;}
  .early-access-message.error{color:#E8877B;}
  @media (max-width:640px){
    .early-access-row input{flex:1 1 100%;}
  }

  /* ---------- FOOTER ---------- */
  footer{background:var(--ink); color:rgba(255,255,255,0.5); padding:48px 0; font-size:13.5px;}
  .footer-row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
  .footer-row .brand{flex-direction:row; gap:10px; text-align:left;}
  .footer-links{display:flex; flex-wrap:wrap; gap:12px 24px;}
  .footer-links a{color:rgba(255,255,255,0.5); transition:color .25s var(--ease);}
  .footer-links a:hover{color:var(--white);}

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 900px){
    .nav-toggle{display:flex;}
    .nav-links{
      position:fixed; top:92px; left:0; right:0;
      flex-direction:column; align-items:stretch; gap:0;
      background:rgba(18,12,31,0.98);
      backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
      border-bottom:1px solid rgba(255,255,255,0.08);
      padding:8px 24px 24px;
      transform:translateY(-12px); opacity:0; pointer-events:none; visibility:hidden;
      transition:opacity .3s var(--ease), transform .3s var(--ease);
      max-height:calc(100vh - 92px); overflow-y:auto;
    }
    .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:auto; visibility:visible; }
    .nav-links a{ padding:16px 0; font-size:16px; border-bottom:1px solid rgba(255,255,255,0.06); }
    .nav-links a::after{ display:none; }
    .nav-demat, .nav-cta{
      text-align:center; margin-top:12px; padding:14px 20px !important;
      border-bottom:none !important;
    }
    .nav-demat{ margin-top:16px; }
    .hero-grid{grid-template-columns:1fr;}
    .features-grid, .features-grid.features-grid-4, .steps, .steps.steps-4, .pricing-grid{grid-template-columns:1fr;}
    .proof-grid{grid-template-columns:repeat(2,1fr); gap:28px;}
    .compare-hint{display:flex;}
    .founder-card{grid-template-columns:1fr; gap:20px; padding:30px 24px;}
    .metrics-grid{grid-template-columns:repeat(2,1fr);}
    .step:not(:last-child)::after{display:none;}
    .step{padding-right:0;}
  }

  /* ---------- INTRO SPLASH ---------- */
  #intro{
    position:fixed; inset:0; z-index:9999;
    background:radial-gradient(120% 90% at 50% 40%, #241740 0%, var(--ink) 60%, #0C0815 100%);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:24px;
  }
  #intro.done{ animation:introOut .6s ease forwards; }
  @keyframes introOut{ to{ opacity:0; visibility:hidden; } }
  .intro-logo{
    position:relative;
    width:138px; height:140px;
    opacity:0; transform:scale(.94);
    animation:introLogo .8s cubic-bezier(.16,.8,.24,1) .15s forwards;
  }
  /* Full stacked logo (icon + wordmark) is wider/taller than the icon-only mark */
  .intro-logo-full{
    width:min(300px, 74vw); height:auto;
  }
  .intro-logo img{ width:100%; height:100%; object-fit:contain; display:block; position:relative; z-index:2;
    filter:drop-shadow(0 0 22px rgba(217,166,87,0.0)); animation:introGlow 1.4s ease .5s forwards; }
  @keyframes introLogo{
    0%{ opacity:0; transform:scale(.94); }
    100%{ opacity:1; transform:scale(1); }
  }
  @keyframes introGlow{
    0%{ filter:drop-shadow(0 0 0 rgba(217,166,87,0)); }
    45%{ filter:drop-shadow(0 0 28px rgba(217,166,87,0.45)); }
    100%{ filter:drop-shadow(0 0 16px rgba(217,166,87,0.22)); }
  }
  /* Energy rings radiating out from behind the logo icon (top portion of the full lockup) */
  .intro-logo-full::before,
  .intro-logo-full::after{
    content:''; position:absolute; left:50%; top:32%;
    width:112px; height:112px; margin:-56px 0 0 -56px;
    border-radius:24px; border:2px solid rgba(217,166,87,0.55);
    opacity:0; z-index:1;
  }
  .intro-logo-full::before{ animation:introRing 1.5s cubic-bezier(.2,.7,.3,1) .55s forwards; }
  .intro-logo-full::after{ animation:introRing 1.5s cubic-bezier(.2,.7,.3,1) .8s forwards; }
  @keyframes introRing{
    0%{ opacity:.8; transform:scale(.85); border-width:2.5px; }
    100%{ opacity:0; transform:scale(2.2); border-width:0.5px; }
  }
  @media (prefers-reduced-motion: reduce){
    #intro, .intro-logo, .intro-logo img, .intro-logo-full::before, .intro-logo-full::after{ animation:none !important; }
    #intro{ display:none; }
  }

/* ---------- MULTI-PAGE NAV ---------- */
/* Marks the page you are currently on. The site became multi-page on
   2026-08-28; on the old single page there was nothing to mark. */
.nav-links a.nav-current{color:var(--white);}
.nav-links a.nav-current::after{width:100%;}
