:root {
  --bg: #08131a;
  --bg-soft: rgba(13, 24, 31, 0.72);
  --card: rgba(12, 21, 29, 0.82);
  --card-strong: rgba(16, 28, 37, 0.94);
  --text: #eff8ff;
  --muted: #8fa8b8;
  --line: rgba(173, 220, 255, 0.12);
  --line-strong: rgba(173, 220, 255, 0.24);
  --teal: #38d6c5;
  --teal-deep: #16938a;
  --sun: #ff9b54;
  --sun-soft: #ffd5ab;
  --danger: #ff7f7f;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 28px 80px rgba(2, 8, 12, 0.48);
  --shell-width: 1120px;
  --font-title: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
  --tg-surface: #08131a;
  --tg-text: #eff8ff;
  --tg-hint: #8fa8b8;
  --tg-button: #38d6c5;
  --tg-button-text: #051117;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(56, 214, 197, 0.24), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255, 155, 84, 0.18), transparent 24%),
    linear-gradient(180deg, #061017 0%, #08131a 54%, #09161e 100%);
  color: var(--tg-text);
  font-family: var(--font-body);
  color-scheme: dark;
}

body.is-loading .skeleton-block,
body.is-loading .metrics,
body.is-loading .plans,
body.is-loading .profile-grid,
body.is-loading .bars,
body.is-loading .summary-grid {
  position: relative;
  overflow: hidden;
}

body.is-loading .skeleton-block::after,
body.is-loading .metrics::after,
body.is-loading .plans::after,
body.is-loading .profile-grid::after,
body.is-loading .bars::after,
body.is-loading .summary-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.05) 45%,
      rgba(255, 255, 255, 0.14) 50%,
      rgba(255, 255, 255, 0.05) 55%,
      rgba(255, 255, 255, 0) 100%
    );
  transform: translateX(-100%);
  animation: shimmer 1.25s linear infinite;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(56px);
  opacity: 0.56;
  z-index: 0;
}

.ambient-one {
  top: -10rem;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(56, 214, 197, 0.2);
  animation: float 12s ease-in-out infinite;
}

.ambient-two {
  top: 22%;
  right: -10rem;
  width: 28rem;
  height: 28rem;
  background: rgba(255, 155, 84, 0.17);
  animation: float 16s ease-in-out infinite reverse;
}

.ambient-three {
  bottom: -11rem;
  left: 24%;
  width: 22rem;
  height: 22rem;
  background: rgba(95, 130, 255, 0.16);
  animation: float 14s ease-in-out infinite;
}

.grid-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 85%);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 28px), var(--shell-width));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 20px;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 45%, rgba(56, 214, 197, 0.14));
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-bottom: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(56, 214, 197, 0.18), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 155, 84, 0.14), transparent 34%),
    var(--card-strong);
}

.hero-copy,
.identity-card {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.caption {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.title,
h2,
.headline-number {
  font-family: var(--font-title);
}

.title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.subtitle {
  margin: 14px 0 0;
  max-width: 38rem;
  color: var(--tg-hint);
  font-size: 15px;
  line-height: 1.55;
}

.hero-badges,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges {
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(56, 214, 197, 0.12);
  border-radius: 999px;
  background: rgba(56, 214, 197, 0.11);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.badge-soft {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  min-height: 164px;
}

.summary-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(5, 13, 18, 0.28);
}

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

.summary-value {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.summary-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.identity-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  min-height: 100%;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 15% 10%, rgba(56, 214, 197, 0.2), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(255, 155, 84, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.identity-glow {
  position: absolute;
  inset: auto -4rem -4rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 155, 84, 0.24), rgba(255, 155, 84, 0));
  filter: blur(6px);
  pointer-events: none;
}

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

.identity-main {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.premium-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.premium-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(239, 248, 255, 0.78);
}

.status-pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(239, 248, 255, 0.82);
}

.status-pill.is-active {
  border-color: rgba(56, 214, 197, 0.3);
  background: rgba(56, 214, 197, 0.14);
  color: #98fff5;
}

.status-pill.is-free {
  border-color: rgba(255, 155, 84, 0.24);
  background: rgba(255, 155, 84, 0.12);
  color: #ffd3ac;
}

.identity-orb {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 36%),
    linear-gradient(135deg, rgba(56, 214, 197, 0.86), rgba(11, 87, 118, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 24px 44px rgba(10, 28, 40, 0.42);
  animation: pulse 5.6s ease-in-out infinite;
}

.identity-orb span {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: #051117;
}

.identity-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.identity-photo.is-emblem {
  object-fit: cover;
  image-rendering: auto;
}

.identity-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 74px;
}

.identity-meta.is-premium .identity-meta-item {
  border-color: rgba(56, 214, 197, 0.18);
  background: rgba(56, 214, 197, 0.05);
}

.identity-meta-item {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.identity-meta-item span {
  color: var(--tg-hint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-meta-item strong {
  font-size: 14px;
  line-height: 1.25;
}

.headline-number {
  margin: 6px 0 8px;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.subscription-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 84px;
}

.fact-tile {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(4, 10, 14, 0.24);
}

.fact-tile.is-active {
  border-color: rgba(56, 214, 197, 0.22);
  background:
    linear-gradient(180deg, rgba(56, 214, 197, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(4, 10, 14, 0.28);
}

.fact-tile span {
  color: var(--tg-hint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-tile strong {
  font-family: var(--font-title);
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.subscription-meter {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.subscription-meter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.subscription-meter-top span {
  color: var(--tg-hint);
  font-size: 12px;
  font-weight: 700;
}

.subscription-meter-top strong {
  font-size: 13px;
  font-weight: 800;
}

.subscription-meter-track {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.subscription-meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(56, 214, 197, 0.98), rgba(255, 155, 84, 0.92));
  box-shadow: 0 8px 20px rgba(56, 214, 197, 0.22);
  transition:
    width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease;
}

.subscription-meter-fill.is-free {
  background: linear-gradient(90deg, rgba(255, 155, 84, 0.86), rgba(255, 127, 127, 0.84));
  box-shadow: 0 8px 20px rgba(255, 155, 84, 0.16);
}

.hint {
  margin: 0;
  color: var(--tg-hint);
  font-size: 13px;
  line-height: 1.5;
}

.ghost-btn,
.ribbon-btn,
.accent-btn,
.chip {
  font: inherit;
}

.ghost-btn,
.ribbon-btn,
.accent-btn {
  min-height: 48px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.ghost-btn {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tg-text);
}

.accent-btn {
  border: 0;
  padding: 0 18px;
  color: var(--tg-button-text);
  background: linear-gradient(135deg, var(--tg-button), var(--sun));
  box-shadow: 0 24px 40px rgba(255, 155, 84, 0.2);
}

.action-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  background:
    radial-gradient(circle at top left, rgba(56, 214, 197, 0.12), transparent 28%),
    rgba(10, 18, 25, 0.82);
}

.ribbon-btn {
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tg-text);
}

.ribbon-btn-primary {
  border-color: rgba(56, 214, 197, 0.26);
  background: linear-gradient(135deg, rgba(56, 214, 197, 0.95), rgba(16, 147, 138, 0.92));
  color: #041118;
  box-shadow: 0 18px 36px rgba(56, 214, 197, 0.18);
}

.ribbon-btn-soft {
  border-color: rgba(255, 155, 84, 0.18);
  background: rgba(255, 155, 84, 0.08);
}

.ghost-btn:hover,
.ribbon-btn:hover,
.accent-btn:hover,
.chip:hover,
.plan-card:hover {
  transform: translateY(-2px);
}

.ghost-btn:disabled,
.ribbon-btn:disabled,
.accent-btn:disabled,
.chip:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

h2 {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.control-group {
  margin-bottom: 18px;
}

.control-group-last {
  margin-bottom: 14px;
}

.caption {
  margin-bottom: 10px;
  color: var(--tg-hint);
}

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

.chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--tg-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--tg-button), rgba(14, 138, 130, 0.95));
  color: var(--tg-button-text);
  box-shadow: 0 18px 26px rgba(56, 214, 197, 0.22);
}

.chip.is-locked {
  opacity: 0.6;
  border-style: dashed;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 168px;
}

.profile-cell {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.profile-cell .label,
.metric .k {
  display: block;
  margin-bottom: 8px;
  color: var(--tg-hint);
  font-size: 12px;
  font-weight: 600;
}

.profile-cell .value {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
}

.bars {
  display: grid;
  gap: 12px;
  min-height: 152px;
}

.bar-group {
  display: grid;
  gap: 8px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--tg-hint);
}

.bar-label strong {
  color: var(--text);
}

.bar-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal) 0%, var(--sun) 100%);
  transition: width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tag-row {
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--tg-hint);
  font-size: 12px;
  font-weight: 700;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 220px;
}

.access-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(6, 14, 19, 0.34);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.access-card.is-active {
  border-color: rgba(56, 214, 197, 0.34);
  box-shadow: 0 18px 34px rgba(56, 214, 197, 0.12);
}

.access-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.access-top strong {
  font-size: 15px;
  line-height: 1.3;
}

.access-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--tg-hint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.access-card.is-active .access-state {
  background: rgba(56, 214, 197, 0.14);
  color: #8df3ea;
}

.access-card p {
  margin: 0;
  color: var(--tg-hint);
  font-size: 13px;
  line-height: 1.55;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 168px;
}

.metric {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(3, 10, 14, 0.28);
}

.metric .v {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

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

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  min-height: 190px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(56, 214, 197, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.plan-card.is-featured {
  border-color: rgba(255, 155, 84, 0.26);
  box-shadow: 0 18px 34px rgba(255, 155, 84, 0.12);
}

.plan-card.is-selected {
  border-color: rgba(56, 214, 197, 0.58);
  background:
    radial-gradient(circle at top right, rgba(56, 214, 197, 0.14), transparent 36%),
    rgba(56, 214, 197, 0.06);
  box-shadow: 0 22px 36px rgba(56, 214, 197, 0.14);
}

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  margin: 0;
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.05;
}

.plan-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-copy {
  margin: 0;
  color: var(--tg-hint);
  font-size: 13px;
  line-height: 1.5;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.plan-price strong {
  font-size: 36px;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.plan-price span {
  color: var(--tg-hint);
  font-size: 12px;
  font-weight: 700;
}

.plan-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--tg-hint);
  font-size: 12px;
}

.plans-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.plans-footer .hint {
  max-width: 42rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 10;
  max-width: calc(100% - 28px);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(5, 12, 17, 0.96);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  animation: reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.panel-focus {
  animation:
    reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) both,
    panelFocus 1.4s ease;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 140ms;
}

.delay-3 {
  animation-delay: 200ms;
}

.delay-4 {
  animation-delay: 260ms;
}

.delay-5 {
  animation-delay: 320ms;
}

.delay-6 {
  animation-delay: 380ms;
}

.delay-7 {
  animation-delay: 440ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 18px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 24px 44px rgba(10, 28, 40, 0.42);
  }

  50% {
    transform: scale(1.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 28px 52px rgba(10, 28, 40, 0.52);
  }
}

@keyframes panelFocus {
  0% {
    box-shadow: 0 0 0 rgba(56, 214, 197, 0), var(--shadow);
    border-color: var(--line);
  }

  30% {
    box-shadow: 0 0 0 3px rgba(56, 214, 197, 0.28), var(--shadow);
    border-color: rgba(56, 214, 197, 0.48);
  }

  100% {
    box-shadow: 0 0 0 rgba(56, 214, 197, 0), var(--shadow);
    border-color: var(--line);
  }
}

@media (max-width: 980px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .action-ribbon {
    grid-template-columns: 1fr;
  }

  .plans-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(calc(100% - 18px), var(--shell-width));
    padding-top: 10px;
  }

  .layout-grid,
  .metrics,
  .summary-grid,
  .profile-grid,
  .identity-meta,
  .access-grid,
  .subscription-facts {
    grid-template-columns: 1fr;
  }

  .card,
  .hero-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .title {
    max-width: none;
  }

  .identity-main {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
