/* ==========================================================================
   App Store Pro — Home v2 (sidebar dashboard layout)
   Scope prefix: asp2-   |   Tokens: --asp2-*
   --------------------------------------------------------------------------
   01 Tokens        06 Featured apps & recommended
   02 Base          07 Categories
   03 Primitives    08 Today's picks, support CTA, sign-in
   04 Shell         09 Footer & toast
   05 Hero          10 Responsive / 11 Motion
   ========================================================================== */

/* 01 Tokens ---------------------------------------------------------------- */
:root {
  --asp2-primary: #351EE0;
  --asp2-primary-600: #2B16C4;
  --asp2-primary-700: #22109C;
  --asp2-primary-200: #CFC8FC;
  --asp2-primary-100: #E4E0FD;
  --asp2-primary-50: #F2F0FE;

  --asp2-ink: #16133A;
  --asp2-ink-2: #45426A;
  --asp2-muted: #8583A3;
  --asp2-line: #ECEAF5;
  --asp2-bg: #FCFCFE;
  --asp2-side: #F6F5FC;
  --asp2-surface: #FFFFFF;

  --asp2-amber: #F5A524;
  --asp2-coral: #F0473C;
  --asp2-green: #139E6A;

  --asp2-font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --asp2-font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --asp2-r-hero: 24px;
  --asp2-r-card: 16px;
  --asp2-r-control: 12px;

  --asp2-shadow-card: 0 1px 2px rgba(22, 19, 58, .04), 0 10px 24px -18px rgba(22, 19, 58, .22);
  --asp2-shadow-pop: 0 20px 48px -20px rgba(22, 19, 58, .35);
  --asp2-shadow-brand: 0 10px 22px -10px rgba(53, 30, 224, .6);

  --asp2-side-w: 248px;
  --asp2-top-h: 76px;
  --asp2-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 02 Base ------------------------------------------------------------------ */
.asp2-body {
  font-family: var(--asp2-font-body);
  font-size: 1rem; line-height: 1.55;
  color: var(--asp2-ink-2); background: var(--asp2-bg);
  -webkit-font-smoothing: antialiased;
}
.asp2-body h1, .asp2-body h2, .asp2-body h3 { font-family: var(--asp2-font-head); color: var(--asp2-ink); margin: 0; }
.asp2-body p { margin: 0; }
.asp2-body a { color: inherit; text-decoration: none; }
.asp2-body :focus-visible:not(input):not(select):not(textarea) { outline: 2px solid var(--asp2-primary); outline-offset: 3px; border-radius: 8px; }
input, select, textarea { outline: none !important; }

.asp2-skip {
  position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px;
  border-radius: var(--asp2-r-control); background: var(--asp2-ink); color: #fff !important;
}
.asp2-skip:focus { top: 12px; }

.asp2-h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; word-spacing: .03em; line-height: 1.2; }

/* 03 Primitives ------------------------------------------------------------ */
.asp2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  font: 700 .9375rem var(--asp2-font-head); letter-spacing: -.005em; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.asp2-btn i { font-size: .95em; transition: transform .2s var(--asp2-ease); }
.asp2-btn:hover i.bi-arrow-right { transform: translateX(3px); }
.asp2-btn--primary { background: var(--asp2-primary); color: #fff !important; box-shadow: var(--asp2-shadow-brand); }
.asp2-btn--primary:hover { background: var(--asp2-primary-600); }
.asp2-btn--soft { background: var(--asp2-primary-50); color: var(--asp2-primary); }
.asp2-btn--soft:hover { background: var(--asp2-primary); color: #fff; }
.asp2-btn--white { background: #fff; color: var(--asp2-primary) !important; }
.asp2-btn--white:hover { background: var(--asp2-primary-50); }
.asp2-btn--sm { height: 36px; padding: 0 18px; font-size: .8125rem; }
.asp2-btn--block { width: 100%; }
.asp2-btn.is-loading { pointer-events: none; background: var(--asp2-primary-50); color: var(--asp2-primary); }
.asp2-btn.is-done { background: var(--asp2-ink); color: #fff; }

.asp2-icon {
  --tile: var(--asp2-primary); --size: 60px;
  width: var(--size); height: var(--size); flex: 0 0 var(--size);
  display: inline-grid; place-items: center; border-radius: 28%;
  color: #fff; font-size: calc(var(--size) * .44);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .3), transparent 55%),
    var(--tile);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 16px -10px var(--tile);
}
.asp2-icon--md { --size: 48px; }
.asp2-icon--sm { --size: 34px; border-radius: 10px; }

.asp2-stars {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .8125rem; font-weight: 600; color: var(--asp2-ink); font-variant-numeric: tabular-nums;
}
.asp2-stars i { color: var(--asp2-amber); font-size: .78em; }
.asp2-stars span { font-weight: 400; color: var(--asp2-muted); }

.asp2-badge {
  display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 999px;
  background: var(--asp2-primary); color: #fff; font-size: .8125rem; font-weight: 500;
}

.asp2-round {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--asp2-primary); border: 1px solid var(--asp2-primary-100);
  transition: background-color .2s, color .2s;
}
.asp2-round:hover { background: var(--asp2-primary); color: #fff; }

/* 04 Shell ----------------------------------------------------------------- */
.asp2-shell { min-height: 100vh; }

/* Sidebar — offcanvas-lg is static from 992px up */
.asp2-side { --bs-offcanvas-width: 288px; }
.asp2-side__inner {
  display: flex; flex-direction: column; gap: 28px;
  height: 100%; padding: 24px 18px; background: var(--asp2-side);
  overflow-y: auto;
}
.asp2-side__top { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.asp2-brand { display: inline-flex; align-items: center; max-width: 200px; flex-shrink: 0; text-decoration: none; }
.asp2-brand img { max-width: 200px; width: auto; height: auto; max-height: 48px; object-fit: contain; flex-shrink: 0; display: block; }
.asp2-brand span { display: none; }

.asp2-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.asp2-menu a {
  display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px;
  font-weight: 500; color: var(--asp2-ink-2); transition: background-color .2s, color .2s;
}
.asp2-menu a i { font-size: 1.15rem; width: 20px; text-align: center; color: var(--asp2-ink); }
.asp2-menu a:hover { background: rgba(53, 30, 224, .05); color: var(--asp2-ink); }
.asp2-menu a.is-active { background: var(--asp2-primary-100); color: var(--asp2-primary); font-weight: 600; }
.asp2-menu a.is-active i { color: var(--asp2-primary); }
.asp2-menu__badge {
  margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px;
  display: grid; place-items: center; background: var(--asp2-coral); color: #fff;
  font-size: .6875rem; font-weight: 600;
}
.asp2-menu--quiet a { padding-top: 9px; padding-bottom: 9px; font-size: .9375rem; }

.asp2-side__foot { margin-top: auto; display: grid; gap: 16px; }
.asp2-side__wallet {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 16px; border-radius: var(--asp2-r-card); background: #fff; border: 1px solid var(--asp2-line);
}
.asp2-side__wallet span { font-size: .8125rem; color: var(--asp2-muted); }
.asp2-side__wallet b {
  font-family: var(--asp2-font-head); font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--asp2-ink); font-variant-numeric: tabular-nums; line-height: 1.25;
}
.asp2-side__wallet a { font-size: .8125rem; font-weight: 600; color: var(--asp2-primary); margin-top: 4px; }

/* Main column */
.asp2-main { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }

.asp2-top {
  position: sticky; top: 0; z-index: 1020;
  display: flex; align-items: center; gap: 16px;
  height: var(--asp2-top-h); padding: 0 40px;
  background: rgba(252, 252, 254, .86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.asp2-top.is-scrolled { border-bottom-color: var(--asp2-line); }
.asp2-top__menu {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid var(--asp2-line); border-radius: 12px; background: #fff;
  color: var(--asp2-ink); font-size: 1.25rem;
}

.asp2-search {
  position: relative; flex: 1 1 auto; min-width: 0; max-width: 480px;
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 18px;
  border-radius: 999px; background: #F3F2FB; border: 1px solid transparent;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.asp2-search:focus-within {
  background: #fff;
  border-color: var(--asp2-primary);
  box-shadow: none !important;
}
.asp2-search > i { color: var(--asp2-ink-2); }
.asp2-search input,
.asp2-search input:focus,
.asp2-search input:focus-visible {
  flex: 1; min-width: 0; width: 100%; border: 0 !important; background: transparent !important; outline: none !important; box-shadow: none !important;
  font: 400 .9375rem var(--asp2-font-body); color: var(--asp2-ink);
}
.asp2-search input::placeholder { color: var(--asp2-muted); }
.asp2-search__key {
  padding: 1px 8px; border-radius: 6px; border: 1px solid var(--asp2-line); background: #fff;
  font: 500 .75rem var(--asp2-font-body); color: var(--asp2-muted);
}

.asp2-top__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.asp2-bell {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--asp2-ink); font-size: 1.2rem;
}
.asp2-bell:hover { background: var(--asp2-primary-50); }
.asp2-bell__dot {
  position: absolute; top: 10px; right: 11px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--asp2-coral); border: 2px solid var(--asp2-bg);
}
.asp2-me {
  display: inline-flex; align-items: center; gap: 10px; padding: 3px; border: 0;
  border-radius: 999px; background: transparent; color: var(--asp2-ink);
}
.asp2-me img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  background: var(--asp2-primary-100); border: 2px solid #fff; box-shadow: var(--asp2-shadow-card);
}
.asp2-me i { font-size: .8rem; margin-right: 6px; }
.asp2-me::after, .asp2-bell::after { display: none; }

.asp2-pop {
  --bs-dropdown-border-color: var(--asp2-line);
  --bs-dropdown-border-radius: 16px;
  --bs-dropdown-link-active-bg: var(--asp2-primary);
  --bs-dropdown-link-hover-bg: var(--asp2-primary-50);
  padding: 8px; min-width: 260px; box-shadow: var(--asp2-shadow-pop);
  font-family: var(--asp2-font-body); font-size: .9375rem;
}
.asp2-pop .dropdown-item { border-radius: 10px; padding: 8px 12px; color: var(--asp2-ink); }
.asp2-pop__title { padding: 6px 10px 8px; font: 700 .875rem var(--asp2-font-head); color: var(--asp2-ink); }
.asp2-pop__item {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px;
  font-size: .875rem; line-height: 1.35; max-width: 300px;
}
.asp2-pop__item:hover { background: var(--asp2-primary-50); }
.asp2-pop__item b { color: var(--asp2-ink); }

.asp2-content {
  width: 100%; max-width: 1240px; padding: 8px 40px 0;
  display: flex; flex-direction: column; gap: 56px;
}

/* 05 Hero ------------------------------------------------------------------ */
.asp2-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  min-height: 340px; padding: 48px 0 48px 52px;
  border-radius: var(--asp2-r-hero);
  background: linear-gradient(115deg, #F0EEFF 0%, #E2DDFF 45%, #CBC3FF 100%);
  border: 1px solid #DCD6FE;
}
.asp2-hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.asp2-hero__glow--a {
  width: 420px; height: 420px; right: -60px; top: -180px;
  background: radial-gradient(circle, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%);
}
.asp2-hero__glow--b {
  width: 360px; height: 360px; right: 22%; bottom: -220px;
  background: radial-gradient(circle, rgba(143, 128, 240, .45), rgba(143, 128, 240, 0) 70%);
}

.asp2-hero__copy { position: relative; z-index: 2; max-width: 460px; }
.asp2-hero__title {
  margin-top: 18px !important;
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.035em; word-spacing: .05em;
}
.asp2-hero__lead { margin-top: 16px !important; font-size: 1.0625rem; color: var(--asp2-ink-2); max-width: 40ch; }
.asp2-hero__copy .asp2-btn { margin-top: 28px; }

/* Illustration */
.asp2-hero__art { position: relative; height: 300px; }

.asp2-phone {
  position: absolute; left: 38%; top: -10px; width: 214px; height: 420px;
  padding: 8px; border-radius: 40px;
  background: linear-gradient(160deg, #5A45F5, #2A16B8 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), -24px 30px 50px -20px rgba(34, 16, 156, .55);
  transform: rotate(12deg);
}
.asp2-phone__screen {
  height: 100%; padding: 16px 14px; border-radius: 32px;
  background: linear-gradient(180deg, #FFFFFF, #F4F2FF);
  font-size: .625rem; color: var(--asp2-ink-2);
}
.asp2-phone__status { display: flex; justify-content: space-between; font-weight: 600; color: var(--asp2-ink); padding: 0 6px; }
.asp2-phone__hello { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.asp2-phone__hello b { font-family: var(--asp2-font-head); font-size: .9rem; color: var(--asp2-ink); letter-spacing: -.02em; }
.asp2-phone__hello img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--asp2-primary-100); }
.asp2-phone__search {
  display: flex; align-items: center; gap: 6px; margin-top: 12px; height: 28px; padding: 0 10px;
  border-radius: 999px; background: #fff; border: 1px solid var(--asp2-line); color: var(--asp2-muted);
}
.asp2-phone__label { margin-top: 16px !important; font-weight: 600; color: var(--asp2-ink); }
.asp2-phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.asp2-phone__grid span {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px;
  background: radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .35), transparent 55%), var(--tile);
  color: #fff; font-size: 1rem;
}
.asp2-phone__bars { display: grid; gap: 8px; margin-top: 18px; }
.asp2-phone__bars i { display: block; height: 30px; border-radius: 10px; background: #fff; border: 1px solid var(--asp2-line); }

.asp2-float {
  --tile: var(--asp2-primary);
  position: absolute; z-index: 3; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 20px; color: #fff; font-size: 1.6rem;
  background:
    radial-gradient(120% 80% at 25% 0%, rgba(255, 255, 255, .5), transparent 55%),
    linear-gradient(160deg, var(--tile), color-mix(in srgb, var(--tile) 75%, #000));
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .45),
    inset 0 -6px 12px rgba(0, 0, 0, .14),
    0 18px 28px -14px color-mix(in srgb, var(--tile) 80%, #000);
  animation: asp2Float 7s ease-in-out infinite;
}
.asp2-float--1 { left: 20%; top: 14px; --r: -10deg; }
.asp2-float--2 { left: 8%; top: 120px; width: 58px; height: 58px; --r: 8deg; animation-delay: -2s; }
.asp2-float--3 { left: 2%; top: 224px; width: 52px; height: 52px; font-size: 1.35rem; --r: -6deg; animation-delay: -4s; }
.asp2-float--4 { left: 26%; top: 200px; width: 70px; height: 70px; --r: 4deg; animation-delay: -1s; }
.asp2-float--5 { right: 12%; top: 40px; width: 56px; height: 56px; font-size: 1.4rem; --r: 10deg; animation-delay: -3s; }
@keyframes asp2Float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--r, 0deg)); }
}

.asp2-note {
  position: absolute; z-index: 4; right: 6%; bottom: 26px; width: 170px;
  display: flex; flex-direction: column; gap: 8px; padding: 14px 16px;
  border-radius: 16px; background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--asp2-shadow-pop);
  font: 600 .8125rem/1.35 var(--asp2-font-head); color: var(--asp2-ink); transform: rotate(-4deg);
}
.asp2-note i { color: var(--asp2-green); font-size: 1.1rem; }

/* Section heads */
.asp2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.asp2-head__sub { margin-top: 4px !important; font-size: .9375rem; color: var(--asp2-muted); }
.asp2-more {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-weight: 600; font-size: .9375rem; color: var(--asp2-primary) !important;
}
.asp2-more i { transition: transform .2s var(--asp2-ease); }
.asp2-more:hover i { transform: translateX(3px); }

/* 06 Featured apps & recommended ------------------------------------------ */
.asp2-row6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

.asp2-app {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 18px 16px 16px; border-radius: var(--asp2-r-card);
  background: var(--asp2-surface); border: 1px solid var(--asp2-line); box-shadow: var(--asp2-shadow-card);
  transition: border-color .2s;
}
.asp2-app:hover { border-color: var(--asp2-primary-200); }
.asp2-app__name { margin-top: 18px !important; font-size: 1rem; font-weight: 700; letter-spacing: -.015em; }
.asp2-app__cat { margin-top: 2px !important; font-size: .8125rem; color: var(--asp2-muted); }
.asp2-app .asp2-stars { margin-top: auto; padding-top: 14px; }
.asp2-app .asp2-btn { margin-top: 16px; height: 38px; font-size: .875rem; }

.asp2-mini {
  display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: var(--asp2-r-card);
  background: var(--asp2-surface); border: 1px solid var(--asp2-line); box-shadow: var(--asp2-shadow-card);
}
.asp2-mini__top { display: flex; gap: 12px; align-items: flex-start; }
.asp2-mini__top > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.asp2-mini__top b { font: 700 .9375rem var(--asp2-font-head); color: var(--asp2-ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asp2-mini__top small { font-size: .75rem; color: var(--asp2-muted); margin: 1px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asp2-mini .asp2-stars { font-size: .75rem; }

/* 07 Categories ------------------------------------------------------------ */
.asp2-cat {
  --c: var(--asp2-primary); --cbg: var(--asp2-primary-50);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 12px 20px; border-radius: var(--asp2-r-card);
  background: linear-gradient(180deg, #FFFFFF, #FAF9FE);
  border: 1px solid var(--asp2-line); transition: border-color .2s, background-color .2s;
}
.asp2-cat:hover { border-color: color-mix(in srgb, var(--c) 35%, #fff); }
.asp2-cat__glyph {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--cbg); color: var(--c); font-size: 1.45rem;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55);
  transition: background-color .2s, color .2s;
}
.asp2-cat:hover .asp2-cat__glyph { background: var(--c); color: #fff; }
.asp2-cat b { margin-top: 14px; font: 700 .9375rem/1.3 var(--asp2-font-head); color: var(--asp2-ink); letter-spacing: -.01em; }
.asp2-cat small { margin-top: 3px; font-size: .8125rem; color: var(--asp2-muted); }
.asp2-cat--all { background: var(--asp2-ink); border-color: var(--asp2-ink); }
.asp2-cat--all .asp2-cat__glyph { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.asp2-cat--all b { color: #fff; }
.asp2-cat--all small { color: rgba(255, 255, 255, .6); }
.asp2-cat--all:hover { border-color: var(--asp2-primary); }
.asp2-cat--all:hover .asp2-cat__glyph { background: var(--asp2-primary); }

/* 08 Picks, support CTA, sign-in ------------------------------------------ */
.asp2-list {
  list-style: none; margin: 0; padding: 6px 20px;
  border-radius: var(--asp2-r-card); background: var(--asp2-surface);
  border: 1px solid var(--asp2-line); box-shadow: var(--asp2-shadow-card);
}
.asp2-list__item { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.asp2-list__item + .asp2-list__item { border-top: 1px solid var(--asp2-line); }
.asp2-list__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.asp2-list__info b { font: 700 .9875rem var(--asp2-font-head); color: var(--asp2-ink); letter-spacing: -.01em; }
.asp2-list__info small { font-size: .8125rem; color: var(--asp2-muted); margin: 1px 0 3px; }

.asp2-promo {
  position: relative; overflow: hidden; isolation: isolate; flex: 1;
  display: flex; align-items: center; width: 100%; height: 100%;
  min-height: 250px; padding: 32px 30px; border-radius: 20px; box-sizing: border-box;
  background:
    radial-gradient(90% 120% at 100% 100%, rgba(143, 128, 240, .55), transparent 60%),
    linear-gradient(135deg, #4D37F3 0%, #351EE0 55%, #2614B5 100%);
  color: rgba(255, 255, 255, .82);
}
.asp2-promo__copy { position: relative; z-index: 1; width: 60%; }
.asp2-promo::before {
  content: ""; position: absolute; z-index: -1; width: 280px; height: 280px; right: -70px; top: -110px;
  border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.asp2-promo__title {
  color: #fff !important; font-size: 1.5rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -.03em; word-spacing: .04em; text-wrap: balance;
}
.asp2-promo__copy p { margin-top: 12px !important; font-size: .9375rem; max-width: 34ch; }
.asp2-promo__copy .asp2-btn { margin-top: 22px; height: 42px; font-size: .875rem; }

.asp2-promo__art { position: absolute; right: 0; top: 50%; width: 40%; height: 200px; transform: translateY(-50%); }
.asp2-promo__tile {
  position: absolute; right: 26px; top: 0; display: grid; place-items: center;
  width: 76px; height: 76px; border-radius: 22px; font-size: 2rem; color: #fff;
  background: radial-gradient(120% 80% at 25% 0%, rgba(255, 255, 255, .55), transparent 55%), rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 18px 30px -14px rgba(10, 4, 80, .7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: rotate(8deg);
}
.asp2-bubble {
  position: absolute; padding: 9px 13px; border-radius: 14px; max-width: 170px;
  font-size: .75rem; line-height: 1.3; box-shadow: 0 14px 24px -14px rgba(10, 4, 80, .8);
  white-space: nowrap;
}
.asp2-bubble--in { left: 4px; top: 80px; background: #fff; color: var(--asp2-ink); border-bottom-left-radius: 4px; }
.asp2-bubble--out { right: 16px; top: 124px; background: #1D1270; color: #fff; border-bottom-right-radius: 4px; }
.asp2-bubble--dots { left: 22px; top: 166px; display: flex; gap: 4px; background: #fff; border-bottom-left-radius: 4px; }
.asp2-bubble--dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--asp2-primary-200); animation: asp2Dot 1.2s infinite; }
.asp2-bubble--dots i:nth-child(2) { animation-delay: .15s; }
.asp2-bubble--dots i:nth-child(3) { animation-delay: .3s; }
@keyframes asp2Dot { 0%, 60%, 100% { background: var(--asp2-primary-200); } 30% { background: var(--asp2-primary); } }

.asp2-signin {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center;
  padding: 24px 0 24px 26px; border-radius: 20px;
  background: linear-gradient(120deg, #F6F5FF, #E9E5FF);
  border: 1px solid #DED9FD;
}
.asp2-signin__title { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.02em; }
.asp2-signin__copy p { margin: 8px 0 18px !important; font-size: .875rem; max-width: 36ch; }
.asp2-signin__art { position: relative; height: 130px; }
.asp2-signin__phone {
  position: absolute; right: 26px; top: 0; width: 76px; height: 140px; padding: 5px;
  border-radius: 18px; background: linear-gradient(160deg, #5A45F5, #2A16B8);
  box-shadow: -14px 20px 30px -16px rgba(34, 16, 156, .55); transform: rotate(10deg);
}
.asp2-signin__phone::before {
  content: ""; position: absolute; inset: 5px; border-radius: 14px; background: linear-gradient(180deg, #fff, #EEEBFF);
}
.asp2-signin__avatar {
  position: absolute; z-index: 1; left: 50%; top: 42%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--asp2-primary); color: #fff; font-size: 1.15rem; box-shadow: var(--asp2-shadow-brand);
}
.asp2-signin__orb {
  position: absolute; z-index: -1; right: 70px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #D4CDFF 70%);
}

/* 09 Footer & toast -------------------------------------------------------- */
.asp2-foot {
  max-width: 1240px; width: 100%; margin-top: 64px; padding: 24px 40px 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .875rem; color: var(--asp2-muted);
}
.asp2-foot::before { content: ""; flex-basis: 100%; height: 1px; background: var(--asp2-line); margin-bottom: 12px; }
.asp2-foot ul { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.asp2-foot a:hover { color: var(--asp2-primary); }

.asp2-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 1100;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: var(--asp2-ink); color: #fff; font-size: .875rem; font-weight: 500;
  box-shadow: var(--asp2-shadow-pop);
  opacity: 0; pointer-events: none; transform: translate(-50%, 12px);
  transition: opacity .25s, transform .25s var(--asp2-ease);
}
.asp2-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.asp2-toast i { color: #7BE3B6; }

/* 10 Responsive ------------------------------------------------------------ */
@media (min-width: 992px) {
  .asp2-shell {
    display: grid; grid-template-columns: var(--asp2-side-w) minmax(0, 1fr);
    /* paints the sidebar column full height, even past the sticky panel */
    background: linear-gradient(90deg, var(--asp2-side) calc(var(--asp2-side-w) - 1px), var(--asp2-line) 0, var(--asp2-line) var(--asp2-side-w), transparent 0);
  }
  .asp2-side { position: sticky; top: 0; height: 100vh; }
}

@media (max-width: 1399.98px) {
  .asp2-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
  .asp2-phone { left: 34%; }
}

@media (max-width: 1199.98px) {
  .asp2-scroll {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 180px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: -12px -40px; padding: 12px 40px; scroll-padding-inline: 40px;
  }
  .asp2-scroll::-webkit-scrollbar { display: none; }
  .asp2-scroll > * { scroll-snap-align: start; }
  .asp2-scroll--wide { grid-auto-columns: 210px; }
  .asp2-promo { min-height: 230px; }
}

@media (max-width: 991.98px) {
  .asp2-side__inner { padding-top: 20px; }
  .asp2-top { padding: 0 24px; gap: 12px; }
  .asp2-content { padding: 8px 24px 0; gap: 48px; }
  .asp2-foot { padding: 24px 24px 32px; }
  .asp2-scroll { margin: -12px -24px; padding: 12px 24px; scroll-padding-inline: 24px; }
  .asp2-hero { grid-template-columns: 1fr; padding: 40px 32px 0; }
  .asp2-hero__art { height: 280px; margin-top: 20px; }
  .asp2-phone { left: 44%; top: 10px; }
  .asp2-float--1 { left: 24%; }
  .asp2-float--4 { left: 30%; top: 190px; }
}

@media (max-width: 575.98px) {
  :root { --asp2-top-h: 66px; }
  .asp2-top { padding: 0 14px; gap: 8px; }
  .asp2-search { height: 42px; padding-left: 14px; }
  .asp2-me img { width: 36px; height: 36px; }
  .asp2-bell { width: 40px; height: 40px; }
  .asp2-content { padding: 6px 14px 0; gap: 40px; }
  .asp2-foot { padding: 24px 14px 28px; flex-direction: column; align-items: flex-start; }
  .asp2-foot::before { flex-basis: auto; width: 100%; }
  .asp2-scroll { margin: -12px -14px; padding: 12px 14px; scroll-padding-inline: 14px; grid-auto-columns: 164px; }
  .asp2-scroll--wide { grid-auto-columns: 200px; }
  .asp2-hero { padding: 32px 22px 0; border-radius: 20px; }
  .asp2-hero__title { font-size: 2.125rem; }
  .asp2-hero__lead { font-size: 1rem; }
  .asp2-hero__art { height: 250px; }
  .asp2-phone { left: 40%; width: 180px; height: 360px; }
  .asp2-float { width: 52px; height: 52px; font-size: 1.3rem; border-radius: 16px; }
  .asp2-float--1 { left: 14%; top: 6px; }
  .asp2-float--2 { left: 0; top: 96px; }
  .asp2-float--3 { display: none; }
  .asp2-float--4 { left: 18%; top: 172px; width: 58px; height: 58px; }
  .asp2-float--5 { right: -6px; top: 4px; }
  .asp2-note { right: 0; bottom: 20px; width: 150px; padding: 12px; font-size: .75rem; }
  .asp2-head { margin-bottom: 16px; }
  .asp2-h2 { font-size: 1.3125rem; }
  .asp2-list { padding: 4px 14px; }
  .asp2-list__item { gap: 12px; }
  .asp2-promo { flex-direction: column; align-items: stretch; padding: 28px 22px 0; }
  .asp2-promo__copy { width: 100%; }
  .asp2-promo__art { position: relative; top: auto; right: auto; width: 100%; height: 150px; margin-top: 8px; transform: none; }
  .asp2-promo__tile { right: 6px; top: 14px; width: 64px; height: 64px; font-size: 1.7rem; }
  .asp2-bubble--in { left: 0; top: 18px; }
  .asp2-bubble--out { right: auto; left: 70px; top: 62px; }
  .asp2-bubble--dots { left: 0; top: 106px; }
  .asp2-signin { grid-template-columns: 1fr minmax(0, 96px); padding: 22px 0 22px 20px; }
  .asp2-signin__phone { right: 14px; width: 64px; height: 120px; }
  .asp2-signin__orb { right: 30px; }
}

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