:root{
    --bg:#0A0C10;
    --panel:#12151C;
    --panel-raised:#161A23;
    --border:#232733;
    --border-soft:#1A1E28;
    --text:#EDEEF1;
    --text-muted:#8B92A5;
    --text-faint:#565D6E;
    --gold:#C9A961;
    --gold-bright:#E0C280;
    --gold-dim:#8A7442;
    --green:#4ADE80;
    --red:#F87171;
    --radius:10px;
    --max-w:1180px;
  }

  *{margin:0;padding:0;box-sizing:border-box;}

  html{scroll-behavior:smooth;}

  body{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter',sans-serif;
    -webkit-font-smoothing:antialiased;
    line-height:1.5;
    overflow-x:hidden;
  }

  body::before{
    content:'';
    position:fixed;
    top:0; left:0; right:0;
    height:520px;
    background:
      radial-gradient(ellipse 900px 420px at 50% -120px, rgba(201,169,97,0.10), transparent 70%);
    pointer-events:none;
    z-index:0;
  }

  h1,h2,h3,h4{
    font-family:'Space Grotesk',sans-serif;
    font-weight:600;
    letter-spacing:-0.01em;
    color:var(--text);
  }

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

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

  .wrap{
    max-width:var(--max-w);
    margin:0 auto;
    padding:0 32px;
  }

  @media (max-width:640px){ .wrap{padding:0 20px;} }

  /* ---------- Header ---------- */

  header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(10,12,16,0.85);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid var(--border-soft);
  }

  .header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:72px;
  }

  .logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:19px;
    letter-spacing:0.01em;
    color:var(--text);
  }

  .logo-mark{
    width:30px;
    height:30px;
    border-radius:50%;
    border:1.5px solid var(--gold);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    flex-shrink:0;
  }

  .logo-mark::before{
    content:'';
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--gold);
  }

  .logo-mark::after{
    content:'';
    position:absolute;
    inset:-1.5px;
    border-radius:50%;
    border:1px solid rgba(201,169,97,0.35);
    animation:pulse-ring 3s ease-out infinite;
  }

  @keyframes pulse-ring{
    0%{transform:scale(1);opacity:0.6;}
    100%{transform:scale(1.9);opacity:0;}
  }

  nav{
    display:flex;
    align-items:center;
    gap:36px;
  }

  nav a{
    font-size:14.5px;
    color:var(--text-muted);
    font-weight:500;
    transition:color .15s ease;
  }
  nav a:hover{color:var(--text);}

  .nav-links{display:flex;gap:36px;}

  @media (max-width:860px){
    .nav-links{display:none;}
  }

  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-family:'Inter',sans-serif;
    font-weight:600;
    font-size:14px;
    padding:11px 22px;
    border-radius:8px;
    cursor:pointer;
    transition:all .15s ease;
    border:1px solid transparent;
    white-space:nowrap;
  }

  .btn-primary{
    background:var(--gold);
    color:#141414;
  }
  .btn-primary:hover{background:var(--gold-bright);transform:translateY(-1px);}

  .btn-ghost{
    background:transparent;
    border-color:var(--border);
    color:var(--text);
  }
  .btn-ghost:hover{border-color:var(--gold-dim);}

  /* ---------- Hero ---------- */

  .hero{
    position:relative;
    z-index:1;
    padding:56px 0 32px;
    text-align:center;
  }

  .hero h1{
    font-size:clamp(30px, 4.4vw, 46px);
    line-height:1.12;
    max-width:640px;
    margin:0 auto 12px;
  }
  .hero h1 em{
    font-style:normal;
    color:var(--gold);
  }

  .hero p{
    font-size:15.5px;
    color:var(--text-muted);
    max-width:440px;
    margin:0 auto;
    line-height:1.6;
  }

  /* ---------- Exchange widget section ---------- */

  .exchange-section{
    position:relative;
    z-index:1;
    padding:0 0 80px;
  }

  .exchange-card{
    max-width:520px;
    margin:0 auto;
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 40px 80px -30px rgba(0,0,0,0.6);
  }

  .exchange-card-head{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px 24px;
    border-bottom:1px solid var(--border-soft);
  }

  .exchange-card-head h3{
    font-size:16px;
    font-weight:600;
  }

  .iframe-slot{
    margin:20px;
    border-radius:10px;
    overflow:hidden;
    background:var(--panel-raised);
    border:1px solid var(--border-soft);
    line-height:0;
  }
  .iframe-slot iframe{
    display:block;
    width:100%;
    min-height:600px;
    border:none;
  }

  .exchange-card-foot{
    padding:16px 24px 22px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    font-size:12px;
    color:var(--text-faint);
  }

  /* ---------- Trust strip ---------- */

  .trust-strip{
    border-top:1px solid var(--border-soft);
    border-bottom:1px solid var(--border-soft);
    background:var(--panel);
  }
  .trust-inner{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:24px;
    padding:28px 0;
  }
  .trust-item{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:13.5px;
    color:var(--text-muted);
    font-weight:500;
  }
  .trust-item svg{flex-shrink:0;color:var(--gold);}

  /* ---------- Sections generic ---------- */

  section.block{
    padding:100px 0;
    position:relative;
    z-index:1;
  }

  .section-head{
    max-width:560px;
    margin:0 0 56px;
  }
  .section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

  .section-eyebrow{
    font-size:12.5px;
    font-weight:600;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--gold);
    margin-bottom:14px;
    display:block;
  }

  .section-head h2{
    font-size:clamp(26px,3.4vw,36px);
    margin-bottom:14px;
  }
  .section-head p{
    color:var(--text-muted);
    font-size:15.5px;
    line-height:1.65;
  }

  /* Features */
  .features-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:var(--border-soft);
    border:1px solid var(--border-soft);
    border-radius:14px;
    overflow:hidden;
  }
  @media (max-width:800px){ .features-grid{grid-template-columns:1fr;} }

  .feature{
    background:var(--panel);
    padding:36px 32px;
  }
  .feature .f-icon{
    width:38px;height:38px;
    border-radius:9px;
    background:rgba(201,169,97,0.08);
    border:1px solid rgba(201,169,97,0.22);
    display:flex;align-items:center;justify-content:center;
    color:var(--gold);
    margin-bottom:20px;
  }
  .feature h3{
    font-size:16.5px;
    margin-bottom:9px;
  }
  .feature p{
    font-size:14px;
    color:var(--text-muted);
    line-height:1.65;
  }

  /* How it works */
  .steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
  }
  @media (max-width:800px){ .steps{grid-template-columns:1fr;} }

  .step{
    position:relative;
    padding:28px 0 0;
    border-top:1px solid var(--border);
  }
  .step .s-index{
    font-family:'JetBrains Mono',monospace;
    color:var(--gold-dim);
    font-size:13px;
    margin-bottom:16px;
    display:block;
  }
  .step h3{
    font-size:17px;
    margin-bottom:10px;
  }
  .step p{
    font-size:14px;
    color:var(--text-muted);
    line-height:1.65;
  }

  /* Security callout */
  .security-block{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
  }
  @media (max-width:860px){
    .security-block{grid-template-columns:1fr;gap:36px;}
  }

  .security-list{
    display:flex;
    flex-direction:column;
    gap:22px;
  }
  .security-list li{
    list-style:none;
    display:flex;
    gap:16px;
  }
  .security-list .sl-icon{
    width:34px;height:34px;
    border-radius:8px;
    border:1px solid var(--border);
    background:var(--panel);
    display:flex;align-items:center;justify-content:center;
    color:var(--gold);
    flex-shrink:0;
  }
  .security-list h4{
    font-size:15px;
    font-weight:600;
    margin-bottom:4px;
  }
  .security-list p{
    font-size:13.5px;
    color:var(--text-muted);
    line-height:1.6;
  }

  .security-panel{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:14px;
    padding:36px;
  }
  .security-panel .row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid var(--border-soft);
    font-size:13.5px;
  }
  .security-panel .row:last-child{border-bottom:none;}
  .security-panel .row span:first-child{color:var(--text-muted);}
  .security-panel .row span:last-child{
    font-family:'JetBrains Mono',monospace;
    color:var(--green);
    font-size:12.5px;
  }

  /* CTA band */
  .cta-band{
    text-align:center;
    padding:90px 0;
    border-top:1px solid var(--border-soft);
    position:relative;
    z-index:1;
  }
  .cta-band h2{
    font-size:clamp(26px,3.6vw,38px);
    margin-bottom:16px;
  }
  .cta-band p{
    color:var(--text-muted);
    font-size:15.5px;
    max-width:440px;
    margin:0 auto 32px;
  }

  /* ---------- Footer ---------- */

  footer{
    border-top:1px solid var(--border-soft);
    background:var(--panel);
    position:relative;
    z-index:1;
  }

  .footer-top{
    padding:64px 0 48px;
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:40px;
  }
  @media (max-width:800px){
    .footer-top{grid-template-columns:1fr 1fr;}
  }
  @media (max-width:480px){
    .footer-top{grid-template-columns:1fr;}
  }

  .footer-brand p{
    font-size:13.5px;
    color:var(--text-faint);
    line-height:1.7;
    margin:14px 0 20px;
    max-width:260px;
  }

  .footer-col h5{
    font-size:12.5px;
    font-weight:600;
    letter-spacing:0.05em;
    text-transform:uppercase;
    color:var(--text-faint);
    margin-bottom:18px;
  }
  .footer-col ul{list-style:none;display:flex;flex-direction:column;gap:12px;}
  .footer-col a{
    font-size:13.5px;
    color:var(--text-muted);
    transition:color .15s ease;
  }
  .footer-col a:hover{color:var(--gold);}

  .social-row{display:flex;gap:10px;}
  .social-row a{
    width:34px;height:34px;
    border-radius:8px;
    border:1px solid var(--border);
    display:flex;align-items:center;justify-content:center;
    color:var(--text-muted);
    transition:all .15s ease;
  }
  .social-row a:hover{color:var(--gold);border-color:var(--gold-dim);}

  .footer-bottom{
    border-top:1px solid var(--border-soft);
    padding:24px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
  }
  .footer-bottom p{
    font-size:12.5px;
    color:var(--text-faint);
  }
  .footer-bottom .legal-inline{
    display:flex;
    gap:22px;
  }
  .footer-bottom .legal-inline a{
    font-size:12.5px;
    color:var(--text-faint);
  }
  .footer-bottom .legal-inline a:hover{color:var(--gold);}

  .risk-note{
    font-size:11.5px;
    color:var(--text-faint);
    line-height:1.7;
    padding:22px 0 0;
    border-top:1px solid var(--border-soft);
    max-width:900px;
  }

  ::selection{background:rgba(201,169,97,0.3);}

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

  a:focus-visible, button:focus-visible{
    outline:2px solid var(--gold);
    outline-offset:2px;
  }

/* ---------- Sub-page: page header ---------- */

.page-header{
  padding:48px 0 36px;
  border-bottom:1px solid var(--border-soft);
  position:relative;
  z-index:1;
}
.page-header .crumb{
  font-size:13px;
  color:var(--text-faint);
  margin-bottom:14px;
}
.page-header .crumb a{color:var(--gold-dim);}
.page-header .crumb a:hover{color:var(--gold);}
.page-header h1{
  font-size:clamp(28px,4vw,38px);
  margin-bottom:10px;
}
.page-header .updated{
  font-size:13px;
  color:var(--text-faint);
}

/* ---------- Sub-page: legal/content layout ---------- */

.legal-layout{
  display:grid;
  grid-template-columns:230px 1fr;
  gap:56px;
  padding:56px 0 100px;
  align-items:start;
  position:relative;
  z-index:1;
}
@media (max-width:860px){
  .legal-layout{grid-template-columns:1fr;}
}

.legal-toc{
  position:sticky;
  top:96px;
  display:flex;
  flex-direction:column;
  gap:2px;
}
@media (max-width:860px){
  .legal-toc{position:static;flex-direction:row;flex-wrap:wrap;gap:8px 18px;margin-bottom:8px;}
}
.legal-toc a{
  font-size:13px;
  color:var(--text-muted);
  padding:8px 12px;
  border-radius:7px;
  border-left:2px solid transparent;
}
.legal-toc a:hover{color:var(--text);background:var(--panel);}
@media (max-width:860px){
  .legal-toc a{padding:0;border-left:none;}
}

.legal-content{max-width:680px;}

.legal-content .lead{
  font-size:15.5px;
  color:var(--text-muted);
  line-height:1.75;
  margin-bottom:36px;
  padding-bottom:28px;
  border-bottom:1px solid var(--border-soft);
}

.legal-content section{margin-bottom:40px;}
.legal-content h2{
  font-size:19px;
  margin-bottom:14px;
  scroll-margin-top:96px;
}
.legal-content h3{
  font-size:15.5px;
  margin:20px 0 8px;
  color:var(--text);
}
.legal-content p{
  font-size:14.5px;
  color:var(--text-muted);
  line-height:1.75;
  margin-bottom:14px;
}
.legal-content ul, .legal-content ol{
  margin:0 0 14px 20px;
  color:var(--text-muted);
  font-size:14.5px;
  line-height:1.75;
}
.legal-content li{margin-bottom:6px;}
.legal-content strong{color:var(--text);font-weight:600;}
.legal-content a.inline-link{color:var(--gold);border-bottom:1px solid rgba(201,169,97,0.35);}
.legal-content a.inline-link:hover{color:var(--gold-bright);}

.callout{
  background:var(--panel);
  border:1px solid var(--border);
  border-left:2px solid var(--gold);
  border-radius:8px;
  padding:16px 18px;
  margin:18px 0;
}
.callout p{margin-bottom:0;font-size:13.5px;color:var(--text-muted);}
.callout p strong{color:var(--gold-bright);}

.contact-box{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:8px;
  padding:18px 20px;
  margin:6px 0 14px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.contact-box .k{font-size:12px;color:var(--text-faint);text-transform:uppercase;letter-spacing:0.04em;}
.contact-box .v{font-size:14.5px;color:var(--text);font-family:'JetBrains Mono',monospace;}

/* ---------- FAQ accordion ---------- */

.faq-list{display:flex;flex-direction:column;gap:1px;background:var(--border-soft);border:1px solid var(--border-soft);border-radius:12px;overflow:hidden;}
.faq-item{background:var(--panel);}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:18px 22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  font-family:'Space Grotesk',sans-serif;
  font-size:15px;
  font-weight:600;
  color:var(--text);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:'+';
  font-size:20px;
  color:var(--gold);
  flex-shrink:0;
  transition:transform .15s ease;
}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item .faq-a{
  padding:0 22px 20px;
  font-size:14px;
  color:var(--text-muted);
  line-height:1.7;
  max-width:640px;
}

/* ---------- Fee table ---------- */

.fee-table{
  width:100%;
  border-collapse:collapse;
  margin:8px 0 20px;
  font-size:14px;
}
.fee-table th{
  text-align:left;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.04em;
  color:var(--text-faint);
  padding:10px 14px;
  border-bottom:1px solid var(--border);
  font-weight:600;
}
.fee-table td{
  padding:14px;
  border-bottom:1px solid var(--border-soft);
  color:var(--text-muted);
}
.fee-table td:first-child{color:var(--text);font-weight:500;}
.fee-table tr:last-child td{border-bottom:none;}

/* ---------- About cards ---------- */

.about-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--border-soft);
  border:1px solid var(--border-soft);
  border-radius:12px;
  overflow:hidden;
  margin:8px 0 8px;
}
@media (max-width:700px){ .about-grid{grid-template-columns:1fr;} }
.about-grid .a-card{background:var(--panel);padding:26px 24px;}
.about-grid .a-card h3{font-size:15px;margin-bottom:8px;}
.about-grid .a-card p{font-size:13.5px;color:var(--text-muted);line-height:1.65;margin:0;}
