/* ============================================================
   PRAVORA.AI — Design System (base)
   Tokens · reset · typography · components · dark mode
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --violet-700: #4a23c9;
  --violet-600: #5b2ee5;
  --violet-500: #6d43ef;
  --violet-400: #8b6cf5;
  --violet-100: #ece6fd;
  --violet-50:  #f5f2fe;

  --gold-600: #b8862f;
  --gold-500: #d4a24c;
  --gold-300: #ecc987;
  --gold-100: #faf0da;

  --navy-950: #0b081d;
  --navy-900: #110d28;
  --navy-800: #191434;
  --navy-700: #241d47;

  --ink-900: #171331;
  --ink-700: #3b3757;
  --ink-600: #55516e;
  --ink-400: #8a86a3;
  --ink-300: #b3b0c6;

  --bg: #ffffff;
  --bg-soft: #f8f7fd;
  --bg-lav: #f3f0fe;
  --card: #ffffff;
  --line: #e9e6f6;
  --line-strong: #dcd8ef;

  --green: #0e9f6e;
  --green-soft: #e2f6ee;
  --red: #dc2626;
  --red-soft: #fdecec;
  --amber: #d97706;
  --amber-soft: #fdf3e2;

  --grad-hero: linear-gradient(160deg, #f6f3ff 0%, #ffffff 45%, #f1edfe 100%);
  --grad-violet: linear-gradient(135deg, #5b2ee5 0%, #7c4dff 100%);
  --grad-gold: linear-gradient(135deg, #d4a24c 0%, #ecc987 100%);
  --grad-dark: linear-gradient(150deg, #14102c 0%, #241d47 60%, #341f63 100%);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --sh-sm: 0 1px 3px rgba(23, 19, 49, .06), 0 4px 14px rgba(91, 46, 229, .05);
  --sh-md: 0 6px 24px rgba(23, 19, 49, .08), 0 2px 8px rgba(91, 46, 229, .06);
  --sh-lg: 0 18px 50px rgba(23, 19, 49, .14), 0 6px 18px rgba(91, 46, 229, .08);
  --sh-violet: 0 8px 24px rgba(91, 46, 229, .32);

  --font-display: "Plus Jakarta Sans", "Segoe UI Variable Display", "Segoe UI", -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, sans-serif;

  --nav-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

[data-theme="dark"] {
  --bg: #0e0b21;
  --bg-soft: #131028;
  --bg-lav: #171232;
  --card: #181334;
  --line: #262045;
  --line-strong: #322a58;
  --ink-900: #f0eefb;
  --ink-700: #cfcbe6;
  --ink-600: #a9a5c6;
  --ink-400: #7d7899;
  --ink-300: #565174;
  --violet-100: #2c2158;
  --violet-50: #1d1740;
  --gold-100: #322a12;
  --green-soft: #10301f;
  --red-soft: #38191c;
  --amber-soft: #33260e;
  --grad-hero: linear-gradient(160deg, #151038 0%, #0e0b21 45%, #191243 100%);
  --sh-sm: 0 1px 3px rgba(0, 0, 0, .3);
  --sh-md: 0 6px 24px rgba(0, 0, 0, .4);
  --sh-lg: 0 18px 50px rgba(0, 0, 0, .5);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-600);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
::selection { background: var(--violet-600); color: #fff; }

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

/* (cross-document view transitions removed — they can wedge the
   compositor on some Chromium builds, freezing the page mid-navigation) */

/* ---------- layout ---------- */
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 40px); } }

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-lav { background: var(--bg-lav); }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.sec-head h2 .hl { color: var(--violet-600); }
.sec-head p { margin-top: 10px; max-width: 560px; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; color: var(--violet-600); font-weight: 600; font-size: 15px; white-space: nowrap; transition: gap .25s var(--ease); }
.sec-link:hover { gap: 10px; }
.sec-link .ic svg { width: 17px; height: 17px; }
.center { text-align: center; }
.sec-head.center { flex-direction: column; align-items: center; }
.sec-head.center p { margin-inline: auto; }

/* ---------- icons ---------- */
.ic { display: inline-flex; flex: none; }
.ic svg { width: 20px; height: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-family: var(--font-display);
  border-radius: var(--r-md); padding: 12px 22px; font-size: 15px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn .ic svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-violet); color: #fff; box-shadow: var(--sh-violet); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(91, 46, 229, .42); }
.btn-gold { background: var(--grad-gold); color: #3c2a05; box-shadow: 0 8px 24px rgba(212, 162, 76, .35); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line-strong); color: var(--ink-700); background: var(--card); }
.btn-ghost:hover { border-color: var(--violet-400); color: var(--violet-600); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-white { background: #fff; color: var(--violet-700); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 15px; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ripple */
.btn-primary::after, .btn-gold::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255,255,255,.35) 0%, transparent 55%);
  opacity: 0; transition: opacity .5s;
}
.btn-primary:hover::after, .btn-gold:hover::after { opacity: 1; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-600); transition: background .2s, color .2s; flex: none;
}
.icon-btn:hover { background: var(--violet-50); color: var(--violet-600); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--violet-50); color: var(--violet-600); border: 1px solid var(--violet-100);
}
.chip .ic svg { width: 15px; height: 15px; }
.chip-gold { background: var(--gold-100); color: var(--gold-600); border-color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.badge-free { background: var(--green-soft); color: var(--green); }
.badge-premium { background: var(--gold-100); color: var(--gold-600); }
.badge-done { background: var(--green-soft); color: var(--green); }
.badge-new { background: var(--violet-100); color: var(--violet-600); }
.badge .ic svg { width: 12px; height: 12px; }

/* ---------- avatar ---------- */
.avatar {
  --h: 260;
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, hsl(var(--h), 70%, 55%), hsl(calc(var(--h) + 40), 70%, 45%));
  color: #fff; font-weight: 700; font-size: 14px; font-family: var(--font-display);
  flex: none; user-select: none;
}

/* ---------- stars ---------- */
.stars { display: inline-flex; gap: 2px; }
.star svg { width: 15px; height: 15px; color: var(--line-strong); }
.star.on svg { color: var(--gold-500); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: var(--sh-sm); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo img { width: 34px; height: auto; }
.nav-word { font-family: var(--font-display); font-weight: 800; letter-spacing: .16em; font-size: 17px; color: var(--ink-900); display: flex; flex-direction: column; line-height: 1.1; }
.nav-word em { font-style: normal; font-size: 8.5px; letter-spacing: .08em; font-weight: 600; color: var(--gold-600); white-space: nowrap; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 550; color: var(--ink-600); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink-900); background: var(--violet-50); }
.nav-links a.active { color: var(--violet-600); font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-avatar { border-radius: 50%; transition: transform .2s; }
.nav-avatar:hover { transform: scale(1.06); }
.nav-burger { display: none; }
.nav-drawer { display: none; }
@media (max-width: 960px) {
  .nav-links, .nav-dash, .nav-actions .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-inner { gap: 12px; }
  .nav-drawer {
    display: block; overflow: hidden; max-height: 0; transition: max-height .35s var(--ease);
    border-top: 1px solid transparent;
  }
  .nav.open .nav-drawer { max-height: 480px; border-color: var(--line); }
  .nav-drawer nav { display: flex; flex-direction: column; padding: 12px 24px 20px; gap: 2px; }
  .nav-drawer a { padding: 12px 10px; font-weight: 600; color: var(--ink-700); border-radius: 10px; }
  .nav-drawer a:hover { background: var(--violet-50); }
  .nav-drawer .drawer-cta { background: var(--grad-violet); color: #fff; text-align: center; margin-top: 8px; border-radius: 12px; }
}
main { padding-top: var(--nav-h); }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); color: #a9a5c6; padding: 72px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { font-size: 14.5px; max-width: 340px; margin: 16px 0 22px; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; letter-spacing: .18em; color: #fff; font-size: 17px; }
.logo-chip { background: #fff; border-radius: 12px; padding: 7px 9px; display: inline-flex; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.07); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s, transform .2s; }
.footer-social a:hover { background: var(--violet-600); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.card-hover { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--line-strong); }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-700); margin-bottom: 7px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .ic { position: absolute; left: 14px; color: var(--ink-400); pointer-events: none; }
.input-wrap .ic svg { width: 17px; height: 17px; }
.input {
  width: 100%; padding: 13px 16px; border-radius: 13px; border: 1.5px solid var(--line-strong);
  background: var(--card); color: var(--ink-900); font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input-wrap .input { padding-left: 42px; }
.input::placeholder { color: var(--ink-400); }
.input:focus { border-color: var(--violet-500); box-shadow: 0 0 0 4px rgba(91, 46, 229, .12); }
.input.err { border-color: var(--red); }
.field-err { color: var(--red); font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid .field-err { display: block; }
.field.invalid .input { border-color: var(--red); }
.eye-btn { position: absolute; right: 10px; color: var(--ink-400); width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.eye-btn:hover { color: var(--ink-700); }
.eye-btn svg { width: 18px; height: 18px; }

.switch { position: relative; width: 44px; height: 25px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.switch i {
  position: absolute; inset: 0; background: var(--line-strong); border-radius: 999px; transition: background .25s;
}
.switch i::after {
  content: ""; position: absolute; width: 19px; height: 19px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px; transition: transform .25s var(--ease); box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.switch input:checked + i { background: var(--violet-600); }
.switch input:checked + i::after { transform: translateX(19px); }

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(11, 8, 29, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s; padding: 20px; overflow-y: auto;
}
.modal-backdrop.in { opacity: 1; }
.modal {
  background: var(--card); border-radius: 24px; box-shadow: var(--sh-lg);
  width: min(460px, 100%); padding: 32px; position: relative;
  transform: translateY(16px) scale(.97); transition: transform .3s var(--ease);
  max-height: calc(100vh - 40px); overflow-y: auto; margin: auto;
  border: 1px solid var(--line);
}
.modal-backdrop.in .modal { transform: none; }
.modal-x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink-400); background: var(--bg-soft);
  transition: background .2s, color .2s; z-index: 2;
}
.modal-x:hover { background: var(--red-soft); color: var(--red); }
.modal-x svg { width: 17px; height: 17px; }
.modal h3 { font-size: 22px; margin-bottom: 6px; }

/* ---------- paywall ---------- */
.pw-badge {
  width: 58px; height: 58px; border-radius: 18px; background: var(--grad-violet); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: var(--sh-violet);
}
.pw-badge svg { width: 26px; height: 26px; }
.paywall { text-align: center; }
.pw-sub { font-size: 14.5px; margin-bottom: 22px; }
.pw-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.pw-plan {
  border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 16px 8px 14px; display: flex;
  flex-direction: column; align-items: center; gap: 3px; position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s; background: var(--card);
}
.pw-plan:hover { border-color: var(--violet-500); transform: translateY(-3px); box-shadow: var(--sh-md); }
.pw-plan.popular { border-color: var(--violet-500); background: var(--violet-50); }
.pw-pop {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--grad-violet); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.pw-name { font-weight: 700; color: var(--ink-900); font-family: var(--font-display); font-size: 14px; }
.pw-price { font-size: 18px; font-weight: 800; color: var(--violet-600); font-family: var(--font-display); }
.pw-price em { font-style: normal; font-size: 11px; color: var(--ink-400); font-weight: 500; }
.pw-bill { font-size: 10.5px; color: var(--ink-400); }
.pw-feats { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; display: grid; gap: 8px; }
.pw-feats li { display: flex; gap: 9px; align-items: center; font-size: 13.5px; }
.pw-feats .ic { color: var(--green); }
.pw-feats .ic svg { width: 15px; height: 15px; }

/* ---------- checkout ---------- */
.checkout h3 { margin-bottom: 18px; }
.co-plan { display: flex; justify-content: space-between; align-items: center; background: var(--bg-soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.co-plan strong { display: block; color: var(--ink-900); font-family: var(--font-display); }
.co-plan span { font-size: 13px; color: var(--ink-400); }
.co-plan .co-amt { font-size: 17px; font-weight: 800; color: var(--ink-900); }
.co-coupon { display: flex; gap: 8px; margin-bottom: 14px; }
.co-coupon input { flex: 1; padding: 11px 14px; border-radius: 12px; border: 1.5px dashed var(--line-strong); background: var(--card); outline: none; font-size: 14px; color: var(--ink-900); }
.co-coupon input:focus { border-color: var(--violet-500); }
.co-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 2px; }
.co-off { color: var(--green); font-weight: 600; }
.co-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 13px; font-weight: 800; color: var(--ink-900); font-size: 17px; font-family: var(--font-display); }
.checkout .btn { margin-top: 14px; }
.co-note { font-size: 12px; color: var(--ink-400); margin-top: 14px; text-align: center; line-height: 1.5; }
.co-success { text-align: center; padding: 12px 0; }
.co-check {
  width: 74px; height: 74px; border-radius: 50%; background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  animation: pop .5s var(--ease);
}
.co-check svg { width: 34px; height: 34px; }
.co-success p { margin: 10px 0 22px; font-size: 14.5px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- toasts ---------- */
.toasts { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 40px); }
.toast {
  background: var(--navy-900); color: #f0eefb; padding: 13px 22px; border-radius: 14px;
  font-size: 14.5px; font-weight: 550; box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.09);
  opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .35s var(--ease);
  max-width: 100%;
}
.toast.show { opacity: 1; transform: none; }
.toast-gold { border-color: rgba(212, 162, 76, .5); }
.toast-err { border-color: rgba(220, 38, 38, .55); }

/* ---------- spinner ---------- */
.spinner {
  width: 17px; height: 17px; border-radius: 50%; display: inline-block;
  border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .7s linear infinite; vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- confetti ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 500; overflow: hidden; }
.confetti i {
  position: absolute; top: -12px; display: block;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall {
  0% { transform: translateY(-10vh) rotate(0); opacity: 1; }
  100% { transform: translateY(105vh) rotate(560deg); opacity: .8; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- progress bars ---------- */
.pbar { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-violet); transition: width .8s var(--ease); }
.pbar-gold i { background: var(--grad-gold); }

/* ---------- scrollbars ---------- */
.hscroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.hscroll > * { scroll-snap-align: start; }
.hscroll::-webkit-scrollbar { height: 8px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
.hscroll::-webkit-scrollbar-track { background: transparent; }

/* ---------- week dots (streak) ---------- */
.week-dots { display: flex; gap: 9px; justify-content: space-between; }
.wd { flex: 1; text-align: center; }
.wd i {
  width: 34px; height: 34px; margin: 0 auto 5px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--ink-300); font-style: normal;
}
.wd.on i { background: var(--green-soft); color: var(--green); }
.wd i svg { width: 15px; height: 15px; }
.wd span { font-size: 11px; color: var(--ink-400); font-weight: 700; }

/* password eye clearance */
.input-wrap:has(.eye-btn) .input { padding-right: 46px; }

/* ---------- misc ---------- */
.muted { color: var(--ink-400); }
.small { font-size: 13.5px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--ink-400); font-size: 13px; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.skeleton { background: linear-gradient(90deg, var(--line) 25%, var(--bg-soft) 50%, var(--line) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
