@charset "UTF-8";
@font-face{font-family:Manrope;src:url('./manrope-latin.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:Manrope;src:url('./manrope-cyrillic.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('./manrope-cyrillic-ext.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap;unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
:root {
  color-scheme: dark;
  --bg: #090e18;
  --panel: #111925;
  --panel-raised: #151f2d;
  --line: #253040;
  --muted: #8d9bb0;
  --text: #edf3fc;
  --cyan: #71e0ef;
  --blue: #729aff;
  --radius: 18px;
  font-family: Manrope, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  height: 21px;
  width: 21px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.2;
}
h1 {
  font-size: 30px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 18px;
  letter-spacing: 0;
}
p {
  color: var(--muted);
  line-height: 1.7;
  margin: 14px 0;
}
small {
  font-size: 11px;
  font-weight: 400;
}
strong,
b {
  font-weight: 600;
}
strong {
  font-variant-numeric: tabular-nums;
}
em {
  font-style: normal;
  color: var(--cyan);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
::selection {
  background: #337c8a;
  color: #fff;
}
.skip {
  position: fixed;
  top: -90px;
  left: 20px;
  z-index: 100;
  background: var(--cyan);
  color: #08101a;
  padding: 14px;
}
.skip:focus {
  top: 10px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: #8397b2;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #64d7ed26;
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #b8dae4;
  background: #16313d50;
}
.pill i,
.session-label i,
.account-caption i,
.art-caption i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px #71e0ef4d;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  margin: 22px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--cyan);
  color: #0b222a;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.btn:hover {
  background: #a6f0f9;
  box-shadow: 0 5px 24px #53c4df16;
  transform: translateY(-1px);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn.outline,
.btn.light {
  background: #17212e;
  border-color: #334252;
  color: var(--text);
}
.btn.outline:hover {
  background: #213144;
}
.btn.compact {
  min-height: 40px;
  padding: 10px 15px;
  font-size: 12px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  color: #a9c8de;
  font-size: 12px;
  padding: 0;
  line-height: 1.5;
}
.text-link:hover {
  color: var(--cyan);
}
.text-link svg {
  width: 17px;
}
.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: #adbdce;
}
.icon-btn:hover {
  background: #1c2a39;
}
.unread-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}
/* Application structure */
.workspace {
  min-height: 100dvh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 242px;
  padding: 31px 20px 20px;
  border-right: 1px solid #202b3b;
  background: #0d1420;
  display: flex;
  flex-direction: column;
  z-index: 30;
  overflow: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #eef6ff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
.brand-symbol {
  width: 37px;
  height: 37px;
  color: var(--cyan);
}
.brand-light {
  font-weight: 400;
  color: #c1cfdf;
}
.brand small {
  display: block;
  font-size: 6px;
  letter-spacing: 2.6px;
  color: #71849c;
  margin-top: 1px;
}
.sidebar > .brand {
  margin: 0 6px 49px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #60748e;
  padding: 0 14px;
  margin-bottom: 16px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  font-size: 12px;
  color: #92a2b8;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
}
.sidebar nav a svg {
  width: 19px;
  height: 19px;
  color: #73849c;
}
.sidebar nav a:hover {
  color: #e3f3ff;
  background: #172232;
}
.sidebar nav a.selected {
  background: linear-gradient(100deg, #193440, #142733);
  border-color: #28505b;
  color: #b7f3fc;
}
.sidebar nav a.selected svg {
  color: var(--cyan);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.concierge {
  position: relative;
  padding: 17px;
  border-radius: 13px;
  border: 1px solid #253344;
  background: linear-gradient(135deg, #172333, #101b28);
  margin-bottom: 18px;
}
.concierge > svg {
  color: var(--cyan);
  margin-bottom: 9px;
}
.concierge b {
  display: block;
  font-size: 12px;
}
.concierge p {
  font-size: 11px;
  margin: 6px 0 13px;
}
.concierge a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #aeccd8;
}
.sidebar-foot {
  display: block;
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #5f7088;
  margin: 24px 12px 0;
}
.app-body {
  margin-left: 242px;
}
.masthead {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid #202b3b;
  background: #0b121ee8;
}
.breadcrumb {
  font-size: 11px;
  color: #657993;
  display: flex;
  gap: 12px;
  align-items: center;
}
.breadcrumb b {
  color: #a9b9cd;
  font-weight: 400;
}
.breadcrumb span {
  color: #314359;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.session-label {
  font-size: 10px;
  color: #8fa5bb;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 5px;
}
.session-label i {
  background: #66d0a8;
}
.profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.profile-chip small {
  display: block;
  color: #6d819b;
  font-size: 9px;
  margin-top: 2px;
}
.profile-chip > svg {
  width: 15px;
  color: #6b839c;
  transform: rotate(90deg);
  margin-left: 10px;
}
.avatar {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: linear-gradient(145deg, #294253, #182c43);
  border: 1px solid #354958;
  display: grid;
  place-items: center;
  color: #b9e6ed;
  font-size: 14px;
}
.mobile-brand {
  display: none;
}
main {
  max-width: 1540px;
  margin: auto;
  padding: 31px 38px 22px;
  min-height: calc(100vh - 156px);
}
main:focus {
  outline: none;
}
.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.page-top .eyebrow {
  font-size: 8px;
  letter-spacing: 1.9px;
  color: #67809c;
  margin-bottom: 9px;
}
.page-top p {
  font-size: 11px;
  margin: 8px 0 0;
}
.page-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}
.today {
  font-size: 10px;
  color: #72859e;
  white-space: nowrap;
}
.site-foot {
  max-width: 1540px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 23px 38px;
  border-top: 1px solid #1d2837;
  color: #687b95;
  font-size: 9px;
}
.site-foot a {
  color: #95aabe;
}
.tabbar {
  display: none;
}
/* Hero and portfolio */
.welcome {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  position: relative;
  isolation: isolate;
  border: 1px solid #2d3b4f;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 296px;
  background:
    radial-gradient(ellipse at 100% 0, #1a304552, transparent 62%), #0c1421;
}
.welcome:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px #95d4ff08;
}
.welcome-copy {
  padding: 32px 0 30px 32px;
  z-index: 1;
}
.welcome h2 {
  font-size: clamp(28px, 2.55vw, 41px);
  line-height: 1.17;
  letter-spacing: -1.3px;
  margin-top: 17px;
}
.welcome h2 em {
  color: #90a5bc;
}
.welcome p {
  font-size: 11px;
  margin: 14px 0 20px;
  line-height: 1.75;
}
.welcome .actions {
  margin: 0;
  gap: 23px;
}
.hero-art {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: grid;
  place-items: center;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0c1421, transparent 25%),
    linear-gradient(0deg, #0c1421 0%, transparent 30%);
  pointer-events: none;
}
.hero-art img {
  width: 115%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8);
  animation: sculpture-drift 12s ease-in-out infinite;
}
.art-caption {
  position: absolute;
  z-index: 1;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: 2px;
  font-size: 7px;
  color: #839db6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.balance-section {
  margin: 27px 0;
}
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}
.section-title .eyebrow {
  font-size: 8px;
  color: #607995;
  margin-bottom: 5px;
}
.section-title h2 {
  font-size: 19px;
}
.accounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.balance-section .accounts {
  margin-bottom: 0;
}
.account-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #293749;
  border-radius: 15px;
  padding: 22px;
  background: linear-gradient(130deg, #192333, #101925);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.account-card:before {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid #728aab0c;
  border-radius: 50%;
  box-shadow:
    0 0 0 25px #728aab05,
    0 0 0 50px #728aab04;
  pointer-events: none;
}
.account-card.c0 {
  background: linear-gradient(120deg, #173344, #142333);
  border-color: #345366;
}
.account-card:hover {
  border-color: #51788b;
  transform: translateY(-3px);
}
.account-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-head > div {
  flex: 1;
  min-width: 0;
}
.account-head b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.account-head > div > span {
  font-size: 9px;
  color: #7c91ab;
  display: block;
  margin-top: 2px;
}
.account-head > svg {
  height: 17px;
  width: 17px;
  color: #667f99;
}
.currency-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid #3b5165;
  background: #213548;
  color: #b4dfef;
  font-size: 18px;
}
.c0 .currency-mark {
  background: #22535e;
  border-color: #3c6b74;
  color: #baf7f2;
}
.c2 .currency-mark {
  color: #b8c7f2;
  background: #29334a;
}
.account-card strong {
  display: block;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin: 25px 0 15px;
}
.account-card strong small {
  color: #91a5bc;
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 5px;
}
.account-caption {
  font-size: 9px;
  color: #788fa8;
  display: flex;
  align-items: center;
  gap: 7px;
}
.account-caption i {
  background: #5e778d;
  box-shadow: none;
  width: 4px;
  height: 4px;
}
.c0 .account-caption i {
  background: var(--cyan);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.box {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  background: linear-gradient(120deg, #141d2b, #101824);
  margin-bottom: 22px;
}
.box > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.box > header h2 {
  font-size: 18px;
}
.box > header .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.dashboard-grid > .box {
  margin: 0;
}
.currency-tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid #2b394a;
  border-radius: 9px;
  background: #0b1320;
}
.currency-tabs button {
  padding: 6px 9px;
  color: #7e94ad;
  background: none;
  border: 0;
  border-radius: 5px;
  font-size: 9px;
}
.currency-tabs button.selected {
  background: #243749;
  color: #bce9f4;
}
.portfolio-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 25px;
}
.portfolio-chart {
  position: relative;
  width: 180px;
  height: 180px;
}
.portfolio-chart > svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 10;
}
.ring-track {
  stroke: #2b3d51;
}
.ring-value {
  stroke: #6cdfeb;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s;
}
.portfolio-chart > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.portfolio-chart span {
  font-size: 10px;
  color: #758da8;
}
.portfolio-chart strong {
  font-size: 35px;
  font-weight: 400;
  letter-spacing: -1px;
  margin-top: 3px;
}
.portfolio-chart small {
  font-size: 20px;
  color: #8fa4bd;
}
.portfolio-legend > div {
  margin: 13px 0 19px;
}
.portfolio-legend > div > span {
  font-size: 10px;
  color: #8a9db6;
  display: flex;
  gap: 7px;
  align-items: center;
}
.portfolio-legend strong {
  display: block;
  font-size: 19px;
  margin-top: 5px;
  font-weight: 500;
}
.portfolio-legend strong small {
  color: #647d99;
  font-size: 10px;
}
.portfolio-legend p {
  font-size: 9px;
  line-height: 1.6;
  margin: 14px 0 0;
  color: #68809c;
}
.legend-dot {
  height: 6px;
  width: 6px;
  background: #405b75;
  border-radius: 2px;
  display: inline-block;
}
.legend-dot.cyan {
  background: var(--cyan);
}
.focus-panel {
  background:
    radial-gradient(ellipse at 100% 0, #263e533b, transparent 70%), #101a29;
}
.focus-panel > header {
  margin-bottom: 10px;
}
.focus-panel > header svg {
  color: #66849e;
  width: 18px;
}
.focus-panel > h2 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 15px;
}
.focus-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #243449;
  font-size: 11px;
  color: #9eb1c8;
}
.focus-row span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.focus-row svg {
  width: 16px;
  height: 16px;
  color: #6f8da9;
}
.focus-row b {
  font-size: 15px;
  color: #dcecfb;
}
.focus-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.focus-links .btn {
  flex: 1;
  font-size: 11px;
  padding: 10px 8px;
}
.network-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #2a3b50;
  border-radius: var(--radius);
  padding: 26px;
  background:
    radial-gradient(ellipse at 100% 0, #27486555, transparent 70%), #111c2b;
}
.network-card > .eyebrow {
  font-size: 8px;
  margin-bottom: 20px;
}
.network-card h2 {
  font-size: 24px;
  line-height: 1.3;
}
.network-card p {
  font-size: 11px;
  max-width: 250px;
}
.network-card .text-link {
  margin-top: 10px;
}
.network-symbol {
  position: absolute;
  right: 22px;
  top: 22px;
  color: #567d9c;
  opacity: 0.3;
  z-index: -1;
}
.network-symbol svg {
  height: 85px;
  width: 85px;
}
/* Forms and all secondary views */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}
.split > .box {
  margin: 0;
}
.split > .box > h2 {
  margin: 10px 0 24px;
}
.explain {
  padding: 32px;
  border: 1px solid #293b50;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at top right, #1f465a50, transparent 75%), #111b2a;
}
.explain h2 {
  font-size: 30px;
  line-height: 1.3;
  margin: 25px 0 17px;
}
.explain p {
  font-size: 13px;
}
.explain .step {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--cyan);
}
.explain .text-link {
  margin-top: 18px;
}
form {
  display: grid;
  gap: 18px;
}
label {
  display: grid;
  gap: 9px;
  font-size: 11px;
  font-weight: 500;
  color: #aabbd1;
}
input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #304058;
  border-radius: 9px;
  background: #0b1422;
  color: #e5effe;
  padding: 13px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
input::placeholder,
textarea::placeholder {
  color: #5d7390;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #67c1d2;
  box-shadow: 0 0 0 3px #71e0ef12;
}
input[readonly] {
  color: #a9c8df;
}
textarea {
  resize: vertical;
}
option {
  background: #101a29;
}
form .btn {
  width: 100%;
  margin-top: 3px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.check input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--cyan);
}
.form-error {
  color: #ff9fa6;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.form-error:empty {
  display: none;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.metrics > div {
  min-width: 0;
}
.metrics span {
  display: block;
  font-size: 11px;
  color: #8b9fb9;
  margin-bottom: 8px;
}
.metrics strong {
  display: block;
  font-size: 25px;
  font-weight: 500;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.metrics strong small {
  font-size: 11px;
  color: #7891b0;
}
.metrics b {
  font-size: 12px;
}
.metrics .text-link {
  margin-top: 9px;
}
.rows {
  display: grid;
}
.row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid #222f40;
  min-width: 0;
}
.row:last-child {
  border-bottom: 0;
}
.row > div:not(.row-end) {
  min-width: 0;
  flex: 1;
}
.row b {
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.row small {
  display: block;
  font-size: 9px;
  color: #6d839f;
  margin-top: 5px;
}
.row-icon {
  height: 35px;
  width: 35px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid #2b3e51;
  background: #1a2b3b;
  color: #88b8cc;
}
.row-icon svg {
  height: 16px;
  width: 16px;
}
.row-end {
  text-align: right;
  min-width: 0;
  max-width: 48%;
}
.row-end b {
  font-size: 13px;
  display: block;
  white-space: normal;
}
.row-end b small {
  display: inline;
  margin-left: 3px;
  font-size: 10px;
}
.row-end .text-link {
  display: block;
  margin-top: 7px;
  font-size: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 8px;
  line-height: 1.4;
  font-weight: 400;
  color: #d8bc88;
  background: #a8803220;
  white-space: nowrap;
  margin-top: 5px;
}
.badge.good {
  color: #84d6be;
  background: #418d771f;
}
.badge.good:before {
  content: "";
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #7fd0b3;
}
.empty {
  padding: 32px 15px;
  text-align: center;
}
.empty > svg {
  color: #536a86;
  width: 30px;
  height: 30px;
}
.empty p {
  font-size: 12px;
  max-width: 310px;
  margin: 12px auto;
  color: #7388a4;
}
.position {
  padding: 20px 0;
  border-bottom: 1px solid #27354a;
}
.position:last-child {
  border-bottom: 0;
}
.position > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.position p {
  white-space: pre-wrap;
  font-size: 13px;
  overflow-wrap: anywhere;
}
progress {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 5px;
  background: #22334a;
  overflow: hidden;
  margin: 15px 0;
  accent-color: var(--cyan);
}
progress::-webkit-progress-bar {
  background: #22334a;
}
progress::-webkit-progress-value {
  background: linear-gradient(90deg, #477cb3, var(--cyan));
  border-radius: 5px;
}
progress::-moz-progress-bar {
  background: var(--cyan);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 28px;
}
.plan-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid #2c4058;
  background:
    radial-gradient(ellipse at top right, #1c3c5350, transparent 65%), #111c2b;
}
.plan-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6dcede66, transparent);
}
.plan-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #75c8de;
  margin-bottom: 25px;
}
.plan-index span {
  font-size: 9px;
  letter-spacing: 1px;
  color: #7e96b1;
  border: 1px solid #304660;
  border-radius: 5px;
  padding: 4px 8px;
}
.plan-card h2 {
  font-size: 21px;
  min-height: 50px;
  overflow-wrap: anywhere;
}
.plan-rate {
  font-size: 42px;
  letter-spacing: -1.6px;
  font-weight: 400;
  line-height: 1.2;
  margin: 18px 0;
  color: #dbf8ff;
}
.plan-rate small {
  font-size: 10px;
  letter-spacing: 0;
  color: #7696b8;
  display: block;
  margin-top: 6px;
}
.plan-card > p {
  font-size: 11px;
  min-height: 45px;
}
.plan-card form {
  border-top: 1px solid #293c51;
  padding-top: 20px;
  gap: 14px;
}
.plan-card form p {
  min-height: 0;
  font-size: 10px;
  margin: 0;
}
.plan-grid > .box {
  margin: 0;
  padding: 25px;
}
.plan-grid > .box h2 {
  margin-top: 15px;
  font-size: 28px;
}
.plan-grid > .box p {
  font-size: 12px;
}
.plan-grid > .box b {
  color: #97d4e0;
  font-size: 12px;
}
.partner-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 15px;
  padding: 35px;
  border: 1px solid #2d4159;
  border-radius: var(--radius);
  margin-bottom: 25px;
  background:
    radial-gradient(ellipse at 100% 50%, #24486470, transparent 65%), #101b2b;
  overflow: hidden;
}
.partner-banner h2 {
  font-size: 38px;
  margin: 21px 0 17px;
  line-height: 1.15;
}
.partner-banner p {
  max-width: 440px;
  font-size: 12px;
}
.partner-visual {
  height: 210px;
  width: 230px;
  justify-self: center;
  position: relative;
  border: 1px solid #406c8850;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.partner-visual:before {
  content: "";
  position: absolute;
  inset: 35px;
  border: 1px dashed #4988a250;
  border-radius: 50%;
}
.partner-core,
.partner-node {
  position: absolute;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #28485e, #101e32);
  border: 1px solid #52778d;
  border-radius: 17px;
  box-shadow: 0 8px 30px #0005;
  transform: rotate(20deg);
  color: #a8f1f9;
}
.partner-core {
  height: 76px;
  width: 76px;
  left: 76px;
  top: 68px;
}
.partner-core svg {
  width: 34px;
  height: 34px;
}
.partner-node {
  height: 43px;
  width: 43px;
  border-radius: 12px;
  color: #7da3c0;
}
.n1 {
  left: -5px;
  top: 20px;
}
.n2 {
  right: -12px;
  top: 110px;
}
.n3 {
  left: 25px;
  bottom: -6px;
}
.copy-line {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.copy-line input {
  flex: 1;
}
.copy-line .btn {
  flex-shrink: 0;
}
.profile-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.profile-heading .avatar {
  height: 55px;
  width: 55px;
  font-size: 22px;
}
.profile-heading h2 {
  font-size: 23px;
}
.profile-heading p {
  font-size: 11px;
  margin: 7px 0;
  overflow-wrap: anywhere;
}
.ticket {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #293950;
  background: transparent;
  text-align: left;
  color: var(--text);
  padding: 18px 0;
  gap: 6px;
}
.ticket b {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.ticket small {
  font-size: 10px;
  color: #718ba8;
}
.ticket svg {
  grid-column: 2;
  grid-row: 1/3;
  color: #6eacc1;
  align-self: center;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 100px;
  padding: 23px;
  border: 1px solid #2a3d54;
  border-radius: 14px;
  background: linear-gradient(135deg, #182638, #111b2b);
  font-size: 13px;
}
.menu-item:hover {
  border-color: #56879b;
}
.menu-item svg {
  color: #6c9db7;
}
/* Dialogs and accessible states */
dialog {
  background: #111d2d;
  color: var(--text);
  border: 1px solid #3d5671;
  border-radius: 20px;
  padding: 28px;
  width: calc(100% - 32px);
  max-width: 520px;
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 40px 160px #000b;
}
dialog::backdrop {
  background: #030916b3;
  backdrop-filter: blur(8px);
}
dialog > header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 25px;
}
dialog h2 {
  font-size: 23px;
}
dialog .icon-btn {
  flex-shrink: 0;
}
dialog p {
  font-size: 13px;
}
.break {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.payment-qr {
  display: block;
  width: 190px;
  height: 190px;
  margin: 25px auto;
  border: 12px solid white;
  border-radius: 13px;
  background: white;
}
.thread {
  max-height: 45vh;
  overflow: auto;
}
.thread article {
  padding: 17px;
  border: 1px solid #2b3c50;
  border-radius: 12px;
  background: #172638;
  margin-bottom: 13px;
}
.thread p {
  white-space: pre-wrap;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.thread b {
  font-size: 11px;
  color: #95d5e5;
}
.thread small {
  font-size: 9px;
  color: #7189a6;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 100;
  max-width: calc(100% - 35px);
  padding: 15px 23px;
  border-radius: 12px;
  border: 1px solid #3d6b7b;
  background: #193547;
  color: #d5f7ff;
  box-shadow: 0 15px 50px #0009;
  font-size: 12px;
}
.skeleton {
  height: 400px;
  width: 100%;
  border: 1px solid #25344a;
  border-radius: 18px;
  background: linear-gradient(100deg, #111c2c 25%, #1c2a3c 45%, #111c2c 65%);
  background-size: 250% 100%;
  animation: loading 1.6s infinite;
}
/* Authentication */
.auth {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  min-height: 100dvh;
  background: #090e18;
}
.auth-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 42px 55px 25px;
  background:
    radial-gradient(ellipse at 20% 40%, #1a36563b, transparent 70%), #0d1624;
  border-right: 1px solid #283448;
  min-height: 790px;
}
.auth-story > .brand {
  align-self: flex-start;
}
.auth-message {
  z-index: 2;
  margin-top: 42px;
}
.auth-message h1 {
  font-size: clamp(33px, 3.4vw, 55px);
  line-height: 1.15;
  letter-spacing: -1.6px;
  margin: 25px 0 20px;
}
.auth-message h1 em {
  display: inline;
  color: #97b3d1;
}
.auth-message p {
  font-size: 13px;
  color: #7d96b3;
  line-height: 1.8;
}
.auth-art {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 260px;
  object-fit: contain;
  left: 0;
  bottom: auto;
  opacity: 0.92;
  mask-image: linear-gradient(
    0deg,
    transparent,
    #000 15%,
    #000 75%,
    transparent
  );
}
.auth-benefits {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 20px;
  z-index: 2;
}
.auth-benefits > div {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  line-height: 1.6;
  color: #98aec8;
}
.auth-benefits svg {
  color: #79b7ca;
  width: 21px;
}
.auth-foot {
  margin-top: 37px;
  font-size: 8px;
  color: #4f6b8b;
  letter-spacing: 3px;
}
.auth-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 55px 38px 25px;
  position: relative;
}
.auth-form {
  width: 100%;
  max-width: 375px;
}
.auth-emblem {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: #172b3f;
  border: 1px solid #2e4c66;
  color: #96d7e8;
  margin-bottom: 26px;
}
.auth-emblem svg {
  width: 25px;
  height: 25px;
}
.auth-form .eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #687f9f;
}
.auth-form h2 {
  font-size: 30px;
  letter-spacing: -0.8px;
}
.auth-form > p {
  font-size: 12px;
  margin: 13px 0 29px;
}
.auth-form form {
  gap: 19px;
}
.auth-form .btn {
  margin-top: 6px;
  min-height: 49px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 22px 0;
  font-size: 10px;
  color: #9db9d4;
}
.auth-links a:hover {
  color: var(--cyan);
}
.auth-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-top: 1px solid #243249;
  margin-top: 34px;
  padding-top: 23px;
  font-size: 10px;
  color: #647b99;
  line-height: 1.6;
}
.auth-note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.auth-copyright {
  font-size: 9px;
  color: #48617e;
  margin-top: 65px;
}
.auth .brand {
  font-size: 25px;
}
.auth .brand-symbol {
  width: 43px;
  height: 43px;
}
@keyframes loading {
  to {
    background-position: -150% 0;
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sculpture-drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-7px) scale(1.025);
  }
}
main > section,
main > .accounts,
main > .dashboard-grid,
main > .split,
main > .plan-grid {
  animation: reveal 0.35s ease both;
}
@media (min-width: 1700px) {
  .welcome {
    min-height: 335px;
  }
  .welcome-copy {
    padding: 40px;
  }
  .hero-art img {
    width: 100%;
  }
  .welcome h2 {
    font-size: 43px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding: 28px 14px 20px;
  }
  .sidebar nav a {
    font-size: 11px;
    gap: 10px;
    padding: 10px;
  }
  .sidebar > .brand {
    font-size: 19px;
    margin-bottom: 40px;
  }
  .brand-symbol {
    width: 32px;
  }
  .app-body {
    margin-left: 210px;
  }
  main {
    padding: 28px;
  }
  .masthead {
    padding: 0 28px;
  }
  .session-label {
    display: none;
  }
  .page-tools .today {
    display: none;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, 1fr);
  }
  .portfolio-body {
    grid-template-columns: 135px 1fr;
    gap: 15px;
  }
  .portfolio-chart {
    width: 135px;
    height: 135px;
  }
  .portfolio-chart strong {
    font-size: 28px;
  }
  .portfolio-legend strong {
    font-size: 16px;
  }
  .box {
    padding: 21px;
  }
  .portfolio > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .welcome-copy {
    padding-left: 27px;
  }
  .welcome h2 {
    font-size: 31px;
  }
  .account-card {
    padding: 18px;
  }
  .account-card strong {
    font-size: 25px;
  }
  .plan-card {
    padding: 20px;
  }
  .plan-grid {
    gap: 12px;
  }
  .plan-card h2 {
    font-size: 19px;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-message h1 {
    font-size: 40px;
  }
  .auth-benefits {
    gap: 10px;
  }
  .auth-benefits > div {
    font-size: 9px;
    gap: 7px;
  }
}
@media (max-width: 980px) {
  .sidebar {
    width: 78px;
    padding: 24px 11px;
  }
  .sidebar > .brand {
    margin: 0 auto 40px;
  }
  .sidebar .brand > span,
  .sidebar .nav-label,
  .sidebar nav a {
    font-size: 0;
  }
  .sidebar nav a {
    justify-content: center;
    gap: 0;
    padding: 13px;
  }
  .sidebar nav a svg {
    width: 21px;
    height: 21px;
  }
  .sidebar .brand-symbol {
    width: 35px;
  }
  .sidebar .concierge,
  .sidebar-foot {
    display: none;
  }
  .app-body {
    margin-left: 78px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(235px, 1fr);
  }
  .welcome h2 {
    font-size: 32px;
  }
  .welcome-copy {
    padding: 25px 0 25px 25px;
  }
  .welcome .pill {
    font-size: 7px;
  }
  .welcome p {
    font-size: 10px;
  }
  .account-head > div > span {
    font-size: 8px;
  }
  .account-card strong {
    font-size: 24px;
  }
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-story {
    padding: 30px;
  }
  .auth-message h1 {
    font-size: 35px;
  }
  .auth-message p {
    font-size: 11px;
  }
  .auth-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 15px;
    padding-top: 20px;
  }
  .auth-benefits > div:last-child {
    display: none;
  }
  .auth-side {
    padding: 30px;
  }
  .auth-message {
    margin-top: 60px;
  }
  .auth-form h2 {
    font-size: 27px;
  }
  .partner-banner h2 {
    font-size: 31px;
  }
  .partner-visual {
    transform: rotate(-20deg) scale(0.8);
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  .app-body {
    margin: 0;
  }
  .masthead {
    height: 68px;
    position: sticky;
    top: 0;
    z-index: 25;
    padding: 0 20px;
    background: #0c1422ed;
    backdrop-filter: blur(18px);
  }
  .mobile-brand {
    display: block;
  }
  .mobile-brand .brand {
    font-size: 17px;
    gap: 7px;
  }
  .mobile-brand .brand-symbol {
    width: 30px;
    height: 30px;
  }
  .mobile-brand .brand small {
    font-size: 5px;
    letter-spacing: 1.9px;
  }
  .breadcrumb,
  .profile-chip > span:not(.avatar),
  .profile-chip > svg {
    display: none;
  }
  .head-actions {
    gap: 10px;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .avatar {
    width: 34px;
    height: 34px;
  }
  .head-actions svg {
    width: 19px;
  }
  .profile-chip {
    gap: 0;
  }
  main {
    padding: 23px 18px 22px;
    min-height: calc(100dvh - 145px);
  }
  .page-top {
    margin-bottom: 21px;
    align-items: flex-start;
  }
  .page-top h1 {
    font-size: 25px;
    letter-spacing: -0.5px;
  }
  .page-top .eyebrow {
    font-size: 7px;
    margin-bottom: 7px;
  }
  .page-top p {
    font-size: 10px;
    line-height: 1.6;
    max-width: 280px;
    margin-top: 8px;
  }
  .page-tools {
    display: none;
  }
  .welcome {
    min-height: 225px;
    grid-template-columns: 1.4fr 0.65fr;
    border-radius: 15px;
    overflow: hidden;
  }
  .welcome-copy {
    padding: 22px 0 24px 21px;
  }
  .welcome .pill {
    font-size: 6px;
    letter-spacing: 0.8px;
    padding: 5px 7px;
    gap: 5px;
    white-space: nowrap;
  }
  .welcome h2 {
    font-size: 26px;
    letter-spacing: -0.8px;
    line-height: 1.16;
    margin-top: 17px;
  }
  .welcome p {
    font-size: 11px;
    line-height: 1.6;
    margin: 13px 0 17px;
    max-width: 195px;
  }
  .welcome p br {
    display: none;
  }
  .welcome .actions {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .welcome .btn {
    min-height: 38px;
    font-size: 11px;
    padding: 9px 13px;
    gap: 10px;
  }
  .welcome .text-link {
    font-size: 9px;
  }
  .hero-art {
    overflow: visible;
    align-self: stretch;
  }
  .hero-art img {
    position: absolute;
    width: 255px;
    height: 260px;
    object-fit: contain;
    max-width: none;
    right: -75px;
    top: 24px;
    opacity: 0.75;
  }
  .hero-art:after {
    background: linear-gradient(90deg, #0c1421b3, transparent 60%);
  }
  .art-caption {
    display: none;
  }
  .balance-section {
    margin: 24px 0 19px;
  }
  .section-title {
    margin-bottom: 13px;
  }
  .section-title h2 {
    font-size: 18px;
  }
  .section-title .eyebrow {
    font-size: 7px;
    margin-bottom: 5px;
  }
  .section-title .text-link {
    font-size: 10px;
  }
  .accounts {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 22px;
  }
  .account-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    padding: 15px 16px;
    border-radius: 12px;
  }
  .account-head {
    grid-row: 1/3;
    gap: 10px;
  }
  .account-head > svg {
    display: none;
  }
  .account-head b {
    font-size: 12px;
  }
  .account-head > div > span {
    font-size: 8px;
    line-height: 1.4;
  }
  .currency-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 18px;
  }
  .account-card strong {
    font-size: 22px;
    margin: 0;
    text-align: right;
    letter-spacing: -0.4px;
    white-space: nowrap;
    line-height: 1.3;
  }
  .account-card strong small {
    font-size: 9px;
    margin-left: 2px;
  }
  .account-caption {
    justify-content: flex-end;
    font-size: 7px;
    margin-top: 4px;
    gap: 5px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 17px;
  }
  .box {
    padding: 21px;
    border-radius: 15px;
    margin-bottom: 18px;
  }
  .box > header {
    margin-bottom: 18px;
  }
  .box > header h2 {
    font-size: 17px;
  }
  .portfolio > header {
    flex-direction: row;
    align-items: center;
    gap: 7px;
  }
  .portfolio > header .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .portfolio > header h2 {
    font-size: 16px;
  }
  .currency-tabs {
    padding: 3px;
    gap: 1px;
  }
  .currency-tabs button {
    font-size: 8px;
    padding: 5px 6px;
  }
  .portfolio-body {
    grid-template-columns: 128px 1fr;
    gap: 18px;
  }
  .portfolio-chart {
    width: 128px;
    height: 128px;
  }
  .portfolio-chart strong {
    font-size: 28px;
  }
  .portfolio-chart span {
    font-size: 9px;
  }
  .portfolio-legend strong {
    font-size: 17px;
  }
  .portfolio-legend > div > span {
    font-size: 9px;
    gap: 5px;
  }
  .portfolio-legend p {
    font-size: 8px;
    line-height: 1.6;
    margin-top: 10px;
  }
  .portfolio-legend > div {
    margin: 9px 0 14px;
  }
  .focus-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .focus-panel > header,
  .focus-panel > h2 {
    grid-column: 1/-1;
  }
  .focus-panel > h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .focus-panel > h2 br {
    display: none;
  }
  .focus-row {
    font-size: 10px;
    gap: 8px;
  }
  .focus-row span {
    gap: 7px;
  }
  .focus-row b {
    font-size: 14px;
  }
  .focus-row svg {
    width: 14px;
    height: 14px;
  }
  .focus-links {
    grid-column: 1/-1;
    margin-top: 18px;
  }
  .network-card {
    padding: 24px;
  }
  .network-card h2 {
    font-size: 25px;
  }
  .network-card p {
    max-width: 280px;
  }
  .lower-grid .box > header > .text-link {
    font-size: 10px;
  }
  .row {
    gap: 10px;
    padding: 15px 0;
  }
  .row-icon {
    height: 31px;
    width: 31px;
    border-radius: 9px;
  }
  .row b {
    font-size: 12px;
  }
  .row small {
    font-size: 10px;
  }
  .row-end b {
    font-size: 12px;
  }
  .row-end b small {
    font-size: 8px;
  }
  .badge {
    font-size: 10px;
    padding: 4px 6px;
  }
  .site-foot {
    padding: 20px 20px calc(105px + env(safe-area-inset-bottom));
    font-size: 8px;
  }
  .site-foot > span:nth-child(2) {
    display: none;
  }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    z-index: 40;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0e1929f5;
    border-top: 1px solid #304057;
    backdrop-filter: blur(18px);
    padding: 11px 8px calc(12px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #6d839e;
    font-size: 9px;
    padding: 2px 0;
  }
  .tabbar a svg {
    height: 21px;
    width: 21px;
  }
  .tabbar a.selected {
    color: #88e2ed;
  }
  .tabbar a.selected svg {
    filter: drop-shadow(0 0 7px #55dfff42);
  }
  .tabbar a.selected:before {
    content: "";
    position: absolute;
    top: 0;
    width: 24px;
    height: 2px;
    background: var(--cyan);
    border-radius: 0 0 4px 4px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 20px;
  }
  .explain {
    padding: 25px;
    border-radius: 15px;
  }
  .explain h2 {
    font-size: 24px;
    margin: 16px 0 12px;
  }
  .explain p {
    font-size: 11px;
  }
  .explain .step {
    font-size: 9px;
  }
  .explain .text-link {
    margin-top: 5px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 22px 15px;
  }
  .metrics strong {
    font-size: 23px;
  }
  .metrics span {
    font-size: 10px;
  }
  .metrics b {
    font-size: 11px;
  }
  .box > .muted {
    font-size: 11px;
  }
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 20px;
  }
  .plan-card {
    padding: 25px;
  }
  .plan-card h2 {
    min-height: 0;
    font-size: 24px;
  }
  .plan-card .plan-index {
    margin-bottom: 20px;
  }
  .plan-rate {
    font-size: 46px;
  }
  .plan-card > p {
    min-height: 0;
    font-size: 12px;
  }
  .plan-card form {
    margin-top: 22px;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .plan-card form > input[type="hidden"] {
    display: none;
  }
  .plan-card form > .btn,
  .plan-card form > p {
    grid-column: 1/-1;
  }
  .plan-card form > label {
    min-width: 0;
  }
  .partner-banner {
    grid-template-columns: 1fr;
    position: relative;
    padding: 25px;
    isolation: isolate;
    min-height: 275px;
    border-radius: 15px;
  }
  .partner-banner h2 {
    font-size: 30px;
    max-width: 240px;
    margin: 20px 0 14px;
  }
  .partner-banner .pill {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .partner-banner p {
    max-width: 235px;
    font-size: 11px;
  }
  .partner-visual {
    position: absolute;
    right: -100px;
    top: 55px;
    opacity: 0.23;
    z-index: -1;
    transform: rotate(-20deg) scale(0.85);
  }
  .copy-line {
    flex-direction: column;
  }
  .copy-line .btn {
    min-height: 43px;
  }
  .position > header h3 {
    font-size: 16px;
  }
  .position .metrics {
    gap: 18px 12px;
  }
  .position .metrics strong {
    font-size: 20px;
  }
  .position .actions {
    gap: 15px;
  }
  .menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .menu-item {
    min-height: 92px;
    padding: 20px 15px;
    font-size: 12px;
    gap: 8px;
  }
  .menu-item svg {
    width: 16px;
    height: 16px;
  }
  .menu-item b {
    font-weight: 500;
  }
  .profile-heading h2 {
    font-size: 22px;
  }
  .profile-heading p {
    font-size: 10px;
  }
  .profile-heading .avatar {
    flex-shrink: 0;
  }
  .box > .row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .box > .row > .btn {
    font-size: 11px;
    padding: 10px 12px;
  }
  .toast {
    bottom: calc(89px + env(safe-area-inset-bottom));
    font-size: 11px;
    min-width: 245px;
    text-align: center;
  }
  dialog {
    padding: 23px;
  }
  dialog h2 {
    font-size: 20px;
  }
  dialog .copy-line {
    flex-direction: column;
  }
  dialog .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .auth {
    display: flex;
    flex-direction: column;
  }
  .auth-story {
    padding: 24px 25px 20px;
    min-height: 285px;
    border-right: 0;
    border-bottom: 1px solid #293d53;
  }
  .auth-story > .brand {
    font-size: 19px;
  }
  .auth-story > .brand .brand-symbol {
    width: 32px;
    height: 32px;
  }
  .auth-message {
    margin-top: 29px;
    max-width: 80%;
    position: relative;
    z-index: 2;
  }
  .auth-message .pill {
    font-size: 6px;
    padding: 5px 7px;
    letter-spacing: 0.7px;
    gap: 6px;
  }
  .auth-message h1 {
    font-size: 29px;
    line-height: 1.16;
    letter-spacing: -0.9px;
    margin: 15px 0 12px;
  }
  .auth-message h1 br {
    display: none;
  }
  .auth-message p {
    font-size: 9px;
    max-width: 235px;
    margin: 12px 0 0;
  }
  .auth-art {
    position: absolute;
    z-index: -1;
    width: 245px;
    height: 245px;
    right: -75px;
    left: auto;
    bottom: 1px;
    opacity: 0.44;
    mask-image: linear-gradient(90deg, transparent, #000 40%);
  }
  .auth-benefits,
  .auth-foot {
    display: none;
  }
  .auth-side {
    padding: 32px 26px 25px;
  }
  .auth-form {
    max-width: 410px;
  }
  .auth-emblem {
    display: none;
  }
  .auth-form h2 {
    font-size: 27px;
  }
  .auth-form .eyebrow {
    font-size: 7px;
  }
  .auth-form > p {
    font-size: 11px;
    margin-bottom: 24px;
  }
  .auth-form form {
    gap: 17px;
  }
  .auth-links {
    font-size: 10px;
  }
  .auth-note {
    font-size: 9px;
    margin-top: 24px;
    padding-top: 20px;
  }
  .auth-copyright {
    margin-top: 32px;
  }
}
@media (max-width: 359px) {
  main {
    padding: 20px 14px;
  }
  .masthead {
    padding: 0 15px;
  }
  .welcome-copy {
    padding-left: 17px;
  }
  .welcome h2 {
    font-size: 23px;
  }
  .welcome .pill {
    font-size: 5px;
  }
  .welcome {
    grid-template-columns: 1.5fr 0.5fr;
  }
  .hero-art img {
    right: -97px;
    opacity: 0.6;
  }
  .account-card {
    padding: 14px 12px;
    gap: 0 7px;
  }
  .account-card strong {
    font-size: 19px;
  }
  .account-head {
    gap: 7px;
  }
  .account-head > div > span {
    font-size: 7px;
  }
  .currency-mark {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .portfolio {
    padding: 17px;
  }
  .portfolio > header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .portfolio-body {
    grid-template-columns: 108px 1fr;
    gap: 12px;
  }
  .portfolio-chart {
    height: 108px;
    width: 108px;
  }
  .portfolio-legend strong {
    font-size: 15px;
  }
  .portfolio-legend > div > span {
    font-size: 8px;
  }
  .focus-panel {
    padding: 18px;
    gap: 0 11px;
  }
  .focus-row span {
    gap: 5px;
    font-size: 9px;
  }
  .focus-row svg {
    display: none;
  }
  .box {
    padding: 18px;
  }
  .auth-message {
    max-width: 88%;
  }
  .auth-message h1 {
    font-size: 27px;
  }
  .auth-side {
    padding: 28px 22px;
  }
  .auth-links {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
