:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #0c0c0d;
  --panel-deep: rgb(0 0 0 / .45);
  --panel-raised: rgb(255 255 255 / .05);
  --line: rgb(255 255 255 / .075);
  --line-bright: rgb(255 255 255 / .13);
  --text: #ededef;
  --muted: #a3a3a9;
  --dark-muted: #8c8c93;
  --accent: #f4f4f5;
  --accent-ink: #000;
  --accent-soft: rgb(255 255 255 / .32);
  --blue: #d0d0d5;
  --error: #eba5a5;
  --warn: #dcc79a;
  /* Black glass lit from above: a rim light on the top edge, a soft pool under it, a faint glow on the floor. */
  --glass:
    linear-gradient(90deg, transparent 4%, rgb(255 255 255 / .3) 50%, transparent 96%) top / 100% 1px no-repeat,
    radial-gradient(ellipse 75% 90px at 50% 0, rgb(255 255 255 / .06), transparent),
    linear-gradient(180deg, rgb(255 255 255 / .028), rgb(255 255 255 / .012));
  --glass-edge: 0 18px 40px rgb(0 0 0 / .55), 0 26px 34px -26px rgb(255 255 255 / .09);
  --glass-blur: blur(24px);
  --radius: 16px;
  --radius-small: 10px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --space: clamp(18px, 2.4vw, 32px);
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100svh; margin: 0; display: flex; flex-direction: column; color: var(--text);
  font: 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  background: var(--bg);
}
/* Stage: overhead light and beam, then a dark glass floor with a faint horizon. */
body::before, body::after { content: ""; position: fixed; z-index: -1; pointer-events: none; }
body::before {
  inset: 0;
  background:
    radial-gradient(ellipse 42% 30% at 50% -6%, rgb(255 255 255 / .17), transparent 72%),
    conic-gradient(from 146deg at 50% -16%, transparent 0deg, rgb(255 255 255 / .065) 34deg, transparent 68deg),
    radial-gradient(ellipse 9% 46% at 3% 26%, rgb(255 255 255 / .09), transparent 75%),
    radial-gradient(ellipse 9% 46% at 97% 40%, rgb(255 255 255 / .075), transparent 75%),
    linear-gradient(112deg, transparent 3%, rgb(255 255 255 / .05) 9%, transparent 15%, transparent 84%, rgb(255 255 255 / .045) 91%, transparent 97%);
  -webkit-mask-image: linear-gradient(#000 10%, transparent 88%); mask-image: linear-gradient(#000 10%, transparent 88%);
}
body::after {
  inset: auto 0 0; height: 24svh;
  background:
    linear-gradient(90deg, transparent 12%, rgb(255 255 255 / .13) 50%, transparent 88%) top / 100% 1px no-repeat,
    radial-gradient(ellipse 46% 100% at 50% 0, rgb(255 255 255 / .055), transparent 78%);
}
button, input, select { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid rgb(255 255 255 / .75); outline-offset: 2px;
}
::selection { color: var(--accent-ink); background: var(--accent); }
.topbar, .site-foot {
  min-height: 73px; padding: 0 var(--space); display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: rgb(0 0 0 / .5);
}
.topbar {
  position: sticky; top: 0; z-index: 5; min-height: 60px; border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: .05em; }
.brand small { color: var(--muted); font-size: .76em; font-weight: 500; letter-spacing: .14em; }
.brand-logo { display: block; height: 28px; width: auto; aspect-ratio: 217 / 64; filter: drop-shadow(0 0 14px rgb(255 255 255 / .22)); }
.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center; color: var(--text); font-weight: 700;
  border: 1px solid var(--line-bright); border-radius: 9px; background: var(--glass);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16); font-size: 15px; line-height: 1; letter-spacing: 0;
}
#nav { display: flex; gap: 19px; align-items: center; }
.nav-link {
  border: 0; padding: 4px 0; background: transparent; color: var(--muted); text-decoration: none;
  white-space: nowrap; font-size: 13px; font-weight: 500;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }
.nav-icon { color: var(--accent); margin-right: 5px; }
.site-foot { min-height: 54px; border-top: 1px solid #252838; color: var(--dark-muted); font-size: 10px; letter-spacing: .12em; }
.site-foot span:first-child { display: flex; gap: 8px; align-items: center; }
.site-foot i, .status-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--dark-muted);
}
.site-foot .online i, .status-dot { background: var(--accent); box-shadow: 0 0 9px #d9ff5566; }
.site-foot b { color: var(--accent-soft); font-weight: 400; }
#screen { flex: 1; display: grid; min-width: 0; }
.loading { place-self: center; padding: 30px; color: var(--muted); }
.cursor { display: inline-block; width: 8px; height: 14px; vertical-align: -.15em; margin-right: 6px; background: var(--accent); }
.window {
  border: 1px solid var(--line-bright); border-radius: 20px; padding: 0; overflow: hidden; color: var(--text);
  background: var(--glass), rgb(7 7 8 / .82); box-shadow: 0 32px 90px rgb(0 0 0 / .7), 0 40px 50px -38px rgb(255 255 255 / .12);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); min-width: 0;
}
.gate-window { place-self: center; width: min(calc(100% - 48px), 1000px); margin: clamp(24px, 5vh, 74px) 0; }
.titlebar {
  padding: 0 19px; min-height: 43px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px;
}
.lights { display: flex; gap: 7px; }
.lights i { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.title-state { justify-self: end; color: var(--dark-muted); letter-spacing: .1em; font-size: 10px; }
.gate-body { display: grid; grid-template-columns: 1.5fr 1fr; min-height: 485px; }
.gate-content { padding: clamp(32px, 4.6vw, 66px) clamp(27px, 4.5vw, 65px) 36px; }
.wordmark {
  width: max-content; max-width: 100%; margin: 0 0 27px; user-select: none;
  filter: drop-shadow(0 4px 19px #5f89ff24);
}
.wordmark strong {
  display: block; font-size: clamp(44px, 7vw, 82px); line-height: .86; font-weight: 950; letter-spacing: -.086em;
  padding: 5px .085em 5px 0; font-style: italic;
  background: repeating-linear-gradient(transparent 0 3px, #08173928 3px 4px), linear-gradient(175deg, #fcfdff 22%, #aecdff 79%, #7b96ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark span {
  color: var(--accent); display: flex; gap: 10px; align-items: center; justify-content: center;
  letter-spacing: .42em; font-size: 15px; font-weight: 900; line-height: 2;
}
.wordmark span::before, .wordmark span::after { content: ""; flex: 1; background: #adcc4c; height: 1px; }
.command {
  color: var(--dark-muted); margin: 0 0 16px; font: 12px/1.6 var(--mono); overflow-wrap: anywhere;
}
.command code { color: inherit; font: inherit; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 650; line-height: 1.18; margin-bottom: 8px; letter-spacing: -.022em; overflow-wrap: anywhere; }
h2 { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.008em; margin-bottom: 12px; }
.subtext { margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.gate-form { display: grid; gap: 13px; max-width: 420px; }
.field { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.field input, .field select {
  width: 100%; min-width: 0; min-height: 42px; padding: 9px 13px; outline-offset: 1px;
  background: var(--panel-deep); border: 1px solid var(--line-bright); border-radius: var(--radius-small); font-size: 14px; color: var(--text);
}
.field :is(input, select, textarea):hover { border-color: rgb(255 255 255 / .22); }
.field :is(input:not([type="checkbox"]), textarea):focus { border-color: rgb(255 255 255 / .42); box-shadow: 0 0 26px -6px rgb(255 255 255 / .3); }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 34px; text-overflow: ellipsis;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 55% / 5px 5px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--muted) 50%) calc(100% - 13px) 55% / 5px 5px no-repeat,
    var(--panel-deep);
}
.field option { color: var(--text); background: var(--panel); }
.field input::placeholder { color: var(--dark-muted); }
.inline-field { position: relative; }
.inline-field .prefix { position: absolute; left: 13px; top: 10px; color: var(--accent); font-size: 14px; pointer-events: none; }
.inline-field input { padding-left: 36px; }
.btn {
  min-height: 40px; border: 1px solid var(--line-bright); border-radius: var(--radius-small); padding: 8px 15px;
  background: var(--panel-raised); box-shadow: inset 0 1px 0 rgb(255 255 255 / .07); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none;
  font-weight: 550; font-size: 13px; transition: background-color .15s, border-color .15s, box-shadow .2s;
}
.btn:hover { border-color: rgb(255 255 255 / .24); background: rgb(255 255 255 / .1); }
.btn-primary {
  color: var(--accent-ink); background: linear-gradient(#fff, #cfcfd4); border-color: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px -10px rgb(255 255 255 / .38);
}
.btn-primary:hover { background: #fff; border-color: #fff; box-shadow: inset 0 1px 0 #fff, 0 12px 34px -8px rgb(255 255 255 / .55); }
.gate-form .btn-primary { justify-content: space-between; min-height: 44px; }
.form-error { margin: 0; min-height: 0; color: var(--error); font-size: 13px; }
.form-error:empty { display: none; }
.scope {
  position: relative; isolation: isolate; min-width: 0; border-left: 1px solid var(--line); display: grid;
  place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at center, #1c2140 0%, #101321 43%, #0b0d15 79%);
}
.scope::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(#889de918 1px, transparent 1px), linear-gradient(90deg, #889de918 1px, transparent 1px);
  background-size: 27px 27px; mask-image: radial-gradient(ellipse at center, #000 24%, transparent 83%);
}
.scope::after {
  content: ""; position: absolute; pointer-events: none; inset: 0;
  background: repeating-linear-gradient(0deg, #0a0d171c 0 1px, transparent 1px 4px);
}
.scope canvas { width: 100%; max-width: 420px; display: block; aspect-ratio: 1; }
.scope-caption {
  position: absolute; bottom: 22px; left: 26px; right: 25px; padding-top: 11px; border-top: 1px solid #303952;
  display: flex; align-items: center; justify-content: space-between; color: var(--blue); font-size: 10px; letter-spacing: .13em;
}
.scope-caption .status-dot { background: var(--blue); box-shadow: 0 0 10px #719affaa; }
.terminal-foot {
  padding: 9px 19px; border-top: 1px solid var(--line); background: var(--panel-deep);
  color: var(--dark-muted); font-size: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 16px;
}
.terminal-foot kbd { color: var(--muted); font: inherit; }
.workspace {
  width: min(calc(100% - 48px), 1100px); justify-self: center; align-self: start; margin: clamp(25px, 5vh, 59px) 0;
}
.workspace-body { padding: clamp(20px, 4vw, 43px); }
.section-top { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 23px; }
.section-top h1, .section-top .subtext { margin-bottom: 0; }
.section-top .subtext { margin-top: 8px; }
.workspace .command { margin-bottom: 10px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tab {
  padding: 7px 11px; border: 1px solid var(--line); background: var(--panel-deep); color: var(--muted);
  font-size: 11px; min-height: 36px;
}
.tab[aria-pressed="true"], .tab[aria-current="page"] { border-color: #7a9342; color: var(--accent); background: #202719; }
.plan-grid { display: grid; gap: 13px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); }
.plan-card {
  min-width: 0; min-height: 207px; display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line-bright);
  background: linear-gradient(165deg, #161926, #10121c 66%); align-items: start;
}
.plan-card.featured { border-color: #8fa649; background: linear-gradient(160deg, #30351d, #11151b 65%); }
.plan-meta { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.plan-card .price { margin: 5px 0 12px; font-size: 29px; font-weight: 800; color: var(--text); letter-spacing: -.075em; }
.plan-card.featured .price { color: var(--accent); }
.plan-card .btn { margin-top: auto; width: 100%; justify-content: space-between; }
.plan-label { min-width: 0; overflow-wrap: anywhere; margin-bottom: 4px; }
.featured-label { font-size: 9px; color: var(--accent); margin-left: auto; }
.plan-head { display: flex; justify-content: space-between; gap: 6px; width: 100%; align-items: start; }
.command-bottom {
  display: flex; gap: 10px; align-items: center; padding: 10px clamp(14px, 4vw, 43px); border-top: 1px solid var(--line);
  background: var(--panel-deep); color: var(--accent); font-size: 11px;
}
.command-bottom input { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 5px; font-size: 12px; color: var(--text); }
.command-bottom input::placeholder { color: var(--dark-muted); }
.command-output { padding: 0 clamp(14px, 4vw, 43px); color: var(--blue); font-size: 11px; overflow-wrap: anywhere; }
.command-output:not(:empty) { padding-top: 9px; padding-bottom: 9px; border-top: 1px solid var(--line); }
.content-columns { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: start; }
.inset {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); padding: clamp(16px, 2vw, 22px); min-width: 0;
}
.checkout-form, .hash-form { display: grid; gap: 14px; }
.networks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 115px), 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.networks legend { padding: 0 0 6px; color: var(--muted); font-size: 11px; }
.network {
  display: grid; grid-template-columns: auto 1fr; gap: 7px; align-items: center; padding: 9px 8px;
  border: 1px solid var(--line-bright); color: var(--muted); font-size: 10px; cursor: pointer;
}
.network input { accent-color: var(--accent); margin: 0; }
.network b { display: block; color: var(--text); font-size: 12px; }
.network:has(:checked) { border-color: var(--accent-soft); background: #202719; }
.receipt-line { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; color: var(--muted); font-size: 12px; }
.receipt-line strong { color: var(--text); text-align: right; overflow-wrap: anywhere; min-width: 0; }
.receipt-total { border-top: 1px solid var(--line); margin-top: 9px; padding-top: 12px; }
.receipt-total strong { color: var(--accent); }
.status { display: inline-block; width: fit-content; color: var(--blue); background: rgb(255 255 255 / .05); border: 1px solid var(--line-bright); border-radius: 99px; padding: 2px 10px; font-size: 12px; white-space: nowrap; }
.status.paid, .status.fulfilled { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .26); }
.status.payment_issue { background: rgb(235 165 165 / .08); color: var(--error); border-color: rgb(235 165 165 / .26); }
.copy-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 10px; margin-bottom: 11px; }
.copy-row > div { min-width: 0; }
.copy-row small { color: var(--muted); display: block; font-size: 12px; }
.copy-row code { display: block; overflow-wrap: anywhere; color: var(--text); font: 13px/1.5 var(--mono); }
.copy-row .btn { min-height: 34px; padding: 5px 12px; }
.hash-form { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 14px; }
.vspace { margin-top: 14px; }
.small-text { color: var(--muted); font-size: 13px; margin: 8px 0 0; overflow-wrap: anywhere; }
.credentials .copy-row { margin-bottom: 14px; }
.order-list { display: grid; gap: 8px; }
.order-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 13px; min-width: 0;
  border: 1px solid var(--line); background: var(--panel-deep); padding: 10px 12px;
}
.order-item strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.order-item .small-text { margin: 2px 0 0; }
.order-item .btn { min-height: 33px; padding: 5px 9px; }
.pagination { display: flex; justify-content: space-between; margin-top: 12px; }
.empty { color: var(--muted); border: 1px dashed var(--line-bright); border-radius: var(--radius-small); padding: 18px; margin: 0; }
.demo-strip { padding: 9px 13px; background: rgb(220 199 154 / .07); border: 1px solid rgb(220 199 154 / .2); border-radius: var(--radius-small); color: var(--warn); font-size: 12px; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .gate-window, .workspace { width: calc(100% - 32px); }
  .gate-body { min-height: 400px; grid-template-columns: 1.55fr 1fr; }
  .gate-content { padding: 34px 26px 30px; }
  .scope-caption { left: 14px; right: 14px; font-size: 8px; }
}
@media (max-width: 570px) {
  .topbar { min-height: 59px; }
  .brand { gap: 7px; font-size: 11px; }
  .brand-mark { width: 25px; height: 25px; }
  #nav { gap: 11px; }
  .nav-link { font-size: 10px; }
  .nav-icon { display: none; }
  .gate-window { margin-block: 22px; }
  .gate-body { grid-template-columns: 1fr; }
  .gate-content { padding: 25px 23px; }
  .wordmark { margin-bottom: 19px; }
  .wordmark strong { font-size: 54px; }
  .gate-content .command { margin-bottom: 10px; }
  .gate-content .subtext { margin-bottom: 14px; }
  .scope { min-height: 146px; border-left: 0; border-top: 1px solid var(--line); }
  .scope canvas { width: 158px; }
  .scope-caption { bottom: 13px; border-top: 0; }
  .site-foot { min-height: 42px; font-size: 8px; letter-spacing: .04em; }
  .content-columns { grid-template-columns: 1fr; }
  .order-item { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
  .order-item .status { grid-row: 2; grid-column: 1; }
  .order-item .btn { grid-row: 1 / span 2; grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: linear-gradient(#0d0d0e, #0d0d0e); --glass-blur: none; }
  .topbar { background: var(--bg); }
}
