/* Jathagam website. Same design language as stilltyping: warm paper, near-black ink,
   hairline borders, a maroon and temple-gold accent, Syne/Plus Jakarta for Latin and Noto Sans
   Tamil for Tamil. A thin gold is the only addition, for the astrology. */

:root {
  --paper: #fbf8f2; --card: #fff; --haze: #fbf3e2; --tint: #f3f0eb;
  --lav-50: #fdf6e6; --lav-100: #f8e8c2; --lav-200: #f0d590; --lavender: #e0b04a;
  --violet: #7d1a2b; --violet-deep: #5e1220;
  --gold: #d49a1f; --gold-50: #fbf4e4; --gold-hi: #f2c14e; --maroon: #7d1a2b;
  --ink: #121212; --body: #5c5c5c; --muted: #8a8a8a;
  --line: rgba(18,18,18,.1); --line-2: rgba(18,18,18,.16);
  --ok: #0f7a4d; --bad: #c9225a;
  --lift: 0 1px 2px rgba(18,18,18,.05), 0 12px 28px rgba(18,18,18,.07);
  --lift-lg: 0 18px 50px rgba(18,18,18,.09);
  --glow: 0 12px 28px -14px rgba(18,18,18,.55);
  --display: 'Syne', 'Noto Sans Tamil', 'Plus Jakarta Sans', system-ui, sans-serif;
  --text: 'Plus Jakarta Sans', 'Noto Sans Tamil', system-ui, sans-serif;
}
* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
:is(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
:is(ul, ol) { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:is(h1, h2) { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
html[lang="ta"] :is(h1, h2) { font-family: 'Noto Sans Tamil', var(--text); letter-spacing: -0.015em; line-height: 1.22; }
html[lang="ta"] h3 { letter-spacing: 0; }
html[lang="ta"] body { font-size: 16px; line-height: 1.75; }
:is(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lav-200); }
svg { flex: none; }
.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
section[id] { scroll-margin-top: 110px; }
.skip { position: fixed; top: -70px; left: 16px; z-index: 60; background: var(--violet); color: #fff; padding: 10px 18px; font-weight: 600; border-radius: 10px; }
.skip:focus { top: 14px; }
.ta-only, .en-only { display: contents; }
html[lang="ta"] .en-only, html[lang="en"] .ta-only { display: none; }

/* Meta badge ring, as on stilltyping */
@property --ig-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ig-ring { position: relative; isolation: isolate; border-color: transparent !important; }
.ig-ring::before, .ig-ring::after { content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ig-angle), #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #962fbf, #d62976, #fa7e1e, #feda75); }
.ig-ring::before { padding: 1.5px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ig-ring::after { inset: 2px; filter: blur(9px); opacity: .3; z-index: -2; }
@media (prefers-reduced-motion: no-preference) { .ig-ring::before, .ig-ring::after { animation: ig-flow 5s linear infinite; } }
@keyframes ig-flow { to { --ig-angle: 360deg; } }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 40; padding-top: 14px; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; padding: 0 10px 0 20px; border-radius: 999px;
  background: rgba(255,255,255,.84); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(18,18,18,.07); }
.word { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--display); letter-spacing: -0.04em; }
.logo { width: 36px; height: 36px; display: block; flex: none; } .logo img { display: block; width: 36px; height: 36px; }
.head-nav { display: flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 600; }
.head-nav a { padding: 8px 14px; border-radius: 999px; color: #3a3a3a; transition: background .16s; }
.head-nav a:hover { background: #f3f0ec; color: var(--ink); }
.head-end { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: #f1eee9; }
.lang button { border: 0; background: none; font: 600 13px var(--text); padding: 6px 11px; border-radius: 999px; cursor: pointer; color: #4a3a3c; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
@media (max-width: 1080px) { .head-nav { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 14px;
  font: 700 16.5px var(--text); cursor: pointer; background: var(--ink); color: #fff; box-shadow: var(--glow); transition: transform .16s, background .16s, border-color .16s; }
.btn:hover { background: #2e2224; transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; transform: none; }
.btn svg { transition: transform .16s; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 999px; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: var(--card); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--lav-50); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-block { width: 100%; }

/* ---------- shared bits ---------- */
.eyebrow { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--lav-50); color: var(--violet); border: 1px solid var(--lav-100); }
.ico-sm { width: 30px; height: 30px; border-radius: 9px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.sec { padding: 112px 0; }
.sec-tint { background: var(--tint); }
.sec-dark { background: #121212; color: #f4f2ee; }
.sec-dark .sec-head p { color: #b5b0a8; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 62px); }
html[lang="ta"] .sec-head h2 { font-size: clamp(30px, 4vw, 46px); }
.sec-head p { margin-top: 20px; font-size: 19px; color: var(--body); max-width: 60ch; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: var(--lift); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link:hover { color: var(--violet-deep); }
.fine { font-size: 14px; color: var(--muted); }
[data-reveal] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 30px; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -320px; right: -220px; width: 980px; height: 980px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(242,193,78,.30), rgba(242,193,78,.08) 45%, rgba(242,193,78,0) 70%); }
.hero::after { content: ''; position: absolute; bottom: -260px; left: -200px; width: 700px; height: 700px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240,200,120,.18), rgba(240,200,120,0) 65%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; min-height: 680px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.badges li svg { color: var(--violet); }
.badges .msme b { font-weight: 800; color: #0b6b3a; }
.hero h1 { font-size: clamp(44px, 5.6vw, 76px); }
html[lang="ta"] .mark { white-space: normal; }
html[lang="ta"] .eyebrow { letter-spacing: 0; }
html[lang="ta"] .hero h1 { font-size: clamp(36px, 4.6vw, 60px); }
.mark { position: relative; white-space: nowrap; }
.mark svg { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .32em; overflow: visible; }
.mark path { fill: none; stroke: url(#brush); stroke-width: 7; stroke-linecap: round; }
.hero-sub { margin-top: 26px; max-width: 56ch; font-size: 19.5px; color: var(--body); }
html[lang="ta"] .hero-sub { font-size: 17.5px; }
.hero-do { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 15px; font-weight: 600; color: #3a3a3a; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { color: var(--violet); }

/* hero mockup: report page + phone + floating chips */
.stage { position: relative; height: 640px; }
.paper { position: absolute; left: 0; top: 40px; width: 58%; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--lift-lg); transform: rotate(-4deg); }
.paper img { width: 100%; }
.phone { position: absolute; right: 0; top: 0; width: 300px; height: 620px; border-radius: 48px; background: #121212; padding: 11px; box-shadow: 0 40px 80px -30px rgba(18,18,18,.5); }
.phone-in { height: 100%; border-radius: 38px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.ph-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 4px; font: 700 14px var(--text); }
.ph-notch { width: 96px; height: 26px; border-radius: 999px; background: #121212; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; border-bottom: 1px solid var(--line); }
.ph-ava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), #8a5a12); color: #fff; font-weight: 800; font-size: 15px; }
.ph-head b { display: block; font-size: 14px; line-height: 1.2; }
.ph-head small { color: var(--muted); font-size: 11.5px; }
.ph-chat { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; background: #fff; }
.bub { max-width: 82%; padding: 8px 12px; border-radius: 18px; font-size: 13px; line-height: 1.45; }
.bub-me { align-self: flex-end; background: #3797f0; color: #fff; border-bottom-right-radius: 6px; }
.bub-them { align-self: flex-start; background: #efefef; border-bottom-left-radius: 6px; }
.bub-img { align-self: flex-start; width: 70%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.ph-note { align-self: flex-end; font-size: 11px; color: var(--muted); }
.ph-input { margin: 8px 10px 12px; height: 40px; border-radius: 999px; background: #f2f2f2; display: flex; align-items: center; padding: 0 14px; font-size: 13px; color: var(--muted); }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--lift-lg); padding: 14px 16px; font-size: 13px; }
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); }
.f-alert { left: -14px; bottom: 26px; width: 250px; display: flex; gap: 12px; align-items: flex-start; }
.f-alert .ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: #fff3e0; color: #b26a00; border-color: #ffe2b8; }
.f-stars { right: 0; bottom: 120px; }
.f-stars .stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.f-live { position: absolute; left: 42%; top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 6s ease-in-out infinite; }
  .f-stars { animation-delay: -2s; } .f-live { animation-delay: -4s; }
}
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ticker */
.ticker { position: relative; z-index: 1; margin-top: 40px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 12px; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: tick 60s linear infinite; } }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker span { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 600; white-space: nowrap; font-family: 'Noto Sans Tamil', var(--text); }
.ticker span i { font-style: normal; color: var(--gold); display: inline-flex; }

/* three reasons */
.band { padding: 40px 0 100px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why { display: flex; flex-direction: column; gap: 10px; }
.why .vis { height: 116px; border-radius: 18px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; }
.vis-free { background: linear-gradient(120deg, #fbe7b4, #f6d9d2); }
.vis-free span:first-child { font: 700 46px var(--display); letter-spacing: -0.04em; }
.pill-dark { background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.vis-acc { background: #f4f1ec; gap: 8px; justify-content: flex-start; }
.vis-acc span { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 700; line-height: 1.3; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.vis-acc small { display: block; color: var(--violet); font-weight: 700; font-size: 11px; }
.vis-trust { background: #f4f1ec; gap: 12px; justify-content: flex-start; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.meta-chip { background: #fff; border-radius: 10px; padding: 8px 10px; display: inline-flex; flex: none; }
.why h3 { font-size: 21px; }
.why p { color: var(--body); font-size: 16px; }
.why .link { margin-top: auto; padding-top: 10px; }

/* instagram flow */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.step-top span { font: 700 13px var(--display); color: var(--violet); }
.mini { min-height: 150px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mini .bub { font-size: 13px; }
.mini-img { display: flex; gap: 8px; align-items: center; }
.mini-img img { width: 64px; border-radius: 10px; border: 1px solid var(--line); }
.step h3 { font-size: 19px; }
.step p { color: var(--body); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }

/* products */
.shop-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.shop-tabs button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 9px 16px; font: 600 14.5px var(--text); cursor: pointer; }
.shop-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.prod { display: flex; flex-direction: column; gap: 10px; position: relative; transition: transform .16s, border-color .16s; }
.prod:hover { transform: translateY(-3px); border-color: var(--lavender); }
.prod h3 { font-size: 18.5px; }
.prod p { color: var(--body); font-size: 15px; flex: 1; }
.prod .tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--lav-50); color: var(--violet-deep); }
.prod .tag.gold { background: var(--gold-50); color: #8a5a12; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font: 700 28px var(--display); letter-spacing: -0.03em; }
.mrp { margin-left: 8px; color: var(--muted); text-decoration: line-through; font-size: 15px; }
.off { margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: #e6f4ec; color: var(--ok); font-size: 12px; font-weight: 800; white-space: nowrap; }
.price-row > div { display: flex; align-items: baseline; flex-wrap: wrap; }
.skeleton { height: 220px; border-radius: 26px; background: linear-gradient(90deg, #f1eee9, #f8f6f3, #f1eee9); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* inside the report */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ticks { display: grid; gap: 14px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.pages { position: relative; height: 560px; }
.pages figure { position: absolute; width: 50%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--lift-lg); background: #fff; }
.pages figure:nth-child(1) { left: 0; top: 40px; transform: rotate(-5deg); }
.pages figure:nth-child(2) { left: 25%; top: 0; z-index: 2; }
.pages figure:nth-child(3) { right: 0; top: 50px; transform: rotate(5deg); }
.chapters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chapters span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }

/* alerts (dark) */
.alerts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.alert { background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.alert-top { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #8f8a83; }
.alert-top b { color: var(--lavender); font-size: 13px; letter-spacing: .04em; }
.alert p { color: #e9e6e0; font-size: 15.5px; }
.alert small { color: #8f8a83; }
.sec-dark .eyebrow { color: var(--lavender); }

/* languages */
.langs2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.langs2 .card { display: flex; gap: 22px; align-items: center; }
.langs2 img { width: 150px; border-radius: 10px; border: 1px solid var(--line); }
.langs2 b { font: 700 40px var(--display); letter-spacing: -0.03em; display: block; }

/* faq */
.qa { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 18px; padding: 0 22px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--lavender); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: #b5b0a8; }

/* close */
.close-wrap { padding: 40px 0 110px; }
.close { position: relative; overflow: hidden; border-radius: 36px; padding: 80px 56px; text-align: center; color: #fff;
  background: radial-gradient(circle at 20% 0%, #9b2335, transparent 55%), radial-gradient(circle at 90% 100%, #d49a1f, transparent 50%), #1c0d10; }
.close h2 { font-size: clamp(34px, 5vw, 60px); max-width: 18ch; margin-inline: auto; }
html[lang="ta"] .close h2 { font-size: clamp(28px, 3.8vw, 44px); }
.close h2 em { font-style: normal; color: var(--lavender); }
.close p { margin: 20px auto 0; max-width: 56ch; color: #efdcc8; font-size: 18px; }
.close .hero-do { justify-content: center; }
.close-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.close-facts li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13.5px; font-weight: 600; }

/* footer */
.foot { background: var(--card); color: var(--body); padding: 64px 0 56px; font-size: 15px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 40ch; }
.foot-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.foot-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav b { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.foot nav a:hover { color: var(--violet-deep); }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- forms (buy page) ---------- */
.page-head { padding: 56px 0 26px; }
.crumb { font-size: 14px; color: var(--muted); }
.crumb a { color: var(--violet-deep); font-weight: 600; }
.page-head h1 { margin-top: 12px; font-size: clamp(34px, 4.4vw, 54px); }
html[lang="ta"] .page-head h1 { font-size: clamp(28px, 3.4vw, 40px); }
.page-head p { margin-top: 14px; color: var(--body); max-width: 62ch; font-size: 18px; }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; padding-bottom: 100px; }
.form { display: grid; gap: 18px; }
.block { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--lift); }
.block-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.block-top span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--lav-50); color: var(--violet); font: 700 14px var(--display); }
.block-top h2 { font: 800 19px var(--text); letter-spacing: -0.02em; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; color: #3a3a3a; }
.field small { font-size: 12.5px; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; font: 500 16px var(--text); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--lav-100); }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: #f1eee9; border-radius: 14px; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; }
.seg input:checked + span { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.seg input:focus-visible + span { outline: 3px solid var(--violet); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: block; padding: 14px; border: 1px solid var(--line-2); border-radius: 14px; font-weight: 600; font-size: 15px; cursor: pointer; background: #fff; }
.opt input:checked + span { border-color: var(--violet); background: var(--lav-50); box-shadow: 0 0 0 3px var(--lav-100); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--violet); flex: none; }
.coords { display: none; }
.coords.show { display: grid; }
.place-meta { font-size: 13px; color: var(--muted); }
.place-meta a { color: var(--violet-deep); font-weight: 600; cursor: pointer; }
.summary { position: sticky; top: 100px; display: grid; gap: 16px; }
.summary .block { padding: 24px; }
.summary h3 { font-size: 20px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 18px; }
.sum-total b { font: 700 32px var(--display); letter-spacing: -0.03em; }
.trust-list { display: grid; gap: 10px; font-size: 14px; color: var(--body); }
.trust-list li { display: flex; gap: 10px; align-items: center; }
.trust-list svg { color: var(--violet); }
.err { display: none; background: #fdecef; border: 1px solid #f6c5d1; color: #8c1239; padding: 12px 16px; border-radius: 14px; font-size: 15px; font-weight: 600; }
.err.show { display: block; }
.person + .person { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.person-title { font-weight: 800; margin-bottom: 12px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; background: rgba(18,18,18,.45); backdrop-filter: blur(4px); padding: 20px; }
.modal.show { display: grid; }
.modal .block { max-width: 460px; width: 100%; text-align: center; }
.modal h2 { font: 800 22px var(--text); margin-bottom: 10px; }
.modal p { color: var(--body); margin-bottom: 20px; }

/* order page */
.order { max-width: 760px; margin: 0 auto; padding-bottom: 110px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.progress li { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.progress li.done { color: var(--ink); border-color: var(--lav-200); background: var(--lav-50); }
.progress li.now { color: var(--ink); border-color: var(--violet); box-shadow: 0 0 0 3px var(--lav-100); }
.progress li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #eee; font-style: normal; font-size: 12px; }
.progress li.done i { background: var(--violet); color: #fff; }
.spin { width: 18px; height: 18px; border: 2.5px solid var(--lav-200); border-top-color: var(--violet); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.files { display: grid; gap: 10px; margin-top: 12px; }
.file { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.file b { font-size: 15px; word-break: break-all; }

/* written pages */
.doc { max-width: 780px; margin: 0 auto; padding: 10px 0 110px; }
.doc h2 { font: 800 24px var(--text); letter-spacing: -0.02em; margin: 40px 0 12px; }
.doc p, .doc li { color: #3a3a3a; margin-bottom: 12px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc .card { margin: 20px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-in, .split, .qa, .checkout { grid-template-columns: 1fr; }
  .stage { height: 600px; max-width: 620px; }
  .cards3, .alerts { grid-template-columns: 1fr 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .summary { position: static; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 16px; }
  .head-in { height: 58px; padding: 0 8px 0 14px; }
  .word { font-size: 19px; }
  .head .btn-sm { display: none; }
  .sec { padding: 72px 0; }
  .cards3, .alerts, .steps4, .langs2, .grid2, .grid3 { grid-template-columns: 1fr; }
  .stage { height: 560px; }
  .phone { width: 260px; height: 540px; right: 0; }
  .paper { width: 64%; }
  .f-alert { left: 0; width: 240px; bottom: 0; }
  .pages { height: 380px; }
  .close { padding: 56px 22px; border-radius: 28px; }
  .langs2 .card { flex-direction: column; align-items: flex-start; }
  .progress { grid-template-columns: 1fr; }
}

/* ---------- free cards: a slow gold shine ---------- */
.shine { position: relative; overflow: hidden; isolation: isolate; border-color: var(--gold-hi) !important;
  box-shadow: 0 0 0 1px rgba(242,193,78,.45), 0 18px 40px -18px rgba(212,154,31,.55); }
.shine::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 45%; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,240,200,.75) 45%, rgba(255,255,255,.9) 50%, rgba(255,240,200,.75) 55%, transparent);
  transform: skewX(-18deg); opacity: 0; }
.shine .price, .shine .vis-free > span:first-child { background: linear-gradient(90deg, var(--maroon), #b8452f, var(--gold), var(--maroon)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .shine::after { animation: shine 3.6s ease-in-out infinite; }
  .shine .price, .shine .vis-free > span:first-child { animation: goldtext 4s linear infinite; }
  .shine:hover::after { animation-duration: 1.4s; }
}
@keyframes shine { 0%, 55% { left: -60%; opacity: 0; } 60% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
@keyframes goldtext { to { background-position: 300% 0; } }
.prod .tag.free { background: linear-gradient(90deg, var(--gold-hi), #f7dc8f); color: var(--maroon); }

/* ---------- launch offer popup ---------- */
.offer-bg { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(28,13,16,.5);
  backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.offer-bg.show { opacity: 1; pointer-events: auto; }
.offer { position: relative; display: grid; grid-template-columns: 300px 1fr; width: min(940px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  border-radius: 28px; background: #fff; box-shadow: 0 40px 90px -30px rgba(28,13,16,.6); transform: translateY(16px) scale(.98); transition: transform .3s; }
.offer-bg.show .offer { transform: none; }
.offer-side { position: relative; overflow: hidden; color: #fff; padding: 36px 30px; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  background: radial-gradient(circle at 110% -10%, rgba(242,193,78,.85), transparent 45%), radial-gradient(circle at -20% 120%, #9b2335, transparent 55%), #1c0d10; }
.offer-side .kick { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #e9d3b5; }
.offer-side .big { font: 800 104px/0.95 var(--display); letter-spacing: -0.05em; display: flex; align-items: flex-start; }
.offer-side .big sup { font-size: 44px; margin: 8px 0 0 4px; }
.offer-side b { font-size: 20px; }
.offer-side small { color: #e3cfc2; font-size: 14.5px; }
.offer-side .chip { align-self: flex-start; margin-top: 14px; padding: 7px 14px; border-radius: 999px; background: var(--gold-hi); color: #3a0d15; font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.offer-main { padding: 36px 34px 28px; }
.offer-main h2 { font-size: 34px; margin: 0 40px 10px 0; }
html[lang="ta"] .offer-main h2 { font-size: 28px; }
.offer-main > p { color: var(--body); }
.offer-main ul { margin: 16px 0 20px; display: grid; gap: 8px; }
.offer-main li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.offer-main li .ck { flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.offer-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 20px; }
.offer-pack { display: block; padding: 14px 16px; border-radius: 16px; background: #faf6ee; border: 1px solid var(--line); transition: border-color .16s, transform .16s; }
.offer-pack:hover { border-color: var(--gold); transform: translateY(-2px); }
.offer-pack.best { background: var(--gold-50); border-color: var(--gold-hi); }
.offer-pack .nm { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--body); }
.offer-pack .pr { margin-top: 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.offer-pack .pr s { color: var(--muted); font-size: 15px; }
.offer-pack .pr b { font: 800 26px var(--display); letter-spacing: -0.03em; }
.offer-pack .pr small { color: var(--body); font-size: 13px; }
.offer-do { display: flex; gap: 12px; flex-wrap: wrap; }
.offer-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1ede6; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.offer-x:hover { background: #e7e1d7; }
.offer .fine { margin-top: 16px; }
@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; }
  .offer-side { padding: 26px 24px; }
  .offer-side .big { font-size: 72px; }
  .offer-main { padding: 24px 22px; }
  .offer-main h2 { font-size: 26px; }
}

/* ---------- raasi and navagraha packs ---------- */
.sec-packs { background: radial-gradient(circle at 85% 0%, rgba(242,193,78,.18), transparent 40%), var(--paper); }
.pack-switch { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: #f1ebe0; margin-bottom: 14px; }
.pack-switch button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 700 15px var(--text); cursor: pointer; color: #4a3a3c; }
.pack-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
.pack-note { color: var(--body); font-size: 15.5px; max-width: 72ch; margin-bottom: 26px; }
.pack-note a { color: var(--maroon); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.pk { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.pk:hover { transform: translateY(-4px); border-color: var(--gold-hi); box-shadow: 0 18px 36px -20px rgba(125,26,43,.45); }
.pk-medal { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; color: var(--gold-hi);
  background: radial-gradient(circle at 30% 25%, #9b2335, var(--maroon) 60%, #4d0f1a);
  box-shadow: inset 0 0 0 2px rgba(242,193,78,.55), inset 0 0 0 5px var(--maroon), inset 0 0 0 6px rgba(242,193,78,.35); transition: transform .3s; }
.pk:hover .pk-medal { transform: rotate(-8deg) scale(1.05); }
.pk b { font-size: 16.5px; line-height: 1.25; }
.pk small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.pk-price { margin-top: 8px; font: 700 18px var(--display); letter-spacing: -0.02em; }
.pk-price s { color: var(--muted); font: 500 13px var(--text); margin-left: 4px; }
@media (max-width: 560px) { .packs { grid-template-columns: repeat(2, 1fr); } }

/* header: one line in both languages */
.word, .head-nav a, .head-in .btn, .lang button { white-space: nowrap; }
html[lang="ta"] .head-nav { font-size: 14px; }
html[lang="ta"] .head-nav a { padding: 8px 10px; }
@media (max-width: 1480px) { .head-nav a[href$="#inside"] { display: none; } }
@media (max-width: 1320px) { html[lang="ta"] .head-nav a[href$="#questions"] { display: none; } }

.graha-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.graha-grid .opt span { display: flex; align-items: center; gap: 10px; }
.graha-grid .opt svg { color: var(--maroon); flex: none; }
.raasi-note { padding: 16px 18px; border-radius: 14px; background: var(--lav-50); border: 1px solid var(--lav-100); line-height: 1.6; }

/* ---------- order page: help ---------- */
.help { margin-top: 18px; }
.help-opts { display: grid; gap: 10px; margin: 12px 0; }
.help-opt { text-align: left; border: 1px solid var(--line-2); background: #fff; border-radius: 14px; padding: 14px 16px; cursor: pointer; font: inherit; display: grid; gap: 2px; }
.help-opt small { color: var(--muted); }
.help-opt:hover, .help-opt.on { border-color: var(--maroon); box-shadow: 0 0 0 3px var(--lav-100); }
.help-form { display: grid; gap: 14px; margin-top: 8px; }
.help-form textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; font: inherit; }
.req { border-top: 1px solid var(--line); padding: 12px 0; }
.req p { margin-top: 6px; } .req .reply { background: var(--tint); padding: 10px 12px; border-radius: 10px; }
.pill-s { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #f1ebe0; margin-left: 6px; }
.pill-s.fixed, .pill-s.refunded { background: #e5f4ea; color: #1d6b3a; } .pill-s.open { background: #fff4d6; color: #7a5300; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-top: 16px; background: #e5f4ea; color: #1d4b2e; }
.help .label { font-weight: 800; font-size: 14px; color: var(--ink); }
.steps-doc { display: grid; gap: 10px; padding-left: 22px; } .lookup { margin: 22px 0; } .lookup h3 { margin-bottom: 4px; }

/* ---------- symbols around the page ---------- */
[data-glyph] { display: inline-flex; align-items: center; gap: 6px; }
[data-glyph] > svg { color: var(--maroon); flex: none; }
.sec-dark [data-glyph] > svg, .alert-g > svg { color: var(--gold-hi); }
.alert-g { width: 38px; height: 38px; border-radius: 50%; justify-content: center; background: rgba(242,193,78,.1); border: 1px solid rgba(242,193,78,.35); margin-right: 4px; flex: none; }
.alert-top { align-items: center; }
.alert-top .alert-g + b { flex: 1; }

/* checkout: report design picker */
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; }
.design-card { position: relative; cursor: pointer; }
.design-card input { position: absolute; opacity: 0; }
.design-card span { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; text-align: center; font-size: 13.5px; transition: border-color .15s, box-shadow .15s; }
.design-card img { width: 100%; height: auto; aspect-ratio: 210 / 297; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 14px -6px rgba(60,20,20,.35); }
.design-card input:checked + span { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(125,26,43,.18); }
.design-card input:focus-visible + span { outline: 2px solid var(--maroon); outline-offset: 2px; }
.design-view { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--lav-50); border: 1px solid var(--lav-100); align-items: start; }
.design-view figure { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.design-view img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px -14px rgba(60,20,20,.5); margin-bottom: 6px; }
.design-view p { margin: 0; line-height: 1.6; font-size: 14.5px; }
.deity-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.deity { position: relative; cursor: pointer; }
.deity input { position: absolute; opacity: 0; }
.deity span { display: grid; justify-items: center; gap: 6px; width: 92px; padding: 8px 6px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; font-size: 12.5px; text-align: center; line-height: 1.25; }
.deity img, .deity .lotus { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; display: grid; place-items: center; background: var(--lav-50); color: var(--maroon); }
.deity input:checked + span { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(125,26,43,.18); }
.code-box { margin-top: 12px; font-size: 14px; }
.code-box summary { cursor: pointer; color: var(--maroon); font-weight: 600; }
.code-row { display: flex; gap: 8px; margin-top: 8px; }
.code-row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; text-transform: uppercase; }
@media (max-width: 640px) { .design-view { grid-template-columns: 1fr 1fr; } .design-view p { grid-column: span 2; } }

/* special-day highlight (home page) */
#highlight-wrap { margin-top: 28px; display: grid; gap: 14px; }
.highlight { display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 22px; color: #fff;
  background: radial-gradient(circle at 12% 20%, var(--h1), var(--h2)); box-shadow: 0 20px 50px -28px rgba(40,10,10,.7);
  border: 1px solid color-mix(in srgb, var(--ha) 45%, transparent); }
.highlight h2 { color: var(--ha); font-size: clamp(22px, 3vw, 30px); margin: 2px 0 4px; }
.highlight p { margin: 0; opacity: .92; line-height: 1.55; }
.hl-date { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.hl-glyph { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--ha);
  border: 1.5px solid color-mix(in srgb, var(--ha) 60%, transparent); }
.hl-btn { margin-left: auto; flex: none; background: var(--ha); color: #2a1206; }
@media (max-width: 720px) { .highlight { flex-wrap: wrap; } .hl-btn { margin-left: 0; } }
[hidden] { display: none !important; }

/* ---------- header: Reports menu ---------- */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-btn svg { transition: transform .2s; opacity: .6; }
.nav-dd:hover .nav-dd-btn svg, .nav-dd:focus-within .nav-dd-btn svg { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: -180px; padding-top: 18px; width: min(940px, 92vw); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.nav-dd:hover .mega, .nav-dd:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.mega-in { display: grid; grid-template-columns: 1fr 230px; gap: 18px; padding: 20px; border-radius: 24px; background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(60,20,20,.28), 0 4px 14px rgba(18,18,18,.06); font-weight: 500; }
.mega-in .skeleton { grid-column: 1 / -1; height: 180px; }
.mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 14px; }
.mega-in:not(:has(.mega-side)) { grid-template-columns: 1fr; }
.mega-h { font: 800 11px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--maroon); padding: 4px 8px 8px; }
html[lang="ta"] .mega-h { letter-spacing: 0; font-size: 12px; text-transform: none; }
.head-nav .mega a.mi { display: flex; flex-direction: column; gap: 2px; padding: 7px 9px; border-radius: 12px; font-size: 13px; color: var(--ink); border: 1px solid transparent;
  transition: background .15s, transform .15s, border-color .15s; white-space: normal; }
.head-nav .mega a.mi:hover { background: var(--gold-50); border-color: var(--lav-100); transform: translateX(3px); }
.mi.shine { border-color: var(--gold-hi) !important; box-shadow: none; }
.mi-n { font-weight: 700; line-height: 1.25; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.mi-tag { font: 800 9.5px/1 var(--text); font-style: normal; padding: 3px 6px; border-radius: 999px; background: var(--gold-50); color: #8a5a12; border: 1px solid var(--lav-100); }
.mi-p { display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--body); }
.mi-p b { color: var(--maroon); font-size: 12.5px; }
.mi-p s { color: var(--muted); }
.mi-p em { font-style: normal; font-weight: 800; font-size: 10.5px; padding: 1px 5px; border-radius: 999px; background: #e6f4ec; color: var(--ok); }
.mi-free { background: linear-gradient(90deg, var(--maroon), #b8452f, var(--gold), var(--maroon)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.mega-side { display: flex; flex-direction: column; gap: 10px; }
.head-nav .mega a.mega-offer { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 18px; flex: 1;
  color: #fff6e3; background: radial-gradient(circle at 80% 0%, var(--b1, #9b2c3c), var(--b2, #3d0b15) 75%); white-space: normal; transition: transform .2s, box-shadow .2s; }
.head-nav .mega a.mega-offer:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(94,18,32,.6); background: radial-gradient(circle at 80% 0%, var(--b1, #9b2c3c), var(--b2, #3d0b15) 75%); }
.mega-offer::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 45%; pointer-events: none; transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255,235,190,.35) 50%, transparent); animation: mega-sweep 3.6s ease-in-out infinite; }
@keyframes mega-sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .mega-offer::after { animation: none; } .mega, .head-nav .mega a.mi { transition: none; } }
.mo-k { font: 800 10.5px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ac, var(--gold-hi)); }
.mega-offer b { font: 700 17px/1.2 var(--display); }
.mo-pr { font-weight: 800; font-size: 18px; color: var(--ac, var(--gold-hi)); } .mo-pr s { font-weight: 500; font-size: 13px; opacity: .65; color: #fff6e3; }
.mo-pr em { font-style: normal; font-size: 11px; padding: 2px 6px; border-radius: 999px; background: var(--gold-hi); color: var(--violet-deep); vertical-align: middle; }
.mega-offer small { font-size: 12px; line-height: 1.45; opacity: .85; }
.mo-go { margin-top: auto; font-weight: 800; font-size: 13px; color: var(--ac, var(--gold-hi)); }
.head-nav .mega a.mega-free { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; font-size: 12.5px; font-weight: 700; white-space: normal;
  background: var(--gold-50); border: 1px solid var(--gold-hi); color: var(--maroon); }
.head-nav .mega a.mega-all { grid-column: 1 / -1; justify-self: start; font-size: 13px; font-weight: 700; color: var(--maroon); padding: 4px 8px; }
/* menu: compact, solid, topics in two columns */
.mega { width: min(1060px, 94vw); left: -200px; }
.mega-in { background: #fff; backdrop-filter: none; grid-template-columns: 1fr 220px; }
.mega-cols { grid-template-columns: 1fr 1.9fr 1fr 1fr; align-items: start; }
.mega-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-col.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; align-content: start; }
.mega-col.two .mega-h { grid-column: 1 / -1; }
.head-nav .mega a.mi { padding: 6px 8px; font-size: 12.5px; }
.mi-n { font-size: 12.5px; }
.mega-side { justify-content: flex-start; }
.head-nav .mega a.mega-offer { flex: none; min-height: 190px; }
.mega-in { max-height: calc(100vh - 110px); overflow: auto; }

/* ---------- rewards guide ---------- */
.rw-steps { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.rw-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 30px; }
.rw-step p { color: var(--body); font-size: 15px; flex: 1; }
.rw-step .btn { align-self: flex-start; }
.rw-n { position: absolute; top: -14px; left: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--maroon); color: #fff6e3; box-shadow: 0 6px 14px -6px rgba(94,18,32,.6); }
.rw-earn { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--gold-50); border: 1px solid var(--lav-100); }
.rw-earn small { display: block; color: var(--body); font-size: 12.5px; margin-top: 2px; }
.rw-pts { font: 800 20px/1 var(--display); color: var(--maroon); text-align: center; }
.rw-example { margin-top: 18px; }
.rw-example ol { margin: 10px 0; padding-left: 20px; display: grid; gap: 6px; }
.rw-example ol b { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--gold-50); color: var(--maroon); font-size: 13px; }
.rw-example ol b::after { content: " cr"; font-weight: 600; }
@media (max-width: 860px) { .rw-steps { grid-template-columns: 1fr; gap: 26px; } }
/* buy page: how to earn a free report */
.rw-mini { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--gold-50); border: 1px dashed var(--gold-hi); font-size: 13px; color: var(--body); }
.rw-mini b { color: var(--maroon); }
.rw-mini ul { margin: 6px 0; padding-left: 18px; }
.rw-mini a { color: var(--maroon); font-weight: 700; }
