:root {
  color-scheme: dark;
  --space: #02040a;
  --space-raised: #060b14;
  --panel: #08101d;
  --panel-soft: #0c1422;
  --line: #1b2638;
  --line-bright: #35445e;
  --text: #f5f7fb;
  --muted: #8993a6;
  --blue: #2f6bff;
  --blue-light: #5a8cff;
  --green: #20c982;
  --red: #ff6d78;
  --metal-text: #07101d;
  --radius: 15px;
  --shadow: 0 24px 70px rgb(0 0 0 / 58%);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  background: #000207;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: #000207;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

a {
  color: var(--blue-light);
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

:focus-visible {
  outline: 2px solid #8cb0ff;
  outline-offset: 3px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 540;
  letter-spacing: 0.01em;
}

h2 {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 560;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  border-radius: 8px;
  padding: 9px 12px;
  background: #fff;
  color: #000;
}

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

.app-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--space);
}

main {
  width: 100%;
  min-height: calc(100vh - 96px);
  min-height: calc(100dvh - 96px);
  padding: 0 16px 26px;
}

.screen {
  width: 100%;
  animation: screen-in 260ms ease both;
}

@keyframes screen-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.orbital-header {
  min-height: 148px;
  margin: 0 -16px 0;
  padding: 22px 18px 12px;
  background-color: var(--space);
  background-image: url("../assets/orbital-header.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.35;
  text-decoration: none;
}

.brand-lockup img {
  width: 28px;
  height: 20px;
  margin-top: 1px;
  border-radius: 2px 7px 2px 2px;
  object-fit: cover;
  object-position: right bottom;
  box-shadow: 3px 2px 10px rgb(47 107 255 / 48%);
}

.profile-badge {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #565d6b;
  border-radius: 50%;
  color: #e8ebf1;
  font-size: 12px;
}

.profile-badge i {
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--space);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgb(47 107 255 / 75%);
}

.orbital-header time {
  display: block;
  margin-top: 25px;
  color: #747e91;
  font-size: 11px;
}

.screen-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.screen-title-row a {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
}

.screen-title-row img {
  width: 20px;
  height: 20px;
}

.metal-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #8e96a2;
  border-radius: var(--radius);
  padding: 24px 20px;
  background-color: #bfc3c9;
  background-image: url("../assets/orbital-titanium-panel.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--metal-text);
  box-shadow: 0 17px 42px rgb(0 0 0 / 38%), 0 7px 22px rgb(47 107 255 / 23%);
}

.home-balance {
  min-height: 214px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 16px;
  padding-right: 44px;
}

.metal-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #1d2632;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-balance,
.spend-value,
.swap-output {
  font-family: Georgia, "Times New Roman", serif;
  font-variant-numeric: lining-nums tabular-nums;
}

.hero-balance {
  margin-bottom: 20px;
  color: #050c17;
  font-size: clamp(41px, 12vw, 53px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-shadow: 0 1px 0 rgb(255 255 255 / 40%);
}

.portfolio-mix {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #34404f;
  font-size: 10px;
}

.portfolio-mix > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.portfolio-mix b {
  color: #111925;
}

.portfolio-mix .today-change {
  display: grid;
  min-width: 76px;
  margin-left: auto;
  border-left: 1px solid #56606d;
  padding-left: 13px;
  color: #087653;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.portfolio-mix .today-change small {
  margin-top: 4px;
  color: #222d3a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asset-coin {
  width: 24px;
  height: 24px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #077bdf;
}

.asset-coin.usdt {
  background: #168d67;
}

.asset-coin img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.portfolio-mix .asset-coin {
  width: 17px;
  height: 17px;
}

.portfolio-mix .asset-coin img {
  width: 11px;
  height: 11px;
}

.primary-action {
  position: relative;
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 13px;
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid #2a3b5c;
  border-radius: var(--radius);
  padding: 13px 15px;
  background-color: #08101f;
  background-image: url("../assets/orbital-action-corner.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #f8faff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 15px 32px rgb(0 0 0 / 30%);
}

.primary-action::after {
  content: none;
}

.primary-action-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #5f89ff;
  border-radius: 50%;
  background: #1751d5;
  box-shadow: 0 0 24px rgb(47 107 255 / 45%);
}

.primary-action-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.primary-action-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.primary-action-copy strong {
  font-size: 17px;
  font-weight: 530;
}

.primary-action-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-chevron {
  width: 18px;
  opacity: 0.58;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 2px 0 20px;
}

.quick-action {
  min-width: 0;
  min-height: 69px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #dce1eb;
  text-decoration: none;
}

.quick-action > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #303a4a;
  border-radius: 50%;
  background: #070c14;
}

.quick-action img {
  width: 19px;
  height: 19px;
}

.quick-action small {
  color: #c6ccd8;
  font-size: 10px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 5px;
}

.section-heading-row h2 {
  margin: 0;
}

.section-heading-row a {
  font-size: 11px;
  text-decoration: none;
}

.activity-list,
.action-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li + li,
.action-list li + li {
  border-top: 1px solid #151e2c;
}

.activity-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  color: var(--text);
  text-decoration: none;
}

.activity-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #2b3b61;
  border-radius: 50%;
  background: #07101b;
}

.activity-icon img {
  width: 17px;
  height: 17px;
}

.activity-copy,
.activity-amount {
  min-width: 0;
}

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

.activity-copy strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 540;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy small,
.activity-amount small {
  color: #798497;
  font-size: 9px;
}

.activity-amount {
  text-align: right;
}

.activity-amount strong {
  font-size: 11px;
  font-weight: 560;
}

.positive { color: var(--green); }
.negative { color: #d8dce4; }

.wallet-metal,
.earn-metal {
  min-height: 226px;
  margin-bottom: 16px;
  padding: 28px 28px 36px 18px;
}

.wallet-asset-row,
.earn-asset-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.wallet-asset-row .asset-coin,
.earn-asset-row .asset-coin {
  width: 38px;
  height: 38px;
}

.wallet-asset-row strong,
.wallet-asset-row small,
.earn-asset-row strong,
.earn-asset-row small {
  display: block;
}

.wallet-asset-row strong,
.earn-asset-row strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wallet-asset-row small,
.earn-asset-row small {
  margin-top: 3px;
  color: #46505e;
  font-size: 12px;
}

.metal-rule {
  height: 1px;
  margin: 19px 0;
  background: rgb(15 22 31 / 47%);
}

.wallet-receive-form,
.pay-form,
.swap-form,
dialog form {
  display: grid;
  gap: 14px;
}

fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

legend,
label {
  color: #d8dee8;
  font-size: 11px;
  font-weight: 550;
}

.segmented-control {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.segmented-control.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.segmented-control.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.segmented-control label {
  position: relative;
  min-width: 0;
}

.segmented-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.segmented-control span {
  min-height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: #8c96a8;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.segmented-control input:checked + span {
  border-color: var(--blue-light);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--blue);
}

.segmented-control input:focus-visible + span {
  outline: 2px solid #8cb0ff;
  outline-offset: 2px;
}

.network-meta,
.estimated-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.secondary-action,
.primary-cta {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  background: var(--panel);
  color: #e9edf5;
  font-size: 12px;
  text-decoration: none;
}

.secondary-action img {
  width: 17px;
}

.primary-cta {
  justify-content: center;
  border-color: #4d75d7;
  background: #174bbf;
  font-weight: 650;
}

.address-panel,
.review-panel,
.earnings-panel,
.rate-panel,
.payment-details,
.status-panel {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--space-raised);
}

.address-panel span,
.address-panel small,
.address-panel code {
  display: block;
}

.address-panel span {
  margin-bottom: 8px;
  font-weight: 600;
}

.address-panel code {
  overflow-wrap: anywhere;
  color: #7ca1ff;
  font-size: 11px;
}

.address-panel small {
  margin-top: 8px;
  color: var(--muted);
}

.pay-metal {
  min-height: 155px;
  padding: 24px 46px 28px 18px;
}

.metal-amount-input {
  display: flex;
  align-items: baseline;
}

.metal-amount-input > span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.metal-amount-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 4px;
  background: transparent;
  color: #050c17;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 45px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.metal-amount-input input:focus-visible {
  outline-color: #184aa7;
}

.pay-metal p,
.spend-metal p {
  margin: 8px 0 0;
  color: #3d4857;
  font-size: 10px;
}

.payment-details {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
}

.payment-details label,
.payment-details > span {
  padding-left: 13px;
  color: var(--muted);
}

.payment-details input {
  min-width: 0;
  border: 0;
  padding: 14px 0;
  background: transparent;
  color: #fff;
}

.payment-details > span,
.payment-details > strong {
  grid-row: 2;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  padding-bottom: 13px;
}

.payment-details > span {
  grid-column: 1 / 3;
}

.payment-details > strong {
  padding-right: 13px;
  font-size: 11px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--space-raised);
}

.tabs a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #b8c0ce;
  text-decoration: none;
}

.tabs a + a {
  border-left: 1px solid var(--line);
}

.tabs a[aria-current="page"] {
  box-shadow: inset 0 0 0 1px var(--blue);
  color: #fff;
}

.tabs img {
  width: 17px;
}

.review-panel h2,
.earnings-panel h2 {
  color: #f3f6fb;
}

.review-panel dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 12px;
  margin: 0 0 14px;
}

.review-panel dt {
  color: var(--muted);
}

.review-panel dd {
  margin: 0;
  color: #f2f4f8;
  font-weight: 560;
  text-align: right;
}

.virtual-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 20px 34px 25px 20px;
}

.virtual-card.frozen {
  filter: grayscale(0.78) brightness(0.75);
}

.virtual-card-top,
.virtual-card-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.virtual-card-top strong {
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.35;
}

.virtual-card-top span {
  font-size: 11px;
}

.card-number {
  margin: auto 0 12px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(17px, 5vw, 22px);
  font-weight: 650;
  letter-spacing: 0.06em;
}

.card-spacer {
  min-height: 64px;
}

.virtual-card-bottom {
  align-items: flex-end;
  font-size: 10px;
}

.virtual-card-bottom strong {
  font-size: 25px;
  font-style: italic;
  letter-spacing: -0.08em;
}

.spend-metal {
  min-height: 127px;
  margin-bottom: 14px;
  padding: 17px 40px 22px 16px;
}

.spend-value {
  margin-bottom: 0;
  color: #050c17;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.spend-metal small {
  color: #202a37;
  font-size: 11px;
  font-weight: 600;
}

.spend-metal p.spend-value {
  margin-top: 0;
  color: #050c17;
  font-size: 34px;
}

.spend-metal p:not(.spend-value) {
  color: #1f2a38;
  font-size: 11px;
  font-weight: 600;
}

.action-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--space-raised);
}

.action-list button {
  width: 100%;
  min-height: 53px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  background: transparent;
  color: #e8ecf3;
  text-align: left;
}

.action-list button img {
  width: 18px;
  height: 18px;
}

.earn-asset-row {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}

.earn-asset-row > span:last-child {
  min-width: 88px;
  border-left: 1px solid rgb(37 46 58 / 42%);
  padding-left: 13px;
  text-align: right;
}

.earn-asset-row > span:last-child strong {
  color: #050c17;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.earn-asset-row > span:last-child small {
  margin-top: 5px;
  color: #26313e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
}

.earn-asset-row em {
  display: block;
  margin-top: 5px;
  color: #087653;
  font-size: 11px;
  font-weight: 750;
  font-style: normal;
  line-height: 1.1;
}

.earnings-panel {
  margin-top: 0;
}

.earnings-panel div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.earnings-panel strong {
  color: var(--green);
  font-weight: 560;
}

.swap-metal {
  min-height: 282px;
  padding: 20px 30px 33px 16px;
}

.swap-line,
.swap-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.swap-line label,
.swap-line > span {
  color: #303a48;
  font-size: 11px;
}

.swap-line select {
  min-height: 40px;
  border: 1px solid rgb(26 35 47 / 36%);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgb(255 255 255 / 20%);
  color: #0b1320;
  font-weight: 600;
}

.swap-value-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 3px 0;
  background: transparent;
  color: #050c17;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 600;
}

.swap-value-row span {
  color: #1f2937;
  font-weight: 650;
}

.swap-metal > small {
  color: #4b5664;
}

.swap-output {
  margin: 5px 0 0;
  font-size: 39px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.rate-panel {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
  color: var(--muted);
  font-size: 11px;
}

.rate-panel strong {
  color: #dce2ec;
  font-weight: 530;
}

.status-panel {
  display: grid;
  gap: 3px;
  border-left: 3px solid var(--blue);
}

.status-panel strong {
  font-size: 12px;
}

.status-panel span {
  color: var(--muted);
  font-size: 11px;
}

.status-panel.success { border-left-color: var(--green); }
.status-panel.error { border-left-color: var(--red); }
.status-panel.quiet { border-left-color: #5b6575; }

dialog {
  width: min(390px, calc(100% - 24px));
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  padding: 18px;
  background: #080e18;
  color: var(--text);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgb(0 0 0 / 76%);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dialog-header h2 {
  margin: 0;
}

.dialog-close {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 11px;
  background: var(--panel);
  color: #e6eaf1;
}

dialog label {
  margin-bottom: -8px;
}

dialog input,
dialog select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-bright);
  border-radius: 9px;
  padding: 10px 12px;
  background: var(--panel);
  color: var(--text);
}

.site-footer {
  width: 100%;
  padding: 14px 18px 88px;
  color: #5e6879;
  font-size: 9px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.app-shell.start-mode main {
  min-height: calc(100vh - 48px);
  min-height: calc(100dvh - 48px);
  padding-bottom: 12px;
}

.app-shell.start-mode .site-footer {
  padding-bottom: 24px;
}

.app-shell.start-mode .orbital-header {
  min-height: 132px;
}

.bottom-nav[hidden] {
  display: none;
}

.start-guide {
  padding-bottom: 10px;
}

.start-kicker {
  margin-bottom: 10px;
  color: #5f87ff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.start-guide > h1 {
  max-width: 330px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 10vw, 44px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.start-summary {
  max-width: 342px;
  margin-bottom: 16px;
  color: #9aa5b7;
  font-size: 13px;
  line-height: 1.55;
}

.start-payment-metal {
  min-height: 168px;
  margin-bottom: 14px;
  padding: 24px 42px 30px 20px;
}

.start-payment-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 19px;
}

.start-payment-heading strong {
  color: #050c17;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.start-payment-heading span {
  color: #293442;
  font-size: 11px;
  font-weight: 700;
}

.start-payment-facts {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  margin: 0;
  color: #273342;
  font-size: 10px;
}

.start-payment-facts dd {
  margin: 0;
  color: #07101d;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.start-steps {
  overflow: hidden;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 14px;
  background: var(--space-raised);
  list-style: none;
}

.start-steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 59px;
  border-bottom: 1px solid var(--line);
}

.start-steps li:last-child {
  border-bottom: 0;
}

.start-steps li > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #315fc8;
  border-radius: 50%;
  color: #6d94ff;
  font-size: 10px;
  font-weight: 750;
}

.start-steps strong,
.start-steps small {
  display: block;
}

.start-steps strong {
  margin-bottom: 4px;
  color: #f2f4f8;
  font-size: 13px;
}

.start-steps small {
  color: #7f8a9d;
  font-size: 10px;
  line-height: 1.35;
}

.start-guide .primary-action {
  margin-bottom: 10px;
}

.start-explore-link {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8b96a8;
  font-size: 11px;
  text-decoration: none;
}

.start-explore-link img {
  width: 14px;
  height: 14px;
}

.bottom-nav {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  border-top: 1px solid #172132;
  padding: 8px 7px calc(8px + env(safe-area-inset-bottom));
  background: rgb(3 7 14 / 96%);
  box-shadow: 0 -14px 34px rgb(0 0 0 / 48%);
}

.bottom-nav a {
  min-width: 0;
  min-height: 51px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border-radius: 9px;
  color: #747f92;
  font-size: 9px;
  text-decoration: none;
}

.bottom-nav img {
  width: 20px;
  height: 20px;
  opacity: 0.67;
}

.bottom-nav a[aria-current="page"] {
  color: #4e7cff;
  box-shadow: inset 0 -2px 0 #2f6bff;
}

.bottom-nav a[aria-current="page"] img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(42%) sepia(92%) saturate(2708%) hue-rotate(216deg) brightness(104%) contrast(105%);
}

@media (min-width: 520px) {
  body {
    padding: 18px 0;
  }

  .app-shell {
    min-height: calc(100dvh - 36px);
    border: 1px solid #30394a;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .bottom-nav {
    bottom: 18px;
    border: 1px solid #202b3d;
    border-radius: 0 0 18px 18px;
  }
}

@media (max-width: 370px) {
  main {
    padding-inline: 13px;
  }

  .orbital-header {
    margin-inline: -13px;
    padding-inline: 15px;
  }

  .hero-balance {
    font-size: 40px;
  }

  .home-balance {
    padding-left: 16px;
  }

  .portfolio-mix {
    gap: 8px;
    font-size: 9px;
  }

  .quick-actions {
    gap: 0;
  }

  .activity-row {
    grid-template-columns: 35px minmax(0, 1fr) auto;
    gap: 7px;
  }

  .wallet-asset-row strong,
  .earn-asset-row strong {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
