/* HangOut Store — purple × blue glow theme */
:root {
  --blue-950: #1a0a4a;
  --blue-900: #3b1fa8;
  --blue-800: #4f46e5;
  --blue-700: #5b5cf0;
  --blue-600: #6d7aff;
  --blue-500: #8b9cff;
  --blue-400: #a8b8ff;
  --blue-300: #c5ceff;
  --blue-200: #dde3ff;
  --blue-100: #eef0ff;
  --glow: #ffffff;
  --white: #ffffff;
  --ink: #3b2db8;
  --ink-deep: #1e1470;
  --ink-soft: #5a58b0;
  --glass: rgba(255, 255, 255, 0.42);
  --glass-strong: rgba(255, 255, 255, 0.74);
  --line: rgba(91, 92, 240, 0.2);
  --shadow: 0 28px 70px rgba(59, 31, 168, 0.24);
  --shadow-soft: 0 14px 36px rgba(59, 31, 168, 0.16);
  --radius: 24px;
  --radius-sm: 16px;
  --font: "Vazirmatn", system-ui, sans-serif;
  --font-brand: "Outfit", "Vazirmatn", system-ui, sans-serif;
  --font-body: "Vazirmatn", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink-deep);
  line-height: 1.75;
  background: #8a9cff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* 3D parallax scene */
.scene-3d {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.scene-3d__layer {
  position: absolute;
  inset: -4%;
  will-change: transform;
}
.scene-3d__bg {
  inset: 0;
  background:
    url("/images/bg-texture.svg") center center / cover no-repeat,
    radial-gradient(ellipse 90% 70% at 50% 42%, #a8b8ff 0%, #6d7aff 40%, #5b5cf0 65%, #3b1fa8 100%);
  animation: sceneBgDrift 40s ease-in-out infinite alternate;
  transform-origin: center center;
}
.scene-3d__glow {
  background: radial-gradient(ellipse 55% 45% at 50% 40%, rgba(255,255,255,.28), transparent 72%);
  mix-blend-mode: soft-light;
}

@keyframes sceneBgDrift {
  0% { transform: translate3d(-0.4%, -0.3%, 0); }
  50% { transform: translate3d(0.35%, 0.35%, 0); }
  100% { transform: translate3d(-0.2%, 0.3%, 0); }
}

.scene-obj {
  position: absolute;
  will-change: transform;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 22px 36px rgba(40, 20, 120, .38));
  object-fit: contain;
}
.scene-obj--tg-a {
  width: min(220px, 34vw);
  top: 10%;
  right: 2%;
}
.scene-obj--tg-b {
  width: min(130px, 20vw);
  bottom: 16%;
  left: 2%;
  opacity: 0.78;
  filter: blur(.4px) drop-shadow(0 14px 24px rgba(40, 20, 120, .30));
}
.scene-obj--star-a {
  width: min(240px, 36vw);
  top: 36%;
  left: 1%;
}
.scene-obj--star-b {
  width: min(140px, 22vw);
  top: 56%;
  right: 4%;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .scene-obj--star-a { width: 34vw; top: 40%; }
  .scene-obj--tg-a { width: 28vw; }
  .scene-obj--star-b,
  .scene-obj--tg-b { opacity: .55; }
}

.site-nav, main, footer { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.hangout-h {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(59,31,168,.28));
  border-radius: 8px;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(238, 240, 255, 0.68);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(59, 31, 168, 0.12);
}
.site-nav .container {
  width: min(1280px, calc(100% - 1rem));
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.4rem;
  gap: 1.5rem;
  direction: rtl;
  width: 100%;
}
.nav-start {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  margin-inline-start: 0;
  padding-inline-start: clamp(0.25rem, 2vw, 1.25rem);
  flex-shrink: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(1.28rem, 3vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}
.brand__name {
  font-family: var(--font-body);
  font-weight: 800;
}
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-links a {
  color: var(--ink-soft);
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue-700); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-inline-end: 0;
  padding-inline-end: clamp(0.25rem, 2vw, 1.25rem);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .site-nav__inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    padding-block: .55rem;
    gap: .45rem .65rem;
  }
  .nav-start {
    padding-inline-start: 0;
    order: 1;
  }
  .nav-actions {
    padding-inline-end: 0;
    margin-inline-start: auto;
    order: 2;
  }
  .nav-links {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-start;
    gap: .65rem .85rem;
    font-size: .78rem;
    padding-top: .15rem;
  }
  .brand {
    font-size: 1.08rem;
    gap: .35rem;
  }
  .brand .hangout-h {
    width: 1.85rem;
    height: 1.85rem;
  }
  .btn--auth {
    padding: .42rem .78rem;
    font-size: .74rem;
    box-shadow: 0 8px 18px rgba(59, 31, 168, 0.28);
  }
  .nav-actions .user-chip {
    font-size: .78rem;
    padding: .35rem .65rem .35rem .35rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .78rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: var(--white);
  box-shadow: 0 16px 36px rgba(59, 31, 168, 0.38);
}
.btn--primary:hover { box-shadow: 0 20px 44px rgba(59, 31, 168, 0.5); }
.btn--ghost {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  color: var(--ink-deep);
  backdrop-filter: blur(8px);
}
.btn--block { width: 100%; }
.btn--sm { padding: .55rem 1rem; font-size: .88rem; }
.btn--soft {
  background: rgba(43, 123, 255, 0.1);
  color: var(--blue-900);
  border: 1px solid rgba(43,123,255,.15);
}
.btn--soft:hover { background: rgba(43, 123, 255, 0.16); }

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem 1rem .4rem .4rem;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink-deep);
  box-shadow: var(--shadow-soft);
}
.user-chip__avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  font-family: var(--font-brand);
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  min-height: min(78svh, 720px);
  display: flex;
  align-items: center;
}
.hero__content { position: relative; z-index: 2; width: 100%; }
.hero__brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.hero__logo-img {
  width: min(148px, 34vw);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(59, 31, 168, .35));
  animation: logo-float 5s ease-in-out infinite;
}
.hero__title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4rem);
  letter-spacing: -0.055em;
  color: var(--ink-deep);
  margin: 0;
  text-shadow: 0 10px 30px rgba(255,255,255,.75);
  animation: rise .9s var(--ease) .08s both;
}
.hero__title span {
  display: block;
  font-size: .36em;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-top: .3rem;
}
.hero__lead {
  margin: 0 auto 1.6rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  font-weight: 600;
  animation: rise .9s var(--ease) .15s both;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  animation: rise .9s var(--ease) .25s both;
}

/* Trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 auto 3.25rem;
  width: min(900px, 100%);
  background: var(--glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
@media (min-width: 760px) { .trust-bar { grid-template-columns: repeat(3, 1fr); } }
.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1.05rem 1.2rem;
  text-align: start;
}
@media (min-width: 760px) {
  .trust-bar__item:not(:last-child) { border-inline-end: 1px solid var(--line); }
}
.trust-bar__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-900));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(59, 31, 168, .32);
}
.trust-bar__icon svg { width: 1.15rem; height: 1.15rem; }
.trust-bar__text strong {
  display: block;
  font-size: .98rem;
  color: var(--ink-deep);
  line-height: 1.3;
  font-weight: 800;
}
.trust-bar__text span { font-size: .82rem; color: var(--ink-soft); font-weight: 600; }

/* Sections */
.section { padding: 1rem 0 3.75rem; }
.section__head { text-align: center; margin-bottom: 2rem; }
.section__label {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: .55rem;
}
.section__title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.6vw, 2.4rem);
  letter-spacing: -0.035em;
  color: var(--ink-deep);
  margin: 0 0 .55rem;
}
.section__lead {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 600;
}

.products { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .products { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.product {
  position: relative;
  padding: 2.1rem 1.75rem 1.75rem;
  border-radius: var(--radius);
  background: var(--glass-strong);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  text-align: center;
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(116,173,255,.22), transparent 55%);
  pointer-events: none;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product__badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(43,123,255,.1);
  color: var(--blue-800);
  font-family: var(--font-brand);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.product__title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink-deep);
  margin: 1rem 0 .45rem;
  position: relative;
}
.product__text {
  margin: 0 0 1.3rem;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 600;
  position: relative;
}
.product__photo {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 16px 28px rgba(59, 31, 168, .3));
}
.product__icon {
  width: 4.6rem;
  height: 4.6rem;
  margin: 0 auto;
  position: relative;
  filter: drop-shadow(0 14px 22px rgba(59,31,168,.28));
}

.steps { display: grid; gap: 1.15rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: 1.55rem;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--blue-500);
  display: block;
  line-height: 1;
  margin-bottom: .7rem;
}
.step__title { font-weight: 800; color: var(--ink-deep); margin: 0 0 .35rem; font-size: 1.12rem; }
.step__text { margin: 0; color: var(--ink-soft); font-size: .96rem; font-weight: 600; }

.cta-band {
  margin: 1.5rem 0 3rem;
  padding: 3rem 2rem;
  border-radius: calc(var(--radius) + 6px);
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-950), var(--blue-800) 55%, var(--blue-600));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 90%;
  top: -45%;
  left: 22%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%);
  pointer-events: none;
}
.cta-band .section__title { color: #fff; position: relative; }
.cta-band .section__lead { color: rgba(255,255,255,.88); margin-bottom: 1.5rem; position: relative; font-weight: 600; }
.cta-band .btn--primary { position: relative; background: #fff; color: var(--ink-deep); box-shadow: 0 12px 28px rgba(0,0,0,.15); }

.site-footer { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
}
.footer-enamad img {
  max-height: 90px;
  width: auto;
}

/* Shop */
.shop-section-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  text-align: center;
  margin-bottom: 1.25rem;
  color: var(--ink-deep);
  font-weight: 800;
}
.shop-updated {
  margin: .75rem auto 0;
  font-size: .85rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.shop-updated--live { color: var(--blue-800); }
.shop-tabs {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.shop-tabs a {
  padding: .65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--glass);
  border: 1px solid var(--line);
}
.shop-tabs a.is-active {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(59, 31, 168, .3);
}
.plan-grid { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 700px) {
  .plan-grid--premium { grid-template-columns: repeat(3, 1fr); }
  .plan-grid--stars { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) { .plan-grid--stars { grid-template-columns: repeat(5, 1fr); } }
.plan {
  position: relative;
  padding: 1.4rem 1.2rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--glass-strong);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.is-featured {
  border-color: rgba(116,173,255,.55);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(220,234,255,.85));
}
.plan__tag {
  position: absolute;
  top: .7rem;
  inset-inline-end: .7rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--blue-800);
  color: #fff;
}
.plan__amount {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--ink-deep);
  margin: .35rem 0 .15rem;
  letter-spacing: -0.03em;
}
.plan__meta { color: var(--ink-soft); font-size: .88rem; font-weight: 600; margin-bottom: 1rem; }
.plan__price {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--blue-800);
  margin-bottom: 1rem;
  line-height: 1.45;
  word-break: break-word;
}
.plan__price small { display: block; font-size: .75rem; font-weight: 600; color: var(--ink-soft); margin-top: .15rem; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes float-3d {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  33% { transform: translate3d(10px, -16px, 20px) rotate(5deg); }
  66% { transform: translate3d(-12px, 10px, -10px) rotate(-4deg); }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes drift-tl {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(12px, 8px); }
}
@keyframes drift-br {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-10px, -8px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Auth modal */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(6, 42, 122, 0.48);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.auth-overlay.is-open { opacity: 1; visibility: visible; }
.auth-modal {
  width: min(420px, 100%);
  background: var(--glass-strong);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 26px;
  box-shadow: 0 32px 80px rgba(6, 42, 122, 0.35);
  padding: 1.85rem 1.5rem 1.5rem;
  position: relative;
  transform: translateY(16px) scale(.98);
  transition: transform .35s var(--ease);
  backdrop-filter: blur(18px);
}
.auth-overlay.is-open .auth-modal { transform: none; }
.auth-modal__close {
  position: absolute;
  top: .85rem;
  inset-inline-start: .85rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(30,99,233,.1);
  color: var(--blue-800);
  font-size: 1.2rem;
  line-height: 1;
}
.auth-modal__title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue-900);
  margin: 0 0 .35rem;
  text-align: center;
  letter-spacing: -0.03em;
}
.auth-modal__sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: .94rem;
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.auth-panel { display: none; }
.auth-panel.is-active { display: block; }

.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: .35rem;
}
.form-field input {
  width: 100%;
  padding: .88rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(79, 146, 255, 0.18);
}
.password-wrap { position: relative; }
.password-wrap input { padding-inline-end: 3rem; }
.password-toggle {
  position: absolute;
  inset-inline-end: .55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: rgba(30,99,233,.08);
}
.password-toggle svg { width: 1.1rem; height: 1.1rem; }

.saved-accounts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1rem;
}
.saved-accounts:empty { display: none; }
.saved-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: rgba(30,99,233,.08);
  border: 1px solid var(--line);
  color: var(--blue-900);
  font-size: .82rem;
  font-weight: 700;
  max-width: 100%;
}
.saved-chip:hover { background: rgba(30,99,233,.14); }
.saved-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 14rem;
}

.form-error { color: #dc2626; font-size: .85rem; margin: 0 0 1rem; text-align: center; }
.form-switch {
  text-align: center;
  margin-top: 1.1rem;
  font-size: .9rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.form-switch button,
.form-switch a {
  color: var(--blue-700);
  font-weight: 800;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.form-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.auth-page {
  min-height: calc(100vh - 4.4rem);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.auth-card {
  width: min(420px, 100%);
  background: var(--glass-strong);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(16px);
}

.profile-card {
  max-width: 520px;
  margin: 2rem auto 4rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--glass-strong);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.profile-card__avatar {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-900));
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-brand);
  box-shadow: 0 12px 28px rgba(30,99,233,.35);
}
.profile-meta {
  margin: 1.25rem 0;
  text-align: start;
  background: rgba(30,99,233,.06);
  border-radius: 14px;
  padding: 1rem 1.15rem;
}
.profile-meta dt {
  font-size: .78rem;
  color: var(--ink-soft);
  margin-top: .65rem;
  font-weight: 600;
}
.profile-meta dt:first-child { margin-top: 0; }
.profile-meta dd {
  margin: .15rem 0 0;
  font-weight: 800;
  color: var(--blue-900);
}

.validation-summary { color: #dc2626; font-size: .88rem; margin-bottom: 1rem; text-align: center; }
.field-validation-error { display: block; color: #dc2626; font-size: .8rem; margin-top: .3rem; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes bag-in {
  from { opacity: 0; transform: translate(-50%, -42%) scale(.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.content-page .content-card {
  max-width: 40rem;
  margin-inline: auto;
  text-align: start;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.85;
  font-weight: 500;
}
.content-page .content-card p + p {
  margin-top: 1rem;
}
.content-page .content-card a:not(.btn) {
  color: var(--blue-700);
  font-weight: 700;
}
.content-page .content-card .btn {
  margin-top: 1.5rem;
}
.content-list {
  list-style: none;
  display: grid;
  gap: .9rem;
  padding: 0;
  margin: 0 0 0.5rem;
}
.content-list li {
  position: relative;
  padding-inline-start: 1.25rem;
}
.content-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .7em;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--blue-700);
}

