/* Nirvoya website (#747). Layout: the rebrand handoff's "Website home"; brand: design_handoff_nirvoya_brand_kit. */
:root {
  --paper: #F8F4E9;
  --parchment: #F3E9D6;
  --card: #FFFCF6;
  --line: #E6DCC8;
  --ink: #2A241F;
  --text2: #5A5048;
  --muted: #776C62;
  --terracotta: #B05E36;
  --rust: #8E4524;
  --forest: #44594B;
  --slate: #46586B;
  --maroon: #5B1E2B;
  --moss: #4E6E44;
  --green: #123F36;
  --gold: #C9962F;
  --gold-light: #E9C77E;
  --bronze: #6E4219;
  --wordmark: #4F3313;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--rust); }
a:focus-visible, [tabindex]:focus-visible, button:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: 'Lora', Georgia, serif; font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.kicker { font-size: 12px; letter-spacing: .12em; color: var(--terracotta); font-weight: 700; text-transform: uppercase; }
.wordmark { font-family: 'Cinzel', Georgia, serif; font-weight: 600; letter-spacing: .16em; padding-left: .16em; color: var(--wordmark); }
.lead { font-size: 17px; line-height: 1.6; color: var(--text2); max-width: 480px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { min-height: 34px; padding: 6px 14px; border-radius: 17px; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.chip.gold { background: #F6EEDC; color: #7A5A1E; }
.chip.sage { background: #E4ECE4; color: #2E3B32; }
.chip.blue { background: #E2E6EC; color: #2E3B4A; }
.chip.peach { background: #F1DCC8; color: var(--rust); }

/* Page-load spinner: fades on its own, never blocks clicks. */
.loader {
  position: fixed; inset: 0; z-index: 50; background: radial-gradient(circle at 50% 40%, #FBF3E2, #E8D8BA);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  pointer-events: none; animation: loaderOut .5s ease 1.1s forwards;
}
.loader .wordmark { font-size: 18px; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(248,244,233,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--wordmark); }
.brand img { width: 48px; height: 48px; display: block; }
.brand .wordmark { font-size: 20px; }
.nav-links { display: flex; gap: 24px; flex: 1; flex-wrap: wrap; font-size: 14px; }
.nav-links a { color: var(--text2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { height: 40px; padding: 0 18px; border-radius: 20px; background: var(--terracotta); color: #FFFCF6; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.nav-cta:hover { color: #FFFCF6; background: var(--rust); }

/* Grids */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.split > *, .hero > *, .panel > *, .get > * { min-width: 0; }
.center { display: flex; justify-content: center; }

/* Phone frame */
.phone {
  width: 300px; max-width: 78vw; aspect-ratio: 390 / 844; border-radius: 42px; overflow: hidden; background: var(--paper);
  box-shadow: 0 30px 60px rgba(60,40,20,.2), 0 0 0 1px rgba(60,40,20,.06); position: relative;
}
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* Hero */
.hero { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); line-height: 1.05; letter-spacing: -.01em; }
.hero .lead { font-size: 18px; line-height: 1.55; max-width: 500px; }
.hero-art { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; }
.hero-art::before { content: ''; position: absolute; top: 30px; width: min(86%, 440px); aspect-ratio: 1; border-radius: 50%; background: #EFE7D8; }
.hero-art .phone { width: 290px; }
.hero-art .phone img { transition: opacity .6s ease; opacity: 0; }
.hero-art .phone img.on { opacity: 1; }
.tabs { position: relative; display: flex; gap: 6px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs button {
  position: relative; flex-shrink: 0; height: 40px; padding: 0 16px; border: 0; border-radius: 18px; background: none; font: inherit;
  font-size: 13px; font-weight: 600; color: var(--text2); cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { background: #F1DCC8; color: var(--rust); }

/* Store badges: not live yet, so they are labels, not links (#747). */
.stores { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; align-items: flex-start; }
.soon-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); }
.soon-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  position: relative; height: 52px; padding: 0 18px; border-radius: 14px; background: #2A241F; color: #FFFCF6;
  display: inline-flex; align-items: center; gap: 12px; min-width: 196px; opacity: .55; cursor: default; user-select: none;
}
.badge svg { flex-shrink: 0; }
.badge .b-text { display: flex; flex-direction: column; line-height: 1.1; }
.badge .b-small { font-size: 10.5px; opacity: .8; }
.badge .b-big { font-size: 16px; font-weight: 600; }
.badge-wrap { position: relative; display: inline-flex; }
.badge-wrap .soon {
  position: absolute; top: -11px; right: -8px; background: var(--gold-light); color: #3A1219; font-size: 10.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 10px; box-shadow: 0 2px 6px rgba(40,20,10,.2);
}
.badges.light .badge { background: #FFFCF6; color: var(--ink); opacity: .7; }

/* How it works */
.section { padding-top: 72px; padding-bottom: 72px; }
.section h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 36px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.step .ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.step .n { font-size: 11px; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.step h3 { font-size: 22px; }
.step p { font-size: 14.5px; color: var(--text2); line-height: 1.55; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.legend span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text2); }
.legend b { color: var(--ink); font-weight: 600; }
.legend i { width: 16px; height: 16px; border-radius: 50%; display: block; flex-shrink: 0; }
.panel { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.panel h3 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; }
.panel .phone { width: 260px; }

/* Practices */
.practices { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.practice { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; max-width: 480px; }
.practice .ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.practice .t { flex: 1; min-width: 0; }
.practice .t b { font-size: 14.5px; font-weight: 600; display: block; }
.practice .t span { font-size: 13px; color: var(--muted); }
.practice .num { text-align: right; }
.practice .num b { font-family: 'Lora', serif; font-weight: 400; font-size: 22px; line-height: 1; display: block; }
.practice .num span { font-size: 9.5px; letter-spacing: .05em; color: var(--muted); font-weight: 600; }

/* Festivals band */
.band-green { background: var(--forest); color: #FFFCF6; }
.band-green .kicker { color: #E8C46A; }
.band-green .lead { color: rgba(255,252,246,.85); }
.band-green .chip { background: rgba(255,252,246,.12); border: 1px solid rgba(255,252,246,.25); color: #FFFCF6; font-size: 13px; }
.band-green .chip i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255,252,246,.7); display: block; }
.band-green .phone { box-shadow: 0 30px 60px rgba(0,0,0,.3); }

/* Sacred Passport */
.band-card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-card .kicker { color: var(--maroon); }
.stamps { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.stamp { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; font-size: 11.5px; color: var(--text2); white-space: nowrap; }
.stamp span { width: 64px; height: 64px; border-radius: 50%; padding: 3px; display: block; }
.stamp img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid #FFFCF6; display: block; }
.ring-visa { background: linear-gradient(135deg, #E8C46A, #B8902E); }
.ring-utsav { background: var(--maroon); }
.ring-lite { background: var(--slate); }

/* Get the app */
.get { background: var(--maroon); color: #FFFCF6; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; align-items: center; }
.get h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; }
.get p { font-size: 16.5px; line-height: 1.6; color: rgba(255,252,246,.85); max-width: 440px; }
.get .soon-label { color: var(--gold-light); }
.get-mark { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.get-mark .seal { width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(ellipse 80% 60% at 50% 30%, #1F6454, #123F36 60%, #0B2A25); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3.5px var(--gold), 0 0 0 5.5px var(--maroon), 0 20px 40px rgba(0,0,0,.3); }
.get-mark .seal img { width: 150px; height: 150px; }
.get-mark .wordmark { color: #F2D08A; font-size: 20px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer .row { display: flex; gap: 20px 24px; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--muted); padding-top: 32px; padding-bottom: 20px; }
.footer .row .wordmark { font-size: 17px; color: var(--ink); }
.footer .row a { color: var(--text2); }
.footer .grow { flex: 1; }
.legal { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 32px; font-size: 12.5px; color: var(--muted); line-height: 1.6; max-width: 820px; }

@media (max-width: 760px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav-links { display: none; }
  .nav .wrap { justify-content: space-between; }
  .brand .wordmark { font-size: 17px; }
  .hero { padding-top: 36px; gap: 32px; }
  .hero-art { min-height: 0; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .split { gap: 36px; }
  .panel { padding: 24px 18px; border-radius: 22px; }
  .get { padding: 32px 20px; border-radius: 22px; }
  .badge { min-width: 0; }
  .tabs { flex-wrap: wrap; justify-content: center; border-radius: 18px; }
}
