@font-face {
  font-family: "Golos Text";
  src: url("/static/fonts/GolosText-Variable-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Phosphor";
  src: url("/static/fonts/Phosphor-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

.ph {
  display: inline-block;
  font-family: "Phosphor" !important;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  line-height: 1;
  speak: never;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ph-android-logo::before { content: "\e008"; }
.ph-apple-logo::before { content: "\e516"; }
.ph-arrow-right::before { content: "\e06c"; }
.ph-arrow-up-right::before { content: "\e092"; }
.ph-check::before { content: "\e182"; }
.ph-copy::before { content: "\e1ca"; }
.ph-download-simple::before { content: "\e20c"; }
.ph-fingerprint::before { content: "\e23e"; }
.ph-headset::before { content: "\e584"; }
.ph-house::before { content: "\e2c2"; }
.ph-key::before { content: "\e2d6"; }
.ph-link-simple::before { content: "\e2e6"; }
.ph-lock-key-open::before { content: "\e300"; }
.ph-power::before { content: "\e3da"; }
.ph-seal-check::before { content: "\e606"; }
.ph-sliders-horizontal::before { content: "\e434"; }
.ph-ticket::before { content: "\e490"; }
.ph-user-circle::before { content: "\e4c4"; }
.ph-wallet::before { content: "\e68a"; }
.ph-wifi-high::before { content: "\e4ea"; }
.ph-x::before { content: "\e4f6"; }

:root {
  color-scheme: dark;
  --bg: #080a0c;
  --bg-deep: #050607;
  --surface: #0e1215;
  --surface-raised: #14191d;
  --surface-soft: #1a2025;
  --surface-chrome: #dfe4e6;
  --line: rgba(218, 227, 231, .11);
  --line-strong: rgba(218, 227, 231, .2);
  --line-bright: rgba(244, 248, 249, .34);
  --text: #f1f4f5;
  --text-soft: #c8ced1;
  --muted: #818b90;
  --muted-strong: #a2aaae;
  --chrome: #e8edef;
  --chrome-ink: #0a0d0f;
  --positive: #8db89a;
  --positive-soft: rgba(141, 184, 154, .13);
  --danger: #e6968d;
  --danger-soft: rgba(230, 150, 141, .12);
  --radius-instrument: 28px;
  --radius-surface: 20px;
  --radius-control: 15px;
  --page-x: clamp(18px, 4.6vw, 34px);
  --nav-height: 72px;
  --tg-content-safe-top: 0px;
  --tg-content-safe-right: 0px;
  --tg-content-safe-bottom: 0px;
  --tg-content-safe-left: 0px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --shadow-deep: 0 28px 90px rgba(0, 0, 0, .42);
  --active-index: 0;
  font-family: "Golos Text", "Segoe UI Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--bg-deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, #222a2f 0, var(--bg) 42%, var(--bg-deep) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

body.sheet-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--chrome);
  outline-offset: 3px;
}

.skip-link {
  padding: 10px 14px;
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  border-radius: 10px;
  background: var(--chrome);
  color: var(--chrome-ink);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell {
  width: min(100%, 900px);
  min-height: var(--tg-viewport-stable-height, 100dvh);
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(circle at 85% 8%, rgba(163, 177, 184, .09), transparent 28%),
    linear-gradient(180deg, #0a0d0f 0, var(--bg) 32%, var(--bg-deep) 100%);
}

.ambient-field,
.ambient-glow,
.ambient-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient-field {
  z-index: -1;
  overflow: hidden;
}

.ambient-glow {
  inset: -170px -120px auto auto;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(238, 244, 246, .08);
  border-radius: 50%;
  opacity: .44;
  background: radial-gradient(circle at 42% 57%, rgba(230, 237, 240, .13), rgba(24, 30, 34, .08) 43%, transparent 67%);
  box-shadow: inset 24px -34px 80px rgba(0, 0, 0, .46);
}

.ambient-scan {
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(235, 242, 244, .5), transparent);
  box-shadow: 0 0 18px rgba(230, 238, 241, .24);
  transform: translate3d(0, 120px, 0);
}

.app-shell[data-ready="true"] .ambient-scan {
  animation: initial-scan 1400ms var(--ease-out) 120ms both;
}

.topbar {
  min-height: 74px;
  padding:
    max(13px, calc(env(safe-area-inset-top) + var(--tg-content-safe-top)))
    max(var(--page-x), calc(env(safe-area-inset-right) + var(--tg-content-safe-right)))
    10px
    max(var(--page-x), calc(env(safe-area-inset-left) + var(--tg-content-safe-left)));
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(8, 10, 12, .96), rgba(8, 10, 12, .72) 72%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .18), transparent 42%),
    linear-gradient(145deg, #2b3237, #101316 64%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    inset 0 -1px 0 rgba(0, 0, 0, .7),
    0 10px 26px rgba(0, 0, 0, .26);
}

.brand-mark svg {
  width: 29px;
  height: 29px;
  fill: var(--chrome);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .22));
}

.brand-lockup {
  display: grid;
  gap: 1px;
}

.brand-lockup strong {
  font-size: 15px;
  font-weight: 740;
  letter-spacing: -.035em;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.environment-badge {
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 21px;
  transition: color 160ms ease, background-color 160ms ease, transform 140ms var(--ease-out);
}

.icon-button:active {
  transform: scale(.94);
}

.main-content {
  padding:
    24px
    max(var(--page-x), calc(env(safe-area-inset-right) + var(--tg-content-safe-right)))
    calc(var(--nav-height) + 48px + env(safe-area-inset-bottom) + var(--tg-content-safe-bottom))
    max(var(--page-x), calc(env(safe-area-inset-left) + var(--tg-content-safe-left)));
}

.screen {
  position: relative;
}

.motion-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 220ms var(--ease-out),
    transform 240ms var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 38ms);
}

.screen.is-entering .motion-item {
  opacity: 0;
  transform: translate3d(0, 11px, 0);
}

.stagger-0 { --stagger: 0; }
.stagger-1 { --stagger: 1; }
.stagger-2 { --stagger: 2; }
.stagger-3 { --stagger: 3; }

.section-kicker {
  margin: 0 0 11px;
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-intro,
.section-heading {
  margin: 5px 0 26px;
}

.home-intro h1,
.section-heading h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(34px, 9.6vw, 58px);
  font-weight: 760;
  letter-spacing: -.062em;
  line-height: .94;
  text-wrap: balance;
}

.home-intro h1 span {
  color: #778187;
  font-weight: 580;
}

.home-intro > p:last-child,
.section-heading > p:last-child {
  margin: 16px 0 0;
  max-width: 45ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-wrap: pretty;
}

.home-intro > p:last-child strong {
  color: var(--text-soft);
  font-weight: 620;
}

.status-panel {
  min-height: 318px;
  padding: 21px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-instrument);
  background: #0b0e10;
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, .055);
}

.status-panel::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(9, 12, 14, .98) 0, rgba(9, 12, 14, .9) 46%, rgba(9, 12, 14, .34) 100%),
    linear-gradient(180deg, rgba(9, 12, 14, .12), rgba(9, 12, 14, .74)),
    url("/brand-cover.jpg");
  background-position: center, center, 62% 73%;
  background-size: cover;
  opacity: .78;
  filter: saturate(.38) contrast(1.04);
}

.status-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .085), transparent 22%, transparent 70%, rgba(255, 255, 255, .03)),
    radial-gradient(circle at 82% 50%, rgba(218, 227, 230, .12), transparent 38%);
}

.status-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-label,
.verified-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: .035em;
}

.status-label {
  padding: 7px 9px;
  border: 1px solid rgba(141, 184, 154, .3);
  border-radius: 10px;
  background: var(--positive-soft);
  color: #b4d0bc;
}

.status-panel.is-inactive .status-label {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .035);
  color: var(--muted-strong);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 3px rgba(141, 184, 154, .12);
}

.status-panel.is-inactive .status-dot {
  background: #626c71;
  box-shadow: none;
}

.verified-label {
  color: #7e898e;
}

.verified-label .ph {
  font-size: 15px;
}

.status-body {
  min-height: 232px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 41%);
  align-items: end;
  gap: 8px;
}

.status-copy {
  padding-top: 28px;
  position: relative;
  z-index: 2;
}

.status-overline {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.days-line {
  margin-top: 7px;
  display: flex;
  align-items: flex-end;
  gap: 11px;
}

.days-line strong {
  font-size: clamp(64px, 18vw, 94px);
  font-weight: 760;
  letter-spacing: -.09em;
  line-height: .8;
  font-variant-numeric: tabular-nums;
}

.days-line span {
  padding-bottom: 3px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.08;
  white-space: pre-line;
}

.status-copy > p {
  margin: 18px 0 13px;
  max-width: 28ch;
  color: var(--muted-strong);
  font-size: 11px;
  line-height: 1.42;
}

.text-action {
  min-height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 670;
  cursor: pointer;
  transition: color 160ms ease, transform 140ms var(--ease-out);
}

.text-action .ph {
  color: var(--chrome);
  font-size: 17px;
  transition: transform 180ms var(--ease-out);
}

.text-action:active {
  transform: scale(.97);
}

.access-visual {
  width: min(100%, 164px);
  aspect-ratio: 1;
  justify-self: end;
  align-self: end;
  position: relative;
  border: 1px solid rgba(225, 233, 236, .13);
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 35%, rgba(234, 240, 242, .2), transparent 18%),
    radial-gradient(circle at 50% 73%, #667177 0, #293036 38%, #0c0f11 69%);
  box-shadow:
    inset 12px -20px 44px rgba(0, 0, 0, .68),
    inset -10px 9px 24px rgba(223, 232, 235, .08),
    0 24px 46px rgba(0, 0, 0, .48);
  transform: translate3d(13px, 12px, 0);
}

.access-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(239, 244, 246, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 244, 246, .18) 1px, transparent 1px);
  background-size: 23px 23px;
  mask-image: linear-gradient(transparent 18%, #000 53%, transparent 88%);
}

.access-visual::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(233, 239, 241, .1);
  border-radius: 50%;
}

.status-panel.is-inactive .access-visual {
  filter: saturate(0) brightness(.7);
}

.orbit {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(232, 238, 240, .16);
  border-radius: 50%;
}

.orbit-two {
  inset: 26px;
  border-color: rgba(232, 238, 240, .09);
}

.horizon {
  height: 1px;
  position: absolute;
  right: 11px;
  bottom: 37%;
  left: 11px;
  background: linear-gradient(90deg, transparent, rgba(244, 248, 249, .64), transparent);
  box-shadow: 0 0 13px rgba(237, 243, 245, .38);
}

.dial-mark {
  width: 52px;
  position: absolute;
  top: 50%;
  left: 50%;
  fill: rgba(242, 246, 247, .82);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .7));
  transform: translate3d(-50%, -54%, 0);
}

.status-panel.is-energized .orbit-one {
  animation: dial-sweep 780ms var(--ease-out) both;
}

.status-panel.is-energized .status-dot {
  animation: status-pulse 620ms var(--ease-out) both;
}

.command-stack {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  overflow: hidden;
  background: rgba(13, 17, 20, .84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.command-row {
  width: 100%;
  min-height: 76px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
}

.command-row + .command-row {
  border-top: 1px solid var(--line);
}

.command-row-primary {
  min-height: 88px;
  background:
    linear-gradient(105deg, rgba(232, 237, 239, .085), transparent 56%),
    rgba(255, 255, 255, .018);
}

.command-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--chrome);
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

.command-copy strong,
.command-copy small {
  display: block;
}

.command-copy strong {
  font-size: 13px;
  font-weight: 680;
  letter-spacing: -.015em;
}

.command-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.command-arrow {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--chrome);
  color: var(--chrome-ink);
  font-size: 16px;
  transition: transform 180ms var(--ease-out);
}

.command-meta {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}

.command-row:active {
  transform: scale(.986);
}

.account-strip {
  margin: 18px 2px 0;
  padding: 18px 2px 4px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 20px;
}

.account-strip p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 10px;
}

.account-strip strong {
  font-size: 17px;
  font-weight: 670;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}

.account-divider {
  width: 1px;
  height: 37px;
  background: var(--line);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading .section-kicker {
  color: var(--muted-strong);
}

.plans-ledger {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-instrument);
  background: rgba(13, 17, 20, .86);
  box-shadow: 0 20px 68px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.plan-row {
  width: 100%;
  min-height: 102px;
  padding: 15px 16px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
}

.plan-row + .plan-row {
  border-top: 1px solid var(--line);
}

.plan-row.is-featured {
  min-height: 116px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .96), rgba(207, 215, 218, .93) 56%, rgba(152, 164, 170, .94));
  color: #090c0e;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .24);
}

.plan-row.is-featured::after {
  content: "";
  width: 150px;
  height: 150px;
  position: absolute;
  right: -66px;
  bottom: -98px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .06), 0 0 0 38px rgba(255, 255, 255, .035);
}

.plan-period {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.plan-caption {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 670;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.plan-row.is-featured .plan-caption {
  color: rgba(9, 12, 14, .57);
}

.plan-period h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 730;
  letter-spacing: -.04em;
}

.plan-badge {
  margin-left: 7px;
  padding: 3px 6px;
  display: inline-block;
  vertical-align: 3px;
  border: 1px solid rgba(10, 13, 15, .2);
  border-radius: 6px;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan-math {
  position: relative;
  z-index: 1;
  text-align: right;
}

.plan-price,
.plan-daily {
  display: block;
}

.plan-price {
  font-size: 19px;
  font-weight: 730;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

.plan-daily {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.plan-row.is-featured .plan-daily {
  color: rgba(9, 12, 14, .55);
}

.plan-arrow {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted-strong);
  font-size: 14px;
  transition: transform 180ms var(--ease-out);
}

.plan-row.is-featured .plan-arrow {
  border-color: rgba(9, 12, 14, .2);
  background: rgba(9, 12, 14, .88);
  color: #f3f5f6;
}

.plan-row:active {
  transform: scale(.989);
}

.balance-note {
  margin-top: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: rgba(14, 18, 21, .78);
}

.balance-note-icon {
  width: 38px;
  height: 38px;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--chrome);
  font-size: 18px;
}

.balance-note > span:not(.balance-note-icon) {
  color: var(--muted);
  font-size: 9px;
}

.balance-note strong {
  font-size: 17px;
  font-weight: 690;
  font-variant-numeric: tabular-nums;
}

.balance-note button {
  min-height: 42px;
  padding: 0 13px;
  grid-column: 3;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 10px;
  font-weight: 670;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}

.balance-note button:active {
  transform: scale(.96);
}

.platform-switch {
  --platform-index: 0;
  margin-bottom: 16px;
  padding: 4px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(13, 17, 20, .88);
}

.platform-switch.is-android {
  --platform-index: 1;
}

.platform-indicator {
  width: calc((100% - 8px) / 2);
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 13px;
  background: var(--surface-chrome);
  box-shadow: inset 0 1px 0 #fff, 0 6px 15px rgba(0, 0, 0, .2);
  transform: translate3d(calc(var(--platform-index) * 100%), 0, 0);
  transition: transform 220ms var(--ease-out);
}

.platform-switch button {
  min-height: 46px;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 680;
  cursor: pointer;
  transition: color 180ms ease, transform 140ms var(--ease-out);
}

.platform-switch button .ph {
  font-size: 17px;
}

.platform-switch button.is-active {
  color: var(--chrome-ink);
}

.platform-switch button:active {
  transform: scale(.97);
}

.platform-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 190ms var(--ease-out), transform 210ms var(--ease-out);
}

.platform-panel.is-entering {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.key-panel {
  min-height: 176px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-instrument);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .05), transparent 34%),
    #0b0e10;
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.key-panel::before {
  content: "";
  position: absolute;
  inset: auto -30px -72px auto;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(231, 237, 239, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(231, 237, 239, .025), 0 0 0 48px rgba(231, 237, 239, .015);
}

.key-heading {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.key-icon {
  color: var(--chrome);
  font-size: 16px;
}

.key-panel code {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-height: 44px;
  padding: 0 14px;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 13px;
  background: var(--chrome);
  color: var(--chrome-ink);
  font-size: 10px;
  font-weight: 740;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}

.copy-button.is-success {
  background: var(--positive);
  color: #0a150e;
}

.copy-button:disabled {
  background: #23292d;
  color: #697378;
  cursor: not-allowed;
}

.copy-button:active:not(:disabled) {
  transform: scale(.96);
}

.steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 82px;
  padding: 15px 0;
  display: grid;
  grid-template-columns: 25px 39px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.steps li + li {
  border-top: 1px solid var(--line);
}

.step-index {
  align-self: start;
  padding-top: 5px;
  color: #596267;
  font-size: 8px;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
  letter-spacing: .07em;
}

.step-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--chrome);
  font-size: 17px;
}

.steps h2,
.steps p {
  margin: 0;
}

.steps h2 {
  font-size: 13px;
  font-weight: 680;
  letter-spacing: -.015em;
}

.steps p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.maintenance-panel {
  padding: 38px 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-instrument);
  background:
    radial-gradient(circle at 50% 0, rgba(226, 234, 237, .08), transparent 42%),
    var(--surface);
  text-align: center;
}

.maintenance-symbol {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface-soft);
  color: var(--chrome);
  font-size: 29px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.maintenance-panel h2,
.maintenance-panel > p:not(.section-kicker) {
  margin: 0;
}

.maintenance-panel h2 {
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -.04em;
}

.maintenance-panel > p:not(.section-kicker) {
  margin: 10px auto 22px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.profile-head {
  margin: 5px 0 27px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .18), transparent 40%),
    linear-gradient(145deg, #323a3f, #111417 68%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 35px rgba(0, 0, 0, .3);
  color: var(--chrome);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -.035em;
}

.profile-identity .section-kicker,
.profile-identity h1,
.profile-identity > p:last-child {
  margin: 0;
}

.profile-identity h1 {
  font-size: 27px;
  font-weight: 740;
  letter-spacing: -.052em;
}

.profile-identity > p:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.profile-verified {
  color: var(--positive);
  font-size: 22px;
}

.profile-balance {
  min-height: 176px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-instrument);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .055), transparent 48%),
    var(--surface);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.profile-balance > div {
  position: relative;
  z-index: 1;
}

.profile-balance span:not(.balance-watermark),
.profile-balance strong {
  display: block;
}

.profile-balance span:not(.balance-watermark) {
  color: var(--muted);
  font-size: 10px;
}

.profile-balance strong {
  margin-top: 8px;
  font-size: 43px;
  font-weight: 750;
  letter-spacing: -.07em;
  font-variant-numeric: tabular-nums;
}

.profile-balance p {
  margin: 24px 0 0;
  max-width: 28ch;
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.balance-watermark {
  position: absolute;
  right: 13px;
  bottom: -22px;
  color: rgba(232, 238, 240, .055);
  font-size: 142px;
  transform: rotate(-9deg);
}

.referral-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-instrument);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .045), transparent 52%),
    var(--surface);
}

.referral-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.referral-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--chrome);
  font-size: 20px;
}

.referral-heading h2,
.referral-heading p {
  margin: 0;
}

.referral-heading h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.025em;
}

.referral-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.referral-stats {
  margin: 17px 0 0;
  padding: 14px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.referral-stats > div {
  padding: 0 13px;
}

.referral-stats > div:first-child {
  padding-left: 0;
  border-right: 1px solid var(--line);
}

.referral-stats dt,
.referral-stats dd {
  margin: 0;
}

.referral-stats dt {
  color: var(--muted);
  font-size: 9px;
}

.referral-stats dd {
  margin-top: 5px;
  color: var(--text);
  font-size: 16px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.referral-link-row {
  margin-top: 15px;
  min-height: 51px;
  padding: 5px 5px 5px 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-radius: 15px;
  background: var(--surface-soft);
}

.referral-link-row code {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-strong);
  font-family: inherit;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-link-row button,
.referral-share {
  min-height: 41px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.referral-link-row button {
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--chrome);
  color: var(--chrome-ink);
}

.referral-share {
  width: 100%;
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--muted-strong);
}

.referral-link-row button:active,
.referral-share:active {
  transform: scale(.98);
}

.referral-link-row button:disabled,
.referral-share:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.promo-form {
  margin-top: 24px;
}

.promo-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 670;
}

.promo-control {
  min-height: 56px;
  padding: 5px 5px 5px 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: var(--surface);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.promo-control:focus-within {
  border-color: var(--line-bright);
  background: var(--surface-raised);
}

.promo-icon {
  color: var(--muted);
  font-size: 17px;
}

.promo-form input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
}

.promo-form input::placeholder {
  color: #626c71;
  text-transform: none;
}

.promo-form button {
  min-height: 44px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 13px;
  background: var(--chrome);
  color: var(--chrome-ink);
  font-size: 9px;
  font-weight: 730;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}

.promo-form button:active {
  transform: scale(.96);
}

.field-error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 10px;
  line-height: 1.4;
}

.profile-actions {
  margin-top: 18px;
}

.profile-action {
  width: 100%;
  min-height: 76px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out);
}

.profile-action-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--chrome);
  font-size: 19px;
}

.profile-action strong,
.profile-action small {
  display: block;
}

.profile-action strong {
  font-size: 12px;
  font-weight: 680;
}

.profile-action small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.profile-action > .ph:last-child {
  color: var(--muted-strong);
  font-size: 16px;
}

.profile-action:active {
  transform: scale(.985);
}

.security-note {
  margin-top: 10px;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(141, 184, 154, .12);
  border-radius: var(--radius-surface);
  background: rgba(141, 184, 154, .055);
}

.service-note {
  margin-top: 10px;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  background: var(--surface-soft);
}

.service-note > .ph {
  color: var(--chrome);
  font-size: 22px;
}

.service-note strong,
.service-note p {
  margin: 0;
}

.service-note strong {
  display: block;
  font-size: 10px;
  font-weight: 680;
}

.service-note p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.security-note > .ph {
  color: var(--positive);
  font-size: 24px;
}

.security-note strong,
.security-note p {
  margin: 0;
}

.security-note strong {
  display: block;
  color: #b7c4bb;
  font-size: 10px;
  font-weight: 680;
}

.security-note p {
  margin-top: 4px;
  color: #77867d;
  font-size: 9px;
  line-height: 1.4;
}

.bottom-nav {
  width: min(calc(100% - 24px), 620px);
  min-height: var(--nav-height);
  padding: 4px;
  position: fixed;
  z-index: 40;
  bottom: max(10px, calc(env(safe-area-inset-bottom) + var(--tg-content-safe-bottom)));
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(229, 236, 238, .15);
  border-radius: 22px;
  background: rgba(12, 15, 18, .9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  transform: translateX(-50%);
}

.bottom-nav.nav-index-0 { --active-index: 0; }
.bottom-nav.nav-index-1 { --active-index: 1; }
.bottom-nav.nav-index-2 { --active-index: 2; }
.bottom-nav.nav-index-3 { --active-index: 3; }

.nav-indicator {
  width: calc((100% - 8px) / 4);
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(190, 200, 204, .94));
  box-shadow: inset 0 1px 0 #fff, 0 7px 18px rgba(0, 0, 0, .25);
  transform: translate3d(calc(var(--active-index) * 100%), 0, 0);
  transition: transform 220ms var(--ease-out);
}

.bottom-nav button {
  min-width: 0;
  min-height: 62px;
  padding: 5px 2px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #677176;
  cursor: pointer;
  transition: color 180ms ease, transform 140ms var(--ease-out);
}

.bottom-nav button > .ph {
  font-size: 20px;
}

.bottom-nav button small {
  font-size: 8px;
  font-weight: 680;
  letter-spacing: .01em;
}

.bottom-nav button.is-active {
  color: var(--chrome-ink);
}

.bottom-nav button:active {
  transform: scale(.94);
}

.modal {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.modal.is-open {
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 3, 4, .78);
  cursor: default;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-sheet {
  width: min(100%, 560px);
  padding: 14px 21px calc(24px + env(safe-area-inset-bottom) + var(--tg-content-safe-bottom));
  position: relative;
  border: 1px solid var(--line-bright);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 90% 0, rgba(230, 237, 240, .12), transparent 27%),
    #12171b;
  box-shadow: 0 -30px 100px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: translate3d(0, 105%, 0);
  transition: transform 210ms var(--ease-out);
}

.modal.is-open .modal-sheet {
  transform: translate3d(0, 0, 0);
  transition-duration: 360ms;
  transition-timing-function: var(--ease-drawer);
}

.modal-handle {
  width: 38px;
  height: 4px;
  margin: 0 auto 19px;
  border-radius: 99px;
  background: #424b50;
}

.modal-close {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 17px;
  right: 18px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: 19px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}

.modal-close:active {
  transform: scale(.94);
}

.modal-symbol {
  width: 46px;
  height: 46px;
  margin-bottom: 19px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: var(--surface-soft);
  color: var(--chrome);
  font-size: 21px;
}

.modal-sheet .section-kicker {
  margin-bottom: 6px;
}

.modal-sheet h2 {
  margin: 0;
  font-size: 29px;
  font-weight: 740;
  letter-spacing: -.05em;
}

.purchase-summary {
  margin: 23px 0 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.purchase-summary > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}

.purchase-summary span,
.purchase-summary strong {
  display: block;
}

.purchase-summary span {
  color: var(--muted);
  font-size: 9px;
}

.purchase-summary strong {
  margin-top: 5px;
  font-size: 17px;
  font-weight: 690;
  font-variant-numeric: tabular-nums;
}

#purchase-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.button {
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-control);
  font-size: 11px;
  font-weight: 730;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 140ms var(--ease-out);
}

.button .ph {
  font-size: 17px;
}

.button-primary {
  width: 100%;
  border: 0;
  background: var(--chrome);
  color: var(--chrome-ink);
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(0, 0, 0, .22);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text);
}

.button:disabled,
.promo-form button:disabled {
  opacity: .48;
  cursor: wait;
}

.button:active:not(:disabled) {
  transform: scale(.97);
}

.toast {
  min-width: min(330px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  min-height: 52px;
  padding: 11px 14px 11px 11px;
  position: fixed;
  z-index: 90;
  top: calc(12px + env(safe-area-inset-top) + var(--tg-content-safe-top));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-bright);
  border-radius: 17px;
  background: rgba(22, 27, 31, .96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .055);
  color: var(--text);
  font-size: 11px;
  opacity: 0;
  transform: translate3d(-50%, -12px, 0) scale(.98);
  transition: opacity 140ms var(--ease-out), transform 160ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  transition-duration: 180ms, 200ms;
}

.toast-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--positive-soft);
  color: var(--positive);
  font-size: 15px;
}

.toast.is-error .toast-icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.loading-state {
  padding-top: 10px;
}

.skeleton {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-surface);
  background: var(--surface);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .055), transparent);
  transform: translate3d(-100%, 0, 0);
  animation: skeleton-sweep 1350ms linear infinite;
}

.skeleton-kicker {
  width: 92px;
  height: 10px;
  margin: 8px 0 14px;
  border-radius: 4px;
}

.skeleton-heading {
  width: 74%;
  height: 78px;
  margin-bottom: 27px;
}

.skeleton-status {
  height: 318px;
  border-radius: var(--radius-instrument);
}

.skeleton-row {
  margin-top: 14px;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-surface);
  background: var(--line);
}

.skeleton-action {
  height: 79px;
  border-radius: 0;
}

.error-state {
  min-height: 68dvh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-code {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 150, 141, .25);
  border-radius: 17px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 22px;
}

.error-state h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 740;
  letter-spacing: -.052em;
}

.error-state > p:not(.section-kicker) {
  margin: 11px 0 23px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.error-state .button {
  width: auto;
}

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover {
    background: rgba(255, 255, 255, .05);
    color: var(--text);
  }

  .text-action:hover .ph,
  .command-row:hover .command-arrow,
  .plan-row:hover .plan-arrow {
    transform: translate3d(3px, 0, 0);
  }

  .command-row:hover,
  .profile-action:hover {
    background-color: rgba(255, 255, 255, .035);
  }

  .plan-row:not(.is-featured):hover {
    background-color: rgba(255, 255, 255, .035);
  }

  .balance-note button:hover,
  .modal-close:hover {
    background-color: var(--surface-soft);
    color: var(--text);
  }
}

@media (max-width: 359px) {
  :root {
    --page-x: 15px;
  }

  .brand-lockup small,
  .verified-label {
    display: none;
  }

  .home-intro h1,
  .section-heading h1 {
    font-size: 32px;
  }

  .status-panel {
    min-height: 300px;
    padding: 17px;
  }

  .status-body {
    grid-template-columns: minmax(0, 1fr) 105px;
  }

  .access-visual {
    transform: translate3d(15px, 9px, 0);
  }

  .days-line strong {
    font-size: 59px;
  }

  .command-row {
    padding-right: 12px;
    padding-left: 12px;
  }

  .command-meta {
    display: none;
  }

  .plan-row {
    grid-template-columns: minmax(0, 1fr) auto 27px;
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .plan-period h2 {
    font-size: 18px;
  }

  .plan-price {
    font-size: 17px;
  }

  .promo-form button > span:first-child {
    display: none;
  }
}

@media (min-width: 700px) {
  .main-content {
    padding-top: 34px;
  }

  .home-intro {
    max-width: 70%;
  }

  .status-panel {
    min-height: 354px;
    padding: 26px 28px;
  }

  .status-body {
    min-height: 268px;
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .access-visual {
    width: 205px;
  }

  .command-stack {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
  }

  .command-row + .command-row {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .command-row,
  .command-row-primary {
    min-height: 96px;
  }

  .plans-ledger {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .plan-row + .plan-row {
    border-top: 0;
  }

  .plan-row:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .plan-row:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .plan-row.is-featured {
    grid-column: 1 / -1;
  }

  .key-panel {
    min-height: 190px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .topbar,
  .bottom-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .topbar {
    background: var(--bg);
  }

  .bottom-nav {
    background: #0d1114;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(236, 242, 244, .24);
    --line-strong: rgba(236, 242, 244, .42);
    --muted: #aab2b6;
  }
}

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

  .ambient-scan,
  .status-panel.is-energized .orbit-one,
  .status-panel.is-energized .status-dot,
  .skeleton::after {
    animation: none;
  }

  .motion-item,
  .nav-indicator,
  .platform-indicator,
  .modal-backdrop,
  .modal-sheet,
  .toast,
  .text-action .ph,
  .command-arrow,
  .plan-arrow {
    transition-duration: 1ms;
    transition-delay: 0ms;
  }

  .screen.is-entering .motion-item,
  .toast,
  .toast.is-visible,
  .modal-sheet,
  .modal.is-open .modal-sheet {
    transform: none;
  }
}

@keyframes initial-scan {
  0% { opacity: 0; transform: translate3d(0, 96px, 0); }
  18% { opacity: .62; }
  100% { opacity: 0; transform: translate3d(0, 560px, 0); }
}

@keyframes dial-sweep {
  0% { opacity: .35; transform: rotate(-48deg) scale(.94); }
  100% { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes status-pulse {
  0% { opacity: .45; transform: scale(.72); }
  55% { opacity: 1; transform: scale(1.26); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes skeleton-sweep {
  to { transform: translate3d(100%, 0, 0); }
}
