:root {
  color-scheme: dark;
  --background: #0b1010;
  --surface: #121b19;
  --raised: #192621;
  --text: #eff6f1;
  --muted: #aebfb6;
  --mint: #b7f5d0;
  --mint-dark: #8fe3b3;
  --line: #31453b;
  --mono: "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--background); font: 16px/1.6 Inter, "Segoe UI", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.wrap { max-width: 1236px; margin-inline: auto; padding-inline: clamp(17px, 4vw, 37px); }

body > header { border-bottom: 1px solid #25362e; background: #101715; }
header nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; font-size: 1.15rem; font-weight: 770; letter-spacing: -.045em; white-space: nowrap; }
.brand > span:last-child { margin-left: 4px; color: var(--muted); }
.brand-mark { position: relative; flex: 0 0 auto; width: 24px; height: 17px; margin-right: 8px; border: 1.5px solid currentColor; border-radius: 5px; color: var(--mint); }
.brand-mark::before { position: absolute; content: ""; inset: -5px 3px auto 0; height: 4px; border-top: 1.5px solid currentColor; border-radius: 4px 0 0 0; transform: rotate(-9deg); }
.brand-mark::after { position: absolute; content: ""; right: 3px; top: 5px; width: 5px; height: 4px; border: 1px solid currentColor; border-radius: 2px; }
.nav-links { display: flex; gap: clamp(15px, 3vw, 35px); color: var(--muted); font-size: .93rem; }
.nav-tools { display: flex; align-items: center; gap: 14px; }
.nav-links a, .footer-link { transition: color .16s ease; }
.nav-links a:hover, .footer-link:hover { color: var(--mint); }

.btn,
.image-open,
.language-link {
  transition: transform .16s ease, border-color .17s ease, background-color .17s ease, color .17s ease, box-shadow .17s ease;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 10px 17px;
  color: #112219;
  background: var(--mint);
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
  line-height: 1.23;
  text-align: center;
  cursor: pointer;
}
.btn:hover { background: #d6fbe6; }
.btn:active, .language-link:active, .image-open:active { transform: scale(.96); }
.primary { box-shadow: 0 2px 0 #507b60; }
.primary:active { box-shadow: 0 0 0 #507b60; }
.outline { color: var(--text); border-color: #466353; background: #16201c; }
.outline:hover { background: #22352b; border-color: #739d86; }
.nav-account { min-height: 38px; padding-inline: 12px; font-size: .9rem; }
.language-picker { display: inline-flex; gap: 2px; flex-shrink: 0; padding: 3px; border: 1px solid #354940; border-radius: 10px; background: #111a16; }
.language-link { display: inline-flex; align-items: center; justify-content: center; min-width: 31px; min-height: 30px; padding-inline: 4px; color: var(--muted); border: 1px solid transparent; border-radius: 7px; font: 650 .78rem/1 var(--mono); }
.language-link:hover { color: var(--text); background: #20362a; }
.language-link.active { color: var(--mint); border-color: #41644e; background: #253b2d; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-block: 25px 0; }
p { color: var(--muted); }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 86px); padding-block: clamp(40px, 5.7vw, 75px); }
.hero-copy { min-width: 0; }
h1 { font-size: clamp(2.7rem, 4.85vw, 4.4rem); font-weight: 760; line-height: 1.025; letter-spacing: -.075em; margin: 0 0 24px; overflow-wrap: anywhere; }
h1 em { color: var(--mint); font-style: normal; }
h2 { font-size: clamp(1.75rem, 3.45vw, 2.6rem); letter-spacing: -.055em; line-height: 1.14; }
h3 { font-size: 1.14rem; letter-spacing: -.026em; line-height: 1.3; }
.hero-description { max-width: 405px; font-size: 1.12rem; margin: 0; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 12px; margin: 24px 0 0; }
.hero-price strong { color: var(--text); font-size: 1.65rem; font-weight: 740; line-height: 1.15; letter-spacing: -.04em; }
.hero-price span { font-size: .9rem; }
.hero .actions { margin-top: 17px; }

.showcase {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 1px clamp(15px, 3vw, 26px) 22px;
  overflow: hidden;
  border: 1px solid #394e44;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 100%, #244237, transparent 80%), #121c19;
  box-shadow: 0 18px 44px #020b074d;
}
.showcase-top { display: flex; align-items: center; margin-bottom: 14px; min-height: 53px; padding-right: 44px; border-bottom: 1px solid var(--line); color: #d8e9df; font-size: .88rem; font-weight: 650; }
.image-open { position: absolute; top: 11px; right: clamp(15px, 3vw, 32px); display: grid; place-items: center; width: 33px; height: 33px; color: var(--mint); border: 1px solid #456453; border-radius: 8px; background: #182720; cursor: zoom-in; }
.image-open:hover { background: #294636; border-color: #81b99a; }
.wallet-frame { display: block; overflow: hidden; width: min(100%, 272px); margin: 0 auto; padding: 0; border: 1px solid #52705f; border-radius: 18px; background: #000; box-shadow: 0 12px 32px #050a06a6; cursor: zoom-in; transition: border-color .2s, box-shadow .2s; }
.wallet-frame:hover { border-color: #93cbaa; box-shadow: 0 20px 35px #050a06cf; }
.wallet-frame:active img { transform: scale(.985); }
.wallet-frame img { display: block; width: 100%; height: auto; transition: transform .16s ease; }
.screenshot-dialog { width: min(calc(100% - 28px), 460px); max-height: calc(100dvh - 26px); padding: 13px; color: var(--text); border: 1px solid #4f775f; border-radius: 18px; background: #101b15; }
.screenshot-dialog::backdrop { background: #060b08dd; }
.screenshot-dialog form { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.screenshot-dialog img { display: block; width: 100%; height: auto; border-radius: 10px; }

.section { padding-block: 52px; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.section h2 { margin: 0 0 23px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.panel, .feature { padding: clamp(18px, 3.2vw, 28px); border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.feature { box-shadow: inset 0 1px #d0f6df0d; }
.feature h3, .pricing h3 { margin: 0 0 9px; }
.feature p { margin: 0; }
.feature-icon { position: relative; display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 14px; color: var(--mint); border: 1px solid #49715a; border-radius: 12px; background: #20372b; }
.feature-icon::before, .feature-icon::after, .action-icon::before, .action-icon::after { position: absolute; content: ""; }
.icon-wallet::before { width: 16px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-wallet::after { width: 3px; height: 3px; margin-left: 8px; border-radius: 50%; background: currentColor; }
.icon-accounts::before { width: 13px; height: 9px; margin: -5px 0 0 -5px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-accounts::after { width: 13px; height: 9px; margin: 5px 0 0 5px; border: 1.5px solid currentColor; border-radius: 3px; background: #20372b; }
.icon-transfer::before { width: 13px; height: 7px; margin-top: -5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: skewX(30deg); }
.icon-transfer::after { width: 13px; height: 7px; margin-top: 5px; border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: skewX(30deg); }
.icon-history::before { width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; }
.icon-history::after { width: 4px; height: 5px; margin: -3px 0 0 4px; border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; }
.icon-key::before { width: 8px; height: 8px; margin: -5px 0 0 -6px; border: 1.5px solid currentColor; border-radius: 50%; }
.icon-key::after { width: 12px; height: 4px; margin: 7px 0 0 11px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(42deg); }
.action-icon { position: relative; display: grid; place-items: center; width: 18px; height: 18px; }
.icon-expand::before { width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; }
.icon-expand::after { width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 1px; }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.price { border-color: #537a64; background: #172820; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 14px 0 0; }
.price-row strong { color: var(--text); font-size: clamp(2.3rem, 4.8vw, 3.3rem); line-height: 1; letter-spacing: -.06em; }
.price-row small, .purchase-note { color: var(--muted); font-size: .875rem; }
.purchase-note { margin: 12px 0 0; }
.existing p { max-width: 390px; margin: 16px 0 20px; }
.checkout-amount { margin-bottom: 22px; }

.faq-items { max-width: 760px; }
.inline-link { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
details { border-bottom: 1px solid var(--line); padding-block: 14px; }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; cursor: pointer; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { flex: 0 0 auto; content: "+"; color: var(--mint); font: 1.32rem/1 var(--mono); }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 3px; }
footer { border-top: 1px solid var(--line); padding-block: 23px; color: var(--muted); font-size: .875rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 22px; flex-wrap: wrap; }
footer .brand { color: var(--text); }
footer p { margin: 0; }

.account-page { min-height: 100vh; display: flex; flex-direction: column; }
.account { padding-block: clamp(35px, 8vw, 82px); width: min(100%, 645px); margin-block: auto; }
.account h1 { font-size: clamp(2rem, 6vw, 3.1rem); margin: 0 0 18px; }
.account .actions { margin-block: 19px 0; }
.preview-notice, .access-status { color: var(--mint); }
.preview-notice { margin-top: 0; font-size: .9rem; }
.access-status { font-weight: 700; }
.purchase-recovery { margin: 20px 0; padding-block: 16px; border-block: 1px solid var(--line); }
.purchase-recovery h2 { margin: 0 0 8px; font-size: 1.18rem; letter-spacing: -.025em; }
.purchase-recovery p { margin: 0 0 6px; }
.purchase-recovery p:last-child { margin-bottom: 0; }
.signout { margin-top: 16px; }
.error { color: #ffb4ad; }
.order-history { margin-top: 15px; }
.order-history h2 { font-size: 1.35rem; margin-top: 0; }
.order-list { list-style: none; padding: 0; margin: 0; }
.order { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.manual-wallet-preview { display: block; width: min(100%, 18rem); height: auto; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; }
.hero-copy > .btn { margin-top: 16px; }
.transfer-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 7px 15px; }
.transfer-details dt, .transfer-form small, .transfer-log { color: var(--muted); }
.transfer-details dd { margin: 0; overflow-wrap: anywhere; }
.transfer-form { display: grid; justify-items: start; gap: 8px; margin-top: 24px; }
.transfer-form input { width: min(100%, 340px); padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--background); font: inherit; }
.transfer-form .btn { margin-top: 9px; }
.transfer-log { margin-top: 23px; border-top: 1px solid var(--line); font-size: .9rem; }
.order-details, .order-status { font-size: .925rem; color: var(--muted); }
.order-paid, .order-link:hover { color: var(--mint); }
.order-link { text-underline-offset: 3px; text-decoration: underline; }

@media (max-width: 940px) {
  .hero { gap: 32px; }
  .nav-links { gap: 15px; }
}
@media (max-width: 800px) {
  header nav { min-height: 64px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 48px; }
  .hero h1 { font-size: clamp(2.45rem, 8.8vw, 3.9rem); }
  .hero-description { font-size: 1.04rem; }
  .showcase { width: min(100%, 550px); }
  .feature-grid, .pricing { grid-template-columns: 1fr; }
  .section { padding-block: 39px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) {
  header nav, .nav-tools { gap: 8px; }
  .nav-account { padding-inline: 8px; font-size: .81rem; }
  .language-link { min-width: 26px; padding-inline: 2px; }
  .hero { padding-top: 35px; }
  .hero-price { margin-top: 18px; }
  .showcase { padding-bottom: 16px; }
}
@media (max-width: 360px) {
  header nav { flex-wrap: wrap; }
  .site-home .nav-tools { flex-wrap: wrap; }
  .hero .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .language-link, .image-open, .wallet-frame, .wallet-frame img, .nav-links a, .footer-link { transition: none; }
  .btn:active, .language-link:active, .image-open:active, .wallet-frame:active img { transform: none; }
}

