/* usdt-xmr — big centred hero, indigo on light. no framework. */

:root{
  --bg:#fcfbff;
  --card:#ffffff;
  --accent:#5b3df5;
  --accent2:#00b894;
  --ink:#15132b;
  --muted:#6b6785;
  --line:#e8e5f4;
  --warn-bg:#fff1f1;
  --warn-line:#f3c9c9;
  --warn-ink:#9a1c1c;
  --r:16px;
  --wrap:1180px;
  --col:760px;
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}

/* the header is sticky, so anchors need room above them */
[id]{scroll-margin-top:84px}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:17px;
  line-height:1.65;
  overflow-x:hidden;
}

img{max-width:100%;height:auto;display:block}

a{color:var(--accent);text-underline-offset:2px}

h1,h2,h3,h4{
  font-family:Sora,Inter,sans-serif;
  color:var(--ink);
  line-height:1.12;
  letter-spacing:-.02em;
  margin:0 0 .5em;
}

p{margin:0 0 1.05em}

.mono{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace}

.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
.col{width:100%;max-width:var(--col);margin:0 auto}

/* ---------- header ---------- */

.top{
  position:sticky;top:0;z-index:40;
  background:rgba(252,251,255,.78);
  backdrop-filter:saturate(1.4) blur(12px);
  -webkit-backdrop-filter:saturate(1.4) blur(12px);
  border-bottom:1px solid var(--line);
}
.top .wrap{
  display:flex;align-items:center;gap:16px;
  min-height:64px;
}
.brand{
  display:flex;align-items:center;gap:9px;
  font-family:Sora,sans-serif;font-weight:800;font-size:16px;
  color:var(--ink);text-decoration:none;letter-spacing:-.02em;
  min-width:0;flex:0 0 auto;
}
.brand svg{width:26px;height:26px;flex:0 0 auto}
.brand span{white-space:nowrap}

.topnav{
  display:flex;gap:26px;margin:0 auto;
  font-size:14.5px;font-weight:500;
  min-width:0;
}
.topnav a{color:var(--muted);text-decoration:none;white-space:nowrap}
.topnav a:hover{color:var(--accent)}

.pill{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  height:38px;padding:0 18px;border-radius:999px;
  background:var(--accent);color:#fff;text-decoration:none;
  font-size:14px;font-weight:600;white-space:nowrap;
  border:0;cursor:pointer;
}
.pill:hover{background:#4c31d8}
/* on pages with no nav (404) the pill still belongs on the right */
.brand + .pill{margin-left:auto}

/* ---------- hero ---------- */

.hero{
  background:linear-gradient(180deg,#eeeaff 0%,var(--bg) 70%);
  padding:64px 0 46px;
  text-align:center;
  border-bottom:1px solid var(--line);
}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 15px;border-radius:999px;
  background:#fff;border:1px solid var(--line);
  font-size:13px;font-weight:600;color:var(--muted);
  letter-spacing:.01em;margin-bottom:22px;
  max-width:100%;
}
.badge i{
  width:7px;height:7px;border-radius:50%;
  background:var(--accent2);display:block;flex:0 0 auto;
  font-style:normal;
}
h1{
  font-size:clamp(34px,7.2vw,68px);
  font-weight:800;
  max-width:16ch;
  margin:0 auto .5em;
  overflow-wrap:break-word;
}
.lede{
  font-size:clamp(17px,2.1vw,20px);
  color:var(--muted);
  max-width:56ch;margin:0 auto 34px;
}

/* ---------- converter ---------- */

.conv{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:calc(var(--r) + 6px);
  box-shadow:0 18px 44px -26px rgba(38,20,120,.4);
  max-width:560px;margin:0 auto;
  padding:22px;
  text-align:left;
}
.leg{
  display:block;font-size:12.5px;font-weight:600;
  text-transform:uppercase;letter-spacing:.07em;
  color:var(--muted);margin-bottom:8px;
}
.row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,132px);
  gap:10px;
  margin-bottom:12px;
}
.row > *{min-width:0}

input[type="text"],select{
  width:100%;min-width:0;
  height:52px;padding:0 13px;
  border:1px solid var(--line);border-radius:var(--r);
  background:#fff;color:var(--ink);
  font-family:"JetBrains Mono",ui-monospace,Menlo,monospace;
  font-size:17px;font-weight:500;
  appearance:none;-webkit-appearance:none;
}
select{
  font-family:Inter,sans-serif;font-weight:600;font-size:15px;
  padding-right:30px;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b6785' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 11px center;
  background-size:11px 7px;
  cursor:pointer;
}
input:focus,select:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:transparent}
input[readonly]{background:#f7f6fd;color:var(--muted)}

.net{margin:-4px 0 12px}
.net select{height:42px;font-size:14px}
.net[hidden]{display:none}
.netlabel{
  display:block;font-size:12.5px;color:var(--muted);
  margin-bottom:5px;font-weight:500;
}

.flipwrap{display:flex;justify-content:center;margin:2px 0 10px}
#flip{
  width:38px;height:38px;border-radius:50%;
  border:1px solid var(--line);background:#fff;
  color:var(--accent);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font-size:16px;line-height:1;padding:0;
}
#flip:hover{border-color:var(--accent)}

.rates{
  display:flex;flex-wrap:wrap;gap:4px 14px;
  font-family:"JetBrains Mono",ui-monospace,Menlo,monospace;
  font-size:13.5px;color:var(--muted);
  margin:4px 0 14px;
  overflow-wrap:anywhere;
}
.rates b{color:var(--ink);font-weight:700}

.cta{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-height:56px;padding:0 18px;
  border-radius:var(--r);
  background:linear-gradient(90deg,var(--accent) 0%,#7b5cff 100%);
  color:#fff;text-decoration:none;
  font-family:Sora,sans-serif;font-weight:700;font-size:17px;
  text-align:center;
}
.cta:hover{filter:brightness(1.06)}
.fine{
  font-size:13px;color:var(--muted);
  margin:11px 0 0;text-align:center;
}

/* ---------- three facts ---------- */

.facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  max-width:760px;margin:34px auto 0;
}
.facts div{min-width:0}
.facts b{
  display:block;
  font-family:"JetBrains Mono",monospace;
  font-size:clamp(20px,3.2vw,26px);
  font-weight:700;color:var(--accent);
  letter-spacing:-.02em;
}
.facts span{
  display:block;font-size:13.5px;color:var(--muted);
  line-height:1.4;margin-top:4px;
}

/* ---------- wide band ---------- */

.band{margin:0;padding:38px 0;background:var(--bg)}
.band .shot{
  border-radius:calc(var(--r) + 6px);
  overflow:hidden;
  aspect-ratio:21/9;
  border:1px solid var(--line);
}
.band .shot img{width:100%;height:100%;object-fit:cover}
.band figcaption{
  font-size:14px;color:var(--muted);
  text-align:center;margin-top:13px;
  max-width:62ch;margin-left:auto;margin-right:auto;
}

/* ---------- sections ---------- */

section{
  background:var(--card);
  border-top:1px solid var(--line);
  padding:62px 0;
}
section.tint{background:var(--bg)}
section h2{
  font-size:clamp(26px,3.8vw,40px);
  font-weight:700;
  text-align:center;
  max-width:20ch;
  margin:0 auto .55em;
}
.sub{
  text-align:center;color:var(--muted);
  max-width:60ch;margin:0 auto 38px;
}
section .col p:last-child{margin-bottom:0}

.figure-in{margin:34px auto 0;max-width:var(--col)}
.figure-in .shot{
  border-radius:var(--r);overflow:hidden;
  aspect-ratio:16/9;border:1px solid var(--line);
}
.figure-in .shot img{width:100%;height:100%;object-fit:cover}
.figure-in figcaption{font-size:14px;color:var(--muted);margin-top:11px;text-align:center}

/* ---------- network cards ---------- */

.nets{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:0 0 36px;
}
.nets article{
  min-width:0;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:calc(var(--r) + 4px);
  padding:24px 22px;
}
.nets h3{
  font-size:21px;font-weight:700;margin-bottom:4px;
}
.nets .tick{
  font-family:"JetBrains Mono",monospace;
  font-size:12.5px;font-weight:700;
  color:var(--accent);
  letter-spacing:.04em;
  display:block;margin-bottom:14px;
  overflow-wrap:anywhere;
}
.nets ul{margin:0;padding-left:18px}
.nets li{font-size:15px;color:var(--muted);margin-bottom:7px;line-height:1.5}
.nets li:last-child{margin-bottom:0}

/* ---------- warning plate ---------- */

.plate{
  background:var(--warn-bg);
  border:1px solid var(--warn-line);
  border-left:5px solid #d43b3b;
  border-radius:var(--r);
  padding:26px 26px;
  margin:36px auto 0;
  max-width:var(--col);
}
.plate p{
  font-family:Sora,sans-serif;
  font-size:clamp(18px,2.6vw,23px);
  font-weight:600;line-height:1.35;
  color:var(--warn-ink);
  margin:0;
}
.plate p + p{
  font-family:Inter,sans-serif;
  font-size:15.5px;font-weight:400;line-height:1.6;
  margin-top:12px;
}

/* ---------- steps ---------- */

ol.tl{
  list-style:none;counter-reset:st;
  margin:0;padding:0;
  max-width:var(--col);margin-inline:auto;
}
ol.tl li{
  counter-increment:st;
  position:relative;
  padding:0 0 30px 62px;
  min-width:0;
}
ol.tl li::before{
  content:counter(st);
  position:absolute;left:0;top:0;
  width:40px;height:40px;border-radius:50%;
  background:var(--accent);color:#fff;
  font-family:"JetBrains Mono",monospace;font-weight:700;font-size:16px;
  display:flex;align-items:center;justify-content:center;
}
ol.tl li::after{
  content:"";position:absolute;left:19.5px;top:46px;bottom:6px;
  width:1px;background:var(--line);
}
ol.tl li:last-child{padding-bottom:0}
ol.tl li:last-child::after{display:none}
ol.tl h3{font-size:20px;font-weight:700;margin:7px 0 6px}
ol.tl p{font-size:16px;color:var(--muted);margin:0}

/* ---------- key/value strip ---------- */

.kv{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;max-width:var(--col);margin:30px auto 0;
}
.kv div{
  min-width:0;
  border:1px solid var(--line);border-radius:var(--r);
  padding:18px 20px;background:var(--bg);
}
.kv b{
  display:block;font-family:"JetBrains Mono",monospace;
  font-size:14px;color:var(--accent);margin-bottom:5px;
  overflow-wrap:anywhere;
}
.kv span{display:block;font-size:15px;color:var(--muted);line-height:1.5}

/* ---------- faq ---------- */

.faq{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;counter-reset:q;
}
.faq details{
  min-width:0;
  counter-increment:q;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:calc(var(--r) + 2px);
  padding:20px 22px;
  align-self:start;
}
section.tint .faq details{background:#fff}
.faq summary{
  list-style:none;cursor:pointer;
  font-family:Sora,sans-serif;font-weight:600;font-size:17px;
  line-height:1.35;color:var(--ink);
  display:block;position:relative;
  padding-left:38px;
  padding-right:26px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{
  content:counter(q,decimal-leading-zero);
  position:absolute;left:0;top:1px;
  font-family:"JetBrains Mono",monospace;
  font-size:13px;font-weight:700;color:var(--accent);
}
.faq summary::after{
  content:"+";
  position:absolute;right:0;top:-3px;
  font-size:20px;color:var(--muted);line-height:1;
  width:20px;text-align:right;
}
.faq details[open] summary::after{content:"–"}
.faq details p{
  font-size:15.5px;color:var(--muted);
  margin:12px 0 0;padding-left:38px;
}

/* ---------- final cta ---------- */

.end{
  background:linear-gradient(180deg,var(--bg) 0%,#efeaff 100%);
  text-align:center;padding:72px 0;
  border-top:1px solid var(--line);
}
.end h2{max-width:22ch}
.end .cta{max-width:340px;margin:24px auto 0}

/* ---------- breadcrumbs ---------- */

.crumbs{
  font-size:13.5px;color:var(--muted);
  padding:18px 0 0;
}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--accent)}
.crumbs span{margin:0 7px;opacity:.6}

/* ---------- prose pages ---------- */

.prose{padding:52px 0 64px;background:var(--card);border-top:1px solid var(--line)}
.prose h1{
  font-size:clamp(30px,5vw,46px);text-align:left;
  max-width:none;margin:0 0 .5em;
}
.prose h2{
  font-size:22px;text-align:left;max-width:none;
  margin:2em 0 .5em;
}
.prose p,.prose li{color:#3a3757}
.prose ul{padding-left:20px}
.prose li{margin-bottom:7px}

/* ---------- 404 ---------- */

.oops{
  min-height:62vh;display:flex;align-items:center;
  text-align:center;padding:60px 0;
  background:linear-gradient(180deg,#eeeaff 0%,var(--bg) 70%);
}
.oops .big{
  font-family:"JetBrains Mono",monospace;
  font-size:clamp(58px,14vw,110px);font-weight:700;
  color:var(--accent);line-height:1;margin:0 0 12px;
}
.oops ul{list-style:none;padding:0;margin:26px 0 0;
  display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:center}
.oops a{font-weight:600;text-decoration:none}
.oops a:hover{text-decoration:underline}

/* ---------- footer ---------- */

footer{
  background:#15132b;color:#a9a4c6;
  padding:44px 0 38px;font-size:14.5px;
}
footer .fr{
  display:flex;flex-wrap:wrap;gap:16px 28px;
  align-items:center;justify-content:space-between;
}
footer .fr > *{min-width:0}
footer nav{display:flex;flex-wrap:wrap;gap:8px 22px}
footer a{color:#cfc9ef;text-decoration:none}
footer a:hover{color:#fff;text-decoration:underline}
footer .note{
  margin:22px 0 0;font-size:13.5px;line-height:1.6;
  color:#8b86ad;max-width:74ch;
}
footer .mark{
  font-family:Sora,sans-serif;font-weight:800;color:#fff;
  letter-spacing:-.02em;
}

/* ---------- responsive ---------- */

@media (max-width:900px){
  .nets{grid-template-columns:1fr;gap:14px}
  .faq{grid-template-columns:1fr}
  .kv{grid-template-columns:1fr}
}

@media (max-width:760px){
  .topnav{display:none}
  .top .wrap{justify-content:space-between;gap:10px}
  .hero{padding:44px 0 38px}
  section{padding:48px 0}
  .band{padding:26px 0}
  .band .shot{aspect-ratio:16/10}
  .facts{grid-template-columns:1fr;gap:16px;text-align:left;max-width:420px}
  .conv{padding:18px}
  .end{padding:56px 0}
  footer .fr{flex-direction:column;align-items:flex-start}
}

@media (max-width:420px){
  body{font-size:16.5px}
  .wrap{padding:0 16px}
  .brand span{font-size:15px}
  .pill{height:34px;padding:0 13px;font-size:13px}
  .row{grid-template-columns:minmax(0,1fr) minmax(0,108px)}
  ol.tl li{padding-left:52px}
  ol.tl li::before{width:34px;height:34px;font-size:14px}
  ol.tl li::after{left:16.5px;top:40px}
  .plate{padding:20px 18px}
  .nets article{padding:20px 18px}
}
