@font-face {
  font-family: Vazirmatn; src: url("fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fira Code"; src: url("fonts/FiraCode-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Material Symbols Outlined";
  src: url("../unfold/fonts/material-symbols/Material-Symbols-Outlined.woff2") format("woff2");
  font-style: normal; font-weight: 100 700; font-display: block;
}
:root {
  --bg:#f9f9f9; --paper:#fff; --low:#f3f3f3; --hover:#eee; --line:#e4beb9;
  --ink:#1a1c1c; --muted:#5b403d; --primary:#93000b; --accent:#b91c1c;
  --wash:#ffdad6; --success:#15803d; --sm:6px; --md:10px; --lg:16px;
  --shadow:0 1px 2px rgb(0 0 0 / .05); --lift:0 4px 6px -1px rgb(0 0 0 / .10),0 2px 4px -2px rgb(0 0 0 / .10);
  color-scheme:light;
}
*,*::before,*::after { box-sizing:border-box }
html { scroll-padding-top:88px }
body { margin:0; background:var(--bg); color:var(--ink); font:400 14px/22px Vazirmatn,Tahoma,sans-serif; min-height:100vh }
[hidden] { display:none!important }
h1,h2,h3,p,figure,dl,dd,ul,fieldset { margin:0 }
h1 { font-size:34px; line-height:44px; font-weight:700; text-wrap:balance }
h2 { font-size:20px; line-height:28px; font-weight:700 }
h3 { font-size:18px; line-height:26px; font-weight:600 }
p { color:var(--muted) }
strong,b { font-weight:650 }
small,.label { font-size:12px; line-height:18px }
.label { font-weight:600 }
a { color:inherit; text-decoration:none }
button,input,select,textarea { font:inherit; color:inherit }
button,a,summary,input,textarea,select { -webkit-tap-highlight-color:transparent }
button,summary,select { cursor:pointer }
button { background:none; border:0; padding:0 }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid var(--primary); outline-offset:3px
}
label { display:grid; gap:6px; font-size:13px; font-weight:600 }
input:not([type=radio]),select,textarea { background:var(--low); border:1px solid var(--line); border-radius:var(--md); padding:10px 14px; min-width:0; max-width:100%; width:100%; line-height:22px }
textarea { resize:vertical }
input[type=radio] { accent-color:var(--primary) }
button:disabled { cursor:wait; opacity:.55 }
bdi { overflow-wrap:anywhere }
:target { scroll-margin-top:12px }
.skip:not(:focus),.sr-only { position:absolute; inline-size:1px; block-size:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
.skip:focus { position:fixed; z-index:50; inset-block-start:10px; inset-inline-start:10px; padding:10px 18px; background:var(--paper) }
.wrap,.desk { width:100%; max-width:1280px; margin-inline:auto; padding-inline:24px }
.surface,.sheet,.service-card,.balance-card,.card { background:var(--paper); border:1px solid var(--line); border-radius:var(--lg); box-shadow:var(--shadow); min-width:0 }
.icon { font-family:"Material Symbols Outlined"; font-size:20px; font-style:normal; font-weight:400; line-height:1; letter-spacing:normal; white-space:nowrap; text-transform:none; display:inline-block; direction:ltr; -webkit-font-smoothing:antialiased; font-feature-settings:"liga" }
.mono,.protocols bdi { font:500 13px/18px "Fira Code",monospace; font-variant-numeric:tabular-nums }
.accent,.text-link,.more { color:var(--primary) }
.success { color:var(--success) }
.muted,small { color:var(--muted) }
.split,.inline,.actions,.bar,.text-link,.more,.back { display:flex; align-items:center; gap:12px }
.split,.bar { justify-content:space-between }
.split,.actions { flex-wrap:wrap }
.text-link,.more,.back { display:inline-flex; gap:6px; font-weight:600; width:fit-content }
.text-link:hover,.more:hover,.back:hover,.kpi-foot a:hover,.site-foot a:hover { color:var(--primary); text-decoration:underline; text-underline-offset:3px }
.btn,.chip { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 20px; font-weight:600; font-size:14px; line-height:20px; border:1px solid transparent; border-radius:var(--md); text-align:center; transition:background-color .12s ease-out,border-color .12s ease-out }
.btn .icon { font-size:18px }
.btn.primary,.btn.dark { background:var(--primary); color:#fff }
.btn.primary:hover,.btn.dark:hover { background:var(--accent) }
.btn.outline,.chip { background:var(--paper); border-color:var(--line) }
.btn.outline:hover,.chip:hover { background:var(--low); border-color:#a86964 }
.btn.pale { background:var(--low); border-color:var(--line) }
.btn.pale:hover { background:var(--hover) }
.btn.compact { padding:7px 15px }
.btn.big { padding:13px 23px }
.btn.full { width:100% }
.badge,.protocol { display:inline-flex; align-items:center; justify-content:center; gap:6px; width:fit-content; border-radius:999px; background:var(--wash); color:var(--primary); font-size:12px; line-height:18px; font-weight:600; padding:4px 12px }
.badge.good { color:#166534; background:#dcfce7 }
.icon-tile { display:inline-grid; width:44px; height:44px; flex:0 0 44px; place-items:center; background:var(--wash); color:var(--primary); border-radius:var(--md); font-size:24px }
.mast { position:sticky; top:0; z-index:10; background:var(--bg); border-bottom:1px solid var(--line) }
.mast .bar { min-height:64px; gap:16px }
.brand { display:inline-flex; align-items:center; gap:12px; flex-shrink:0; font-size:20px; line-height:28px; font-weight:700 }
.brand img,.network-logo,.auth-card header img { object-fit:cover; border:1px solid var(--line); border-radius:var(--md) }
.main-nav,.nav-actions,.site-foot nav { display:flex; align-items:center; gap:24px }
.main-nav a { color:var(--muted); font-size:14px; font-weight:600; padding-block:8px; white-space:nowrap }
.main-nav a:hover,.main-nav a[aria-current] { color:var(--primary) }
.nav-actions { gap:10px; flex-shrink:0 }
.mobile-menu { display:none }
.account-menu,.mobile-menu { position:relative }
.account-menu summary,.mobile-menu summary,.icon-button { display:grid; place-items:center; width:36px; height:36px; border:1px solid var(--line); background:var(--paper); border-radius:var(--md); color:var(--muted) }
.account-menu summary::-webkit-details-marker,.mobile-menu summary::-webkit-details-marker { display:none }
.account-menu nav,.mobile-menu nav { position:absolute; z-index:15; top:calc(100% + 8px); inset-inline-start:0; min-width:200px; display:grid; padding:8px; border:1px solid var(--line); border-radius:var(--md); background:var(--paper); box-shadow:var(--lift) }
.account-menu nav strong { padding:5px 8px; border-bottom:1px solid var(--line); margin-bottom:4px }
.account-menu nav a,.mobile-menu nav a { display:flex; align-items:center; gap:8px; padding:9px; border-radius:var(--sm) }
.account-menu nav a:hover,.mobile-menu nav a:hover { background:var(--low) }
.account-menu nav .icon { font-size:18px; color:var(--primary) }
.site-foot { border-top:1px solid var(--line); color:var(--muted) }
.site-foot .bar { padding-block:22px; flex-wrap:wrap }
.site-foot .brand { font-size:16px; color:var(--ink) }
.landing { padding-block:64px; display:grid; gap:64px }
.hero { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:40px }
.hero-copy,.network-card,.landing-section,.feature,.auth-card,.auth-card form { display:flex; flex-direction:column; gap:24px; min-width:0 }
.hero-copy>.badge { padding:6px 14px }
.hero-copy>.badge .icon { font-size:16px }
.hero-copy h1 { font-size:44px; line-height:56px; font-weight:800 }
.hero-copy>p,.landing-section header p,.desk-heading p { font-size:16px; line-height:26px }
.hero-actions { gap:16px; padding-top:8px }
.hero-actions .primary { box-shadow:var(--lift) }
.metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; padding-top:16px; border-top:1px solid var(--line) }
.metrics>div { display:flex; flex-direction:column-reverse }
.metrics dd { font-size:24px; line-height:32px; font-weight:700 }
.metrics dt { color:var(--muted) }
.metrics>div:first-child dd { color:var(--primary) }
.network-card { padding:32px; box-shadow:var(--lift); animation:float-card 6s ease-in-out infinite }
.network-card header strong { font-size:16px; line-height:24px }
.network-card header small,.protocols span { display:block }
.orbit-stage { display:grid; place-items:center; padding:16px; background:var(--low); border:1px solid var(--line); border-radius:var(--lg) }
.network-orbit { width:100%; max-width:384px; height:208px }
.anim-orbit,.anim-orbit-rev,.anim-pulse { transform-box:fill-box; transform-origin:center }
.anim-orbit { animation:orbit 38s linear infinite }
.anim-orbit-rev { animation:orbit 24s linear reverse infinite }
.anim-pulse { animation:pulse 3.5s ease-in-out infinite }
@keyframes float-card { 50% { transform:translateY(-5px) } }
@keyframes orbit { to { transform:rotate(360deg) } }
@keyframes pulse { 50% { transform:scale(1.12); opacity:.65 } }
.protocols { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px }
.protocols>div { padding:12px 5px; text-align:center; background:var(--low); border:1px solid var(--line); border-radius:var(--md) }
.protocols>div:first-child { background:var(--wash); border-color:var(--primary) }
.protocols>div:first-child bdi { color:var(--primary) }
.protocols span { font-size:12px; line-height:18px; color:var(--muted); font-weight:600 }
.landing-section>header h2 { font-size:34px; line-height:44px }
.landing-section>header p { margin-top:8px }
.desk-heading p { margin-top:4px }
.three-cards,.cards { display:grid; gap:24px; grid-template-columns:repeat(3,minmax(0,1fr)) }
.feature,.plan { padding:24px; gap:12px }
.feature { position:relative; gap:8px; transition:transform .12s ease-out,border-color .12s ease-out }
.feature .icon-tile { background:none; width:auto; height:28px; flex-basis:28px; align-self:start; font-size:28px }
.feature:hover,.feature:focus-within { border-color:var(--primary); transform:translateY(-3px) }
.feature .text-link { padding-top:8px }
.feature .text-link::after { content:""; position:absolute; inset:0 }
.feature .text-link { margin-top:auto }
.card.plan { display:flex; flex-direction:column; align-items:flex-start; gap:20px }
.card.plan-featured { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent),var(--shadow) }
.plan .volume { font-size:32px; line-height:40px; font-weight:700 }
.plan .volume small { font-size:14px; font-weight:600 }
.plan-footer { width:100%; margin-top:auto; padding-block-start:16px; border-block-start:1px solid var(--line) }
.facts { list-style:none; padding:0; width:100% }
.facts li { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding-block:9px; border-bottom:1px solid var(--line); color:var(--muted) }
.facts li:last-child { border:0 }
.facts strong { color:var(--ink); text-align:end }
.faq { padding:0 24px }
.faq details { padding:18px 0 }
.faq details+details { border-top:1px solid var(--line) }
details summary { font-weight:600 }
details summary:hover { color:var(--primary) }
details p { margin-top:8px }
.auth { display:flex; flex-direction:column; min-height:100dvh }
.auth-top { padding-top:24px }
.auth #content { flex:1; display:grid; align-items:center; padding:32px 16px }
.auth-frame { width:100%; max-width:448px; margin-inline:auto; display:grid; gap:16px }
.auth-card { padding:32px; box-shadow:var(--lift) }
.auth-card header { display:grid; justify-items:center; text-align:center; gap:12px }
.auth-card header img { border-radius:var(--lg) }
.auth-card header p { margin-top:4px }
.auth-card h1 { font-size:24px; line-height:32px }
.auth-method,.selected-method { display:flex; align-items:center; gap:12px; border-radius:var(--md); background:var(--low); border:1px solid var(--line); padding:14px }
.auth-card form { gap:16px }
.auth-card footer { border-top:1px solid var(--line); padding-top:16px; text-align:center }
.auth-help { text-align:center; color:var(--muted) }
.auth .back { color:var(--muted) }
.auth-help { font-size:13px }
.empty { padding:32px; display:grid; gap:12px; justify-items:start; grid-column:1/-1 }
.notice { background:#fff1ef; color:var(--muted); padding:12px 16px; border:1px solid var(--line); border-radius:var(--md) }
.wrap>.notice { margin-top:16px }
.notice.error { color:var(--primary); background:#ffebe8; border-color:#d18c85 }
@media (max-width:1023px) {
  .hero { grid-template-columns:1fr }
  .network-card { max-width:740px; width:100%; justify-self:center }
  .main-nav { gap:15px }
  .three-cards,.cards { gap:16px }
}
@media (max-width:890px) {
  .mast .bar { min-height:60px; gap:8px }
  .main-nav,.nav-actions .account-menu { display:none }
  .mobile-menu { display:block }
  .mobile-menu nav { inset-inline-start:auto; inset-inline-end:0; max-height:calc(100dvh - 72px); overflow-y:auto }
  .mobile-menu nav a[aria-current] { background:var(--wash); color:var(--primary) }
  .mobile-menu nav hr { border:0; border-top:1px solid var(--line); width:100%; margin:4px 0 }
}
@media (max-width:767px) {
  .wrap,.desk { padding-inline:16px }
  .landing { padding-block:40px; gap:48px }
  .hero { gap:28px }
  h1 { font-size:26px; line-height:34px }
  .hero-copy h1 { font-size:30px; line-height:40px }
  .hero-actions { gap:10px }
  .btn.big { padding:12px 17px }
  .network-card { padding:24px }
  .landing-section>header h2 { font-size:26px; line-height:34px }
  .three-cards,.cards { grid-template-columns:1fr }
  .brand { gap:8px; font-size:18px }
  .nav-actions { gap:6px }
  .site-foot nav { gap:12px }
  .auth-card { padding:24px }
}
@media (max-width:420px) {
  .mast .brand { font-size:16px; gap:7px }
  .mast .brand img { width:32px; height:32px }
  .mast .btn.compact { padding:7px 10px; font-size:13px }
}
@media (max-width:350px) {
  .mast .bar { padding-inline:10px }
  .mast .brand { font-size:14px }
  .nav-actions { gap:4px }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important }
}
