/* Ashram website — dusk violet, lavender and rose, thin borders, Outfit. Shared by the home page and /topup. */
:root {
  --bg: #0f0d15;
  --bg-2: #14111c;
  --surface: #191622;
  --surface-2: #211d2c;
  --border: rgba(242, 239, 248, 0.09);
  --border-2: rgba(242, 239, 248, 0.16);
  --text: #f2eff8;
  --muted: #a39fb5;
  --faint: #6f6a82;
  --lav: #d8c8ff;
  --violet: #8b6cff;
  --rose: #ff8fb1;
  --gold: #f4cf7a;
  --ok: #5fd39a;
  --bad: #ff8a8a;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(5, 3, 12, 0.55);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lav);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:hover {
  border-color: var(--lav);
}
.btn:active {
  transform: scale(0.98);
}
.btn.primary {
  border-color: transparent;
  background: var(--lav);
  color: #1b1430;
}
.btn.primary:hover {
  background: #e6dbff;
}
.btn.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

/* top bar */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(15, 13, 21, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s;
}
.nav.scrolled {
  border-color: var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.on {
  color: var(--text);
}
@media (max-width: 720px) {
  .nav-links .hide-sm {
    display: none;
  }
  .nav-links {
    gap: 14px;
  }
}

/* footer */
.foot {
  margin-top: 80px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.foot a {
  color: var(--muted);
  text-decoration: none;
}
.foot a:hover {
  color: var(--text);
}

/* cards */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* policy pages (about, contact, terms, privacy, refund, shipping) */
.doc {
  max-width: 760px;
  padding-top: 48px;
}
.doc h1 {
  margin-top: 12px;
  font-size: clamp(32px, 6vw, 44px);
}
.doc .lead {
  margin-top: 12px;
  font-size: 18px;
}
.doc .updated {
  margin: 10px 0 28px;
  color: var(--faint);
  font-size: 14px;
}
.doc h2 {
  margin: 34px 0 10px;
  font-size: 21px;
}
.doc p,
.doc li {
  color: #d6d2e2;
}
.doc p + p {
  margin-top: 12px;
}
.doc ul {
  margin: 10px 0 0;
  padding-left: 20px;
}
.doc li + li {
  margin-top: 8px;
}
.doc a {
  color: var(--lav);
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.doc-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  overflow-wrap: anywhere;
}
.doc-box.wide {
  grid-column: 1 / -1;
}
.doc-box small {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.doc-box a,
.doc-box span {
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
