/* =========================================================
   VivahAura design system
   Alta red (the bridal foot dye of Bengal & Bihar), Muga gold
   (Assam's golden silk), Kajal ink. Jharokha-arch photo frames.
   ========================================================= */
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Variable.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Italic-Variable.ttf") format("truetype"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --alta: #B5123C;
  --alta-deep: #8C0D2E;
  --alta-soft: #FBE9ED;
  --muga: #B98318;
  --muga-bright: #E2A72E;
  --muga-soft: #F8EED8;
  --kajal: #221B3A;
  --kajal-2: #4D4766;
  --kajal-3: #7F7993;
  --paper: #FFFFFF;
  --mist: #F8F4F6;
  --line: #ECE2E7;
  --line-2: #DDD0D7;
  --paan: #2E7D5B;
  --paan-soft: #E4F2EA;
  --warn: #9A5B00;
  --warn-soft: #FFF3DC;

  --f-display: "Lora", Georgia, "Times New Roman", serif;
  --f-body: "Poppins", "Hind", "Noto Sans Bengali", "Noto Sans Devanagari", system-ui, sans-serif;

  --t-xs: .78rem; --t-sm: .875rem; --t-md: 1rem; --t-lg: 1.1875rem; --t-xl: 1.5rem; --t-2xl: 2rem; --t-3xl: 2.75rem; --t-4xl: 3.6rem;
  --r-arch: 999px 999px 22px 22px;
  --r-card: 20px;
  --r-ctl: 12px;
  --shadow-1: 0 1px 2px rgba(34, 27, 58, .06), 0 4px 14px rgba(34, 27, 58, .05);
  --shadow-2: 0 18px 50px -18px rgba(34, 27, 58, .35);
  --wrap: 1180px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: var(--t-md); line-height: 1.6; color: var(--kajal); background: var(--mist); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--alta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--alta-deep); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--kajal); }
h1 { font-size: var(--t-3xl); } h2 { font-size: var(--t-2xl); } h3 { font-size: var(--t-xl); } h4 { font-size: var(--t-lg); }
p { margin: 0 0 1em; }
small, .small { font-size: var(--t-sm); }
.muted { color: var(--kajal-3); }
.soft { color: var(--kajal-2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--muga-bright); outline-offset: 2px; border-radius: 6px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 16px; height: 16px; } .ic.lg { width: 26px; height: 26px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--alta); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font: 500 var(--t-md)/1 var(--f-body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:hover { --bg: var(--alta-deep); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--alta); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--alta); background: var(--alta-soft); }
.btn.ink { --bg: var(--kajal); } .btn.ink:hover { --bg: #000; }
.btn.gold { --bg: var(--muga); } .btn.gold:hover { --bg: #9C6E12; }
.btn.light { --bg: #fff; --fg: var(--alta); border-color: #fff; } .btn.light:hover { --bg: var(--alta-soft); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: var(--t-sm); }
.btn.block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--alta); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
label { display: block; font-size: var(--t-sm); font-weight: 500; color: var(--kajal-2); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: var(--t-xs); color: var(--kajal-3); margin-top: 5px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=time], input[type=number], input[type=url], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-ctl); background: #fff; font: 400 var(--t-md)/1.4 var(--f-body); color: var(--kajal); transition: border-color .15s, box-shadow .15s; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237F7993' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
select[multiple] { background-image: none; padding-right: 14px; min-height: 120px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus, input:not([type]):focus { outline: none; border-color: var(--alta); box-shadow: 0 0 0 4px var(--alta-soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--kajal); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--alta); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-input { position: relative; }
.chip-input input { position: absolute; opacity: 0; pointer-events: none; }
.chip-input span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: var(--t-sm); cursor: pointer; transition: all .15s; user-select: none; }
.chip-input input:checked + span { background: var(--kajal); border-color: var(--kajal); color: #fff; }
.chip-input input:focus-visible + span { outline: 3px solid var(--muga-bright); outline-offset: 2px; }
.seg { display: inline-flex; background: var(--mist); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: var(--t-sm); color: var(--kajal-2); }
.seg input:checked + span { background: #fff; color: var(--alta); box-shadow: var(--shadow-1); font-weight: 500; }
.err { color: var(--alta); font-size: var(--t-sm); margin-top: 6px; }

/* ---------- Alerts / flash ---------- */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; margin-bottom: 14px; font-size: var(--t-sm); border: 1px solid; }
.flash.success { background: var(--paan-soft); border-color: #BEDFCC; color: #1E5A40; }
.flash.error { background: var(--alta-soft); border-color: #F1C5D0; color: var(--alta-deep); }
.flash.info { background: #EEF0FA; border-color: #D3D8F0; color: #2F3A73; }
.flash.warn { background: var(--warn-soft); border-color: #F3DDAE; color: var(--warn); }
.flash-stack { position: fixed; top: calc(var(--nav-h) + 12px); right: 16px; z-index: 80; width: min(420px, calc(100% - 32px)); }
.flash-stack .flash { box-shadow: var(--shadow-2); animation: flashIn .3s ease-out both; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Top navigation ---------- */
.nav { position: sticky; top: 0; z-index: 60; height: var(--nav-h); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--kajal); }
.logo-mark { width: 34px; height: 34px; color: var(--alta); }
.brand b { font: 600 1.45rem/1 var(--f-display); letter-spacing: -.02em; }
.brand b i { font-style: normal; color: var(--alta); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--kajal-2); font-size: var(--t-sm); font-weight: 500; position: relative; }
.nav-links a:hover { background: var(--mist); color: var(--kajal); }
.nav-links a.on { color: var(--alta); background: var(--alta-soft); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--alta); color: #fff; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; line-height: 1; }
.me-btn { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: 500 var(--t-sm) var(--f-body); color: var(--kajal); }
.me-btn img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); min-width: 230px; padding: 8px; display: none; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--kajal); text-decoration: none; font: 400 var(--t-sm) var(--f-body); background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--mist); }
.premium-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--muga); background: var(--muga-soft); padding: 2px 8px; border-radius: 999px; }

/* Mobile bottom tab bar (app-like) */
.tabbar { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav-right .hide-m { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 11px; color: var(--kajal-3); text-decoration: none; position: relative; }
  .tabbar a.on { color: var(--alta); }
  .tabbar .count { position: absolute; top: 0; left: calc(50% + 6px); }
  body.has-tabbar { padding-bottom: 76px; }
}

/* ---------- Page shell ---------- */
.page { padding-top: 32px; padding-bottom: 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: var(--t-2xl); margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--kajal-3); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.panel + .panel { margin-top: 18px; }
.panel h3 { font-size: var(--t-lg); }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-title h3 { margin: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.side-col { display: grid; gap: 18px; position: sticky; top: calc(var(--nav-h) + 20px); }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } .side-col { position: static; } }
.empty { text-align: center; padding: 48px 20px; color: var(--kajal-3); }
.empty .logo-mark { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--line-2); }
.empty h3 { color: var(--kajal); }

/* ---------- Profile card (jharokha arch) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 22px; }
.pcard { position: relative; background: #fff; border-radius: 26px; padding: 10px 10px 16px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.arch { position: relative; border-radius: var(--r-arch); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--alta-soft); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after { content: ""; position: absolute; inset: 6px; border-radius: var(--r-arch); border: 1.5px solid rgba(255, 255, 255, .5); pointer-events: none; }
.arch .lockpill { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; background: rgba(34, 27, 58, .78); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.pcard .online { position: absolute; top: 20px; right: 20px; background: #fff; color: var(--paan); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; display: flex; align-items: center; gap: 5px; z-index: 2; }
.pcard .online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--paan); }
.pcard-body { padding: 14px 8px 0; flex: 1; display: flex; flex-direction: column; }
.pcard h3 { font-size: 1.2rem; margin: 0 0 2px; display: flex; align-items: center; gap: 6px; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vtick { width: 18px; height: 18px; color: var(--paan); }
.pcard .meta { font-size: var(--t-sm); color: var(--kajal-2); margin: 0; }
.pcard .meta2 { font-size: var(--t-xs); color: var(--kajal-3); margin: 2px 0 12px; }
.scores { display: flex; gap: 6px; margin-top: auto; flex-wrap: wrap; position: relative; z-index: 2; }
.score { display: inline-flex; align-items: baseline; gap: 4px; padding: 5px 10px; border-radius: 10px; font-size: 12px; background: var(--mist); color: var(--kajal-2); }
.score b { font-size: 14px; color: var(--kajal); font-weight: 600; }
.score.k { background: var(--muga-soft); } .score.k b { color: #7A5410; }
.score.m { background: var(--alta-soft); } .score.m b { color: var(--alta-deep); }
.score.p { background: var(--paan-soft); } .score.p b { color: #1E5A40; }
.pcard .clan-warn { font-size: 11px; color: var(--warn); margin-top: 8px; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--paan-soft); color: #1E5A40; }
.badge .ic { width: 14px; height: 14px; }
.badge.gold { background: var(--muga-soft); color: #7A5410; }
.badge.red { background: var(--alta-soft); color: var(--alta-deep); }
.badge.grey { background: var(--mist); color: var(--kajal-2); }
.badge.ink { background: var(--kajal); color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tabs a { padding: 10px 16px; text-decoration: none; color: var(--kajal-3); font-size: var(--t-sm); font-weight: 500; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.tabs a.on { color: var(--alta); border-color: var(--alta); }

/* ---------- Progress ---------- */
.meter { height: 8px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.meter > i { display: block; height: 100%; background: linear-gradient(90deg, var(--alta), var(--muga-bright)); border-radius: inherit; }

/* =========================================================
   LANDING
   ========================================================= */
.hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: calc(100vh - var(--nav-h)); max-height: 860px; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 20px; }
.hero .lede { font-size: var(--t-lg); color: var(--kajal-2); max-width: 30em; margin-bottom: 28px; }
.quick { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: var(--shadow-1); max-width: 620px; }
.quick-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.quick label { font-size: 12px; margin-bottom: 4px; }
.quick select { min-height: 44px; font-size: .94rem; padding: 8px 30px 8px 12px; background-position: right 8px center; background-size: 16px; }
.quick .btn { min-height: 44px; }
.hero-proof { display: flex; gap: 22px; margin-top: 22px; color: var(--kajal-2); font-size: var(--t-sm); flex-wrap: wrap; }
.hero-proof span { display: flex; align-items: center; gap: 8px; }
.hero-proof .ic { color: var(--paan); }

.stage { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: end; }
.stage-disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #C4163F 0%, var(--alta) 45%, var(--alta-deep) 100%); }
.alpana { position: absolute; inset: 3%; width: 94%; height: 94%; color: rgba(255, 255, 255, .92); }
.alpana [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.6, .05, .3, 1) forwards; }
.alpana .a2 [pathLength], .alpana circle.a2 { animation-delay: .5s; }
.alpana .a3 [pathLength] { animation-delay: .9s; }
.alpana .a4 [pathLength], .alpana circle.a4 { animation-delay: 1.3s; animation-duration: 2.8s; }
.alpana .dots, .alpana .ring-dash { opacity: 0; animation: fadeIn 1s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.stage-card { position: absolute; background: #fff; border-radius: 26px; padding: 9px 9px 14px; box-shadow: 0 30px 60px -20px rgba(60, 5, 20, .55); width: 41%; opacity: 0; animation: cardIn .8s 1.9s cubic-bezier(.2, .8, .2, 1) forwards; }
.stage-card .arch { aspect-ratio: 4 / 4.4; }
.stage-card h4 { font-size: 1.05rem; margin: 10px 4px 0; }
.stage-card p { font-size: 12px; margin: 0 4px 8px; color: var(--kajal-3); }
.stage-card .scores { padding: 0 2px; gap: 4px; }
.stage-card .score { padding: 4px 7px; font-size: 11px; } .stage-card .score b { font-size: 12.5px; }
.stage-card.c1 { left: 6%; top: 24%; transform: rotate(-5deg); }
.stage-card.c2 { right: 5%; top: 33%; transform: rotate(4deg); animation-delay: 2.1s; }
@keyframes cardIn { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.stage-knot { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; background: var(--muga-bright); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35); z-index: 3; opacity: 0; animation: fadeIn .6s 2.5s forwards; }
.stage-knot .ic { width: 30px; height: 30px; stroke-width: 2; }
@media (prefers-reduced-motion: reduce) {
  .alpana [pathLength] { animation: none; stroke-dashoffset: 0; }
  .alpana .dots, .alpana .ring-dash, .stage-card, .stage-knot { animation: none; opacity: 1; }
  * { scroll-behavior: auto !important; }
}

.section { padding: 88px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-head p { color: var(--kajal-2); font-size: var(--t-lg); margin: 0; }

/* three scores */
.milan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #fff; }
.milan > div { padding: 32px 28px; border-right: 1px solid var(--line); }
.milan > div:last-child { border-right: 0; }
.milan .big { font: 600 3.2rem/1 var(--f-display); margin: 14px 0 6px; letter-spacing: -.03em; }
.milan .big small { font-size: 1.2rem; color: var(--kajal-3); font-weight: 400; }
.milan .k .big { color: #8A5E0F; } .milan .m .big { color: var(--alta); } .milan .p .big { color: var(--paan); }
.milan h3 { font-size: var(--t-lg); margin: 0; display: flex; align-items: center; gap: 8px; }
.milan p { color: var(--kajal-2); font-size: var(--t-sm); margin: 0; }
@media (max-width: 860px) { .milan { grid-template-columns: 1fr; } .milan > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* verification ladder */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.rung { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; position: relative; }
.rung .ic.lg { color: var(--alta); margin-bottom: 14px; }
.rung h4 { margin-bottom: 6px; font-size: 1.1rem; }
.rung p { font-size: var(--t-sm); color: var(--kajal-2); margin: 0; }
.rung .lvl { position: absolute; top: 22px; right: 22px; font-size: 12px; color: var(--kajal-3); }
@media (max-width: 980px) { .ladder { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr; } }

/* mizaaj demo */
.mz-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.qcard { background: var(--kajal); color: #fff; border-radius: 28px; padding: 32px; position: relative; overflow: hidden; }
.qcard::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .15); }
.qcard .cat { font-size: var(--t-sm); color: var(--muga-bright); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.qcard h3 { color: #fff; font-size: 1.7rem; margin-bottom: 22px; }
.qopts { display: grid; gap: 10px; }
.qopt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #fff; font: 400 var(--t-md) var(--f-body); text-align: left; cursor: pointer; transition: all .15s; width: 100%; }
.qopt:hover { border-color: rgba(255, 255, 255, .45); }
.qopt[aria-pressed=true] { background: #fff; color: var(--kajal); border-color: #fff; }
.qopt .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; display: grid; place-items: center; }
.qopt[aria-pressed=true] .dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--alta); }
.qcard .reveal { margin-top: 18px; font-size: var(--t-sm); color: rgba(255, 255, 255, .78); min-height: 1.6em; }
@media (max-width: 860px) { .mz-demo { grid-template-columns: 1fr; gap: 28px; } }

/* regions */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.region { display: block; text-decoration: none; color: var(--kajal); background: #fff; border-radius: 22px; padding: 24px; border: 1px solid var(--line); position: relative; overflow: hidden; min-height: 190px; transition: border-color .2s; }
.region:hover { border-color: var(--alta); color: var(--kajal); }
.region h3 { font-size: 1.35rem; margin-bottom: 6px; }
.region p { font-size: var(--t-sm); color: var(--kajal-2); margin: 0; max-width: 18em; }
.region .motif { position: absolute; right: -26px; bottom: -26px; width: 110px; height: 110px; color: var(--alta-soft); }
.region .go { position: absolute; left: 24px; bottom: 20px; font-size: var(--t-sm); color: var(--alta); font-weight: 500; }
@media (max-width: 980px) { .regions { grid-template-columns: 1fr 1fr; } }

/* family band */
.family-band { background: var(--alta); color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.family-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.family-band p { color: rgba(255, 255, 255, .85); }
.family-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.family-band li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 14px 16px; font-size: var(--t-sm); }
.family-band li .ic { color: var(--muga-bright); margin-top: 2px; }
.family-band li b { display: block; font-size: var(--t-md); font-weight: 500; }
@media (max-width: 860px) { .family-band { grid-template-columns: 1fr; padding: 32px 24px; } }

.cta-end { text-align: center; padding: 96px 0; }
.cta-end h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16em; margin: 0 auto 14px; }
.cta-end p { color: var(--kajal-2); margin-bottom: 28px; }

.footer { background: var(--kajal); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; font-size: var(--t-sm); }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer h5 { color: #fff; font: 500 var(--t-md) var(--f-body); margin: 0 0 12px; }
.footer a { color: rgba(255, 255, 255, .7); text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .logo-mark { color: var(--muga-bright); }
.footer .base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; max-height: none; padding-top: 28px; }
  .stage { justify-self: center; max-width: 460px; order: -1; }
}
@media (max-width: 640px) {
  h1 { font-size: 2.1rem; }
  .quick-row { grid-template-columns: 1fr 1fr; }
  .quick-row .btn { grid-column: 1 / -1; }
  .section { padding: 60px 0; }
  .regions { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .stage-card { width: 44%; }
}

/* =========================================================
   AUTH
   ========================================================= */
.auth { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { background: var(--alta); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 48px; color: #fff; }
.auth-art .alpana { inset: auto; width: 130%; height: auto; left: -15%; top: -10%; color: rgba(255, 255, 255, .22); }
.auth-art .alpana [pathLength] { animation: none; stroke-dashoffset: 0; }
.auth-art .alpana .dots, .auth-art .alpana .ring-dash { opacity: 1; animation: none; }
.auth-art blockquote { position: relative; margin: 0; font: 500 1.6rem/1.35 var(--f-display); max-width: 18em; }
.auth-art blockquote small { display: block; margin-top: 14px; font: 400 var(--t-sm) var(--f-body); color: rgba(255, 255, 255, .75); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: #fff; }
.auth-form .box { width: 100%; max-width: 440px; }
.auth-form h1 { font-size: var(--t-2xl); margin-bottom: 6px; }
.auth-form .sub { color: var(--kajal-3); margin-bottom: 26px; }
.steps { display: flex; gap: 6px; margin-bottom: 22px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps i.on { background: var(--alta); }
.js .step { display: none; }
.js .step.on { display: block; animation: stepIn .25s ease-out; }
.step-nav .js-only { display: none; } .js .step-nav .js-only { display: inline-flex; } .js .no-js-only { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } }
.step-nav { display: flex; gap: 10px; margin-top: 8px; }
.step-nav .btn { flex: 1; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* =========================================================
   PROFILE PAGE
   ========================================================= */
.prof-top { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.prof-photo .arch { aspect-ratio: 4 / 5; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs img { width: 62px; height: 62px; object-fit: cover; border-radius: 14px; border: 2px solid transparent; cursor: pointer; }
.thumbs img.on { border-color: var(--alta); }
.prof-id { font-size: var(--t-xs); color: var(--kajal-3); }
.prof-head h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin: 2px 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--kajal-2); margin: 14px 0 18px; font-size: var(--t-sm); }
.facts span { display: flex; align-items: center; gap: 7px; }
.facts .ic { color: var(--kajal-3); width: 18px; height: 18px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 6px; }
.actions form { margin: 0; }
.compat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.compat > div { border-radius: 18px; padding: 16px; border: 1px solid var(--line); background: #fff; }
.compat .lbl { font-size: 12px; color: var(--kajal-3); display: flex; align-items: center; gap: 6px; }
.compat .num { font: 600 1.9rem/1.1 var(--f-display); margin: 6px 0 2px; }
.compat .sub { font-size: 12px; color: var(--kajal-2); }
.compat .k .num { color: #8A5E0F; } .compat .m .num { color: var(--alta); } .compat .p .num { color: var(--paan); }
.compat a.more { font-size: 12px; display: inline-block; margin-top: 6px; }
.prompt { border-left: 3px solid var(--alta); padding: 4px 0 4px 16px; margin: 0 0 18px; }
.prompt .q { font-size: var(--t-sm); color: var(--kajal-3); margin-bottom: 4px; }
.prompt .a { font: 500 1.25rem/1.4 var(--f-display); color: var(--kajal); }
.dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; font-size: var(--t-sm); margin: 0; }
.dl dt { color: var(--kajal-3); }
.dl dd { margin: 0; color: var(--kajal); }
.shared { display: grid; gap: 8px; }
.shared div { font-size: var(--t-sm); background: var(--alta-soft); border-radius: 12px; padding: 10px 12px; }
.shared b { display: block; font-weight: 500; }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 1fr 44px; gap: 10px; align-items: center; font-size: var(--t-sm); }
.bar-row .meter { grid-column: 1 / -1; height: 6px; }
.locked { position: relative; }
.locked .blurred { filter: blur(5px); pointer-events: none; user-select: none; }
.locked .unlock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; background: rgba(255, 255, 255, .55); border-radius: 14px; padding: 16px; }
@media (max-width: 860px) { .prof-top { grid-template-columns: 1fr; } .prof-photo { max-width: 380px; margin: 0 auto; width: 100%; } .compat { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .compat > div { padding: 12px; } .compat .num { font-size: 1.5rem; } .dl { grid-template-columns: 130px 1fr; } }

/* kundli report */
.koota-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.koota-table th, .koota-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.koota-table th { color: var(--kajal-3); font-weight: 500; font-size: 12px; }
.koota-table td.n { text-align: right; font-weight: 600; white-space: nowrap; }
.koota-table tr.zero td.n { color: var(--alta); }
.guna-dial { width: 180px; height: 180px; margin: 0 auto; position: relative; }
.guna-dial svg { transform: rotate(-90deg); }
.guna-dial .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.guna-dial .val b { font: 600 2.8rem/1 var(--f-display); display: block; }
.guna-dial .val span { font-size: 12px; color: var(--kajal-3); }

/* ---------- Search ---------- */
.search-layout { display: grid; grid-template-columns: 290px 1fr; gap: 26px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 40px); overflow-y: auto; }
.filters h3 { font-size: var(--t-lg); display: flex; justify-content: space-between; align-items: center; }
.filters .field { margin-bottom: 14px; }
.filters select, .filters input { min-height: 42px; font-size: var(--t-sm); }
.filter-toggle { display: none; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--kajal); background: #fff; font-size: var(--t-sm); padding: 0 10px; }
.pager .on { background: var(--kajal); color: #fff; border-color: var(--kajal); }
@media (max-width: 980px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: 10vh; max-height: none; border-radius: 24px 24px 0 0; z-index: 90; transform: translateY(105%); transition: transform .3s; box-shadow: 0 -20px 60px rgba(0, 0, 0, .2); }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
}

/* ---------- Dashboard ---------- */
.dash-hello { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.dash-hello h1 { font-size: var(--t-2xl); margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; text-decoration: none; color: var(--kajal); display: block; }
.stat:hover { border-color: var(--alta); color: var(--kajal); }
.stat .n { font: 600 1.8rem/1.1 var(--f-display); }
.stat .l { font-size: var(--t-sm); color: var(--kajal-3); display: flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.todo li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: var(--t-sm); }
.todo li:last-child { border-bottom: 0; }
.todo { list-style: none; padding: 0; margin: 0; }
.todo .ic { color: var(--kajal-3); }
.todo li.done .ic { color: var(--paan); }
.todo li.done a { color: var(--kajal-3); text-decoration: line-through; }
.aaj { background: var(--kajal); color: #fff; border-radius: var(--r-card); padding: 22px; }
.aaj h3 { color: #fff; font-size: 1.25rem; }
.aaj .qopt { padding: 10px 12px; font-size: var(--t-sm); }
.aaj .lbl { font-size: 12px; color: var(--muga-bright); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }

/* ---------- Interests / list rows ---------- */
.rows { display: grid; gap: 12px; }
.row { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px 12px 12px; }
.row .av { width: 64px; height: 72px; border-radius: 999px 999px 14px 14px; overflow: hidden; flex: none; background: var(--alta-soft); }
.row .av img { width: 100%; height: 100%; object-fit: cover; }
.row .info { flex: 1; min-width: 0; }
.row .info b { font-weight: 600; display: block; }
.row .info b a { color: var(--kajal); text-decoration: none; }
.row .info .note { font-size: var(--t-sm); color: var(--kajal-2); margin-top: 4px; font-style: italic; }
.row .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.row .acts form { margin: 0; }
@media (max-width: 640px) { .row { flex-wrap: wrap; } .row .acts { width: 100%; justify-content: flex-start; } }

/* ---------- Chat ---------- */
.chat-shell { display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; height: calc(100vh - var(--nav-h) - 64px); min-height: 520px; }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat-list a { display: flex; gap: 12px; padding: 14px 16px; text-decoration: none; color: var(--kajal); border-bottom: 1px solid var(--line); align-items: center; }
.chat-list a.on, .chat-list a:hover { background: var(--mist); }
.chat-list img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.chat-list .t { flex: 1; min-width: 0; }
.chat-list .t b { font-weight: 500; display: flex; justify-content: space-between; gap: 6px; }
.chat-list .t b small { color: var(--kajal-3); font-weight: 400; font-size: 11px; }
.chat-list .t span { display: block; font-size: var(--t-sm); color: var(--kajal-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat-head .who { flex: 1; }
.chat-head .who b { display: block; }
.chat-head .who small { color: var(--paan); }
.chat-body { flex: 1; overflow-y: auto; padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.6' fill='%23E5D6DD'/%3E%3C/svg%3E"); }
.msg { max-width: min(76%, 520px); padding: 10px 14px; border-radius: 18px; font-size: var(--t-sm); line-height: 1.5; position: relative; word-wrap: break-word; }
.msg.them { background: #fff; align-self: flex-start; border-bottom-left-radius: 6px; border: 1px solid var(--line); }
.msg.me { background: var(--alta); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.msg time { display: block; font-size: 10.5px; opacity: .65; margin-top: 3px; text-align: right; }
.msg-warn { align-self: center; max-width: 90%; display: flex; gap: 8px; align-items: flex-start; font-size: 12px; background: var(--warn-soft); color: var(--warn); border: 1px solid #F3DDAE; border-radius: 12px; padding: 8px 12px; }
.icebreak { align-self: center; font-size: 12px; color: var(--kajal-2); background: #fff; border: 1px dashed var(--line-2); padding: 8px 14px; border-radius: 999px; text-align: center; }
.chat-form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-form textarea { min-height: 46px; max-height: 140px; border-radius: 22px; padding: 12px 16px; resize: none; }
.chat-form .btn { width: 46px; padding: 0; flex: none; }
.chat-lock { padding: 16px; border-top: 1px solid var(--line); text-align: center; font-size: var(--t-sm); background: var(--muga-soft); }
@media (max-width: 860px) {
  .chat-shell { grid-template-columns: 1fr; height: calc(100vh - var(--nav-h) - 74px); height: calc(100dvh - var(--nav-h) - 74px); min-height: 0; border-radius: 0; border: 0; }
  body.chat-body-page { padding-bottom: 0; overflow: hidden; }
  .chat-shell.has-thread .chat-list { display: none; }
  .chat-shell:not(.has-thread) .chat-main { display: none; }
  .page.chat-page { padding: 0; }
  .page.chat-page .wrap { padding: 0; }
}

/* ---------- Mizaaj quiz page ---------- */
.quiz { max-width: 720px; margin: 0 auto; }
.quiz-q { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; margin-bottom: 18px; }
.quiz-q .cat { font-size: 12px; color: var(--alta); display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.quiz-q h3 { font-size: 1.35rem; margin-bottom: 16px; }
.quiz-q .sub { font-size: var(--t-sm); color: var(--kajal-2); margin: 18px 0 8px; font-weight: 500; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 14px; font-size: var(--t-sm); cursor: pointer; min-height: 48px; transition: all .12s; }
.opt input:checked + span { border-color: var(--alta); background: var(--alta-soft); color: var(--alta-deep); font-weight: 500; }
.opt input[type=checkbox]:checked + span { border-color: var(--kajal); background: var(--kajal); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--muga-bright); outline-offset: 2px; }
@media (max-width: 560px) { .opt-grid { grid-template-columns: 1fr; } }
.quiz-bar { position: sticky; bottom: 0; background: rgba(248, 244, 246, .95); backdrop-filter: blur(8px); padding: 14px 0; display: flex; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .quiz-bar { bottom: 70px; } }

/* ---------- Premium ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan.hl { border-color: var(--alta); box-shadow: var(--shadow-2); }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--alta); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan .price { font: 600 2.6rem/1 var(--f-display); margin: 14px 0 4px; }
.plan .price small { font: 400 var(--t-sm) var(--f-body); color: var(--kajal-3); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; font-size: var(--t-sm); flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li .ic { color: var(--paan); width: 18px; height: 18px; margin-top: 2px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Photos manager ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.ph { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; }
.ph .arch { aspect-ratio: 4 / 5; }
.ph .bar { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px 2px 0; }
.ph .bar form { margin: 0; }
.drop { border: 2px dashed var(--line-2); border-radius: 18px; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--kajal-3); min-height: 200px; cursor: pointer; background: #fff; }
.drop:hover { border-color: var(--alta); color: var(--alta); }

/* ---------- Edit profile sections ---------- */
.edit-layout { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; }
.edit-nav { display: grid; gap: 4px; position: sticky; top: calc(var(--nav-h) + 20px); }
.edit-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--kajal-2); font-size: var(--t-sm); }
.edit-nav a.on { background: #fff; color: var(--alta); box-shadow: var(--shadow-1); font-weight: 500; }
@media (max-width: 860px) { .edit-layout { grid-template-columns: 1fr; } .edit-nav { position: static; display: flex; overflow-x: auto; } .edit-nav a { white-space: nowrap; } }

/* ---------- Modal (report) ---------- */
dialog { border: 0; border-radius: 22px; padding: 0; width: min(480px, calc(100% - 32px)); box-shadow: var(--shadow-2); }
dialog::backdrop { background: rgba(34, 27, 58, .5); }
dialog .dlg { padding: 24px; }
dialog .dlg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
dialog .dlg-head h3 { margin: 0; }
.x-btn { background: none; border: 0; cursor: pointer; color: var(--kajal-3); padding: 6px; border-radius: 8px; }

/* ---------- Static/legal ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose li { margin-bottom: 6px; }

/* ---------- Error page ---------- */
.err-page { text-align: center; padding: 100px 20px; }
.err-page .code { font: 600 6rem/1 var(--f-display); color: var(--alta-soft); -webkit-text-stroke: 2px var(--alta); }
.region { padding-bottom: 56px; }
.footer a.brand { display: flex; }
.footer .brand b i { color: var(--muga-bright); }
.chat-head .x-btn { display: none; }
@media (max-width: 860px) { .chat-head .x-btn { display: inline-flex; } }
.panel h3 .ic { vertical-align: -3px; }
.ic { display: inline-block; vertical-align: -4px; }
.ic.sm { vertical-align: -3px; }

@media (max-width: 640px) {
  .page-head form { flex: 1 1 100% !important; max-width: none !important; }
  .page-head h1 { font-size: 1.7rem; }
  .dash-hello > div:last-child { min-width: 0 !important; width: 100%; }
}
@media (max-width: 860px) {
  body.chat-body-page .tabbar { display: none; }
  body.chat-body-page .chat-shell.has-thread { height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard { padding: 6px 6px 12px; border-radius: 20px; }
  .pcard-body { padding: 10px 4px 0; }
  .pcard h3 { font-size: 1rem; }
  .pcard .meta { font-size: 12px; }
  .pcard .meta2 { display: none; }
  .pcard .online { top: 12px; right: 12px; }
  .score { font-size: 11px; padding: 4px 7px; } .score b { font-size: 12.5px; }
  .arch .lockpill { font-size: 10.5px; padding: 4px 9px; bottom: 8px; }
}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Sponsored ads ---------- */
.ad { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--kajal); background: #fff; border: 1px dashed var(--line-2); border-radius: 18px; padding: 10px; margin: 0 0 22px; overflow: hidden; }
.ad:hover { border-color: var(--muga); color: var(--kajal); }
.ad img { width: 180px; height: 72px; object-fit: cover; border-radius: 12px; flex: none; }
.ad .ad-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ad .ad-text b { font: 600 1.05rem/1.3 var(--f-display); }
.ad .ad-text span { font-size: var(--t-sm); color: var(--kajal-2); }
.ad .ad-tag { font-size: 11px !important; color: var(--muga) !important; font-weight: 600; }
.ad-card { flex-direction: column; align-items: stretch; margin: 0; border-radius: 26px; padding: 10px 10px 16px; }
.ad-card img { width: 100%; height: auto; aspect-ratio: 4 / 4.6; border-radius: var(--r-arch); }
.ad-card .ad-text { padding: 6px 8px 0; }
@media (max-width: 640px) { .ad img { width: 96px; height: 64px; } }

/* ---------- About / Team / Partners ---------- */
.about-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.founder { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; }
.founder .arch, .tm .arch { aspect-ratio: 4 / 4.6; }
.founder blockquote { margin: 0; font: 500 1.2rem/1.5 var(--f-display); color: var(--kajal); }
.founder cite { display: block; margin-top: 10px; font: 400 var(--t-sm) var(--f-body); color: var(--kajal-3); font-style: normal; }
.promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.promises li { display: flex; gap: 10px; align-items: flex-start; }
.promises .ic { color: var(--paan); margin-top: 3px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.tm { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 10px 10px 18px; }
.tm.lead { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; padding: 14px; }
.tm h3 { margin: 12px 6px 2px; font-size: 1.2rem; } .tm.lead h3 { font-size: 1.8rem; margin-top: 0; }
.tm .role { margin: 0 6px; color: var(--alta); font-size: var(--t-sm); font-weight: 500; }
.tm p.bio { margin: 8px 6px 0; font-size: var(--t-sm); color: var(--kajal-2); }
.tm a.li { display: inline-block; margin: 8px 6px 0; font-size: var(--t-sm); }
.company { font-size: var(--t-sm); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--kajal); }
.pc:hover { border-color: var(--alta); color: var(--kajal); }
.pc img, .pc .ph-empty { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--muga-soft); }
.pc .ph-empty { display: grid; place-items: center; color: var(--muga); }
.pc .b { padding: 14px 16px 16px; }
.pc h3 { font-size: 1.15rem; margin: 0 0 4px; display: flex; gap: 6px; align-items: center; }
.pc .m { font-size: var(--t-sm); color: var(--kajal-3); }
.pc .offer { margin-top: 10px; font-size: var(--t-sm); color: var(--alta-deep); background: var(--alta-soft); border-radius: 10px; padding: 6px 10px; }
.chipnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chipnav a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); text-decoration: none; color: var(--kajal-2); font-size: var(--t-sm); background: #fff; }
.chipnav a.on { background: var(--kajal); color: #fff; border-color: var(--kajal); }
.offer-card { border: 1.5px solid var(--alta); border-radius: 20px; padding: 18px; background: #fff; margin-bottom: 14px; }
.offer-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.coupon { border: 2px dashed var(--muga); border-radius: 20px; padding: 18px; background: #fff; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.coupon .code { font: 600 1.5rem/1 monospace; letter-spacing: .08em; color: var(--kajal); background: var(--muga-soft); padding: 12px 16px; border-radius: 12px; text-align: center; }
.coupon.used { opacity: .55; }
.verify-box { max-width: 560px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.verify-box .big-ic { width: 64px; height: 64px; margin: 0 auto 12px; }
@media (max-width: 860px) { .about-hero, .founder, .tm.lead { grid-template-columns: 1fr; } .founder .arch, .tm.lead .arch { max-width: 240px; } .coupon { grid-template-columns: 1fr; } }
.arch .initials { width: 100%; height: 100%; display: grid; place-items: center; font: 600 3rem var(--f-display); color: var(--alta); background: var(--alta-soft); }

/* ---------- Language ---------- */
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--kajal-2); font: 500 var(--t-sm) var(--f-body); cursor: pointer; }
.lang-btn:hover { border-color: var(--line-2); color: var(--kajal); }
.lang-dd .dropdown-menu { min-width: 170px; }
.lang-dd .dropdown-menu a.on { color: var(--alta); font-weight: 500; }
.foot-langs { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-langs a { display: inline !important; }
.foot-langs a.on { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }
.lang-sheet { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 95; width: min(520px, calc(100% - 24px)); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-2); padding: 16px 18px; animation: flashIn .3s ease-out both; }
.lang-sheet-in { display: grid; gap: 4px; text-align: center; }
.lang-sheet b { font: 600 1.1rem var(--f-display); }
.lang-sheet span { color: var(--kajal-3); font-size: var(--t-sm); }
.lang-opts { display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.lang-opts .btn { min-width: 110px; }
body.has-tabbar .lang-sheet { bottom: 86px; }
:lang(hi) body, .lang-hi { font-family: "Poppins", "Nirmala UI", "Noto Sans Devanagari", system-ui, sans-serif; }
.lang-hi h1, .lang-hi h2, .lang-hi h3, .lang-hi h4 { font-family: "Poppins", "Nirmala UI", "Noto Sans Devanagari", sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
@media (max-width: 860px) { .lang-btn span { display: none; } .lang-btn { width: 36px; padding: 0; justify-content: center; } }

/* 2-step verification */
.qr-setup{display:grid;grid-template-columns:240px 1fr;gap:24px;align-items:start;margin-top:10px}
.qr-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px;width:240px}
.qr-box svg{display:block;width:100%;height:auto}
.totp-key{background:var(--mist);border-radius:12px;padding:10px 12px;font:600 1rem/1.5 monospace;letter-spacing:.06em;word-break:break-all}
.backup-codes{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}
.backup-codes code{background:var(--mist);border-radius:10px;padding:10px;text-align:center;font:600 1.05rem monospace;letter-spacing:.08em}
.nudge-2fa{display:flex;gap:14px;align-items:center;background:#EEF6F1;border:1px solid #CFE6D8;border-radius:18px;padding:14px 18px;margin-bottom:22px}
.nudge-2fa .t{flex:1}.nudge-2fa b{display:block}.nudge-2fa form{margin:0}
@media (max-width:640px){.qr-setup{grid-template-columns:1fr}.qr-box{margin:auto}.nudge-2fa{flex-wrap:wrap}}
@media print{.backup-codes code{border:1px solid #999}}
.foot-ck{color:inherit;opacity:.85;font:inherit;padding:0;text-align:left}
.consent-box{background:var(--mist);border-radius:14px;padding:14px}
.consent-box .req{font-size:.72rem;color:var(--alta);text-transform:uppercase;letter-spacing:.04em;margin-left:4px}
.reconsent{background:#FFF4D6;border-bottom:1px solid #EED9AA;padding:10px 0;font-size:.92rem}
.reconsent .wrap{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.reconsent form{margin:0}
.photo-ask{margin:10px 0 0;text-align:center}

/* cookie banner – Accept / Reject / Customize have the same weight */
.ck-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: flex; justify-content: center; }
.has-tabbar .ck-banner { bottom: 76px; }
.ck-banner[hidden] { display: none; }
.ck-banner .ck-in { max-width: 760px; width: 100%; background: #fff; border: 1px solid var(--line, #e7dcd3); border-radius: 14px; box-shadow: 0 10px 40px rgba(40, 10, 20, .18); padding: 16px 18px; font-size: 14px; }
.ck-banner p { margin: 0 0 10px; }
.ck-banner .ck-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ck-banner .ck-btns .btn, .ck-banner summary.btn { min-width: 130px; justify-content: center; }
.ck-banner details { margin-bottom: 10px; }
.ck-banner details summary { list-style: none; cursor: pointer; display: inline-flex; }
.ck-banner details summary::-webkit-details-marker { display: none; }
.ck-banner details[open] summary { margin-bottom: 10px; }
.ck-banner details .check { margin-bottom: 8px; }
.ck-banner.inline { position: static; margin: 20px 0; }
.ck-banner.inline .ck-in { box-shadow: none; max-width: none; }
.ad-unit { margin: 24px auto; max-width: 970px; text-align: center; }
.ad-label { display: block; font-size: 11px; color: #8a7d76; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
