:root {
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --saffron: #f67808;
  --gold: #f7c85c;
  --maroon: #68141c;
  --deep: #2a0c14;
  --cream: #fff8ea;
  --purple: #7a2f86;
  --pink: #d83a8c;
  --ink: #2a1a20;
  --muted: #77676d;
  --white: #fff;
  --shadow: 0 24px 80px rgba(76, 18, 35, .16);
  --radius: 26px;
}
*,
*::before,
*::after { box-sizing: border-box; font-family: inherit; }
html { scroll-behavior: smooth; font-family: var(--font-body); }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fffaf3; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; font-family: var(--font-body); }
button { cursor: pointer; }
.section-pad { padding: 110px clamp(22px, 6vw, 96px); position: relative; }
.ambient { position: fixed; border-radius: 50%; filter: blur(100px); opacity: .18; z-index: -1; }
.ambient-one { width: 380px; height: 380px; background: var(--pink); top: 10%; left: -180px; }
.ambient-two { width: 460px; height: 460px; background: var(--gold); bottom: 5%; right: -240px; }

.site-header { position: fixed; inset: 0 0 auto; height: 76px; z-index: 50; display: flex; align-items: center; gap: 30px; padding: 0 clamp(22px, 5vw, 80px); color: #fff; transition: .3s; }
.site-header.scrolled { background: rgba(53, 13, 26, .94); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 28px/1 var(--font-display); letter-spacing: .5px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }
.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; font-size: 14px; }
.main-nav a { opacity: .88; }
.main-nav a:hover { opacity: 1; color: var(--gold); }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; color: #fff; font-size: 26px; }

.btn { border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; display: inline-flex; justify-content: center; align-items: center; gap: 8px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #fa7f08, #c93447); box-shadow: 0 12px 28px rgba(218, 73, 49, .34); }
.btn-primary:hover { box-shadow: 0 17px 34px rgba(218, 73, 49, .42); }
.btn-glass, .btn-outline { color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.32); backdrop-filter: blur(10px); }
.btn-small { padding: 10px 17px; }
.full { width: 100%; }

.hero { min-height: 100vh; display: grid; place-items: center; color: #fff; isolation: isolate; padding-top: 120px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url('assets/shreelok-brand.jpeg') center/cover no-repeat; transform: scale(1.03); z-index: -3; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(44,7,20,.92) 0%, rgba(73,20,43,.62) 50%, rgba(36,12,34,.43) 100%), linear-gradient(0deg, rgba(34,8,18,.8), transparent 55%); z-index: -2; }
.hero::after { content:""; position:absolute; inset:auto 0 0; height:160px; background:linear-gradient(transparent,#fffaf3); z-index:-1; }
.hero-content { width: min(820px, 100%); text-align: center; margin-top: 30px; }
.eyebrow { text-transform: none; font-size: 12px; letter-spacing: 2.2px; font-weight: 800; color: #ffe1a0; }
.eyebrow.dark { color: #a04750; }
.hero h1 { margin: 18px 0; font: 700 5.875rem/.95 var(--font-display); text-wrap: balance; }
.hero h1 span { color: var(--gold); text-shadow: 0 0 36px rgba(247,200,92,.45); }
.hero p { max-width: 720px; margin: 0 auto; font-size: 1.25rem; line-height: 1.75; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 30px 0; }
.countdown-card { display: inline-grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(14px); border-radius: 20px; }
.countdown-card div { min-width: 86px; padding: 10px 16px; border-right: 1px solid rgba(255,255,255,.18); }
.countdown-card div:last-child { border-right: 0; }
.countdown-card strong { display: block; font: 700 30px/1 var(--font-display); color: var(--gold); }
.countdown-card span { display: block; margin-top: 5px; font-size: 11px; text-transform: none; letter-spacing: 1.2px; }
.scroll-cue { position: absolute; bottom: 22px; font-size: 11px; letter-spacing: 1.2px; text-transform: none; opacity: .8; display: grid; gap: 4px; text-align: center; }
.scroll-cue span { font-size: 20px; animation: bounce 1.6s infinite; }

.section-heading { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-heading h2 { margin: 14px 0 13px; font: 700 3.875rem/1 var(--font-display); }
.section-heading p { color: var(--muted); line-height: 1.7; }
.section-heading.light { color: #fff; }
.section-heading.light p { color: rgba(255,255,255,.74); }
.glass-panel { background: rgba(255,255,255,.72); backdrop-filter: blur(18px); border: 1px solid rgba(117,51,77,.12); box-shadow: var(--shadow); border-radius: var(--radius); }

.profile-grid { max-width: 1160px; margin: auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.profile-form { padding: 34px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid #ead9d4; background: rgba(255,255,255,.8); padding: 14px 15px; border-radius: 13px; outline: none; }
input:focus, textarea:focus { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(246,120,8,.1); }
.profile-form small { display: block; margin-top: 12px; color: var(--muted); line-height: 1.5; }
.profile-card { border-radius: var(--radius); padding: 32px; color: #fff; background: radial-gradient(circle at top right, rgba(246,177,74,.42), transparent 30%), linear-gradient(145deg,#6a1626,#35101e 70%); box-shadow: var(--shadow); }
.avatar-ring { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; font: 700 35px var(--font-display); background: linear-gradient(135deg,#f9d87a,#f07612); border: 5px solid rgba(255,255,255,.18); box-shadow: 0 0 0 6px rgba(255,255,255,.06); float: right; }
.profile-card h3 { font: 700 34px var(--font-display); margin: 6px 0 25px; }
.muted { color: rgba(255,255,255,.65); font-size: 13px; }
.astro-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; clear: both; }
.astro-stats div { padding: 15px 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; text-align: center; }
.astro-stats span, .profile-footer span { display: block; color: rgba(255,255,255,.64); font-size: 11px; margin-bottom: 6px; }
.astro-stats strong { font-size: 13px; }
.progress-row { display:flex; justify-content:space-between; margin-top:24px; font-size:12px; }
.progress { height: 7px; background: rgba(255,255,255,.12); border-radius: 20px; margin: 10px 0 24px; overflow:hidden; }
.progress i { display:block; width:8%; height:100%; background: linear-gradient(90deg,#f8d875,#ff8d25); border-radius:inherit; transition:width .6s; }
.profile-footer { display:grid; grid-template-columns:repeat(3,1fr); text-align:center; border-top:1px solid rgba(255,255,255,.12); padding-top:20px; }
.profile-footer strong { font-size: 20px; }

.temples { background: linear-gradient(180deg,#fffaf3,#fff 50%,#fff8ef); }
.temples .section-heading h2 { color: #68141c; }
.temples .section-heading p { color: #5f454d; }
.temple-grid { max-width: 1300px; margin: auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.temple-card { grid-column: span 2; border-radius: 24px; overflow:hidden; background:#fff; box-shadow:0 20px 60px rgba(80,24,42,.12); border:1px solid #f0e0db; transition:.35s; }
.temple-card:nth-child(4) { grid-column: 2 / span 2; }
.temple-card:hover { transform: translateY(-10px); box-shadow:0 30px 70px rgba(80,24,42,.18); }
.temple-art { height:220px; display:grid; place-items:center; overflow:hidden; position:relative; }
.temple-art::before { content:""; position:absolute; inset:0; z-index:2; background:linear-gradient(180deg,rgba(24,8,16,.04),rgba(24,8,16,.2)); pointer-events:none; }
.temple-art::after { content:none; }
.temple-art img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; transition:transform .55s ease, filter .55s ease; }
.temple-card:hover .temple-art img { transform:scale(1.07); filter:saturate(1.08) brightness(1.03); }
.temple-kalahasti .temple-art { background:linear-gradient(145deg,#3f284f,#84677f); }
.temple-ram .temple-art { background:linear-gradient(145deg,#d05225,#f0b34c); }
.temple-mahakal .temple-art { background:linear-gradient(145deg,#181521,#5d496b); }
.temple-balaji .temple-art { background:linear-gradient(145deg,#623219,#d29635); }
.temple-vaishno .temple-art { background:linear-gradient(145deg,#741a29,#d44a43); }
.temple-content { padding:25px; }
.temple-tag { color:#a14d56; text-transform:none; font-size:10px; letter-spacing:1.2px; font-weight:800; }
.temple-content h3 { font:700 29px var(--font-display); margin:10px 0; }
.temple-content p { color:var(--muted); line-height:1.6; min-height:77px; }
.temple-meta { display:flex; justify-content:space-between; font-size:12px; font-weight:700; color:#88666c; margin:18px 0; }
.temple-content .btn { width:100%; }

.journey { color:#fff; background: radial-gradient(circle at 15% 0, rgba(221,93,86,.32), transparent 35%), linear-gradient(145deg,#32101c,#6b1929); }
.journey-track { max-width:1200px; margin:auto; display:grid; grid-template-columns:repeat(8,1fr); position:relative; }
.journey-track::before { content:""; position:absolute; left:6%; right:6%; top:31px; height:1px; background:rgba(255,255,255,.22); }
.journey-track div { text-align:center; position:relative; padding:0 8px; }
.journey-track b { width:62px; height:62px; margin:auto; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg,#f8ca61,#ef7211); color:#5d1d1d; box-shadow:0 0 0 8px rgba(255,255,255,.06); position:relative; z-index:1; }
.journey-track span { display:block; margin-top:17px; font-size:12px; line-height:1.4; color:rgba(255,255,255,.76); }

.leaderboard-grid { max-width:1160px; margin:auto; display:grid; grid-template-columns:1.15fr .85fr; gap:25px; }
.rank-list { padding:24px; }
.rank-head, .rank-row { display:grid; grid-template-columns:70px 1.4fr 1fr 90px; gap:10px; align-items:center; }
.rank-head { color:#9b7b80; font-size:11px; text-transform:none; letter-spacing:1px; padding:10px 14px; }
.rank-row { padding:16px 14px; border-top:1px solid #f0e4e1; }
.rank-row b { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:#f8eee9; }
.rank-row em { font-style:normal; color:#a2454e; font-size:12px; }
.rank-row strong { text-align:right; }
.rank-row.current { background:linear-gradient(90deg,rgba(247,200,92,.18),rgba(216,58,140,.08)); border-radius:15px; }
.badge-panel { padding:28px; border-radius:var(--radius); background:linear-gradient(145deg,#3b1120,#711d2c); color:#fff; }
.badge-panel h3 { font:700 29px var(--font-display); margin:0 0 20px; }
.badges { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.badges div { padding:16px; border-radius:16px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); }
.badges span { font-size:25px; display:block; margin-bottom:7px; }
.badges b, .badges small { display:block; }
.badges small { color:rgba(255,255,255,.6); margin-top:4px; line-height:1.4; }

.upcoming { background: radial-gradient(circle at 70% 20%,rgba(126,62,125,.35),transparent 35%),linear-gradient(150deg,#25101d,#4b1530); color:#fff; }
.coming-grid { max-width:1180px; margin:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.coming-grid div { padding:28px; border-radius:22px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); transition:.3s; }
.coming-grid div:hover { background:rgba(255,255,255,.11); transform:translateY(-5px); }
.coming-grid span { font-size:32px; }
.coming-grid h3 { font:700 25px var(--font-display); margin:12px 0 7px; }
.coming-grid p { color:rgba(255,255,255,.64); line-height:1.6; font-size:14px; }
.notify-box { max-width:1180px; margin:30px auto 0; display:flex; align-items:center; justify-content:space-between; gap:25px; padding:28px; border-radius:24px; background:linear-gradient(100deg,rgba(246,120,8,.18),rgba(216,58,140,.15)); border:1px solid rgba(255,255,255,.12); }
.notify-box h3 { font:700 30px var(--font-display); margin:7px 0 0; }
.notify-box form { display:flex; gap:10px; min-width:min(430px,100%); }
.notify-box input { border-color:rgba(255,255,255,.25); background:rgba(255,255,255,.1); color:#fff; }
.notify-box input::placeholder { color:rgba(255,255,255,.55); }
.site-footer { padding:55px 7vw; text-align:center; background:#180a11; color:#fff; }
.footer-brand { justify-content:center; }
.site-footer p { color:rgba(255,255,255,.62); }
.footer-links { display:flex; justify-content:center; flex-wrap:wrap; gap:20px; margin:25px 0; font-size:13px; color:rgba(255,255,255,.76); }
.site-footer small { display:block; max-width:850px; margin:auto; color:rgba(255,255,255,.45); line-height:1.6; }
.mobile-cta { display:none; position:fixed; left:16px; right:16px; bottom:14px; z-index:40; }

.modal { position:fixed; inset:0; z-index:100; display:none; }
.modal.open { display:grid; place-items:center; }
.modal-backdrop { position:absolute; inset:0; background:rgba(17,4,11,.82); backdrop-filter:blur(12px); }
.pooja-shell { width:min(900px,calc(100% - 28px)); max-height:92vh; overflow:auto; position:relative; border-radius:30px; color:#fff; background:linear-gradient(145deg,#3a1120,#751f2d); box-shadow:0 40px 120px rgba(0,0,0,.5); }
.modal-close { position:absolute; right:18px; top:14px; z-index:3; width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.08); color:#fff; font-size:25px; }
.pooja-stage-bg { height:170px; background:url('assets/shreelok-brand.jpeg') center/cover no-repeat; opacity:.5; mask-image:linear-gradient(#000,transparent); }
.pooja-content { padding:0 45px 40px; text-align:center; margin-top:-55px; position:relative; }
.pooja-content h2 { font:700 45px var(--font-display); margin:12px 0; }
.pooja-content p { color:rgba(255,255,255,.72); }
.ritual-area { min-height:210px; display:grid; place-items:center; align-content:center; gap:18px; margin:25px 0; border-radius:22px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); }
.ritual-icon { font-size:68px; filter:drop-shadow(0 12px 20px rgba(0,0,0,.3)); }
.ritual-action { color:#5e1624; border:0; border-radius:999px; padding:12px 20px; font-weight:800; background:linear-gradient(135deg,#ffe38e,#f6a52e); }
.sankalp-panel textarea { min-height:110px; background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.18); color:#fff; }
.sankalp-panel textarea::placeholder { color:rgba(255,255,255,.5); }
.record-controls { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin:12px 0; }
.sankalp-panel small { color:rgba(255,255,255,.55); }
.pooja-progress { height:7px; background:rgba(255,255,255,.1); border-radius:10px; overflow:hidden; margin:25px 0 18px; }
.pooja-progress i { display:block; height:100%; width:14%; background:linear-gradient(90deg,#ffd870,#ff7b1a); transition:.35s; }
.modal-actions { display:flex; justify-content:space-between; }
.toast { position:fixed; right:25px; bottom:25px; z-index:120; background:#271019; color:#fff; padding:14px 18px; border-radius:12px; box-shadow:0 12px 34px rgba(0,0,0,.3); transform:translateY(30px); opacity:0; pointer-events:none; transition:.3s; }
.toast.show { transform:translateY(0); opacity:1; }
#petal-layer { position:fixed; inset:0; pointer-events:none; z-index:90; overflow:hidden; }
.petal { position:absolute; top:-40px; animation:fall linear forwards; }
.reveal { opacity:0; transform:translateY(28px); transition:.8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity:1; transform:none; }

@keyframes fall { to { transform:translate(var(--drift),110vh) rotate(540deg); opacity:.1; } }
@keyframes bounce { 50% { transform:translateY(7px); } }

@media (max-width: 980px) {
  .main-nav { position:absolute; top:76px; left:18px; right:18px; display:none; flex-direction:column; align-items:stretch; background:#4e1424; padding:20px; border-radius:18px; }
  .main-nav.open { display:flex; }
  .menu-toggle { display:block; }
  .site-header .btn-small { display:none; }
  .profile-grid, .leaderboard-grid { grid-template-columns:1fr; }
  .temple-grid { grid-template-columns:repeat(2,1fr); }
  .temple-card, .temple-card:nth-child(4) { grid-column:auto; }
  .temple-card:last-child { grid-column:1 / -1; width:calc(50% - 11px); justify-self:center; }
  .journey-track { grid-template-columns:repeat(4,1fr); gap:32px 8px; }
  .journey-track::before { display:none; }
  .coming-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px) {
  .section-pad { padding:80px 18px; }
  .site-header { padding:0 18px; }
  .brand { font-size:24px; }
  .hero { min-height:94vh; padding-top:100px; }
  .hero-media { background-position:58% center; }
  .hero h1 { font-size:50px; }
  .hero p { font-size:15px; }
  .countdown-card { width:100%; }
  .countdown-card div { min-width:0; padding:9px 4px; }
  .countdown-card strong { font-size:25px; }
  .field-row { grid-template-columns:1fr; }
  .profile-form, .profile-card { padding:24px; }
  .temple-grid { grid-template-columns:1fr; }
  .temple-card:last-child { grid-column:auto; width:auto; }
  .journey-track { grid-template-columns:repeat(2,1fr); }
  .coming-grid { grid-template-columns:1fr; }
  .notify-box { flex-direction:column; align-items:flex-start; }
  .notify-box form { flex-direction:column; min-width:100%; }
  .rank-head, .rank-row { grid-template-columns:45px 1.2fr 75px; }
  .rank-head span:nth-child(3), .rank-row em { display:none; }
  .badges { grid-template-columns:1fr; }
  .mobile-cta { display:flex; }
  .pooja-content { padding:0 20px 28px; }
  .pooja-content h2 { font-size:36px; }
  .modal-actions { gap:10px; }
  .modal-actions .btn { flex:1; }
  .toast { left:16px; right:16px; bottom:80px; text-align:center; }
}

/* Updated Shreelok logo and login experience */
.brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 0; background: transparent; }
.profile-grid-single { grid-template-columns: minmax(300px, 720px); justify-content: center; }
.profile-grid-single .profile-card { width: 100%; }
.login-dialog { position: relative; width: min(92vw, 560px); max-height: 92vh; overflow-y: auto; padding: 32px; text-align: center; border-radius: 28px; z-index: 2; }
.login-logo { width: 112px; height: 112px; object-fit: contain; border-radius: 24px; background: #fff; margin: 0 auto 14px; display: block; }
.login-dialog .profile-form { margin-top: 22px; text-align: left; }
.login-dialog .profile-form > label { display: grid; gap: 8px; margin-bottom: 14px; }
.recording-symbol { font-size: 64px; margin-bottom: 10px; }
.sankalp-panel p { margin: 0 auto 18px; max-width: 520px; }
@media (max-width: 640px) {
  .brand span { display: none; }
  .brand img { width: 48px; height: 48px; }
  .login-dialog { padding: 25px 18px; }
}

/* Keep all labels in natural case. */
.eyebrow.title-case { text-transform:none; letter-spacing:1.4px; }

/* Privacy policy and account deletion pages */
.legal-page { background: linear-gradient(180deg, #fff9ef 0%, #fff 42%, #fff8f0 100%); }
.legal-header { position: relative; color: var(--ink); background: rgba(255,255,255,.94); box-shadow: 0 1px 0 rgba(104,20,28,.09); }
.legal-header .main-nav { margin-left: auto; }
.legal-header .main-nav a { opacity: 1; color: #5f3b45; }
.legal-header .main-nav a:hover { color: var(--maroon); }
.legal-header .btn-outline { color: var(--maroon); background: transparent; border-color: rgba(104,20,28,.25); }
.legal-main { min-height: calc(100vh - 76px); }
.legal-hero { padding: 92px 22px 72px; text-align: center; background: radial-gradient(circle at 50% 0, rgba(247,200,92,.42), transparent 38%), linear-gradient(135deg, #fff6e7, #fff 70%); }
.legal-icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 20px; border: 2px solid rgba(104,20,28,.18); border-radius: 50%; background: rgba(255,255,255,.6); color: var(--maroon); font-size: 45px; line-height: 1; }
.legal-icon svg { display: block; }
.legal-hero h1 { margin: 12px 0; color: var(--maroon); font: 700 4.75rem/1 var(--font-display); }
.legal-hero > p:last-child { max-width: 560px; margin: auto; color: var(--muted); line-height: 1.7; }
.legal-card { width: min(900px, calc(100% - 36px)); margin: -24px auto 78px; padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(104,20,28,.1); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.legal-card p { color: #503f45; font-size: 16px; line-height: 1.85; }
.legal-card h2 { margin: 40px 0 12px; color: #9d2e37; font: 700 1.75rem/1.15 var(--font-display); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 28px 0 8px; font-size: 17px; color: var(--ink); }
.legal-card ul { margin: 0; padding-left: 22px; }
.legal-card li { margin: 10px 0; color: #503f45; font-size: 15px; line-height: 1.7; }
.legal-card a { color: #a52d3a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.deletion-layout { width: min(900px, calc(100% - 36px)); display: grid; grid-template-columns: 1fr; gap: 26px; margin: -24px auto 78px; align-items: start; }
.deletion-layout .legal-card { width: 100%; margin: 0; }
.delete-form { display: grid; gap: 18px; }
.delete-form p { margin: -8px 0 2px; }
.delete-form label { color: var(--ink); }
.delete-form textarea { resize: vertical; }
.delete-form .optional { color: var(--muted); font-size: 12px; font-weight: 500; }
.consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; color: var(--muted) !important; font-size: 13px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: var(--maroon); }
.delete-form small { color: var(--muted); line-height: 1.55; }
.updated-chip { display: inline-block; margin-top: 18px; padding: 7px 16px; border-radius: 999px; background: rgba(104,20,28,.08); border: 1px solid rgba(104,20,28,.15); color: var(--maroon); font-size: 12px; font-weight: 700; letter-spacing: .3px; }

.process-steps { width: min(1000px, calc(100% - 36px)); margin: -24px auto 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.step { position: relative; padding: 26px 18px; text-align: center; background: rgba(255,255,255,.9); border: 1px solid rgba(104,20,28,.1); border-radius: 20px; box-shadow: 0 14px 34px rgba(76,18,35,.08); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: calc(100% + 4px); width: calc(18px - 8px); border-top: 2px dashed rgba(104,20,28,.2); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; font: 700 19px var(--font-display); color: #fff; background: linear-gradient(135deg, #fa7f08, #c93447); box-shadow: 0 10px 22px rgba(218,73,49,.34); }
.step b { display: block; margin-bottom: 6px; font-size: 15px; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.data-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.data-col { padding: 22px; border-radius: 18px; border: 1px solid rgba(104,20,28,.1); }
.data-col-remove { background: linear-gradient(160deg, rgba(201,52,71,.08), rgba(201,52,71,.02)); }
.data-col-keep { background: linear-gradient(160deg, rgba(247,200,92,.16), rgba(247,200,92,.04)); }
.data-col-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.data-col-remove .data-col-icon { background: rgba(201,52,71,.12); color: #c93447; }
.data-col-keep .data-col-icon { background: rgba(247,200,92,.24); color: #9a6c0a; }
.data-col h3 { margin: 12px 0 10px; }
.data-col ul { margin: 0; padding-left: 20px; }
.data-col li { margin: 8px 0; font-size: 14px; color: #503f45; line-height: 1.6; }
.note-line { display: flex; align-items: flex-start; gap: 12px; }
.note-icon { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; margin-top: 2px; border-radius: 50%; background: rgba(104,20,28,.08); color: var(--maroon); }

.input-wrap { position: relative; display: block; }
.input-wrap .input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap input { padding-left: 44px; }

.consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; padding: 0; margin: 1px 0 0; border: 2px solid rgba(104,20,28,.3); border-radius: 6px; background: #fff; display: grid; place-items: center; flex: 0 0 auto; transition: .2s; }
.consent input[type="checkbox"]::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); opacity: 0; }
.consent input[type="checkbox"]:checked { background: var(--maroon); border-color: var(--maroon); }
.consent input[type="checkbox"]:checked::after { opacity: 1; }
.consent input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 4px rgba(104,20,28,.15); }

.legal-faq-wrap { width: min(900px, calc(100% - 36px)); margin: 0 auto 78px; }
.legal-faq-wrap .legal-card { margin: 0; width: 100%; }
.faq-item { border: 1px solid rgba(104,20,28,.12); border-radius: 16px; padding: 4px 20px; margin: 14px 0; background: rgba(255,255,255,.7); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 700; color: var(--ink); cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { transition: transform .25s; color: var(--maroon); }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item p { margin: 0 0 18px; }

.policy-toc { width: min(900px, calc(100% - 36px)); margin: -18px auto 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.policy-toc a { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid rgba(104,20,28,.15); color: #7a2f36; font-size: 13px; font-weight: 700; white-space: nowrap; flex: none; transition: .2s; }
.policy-toc a:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }

.h2-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 9px; border-radius: 50%; background: rgba(104,20,28,.08); font-size: 13px; vertical-align: middle; }
.h2-icon svg { width: 13px; height: 13px; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 8px; }
.info-grid > div { padding: 20px; border-radius: 16px; border: 1px solid rgba(104,20,28,.1); background: rgba(255,246,231,.5); min-width: 0; }
.info-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(104,20,28,.08); color: var(--maroon); }
.info-grid h3 { margin: 12px 0 6px; }
.info-grid p { margin: 0; font-size: 14px !important; line-height: 1.55; }

@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .legal-header .legal-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 16px; }
  .legal-header .brand { flex-shrink: 0; }
  .legal-hero { padding: 70px 18px 58px; }
  .legal-card { width: min(100% - 28px, 900px); padding: 26px 22px; margin-bottom: 54px; }
  .legal-card p, .legal-card li { font-size: 15px; }
  .deletion-layout { width: min(100% - 28px, 1160px); grid-template-columns: 1fr; margin-bottom: 54px; }
  .process-steps { grid-template-columns: 1fr; margin-bottom: 30px; }
  .step:not(:last-child)::after { display: none; }
  .data-split { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .policy-toc { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
}

.temple-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.temple-card,
.temple-card:nth-child(4),
.temple-card:last-child { grid-column: span 2; width: auto; justify-self: stretch; }
.temple-card:nth-child(4) { grid-column: 2 / span 2; }
.temple-art { aspect-ratio: 16 / 10; height: auto; }
.temple-content h3 { color: #68141c; }
.temple-content h3,
.temple-tag { overflow-wrap: anywhere; }
.hero-actions .btn { min-width: 154px; }

@media (max-width: 1180px) {
  .site-header { gap: 18px; }
  .main-nav { gap: 18px; }
  .temple-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .temple-card,
  .temple-card:nth-child(4),
  .temple-card:last-child { grid-column: auto; }
}

@media (max-width: 860px) {
  .journey-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .journey-track::before { display: none; }
}

@media (max-width: 720px) {
  .site-header { height: 70px; }
  .main-nav { top: 70px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: min(100%, 360px); margin-left: auto; margin-right: auto; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 2.875rem; }
  .temple-content { padding: 22px; }
  .temple-content p { min-height: 0; }
  .coming-grid div { min-height: 0; }
}

@media (max-width: 640px) {
  .temple-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .section-pad { padding-left: 14px; padding-right: 14px; }
  .site-header { padding: 0 14px; gap: 10px; }
  .brand img { width: 42px; height: 42px; }
  .menu-toggle { font-size: 24px; }
  .hero h1 { font-size: 3rem; }
  .pooja-shell { width: calc(100% - 18px); border-radius: 22px; }
  .record-controls .btn,
  .modal-actions .btn { padding-left: 12px; padding-right: 12px; }
}

.footer-store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px auto 18px;
}

.footer-store-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 44px;
  overflow: hidden;
  border-radius: 10px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.footer-store-badges a:hover {
  transform: translateY(-2px);
  border-color: rgba(247,200,92,.42);
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
}

.footer-store-badges img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 640px) {
  .site-footer { padding: 42px 18px 86px; }
  .footer-links { gap: 12px 16px; margin: 20px 0; }
  .footer-store-badges { gap: 10px; margin: 20px auto 16px; }
  .footer-store-badges a { width: 138px; height: 41px; border-radius: 9px; }
}

@media (max-width: 360px) {
  .footer-store-badges { flex-direction: column; }
  .footer-store-badges a { width: 152px; }
}

.privacy-simple-page {
  background: #fff;
  color: #23191d;
}

.privacy-simple-page .legal-header {
  position: relative;
  background: #fff;
  color: #23191d;
  box-shadow: 0 1px 0 rgba(35,25,29,.1);
}

.privacy-simple-page .legal-header .main-nav a {
  color: #4b3a40;
}

.privacy-simple-page .legal-header .btn-outline {
  color: #68141c;
  background: #fff;
  border-color: rgba(104,20,28,.22);
}

.privacy-simple-page .legal-main {
  background: #fff;
}

.privacy-simple-page .legal-hero {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 28px;
  text-align: left;
  background: #fff;
}

.privacy-simple-page .legal-hero h1 {
  margin: 8px 0 10px;
  color: #68141c;
  font-size: 3.25rem;
}

.privacy-simple-page .legal-hero p {
  margin-left: 0;
}

.privacy-simple-page .privacy-document {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto 76px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.privacy-simple-page .privacy-document h2 {
  margin: 38px 0 12px;
  color: #68141c;
  font-size: 1.55rem;
}

.privacy-simple-page .privacy-document h2:first-child {
  margin-top: 0;
}

.privacy-simple-page .privacy-document h3,
.privacy-simple-page .privacy-document p,
.privacy-simple-page .privacy-document li {
  color: #3d3035;
}

.privacy-simple-page .privacy-document p {
  max-width: 760px;
}

.privacy-simple-page .privacy-document ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.privacy-simple-page .privacy-document li {
  margin: 0;
}

.privacy-simple-page .privacy-document a {
  color: #8b1f2a;
}

.privacy-simple-page .simple-delete-form {
  max-width: 680px;
  margin-top: 34px;
  padding-top: 8px;
  border-top: 1px solid rgba(104,20,28,.14);
  font-family: var(--font-body);
}

.privacy-simple-page .simple-delete-form label {
  margin-top: 16px;
  font-family: var(--font-body);
}

.privacy-simple-page .simple-delete-form input,
.privacy-simple-page .simple-delete-form textarea {
  margin-top: 8px;
  background: #fff;
  font-family: var(--font-body);
}

.privacy-simple-page .simple-delete-form input::placeholder,
.privacy-simple-page .simple-delete-form textarea::placeholder {
  font-family: var(--font-body);
}

.privacy-simple-page .simple-delete-form .btn {
  width: auto;
  margin-top: 4px;
  padding-left: 26px;
  padding-right: 26px;
  font-family: var(--font-body);
}

.privacy-simple-page .simple-delete-form small {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
}

.privacy-simple-page .simple-delete-form .consent,
.privacy-simple-page .simple-delete-form .consent span,
.privacy-simple-page .simple-delete-form .optional {
  font-family: var(--font-body);
}

.site-footer .footer-brand,
.site-footer .footer-brand span {
  font-family: var(--font-display);
}

@media (max-width: 760px) {
  .privacy-simple-page .legal-hero {
    width: min(100% - 28px, 900px);
    padding: 52px 0 24px;
  }
  .privacy-simple-page .legal-hero h1 {
    font-size: 2.5rem;
  }
  .privacy-simple-page .privacy-document {
    width: min(100% - 28px, 900px);
    margin-bottom: 54px;
  }
  .privacy-simple-page .privacy-document h2 {
    font-size: 1.4rem;
  }
  .privacy-simple-page .simple-delete-form .btn {
    width: 100%;
  }
}

:where(body, p, a, li, span, small, strong, em, b, label, input, textarea, select, button, summary, details, figcaption, th, td, div) {
  font-family: var(--font-body);
}

:where(h1, h2, h3, h4, h5, h6, .brand, .avatar-ring, .step-num, .countdown-card strong) {
  font-family: var(--font-display);
}

.brand {
  font-family: var(--font-display);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 5.875rem;
  line-height: .95;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: 3.875rem;
  line-height: 1;
}

.temple-content h3,
.coming-grid h3,
.pooja-content h2,
.legal-hero h1,
.legal-card h2,
.badge-panel h3,
.notify-box h3,
.profile-card h3 {
  font-family: var(--font-display);
}

.btn,
.main-nav,
.temple-tag,
.eyebrow,
.footer-links,
.toast,
.ritual-action,
.legal-card,
.delete-form,
.faq-item,
.policy-toc {
  font-family: var(--font-body);
}

.btn,
.main-nav a,
.footer-links a,
.policy-toc a,
.temple-tag,
.eyebrow {
  line-height: 1.2;
}

.hero h1,
.section-heading h2,
.temple-content h3,
.coming-grid h3,
.pooja-content h2,
.legal-hero h1,
.legal-card h2,
.legal-card h3,
.faq-item summary,
.btn,
.main-nav a,
.footer-links a {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .hero h1 { font-size: 4.4rem; }
  .section-heading h2 { font-size: 3.2rem; }
  .legal-hero h1 { font-size: 3.8rem; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 3.125rem; }
  .section-heading h2 { font-size: 2.5rem; }
  .temple-content h3 { font-size: 1.8rem; }
  .coming-grid h3 { font-size: 1.65rem; }
  .pooja-content h2,
  .legal-hero h1 { font-size: 2.45rem; }
  .legal-card h2 { font-size: 1.65rem; }
  .btn { min-height: 46px; white-space: normal; text-align: center; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.6rem; }
  .section-heading h2 { font-size: 2.15rem; }
  .legal-hero h1 { font-size: 2.2rem; }
  .pooja-content h2 { font-size: 2.1rem; }
  .temple-tag { font-size: 9px; }
}
