:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050806;
  color: #effff4;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-height: 100vh;
  margin: 0;
  padding: max(18px, env(safe-area-inset-top)) 14px max(30px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 92% 0, rgba(44, 225, 124, 0.18), transparent 24rem),
    radial-gradient(circle at 0 72%, rgba(52, 92, 244, 0.11), transparent 25rem),
    #050806;
}
.shell { width: min(100%, 560px); margin: 0 auto; }
header { padding: 24px 5px 19px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eyebrow { color: #61f5a0; font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.language-switch {
  flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  padding: 3px; border: 1px solid #294133; border-radius: 999px; background: #0a110c;
}
.language-switch .language-button {
  width: auto; min-height: 30px; margin: 0; padding: 0 10px; border-radius: 999px;
  background: transparent; color: #8fa096; font-size: 11px; font-weight: 850;
}
.language-switch .language-button[aria-pressed="true"] {
  background: #46ed8e; color: #061009;
}
.language-switch .language-button:focus-visible {
  outline: 2px solid #9affc4; outline-offset: 2px;
}
h1 { margin: 8px 0 10px; font-size: clamp(38px, 12vw, 58px); line-height: 1; letter-spacing: -.045em; }
header p { margin: 0; color: #91a399; font-size: 14px; line-height: 1.65; }
.independence-notice {
  margin-top: 14px; padding: 12px; border: 1px solid #695c32; border-radius: 12px;
  background: rgba(137, 108, 33, .12); color: #d8c99b; font-size: 11px; line-height: 1.55;
}
.card,
.status-card {
  margin-top: 12px;
  padding: 19px;
  border: 1px solid rgba(121, 255, 177, .16);
  border-radius: 19px;
  background: rgba(13, 20, 15, .93);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-heading div { display: flex; align-items: center; gap: 9px; }
.card-heading span { color: #5bef99; font: 800 11px ui-monospace, monospace; }
.card-heading h2 { margin: 0; font-size: 18px; }
.card-heading b { padding: 5px 8px; border-radius: 999px; background: #18261d; color: #8dbd9d; font-size: 10px; }
.address { min-height: 20px; margin: 15px 0 0; overflow-wrap: anywhere; color: #abd8bb; font: 12px/1.5 ui-monospace, monospace; }
#activationHint,
.account-help { margin: 14px 0 0; color: #9dafa3; font-size: 13px; line-height: 1.55; }
.eligibility {
  margin: 10px 0 0; padding: 10px 12px; border: 1px solid #29392f; border-radius: 10px;
  background: #0a110c; color: #8fa096; font-size: 12px; line-height: 1.5;
}
.eligibility.is-ok { border-color: #2f7650; color: #6bf0a5; }
.eligibility.is-error { border-color: #6f4646; color: #ef9a9a; }
.activation-progress {
  min-height: 18px; margin: 9px 2px 0; color: #899c90; font-size: 11px; line-height: 1.55;
}
.activation-progress.is-pending { color: #e4bd72; }
.activation-progress.is-ok { color: #6bf0a5; }
.activation-progress.is-error { color: #ef9a9a; }
.activation-result {
  margin-top: 14px; padding: 13px; border: 1px solid #2f7650; border-radius: 12px;
  background: rgba(36, 111, 67, .12);
}
.activation-result > span { display: block; color: #75e9a7; font-size: 11px; font-weight: 800; }
.activation-result code {
  display: block; margin-top: 8px; padding: 10px; overflow-wrap: anywhere;
  border: 1px solid #284532; border-radius: 9px; background: #071009;
  color: #edfff4; font: 700 13px/1.5 ui-monospace, monospace; user-select: all;
}
.activation-result > p { margin: 9px 0 0; color: #93aa9a; font-size: 11px; line-height: 1.55; }
.activation-result .copy-status.is-error { color: #ef9a9a; }
.registration-bonus {
  margin-top: 14px; padding: 13px; border: 1px solid #31845a; border-radius: 12px;
  background: linear-gradient(135deg, rgba(50, 151, 91, .18), rgba(24, 71, 43, .08));
}
.registration-bonus strong { display: block; color: #7af0aa; font-size: 15px; }
.registration-bonus p { margin: 6px 0 0; color: #9fc0aa; font-size: 11px; line-height: 1.55; }
.registration-bonus.is-unavailable { border-color: #695c32; background: rgba(137, 108, 33, .10); }
.registration-bonus.is-unavailable strong { color: #d8c99b; }
button {
  width: 100%; min-height: 48px; margin-top: 15px; padding: 0 14px;
  border: 0; border-radius: 12px; background: #46ed8e; color: #061009;
  font: 850 14px inherit; cursor: pointer;
}
button.secondary { border: 1px solid #365343; background: #142219; color: #dcffe9; }
button:disabled { cursor: not-allowed; opacity: .38; }
.two-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metrics,
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }
.metrics div,
.fee-grid div,
.quote div { padding: 12px; border: 1px solid #213228; border-radius: 12px; background: #090f0b; }
.metrics span,
.fee-grid span,
.quote span { display: block; color: #788d80; font-size: 11px; }
.metrics strong,
.fee-grid strong,
.quote strong { display: block; margin-top: 5px; overflow-wrap: anywhere; font-size: 14px; }
.withdrawal-heading {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid #263a2d;
}
.withdrawal-heading > div { min-width: 0; }
.withdrawal-heading strong { display: block; font-size: 14px; }
.withdrawal-heading span { display: block; margin-top: 4px; color: #788d80; font-size: 11px; line-height: 1.5; }
.withdrawal-heading b {
  flex: 0 0 auto; padding: 5px 8px; border-radius: 999px;
  background: #18261d; color: #8dbd9d; font-size: 10px;
}
.quote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.fee-card > a { display: block; margin-top: 12px; overflow-wrap: anywhere; color: #64f2a2; font-size: 12px; }
.status-card { display: grid; grid-template-columns: 12px 1fr; gap: 11px; align-items: start; }
.status-card > span { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #d6a252; box-shadow: 0 0 14px #d6a252; }
.status-card.is-ok > span { background: #48e98d; box-shadow: 0 0 14px #48e98d; }
.status-card.is-error > span { background: #e66b6b; box-shadow: 0 0 14px #e66b6b; }
.status-card strong { font-size: 13px; }
.status-card p { margin: 4px 0 0; overflow-wrap: anywhere; color: #87988d; font-size: 12px; line-height: 1.5; }
.miner-download { min-height: 58px; margin-top: 12px; padding: 10px 13px; display: flex; align-items: center; gap: 12px; border: 1px solid #2e7c4b; border-radius: 14px; background: linear-gradient(135deg, #173b25, #102319); color: #effff4; text-decoration: none; }
.miner-download > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #49e990; color: #071009; font-size: 19px; font-weight: 950; }
.miner-download div { display: grid; gap: 4px; }
.miner-download strong { font-size: 14px; }
.miner-download small { color: #8eb29b; font-size: 11px; }
.miner-download:active { transform: translateY(1px); }
.social-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.social-links a {
  min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid rgba(121, 255, 177, .2); border-radius: 14px;
  background: rgba(13, 20, 15, .93); color: #dcffe9; text-decoration: none;
}
.social-links a:active { transform: translateY(1px); background: #142219; }
.social-links span { color: #5bef99; font-size: 19px; }
.social-links strong { font-size: 13px; }
.security { margin: 15px 5px 0; color: #68796e; font-size: 11px; line-height: 1.65; }
.contract-footer {
  margin-top: 18px; padding: 18px; border: 1px solid rgba(121, 255, 177, .18);
  border-radius: 18px; background: rgba(9, 15, 11, .96);
}
.contract-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.contract-heading h2 { margin: 5px 0 0; font-size: 19px; }
.contract-heading b {
  flex: 0 0 auto; padding: 5px 8px; border-radius: 999px;
  background: #18261d; color: #8dbd9d; font-size: 10px;
}
.contract-footer > p { margin: 11px 0 0; color: #84968a; font-size: 11px; line-height: 1.6; }
.contract-list { display: grid; gap: 9px; margin-top: 13px; }
.contract-list a {
  min-width: 0; padding: 12px; display: grid; gap: 6px;
  border: 1px solid #213228; border-radius: 12px; background: #070c09;
  color: #effff4; text-decoration: none;
}
.contract-list a:focus-visible { outline: 2px solid #65f0a2; outline-offset: 2px; }
.contract-list span { color: #8fb59c; font-size: 11px; font-weight: 800; }
.contract-list code {
  overflow-wrap: anywhere; word-break: break-word; color: #75e9a7;
  font: 700 11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.contract-list small { color: #617568; font-size: 10px; }
html[lang="en"] h1 { letter-spacing: -.03em; }
@media (max-width: 390px) {
  body { padding-left: 9px; padding-right: 9px; }
  header { padding-top: 14px; }
  .topbar { align-items: flex-start; }
  .eyebrow { max-width: 185px; line-height: 1.45; }
  h1 { font-size: clamp(34px, 11vw, 45px); }
  .card { padding: 16px; }
  .card-heading { align-items: flex-start; }
  .card-heading b { white-space: nowrap; }
  .metrics,
  .fee-grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .two-buttons { grid-template-columns: 1fr; }
  .social-links { grid-template-columns: 1fr; }
  .contract-footer { padding: 16px; }
  .contract-heading { display: grid; }
}
