:root {
  --blue: #0500ff;
  --blue-hover: #1e1aff;
  --blue-soft: #f0f1ff;
  --ink: #101114;
  --muted: #667085;
  --subtle: #98a2b3;
  --line: #e4e7ec;
  --surface: #ffffff;
  --canvas: #f8f9fc;
  --green: #12b76a;
  --red: #f04438;
  --font: "Inter", system-ui, sans-serif;
  --display: "Manrope", var(--font);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

button,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-8px) rotate(-3deg); }
}

@keyframes card-shine {
  0%, 20% { transform: translateX(-140%) skewX(-20deg); opacity: 0; }
  40% { opacity: .35; }
  70%, 100% { transform: translateX(360%) skewX(-20deg); opacity: 0; }
}

.reveal {
  animation: reveal .65s var(--ease) both;
}

.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(228, 231, 236, .75);
  background: rgba(248, 249, 252, .88);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 32px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--blue);
  font: 800 14px/1.2 var(--display);
}

.brand-copy span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  padding: 9px 30px 9px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.button {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: .2s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(5, 0, 255, .18);
}

.button-primary:hover {
  background: var(--blue-hover);
}

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

.button-white {
  color: var(--blue);
  background: #fff;
}

.logout {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.logout:hover {
  color: var(--red);
  border-color: #fecdca;
}

/* Card */
.payment-card {
  width: min(430px, 100%);
  aspect-ratio: 1.586 / 1;
  position: relative;
  display: block;
  perspective: 1500px;
}

.payment-card__inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  transform-style: preserve-3d;
}

.card-side {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform .65s var(--ease), opacity .3s ease;
  box-shadow: 0 24px 64px rgba(5, 0, 255, .24);
}

.card-side--front {
  opacity: 1;
  transform: rotateY(0deg);
  background:
    radial-gradient(circle at 84% 10%, rgba(72, 255, 145, .45), transparent 28%),
    linear-gradient(135deg, #332cff 0%, #0500ff 48%, #001252 100%);
}

.card-side--back {
  opacity: 0;
  transform: rotateY(-180deg);
  background:
    radial-gradient(circle at 10% 90%, rgba(72, 255, 145, .25), transparent 32%),
    linear-gradient(145deg, #1712d9, #0500ff 52%, #001252);
}

.card-flip-button.is-flipped .card-side--front {
  opacity: 0;
  transform: rotateY(180deg);
  pointer-events: none;
}

.card-flip-button.is-flipped .card-side--back {
  opacity: 1;
  transform: rotateY(0deg);
}

.card-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255,255,255,.18), transparent 38%),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.025) 39px 40px);
}

.card-side::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -35%;
  width: 30%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: card-shine 7s ease-in-out infinite;
}

.card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 24px 26px 22px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.card-brand img {
  width: 23px;
  filter: brightness(0) invert(1);
}

.card-visa {
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.03em;
}

.card-tools {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-chip {
  width: 54px;
  height: 40px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe8a3, #d3a92f 55%, #967315);
  box-shadow: inset 0 0 0 1px rgba(62, 44, 0, .25);
}

.card-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 31%, rgba(67,48,0,.22) 32% 34%, transparent 35% 65%, rgba(67,48,0,.22) 66% 68%, transparent 69%),
    linear-gradient(transparent 46%, rgba(67,48,0,.22) 47% 51%, transparent 52%);
}

.card-chip::after {
  content: "";
  position: absolute;
  inset: 10px 17px;
  border: 1px solid rgba(67,48,0,.35);
  border-radius: 3px;
}

.card-contactless {
  width: 28px;
  height: 32px;
}

.card-number {
  margin: 0;
  align-self: end;
  font: 500 clamp(15px, 3.4vw, 21px)/1 var(--mono);
  letter-spacing: .12em;
  white-space: nowrap;
}

.card-footer {
  margin-top: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.card-footer small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.65);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.card-footer strong {
  font: 500 14px/1 var(--mono);
}

.card-tier {
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card-back-stripe {
  position: relative;
  z-index: 2;
  display: block;
  height: 48px;
  margin-top: 30px;
  background: #090b10;
}

.card-signature {
  position: relative;
  z-index: 2;
  margin: 20px 24px 0;
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  background:
    repeating-linear-gradient(-8deg, #fff 0 5px, #f2f4f7 6px 10px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.card-signature span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

.card-signature strong {
  min-width: 56px;
  padding: 7px 8px;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font: 600 16px/1 var(--mono);
  text-align: center;
}

.card-back-copy {
  position: relative;
  z-index: 2;
  display: block;
  margin: 16px 24px 0;
  max-width: 300px;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  line-height: 1.5;
}

.card-flip-button {
  width: min(350px, 100%);
  aspect-ratio: 1.586 / 1;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.card-flip-button .payment-card {
  width: 100%;
}

.flip-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

/* Landing */
.hero {
  padding: 72px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 85% 30%, rgba(5,0,255,.12), transparent 62%),
    linear-gradient(180deg, #fff, var(--canvas));
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 20px;
  max-width: 620px;
  font: 800 clamp(40px, 6vw, 68px)/1.02 var(--display);
  letter-spacing: -.055em;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #475467;
  font-size: 13px;
  font-weight: 600;
}

.hero-trust svg {
  width: 16px;
  color: var(--green);
}

.hero-card {
  display: grid;
  place-items: center;
}

.hero-card .payment-card {
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(5,0,255,.18));
}

.pay-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.pay-row img {
  height: 28px;
  border-radius: 5px;
}

.product-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.product-strip-grid {
  min-height: 94px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.product-stat {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.product-stat:nth-child(2n) {
  border-right: 0;
}

.product-stat strong {
  display: block;
  margin-bottom: 4px;
  font: 800 22px/1 var(--display);
}

.product-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.section {
  padding: 88px 0;
}

.section-white {
  background: #fff;
}

.section-head {
  max-width: 660px;
  margin-bottom: 40px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 14px;
  font: 800 clamp(30px, 4vw, 44px)/1.12 var(--display);
  letter-spacing: -.04em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.process {
  display: grid;
  border-block: 1px solid var(--line);
}

.process-item {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.process-item:last-child {
  border-bottom: 0;
}

.process-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 800;
}

.process-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.bento {
  display: grid;
  gap: 16px;
}

.bento-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.bento-card--blue {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 90% 0, rgba(72,255,145,.28), transparent 34%),
    var(--blue);
}

.bento-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
}

.bento-card--blue .bento-icon {
  color: #fff;
  background: rgba(255,255,255,.14);
}

.bento-card h3 {
  margin: 0 0 10px;
  font: 800 21px/1.2 var(--display);
  letter-spacing: -.025em;
}

.bento-card p {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.bento-card--blue p {
  color: rgba(255,255,255,.75);
}

.wallet-flow {
  display: grid;
  gap: 24px;
  align-items: center;
}

.wallet-flow-visual {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flow-node {
  min-width: 0;
  flex: 1;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
}

.flow-node strong,
.flow-node span {
  display: block;
}

.flow-node strong {
  margin-bottom: 4px;
  font-size: 13px;
}

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

.flow-arrow {
  color: var(--blue);
  font-weight: 800;
}

.flow-balance {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.flow-balance span {
  color: var(--muted);
  font-size: 12px;
}

.flow-balance strong {
  font: 800 24px/1 var(--display);
}

.cta {
  padding: 54px 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(72,255,145,.25), transparent 28%),
    var(--blue);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cta h2 {
  margin: 0 0 10px;
  font: 800 clamp(28px, 4vw, 42px)/1.12 var(--display);
  letter-spacing: -.04em;
}

.cta p {
  margin: 0;
  max-width: 620px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  text-align: center;
}

/* Profile */
.profile-page {
  padding: 40px 0 64px;
}

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

.profile-heading h1 {
  margin: 0 0 8px;
  font: 800 clamp(28px, 4vw, 40px)/1.1 var(--display);
  letter-spacing: -.04em;
}

.profile-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.profile-overview {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.account-summary {
  min-width: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 6px 9px;
  border-radius: 7px;
  color: #027a48;
  background: #ecfdf3;
  font-size: 11px;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.summary-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.summary-balance {
  margin: 0 0 18px;
  font: 800 clamp(32px, 5vw, 48px)/1 var(--display);
  letter-spacing: -.04em;
}

.wallet-address {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #475467;
  background: var(--canvas);
  font: 500 12px/1 var(--mono);
}

.summary-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.summary-metric {
  padding: 16px 12px 0 0;
}

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

.summary-metric span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.summary-metric strong {
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-grid {
  display: grid;
  gap: 24px;
}

.dashboard-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.panel-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0 0 5px;
  font-size: 16px;
}

.panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.asset-list,
.activity-list {
  display: grid;
}

.asset-row,
.activity-row {
  padding: 16px 22px;
  display: grid;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.asset-row:last-child,
.activity-row:last-child {
  border-bottom: 0;
}

.asset-row {
  grid-template-columns: auto 1fr auto;
}

.asset-icon,
.activity-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.asset-icon.is-trx { background: #ef0027; }
.asset-icon.is-usdt { background: #26a17b; }
.asset-icon.is-usdc { background: #2775ca; }
.asset-icon.is-token { background: var(--blue); }
.activity-icon.is-in { color: var(--green); background: #ecfdf3; }
.activity-icon.is-out { color: var(--red); background: #fef3f2; }

.asset-main strong,
.asset-main span,
.activity-main strong,
.activity-main span {
  display: block;
}

.asset-main strong,
.activity-main strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.asset-main span,
.activity-main span {
  color: var(--muted);
  font-size: 11px;
}

.asset-value,
.activity-value {
  text-align: right;
}

.asset-value strong,
.asset-value span {
  display: block;
}

.asset-value strong {
  margin-bottom: 3px;
  font-size: 13px;
}

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

.activity-row {
  grid-template-columns: auto 1fr auto;
}

.activity-value {
  font-size: 13px;
  font-weight: 700;
}

.activity-value.is-in { color: var(--green); }
.activity-value.is-out { color: var(--ink); }

.empty-state {
  padding: 32px 22px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.08fr .92fr;
  }

  .product-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-stat:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .product-stat:last-child {
    border-right: 0;
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
  }

  .process-item {
    min-height: 180px;
    padding: 28px;
    grid-template-columns: 1fr;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .process-item:last-child {
    border-right: 0;
  }

  .bento {
    grid-template-columns: 1.2fr .8fr;
  }

  .bento-card--wide {
    grid-column: 1 / -1;
  }

  .wallet-flow {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .profile-overview {
    grid-template-columns: .82fr 1.18fr;
    padding: 36px;
  }

  .dashboard-grid {
    grid-template-columns: .85fr 1.15fr;
  }
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 64px;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    padding: 46px 0 60px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 64px 0;
  }

  .card-content {
    padding: 17px 18px 16px;
  }

  .card-tools {
    margin-top: 18px;
  }

  .card-chip {
    width: 43px;
    height: 32px;
  }

  .card-number {
    font-size: 13px;
    letter-spacing: .09em;
  }

  .card-footer {
    margin-top: 12px;
  }

  .summary-metrics {
    grid-template-columns: 1fr;
  }

  .summary-metric {
    padding-top: 12px;
  }

  .profile-overview {
    padding: 18px;
  }

  .asset-row,
  .activity-row {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-card .payment-card,
  .card-side::after {
    animation: none !important;
  }

  .payment-card__inner {
    transition: none;
  }
}

/* Refined card dashboard */
.profile-titlebar {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.profile-eyebrow,
.panel-kicker {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-titlebar h1 {
  margin: 0 0 8px;
  font: 800 clamp(28px, 4vw, 42px)/1.08 var(--display);
  letter-spacing: -.045em;
}

.profile-titlebar > div > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.profile-live {
  flex-shrink: 0;
  padding: 8px 10px;
  border: 1px solid #abefc6;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #027a48;
  background: #ecfdf3;
  font-size: 11px;
  font-weight: 700;
}

.profile-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.dashboard-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 36px;
  display: grid;
  gap: 44px;
  align-items: center;
  border: 1px solid #d9ddff;
  border-radius: 22px;
  background:
    radial-gradient(500px 280px at 12% 20%, rgba(5,0,255,.1), transparent 66%),
    linear-gradient(135deg, #fff 0%, #f4f5ff 100%);
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(5,0,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(5,0,255,.025), 0 0 0 92px rgba(5,0,255,.018);
  pointer-events: none;
}

.dashboard-card-column,
.dashboard-summary {
  position: relative;
  z-index: 1;
}

.dashboard-card-column {
  display: grid;
  justify-items: start;
}

.dashboard-summary {
  min-width: 0;
}

.dashboard-summary .status {
  margin-bottom: 18px;
}

.card-actions {
  margin-top: 24px;
  padding-top: 20px;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(5,0,255,.1);
}

.card-action {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.72);
}

.card-action-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
}

.card-action-icon svg {
  width: 17px;
}

.card-action > span:last-child {
  min-width: 0;
  display: grid;
}

.card-action strong {
  font-size: 12px;
}

.card-action small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.profile-facts {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.profile-facts div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-facts div:nth-child(2n) {
  border-right: 0;
}

.profile-facts div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.profile-facts span,
.profile-facts strong {
  display: block;
}

.profile-facts span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.profile-facts strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.4;
}

.dashboard-content {
  align-items: start;
}

.dashboard-content .dashboard-panel {
  box-shadow: 0 8px 24px rgba(16,17,20,.035);
}

.dashboard-content .panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-content .panel-head h2 {
  margin: 0;
}

.dashboard-content .panel-head > p {
  max-width: 220px;
  text-align: right;
  line-height: 1.45;
}

.security-note {
  margin-top: 24px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #344054;
  background: #fff;
}

.security-note svg {
  width: 20px;
  flex-shrink: 0;
  color: var(--blue);
}

.security-note strong {
  font-size: 13px;
}

.security-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 760px) {
  .dashboard-hero {
    grid-template-columns: minmax(300px, .9fr) minmax(300px, 1.1fr);
  }

  .profile-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .profile-facts div,
  .profile-facts div:nth-child(2n) {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .profile-facts div:last-child {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .profile-titlebar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .dashboard-hero {
    padding: 20px;
    gap: 28px;
  }

  .dashboard-card-column {
    justify-items: center;
  }

  .dashboard-content .panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .dashboard-content .panel-head > p {
    max-width: none;
    text-align: left;
  }
}

/* Wallet application profile */
.app-body {
  min-height: 100vh;
  background: #f6f7f9;
}

.wallet-app {
  min-height: 100vh;
}

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: 236px;
  padding: 26px 18px 20px;
  display: none;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #fff;
}

.app-logo {
  padding: 0 10px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font: 800 15px/1 var(--display);
}

.app-logo img {
  width: 31px;
}

.app-nav {
  display: grid;
  gap: 5px;
}

.app-nav-item {
  padding: 10px 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 10px;
  color: #667085;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  transition: .18s ease;
}

.app-nav-item svg {
  width: 18px;
  flex-shrink: 0;
}

.app-nav-item:hover {
  color: var(--ink);
  background: #f7f8fa;
}

.app-nav-item.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.network-state {
  padding: 10px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.network-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.sidebar-logout {
  width: 100%;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.sidebar-logout:hover {
  color: var(--red);
  background: #fef3f2;
}

.sidebar-logout svg {
  width: 17px;
}

.app-main {
  min-width: 0;
}

.app-toolbar {
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
}

.app-mobile-brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
}

.app-mobile-brand img {
  width: 27px;
}

.toolbar-wallet {
  max-width: 170px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #475467;
  background: #fff;
  font: 500 11px/1 var(--mono);
}

.toolbar-wallet span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbar-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
}

.toolbar-logout {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  background: #fff;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.toolbar-logout svg {
  width: 16px;
}

.app-content {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 36px 0 64px;
}

.app-page-head {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.app-page-head > div > p {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.app-page-head h1 {
  margin: 0;
  font: 800 clamp(26px, 4vw, 38px)/1.08 var(--display);
  letter-spacing: -.04em;
}

.sync-state {
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #abefc6;
  border-radius: 8px;
  color: #027a48;
  background: #ecfdf3;
  font-size: 10px;
  font-weight: 700;
}

.sync-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.app-overview-grid {
  display: grid;
  gap: 18px;
}

.balance-widget,
.compact-card-widget {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16,17,20,.025);
}

.balance-widget {
  padding: 24px 24px 20px;
  overflow: hidden;
}

.widget-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.balance-network {
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 9px;
  font-weight: 800;
}

.balance-value {
  margin: 13px 0 7px;
  font: 800 clamp(34px, 5vw, 48px)/1 var(--display);
  letter-spacing: -.045em;
}

.balance-caption {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.balance-chart {
  height: 128px;
  margin: 16px -24px 0;
}

.balance-chart svg {
  width: 100%;
  height: 100%;
}

.balance-meta {
  padding-top: 17px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
}

.balance-meta span,
.balance-meta strong {
  display: block;
}

.balance-meta span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.balance-meta strong {
  font-size: 12px;
  line-height: 1.4;
}

.compact-card-widget {
  padding: 20px;
}

.compact-widget-head {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compact-widget-head div {
  display: grid;
  gap: 3px;
}

.compact-widget-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.compact-widget-head strong {
  font-size: 14px;
}

.card-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px #ecfdf3;
}

.compact-card-widget .card-flip-button {
  width: min(310px, 100%);
  margin-inline: auto;
}

.compact-card-widget .card-side {
  border-radius: 17px;
  box-shadow: 0 16px 36px rgba(5,0,255,.18);
}

.compact-card-widget.is-frozen .card-side--front::before {
  background:
    linear-gradient(rgba(10,13,24,.48), rgba(10,13,24,.48)),
    linear-gradient(125deg, rgba(255,255,255,.18), transparent 38%);
  z-index: 3;
}

.compact-card-widget.is-frozen .card-status-dot {
  background: #98a2b3;
  box-shadow: 0 0 0 4px #f2f4f7;
}

.compact-card-widget.is-frozen #twc-freeze-card {
  color: var(--blue);
  border-color: #c7c9ff;
  background: var(--blue-soft);
}

.freeze-warning {
  margin-bottom: 18px;
  padding: 15px 17px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #b7d7ff;
  border-radius: 13px;
  color: #163b69;
  background: linear-gradient(135deg, #eef7ff, #f6fbff);
  box-shadow: 0 8px 22px rgba(38, 116, 190, .08);
}

.freeze-warning svg {
  width: 20px;
  flex: 0 0 20px;
  color: #1677c8;
}

.freeze-warning strong,
.freeze-warning span {
  display: block;
}

.freeze-warning strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.freeze-warning span {
  color: #55718f;
  font-size: 11px;
  line-height: 1.45;
}

.balance-widget,
.compact-card-widget,
.app-facts,
.app-panel {
  position: relative;
  transition: border-color .3s ease, filter .3s ease, box-shadow .3s ease;
}

.balance-widget::after,
.compact-card-widget::after,
.app-facts::after,
.app-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(219, 240, 255, .42), rgba(255, 255, 255, .12)),
    repeating-linear-gradient(115deg, transparent 0 24px, rgba(118, 190, 239, .08) 25px 26px);
  box-shadow:
    inset 0 0 0 1px rgba(118, 190, 239, .26),
    inset 0 0 26px rgba(115, 190, 239, .14);
  transition: opacity .3s ease;
}

.app-card-frozen .balance-widget,
.app-card-frozen .compact-card-widget,
.app-card-frozen .app-facts,
.app-card-frozen .app-panel {
  border-color: #c5e1f5;
  filter: saturate(.58);
  box-shadow: 0 8px 25px rgba(77, 151, 204, .08);
}

.app-card-frozen .balance-widget::after,
.app-card-frozen .compact-card-widget::after,
.app-card-frozen .app-facts::after,
.app-card-frozen .app-panel::after {
  opacity: 1;
}

.app-card-frozen .compact-card-widget::after {
  z-index: 2;
}

.app-card-frozen .compact-card-actions {
  position: relative;
  z-index: 4;
}

.app-card-frozen .compact-card-actions #twc-flip-secondary {
  opacity: .55;
  pointer-events: none;
}

.has-freeze-modal {
  overflow: hidden;
}

.freeze-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}

.freeze-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.freeze-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 29, .54);
  backdrop-filter: blur(5px);
}

.freeze-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(10, 19, 36, .24);
  transform: translateY(10px) scale(.98);
  transition: transform .2s ease;
}

.freeze-modal.is-open .freeze-dialog {
  transform: translateY(0) scale(1);
}

.freeze-dialog-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #1677c8;
  background: #eaf6ff;
}

.freeze-dialog-icon svg {
  width: 22px;
}

.freeze-dialog-copy h2 {
  margin: 0 0 8px;
  font: 800 22px/1.2 var(--display);
  letter-spacing: -.03em;
}

.freeze-dialog-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.freeze-dialog-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.freeze-dialog-actions button {
  min-height: 42px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.freeze-dialog-cancel {
  border: 1px solid var(--line);
  color: #475467;
  background: #fff;
}

.freeze-dialog-confirm {
  border: 1px solid var(--blue);
  color: #fff;
  background: var(--blue);
}

.freeze-dialog-loading {
  min-height: 92px;
  margin-top: 20px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
}

.freeze-dialog-loading[hidden],
.freeze-dialog-actions[hidden],
.freeze-warning[hidden] {
  display: none !important;
}

.freeze-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #dcecff;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: freeze-spin .75s linear infinite;
}

@keyframes freeze-spin {
  to { transform: rotate(360deg); }
}

.compact-card-widget .card-content {
  padding: 16px 18px 15px;
}

.compact-card-widget .card-brand {
  font-size: 10px;
}

.compact-card-widget .card-brand img {
  width: 17px;
}

.compact-card-widget .card-visa {
  font-size: 17px;
}

.compact-card-widget .card-tools {
  margin-top: 14px;
}

.compact-card-widget .card-chip {
  width: 40px;
  height: 29px;
}

.compact-card-widget .card-number {
  font-size: 12px;
  letter-spacing: .08em;
}

.compact-card-widget .card-footer {
  margin-top: 9px;
}

.compact-card-widget .card-footer small {
  font-size: 7px;
}

.compact-card-widget .card-footer strong {
  font-size: 10px;
}

.compact-card-widget .card-tier {
  font-size: 8px;
}

.compact-card-widget .card-back-stripe {
  height: 35px;
  margin-top: 21px;
}

.compact-card-widget .card-signature {
  min-height: 40px;
  margin: 15px 17px 0;
  padding: 6px 8px;
}

.compact-card-widget .card-back-copy {
  margin: 10px 17px 0;
  font-size: 8px;
}

.compact-card-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.compact-card-actions button {
  padding: 9px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #475467;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.compact-card-actions button:hover {
  color: var(--blue);
  border-color: #c7c9ff;
  background: var(--blue-soft);
}

.compact-card-actions svg {
  width: 14px;
}

.app-facts {
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.app-facts div {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-facts div:nth-child(2n) {
  border-right: 0;
}

.app-facts div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.app-facts span,
.app-facts strong {
  display: block;
}

.app-facts span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.app-facts strong {
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.4;
}

.app-data-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.app-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16,17,20,.025);
}

.app-panel-head {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.app-panel-head h2 {
  margin: 0 0 4px;
  font-size: 14px;
}

.app-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.panel-count {
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 840px) {
  .app-overview-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  }

  .app-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .app-facts div,
  .app-facts div:nth-child(2n) {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .app-facts div:last-child {
    border-right: 0;
  }

  .app-data-grid {
    grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr);
  }
}

@media (max-width: 560px) {
  .app-toolbar {
    padding-inline: 14px;
  }

  .toolbar-wallet {
    display: none;
  }

  .toolbar-logout span {
    display: none;
  }

  .toolbar-logout {
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .app-content {
    width: min(100% - 24px, 1180px);
    padding-top: 26px;
  }

  .app-page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .balance-widget {
    padding: 20px 18px 16px;
  }

  .balance-chart {
    margin-inline: -18px;
  }

  .balance-meta {
    grid-template-columns: 1fr;
  }

  .app-facts {
    grid-template-columns: 1fr;
  }

  .app-facts div,
  .app-facts div:nth-child(2n),
  .app-facts div:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-facts div:last-child {
    border-bottom: 0;
  }
}

/* Landing profile capabilities */
.profile-features-section {
  background: var(--canvas);
}

.profile-features {
  display: grid;
  gap: 16px;
}

.profile-feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.profile-feature--main {
  background:
    radial-gradient(520px 260px at 0% 0%, rgba(5,0,255,.08), transparent 68%),
    #fff;
}

.profile-feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
}

.profile-feature h3 {
  margin: 0 0 10px;
  font: 800 22px/1.2 var(--display);
  letter-spacing: -.03em;
}

.profile-feature > p {
  margin: 0 0 18px;
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.profile-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.profile-feature-list li {
  position: relative;
  padding-left: 22px;
  color: #344054;
  font-size: 13px;
  line-height: 1.5;
}

.profile-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

@media (min-width: 760px) {
  .profile-features {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: start;
  }

  .profile-feature--main {
    padding: 34px;
  }
}

@media (max-width: 620px) {
  .profile-feature {
    padding: 22px;
  }
}

/* Card activation screen */
.activate-body {
  min-height: 100vh;
  overflow: hidden;
  background: #f5f7fb;
}

.activate-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.activate-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 360px at 50% 30%, rgba(5, 0, 255, .09), transparent 72%),
    linear-gradient(180deg, rgba(248, 249, 252, .76), rgba(235, 239, 247, .92));
  backdrop-filter: blur(7px);
}

.activate-modal {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  min-height: 310px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 75px rgba(20, 31, 55, .16);
  animation: activate-modal-in .35s var(--ease) both;
}

@keyframes activate-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.activate-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
}

.activate-logo img {
  width: 29px;
}

.activate-modal h1 {
  margin: 0;
  font: 800 25px/1.2 var(--display);
  letter-spacing: -.035em;
}

.activate-spinner {
  position: relative;
  width: 54px;
  height: 54px;
  margin: 25px 0 22px;
  border: 4px solid #e8e9ff;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: activate-spin .8s linear infinite;
}

.activate-spinner span {
  position: absolute;
  inset: 8px;
  border: 2px solid #f0f1ff;
  border-bottom-color: #7370ff;
  border-radius: 50%;
  animation: activate-spin-reverse 1.1s linear infinite;
}

@keyframes activate-spin {
  to { transform: rotate(360deg); }
}

@keyframes activate-spin-reverse {
  to { transform: rotate(-360deg); }
}

.activate-status-text {
  width: 100%;
  min-height: 38px;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.activate-status-text.is-changing {
  animation: activate-status-in .3s ease both;
}

@keyframes activate-status-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
