/* Friday Matrimony: shared styles (landing + app + staff portal) */
:root {
	--maroon: #7B1538;
	--maroon-2: #8A2342;
	--maroon-ink: #43091C;
	--gold: #C9932B;
	--gold-2: #E2AE4A;
	--gold-soft: #F6E7C8;
	--ivory: #FBF6EE;
	--sand: #F3EADF;
	--paper: #FFFFFF;
	--ink: #251A1E;
	--ink-2: #4B3D42;
	--muted: #7A6B70;
	--line: #E8DDD2;
	--blue: #1D72D8;
	--green: #1F7A4F;
	--green-soft: #E3F2EA;
	--red: #B3261E;
	--red-soft: #FBE9E7;
	--amber: #9A6408;
	--amber-soft: #FBF0DA;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(60, 20, 30, .06), 0 8px 24px rgba(60, 20, 30, .08);
	--shadow-lg: 0 12px 40px rgba(60, 20, 30, .18);
	--font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Tamil', sans-serif;
	color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--ivory); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
svg.i { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 999px; background: none; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .icon-btn:focus-visible, a:focus-visible { outline: 3px solid rgba(201, 147, 43, .55); outline-offset: 2px; }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-2); }
.btn-gold { background: var(--gold); color: #2B1A05; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #d6c6b6; }
.btn-soft { background: var(--gold-soft); color: var(--maroon-ink); }
.btn-soft:hover { background: #f1dcb0; }
.btn-danger { background: #fff; border-color: #efc8c4; color: var(--red); }
.btn-success { background: var(--green); color: #fff; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.is-busy { opacity: .6; cursor: not-allowed; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2); cursor: pointer; text-decoration: none; flex: none; }
.icon-btn:hover { color: var(--maroon); border-color: #d6c6b6; }
.icon-btn.on { background: var(--gold-soft); color: var(--maroon); border-color: #ecd29e; }
.link { background: none; border: 0; padding: 0; color: var(--maroon); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: ' \2192'; }

/* ---------- Forms ---------- */
label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
input, select, textarea { display: block; width: 100%; min-height: 46px; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 15px; font-weight: 500; color: var(--ink); appearance: none; -webkit-appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%237A6B70' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(110, 22, 49, .14); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--maroon); appearance: auto; -webkit-appearance: auto; flex: none; }
input[type=file] { padding: 9px; }
.hint { display: block; margin-top: 5px; font-size: 12px; font-weight: 500; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.check input { margin-top: 1px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.checks .pill-check { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.checks .pill-check:has(input:checked) { background: var(--gold-soft); border-color: #e6c983; color: var(--maroon-ink); }
.checks .pill-check input { width: 16px; height: 16px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin: 6px 0 14px; border-radius: 999px; background: var(--sand); }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 10px; border-radius: 999px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--maroon); box-shadow: 0 1px 3px rgba(60, 20, 30, .12); }
.seg input:focus-visible + span { outline: 3px solid rgba(201, 147, 43, .55); }
.field-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.err-text { color: var(--red); font-size: 13px; font-weight: 600; min-height: 1em; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-wrap .pw-toggle { position: absolute; right: 6px; bottom: 6px; width: 36px; height: 34px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.otp-input { letter-spacing: .5em; font-size: 22px; text-align: center; font-weight: 700; }

/* ---------- Chips & badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip-new { background: var(--gold); color: #2B1A05; }
.chip-green { background: var(--green-soft); color: var(--green); }
.chip-red { background: var(--red-soft); color: var(--red); }
.chip-amber { background: var(--amber-soft); color: var(--amber); }
.chip-maroon { background: #F5E3E8; color: var(--maroon); }
.chip-blue { background: #E4EEFB; color: var(--blue); }
.vbadge { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.vbadge svg { width: 13px; height: 13px; stroke-width: 3; }
.badge-count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; border: 2px solid var(--ivory); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--maroon-ink); font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.brand b { font-weight: 600; color: var(--maroon); }
.brand .logo, .logo { width: 36px; height: 36px; flex: none; }

/* ================= LANDING ================= */
.lp-nav { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 238, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lp-nav .wrap { display: flex; align-items: center; gap: 16px; height: 66px; }
.lp-links { display: none; gap: 24px; margin-left: 24px; }
.lp-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; }
.lp-links a:hover { color: var(--maroon); }
.lp-cta { margin-left: auto; display: flex; gap: 8px; }
.lp-cta .btn-ghost { display: none; }
.lp-cta .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }

.hero { position: relative; padding: 36px 0 48px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(201, 147, 43, .38) 1.1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 28px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 8.5vw, 62px); line-height: 1.04; letter-spacing: -.02em; color: var(--maroon-ink); margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--maroon); font-weight: 500; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: 14px; }
.hero-points li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%236E1631' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.search-card { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); align-self: start; }
.search-card h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--maroon-ink); }
.search-card .seg span { font-size: 13px; }
.fine { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); }

.tracks { padding: 8px 0 40px; }
.grid2 { display: grid; gap: 18px; }
.track { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.track h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--maroon-ink); }
.track .tag { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--sand); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon); }
.track-second { background: var(--maroon); color: #f6e9ec; border-color: var(--maroon); }
.track-second h2 { color: #fff; }
.track-second .tag { background: rgba(246, 231, 200, .16); color: var(--gold-2); }
.track-second a { color: var(--gold-2); }

.sec-title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 40px); font-weight: 600; letter-spacing: -.015em; color: var(--maroon-ink); text-align: center; margin-bottom: 14px; }
.sec-title.left { text-align: left; }
.how, .porutham, .plans, .faq { padding: 48px 0; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.steps .num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--gold-soft); color: var(--maroon); font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); margin: 0; }
.safety { padding: 48px 0; background: var(--sand); }
.safe-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.safe-list li { padding: 18px 20px; border-radius: 16px; background: #fff; border-left: 4px solid var(--gold); }
.safe-list b { display: block; margin-bottom: 4px; color: var(--maroon-ink); font-size: 16px; }
.safe-list span { color: var(--muted); font-size: 14px; }
.chips { list-style: none; padding: 0; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--maroon); font-size: 14px; }
.plan-grid { display: grid; gap: 16px; max-width: 780px; margin: 26px auto 0; }
.plan { display: flex; flex-direction: column; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.plan h3 { font-size: 18px; color: var(--ink-2); }
.plan .price { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--maroon-ink); margin: 2px 0 14px; }
.plan .price small { font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 14px; color: var(--ink-2); }
.plan li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' fill='none'%3E%3Cpath d='M1 3.5l2.5 2.5L8 1' stroke='%236E1631' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.plan-hi { border: 2px solid var(--gold); box-shadow: var(--shadow); position: relative; }
.plan-hi::before { content: 'Full access'; position: absolute; top: -12px; right: 20px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: #2B1A05; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.callback { padding: 48px 0; }
.cb-form { background: #fff; padding: 22px; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cb-status { margin: 10px 0 0; font-size: 14px; font-weight: 600; min-height: 1.2em; }
.cb-status.ok { color: var(--green); }
.cb-status.err { color: var(--red); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--gold); line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); padding-bottom: 6px; }
.lp-foot { background: var(--maroon-ink); color: #e9d9dd; padding: 40px 0 0; margin-top: 20px; }
.lp-foot .brand { color: #fff; }
.lp-foot .brand b { color: var(--gold-2); }
.lp-foot .muted { color: #c9b2b8; font-size: 14px; margin-top: 12px; }
.foot-grid { display: grid; gap: 24px; }
.foot-grid h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
.foot-grid a:not(.brand) { display: block; color: #f3e6e9; text-decoration: none; padding: 4px 0; font-size: 14px; }
.foot-grid a:not(.brand):hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding: 16px; font-size: 13px; color: #c9b2b8; }
.legal { padding: 40px 0 60px; }
.legal h1 { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--maroon-ink); }
.legal-body h2 { font-size: 20px; margin-top: 28px; color: var(--maroon-ink); }
.legal-body li { margin-bottom: 6px; color: var(--ink-2); }
.center-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 8px; }
.center-screen .logo { width: 64px; height: 64px; margin-bottom: 8px; }

@media (min-width: 720px) {
	.lp-cta .btn-ghost { display: inline-flex; }
	.grid2 { grid-template-columns: 1fr 1fr; gap: 24px; }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.plan-grid { grid-template-columns: 1fr 1fr; }
	.foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
	.safety .grid2, .callback .grid2 { align-items: center; }
}
@media (min-width: 980px) {
	.lp-links { display: flex; }
	.hero { padding: 72px 0 80px; }
	.hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
	.search-card { padding: 28px; }
}

/* ================= APP ================= */
.app-body { min-height: 100vh; }
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot .logo { width: 64px; height: 64px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.9); opacity: .6; } }

.topbar { position: sticky; top: 0; z-index: 30; background: rgba(251, 246, 238, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.topbar .brand { font-size: 19px; }
.topbar .brand .logo { width: 32px; height: 32px; }
.topnav { display: none; gap: 4px; margin: 0 auto; }
.topnav a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 14px; }
.topnav a:hover { background: var(--sand); }
.topnav a.active { background: var(--maroon); color: #fff; }
.topnav a .badge-count { position: static; border: 0; margin-left: 2px; }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--gold-soft); color: var(--maroon); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; flex: none; overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 36px; height: 36px; font-size: 14px; }
.avatar.lg { width: 76px; height: 76px; font-size: 26px; }

.bottomnav { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 30px rgba(60, 20, 30, .16); }
.bottomnav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; border-radius: 18px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700; transition: background .2s, color .2s; }
.bottomnav a svg { width: 22px; height: 22px; }
.bottomnav a.active { color: var(--maroon); background: #F6E9EC; }
.bottomnav .badge-count { top: 2px; right: calc(50% - 22px); }

.view { padding: 18px 0 120px; }
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.page-head h1 { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--maroon-ink); margin: 0; letter-spacing: -.01em; }
.page-head .sub { color: var(--muted); font-size: 14px; }
.page-head .spacer { flex: 1; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 14px; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 26px 0 12px; }
.section-title h2 { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--maroon-ink); margin: 0; }
.section-title a { font-weight: 700; font-size: 14px; text-decoration: none; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card + .card { margin-top: 14px; }
.card h3 { font-size: 16px; margin-bottom: 10px; }
.card-tight { padding: 14px; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.banner svg { flex: none; margin-top: 1px; }
.banner p { margin: 0; }
.banner .btn { margin-left: auto; }
.banner-amber { background: var(--amber-soft); color: #6b4705; }
.banner-red { background: var(--red-soft); color: var(--red); }
.banner-green { background: var(--green-soft); color: var(--green); }
.banner-maroon { background: #F5E3E8; color: var(--maroon-ink); }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty svg { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 10px; }
.empty h3 { color: var(--ink); font-size: 17px; }

/* Home */
.hello { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 20px; background: var(--maroon); color: #f8eaee; position: relative; overflow: hidden; }
.hello::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background-image: radial-gradient(circle at 1px 1px, rgba(226, 174, 74, .5) 1px, transparent 1.5px); background-size: 14px 14px; opacity: .6; }
.hello h1 { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: #fff; margin: 0 0 2px; }
.hello p { margin: 0; font-size: 14px; color: #ead2d8; }
.hello .btn { position: relative; z-index: 1; }
.ring { --p: 0; position: relative; width: 64px; height: 64px; border-radius: 50%; flex: none; background: conic-gradient(var(--gold-2) calc(var(--p) * 1%), rgba(255, 255, 255, .18) 0); display: grid; place-items: center; z-index: 1; }
.ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--maroon); }
.ring span { position: relative; font-weight: 800; font-size: 15px; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.stat b { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--maroon); line-height: 1.1; }
.stat span { font-size: 13px; font-weight: 600; color: var(--muted); }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.promo { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: linear-gradient(120deg, #fff 0%, var(--gold-soft) 100%); border: 1px solid #efd9a8; }
.promo .icon-wrap { width: 46px; height: 46px; border-radius: 14px; background: var(--maroon); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.promo h3 { margin: 0 0 2px; font-size: 16px; }
.promo p { margin: 0; font-size: 13px; color: var(--ink-2); }
.promo .btn { margin-left: auto; }
.quick-cards { display: grid; gap: 10px; margin-top: 14px; }

/* Profile cards */
.grid-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ph { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(150deg, #F1E4D6, #E5CFBC); overflow: hidden; user-select: none; -webkit-user-select: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ph-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--maroon); text-align: center; padding: 10px; }
.ph-empty .ini { font-family: var(--font-display); font-size: 44px; font-weight: 600; opacity: .55; }
.ph-empty small { font-size: 11px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 4px; }
.ph-empty small svg { width: 13px; height: 13px; }
.wm::after { content: attr(data-wm); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-24deg); font-size: 15px; font-weight: 800; letter-spacing: .1em; color: #fff; opacity: .2; white-space: nowrap; pointer-events: none; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.ph .tl { position: absolute; top: 8px; left: 8px; display: flex; gap: 5px; align-items: center; }
.ph .tr { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.hchip, .mchip { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(255, 255, 255, .94); color: var(--maroon); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); white-space: nowrap; }
.hchip.v-uthamam { color: var(--green); }
.hchip.v-not_recommended, .hchip.v-low { color: var(--muted); }
.mchip { background: var(--maroon); color: #fff; }
.ph .ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; background: linear-gradient(to top, rgba(30, 8, 15, .78), transparent); color: #fff; }
.ph .ov b { display: block; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph .ov span { font-size: 12px; font-weight: 600; opacity: .92; }
.pcard .meta { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px 11px; font-size: 12px; color: var(--muted); }
.pcard .meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .meta .m1 { color: var(--ink-2); font-weight: 700; }
.tag-second { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #F5E3E8; color: var(--maroon); font-size: 11px; font-weight: 800; }
.sk { background: linear-gradient(90deg, #EFE6DC 25%, #F8F1E9 50%, #EFE6DC 75%); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.sk-card { aspect-ratio: 4 / 6; border-radius: 16px; }

/* Matches / filters */
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 10px; margin: 0 -16px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.pill.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.pill svg { width: 15px; height: 15px; }
.matches-layout { display: grid; gap: 18px; }
.filters { display: none; }
.filters .card { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--muted); font-weight: 600; }
.load-more { display: flex; justify-content: center; margin-top: 18px; }

/* Profile view */
.pp { display: grid; gap: 18px; }
.carousel { position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(150deg, #F1E4D6, #E5CFBC); }
.carousel .track-x { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel .track-x::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; position: relative; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.carousel .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.carousel .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.carousel .dots i.on { background: #fff; width: 18px; border-radius: 4px; }
.carousel .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); display: none; place-items: center; cursor: pointer; }
.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }
.pp-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pp-name h1 { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--maroon-ink); margin: 0; letter-spacing: -.01em; }
.pp-sub { color: var(--ink-2); font-weight: 600; margin: 4px 0 10px; }
.pp-code { font-size: 13px; color: var(--muted); font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actions .btn-primary, .actions .btn-success { flex: 1 1 auto; }
.action-bar { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 35; padding: 8px 10px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 24px rgba(60, 20, 30, .12); }
.contact-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--sand); margin-top: 14px; }
.contact-card.open { background: var(--green-soft); }
.contact-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--maroon); flex: none; }
.contact-card p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.contact-card a { font-weight: 700; }
.kv { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 9px 14px; margin: 0; font-size: 14px; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.about-text { white-space: pre-line; color: var(--ink-2); margin: 0; }
.menu-pop { position: relative; }
.menu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; }
.menu-list button, .menu-list a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 10px; text-align: left; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; text-decoration: none; }
.menu-list button:hover, .menu-list a:hover { background: var(--sand); }
.menu-list .danger { color: var(--red); }

/* Porutham */
.score-ring { --p: 0; width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 10px; background: conic-gradient(var(--maroon) calc(var(--p) * 1%), var(--sand) 0); display: grid; place-items: center; position: relative; }
.score-ring::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.score-ring b { position: relative; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--maroon-ink); }
.score-ring small { font-size: 14px; color: var(--muted); font-family: var(--font); }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; text-align: center; margin: 12px 0 16px; font-size: 13px; }
.pair b { display: block; font-size: 14px; }
.pair .muted { font-size: 12px; }
.por-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.por-list li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #FBF8F4; border: 1px solid var(--line); }
.por-list .st { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; }
.por-list .good .st { background: var(--green-soft); color: var(--green); }
.por-list .average .st { background: var(--amber-soft); color: var(--amber); }
.por-list .bad .st { background: var(--red-soft); color: var(--red); }
.por-list b { display: block; font-size: 14px; }
.por-list span { font-size: 12px; color: var(--muted); }
.por-list .lbl { margin-left: auto; font-size: 12px; font-weight: 800; text-align: right; }
.por-list .good .lbl { color: var(--green); }
.por-list .average .lbl { color: var(--amber); }
.por-list .bad .lbl { color: var(--red); }

/* Lists (inbox, threads, notifications) */
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--sand); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1 0 auto; padding: 9px 14px; border: 0; border-radius: 999px; background: none; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tabs button.on { background: #fff; color: var(--maroon); box-shadow: 0 1px 3px rgba(60, 20, 30, .12); }
.tabs .n { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--maroon); color: #fff; font-size: 11px; line-height: 18px; }
.list { display: grid; gap: 10px; }
.row-item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.row-item .body { flex: 1; min-width: 0; }
.row-item .body b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-item .body span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-item .body .note { white-space: normal; color: var(--ink-2); font-style: italic; margin-top: 4px; }
.row-item .side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 12px; color: var(--muted); }
.row-item.unread { border-color: #e6c983; background: #FFFCF5; }
.row-actions { display: flex; gap: 8px; margin-top: 10px; }
.unread-dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--maroon); color: #fff; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; }

/* Chat */
.chat { display: flex; flex-direction: column; height: calc(100dvh - 60px - 96px - env(safe-area-inset-bottom)); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.chat-head a.who { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: 1; min-width: 0; }
.chat-head b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head small { color: var(--muted); font-weight: 600; }
.msgs { flex: 1; overflow-y: auto; padding: 14px 2px; display: flex; flex-direction: column; gap: 6px; }
.bubble { max-width: 78%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.me { align-self: flex-end; background: var(--maroon); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble time { display: block; margin-top: 3px; font-size: 10px; opacity: .7; text-align: right; }
.day-sep { align-self: center; font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 10px; background: var(--sand); border-radius: 999px; margin: 6px 0; }
.composer { display: flex; gap: 8px; align-items: flex-end; padding: 10px 0; border-top: 1px solid var(--line); }
.composer textarea { min-height: 46px; max-height: 140px; margin: 0; border-radius: 22px; padding: 12px 16px; resize: none; }
.composer .btn { width: 46px; height: 46px; padding: 0; flex: none; }

/* Modal / sheet / toast */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(30, 10, 16, .48); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); animation: up .22s ease; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.modal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.modal-head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--maroon-ink); margin: 0; flex: 1; }
.modal .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: -8px auto 12px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.toast-wrap { position: fixed; left: 0; right: 0; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { max-width: 460px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); animation: up .2s ease; pointer-events: auto; }
.toast.ok { background: var(--green); }
.toast.err { background: var(--red); }
.compare-tray { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 36; display: flex; gap: 10px; align-items: center; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); }

/* Auth & onboarding */
.auth { min-height: 100vh; display: grid; }
.auth-art { display: none; position: relative; overflow: hidden; background: var(--maroon); color: #f6e9ec; padding: 48px; }
.auth-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(226, 174, 74, .45) 1.1px, transparent 1.6px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.auth-art > * { position: relative; }
.auth-art .brand { color: #fff; }
.auth-art .brand b { color: var(--gold-2); }
.auth-art h2 { font-family: var(--font-display); font-size: 40px; font-weight: 500; line-height: 1.1; color: #fff; margin-top: 90px; }
.auth-art h2 em { color: var(--gold-2); }
.auth-art ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; font-weight: 600; }
.auth-art li::before { content: '\2726'; color: var(--gold-2); margin-right: 10px; }
.auth-main { display: flex; flex-direction: column; padding: 18px 16px 40px; }
.auth-main .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.auth-card { width: 100%; max-width: 460px; margin: 0 auto; }
.auth-card h1 { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--maroon-ink); letter-spacing: -.01em; }
.progress { height: 6px; border-radius: 3px; background: var(--sand); overflow: hidden; margin: 6px 0 22px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--maroon), var(--gold)); border-radius: 3px; transition: width .3s; }
.step-label { font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.form-section { margin: 22px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 16px; }
.photo-tile { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile .ctl { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; gap: 6px; justify-content: space-between; }
.photo-tile .ctl button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.photo-tile .main-tag { position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #2B1A05; font-size: 11px; font-weight: 800; }
.photo-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed #d9c6b2; background: #FFFCF8; color: var(--maroon); font-weight: 700; font-size: 13px; cursor: pointer; margin: 0; }
.photo-add input { display: none; }
.radio-cards { display: grid; gap: 8px; margin: 6px 0 16px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); }
.radio-card:has(input:checked) { border-color: var(--maroon); background: #FDF7F8; }
.radio-card small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* Me / menu */
.me-head { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.me-head h1 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--maroon-ink); margin: 0; }
.menu { display: grid; gap: 0; margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.menu a, .menu button { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; text-align: left; cursor: pointer; width: 100%; }
.menu > :last-child { border-bottom: 0; }
.menu a:hover, .menu button:hover { background: #FDFAF6; }
.menu .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--maroon); flex: none; }
.menu .grow { flex: 1; }
.menu small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.acc { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.acc > summary { padding: 16px; font-weight: 800; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; }
.acc[open] > summary::after { content: '\2212'; }
.acc .acc-body { padding: 0 16px 16px; }
.plan-cards { display: grid; gap: 14px; }
.toggle-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row .grow { flex: 1; }
.toggle-row b { display: block; }
.toggle-row small { color: var(--muted); }
.switch { position: relative; width: 50px; height: 30px; flex: none; margin: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #D9CEC3; transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + span { background: var(--maroon); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid rgba(201, 147, 43, .55); }

/* Compare */
.cmp-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 14px; }
.cmp th, .cmp td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp th { width: 130px; color: var(--muted); font-weight: 700; background: #FDFAF6; position: sticky; left: 0; }
.cmp td { font-weight: 600; }
.cmp .ph { border-radius: 12px; width: 120px; }

/* Staff portal */
.staff-top { background: var(--maroon-ink); color: #fff; }
.staff-top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.staff-top .brand { color: #fff; font-size: 18px; }
.staff-top .brand b { color: var(--gold-2); }
.staff-top .tag { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12px; font-weight: 800; }
.staff-top .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.staff-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.staff-tabs button { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.staff-tabs button.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.staff-tabs .n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #2B1A05; font-size: 11px; line-height: 18px; font-weight: 800; }
.queue { display: grid; gap: 14px; }
.q-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.q-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.q-head .grow { flex: 1; min-width: 0; }
.q-head b { font-size: 16px; }
.q-photos { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0; }
.q-photos .pt { position: relative; width: 96px; flex: none; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--sand); }
.q-photos .pt img { width: 100%; height: 100%; object-fit: cover; }
.q-photos .pt button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--red); display: grid; place-items: center; cursor: pointer; }
.q-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.kyc { display: grid; gap: 14px; }
.kyc .doc { min-height: 220px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.kyc .doc img, .kyc .doc iframe { width: 100%; max-height: 460px; object-fit: contain; border: 0; }
.lead-notes { white-space: pre-line; font-size: 13px; color: var(--ink-2); background: #FBF8F4; border-radius: 10px; padding: 10px; margin: 8px 0 0; max-height: 160px; overflow: auto; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.table-wrap { overflow-x: auto; }

/* ---------- Desktop ---------- */
@media (min-width: 640px) {
	.grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.scroller { grid-auto-columns: 30%; }
	.stats { grid-template-columns: repeat(4, 1fr); }
	.stat-grid { grid-template-columns: repeat(4, 1fr); }
	.overlay { align-items: center; padding: 20px; }
	.modal { max-width: 540px; border-radius: 22px; padding: 24px; }
	.modal .grab { display: none; }
	.photo-grid { grid-template-columns: repeat(4, 1fr); }
	.kyc { grid-template-columns: 1.2fr 1fr; }
	.quick-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
	.topnav { display: flex; }
	.bottomnav { display: none; }
	.view { padding: 26px 0 60px; }
	.action-bar { position: static; padding: 0; background: none; border: 0; box-shadow: none; }
	.toast-wrap { bottom: 24px; }
	.compare-tray { bottom: 24px; }
	.matches-layout { grid-template-columns: 290px 1fr; align-items: start; }
	.filters { display: block; }
	.filter-btn { display: none !important; }
	.grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pp { grid-template-columns: 420px 1fr; gap: 32px; align-items: start; }
	.pp-left { position: sticky; top: 80px; }
	.carousel .nav-btn { display: grid; }
	.scroller { grid-auto-columns: 22%; margin: 0; padding-left: 0; padding-right: 0; }
	.chat { height: calc(100vh - 60px - 40px); }
	.auth { grid-template-columns: 1fr 1fr; }
	.auth-art { display: block; }
	.auth-main { padding: 28px 48px 48px; justify-content: center; }
	.auth-main .top { position: absolute; top: 28px; right: 48px; }
	.home-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
}
@media (min-width: 1200px) {
	.grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 980px) { .auth-main .top .brand { display: none; } }

/* QA fixes */
.avatar.md { width: 56px; height: 56px; font-size: 20px; }
.row-item .body .vbadge { display: inline-grid; vertical-align: -4px; }
.row-item .body b .vbadge { width: 18px; height: 18px; }
.row-actions { flex-wrap: wrap; }
.row-item .side { flex: none; text-align: right; max-width: 84px; }
.action-bar .actions { flex-wrap: nowrap; gap: 6px; }
.action-bar .actions .btn { min-width: 0; padding-left: 14px; padding-right: 14px; overflow: hidden; text-overflow: ellipsis; }
.action-bar .actions .icon-btn { width: 40px; height: 40px; }
.view:has(.action-bar) { padding-bottom: 200px; }
@media (min-width: 980px) {
	.home-grid aside .quick-cards { grid-template-columns: 1fr; }
	.view:has(.action-bar) { padding-bottom: 60px; }
	.action-bar .actions { flex-wrap: wrap; }
}
.list, .queue { grid-template-columns: minmax(0, 1fr); }
.g-btn { display: flex; justify-content: center; min-height: 44px; margin: 8px 0 4px; }
.or { display: flex; align-items: center; gap: 12px; margin: 14px 0 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ===== Landing: mobile app view (< 980px) ===== */
.lp-quick, .lp-tabbar { display: none; }
.recent { padding: 8px 0 36px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.recent-row { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 14px -16px 0; padding: 2px 16px 8px; scrollbar-width: none; }
.recent-row::-webkit-scrollbar { display: none; }
.recent-card { scroll-snap-align: start; display: block; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: 0 4px 14px rgba(60, 20, 30, .06); }
.recent-card .ph { position: relative; display: block; aspect-ratio: 3 / 4; background: linear-gradient(160deg, #e9d3c4, #b98a8f); overflow: hidden; }
.recent-card .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: blur(4px) saturate(1.05); }
.recent-card .lock { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--maroon); font-size: 11px; font-weight: 800; text-align: center; }
.recent-card .meta { display: block; padding: 10px 12px 12px; }
.recent-card .meta b { display: block; font-size: 14px; color: var(--maroon-ink); }
.recent-card .meta small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-card .meta em { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: #F6E9EC; color: var(--maroon); font-style: normal; font-size: 11px; font-weight: 800; }
#top, #quick-search, #second, #plans, #porutham, #how, #safety, #callback { scroll-margin-top: 76px; }
@media (min-width: 980px) {
	.recent-row { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; margin: 18px 0 0; padding: 0; }
	.recent-row .recent-card:nth-child(n+11) { display: none; }
}
@media (max-width: 979px) {
	body.lp { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
	.lp-nav .wrap { height: 58px; }
	.lp-nav .brand svg { width: 32px; height: 32px; }
	.lp-cta .btn-primary { display: none; }
	.lp-cta .btn-ghost { display: inline-flex; min-height: 36px; padding: 6px 14px; border-radius: 999px; }
	.hero { padding: 14px 0 26px; }
	.hero::before { display: none; }
	.hero-grid { gap: 16px; }
	.hero-copy { position: relative; overflow: hidden; padding: 24px 20px 22px; border-radius: 26px; color: #f6e9ec; background: radial-gradient(circle at 85% 0%, rgba(201, 147, 43, .45), transparent 55%), linear-gradient(150deg, #7d1b3a 0%, var(--maroon) 55%, #4a0e21 100%); box-shadow: 0 14px 30px rgba(110, 22, 49, .28); }
	.hero-copy .eyebrow { color: var(--gold-2); }
	.hero h1 { font-size: 30px; color: #fff; margin-bottom: 10px; }
	.hero h1 em { color: var(--gold-2); }
	.hero .lead { color: #f1dde2; font-size: 15px; margin: 0; }
	.hero-actions { margin: 18px 0 0; flex-wrap: nowrap; }
	.hero-actions .btn { flex: 1; min-height: 46px; padding: 10px 12px; font-size: 15px; }
	.hero-actions .btn-primary { background: var(--gold); color: var(--maroon-ink); border-color: var(--gold); }
	.hero-actions .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
	.hero-points { display: flex; gap: 8px; overflow-x: auto; margin: 16px -20px 0; padding: 0 20px; scrollbar-width: none; }
	.hero-points::-webkit-scrollbar { display: none; }
	.hero-points li { flex: none; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 12px; white-space: nowrap; }
	.lp-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.lp-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; box-shadow: 0 4px 12px rgba(60, 20, 30, .05); }
	.lp-quick i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--gold-soft); color: var(--maroon); }
	.lp-quick svg { width: 22px; height: 22px; }
	.search-card { padding: 18px; border-radius: 22px; border-top: 0; box-shadow: 0 8px 24px rgba(60, 20, 30, .08); border: 1px solid var(--line); }
	.search-card h2 { font-size: 20px; }
	.tracks { padding: 0 0 30px; }
	.tracks .grid2 { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; gap: 12px; scrollbar-width: none; }
	.tracks .grid2::-webkit-scrollbar { display: none; }
	.track { scroll-snap-align: start; padding: 20px; border-radius: 22px; }
	.track h2 { font-size: 22px; }
	.track p { font-size: 14px; }
	.sec-title { font-size: 24px; }
	.how { padding: 8px 0 30px; }
	.steps { margin-top: 16px; gap: 10px; }
	.steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; border-radius: 18px; }
	.steps .num { grid-row: span 2; margin: 0; }
	.steps h3 { font-size: 16px; margin: 0 0 2px; }
	.steps p { font-size: 13.5px; }
	.safety .grid2 { gap: 14px; }
	.safe-list { grid-template-columns: 1fr 1fr; gap: 10px; }
	.safe-list li { padding: 14px; border-left: 0; border-top: 3px solid var(--gold); border-radius: 16px; }
	.safe-list b { font-size: 14px; }
	.safe-list span { font-size: 12.5px; line-height: 1.45; }
	.porutham .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
	.porutham .chips::-webkit-scrollbar { display: none; }
	.porutham .chips li { flex: none; }
	.plan-grid { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 16px -16px 0; padding: 4px 16px 10px; scrollbar-width: none; }
	.plan-grid::-webkit-scrollbar { display: none; }
	.plan-grid .plan { scroll-snap-align: start; }
	.cb-form { padding: 18px; border-radius: 22px; }
	.faq details { border-radius: 16px; }
	.lp-foot { padding-top: 28px; border-radius: 26px 26px 0 0; }
	.foot-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
	.foot-grid > div:first-child { grid-column: 1 / -1; }
	.lp-tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 30px rgba(60, 20, 30, .18); }
	.lp-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; border-radius: 18px; color: var(--muted); text-decoration: none; font-size: 10.5px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
	.lp-tabbar a svg { width: 22px; height: 22px; }
	.lp-tabbar a.active { color: var(--maroon); background: #F6E9EC; }
}

/* ===== Mobile app view v2: section visibility, dot carousels, assistant ===== */
@media (max-width: 979px) { .d-only { display: none !important; } }
@media (min-width: 980px) { .m-only { display: none !important; } }
.m-dots { display: flex; justify-content: center; gap: 6px; margin: 10px 0 2px; }
.m-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #dccbbd; cursor: pointer; transition: width .25s, background .25s; }
.m-dots button.on { width: 22px; background: var(--maroon); }
.m-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lp-help { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--maroon); cursor: pointer; }
.lp-help svg { width: 21px; height: 21px; }
.why { padding: 4px 0 28px; }
.why-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 14px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
.why-row::-webkit-scrollbar { display: none; }
.why-card { scroll-snap-align: start; display: flex; flex-direction: column; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(60, 20, 30, .05); }
.why-card i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold-soft); font-style: normal; font-size: 22px; margin-bottom: 12px; }
.why-card h3 { font-size: 17px; color: var(--maroon-ink); margin: 0 0 6px; }
.why-card p { font-size: 14px; color: var(--muted); margin: 0 0 12px; flex: 1; }
.why-card.dark { background: var(--maroon); border-color: var(--maroon); }
.why-card.dark h3 { color: #fff; }
.why-card.dark p { color: #f1dde2; }
.why-card.dark .link-arrow { color: var(--gold-2); }
.foot-mini { display: grid; gap: 14px; padding-bottom: 6px; }
.foot-mini nav { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-mini nav a { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #f3e6e9; text-decoration: none; font-size: 13px; font-weight: 600; }
.legal-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 18px; padding-bottom: 4px; scrollbar-width: none; }
.legal-tabs::-webkit-scrollbar { display: none; }
.legal-tabs a { flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 13px; font-weight: 700; }
.legal-tabs a[aria-current] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.legal-tabs + .m-dots { display: none; }
.legal-date { margin-top: -6px; font-size: 13px; }
.legal-body h3 { font-size: 16px; margin: 16px 0 6px; color: var(--maroon-ink); }
@media (max-width: 979px) {
	.lp-cta { gap: 8px; align-items: center; }
	.steps.m-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 14px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
	.steps.m-carousel::-webkit-scrollbar { display: none; }
	.steps.m-carousel li { scroll-snap-align: start; display: block; padding: 18px; }
	.steps.m-carousel .num { margin-bottom: 10px; }
	.how .sec-title, .plans .sec-title, .faq .sec-title { text-align: left; }
	.recent { padding-bottom: 24px; }
	.plans { padding-top: 6px; }
	.callback .grid2 { gap: 12px; }
	.callback .muted { font-size: 14px; }
	.legal { padding-top: 14px; }
	.legal h1 { font-size: 26px; }
	.legal-body { font-size: 15px; }
}

/* Friday Assistant */
.m1h-launch { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; background: var(--maroon); color: #fff; font: 700 14px/1 var(--font); box-shadow: 0 10px 26px rgba(110, 22, 49, .35); cursor: pointer; }
.m1h-launch svg { width: 22px; height: 22px; }
.m1h-launch[hidden] { display: none; }
@media (max-width: 979px) { .m1h-launch { display: none; } }
.m1h { position: fixed; z-index: 100; right: 24px; bottom: calc(90px + env(safe-area-inset-bottom)); width: 380px; height: min(620px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(40, 10, 20, .28); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: opacity .2s, transform .2s; }
.m1h.open { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 639px) {
	.m1h { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; transform: translateY(24px); }
	html.m1h-lock, html.m1h-lock body { overflow: hidden; }
}
.m1h-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top)); background: linear-gradient(150deg, #7d1b3a, var(--maroon) 60%, #4a0e21); color: #fff; }
.m1h-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--maroon-ink); font-family: var(--font-display); font-weight: 700; flex: none; }
.m1h-head b { display: block; font-size: 16px; }
.m1h-head small { display: flex; align-items: center; gap: 6px; color: #f1dde2; font-size: 12px; }
.m1h-head small i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }
.m1h-x { margin-left: auto; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.m1h-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.m1h-msg { display: flex; flex-direction: column; gap: 8px; max-width: 92%; }
.m1h-msg.me { align-self: flex-end; }
.m1h-b { padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: #fff; border: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink); }
.m1h-msg.me .m1h-b { border-radius: 18px 18px 6px 18px; background: var(--maroon); border-color: var(--maroon); color: #fff; }
.m1h-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.m1h-chip { padding: 8px 12px; border: 1px solid #e6d3c2; border-radius: 999px; background: #fff; color: var(--maroon); font: 700 13px/1.2 var(--font); text-align: left; cursor: pointer; }
.m1h-chip:hover, .m1h-chip:focus-visible { background: #F6E9EC; }
.m1h-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.m1h-act { padding: 8px 14px; border-radius: 999px; background: var(--maroon); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; }
.m1h-typing { display: inline-flex; gap: 4px; }
.m1h-typing i { width: 7px; height: 7px; border-radius: 50%; background: #c9b2b8; animation: m1hdot 1s infinite; }
.m1h-typing i:nth-child(2) { animation-delay: .15s; }
.m1h-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes m1hdot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.m1h-form { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.m1h-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 0; }
.m1h-form input, .m1h-form select, .m1h-form textarea { width: 100%; min-height: 40px; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: 14px var(--font); background: #fff; }
.m1h-send { min-height: 42px; border: 0; border-radius: 999px; background: var(--maroon); color: #fff; font: 700 14px var(--font); cursor: pointer; }
.m1h-send:disabled { opacity: .6; }
.m1h-err { margin: 0; color: var(--red); font-size: 12px; min-height: 0; }
.m1h-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.m1h-in { display: flex; gap: 8px; padding: 10px 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.m1h-in input { flex: 1; min-height: 44px; margin: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font: 15px var(--font); }
.m1h-in button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--maroon); color: #fff; cursor: pointer; display: grid; place-items: center; }
.m1h-in button svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .m1h, .m-dots button { transition: none; } .m1h-typing i { animation: none; } }

/* ===== Mobile app view v3: whole cards only, wrapping chips, compact sections, app footer ===== */
@media (max-width: 979px) {
	/* Carousels: one full card per swipe (two for small profile cards), never half-cut. */
	.why-row, .steps.m-carousel, .plan-grid { grid-auto-columns: 100%; gap: 16px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; }
	.recent-row, .scroller { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; scroll-padding: 0 16px; }
	.why-card, .steps.m-carousel li, .plan-grid .plan, .recent-card, .scroller > * { scroll-snap-align: start; scroll-snap-stop: always; }
	.plan-grid .plan { padding: 22px; }
	.plan-grid .plan ul { margin-bottom: 16px; }
	/* Chips and tabs wrap to the next line instead of running off the screen. */
	.hero-points { flex-wrap: wrap; overflow: visible; margin: 14px 0 0; padding: 0; }
	.hero-points li { white-space: normal; }
	.legal-tabs { flex-wrap: wrap; overflow: visible; }
	.pills { flex-wrap: wrap; overflow: visible; margin: 0 0 4px; padding: 2px 0 10px; }
	.porutham .chips { flex-wrap: wrap; overflow: visible; margin: 14px 0 0; padding: 0; }
	/* Compact hero and search. */
	.hero-copy { padding: 20px 18px; }
	.hero h1 { font-size: 27px; }
	.hero .lead { font-size: 14px; }
	.search-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; padding: 16px; }
	.search-card > h2, .search-card > .seg, .search-card > .row2, .search-card > button, .search-card > .fine { grid-column: 1 / -1; }
	.search-card label { font-size: 13px; }
	.lp-quick span { font-size: 11.5px; }
	/* FAQ: three questions, the rest via the assistant. */
	.faq details:nth-of-type(n+4) { display: none; }
	.faq-more { margin-top: 12px; }
	.sec-head .link-arrow { font-size: 14px; }
	/* App footer. */
	.lp-foot { margin-top: 8px; padding-top: 22px; }
	.m-foot { display: grid; gap: 16px; }
	.mf-brand p { margin: 8px 0 0; color: #c9b2b8; font-size: 13px; }
	.mf-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.mf-actions a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; }
	.mf-actions svg { width: 22px; height: 22px; color: var(--gold-2); }
	.mf-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); }
	.mf-links h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
	.mf-links a { display: block; padding: 6px 0; color: #f3e6e9; text-decoration: none; font-size: 14px; }
	.foot-base { text-align: center; margin-top: 16px; }
	/* Legal pages as small cards. */
	.lg-acc { margin: 0 0 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
	.lg-acc summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; position: relative; font-weight: 800; color: var(--maroon-ink); font-size: 15px; }
	.lg-acc summary::-webkit-details-marker { display: none; }
	.lg-acc summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--maroon); }
	.lg-acc[open] summary::after { content: '\2212'; }
	.lg-body { padding: 0 16px 14px; font-size: 14.5px; }
	.lg-body ul, .lg-body ol { padding-left: 18px; }
}
/* Profile sections: compact cards that open on tap (first two open). */
.sec-acc { margin-top: 14px; }
.sec-acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.sec-acc > summary::-webkit-details-marker { display: none; }
.sec-acc > summary h3 { margin: 0; }
.sec-acc > summary::after { content: '+'; font-size: 20px; font-weight: 700; color: var(--maroon); line-height: 1; }
.sec-acc[open] > summary::after { content: '\2212'; }
.sec-acc[open] > summary { margin-bottom: 10px; }
.contact-card .btn { margin-top: 10px; }
@media (max-width: 979px) { .action-bar [data-act=compare] { display: none; } }
/* Chat photos and files */
.bubble.has-file { padding: 5px 5px 7px; }
.bubble .btext { display: block; padding: 4px 8px 0; }
.bubble time { padding: 0 6px; }
.chat-img { display: block; border-radius: 14px; overflow: hidden; max-width: 210px; background: rgba(0, 0, 0, .05); }
.chat-img img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: cover; }
.chat-file { display: flex; align-items: center; gap: 10px; min-width: 200px; max-width: 260px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: inherit; text-decoration: none; }
.bubble.them .chat-file { background: var(--ivory); border: 1px solid var(--line); }
.chat-file svg { width: 26px; height: 26px; flex: none; }
.chat-file span { min-width: 0; display: grid; }
.chat-file b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-file small { font-size: 12px; opacity: .8; }
.composer .att-btn { width: 46px; height: 46px; flex: none; }
.att-prev { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.att-prev img, .att-prev .ic { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--gold-soft); color: var(--maroon); }
.att-prev .ic svg { width: 24px; height: 24px; }
.att-prev .nm { flex: 1; min-width: 0; display: grid; }
.att-prev .nm b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-prev .nm small { color: var(--muted); font-size: 12px; }
.att-prev.hidden { display: none; }

/* Plans v2: badges, per-month line, 3 columns */
.plan { position: relative; }
.plan-hi::before { content: none; display: none; }
.plan-badge { position: absolute; top: -11px; left: 22px; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--maroon-ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line); }
.plan-hi .plan-badge { background: var(--gold); color: #2B1A05; border-color: var(--gold); }
.plan .price { margin-bottom: 0; }
.plan .per { margin: 2px 0 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.plan-hi .per { color: var(--maroon); }
.plans .center.muted { margin-top: -6px; }
@media (min-width: 980px) { .plan-grid { grid-template-columns: repeat(3, 1fr); max-width: 1120px; row-gap: 26px; } }
@media (max-width: 979px) { .plan-grid { padding-top: 16px; } }

/* Plans v3: compact one-row picker */
.pick { max-width: 860px; margin: 22px auto 0; }
.pick-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pick-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px 12px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); color: var(--ink-2); cursor: pointer; font: inherit; text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pick-tile .pt-name { font-size: 13px; font-weight: 800; line-height: 1.2; }
.pick-tile .pt-price { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--maroon-ink); line-height: 1.2; }
.pick-tile .pt-count { font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.25; }
.pick-tile.rec::before { content: '\2605'; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: #2B1A05; font-size: 11px; line-height: 20px; }
.pick-tile.on { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(110, 22, 49, .12); background: #fffaf6; }
.pick-tile.on .pt-count { color: var(--maroon); }
.pick-tile:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
.pick-panel { margin-top: 14px; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pick-panel .pp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pick-panel .pp-head h3 { font-size: 18px; color: var(--ink-2); margin: 0; }
.pick-panel .plan-badge { position: static; }
.pick-panel .price { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--maroon-ink); margin: 4px 0 0; }
.pick-panel .price small { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); }
.pick-panel .per { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--maroon); }
.pick-panel ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.pick-panel li { padding-left: 26px; position: relative; font-size: 14px; color: var(--ink-2); }
.pick-panel li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' fill='none'%3E%3Cpath d='M1 3.5l2.5 2.5L8 1' stroke='%236E1631' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.pick-free { margin: 12px 4px 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 980px) { .pick-panel ul { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
@media (max-width: 420px) { .pick-row { gap: 6px; } .pick-tile { padding: 12px 2px 10px; border-radius: 14px; } .pick-tile .pt-name { font-size: 12px; } .pick-tile .pt-price { font-size: 18px; } .pick-tile .pt-count { font-size: 10px; } .pick-panel { padding: 18px; } .pick-panel .price { font-size: 30px; } }

/* Privacy: locked profile, gallery lock, attach lock */
.lock-card { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; padding: 16px; border-radius: 16px; background: #fff; border: 1px dashed var(--line); }
.lock-card svg { flex: none; width: 22px; height: 22px; color: var(--maroon); margin-top: 2px; }
.lock-card p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.carousel { position: relative; }
.gal-lock { position: absolute; left: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(43, 26, 5, .72); color: #fff; font-size: 12px; font-weight: 700; }
.gal-lock svg { width: 14px; height: 14px; }
.att-btn.locked { opacity: .45; }
.sticky-save { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 5; }
@media (min-width: 980px) { .sticky-save { bottom: 16px; } }

/* Install / notifications nudge */
.m1n { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 0 12px calc(96px + env(safe-area-inset-bottom)); pointer-events: none; }
.m1n-card { position: relative; display: flex; gap: 12px; max-width: 460px; margin: 0 auto; padding: 16px 16px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(43, 26, 5, .22); transform: translateY(140%); transition: transform .25s ease; pointer-events: auto; }
.m1n.in .m1n-card { transform: none; }
.m1n-ic img { width: 44px; height: 44px; border-radius: 12px; display: block; }
.m1n-body { flex: 1; min-width: 0; padding-right: 18px; }
.m1n-body b { display: block; font-size: 15px; color: var(--maroon-ink); }
.m1n-body p { margin: 4px 0 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.m1n-steps { margin: 0 0 10px; padding-left: 18px; font-size: 13px; color: var(--ink-2); display: grid; gap: 4px; }
.m1n-steps svg { vertical-align: -3px; color: #0a84ff; }
.m1n-btns { display: flex; gap: 8px; justify-content: flex-end; }
.m1n-x { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
@media (min-width: 980px) { .m1n { left: 24px; right: auto; padding-bottom: 24px; } .m1n-card { width: 400px; } }

/* Blue-tick plans highlight + control section */
.pick-note { display: flex; gap: 10px; align-items: center; margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: #eef5ff; border: 1px solid #cfe2ff; }
.pick-note i, .pt-tick i, .ctl .vb { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.pick-note p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.pick-tile.vb { border-color: #9cc3f5; background: linear-gradient(180deg, #f3f8ff, #fff 70%); }
.pick-tile.vb.on { border-color: var(--maroon); }
.pt-tick { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; padding: 2px 8px 2px 3px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.pt-tick i { width: 15px; height: 15px; font-size: 9px; background: #fff; color: var(--blue); }
.control { padding: 56px 0; }
.control .sec-title { margin-bottom: 8px; }
.ctl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1040px; margin: 26px auto 0; }
.ctl { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.ctl i { font-style: normal; font-size: 24px; line-height: 1; margin-bottom: 6px; }
.ctl b { font-size: 15px; color: var(--maroon-ink); }
.ctl span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ctl-tick { background: linear-gradient(180deg, #f3f8ff, #fff 80%); border-color: #cfe2ff; }
.ctl .vb { width: 26px; height: 26px; font-size: 14px; }
.ctl-cta { margin-top: 22px; }
@media (max-width: 979px) {
	.control { padding: 34px 0; }
	.ctl-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
	.ctl { padding: 13px; border-radius: 14px; }
	.ctl i { font-size: 20px; margin-bottom: 2px; }
	.ctl b { font-size: 13px; line-height: 1.3; }
	.ctl span { font-size: 12px; }
	.pick-note { margin-bottom: 14px; }
	.pt-tick { font-size: 9.5px; padding-right: 6px; }
}

/* Photo protection: no save/drag, black out photos when the page loses focus or on print/screenshot keys */
img[src*="/uploads/"], img[src*="m1-blur"], img[src*="messages/file"], img[src*="vde-imagegen"], .ph img, .carousel img, .slide img, .photo-tile img, .recent-card img, .chat-img img, .q-photos img, .avatar img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.m1-shield img[src*="/uploads/"], .m1-shield img[src*="m1-blur"], .m1-shield img[src*="messages/file"], .m1-shield img[src*="vde-imagegen"], .m1-shield .ph img, .m1-shield .carousel img, .m1-shield .slide img, .m1-shield .photo-tile img, .m1-shield .recent-card img, .m1-shield .chat-img img, .m1-shield .q-photos img, .m1-shield .avatar img { filter: brightness(0) !important; }
@media print { body * { visibility: hidden !important; } body::after { content: 'Printing is turned off to protect member privacy.'; visibility: visible; position: fixed; inset: 0; display: grid; place-items: center; font: 600 18px sans-serif; color: #000; background: #fff; } }

/* Full-width bottom bar (no floating gap) */
.bottomnav { left: 0; right: 0; bottom: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(60, 20, 30, .08); background: #fff; }
.action-bar { bottom: calc(70px + env(safe-area-inset-bottom)); }
.compare-tray { bottom: calc(78px + env(safe-area-inset-bottom)); }
.toast-wrap { bottom: calc(76px + env(safe-area-inset-bottom)); }
.sticky-save { bottom: calc(68px + env(safe-area-inset-bottom)); }
.m1n { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (max-width: 979px) {
	.lp-tabbar { left: 0; right: 0; bottom: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(60, 20, 30, .08); background: #fff; }
	body.lp { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* Discover: swipe deck */
.disc-cta { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(120deg, #7B1538, #9b2c4f); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.disc-cta .dc-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .16); flex: none; }
.disc-cta .dc-ic svg { width: 22px; height: 22px; fill: #fff; }
.disc-cta .dc-t { flex: 1; display: flex; flex-direction: column; }
.disc-cta b { font-size: 15px; }
.disc-cta small { opacity: .85; font-size: 12.5px; }
.disc-cta > svg { width: 20px; height: 20px; }
.deck-wrap { max-width: 420px; margin: 0 auto; }
.deck { position: relative; height: min(560px, calc(100vh - 290px)); min-height: 380px; margin-top: 6px; }
.deck-sk { position: absolute; inset: 0; border-radius: 24px; }
.scard { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; background: #e9dfd6; box-shadow: 0 14px 40px rgba(43, 26, 5, .18); touch-action: none; user-select: none; transition: transform .25s ease; cursor: grab; }
.scard.drag { transition: none; cursor: grabbing; }
.scard.fly { transition: transform .28s ease-in; }
.sc-ph, .sc-ph img, .sc-ph .ph-empty { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-ph img { object-fit: cover; }
.sc-ph .ph-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(160deg, #f3e3da, #e4cfc4); }
.sc-ph .ph-empty .ini { font-family: var(--font-display); font-size: 84px; color: var(--maroon); opacity: .55; }
.scard::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(20, 8, 4, .82)); pointer-events: none; }
.sc-top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.sc-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 18px 16px; color: #fff; }
.sc-info h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 28px; line-height: 1.1; display: flex; align-items: center; gap: 8px; }
.sc-info p { margin: 2px 0; font-size: 14px; opacity: .95; }
.sc-info .sc-dim { opacity: .75; font-size: 13px; }
.sc-more { margin-top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sc-more svg { width: 14px; height: 14px; }
.stamp { position: absolute; top: 28px; z-index: 3; padding: 6px 14px; border: 4px solid; border-radius: 12px; font-size: 26px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; opacity: 0; pointer-events: none; }
.s-yes { left: 22px; color: #1d9a5b; border-color: #1d9a5b; transform: rotate(-14deg); background: rgba(255, 255, 255, .85); }
.s-no { right: 22px; color: #d23a3a; border-color: #d23a3a; transform: rotate(14deg); background: rgba(255, 255, 255, .85); }
.deck-actions { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 22px 0 6px; }
.dbtn { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 6px 18px rgba(43, 26, 5, .16); cursor: pointer; transition: transform .12s; }
.dbtn:active { transform: scale(.9); }
.dbtn svg { width: 28px; height: 28px; stroke-width: 2.6; }
.d-undo, .d-star { width: 48px; height: 48px; }
.d-undo svg, .d-star svg { width: 22px; height: 22px; }
.d-undo { color: #b08a2e; }
.d-no { color: #d23a3a; }
.d-star { color: var(--blue); }
.d-yes { color: #fff; background: linear-gradient(135deg, #e0485f, #7B1538); }
.d-yes svg { fill: #fff; }
.deck-hint { font-size: 12px; }
.deck-empty { position: absolute; inset: 0; display: grid; place-items: center; }
.match-pop { text-align: center; }
.match-pop .mp-pics { display: flex; justify-content: center; gap: 0; margin: 4px 0 12px; }
.match-pop .mp-pics .avatar { border: 3px solid #fff; box-shadow: var(--shadow); }
.match-pop .mp-pics .avatar + .avatar { margin-left: -14px; }
@media (max-width: 979px) { .deck { height: calc(100vh - 330px - env(safe-area-inset-bottom)); } .deck-hint { display: none; } .deck-actions { margin-top: 16px; } }

body { overflow-x: clip; }
.pick-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }

/* Plans v4: separate grid cards */
.pick-grid { max-width: 1080px; }
.pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pc { position: relative; display: flex; flex-direction: column; padding: 24px 20px 20px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pc:hover { transform: translateY(-2px); }
.pc.on { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(110, 22, 49, .12), var(--shadow); }
.pc.rec { background: linear-gradient(180deg, #fff8f3, #fff 55%); }
.pc-badge { position: absolute; top: -12px; left: 20px; padding: 3px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--maroon-ink); border: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pc.rec .pc-badge { background: var(--gold); border-color: var(--gold); color: #2B1A05; }
.pc h3 { margin: 4px 0 6px; font-size: 18px; color: var(--ink-2); }
.pc-was { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.pc-was s { text-decoration-thickness: 2px; }
.pc-off { padding: 2px 8px; border-radius: 999px; background: #e3f3ea; color: #1d7a4f; font-size: 11.5px; font-weight: 800; }
.pc-now { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--maroon-ink); line-height: 1.1; margin-top: 2px; }
.pc-now small { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); }
.pc-per { font-size: 13px; font-weight: 700; color: var(--maroon); margin-top: 2px; }
.pc-save { margin-top: 10px; padding: 7px 10px; border-radius: 10px; background: #e3f3ea; color: #1d7a4f; font-size: 13.5px; font-weight: 800; text-align: center; }
.pc-cmp { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-align: center; }
.pc-cmp-none { color: var(--muted); font-weight: 600; }
.pc ul { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 8px; flex: 1; }
.pc li { font-size: 13.5px; color: var(--ink-2); }
.pc-tick { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--blue) !important; }
.pc-tick i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; font-size: 10px; }
.pick-legal { font-size: 11.5px; margin-top: 4px; }
@media (max-width: 979px) {
	.pc-grid { grid-template-columns: 1fr; gap: 16px; }
	.pc { padding: 20px 16px 16px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
	.pc h3, .pc-was, .pc-now, .pc-per { grid-column: 1; }
	.pc-save, .pc-cmp, .pc ul, .pc .btn { grid-column: 1 / -1; }
	.pc-now { font-size: 34px; }
	.pc ul { grid-template-columns: 1fr; gap: 6px; margin: 12px 0 14px; }
	.pc li { font-size: 12.5px; }
}

/* Voice intro */
.voice-card { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 10px 14px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 420px; }
.vp-btn { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: var(--maroon); color: #fff; cursor: pointer; }
.vp-btn svg { width: 18px; height: 18px; fill: #fff; }
.vp-mid { flex: 1; min-width: 0; }
.vp-mid b { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.vp-mid b svg { width: 14px; height: 14px; color: var(--maroon); }
.vp-bar { height: 4px; margin-top: 6px; border-radius: 4px; background: #eadfd6; overflow: hidden; }
.vp-bar i { display: block; height: 100%; width: 0; background: var(--maroon); transition: width .2s linear; }
.vp-t { font-size: 12px; font-weight: 700; color: var(--muted); }
.vr { display: flex; align-items: center; gap: 14px; margin: 8px 0; }
.vr b { display: block; } .vr small { color: var(--muted); }
.vr-btn { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--maroon); color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(110, 22, 49, .3); }
.vr-btn svg { width: 28px; height: 28px; }
.rec-on .vr-btn { background: #d23a3a; animation: m1pulse 1.2s infinite; }
.vr-btn .sq { width: 20px; height: 20px; border-radius: 4px; background: #fff; }
@keyframes m1pulse { 0% { box-shadow: 0 0 0 0 rgba(210, 58, 58, .5); } 100% { box-shadow: 0 0 0 18px rgba(210, 58, 58, 0); } }
.card h3 .chip { margin-left: 6px; vertical-align: middle; font-size: 11px; }
.card h3 svg { width: 18px; height: 18px; vertical-align: -3px; color: var(--maroon); }
/* Photo verified */
.pv-chip { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.pv-chip svg { width: 13px; height: 13px; }
.pv-tag svg { width: 13px; height: 13px; margin-right: 4px; vertical-align: -2px; }
.sf-pose { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #eef5ff; color: var(--ink-2); }
.sf-pose svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.sf-cam { position: relative; margin: 10px 0; border-radius: 18px; overflow: hidden; background: #111; aspect-ratio: 3 / 4; max-height: 56vh; }
.sf-cam video, .sf-cam img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-cam video { transform: scaleX(-1); }
.sf-oval { position: absolute; inset: 10% 18%; border: 3px dashed rgba(255,255,255,.7); border-radius: 50%; pointer-events: none; }
/* Profile strength */
.strength { margin: 14px 0 0; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.strength .st-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.strength .st-top small { color: var(--muted); font-size: 12px; }
.st-bar { height: 8px; margin: 10px 0; border-radius: 8px; background: #f0e6dd; overflow: hidden; }
.st-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--gold), var(--maroon)); }
.st-next { display: flex; flex-wrap: wrap; gap: 8px; }
.st-next a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--maroon-ink); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.st-next a svg { width: 14px; height: 14px; }
.strength.done { display: flex; gap: 10px; align-items: center; }
.strength.done svg { width: 26px; height: 26px; color: var(--gold); }
.strength.done small { display: block; color: var(--muted); }
/* Video call */
.vc-btn { color: var(--maroon); }
.call-ov { position: fixed; inset: 0; z-index: 9995; background: #120a08; color: #fff; }
.call-ov .rv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #120a08; }
.call-ov .lv { position: absolute; right: 14px; top: calc(70px + env(safe-area-inset-top)); width: 110px; height: 150px; object-fit: cover; border-radius: 14px; border: 2px solid rgba(255,255,255,.6); transform: scaleX(-1); background: #333; z-index: 2; }
.call-top { position: absolute; left: 0; right: 0; top: 0; padding: calc(18px + env(safe-area-inset-top)) 18px 30px; background: linear-gradient(rgba(0,0,0,.6), transparent); z-index: 2; }
.call-top b { display: block; font-size: 20px; } .call-top .cst { opacity: .85; font-size: 14px; }
.call-btns { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 22px; padding: 30px 0 calc(28px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.65)); z-index: 2; }
.cb { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; }
.cb svg { width: 26px; height: 26px; }
.cb.off { background: #fff; color: #120a08; }
.cb.end { background: #e0393e; width: 68px; height: 68px; }
.ring-pop { text-align: center; }
.ring-pop .avatar { margin: 0 auto 10px; animation: m1pulse 1.4s infinite; }

/* ===== Discover on Home + guide (v15) ===== */
.bottomnav { grid-template-columns: repeat(6, 1fr); padding-left: 2px; padding-right: 2px; }
.bottomnav a { font-size: 10.5px; letter-spacing: -.1px; }
.dk { margin: 4px 0 18px; }
.dk-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dk-title { flex: 1; min-width: 0; }
.dk-title h2 { margin: 0 0 2px; font-family: var(--font-display); font-size: 22px; color: var(--ink, #2b1a05); }
.dk-today { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.dk-today b { color: var(--maroon); font-size: 15px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1d9a5b; box-shadow: 0 0 0 0 rgba(29, 154, 91, .5); animation: livePulse 1.8s infinite; flex: none; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(29, 154, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 154, 91, 0); } }
.dk-guide { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--maroon); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; flex: none; }
.dk-guide svg { width: 16px; height: 16px; }
.dk-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; margin: 0 -2px 4px; -webkit-overflow-scrolling: touch; }
.dk-filters::-webkit-scrollbar { display: none; }
.dk-f { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink, #2b1a05); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.dk-f.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.dk-f i { font-style: normal; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #F6E9EC; color: var(--maroon); font-size: 11.5px; font-weight: 800; text-align: center; }
.dk-f i:empty { display: none; }
.dk-f.on i { background: rgba(255, 255, 255, .22); color: #fff; }
.dk-progress { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; min-height: 18px; }
.dk .deck-actions { margin-top: 8px; }
.dk-page-head { margin-bottom: 8px; }
.dk-home .deck { height: min(540px, calc(100vh - 340px)); min-height: 360px; }
@media (max-width: 979px) {
	.dk-home .deck, .dk .deck { height: calc(100vh - 360px - env(safe-area-inset-bottom)); min-height: 340px; }
	.dk-page-head .sub { display: none; }
}
/* guide */
.tour { position: fixed; inset: 0; z-index: 1000; }
.tour-hole { position: fixed; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(20, 8, 12, .62); transition: all .25s ease; pointer-events: none; outline: 2px solid rgba(255, 255, 255, .9); }
.tour.center .tour-hole { top: 50%; left: 50%; width: 0; height: 0; outline: 0; }
.tour-card { position: fixed; width: min(340px, calc(100vw - 24px)); padding: 18px 18px 14px; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); transition: top .25s ease, left .25s ease; }
.tour.center .tour-card { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); }
.tc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #e0485f, #7B1538); color: #fff; margin-bottom: 10px; }
.tc-ic svg { width: 24px; height: 24px; }
.tc-step { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tour-card h3 { margin: 4px 0 6px; font-family: var(--font-display); font-size: 21px; color: var(--maroon); }
.tour-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink, #2b1a05); }
.tc-dots { display: flex; gap: 5px; margin: 14px 0 12px; }
.tc-dots span { width: 6px; height: 6px; border-radius: 999px; background: #e6d6db; transition: width .2s; }
.tc-dots span.on { width: 18px; background: var(--maroon); }
.tc-act { display: flex; align-items: center; gap: 8px; }
.tc-act .spacer { flex: 1; }
.tc-skip { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 2px; }
@media (min-width: 980px) and (max-width: 1180px) { .topnav a { padding: 8px 10px; font-size: 13px; gap: 6px; } }

/* ===== Compact Home deck + swipe hint (v16) ===== */
.dk-home { margin-bottom: 10px; }
.dk-home .dk-head { margin-bottom: 6px; }
.dk-home .dk-title h2 { font-size: 19px; }
.dk-home .dk-filters { padding-bottom: 4px; margin-bottom: 2px; }
.dk-home .dk-f { padding: 5px 11px; font-size: 12.5px; }
.dk-home .deck, .dk-home .deck.deck { height: clamp(270px, 44vh, 360px); min-height: 0; margin-top: 4px; }
.dk-home .deck-wrap { max-width: 360px; }
.dk-home .sc-info { padding: 12px 14px 12px; }
.dk-home .sc-info h2 { font-size: 21px; margin-bottom: 2px; }
.dk-home .sc-info p { font-size: 12.5px; margin: 1px 0; }
.dk-home .sc-info .sc-dim { display: none; }
.dk-home .sc-more { margin-top: 6px; padding: 5px 10px; font-size: 12px; }
.dk-home .sc-top { top: 10px; left: 10px; }
.dk-home .stamp { top: 18px; font-size: 20px; padding: 4px 10px; border-width: 3px; }
.dk-home .sc-ph .ph-empty .ini { font-size: 60px; }
.dk-home .deck-actions { gap: 12px; margin: 6px 0 2px; }
.dk-home .dbtn { width: 50px; height: 50px; }
.dk-home .dbtn svg { width: 23px; height: 23px; }
.dk-home .d-undo, .dk-home .d-star { width: 40px; height: 40px; }
.dk-home .d-undo svg, .dk-home .d-star svg { width: 18px; height: 18px; }
.dk-home .dk-progress { margin-top: 4px; font-size: 11.5px; min-height: 0; }
.dk-home .deck-hint { display: none; }
@media (max-width: 979px) { .dk-home .deck { height: clamp(260px, 42vh, 340px); min-height: 0; } }
/* swipe hint */
.dk-swipehint { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 360px; margin: 8px auto 0; font-size: 12px; font-weight: 700; }
.dk-swipehint span { display: inline-flex; align-items: center; gap: 2px; }
.dk-swipehint svg { width: 15px; height: 15px; }
.dk-swipehint .sh-l { color: #d23a3a; animation: shL 1.6s ease-in-out infinite; }
.dk-swipehint .sh-r { color: #1d9a5b; animation: shR 1.6s ease-in-out infinite; }
.dk-swipehint .sh-hand { color: var(--muted); font-weight: 600; }
.dk-swiped .dk-swipehint { display: none; }
@keyframes shL { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@keyframes shR { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.scard.wiggle { animation: cardWiggle 1.6s ease-in-out; }
.scard.wiggle .s-no { animation: stampNo 1.6s ease-in-out; }
.scard.wiggle .s-yes { animation: stampYes 1.6s ease-in-out; }
@keyframes cardWiggle { 0%, 100% { transform: none; } 22% { transform: translateX(-34px) rotate(-5deg); } 44% { transform: none; } 66% { transform: translateX(34px) rotate(5deg); } 88% { transform: none; } }
@keyframes stampNo { 0%, 10%, 40%, 100% { opacity: 0; } 22% { opacity: .9; } }
@keyframes stampYes { 0%, 55%, 85%, 100% { opacity: 0; } 66% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .scard.wiggle, .dk-swipehint span { animation: none; } }

/* ===== Screenshot deterrents (v17) ===== */
.wm::before { content: ''; position: absolute; inset: 0; z-index: 1; background-image: var(--m1wm); background-repeat: repeat; background-size: 230px 120px; pointer-events: none; }
.m1-shield .sc-ph img { filter: brightness(0) !important; }
.m1-shield .wm::before { background-image: none; }
.m1-ss-note { position: fixed; left: 50%; top: 14px; z-index: 2000; transform: translate(-50%, -150%); width: min(92vw, 420px); padding: 12px 14px; border-radius: 14px; background: #2b0d16; color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.4; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transition: transform .25s ease; }
.m1-ss-note.on { transform: translate(-50%, 0); }
img { -webkit-touch-callout: none; }

/* ===== Chat fits the screen (v18) ===== */
html.chat-open, html.chat-open body { overflow: hidden; overscroll-behavior: none; }
html.chat-open .view { padding: 0 !important; }
html.chat-open .chat { height: calc(100dvh - 64px - 72px - env(safe-area-inset-bottom)); min-height: 0; }
html.chat-open .chat-head { padding: 8px 0; }
html.chat-open .compare-tray { display: none; }
@media (min-width: 980px) { html.chat-open .chat { height: calc(100dvh - 90px); } }

/* ===== App-style UI: Home, Profile, Settings, Privacy (v19) ===== */
.h-hero { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: linear-gradient(135deg, #7B1538, #8f2546); color: #fff; position: relative; overflow: hidden; }
.h-hero::after { content: ''; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background-image: radial-gradient(circle at 1px 1px, rgba(226, 174, 74, .5) 1px, transparent 1.5px); background-size: 12px 12px; opacity: .55; pointer-events: none; }
.hh-av .avatar { width: 58px; height: 58px; font-size: 20px; border: 2px solid rgba(255, 255, 255, .7); }
.hh-t { flex: 1; min-width: 0; position: relative; z-index: 1; }
.hh-t h1 { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-t p { margin: 1px 0 8px; font-size: 12.5px; color: #f1d9df; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-v { display: inline-flex; align-items: center; gap: 2px; color: #bfe0ff; font-weight: 700; }
.hh-v svg { width: 12px; height: 12px; }
.hh-bar { display: block; text-decoration: none; color: #f1d9df; }
.hh-bar span { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hh-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #E2AE4A, #f6d58c); }
.hh-bar small { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 600; }

.h-tiles, .tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.atile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px 9px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); text-align: center; min-width: 0; transition: transform .12s; }
.atile:active { transform: scale(.95); }
.atile b { font-size: 12px; font-weight: 700; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.atile small { font-size: 10.5px; color: var(--muted); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; margin-top: -2px; }
.at-ic { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; }
.at-ic svg { width: 21px; height: 21px; }
.at-ic .badge-count { position: absolute; top: -5px; right: -7px; }
.at-1 { background: #FCE8EC; color: #b0284f; }
.at-2 { background: #FDEBEF; color: #d13a5f; }
.at-3 { background: #FFF2DC; color: #b7791f; }
.at-4 { background: #E6F4EC; color: #1d8a55; }
.at-5 { background: #E8EFFC; color: #2f64c8; }
.at-6 { background: #FFF6D6; color: #b58a00; }
.at-7 { background: #EEE8FB; color: #6b46c1; }
.at-8 { background: #F6E9EC; color: var(--maroon); }

.h-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.h-stats .stat { align-items: center; padding: 9px 4px; border-radius: 14px; gap: 0; text-align: center; }
.h-stats .stat b { font-size: 20px; }
.h-stats .stat span { font-size: 11px; }

.mini-list { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.mrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-decoration: none; text-align: left; font: inherit; cursor: pointer; }
.mrow:last-child { border-bottom: 0; }
.mrow > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.mr-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--sand); color: var(--maroon); flex: none; }
.mr-ic svg { width: 19px; height: 19px; }
.mr-t { flex: 1; min-width: 0; }
.mr-t b { display: block; font-size: 14px; }
.mr-t small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-grid .strength { margin-top: 16px; }

/* profile */
.me-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.me-card .avatar.lg { width: 60px; height: 60px; }
.mc-t { flex: 1; min-width: 0; }
.mc-t h1 { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--maroon-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; }
.g-title { margin: 18px 2px 8px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tile-grid { margin-top: 0; }
.legal-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 18px 0 10px; font-size: 12.5px; }
.legal-row a { color: var(--muted); text-decoration: none; font-weight: 600; }
.logout-btn { margin-top: 4px; color: #b42318; }
.logout-btn svg { width: 18px; height: 18px; }

/* toggles */
.tg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tg { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); cursor: pointer; margin: 0; font-weight: 400; min-width: 0; }
.tg.dis { opacity: .6; cursor: default; }
.tg-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tg b { font-size: 14px; }
.tg small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.tg .switch { width: 46px; height: 28px; }
.tg .switch span::after { width: 22px; height: 22px; }
.tg .switch input:checked + span::after { transform: translateX(18px); }
.t-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--sand); color: var(--maroon); flex: none; }
.t-ic svg { width: 19px; height: 19px; }
.set-list { display: grid; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.set-acc { border-bottom: 1px solid var(--line); }
.set-acc:last-child { border-bottom: 0; }
.set-acc summary, .set-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; text-decoration: none; color: var(--ink); width: 100%; border: 0; background: none; font: inherit; text-align: left; }
.set-acc summary::-webkit-details-marker { display: none; }
.set-acc summary > svg, .set-link > svg { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.set-acc[open] summary > svg { transform: rotate(90deg); }
.sa-t { flex: 1; min-width: 0; }
.sa-t b { display: block; font-size: 14.5px; }
.sa-t small { display: block; font-size: 12px; color: var(--muted); }
.sa-body { padding: 4px 14px 16px; }
#del-acc .t-ic { background: #FDECEC; color: #b42318; }
.set-note { display: flex; align-items: center; gap: 8px; margin: -6px 0 4px; font-size: 13px; color: #1d7a4b; font-weight: 600; }
.set-note svg { width: 17px; height: 17px; }

/* privacy segmented */
.seg-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.seg-row { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.seg-row:last-child { border-bottom: 0; }
.sr-h { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.sr-h b { font-size: 14.5px; }
.sr-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--sand); color: var(--maroon); flex: none; }
.sr-ic svg { width: 16px; height: 16px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: #F3ECE4; }
.seg button { padding: 8px 4px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; line-height: 1.2; transition: background .15s, color .15s; }
.seg button.on { background: #fff; color: var(--maroon); box-shadow: 0 1px 4px rgba(60, 20, 30, .15); }
.sr-d { display: block; margin-top: 7px; font-size: 12px; color: var(--muted); line-height: 1.35; }

@media (min-width: 980px) {
	.h-tiles { grid-template-columns: repeat(8, 1fr); }
	.tile-grid { grid-template-columns: repeat(4, 1fr); max-width: 760px; }
	.tg-grid { grid-template-columns: repeat(4, 1fr); }
	.home-grid aside .section-title { margin-top: 0; }
}
/* tighter, app-like mobile spacing everywhere */
@media (max-width: 979px) {
	.view { padding-top: 12px; }
	.page-head { margin-bottom: 12px; }
	.page-head h1 { font-size: 22px; }
	.section-title { margin: 18px 0 10px; }
	.section-title h2 { font-size: 18px; }
	.card { padding: 14px; border-radius: 18px; }
	.banner { padding: 10px 12px; font-size: 13px; }
	.back { margin-bottom: 6px; }
	.scroller { grid-auto-columns: 44%; gap: 10px; }
}
.tg-grid > .tg:only-child { grid-column: 1 / -1; }

/* ===== App-style lists, matches, profile view (v20) ===== */
@media (max-width: 979px) {
	/* grouped lists: inbox, chat, activity, payments */
	.list { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
	.list:empty { display: none; }
	.list > .row-item { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 11px 12px; gap: 11px; background: #fff; }
	.list > .row-item:last-child { border-bottom: 0; }
	.list > .row-item.unread { background: #FFFBF2; }
	.list > .card.empty, .list > .sk { border: 0; border-radius: 0; }
	.list > .sk + .sk { border-top: 1px solid var(--line); }
	.row-item .avatar { width: 46px; height: 46px; flex: none; }
	.row-item .body b { font-size: 14.5px; }
	.row-item .body span { font-size: 12.5px; }
	.row-item .body .note { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.row-item .side { font-size: 11px; }
	.row-actions { margin-top: 8px; gap: 6px; }
	.row-actions .btn { min-height: 32px; height: 32px; padding: 0 12px; font-size: 12.5px; }
	.row-actions .btn svg { width: 15px; height: 15px; }
	.tabs { margin-bottom: 12px; padding: 3px; }
	.tabs button { padding: 7px 12px; font-size: 13px; }
	.view .banner { border-radius: 14px; margin-bottom: 12px; }
	.view .banner .btn { min-height: 32px; height: 32px; font-size: 12.5px; }

	/* matches */
	.ph-icons { flex-wrap: nowrap; }
	.ph-icons .btn { font-size: 0; gap: 0; width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: 14px; flex: none; justify-content: center; }
	.ph-icons .btn svg { width: 20px; height: 20px; margin: 0; }
	.pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 2px; padding: 2px 16px 8px; gap: 6px; }
	.pill { padding: 6px 11px; font-size: 12.5px; }
	.grid-cards { gap: 10px; }
	.pcard { border-radius: 16px; }
	.pcard .ov b { font-size: 14.5px; }
	.pcard .meta { padding: 8px 10px 10px; font-size: 11.5px; gap: 1px; }

	/* profile view */
	.carousel { border-radius: 18px; }
	.carousel .slide { aspect-ratio: auto; height: min(62vh, 480px); }
	.pp-name h1 { font-size: 24px; }
	.pp-sub { margin: 2px 0 8px; font-size: 14px; }
	.view .acc { border-radius: 14px; margin-bottom: 8px; }
	.view .acc summary { padding: 12px 14px; font-size: 15px; }
	.action-bar { left: 0; right: 0; bottom: var(--bnh, 64px); border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; box-shadow: 0 -4px 16px rgba(60, 20, 30, .08); padding: 8px 12px; }
	.view:has(.action-bar) { padding-bottom: 150px; }

	/* plans */
	.pc { border-radius: 18px; }
	.pick-note { border-radius: 14px; }
}

/* =====================================================================
   Friday Matrimony brand (v21): logo palette — navy, crimson maroon, gold, cream
   ===================================================================== */
:root {
	--maroon: #7B1538;
	--maroon-2: #94193F;
	--maroon-ink: #151B4A;
	--navy: #151B4A;
	--navy-2: #262D63;
	--gold: #C59338;
	--gold-2: #DDB25E;
	--gold-soft: #F7EBD5;
	--ivory: #FBF7F2;
	--sand: #F4ECE4;
	--ink: #1D1F36;
	--ink-2: #45475F;
	--muted: #74768A;
	--line: #ECE2D8;
	--shadow: 0 1px 2px rgba(21, 27, 74, .05), 0 8px 24px rgba(21, 27, 74, .07);
	--shadow-lg: 0 14px 40px rgba(21, 27, 74, .16);
	--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
body { background: var(--ivory); }
.btn { border-radius: 10px; }
.btn-primary { background: var(--maroon); }
.btn-primary:hover { background: var(--maroon-2); }

/* brand lockup: mark + Friday / MATRIMONY */
.brand { gap: 9px; color: var(--navy); }
.brand .logo, img.logo { width: auto; height: 42px; object-fit: contain; }
.brand .bw { display: flex; flex-direction: column; line-height: 1; }
.brand .bw b { font-family: var(--font-display); font-size: 25px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.brand .bw small { margin-top: 3px; font-family: var(--font); font-size: 8.5px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--maroon); padding-left: 2px; }
.topbar .brand .logo { width: auto; height: 36px; }
.topbar .brand .bw b { font-size: 22px; }
.boot .logo, .center-screen .logo { width: auto; height: 72px; }
.auth-art .brand .bw b, .lp-foot .brand .bw b, .fm-foot .brand .bw b, .staff-top .brand .bw b { color: #fff; }
.auth-art .brand .bw small, .fm-foot .brand .bw small { color: var(--gold-2); }
.auth-art { background: linear-gradient(160deg, var(--navy) 0%, #2a1240 55%, var(--maroon) 100%); }
.auth-art h2 em { color: var(--gold-2); }
.m1h-av { background: var(--maroon) !important; color: #fff; }
.h-hero { background: linear-gradient(135deg, var(--navy) 0%, #3a1645 55%, var(--maroon) 100%); }
.hello { background: linear-gradient(135deg, var(--navy), var(--maroon)); }
.page-head h1, .section-title h2, .pp-name h1, .me-card h1, .mc-t h1 { color: var(--navy); }
.bottomnav a.active, .tabs button.on, .seg button.on { color: var(--maroon); }
.topnav a.active { background: var(--maroon); }

/* ---------------- Landing (client design) ---------------- */
.fm { background: var(--ivory); }
.fm .wrap { max-width: 1200px; }
.fm-nav { background: rgba(251, 247, 242, .94); }
.fm-nav .wrap { height: 72px; }
.fm-nav .lp-links { margin-left: auto; margin-right: 18px; gap: 30px; }
.fm-nav .lp-links a { color: var(--navy); font-weight: 600; }
.fm-nav .lp-cta { margin-left: 0; }
.fm-out { background: transparent !important; border: 1.5px solid var(--maroon) !important; color: var(--maroon) !important; }
.fm-out:hover { background: #fff !important; }
.fm-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.fm-eyebrow.center, .fm-h2.center { text-align: center; }
.fm-h2 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; color: var(--navy); letter-spacing: -.01em; }
.fm-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--maroon); text-decoration: none; white-space: nowrap; }
.fm-link svg { width: 16px; height: 16px; }
.fm .btn svg { width: 18px; height: 18px; margin-left: 4px; }
.fm-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.fm-sec-head .fm-h2 { margin: 0; }

/* hero */
.fm-hero { position: relative; overflow: hidden; background: #FBF3EA; }
.fm-hero-bg { position: absolute; inset: 0; background:
	radial-gradient(circle at 70% 40%, rgba(197, 147, 56, .18), transparent 45%),
	radial-gradient(circle at 92% 85%, rgba(123, 21, 56, .12), transparent 40%),
	radial-gradient(circle at 55% 10%, rgba(244, 192, 205, .35), transparent 40%); }
.fm-hero-bg::after { content: ''; position: absolute; right: 26%; top: 50%; width: 360px; height: 340px; transform: translateY(-50%); background: url('friday-mark.png') center / contain no-repeat; opacity: .12; }
.fm-hero-bg.has-img { background: var(--hero) center right / cover no-repeat; }
.fm-hero-bg.has-img::after { inset: 0; right: 0; top: 0; width: auto; height: auto; transform: none; opacity: 1; background: linear-gradient(90deg, #FBF3EA 0%, rgba(251, 243, 234, .92) 30%, rgba(251, 243, 234, .35) 52%, rgba(251, 243, 234, 0) 70%); }
.fm-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; min-height: 560px; padding-top: 36px; padding-bottom: 36px; }
.fm-hero-copy { max-width: 470px; }
.fm-hero-copy h1 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; color: var(--navy); letter-spacing: -.015em; }
.fm-hero-copy h1 em { display: block; font-style: italic; color: var(--maroon); }
.fm-lead { margin: 0 0 24px; font-size: 17px; color: var(--ink-2); max-width: 400px; }
.fm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fm-social { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 13px; color: var(--ink-2); }
.fm-social b { color: var(--navy); }
.fm-faces { display: flex; }
.fm-faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.fm-faces img + img { margin-left: -10px; }
.fm-search { padding: 24px 22px 18px; border-radius: 18px; background: rgba(255, 255, 255, .97); box-shadow: 0 20px 50px rgba(21, 27, 74, .14); border: 1px solid #F0E6DC; }
.fm-search h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--navy); }
.fs-sub { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.fs-label, .fm-search label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.fm-search label { margin-bottom: 14px; }
.fm-search select { min-height: 44px; margin-top: 6px; border-radius: 10px; }
.fs-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.fs-seg label { position: relative; margin: 0; }
.fs-seg input { position: absolute; opacity: 0; }
.fs-seg span { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--ink); cursor: pointer; }
.fs-seg span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c9bcc2; flex: none; }
.fs-seg input:checked + span { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.fs-seg input:checked + span::before { border-color: #fff; background: radial-gradient(circle, #fff 35%, transparent 40%); }
.fs-seg input:focus-visible + span { outline: 3px solid rgba(197, 147, 56, .5); }
.fs-age { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-bottom: 14px; }
.fs-age select { margin: 0; }
.fs-age span { font-size: 13px; color: var(--muted); }
.fm-search .btn-block { margin-top: 4px; min-height: 48px; }
.fs-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.fs-safe svg { width: 16px; height: 16px; color: var(--maroon); }

/* trust strip */
.fm-trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fm-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.fm-trust-grid > div { display: flex; align-items: center; gap: 12px; }
.fm-trust i, .fm-why-cards i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #FBEDEE; color: var(--maroon); flex: none; }
.fm-trust i svg, .fm-why-cards i svg { width: 23px; height: 23px; }
.fm-trust b { display: block; font-size: 14.5px; color: var(--navy); }
.fm-trust small { display: block; font-size: 12.5px; color: var(--muted); }

/* how it works */
.fm-how { position: relative; overflow: hidden; padding: 64px 0; background: linear-gradient(#FBF7F2, #F8EFE7); }
.fm-deco { position: absolute; width: 170px; opacity: .9; pointer-events: none; mix-blend-mode: multiply; }
.fm-deco-l { left: -30px; top: 30px; }
.fm-deco-r { right: -30px; bottom: 10px; transform: scaleX(-1); }
.fm-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 980px; margin: 30px auto 0; padding: 0; list-style: none; }
.fm-steps li { position: relative; padding: 26px 26px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fm-steps li + li::before { content: '›'; position: absolute; left: -26px; top: 50%; transform: translateY(-50%); font-size: 30px; color: var(--gold); }
.fm-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--maroon); font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.fm-steps i { display: block; width: 46px; height: 46px; color: var(--maroon); margin: 0 auto 12px; }
.fm-steps i svg { width: 100%; height: 100%; }
.fm-steps h3 { margin: 0 0 6px; text-align: center; font-size: 17px; color: var(--navy); }
.fm-steps p { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }

/* profiles */
.fm-profiles { padding: 60px 0; }
.fm-prow { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.fm-pcard { display: flex; flex-direction: column; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--ink); scroll-snap-align: start; box-shadow: var(--shadow); transition: transform .15s; }
.fm-pcard:hover { transform: translateY(-3px); }
.fp-ph { position: relative; aspect-ratio: 4 / 4.3; background: linear-gradient(150deg, #F2E3D6, #E6CDBE); overflow: hidden; }
.fp-ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.fp-lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 11.5px; color: var(--maroon); white-space: nowrap; }
.fp-vb { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: #E7F5EC; color: #1d7a4f; font-style: normal; font-size: 11px; font-weight: 700; }
.fp-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 14px; }
.fp-body b { font-size: 15px; color: var(--navy); }
.fp-body small { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.fp-row { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-row svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
.fp-btn { margin-top: 10px; padding: 8px; border: 1.5px solid var(--maroon); border-radius: 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--maroon); }

/* why */
.fm-why { padding: 60px 0; background: linear-gradient(#F9F1EA, #FBF7F2); }
.fm-why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.fm-why-copy { position: relative; }
.fm-why-copy .fm-h2 { font-size: clamp(30px, 3.6vw, 42px); }
.fm-why-flower { width: 150px; margin-top: 10px; mix-blend-mode: multiply; }
.fm-why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fm-why-cards > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: start; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.fm-why-cards i { grid-row: span 2; }
.fm-why-cards b { font-size: 15px; color: var(--navy); }
.fm-why-cards span { font-size: 13px; color: var(--muted); }

/* plans (reuses plan picker) */
.fm-plans { padding: 60px 0; }
.fm-plans .pick-grid { max-width: none; }
.fm-plans .pc { border-radius: 16px; }
.fm-plans .pc.rec { background: linear-gradient(#FFF6F7, #fff); border-color: var(--maroon); }
.fm-plans .pc-badge { background: var(--maroon); color: #fff; }
.fm-plans .pc h3 { font-family: var(--font-display); color: var(--navy); }
.fm-plans .pc-now { color: var(--maroon); font-family: var(--font-display); }

/* callback */
.fm-callback { padding: 56px 0; background: linear-gradient(90deg, #F9EFE6, #FBF7F2); }
.fm-cb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fm-cb-copy { position: relative; padding-left: 0; }
.fm-cb-flower { float: left; width: 110px; margin: 0 16px 0 -10px; mix-blend-mode: multiply; }
.fm-cb-form { display: grid; gap: 12px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fm-cb-form input { margin: 0; min-height: 46px; }
.fm-cb-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; }
.fm-tel { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.fm-tel b { display: grid; place-items: center; padding: 0 12px; border-right: 1px solid var(--line); font-size: 14px; color: var(--ink-2); background: #FBF7F2; }
.fm-tel input { border: 0; border-radius: 0; }
.fm-cb-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--muted); }
.fm-cb-note svg { width: 15px; height: 15px; color: var(--maroon); }

/* faq + lamp */
.fm-faq { padding: 56px 0 64px; }
.fm-faq-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: stretch; }
.fm-faq details { margin-bottom: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.fm-faq summary { position: relative; padding: 13px 40px 13px 16px; font-weight: 600; font-size: 14.5px; color: var(--navy); cursor: pointer; list-style: none; }
.fm-faq summary::-webkit-details-marker { display: none; }
.fm-faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--maroon); }
.fm-faq details[open] summary::after { content: '−'; }
.fm-faq details p { margin: 0; padding: 0 16px 14px; font-size: 14px; color: var(--ink-2); }
.fm-lamp { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 300px; padding: 30px; border-radius: 200px 200px 18px 18px; background: radial-gradient(circle at 30% 60%, rgba(221, 178, 94, .45), transparent 45%), linear-gradient(160deg, #FBEFE2, #F3DCCB); overflow: hidden; }
.fm-lamp.has-img { background: var(--lamp) left center / cover no-repeat, #F7E9DC; }
.fm-lamp p { position: relative; z-index: 1; margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.15; color: var(--maroon); text-align: left; }
.fm-lamp i { position: absolute; right: 30px; bottom: 34%; width: 50px; height: 2px; background: var(--gold); }
.fm-lamp:not(.has-img)::before { content: ''; position: absolute; left: 22px; bottom: 20px; width: 150px; height: 220px; background: url('friday-mark.png') center / contain no-repeat; opacity: .25; }

/* footer */
.fm-foot { background: linear-gradient(135deg, #5a0f29, var(--maroon)); color: #f3dfe5; padding: 46px 0 0; }
.fm-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.fm-foot h4 { margin: 0 0 12px; font-size: 15px; color: #fff; }
.fm-foot a, .fm-foot span { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: #f0d6de; text-decoration: none; font-size: 13.5px; }
.fm-foot a:hover { color: #fff; }
.fm-foot svg { width: 16px; height: 16px; flex: none; color: var(--gold-2); }
.ff-brand p { margin: 12px 0 0; font-size: 13.5px; color: #f0d6de; }
.ff-brand .brand { margin: 0; }
.fm-foot .brand .logo { height: 46px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.fm-foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 12.5px; }
.fm-foot-base span { margin: 0; }
.fm-foot-base i { font-style: normal; color: #ff8fa8; }

@media (min-width: 980px) { .fm-nav .lp-links { display: flex; } .fm-nav .lp-cta .btn-ghost { display: inline-flex; } }
@media (max-width: 979px) {
	.fm-nav .wrap { height: 62px; }
	.fm-nav .brand .logo { height: 36px; }
	.fm-nav .brand .bw b { font-size: 21px; }
	.fm-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 20px; padding-top: 0; padding-bottom: 24px; }
	.fm-hero-bg { position: relative; height: 0; }
	.fm-hero-bg.has-img { height: 300px; background-position: 70% center; }
	.fm-hero-bg.has-img::after { background: linear-gradient(0deg, #FBF3EA 0%, rgba(251, 243, 234, 0) 45%); }
	.fm-hero-bg:not(.has-img)::after { display: none; }
	.fm-hero-copy { padding-top: 24px; max-width: none; }
	.fm-hero-bg.has-img + .fm-hero-grid .fm-hero-copy { padding-top: 0; margin-top: -40px; }
	.fm-hero-copy h1 { font-size: 36px; }
	.fm-lead { font-size: 15.5px; margin-bottom: 18px; }
	.fm-hero-actions .btn { flex: 1; justify-content: center; }
	.fm-search { padding: 20px 16px 14px; }
	.fm-trust-grid { grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 16px; padding-bottom: 16px; }
	.fm-trust i { width: 40px; height: 40px; }
	.fm-trust b { font-size: 13.5px; }
	.fm-trust small { font-size: 11.5px; }
	.fm-how, .fm-profiles, .fm-why, .fm-plans, .fm-callback, .fm-faq { padding: 40px 0; }
	.fm-deco { width: 90px; opacity: .5; }
	.fm-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
	.fm-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px; text-align: left; }
	.fm-steps li + li::before { display: none; }
	.fm-steps .fm-num { position: absolute; top: 10px; right: 12px; margin: 0; width: 24px; height: 24px; font-size: 12px; }
	.fm-steps i { grid-row: span 2; width: 38px; height: 38px; margin: 0; }
	.fm-steps h3, .fm-steps p { text-align: left; }
	.fm-steps h3 { font-size: 16px; margin-bottom: 2px; }
	.fm-steps p { font-size: 13px; }
	.fm-sec-head { align-items: flex-start; flex-direction: column; gap: 4px; }
	.fm-prow { grid-auto-columns: 44%; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
	.fm-why-grid, .fm-cb-grid, .fm-faq-grid { grid-template-columns: 1fr; gap: 20px; }
	.fm-why-flower { display: none; }
	.fm-why-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
	.fm-why-cards > div { grid-template-columns: 1fr; padding: 14px; }
	.fm-why-cards i { grid-row: auto; width: 38px; height: 38px; margin-bottom: 8px; }
	.fm-why-cards b { font-size: 14px; }
	.fm-why-cards span { font-size: 12px; }
	.fm-cb-row { grid-template-columns: 1fr; }
	.fm-cb-flower { width: 70px; }
	.fm-lamp { min-height: 200px; border-radius: 120px 120px 16px 16px; }
	.fm-lamp p { font-size: 22px; }
	.fm-foot { padding-top: 32px; padding-bottom: 70px; }
	.fm-foot-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
	.ff-brand, .ff-contact { grid-column: 1 / -1; }
}
.fm-foot .brand .logo { background: #FBF7F2; border-radius: 12px; padding: 4px 6px; height: 52px; }
@media (max-width: 979px) {
	.fm-nav .lp-cta { margin-left: auto; gap: 6px; }
	.fm-nav .lp-cta .btn { min-height: 36px; height: 36px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
	.fm-nav .lp-cta .btn-primary { display: inline-flex; }
	.fm-nav .lp-cta .btn-ghost { display: inline-flex; }
}
@media (max-width: 380px) { .fm-nav .lp-cta .fm-out { display: none !important; } }
.fm-lamp i { display: none; }
.fm-lamp p::after { content: ''; display: block; width: 50px; height: 2px; margin-top: 14px; background: var(--gold); }

/* ===== Premium hero (v23): gold arch frame + sparkles ===== */
.fm-hero { background: radial-gradient(120% 90% at 0% 0%, #FFF8EF 0%, #FBF1E6 45%, #F6E4D9 100%); border-bottom: 1px solid #EAD7BF; }
.fm-hero-bg { background:
	radial-gradient(circle at 62% 45%, rgba(221, 178, 94, .30), transparent 32%),
	radial-gradient(circle at 92% 12%, rgba(123, 21, 56, .10), transparent 30%),
	radial-gradient(circle at 18% 95%, rgba(244, 192, 205, .35), transparent 35%),
	radial-gradient(rgba(197, 147, 56, .16) 1px, transparent 1.4px) 0 0 / 22px 22px; }
.fm-hero-bg::after { display: none !important; }
.fm-sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fm-sparkles i { position: absolute; display: block; background: radial-gradient(circle, #FFF7DA 0%, #E9C46A 35%, rgba(233, 196, 106, 0) 70%); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: fmTwinkle 3.6s ease-in-out infinite; opacity: .2; }
@keyframes fmTwinkle { 0%, 100% { opacity: .15; transform: scale(.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(25deg); } }
.fm-hero-grid { grid-template-columns: minmax(0, 1fr) 330px 370px; gap: 34px; min-height: 600px; }
.fm-hero-copy h1 { font-size: clamp(36px, 4.4vw, 58px); }
.fm-hero-copy h1 em { background: linear-gradient(90deg, #7B1538, #A3284F 45%, #C59338 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 6px; }
.fm-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.fm-hero-copy .fm-eyebrow::before { content: ''; width: 26px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold)); }
.fm-hero .btn-primary { box-shadow: 0 10px 24px rgba(123, 21, 56, .28); background: linear-gradient(135deg, #8E1A42, #6B1131); }
.fm-arch { position: relative; margin: 0; align-self: center; }
.fa-frame { display: block; padding: 6px; border-radius: 190px 190px 26px 26px; background: linear-gradient(160deg, #F6DD9B, #C59338 35%, #8A6420 60%, #E9C46A 85%, #F8E7B5); box-shadow: 0 30px 60px rgba(123, 21, 56, .22), 0 0 0 10px rgba(255, 255, 255, .55); }
.fa-img { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 440px; border-radius: 184px 184px 21px 21px; overflow: hidden;
	background: radial-gradient(circle at 50% 35%, rgba(233, 196, 106, .35), transparent 45%), linear-gradient(170deg, #9B1F4A 0%, #6E1231 55%, #2A1240 100%); }
.fa-img::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255, 233, 170, .35) 1px, transparent 1.5px) 0 0 / 16px 16px; opacity: .45; }
.fa-img::after { content: ''; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 244, 214, .45) 50%, transparent 60%); animation: fmShine 5.5s ease-in-out infinite; }
@keyframes fmShine { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.fa-img img { position: relative; z-index: 1; width: 62%; height: auto; padding: 14px; border-radius: 26px; background: rgba(255, 250, 240, .96); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.fa-img b { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 22px; line-height: 1.2; color: #F8E7B5; text-align: center; }
.fm-arch.has-img .fa-img { background: var(--hero) 72% center / cover no-repeat; }
.fm-arch.has-img .fa-img::before { background: linear-gradient(0deg, rgba(42, 18, 64, .35), transparent 40%); opacity: 1; }
.fa-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid #F1E2C8; box-shadow: 0 10px 24px rgba(21, 27, 74, .14); font-size: 12.5px; font-weight: 700; color: var(--navy); white-space: nowrap; animation: fmFloat 5s ease-in-out infinite; }
.fa-chip i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 11px; color: #fff; background: linear-gradient(135deg, #C59338, #8A6420); }
.fa-c1 { left: -34px; top: 22%; }
.fa-c2 { right: -26px; top: 52%; animation-delay: 1.4s; }
.fa-c2 i { background: linear-gradient(135deg, #A3284F, #6B1131); }
.fa-c3 { left: -10px; bottom: 7%; animation-delay: 2.6s; }
.fa-c3 i { background: linear-gradient(135deg, #262D63, #151B4A); }
@keyframes fmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.fm-search { position: relative; border: 1px solid #EAD7BF; }
.fm-search::before { content: ''; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #C59338, #F3D58A, #C59338); }
@media (max-width: 1180px) and (min-width: 980px) { .fm-hero-grid { grid-template-columns: minmax(0, 1fr) 280px 350px; gap: 24px; } .fa-img { height: 380px; } }
@media (max-width: 979px) {
	.fm-hero-grid { grid-template-columns: 1fr; padding-top: 20px; }
	.fm-arch { width: min(270px, 74vw); margin: 6px auto 18px; order: 2; }
	.fm-search { order: 3; }
	.fa-img { height: 320px; }
	.fa-img b { font-size: 18px; }
	.fa-chip { font-size: 11.5px; padding: 6px 10px; }
	.fa-c1 { left: -26px; }
	.fa-c2 { right: -28px; }
	.fa-c3 { left: -16px; }
}
@media (prefers-reduced-motion: reduce) { .fm-sparkles i, .fa-img::after, .fa-chip { animation: none; } }
/* FAQ full width, text only */
.fm-faq-list { columns: 2; column-gap: 18px; }
.fm-faq-list details { break-inside: avoid; display: block; }
@media (max-width: 979px) { .fm-faq-list { columns: 1; } }
