/* MADS Tech Labs - v6 Apple-style: Inter, black + light sections, champagne accent */
:root {
  --bg: #0B0B0B; --bg2: #0B0B0B; --surface: #1A1A1A; --surface2: #2A2A2A;
  --fg-rgb: 248 247 244; --bg-rgb: 11 11 11; --gold-rgb: 212 175 124;
  --line: rgb(var(--gold-rgb) / .2); --line2: rgb(var(--fg-rgb) / .1);
  --text: #F8F7F4; --muted: #9CA3AF; --dim: #8A909C; --field: #6B7280; --focus: #D4AF7C;
  --ok: #4ADE80; --warn: #FBBF24; --bad: #F87171;
  --gold: #D4AF7C; --gold-hi: #EBD3A5; --gold-lo: #B8863B;
  --gold-grad: linear-gradient(135deg, #EBD3A5 0%, #D4AF7C 38%, #C9A66B 64%, #85693A 100%);
  --btn-bg: #F8F7F4; --btn-fg: #0B0B0B; --btn-hover: #FFFFFF;
  --r: 22px; --wrap: 1180px;
  --serif: 'Manrope', 'Inter', 'Noto Sans Tamil', 'Tamil Sangam MN', 'Nirmala UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --sans: var(--serif);
  --ease: cubic-bezier(.2,.7,.1,1);
}
/* Apple-style light sections: same components, light tokens */
.light {
  --bg: #F8F7F4; --bg2: #F8F7F4; --surface: #fff; --surface2: #ECEAE4;
  --fg-rgb: 26 26 26; --bg-rgb: 248 247 244; --gold-rgb: 133 105 58;
  --text: #1A1A1A; --muted: #4B5563; --dim: #6B7280; --field: #6B7280; --focus: #85693A;
  --ok: #1A7F37; --warn: #9A5B00; --bad: #C42B1C;
  --gold: #85693A; --gold-hi: #85693A;
  --btn-bg: #1A1A1A; --btn-fg: #FFFFFF; --btn-hover: #374151;
  background: var(--bg); color: var(--text);
}
.light.white { --bg: #fff; --bg2: #fff; --surface: #f5f5f7; --bg-rgb: 255 255 255; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
main, footer { overflow-x: clip; }
html[data-lang="ta"] .en, html[data-lang="en"] .ta { display: none; }
::selection { background: var(--gold); color: #0B0B0B; }
a { color: inherit; }
img, svg, video { max-width: 100%; }
h1, h2, h3 { margin: 0 0 .45em; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.035em; line-height: 1.05; }
html[data-lang="ta"] h1, html[data-lang="ta"] h2 { font-family: 'Noto Sans Tamil', var(--serif); font-weight: 700; letter-spacing: 0; line-height: 1.32; }
h1 em, h2 em { font-style: normal; color: var(--dim); }
html[data-lang="ta"] h1 em, html[data-lang="ta"] h2 em { font-style: normal; }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
html[data-lang="ta"] h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
h3 { font: 600 1.35rem/1.3 var(--sans); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.sub { color: var(--muted); max-width: 620px; font-size: 1.05rem; }
.head { margin-bottom: 56px; }
.head.center { text-align: center; }
.head.center .sub { margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--gold); font: 600 .74rem var(--sans); letter-spacing: .28em; text-transform: uppercase; margin-bottom: 22px; }
html[data-lang="ta"] .eyebrow { letter-spacing: .04em; font-size: .82rem; }
.eyebrow .line { width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow .line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; background: var(--gold-grad); color: #1A1A1A; font: 700 .95rem var(--sans); letter-spacing: .01em; text-decoration: none; border: 0; cursor: pointer; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); box-shadow: 0 10px 40px -10px rgb(var(--gold-rgb) / .55), inset 0 1px 0 rgba(255,255,255,.45); }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgb(var(--gold-rgb) / .7), inset 0 1px 0 rgba(255,255,255,.45); }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost { background: rgb(var(--fg-rgb) / .03); color: var(--text); border: 1px solid rgb(var(--fg-rgb) / .18); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.ghost::after { display: none; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn.sm { padding: 10px 18px; font-size: .85rem; }
.btn.wide { width: 100%; white-space: normal; }
.btn:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.i { width: 18px; height: 18px; flex: none; }
.link { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-hi); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 6px; transition: gap .4s var(--ease), border-color .4s; }
.link:hover { gap: 16px; border-color: var(--gold); }

/* loader, progress, cursor glow */
.loader { display: none; }
.js .loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--bg); transition: opacity .7s var(--ease), visibility .7s; }
.js body:not(.loaded) .loader { animation: loaderOut .6s 1.8s forwards; }
.js body.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
.loader-in { display: grid; justify-items: center; gap: 14px; }
.loader .mark { width: 58px; height: 58px; }
.loader-word { font: 600 .8rem var(--sans); letter-spacing: .6em; color: var(--gold); margin-right: -.6em; }
.loader .bar { width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.loader .bar i { display: block; height: 100%; width: 40%; background: var(--gold-grad); animation: bar 1.1s ease-in-out infinite; }
@keyframes bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress i { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); }
.glow-cursor { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgb(var(--gold-rgb) / .07), transparent 60%); opacity: 0; transition: opacity .6s; will-change: transform; }
body.cursor-on .glow-cursor { opacity: 1; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 36px; transition: background .5s, padding .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgb(var(--bg-rgb) / .72); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: var(--line2); padding: 14px 36px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 38px; height: 38px; }
.brand-txt { display: grid; line-height: 1; }
.brand-txt b { font: 700 1.12rem var(--sans); letter-spacing: .22em; }
.brand-txt small { font: 500 .56rem var(--sans); letter-spacing: .42em; color: var(--gold); margin-top: 5px; }
.links { display: flex; gap: 34px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .92rem; white-space: nowrap; position: relative; transition: color .3s; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.links a:hover { color: var(--text); }
.links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-r { display: flex; align-items: center; gap: 12px; }
.lang { background: transparent; color: var(--text); border: 1px solid rgb(var(--fg-rgb) / .18); border-radius: 999px; padding: 9px 14px; cursor: pointer; font: 600 .82rem var(--sans); min-width: 54px; transition: border-color .3s; }
.lang:hover { border-color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 1px solid rgb(var(--fg-rgb) / .18); cursor: pointer; padding: 0; }
.burger i { display: block; width: 16px; height: 1.5px; background: var(--text); margin: 5px auto; transition: transform .4s var(--ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 110px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #0B0B0B url(../video/hero-poster.webp) center / cover no-repeat; }
@media (max-aspect-ratio: 4/5) { .hero-media { background-image: url(../video/hero-poster-portrait.webp); } }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-media video.on { opacity: .55; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--bg-rgb) / .92) 0%, rgb(var(--bg-rgb) / .7) 38%, rgb(var(--bg-rgb) / .15) 70%, rgb(var(--bg-rgb) / .35) 100%), linear-gradient(180deg, rgb(var(--bg-rgb) / .5) 0%, transparent 25%, transparent 70%, var(--bg) 100%); }
.hero-in { width: 100%; }
.hero h1 { font-size: clamp(3rem, min(7.4vw, 12vh), 7rem); max-width: 860px; }
html[data-lang="ta"] .hero h1 { font-size: clamp(2.1rem, min(4.6vw, 8.4vh), 4.3rem); max-width: 900px; }
.lead { font-size: 1.14rem; color: rgb(245 245 247 / .78); max-width: 580px; font-weight: 400; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; width: 1px; height: 60px; background: var(--line); overflow: hidden; }
.scroll-cue i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* marquee */
.marquee { border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); overflow: hidden; padding: 22px 0; background: var(--bg2); }
.track { display: flex; gap: 38px; width: max-content; animation: marq 38s linear infinite; font: 600 1.6rem var(--serif); color: var(--text); white-space: nowrap; }
.track b { color: var(--gold); font: 400 .9rem var(--sans); align-self: center; }
@keyframes marq { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: 140px 0; position: relative; }

/* services - editorial rows */
.svc { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; margin-bottom: 120px; }
.svc:last-child { margin-bottom: 0; }
.svc.rev .svc-img { order: 2; }
.svc > * { min-width: 0; }
.svc-img { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px var(--line); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.0); }
.svc-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgb(var(--gold-rgb) / .18), transparent 45%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.svc-img:hover::after { opacity: 1; }
.num { display: block; font: 600 1.1rem var(--serif); color: var(--gold); margin-bottom: 18px; }
.svc-txt h3 { font: 600 clamp(2rem, 3.4vw, 3rem)/1.08 var(--serif); letter-spacing: -.01em; }
html[data-lang="ta"] .svc-txt h3 { font: 500 clamp(1.5rem, 2.4vw, 2.1rem)/1.35 'Noto Sans Tamil', var(--serif); }
.svc-txt p { color: var(--muted); font-size: 1.04rem; max-width: 500px; }
.svc-txt .price { color: var(--text); font-size: .95rem; margin: 26px 0 28px; }
.price b { font: 600 1.6rem var(--serif); color: var(--gold-hi); margin-left: 4px; }
.price .sep { color: var(--dim); margin: 0 10px; }

/* studio + 3D core */
.studio { background: radial-gradient(ellipse at 75% 50%, rgba(139,124,246,.08), transparent 55%), radial-gradient(ellipse at 70% 60%, rgb(var(--gold-rgb) / .08), transparent 50%), var(--bg2); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 34px; color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .55em; width: 18px; height: 1px; background: var(--gold); }
.core { position: relative; height: 560px; }
#core3d { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#core3d:active { cursor: grabbing; }
.core-fallback { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgb(var(--gold-rgb) / .55), rgb(var(--gold-rgb) / .15) 40%, transparent 70%); box-shadow: 0 0 120px rgb(var(--gold-rgb) / .25); animation: breathe 6s ease-in-out infinite; }
.core.live .core-fallback { display: none; }
@keyframes breathe { 50% { transform: scale(1.05); opacity: .8; } }
.core-hint { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; color: var(--dim); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin: 0; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan { position: relative; background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--line2); border-radius: 26px; padding: 40px 34px; display: flex; flex-direction: column; gap: 22px; transition: border-color .5s, transform .5s var(--ease); }
.plan:hover { border-color: var(--line); transform: translateY(-6px); }
.plan .ticks { flex: 1; gap: 12px; align-content: start; }
.plan .ticks li { font-size: .95rem; }
.plan.hot { border-color: rgb(var(--gold-rgb) / .5); background: radial-gradient(ellipse at 50% 0%, rgb(var(--gold-rgb) / .14), transparent 60%), linear-gradient(180deg, #18160f, var(--bg2)); box-shadow: 0 40px 100px -40px rgb(var(--gold-rgb) / .35); }
.plan h3 { margin: 0; font: 600 1rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.amt { font: 600 3.4rem/1 var(--serif); margin: 0; }
.amt small { font: 400 .9rem var(--sans); color: var(--muted); margin-left: 6px; }
.amt.q { font-size: 2rem; }
html[data-lang="ta"] .amt.q { font: 500 1.5rem/1.3 'Noto Sans Tamil', var(--serif); }
.tag { position: absolute; top: -13px; left: 34px; background: var(--gold-grad); color: #1A1A1A; font: 700 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), rgb(var(--gold-rgb) / .1)); }
.steps li { padding: 0 26px 0 0; position: relative; }
.steps .n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); font: 600 1.2rem var(--serif); color: var(--gold-hi); margin-bottom: 28px; position: relative; }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* form */
.qform { background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--line2); border-radius: 28px; padding: 38px; display: grid; gap: 20px; box-shadow: 0 40px 100px -50px rgba(0,0,0,.9); }
.qform label { display: grid; gap: 8px; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.qform input, .qform select, .qform textarea { width: 100%; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid rgb(var(--fg-rgb) / .18); border-radius: 0; padding: 12px 2px; font: 400 1.05rem var(--sans); letter-spacing: 0; text-transform: none; transition: border-color .3s; }
.qform select option { background: var(--surface); }
.qform input:focus, .qform select:focus, .qform textarea:focus { border-bottom-color: var(--gold); outline: none; }
.qform textarea { resize: vertical; }
.err { color: #f0a58f; margin: 0; font-size: .9rem; }

/* faq */
details { border-bottom: 1px solid var(--line2); }
details:first-of-type { border-top: 1px solid var(--line2); }
summary { cursor: pointer; font: 500 1.15rem var(--sans); padding: 26px 46px 26px 0; list-style: none; position: relative; transition: color .3s; }
summary:hover { color: var(--gold-hi); }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 16px; height: 1px; background: var(--gold); transition: transform .4s var(--ease); }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { color: var(--muted); padding-bottom: 22px; max-width: 720px; }

/* cta + footer */
.cta-band { padding: 160px 0; text-align: center; background: radial-gradient(ellipse at 50% 60%, rgb(var(--gold-rgb) / .14), transparent 60%), radial-gradient(ellipse at 50% 100%, rgba(139,124,246,.08), transparent 60%); border-top: 1px solid var(--line2); }
.cta-band h2 { max-width: 900px; margin: 0 auto 40px; font-size: clamp(2.6rem, 6vw, 5.2rem); }
html[data-lang="ta"] .cta-band h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.foot { border-top: 1px solid var(--line2); padding: 70px 0 120px; background: var(--bg); }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot p { margin: 0 0 8px; font-size: .95rem; }
.foot a { text-decoration: none; transition: color .3s; }
.foot a:hover { color: var(--gold-hi); }
.fh { color: var(--gold); font-size: .72rem !important; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 14px !important; }
.motto { margin-top: 18px !important; font: 600 1.15rem var(--serif); }

/* floating actions */
.fab { position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--gold-grad); color: #1A1A1A; display: grid; place-items: center; box-shadow: 0 14px 40px -10px rgb(var(--gold-rgb) / .6); transition: transform .4s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.mbar { display: none; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js body:not(.ready) .reveal { animation: revealFallback .01s 2.4s forwards; }
@keyframes revealFallback { to { opacity: 1; transform: none; } }
.js .svc.reveal .svc-img { clip-path: inset(12% 6% 12% 6% round var(--r)); transition: clip-path 1.4s var(--ease), transform .6s var(--ease); }
.js .svc.reveal.in .svc-img { clip-path: inset(0 0 0 0 round var(--r)); }

/* inner pages */
.page { padding: 150px 0 90px; }
.page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page h2 { font: 600 1.15rem var(--sans); margin-top: 1.8em; color: var(--gold); }
.page p, .page li { color: var(--muted); }

@media (max-width: 1100px) {
  .links { display: none; position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; gap: 0; background: rgba(16,16,18,.97); border: 1px solid var(--line2); border-radius: 20px; padding: 10px; }
  .links.open { display: flex; }
  .links a { padding: 14px 16px; }
  .links a::after { display: none; }
  .burger { display: block; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 50px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .nav, .nav.scrolled { padding: 14px 18px; }
  .nav-r .btn.sm { display: none; }
  .wrap { padding: 0 20px; }
  .sec { padding: 96px 0; }
  .hero { padding: 120px 0 100px; align-items: flex-end; }
  .hero-shade { background: linear-gradient(180deg, rgb(var(--bg-rgb) / .35) 0%, rgb(var(--bg-rgb) / .55) 35%, rgb(var(--bg-rgb) / .92) 70%, var(--bg) 100%); }
  .svc, .svc.rev { grid-template-columns: 1fr; gap: 34px; margin-bottom: 90px; }
  .svc.rev .svc-img { order: 0; }
  .split { grid-template-columns: 1fr; }
  .core { height: 380px; }
  .plans, .plans.four { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 1150px) {
  .plans, .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .foot-in { grid-template-columns: 1fr; }
  .glow-cursor { display: none; }
  .fab { width: 52px; height: 52px; right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); }
  .fab-tip { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgb(var(--bg-rgb) / .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line2); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; border: 1px solid rgb(var(--fg-rgb) / .18); color: var(--text); }
  .mbar a.hl { background: var(--gold-grad); color: #1A1A1A; border: 0; }
  .scroll-cue { display: none; }
  .qform { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .brand-txt small { letter-spacing: .3em; }
  .track { font-size: 1.25rem; }
  .amt { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .svc.reveal .svc-img { clip-path: none; }
}

/* v3: less synthetic - film grain, real UI demo */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.try { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; max-width: 640px; padding: 8px; border-radius: 999px; background: rgba(20,20,22,.72); border: 1px solid rgb(var(--fg-rgb) / .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.try input, .try select { flex: 1 1 180px; min-width: 0; background: transparent; border: 0; color: var(--text); font: 500 1rem var(--sans); padding: 12px 16px; }
.try select { flex: 0 1 190px; border-left: 1px solid rgb(var(--fg-rgb) / .12); }
.try select option { background: var(--surface); }
.try input:focus, .try select:focus { outline: none; }
.try:focus-within { border-color: var(--gold); }
.try-note { margin-top: 14px; color: var(--dim); font-size: .85rem; }

.demo { background: var(--bg2); border-top: 1px solid var(--line2); padding-top: 120px; }
.d-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.d-grid > * { min-width: 0; }
.d-lbl { display: block; font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; }
.d-lbl:first-child { margin-top: 0; }
.d-input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgb(var(--fg-rgb) / .2); color: var(--text); font: 600 1.6rem var(--serif); padding: 6px 0 10px; }
.d-input:focus { outline: none; border-color: var(--gold); }
.d-types { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid rgb(var(--fg-rgb) / .14); background: transparent; color: var(--muted); font: 500 .86rem var(--sans); cursor: pointer; transition: all .3s; }
.chip:hover { color: var(--text); border-color: rgb(var(--fg-rgb) / .35); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.d-themes { display: flex; gap: 10px; }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid rgb(var(--fg-rgb) / .2); cursor: pointer; padding: 0; transition: transform .3s; }
.sw[aria-pressed="true"] { border-color: var(--bg2); outline: 2px solid var(--gold); transform: scale(1.08); }
.d-cta { margin-top: 32px; }
.d-note { color: var(--dim); font-size: .82rem; margin-top: 14px; }
.d-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgb(var(--fg-rgb) / .12); margin-bottom: 26px; }
.d-tab { border: 0; background: transparent; color: var(--muted); font: 600 .88rem var(--sans); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.d-tab[aria-selected="true"] { background: var(--surface2); color: var(--text); }
.d-stage { position: relative; }
.d-pane[data-pane="site"] { position: relative; padding-bottom: 40px; }

/* mini site (sizes in container units so it scales with the frame) */
.lap { width: 88%; }
.lap-scr { container-type: inline-size; aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; border: 10px solid #1A1A1A; border-bottom-width: 14px; overflow: hidden; background: var(--m-bg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.lap-base { height: 14px; margin: 0 -5%; border-radius: 0 0 14px 14px; background: linear-gradient(#2a2a2e, #1A1A1A); }
.phone { position: absolute; right: 0; bottom: 0; width: 26%; min-width: 150px; border-radius: 28px; border: 7px solid #1A1A1A; background: #1A1A1A; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
.ph-scr { container-type: inline-size; aspect-ratio: 9 / 19; border-radius: 21px; overflow: hidden; background: var(--m-bg); }
.ms { height: 100%; display: flex; flex-direction: column; background: var(--m-bg); color: var(--m-fg); font-family: var(--sans); transition: background .4s, color .4s; }
.ms-nav { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 2.2cqw 3.4cqw; border-bottom: 1px solid color-mix(in srgb, var(--m-fg) 10%, transparent); }
.ms-logo { display: flex; align-items: center; gap: 1.2cqw; min-width: 0; }
.ms-logo i, .chat-top i { display: grid; place-items: center; flex: none; width: 4.2cqw; height: 4.2cqw; border-radius: 1.2cqw; background: var(--m-ac); color: var(--m-on); font: 600 2.8cqw var(--serif); }
.ms-logo b { font-size: 2.1cqw; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-links { display: flex; gap: 2cqw; }
.ms-links i { width: 6cqw; height: .8cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--m-fg) 22%, transparent); }
.ms-btn { display: inline-block; padding: 1.1cqw 2.2cqw; border-radius: 99px; background: var(--m-ac); color: var(--m-on); font-size: 1.5cqw; font-weight: 700; white-space: nowrap; }
.ms-btn.ghost { background: transparent; color: var(--m-fg); border: 1px solid color-mix(in srgb, var(--m-fg) 30%, transparent); }
.ms-hero { padding: 5cqw 3.4cqw 3cqw; display: grid; gap: 1.4cqw; background: radial-gradient(ellipse at 85% 20%, color-mix(in srgb, var(--m-ac) 22%, transparent), transparent 55%); }
.ms-hero small { color: var(--m-ac); font-size: 1.4cqw; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ms-hero strong { font: 600 4.6cqw/1.08 var(--serif); max-width: 70%; }
html[data-lang="ta"] .ms-hero strong { font: 600 3.4cqw/1.3 'Noto Sans Tamil', var(--serif); }
.ms-hero p { margin: 0; color: var(--m-mut); font-size: 1.7cqw; max-width: 60%; }
.ms-row { display: flex; gap: 1.4cqw; margin-top: .6cqw; }
.ms-items { list-style: none; margin: 0; padding: 0 3.4cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.ms-items li { background: var(--m-bg2); border: 1px solid color-mix(in srgb, var(--m-fg) 8%, transparent); border-radius: 1.4cqw; padding: 2cqw; display: grid; gap: .6cqw; font-size: 1.6cqw; }
.ms-items li::before { content: ''; height: 7cqw; border-radius: 1cqw; background: linear-gradient(135deg, color-mix(in srgb, var(--m-ac) 35%, var(--m-bg2)), color-mix(in srgb, var(--m-ac) 8%, var(--m-bg2))); margin-bottom: .6cqw; }
.ms-items b { color: var(--m-ac); }
.ms-foot { margin-top: auto; display: flex; justify-content: space-between; padding: 2cqw 3.4cqw; font-size: 1.4cqw; color: var(--m-mut); border-top: 1px solid color-mix(in srgb, var(--m-fg) 8%, transparent); }
.ms.mob .ms-nav { padding: 6cqw 6cqw 5cqw; }
.ms.mob .ms-logo i { width: 12cqw; height: 12cqw; border-radius: 3.4cqw; font-size: 7cqw; }
.ms.mob .ms-logo { gap: 3cqw; }
.ms.mob .ms-logo b { font-size: 6cqw; }
.ms.mob .ms-hero { padding: 9cqw 6cqw 6cqw; gap: 3.4cqw; }
.ms.mob .ms-hero small { font-size: 3.6cqw; }
.ms.mob .ms-hero strong { font-size: 10.5cqw; max-width: none; }
html[data-lang="ta"] .ms.mob .ms-hero strong { font-size: 7.6cqw; }
.ms.mob .ms-hero p { font-size: 4.4cqw; max-width: none; }
.ms.mob .ms-btn { font-size: 4cqw; padding: 3cqw 5.4cqw; justify-self: start; }
.ms.mob .ms-items { grid-template-columns: 1fr; padding: 0 6cqw; gap: 3cqw; }
.ms.mob .ms-items li { grid-template-columns: 1fr auto; font-size: 4cqw; padding: 4cqw; border-radius: 3.4cqw; }
.ms.mob .ms-items li::before { display: none; }
.ms-bar { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; padding: 4cqw 5cqw 6cqw; font-size: 4cqw; font-weight: 700; text-align: center; }
.ms-bar span { padding: 3.4cqw; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--m-fg) 25%, transparent); }
.ms-bar .g { background: #25d366; color: #fff; border: 0; }

/* poster */
.poster { container-type: inline-size; position: relative; width: min(100%, 440px); aspect-ratio: 4 / 5; margin: 0 auto; border-radius: 18px; overflow: hidden; background: var(--m-bg); color: var(--m-fg); padding: 9cqw 8cqw; display: flex; flex-direction: column; gap: 3cqw; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.p-ring { position: absolute; right: -22cqw; top: -22cqw; width: 75cqw; height: 75cqw; border-radius: 50%; border: 2cqw solid var(--m-ac); opacity: .9; }
.p-ring::after { content: ''; position: absolute; inset: 9cqw; border-radius: 50%; background: color-mix(in srgb, var(--m-ac) 22%, transparent); }
.poster small { color: var(--m-ac); font: 700 3.2cqw var(--sans); letter-spacing: .25em; text-transform: uppercase; position: relative; }
.poster strong { font: 600 13cqw/1 var(--serif); position: relative; margin-top: 18cqw; }
html[data-lang="ta"] .poster strong { font: 600 9cqw/1.25 'Noto Sans Tamil', var(--serif); }
.p-name { font: 700 5cqw var(--sans); letter-spacing: .02em; }
.p-items { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 1.6cqw; font-size: 3.8cqw; }
.p-items li { display: flex; justify-content: space-between; border-bottom: 1px dashed color-mix(in srgb, var(--m-fg) 25%, transparent); padding-bottom: 1.4cqw; }
.p-items b { color: var(--m-ac); }
.p-foot { display: flex; justify-content: space-between; font-size: 3.2cqw; color: var(--m-mut); padding-top: 2cqw; }

/* whatsapp chat */
.chat { width: min(100%, 420px); margin: 0 auto; border-radius: 26px; overflow: hidden; background: #0b141a; border: 7px solid #1A1A1A; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); font-family: var(--sans); }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #1f2c33; color: #e9edef; }
.chat-top i { width: 40px; height: 40px; border-radius: 50%; font-size: 1.3rem; }
.chat-top b { display: block; font-size: .95rem; }
.chat-top small { color: #8696a0; font-size: .75rem; }
.chat-body { height: 420px; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; background: #0b141a; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 10px; font-size: .9rem; line-height: 1.45; white-space: pre-line; color: #e9edef; animation: pop .35s var(--ease); }
.msg.in { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.msg.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.msg.typing { color: #8fd3c3; letter-spacing: .2em; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }

@media (max-width: 960px) {
  .d-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .try { border-radius: 22px; }
  .try select { border-left: 0; border-top: 1px solid rgb(var(--fg-rgb) / .12); flex-basis: 100%; }
  .try .btn { flex: 1 1 100%; }
  .lap { width: 100%; }
  .phone { position: relative; width: 62%; margin: 26px auto 0; right: auto; }
  .d-pane[data-pane="site"] { padding-bottom: 0; }
  .chat-body { height: 380px; }
}

/* quick-answer chat */
.fab-tip { position: absolute; right: 70px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--surface2); color: var(--text); font: 600 .82rem var(--sans); border: 1px solid var(--line2); opacity: 0; transform: translateX(6px); transition: all .35s var(--ease); pointer-events: none; }
.fab:hover .fab-tip { opacity: 1; transform: none; }
.bot-open .fab .fab-tip { display: none; }
.bot { position: fixed; right: 26px; bottom: 100px; z-index: 60; width: min(390px, calc(100vw - 32px)); height: min(580px, calc(100vh - 140px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #111113; border: 1px solid rgb(var(--fg-rgb) / .12); box-shadow: 0 40px 90px -30px rgba(0,0,0,.95); animation: botIn .35s var(--ease); }
.bot[hidden] { display: none; }
@keyframes botIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.bot-top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line2); background: #1A1A1A; }
.bot-top img { width: 34px; height: 34px; padding: 4px; border-radius: 10px; background: #0B0B0B; border: 1px solid rgb(var(--gold-rgb) / .3); }
.bot-top div { flex: 1; min-width: 0; }
.bot-top b { display: block; font: 700 .95rem var(--sans); color: var(--text); }
.bot-top small { color: var(--dim); font-size: .74rem; }
.bot-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.bot-x:hover { color: var(--text); }
.bot-body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; overscroll-behavior: contain; }
.bm { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.5; white-space: pre-line; animation: pop .3s var(--ease); }
.bm.in { align-self: flex-start; background: #1A1A1A; color: var(--text); border-top-left-radius: 4px; }
.bm.out { align-self: flex-end; background: var(--gold); color: #1A1A1A; border-top-right-radius: 4px; font-weight: 600; }
.bm.typing { color: var(--gold); letter-spacing: .25em; }
.bm-wa { display: block; margin-top: 9px; padding-top: 8px; border-top: 1px solid rgb(var(--fg-rgb) / .1); color: #6fdc9b; font-weight: 700; font-size: .84rem; text-decoration: none; }
.bm-wa:hover { text-decoration: underline; }
.b-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 4px; }
.b-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid rgb(var(--gold-rgb) / .35); background: transparent; color: var(--text); font: 500 .82rem var(--sans); cursor: pointer; transition: all .25s; }
.b-chip:hover { background: rgb(var(--gold-rgb) / .12); border-color: var(--gold); }
.bot-in { display: flex; gap: 8px; padding: 10px 12px 4px; border-top: 1px solid var(--line2); }
.bot-in input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 999px; border: 1px solid rgb(var(--fg-rgb) / .14); background: #0B0B0B; color: var(--text); font: 500 .92rem var(--sans); }
.bot-in input:focus { outline: none; border-color: var(--gold); }
.bot-in button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold-grad); color: #1A1A1A; font: 700 1.1rem var(--sans); cursor: pointer; }
.bot-note { margin: 0; padding: 4px 16px 12px; color: var(--dim); font-size: .72rem; }
@media (max-width: 860px) {
  .bot { right: 0; left: 0; bottom: 0; width: auto; height: min(88vh, 640px); border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .bot-open .fab, .bot-open .mbar { display: none; }
  .bot-in input { font-size: 16px; }
}

/* v6 Apple-style finish */
body { font-size: 17px; letter-spacing: -.011em; line-height: 1.6; }
.hero h1 em { color: var(--gold-hi); }
.btn { background: var(--btn-bg); color: var(--btn-fg); box-shadow: none; font-weight: 600; letter-spacing: -.01em; }
.btn::after { display: none; }
.btn:hover { transform: none; box-shadow: none; filter: brightness(.92); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid rgb(var(--fg-rgb) / .28); backdrop-filter: none; -webkit-backdrop-filter: none; }
.btn.ghost:hover { border-color: var(--text); color: var(--text); filter: none; }
.link { color: var(--gold); border-bottom: 0; padding-bottom: 0; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.eyebrow { letter-spacing: .02em; text-transform: none; font-size: 1.05rem; font-weight: 600; }
.eyebrow .line { display: none; }
.nav.scrolled { background: rgb(22 22 23 / .8); }
.brand-txt b { letter-spacing: .16em; }
.marquee { background: var(--bg); border-color: var(--line2); }
.track { font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.track b { color: var(--gold); }
.sec { padding: 150px 0; }
.svc-txt h3 { letter-spacing: -.03em; }
.light .svc-img { box-shadow: 0 30px 60px -30px rgb(0 0 0 / .35); }
.light .svc-img::after { display: none; }
.num { font-size: .95rem; color: var(--dim); }
.price b { color: var(--text); letter-spacing: -.02em; }
.mini { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; max-width: 500px; }
.mini li { position: relative; padding-left: 22px; color: var(--muted); font-size: .95rem; }
.mini li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.light .plan { background: var(--surface); border-color: transparent; box-shadow: 0 2px 30px -12px rgb(0 0 0 / .12); }
.light .plan:hover { border-color: transparent; transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .22); }
.light .plan.hot { background: var(--surface); border: 2px solid var(--gold); box-shadow: 0 30px 70px -30px rgb(var(--gold-rgb) / .45); }
.plan h3 { letter-spacing: .02em; text-transform: none; font-size: 1.1rem; }
.tag { background: var(--gold); color: #fff; letter-spacing: .04em; text-transform: none; }
.amt { letter-spacing: -.04em; }
.steps .n { font-size: 1.05rem; }
.light .qform { background: var(--surface); border-color: transparent; box-shadow: 0 2px 40px -16px rgb(0 0 0 / .14); }
.light .err { color: #c0392b; }
summary { font-weight: 600; letter-spacing: -.015em; }
summary:hover { color: var(--gold); }
.cta-band { background: radial-gradient(ellipse at 50% 70%, rgb(var(--gold-rgb) / .16), transparent 60%), #000; border-top: 0; }
.foot { padding: 60px 0 120px; border-top: 1px solid var(--line2); }
.foot p { font-size: .85rem; color: var(--muted); }
.foot a:hover { color: var(--text); }
.motto { font-size: 1rem; }
.light .chip { border-color: rgb(var(--fg-rgb) / .16); }
.demo { border-top: 0; }
.light .d-tabs { background: var(--surface2); border-color: transparent; }
.light .d-tab[aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.page { background: #000; }
.amt small { letter-spacing: 0; font-weight: 500; }
.hero h1 { font-size: clamp(2.8rem, min(5.8vw, 10.5vh), 5.6rem); max-width: 980px; }

/* v7 brand system (brand/BRAND_SYSTEM.md) */
.btn:hover { filter: none; background: var(--btn-hover); }
.btn.sig, .mbar a.hl { background: #D4AF7C; color: #0B0B0B; }
.btn.sig:hover { background: #E6CC9C; }
.btn:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.qform input, .qform select, .qform textarea { border-bottom-color: var(--field); }
.light .err { color: var(--bad); }
.err { color: var(--bad); }
.hero-ctas { margin-top: 22px; }
.hero-ctas .btn { padding: 13px 24px; }
.svc-txt .price { line-height: 2; }
.price b { font-size: 1.35rem; }
.promises { margin-top: 110px; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard { background: var(--surface); border-radius: 22px; padding: 30px 26px; }
.pcard h3 { font-size: 1.1rem; margin-bottom: .6em; }
.pcard p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } .hero-ctas .btn { flex: 1 1 100%; } }

/* v8: about, currency, scroll motion */
.about { background: radial-gradient(ellipse at 78% 50%, rgb(var(--gold-rgb) / .1), transparent 55%), var(--bg); }
.about .sub { max-width: 560px; margin-bottom: 18px; }
.vals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 34px; }
.vals b { display: block; font-weight: 600; margin-bottom: 4px; }
.vals span span { color: var(--muted); font-size: .94rem; }
.vals > div > span { display: block; }
.fx { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: .92rem; color: var(--muted); }
.fx select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--field); background: var(--surface); color: var(--text); font: 600 .9rem var(--sans); }
.fx-note { flex-basis: 100%; margin: 4px 0 0; font-size: .82rem; color: var(--muted); }
.social a { margin-right: 14px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .svc-img img { animation: imgIn linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes imgIn { from { transform: scale(1.18); filter: brightness(.6); } to { transform: scale(1); filter: none; } }
  }
}
@media (max-width: 860px) { .vals { grid-template-columns: 1fr; } }
.g-en { font-size: clamp(2rem, 4vw, 3rem); margin-top: 1.2em; color: var(--text) !important; }

/* v9 - business setup & compliance (India): tier toggle, single-service rates, online steps */
main.tx:not([data-tier="p"]) .t-p, main.tx:not([data-tier="l"]) .t-l, main.tx:not([data-tier="c"]) .t-c { display: none; }
.tier-tog { display: inline-flex; gap: 4px; padding: 4px; margin-top: 28px; border: 1px solid var(--line2); border-radius: 999px; background: var(--surface); }
.tier-tog button { font: 600 .92rem var(--sans); padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.tier-tog button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.tier-tog button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.plan .fine, .rates-wrap .fine { margin: 0; font-size: .82rem; color: var(--muted); }
.rates-wrap { margin-top: 72px; }
.rates-h { margin: 0 0 18px; font-size: 1.25rem; }
.rates { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 16px; }
.rates th, .rates td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.rates thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rates tbody th { font-weight: 600; color: var(--text); }
.rates th small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.rates td { font-weight: 600; white-space: nowrap; }
.rates small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; white-space: normal; }
.online-how { margin-top: 90px; }
.online-how .eyebrow { margin-bottom: 36px; }
@media (max-width: 720px) {
  .rates thead { display: none; }
  .rates tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line2); }
  .rates tbody th { grid-column: 1 / -1; padding: 0 0 4px; border: 0; }
  .rates td { padding: 0; border: 0; white-space: normal; }
  .rates td::before { content: attr(data-l); display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
  .tier-tog { flex-wrap: wrap; justify-content: center; border-radius: 22px; }
  .tier-tog button { padding: 9px 14px; font-size: .85rem; }
}

/* v11 - launch offer strip */
.offer { list-style: none; margin: 30px 0 26px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.offer li { padding: 9px 16px; border: 1px solid var(--line2); border-radius: 999px; background: var(--surface); font-size: .9rem; font-weight: 600; text-align: center; }

/* guide pages: one language at a time */
.g-sec[data-g="en"] { display: none; }
html[data-lang="en"] .g-sec[data-g="en"] { display: block; }
html[data-lang="en"] .g-sec[data-g="ta"] { display: none; }

/* ---- Dark / light mode (data-theme set by theme.js). Hero, studio, about and the CTA band are cinematic and stay dark in both modes; the .light sections follow the mode. ---- */
.lang.theme { width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; }
.lang.theme .i { width: 18px; height: 18px; }
.ic-moon { display: none; }
html[data-theme="light"] .ic-sun { display: none; }
html[data-theme="light"] .ic-moon { display: block; }
.foot-logo img { width: 240px; max-width: 70vw; height: auto; display: block; }
.foot-logo .lg-dark { display: none; }
html[data-theme="dark"] .foot-logo .lg-dark { display: block; }
html[data-theme="dark"] .foot-logo .lg-light { display: none; }
html[data-theme="dark"] .light {
  --bg: #121212; --bg2: #121212; --surface: #1A1A1A; --surface2: #2A2A2A;
  --fg-rgb: 248 247 244; --bg-rgb: 18 18 18; --gold-rgb: 212 175 124;
  --text: #F8F7F4; --muted: #9CA3AF; --dim: #8A909C; --field: #6B7280; --focus: #D4AF7C;
  --ok: #4ADE80; --warn: #FBBF24; --bad: #F87171;
  --gold: #D4AF7C; --gold-hi: #EBD3A5;
  --btn-bg: #F8F7F4; --btn-fg: #0B0B0B; --btn-hover: #FFFFFF;
}
html[data-theme="dark"] .light.white { --bg: #0B0B0B; --bg2: #0B0B0B; --surface: #161616; --bg-rgb: 11 11 11; }
html[data-theme="dark"] .light .plan { border: 1px solid var(--line2); box-shadow: none; }
html[data-theme="dark"] .light .plan:hover { border-color: var(--line); box-shadow: none; }
html[data-theme="dark"] .light .plan.hot { border: 2px solid var(--gold); box-shadow: 0 30px 70px -30px rgb(var(--gold-rgb) / .35); }
html[data-theme="dark"] .light .qform { border: 1px solid var(--line2); box-shadow: none; }
html[data-theme="dark"] .light .d-tab[aria-selected="true"] { background: var(--surface); box-shadow: none; }
html[data-theme="dark"] .light .svc-img { box-shadow: none; }
html[data-theme="dark"] .light .chip { border-color: rgb(var(--fg-rgb) / .16); }

/* Nav uses the full horizontal logo lockup; the bar is always near-black so the dark-background logo reads in both modes. */
.nav-logo { height: 46px; width: auto; display: block; }
.nav.scrolled { background: rgb(11 11 11 / .9); }
@media (max-width: 760px) { .nav-logo { height: 36px; } }

/* Light mode, full: the cinematic sections follow the mode too. The nav stays a near-black bar. */
html[data-theme="light"] :is(.hero, .studio, .about, .cta-band, body.sub, body.tx-page) {
  --bg: #F8F7F4; --bg2: #F8F7F4; --surface: #fff; --surface2: #ECEAE4;
  --fg-rgb: 26 26 26; --bg-rgb: 248 247 244; --gold-rgb: 133 105 58;
  --text: #1A1A1A; --muted: #4B5563; --dim: #6B7280; --field: #6B7280; --focus: #85693A;
  --ok: #1A7F37; --warn: #9A5B00; --bad: #C42B1C;
  --gold: #85693A; --gold-hi: #85693A;
  --btn-bg: #1A1A1A; --btn-fg: #FFFFFF; --btn-hover: #374151;
  color: var(--text);
}
html[data-theme="light"] body.sub, html[data-theme="light"] body.tx-page { background: var(--bg); }
html[data-theme="light"] .studio, html[data-theme="light"] .about { background: radial-gradient(ellipse at 75% 50%, rgb(var(--gold-rgb) / .08), transparent 55%), var(--bg); }
html[data-theme="light"] .studio { border-top-color: var(--line2); }
html[data-theme="light"] .cta-band { background: radial-gradient(ellipse at 50% 70%, rgb(var(--gold-rgb) / .14), transparent 60%), var(--surface2); }
html[data-theme="light"] .nav, html[data-theme="light"] .nav.scrolled { background: rgb(11 11 11 / .9); }
html[data-theme="light"] .hero-media { background-color: #F8F7F4; }
html[data-theme="light"] .hero-media video.on { opacity: .22; }
html[data-theme="light"] .hero-shade { background: linear-gradient(90deg, rgb(var(--bg-rgb) / .96) 0%, rgb(var(--bg-rgb) / .86) 45%, rgb(var(--bg-rgb) / .6) 100%), linear-gradient(180deg, rgb(var(--bg-rgb) / .5) 0%, transparent 25%, transparent 70%, var(--bg) 100%); }
html[data-theme="light"] .try { background: rgb(255 255 255 / .85); border-color: rgb(var(--fg-rgb) / .16); }
html[data-theme="light"] .lead { color: var(--muted); }
html[data-theme="light"] .page { background: var(--bg); }
html[data-theme="light"] .nav {
  --fg-rgb: 248 247 244; --bg-rgb: 11 11 11; --text: #F8F7F4; --muted: #9CA3AF; --gold: #D4AF7C; --gold-hi: #EBD3A5;
  --btn-bg: #F8F7F4; --btn-fg: #0B0B0B; --btn-hover: #FFFFFF; color: var(--text);
}

/* Icon badges (services, steps, reasons, promises) and social row */
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgb(var(--gold-rgb) / .14); color: var(--gold); flex: none; }
.ico .i { width: 22px; height: 22px; }
.num { display: flex; align-items: center; gap: 14px; }
.steps .ico.st { width: 38px; height: 38px; border-radius: 11px; margin: 14px 0 4px; }
.steps .ico.st .i { width: 19px; height: 19px; }
.reveal > .ico:first-child, .pcard > .ico { margin-bottom: 12px; }
.pcard > .ico { width: 40px; height: 40px; }
.foot p .i { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; color: var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.social[hidden] { display: none; }
.social a.soc { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border-radius: 999px; border: 1px solid rgb(var(--fg-rgb) / .18); font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .3s, color .3s, background .3s; }
.social a.soc .i { width: 18px; height: 18px; color: var(--gold); }
.social a.soc:hover { border-color: var(--gold); background: rgb(var(--gold-rgb) / .1); }
.cta-soc { justify-content: center; margin-top: 26px; }

/* Warranty & care */
#care .pgrid { margin-top: 36px; }
.pc-price { margin: 0 0 10px !important; color: var(--text) !important; font-size: .95rem; }
.pc-price b { font: 700 1.7rem var(--serif); letter-spacing: -.02em; }
#care .fine { margin: 26px auto 0; max-width: 820px; text-align: center; color: var(--dim); font-size: .85rem; }

/* v10 - Tax & Compliance page (tax.html): hero tracker, tabbed services, quote builder, due-date calendar */
.links a.cur { color: var(--text); }
.links a.cur::after { transform: scaleX(1); }
.tx .fine { margin: 0; font-size: .82rem; color: var(--muted); }
.tx .online-how { margin-top: 0; }
.tx .promises { margin-top: 90px; }
@keyframes txIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes txPop { 0% { transform: scale(.88); opacity: .2; } 100% { transform: none; opacity: 1; } }
.pop { animation: txPop .6s var(--ease); }

/* hero */
.tx-hero { position: relative; overflow: hidden; padding: 150px 0 84px; border-bottom: 1px solid var(--line2); }
.tx-hero::before { content: ''; position: absolute; right: -12%; top: -30%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgb(var(--gold-rgb) / .2), transparent 62%); animation: txGlow 12s ease-in-out infinite alternate; pointer-events: none; }
.tx-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(var(--fg-rgb) / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--fg-rgb) / .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000, transparent 75%); animation: txGrid 40s linear infinite; }
@keyframes txGlow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes txGrid { to { background-position: 64px 64px, 64px 64px; } }
.tx-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
.tx-hero h1 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); margin: 0; }
html[data-lang="ta"] .tx-hero h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.tx-hero h1 em { color: var(--gold-hi); }
.tx-hero .sub { margin: 22px 0 0; }
.tx-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.tx-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tx-trust li { position: relative; padding: 8px 14px 8px 32px; border: 1px solid var(--line2); border-radius: 999px; font-size: .86rem; font-weight: 600; background: rgb(var(--fg-rgb) / .03); }
.tx-trust li::before { content: ''; position: absolute; left: 13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgb(var(--gold-rgb) / .18); }
.tx-vis { position: relative; padding: 28px 0 28px 20px; }
.tx-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px 28px 24px; box-shadow: 0 34px 80px -40px rgb(0 0 0 / .5), 0 0 0 1px rgb(var(--gold-rgb) / .06); }
.tx-card-h { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; }
.tx-card-h b { font: 700 1.05rem var(--sans); }
.tx-live { font: 600 .7rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.trk { list-style: none; margin: 0; padding: 0; }
.trk li { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--muted); transition: color .5s; }
.trk li:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 40px; width: 2px; height: calc(100% - 28px); background: var(--line2); }
.trk .dot { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: background .5s, border-color .5s, transform .5s; }
.trk .dot svg { width: 16px; height: 16px; fill: none; stroke: #1A1A1A; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .5s .15s; }
.trk li.done { color: var(--text); }
.trk li.done .dot { background: var(--gold-grad); border-color: transparent; transform: scale(1.08); }
.trk li.done .dot svg { stroke-dashoffset: 0; }
.trk-t { font-weight: 600; font-size: .97rem; }
.tx-stamp { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 4px 42px; padding: 7px 14px; border-radius: 999px; background: rgb(var(--gold-rgb) / .16); color: var(--gold-hi); font: 700 .78rem var(--sans); letter-spacing: .06em; text-transform: uppercase; transition: opacity .5s, transform .5s; }
.js .tx-stamp:not(.on) { opacity: 0; transform: scale(.85); }
.tx-stamp .i { width: 16px; height: 16px; }
.tx-card-f { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line2); font-size: .85rem; color: var(--muted); }
.tx-chip { position: absolute; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--gold-hi); font: 700 .74rem var(--sans); letter-spacing: .14em; box-shadow: 0 10px 30px -12px rgb(0 0 0 / .4); animation: txFloat 7s ease-in-out infinite; }
.tx-chip.c1 { left: -14px; top: 6%; }
.tx-chip.c2 { right: -10px; top: -1%; animation-delay: -1.4s; }
.tx-chip.c3 { right: -16px; top: 46%; animation-delay: -2.8s; }
.tx-chip.c4 { left: -22px; bottom: 22%; animation-delay: -4.2s; }
.tx-chip.c5 { right: 8%; bottom: -1%; animation-delay: -5.6s; }
.tx-chip.c6 { left: 14%; bottom: -3%; animation-delay: -3.5s; }
@keyframes txFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* sticky section bar */
.tx-bar { position: sticky; top: 74px; z-index: 30; background: rgb(var(--bg-rgb) / .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line2); }
.tx-bar .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.tx-bar .wrap::-webkit-scrollbar { display: none; }
.tx-bar a { flex: none; padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .88rem; white-space: nowrap; transition: background .3s, color .3s; }
.tx-bar a:hover { color: var(--text); }
.tx-bar a.on { background: var(--text); color: var(--bg); }

/* services: tabs + panels */
.tx-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 40px 0 28px; }
.tx-tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; border: 1px solid var(--line2); background: var(--surface); color: var(--muted); font: 600 .95rem var(--sans); cursor: pointer; transition: color .3s, border-color .3s, background .3s, transform .35s var(--ease), box-shadow .35s; }
.tx-tabs button .i { width: 20px; height: 20px; }
.tx-tabs button:hover { color: var(--text); border-color: var(--line); transform: translateY(-2px); }
.tx-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: 0 14px 34px -16px rgb(var(--fg-rgb) / .6); }
.tx-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 36px; align-items: start; background: var(--surface); border: 1px solid var(--line2); border-radius: 28px; padding: 44px; animation: txIn .55s var(--ease); }
.tx-main h3 { font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--serif); margin: 0 0 12px; letter-spacing: -.02em; }
html[data-lang="ta"] .tx-main h3 { font-family: 'Noto Sans Tamil', var(--serif); line-height: 1.4; letter-spacing: 0; }
.tx-intro { color: var(--muted); margin: 0 0 8px; max-width: 62ch; }
.tx-h { margin: 28px 0 14px; font: 700 .76rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
html[data-lang="ta"] .tx-h { letter-spacing: .04em; font-size: .9rem; }
.tx-keep { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tx-keep li { position: relative; padding-left: 30px; color: var(--muted); font-size: .95rem; }
.tx-keep li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 14px; height: 14px; border: 1.5px solid var(--gold); border-radius: 4px; }
.tx-price { position: sticky; top: 140px; border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: linear-gradient(180deg, rgb(var(--gold-rgb) / .09), transparent 70%), var(--bg); display: grid; gap: 14px; }
.tx-ph { margin: 0; font: 700 .76rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
html[data-lang="ta"] .tx-ph { letter-spacing: .04em; font-size: .9rem; }
.tx-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line2); }
.tx-row:first-of-type { border-top: 0; padding-top: 0; }
.tx-lbl { font-weight: 600; }
.tx-lbl small, .tx-val small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.tx-val { text-align: right; }
.tx-val b { display: block; font: 700 1.5rem/1.15 var(--serif); letter-spacing: -.02em; color: var(--text); }

/* quote builder */
.tx-presets { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--text); font: 600 .86rem var(--sans); cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.tx-calc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: start; margin-top: 48px; }
.tx-grp { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.tx-grp legend { padding: 0 0 12px; font: 700 .76rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
html[data-lang="ta"] .tx-grp legend { letter-spacing: .04em; font-size: .9rem; }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 10px; border: 1px solid var(--line2); border-radius: 16px; background: var(--surface); cursor: pointer; transition: border-color .3s, background .3s, transform .3s; }
.opt:hover { border-color: var(--line); transform: translateY(-1px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box { width: 22px; height: 22px; border: 1.5px solid var(--field); border-radius: 7px; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.opt-box::after { content: ''; width: 10px; height: 6px; border-left: 2.5px solid var(--bg); border-bottom: 2.5px solid var(--bg); transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .25s var(--ease); }
.opt.on { border-color: var(--gold); background: rgb(var(--gold-rgb) / .09); }
.opt.on .opt-box { background: var(--text); border-color: var(--text); }
.opt.on .opt-box::after { transform: rotate(-45deg) scale(1); }
.opt:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt-t { font-weight: 600; }
.opt-t small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.opt-p { font: 700 1.05rem var(--serif); white-space: nowrap; }
.tx-sum { position: sticky; top: 140px; border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: var(--surface); display: grid; gap: 14px; box-shadow: 0 30px 70px -40px rgb(0 0 0 / .35); }
.tx-empty { margin: 0; color: var(--muted); }
.tx-srow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line2); font-size: .95rem; }
.tx-srow b { font: 700 1.25rem var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.tx-srow.tot { border-bottom: 0; padding-top: 16px; }
.tx-srow.tot b { font-size: 1.8rem; color: var(--gold); }
.tx-picked { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tx-picked li { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: rgb(var(--gold-rgb) / .13); color: var(--text); }

/* bundles, rate card */
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin: 0 auto; }
.plans .amt span { display: inline; }

/* due-date calendar */
.tx-cal { margin-top: 44px; }
.tx-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.mon { position: relative; padding: 12px 0; border-radius: 14px; border: 1px solid var(--line2); background: var(--surface); color: var(--muted); font: 700 .9rem var(--sans); cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.mon:hover { color: var(--text); border-color: var(--line); }
.mon[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.mon.now::after { content: ''; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tx-due { margin-top: 22px; display: grid; gap: 10px; min-height: 120px; }
.due { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; padding: 16px 20px; border: 1px solid var(--line2); border-radius: 18px; background: var(--surface); animation: txIn .45s var(--ease) both; }
.due .d { text-align: center; border-right: 1px solid var(--line2); padding-right: 16px; }
.due .d b { display: block; font: 700 1.7rem/1 var(--serif); color: var(--gold); }
.due .d small { font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.due .t { font-weight: 600; }
.due .t small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; margin-top: 2px; }
.due.rep .d b { color: var(--muted); }
.due-h { margin: 14px 0 0; font: 700 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[data-lang="ta"] .due-h { letter-spacing: .04em; font-size: .84rem; }
.tx-cal-f { text-align: center; margin: 26px auto 0 !important; max-width: 640px; }

@media (max-width: 960px) {
  .tx-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .tx-hero { padding: 120px 0 64px; }
  .tx-panel { grid-template-columns: 1fr; padding: 28px 22px; }
  .tx-price, .tx-sum { position: static; }
  .tx-calc { grid-template-columns: 1fr; }
  .tx-vis { padding: 26px 8px 28px 8px; }
  .tx-chip.c1 { left: -4px; } .tx-chip.c4 { left: -6px; } .tx-chip.c2 { right: 0; } .tx-chip.c3 { right: -4px; }
}
@media (max-width: 860px) {
  .tx-bar { top: 64px; }
  .plans.two { grid-template-columns: 1fr; }
  .tx-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 32px -20px 22px; padding: 4px 20px 10px; scrollbar-width: none; }
  .tx-tabs::-webkit-scrollbar { display: none; }
  .tx-tabs button { flex: none; }
}
@media (max-width: 760px) {
  .tx-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .due { grid-template-columns: 60px 1fr; gap: 12px; padding: 14px; }
  .opt { padding: 14px; gap: 10px; }
  .tx-trust li { font-size: .8rem; }
}
@media (max-width: 720px) {
  html[data-lang="ta"] .rates td::before { content: attr(data-lt); }
}
@media (prefers-reduced-motion: reduce) {
  .tx-hero::before, .tx-hero::after, .tx-chip, .tx-panel, .due, .pop { animation: none; }
}

.tx-pill { display: none; }
@media (max-width: 960px) {
  .tx-pill.show { display: flex; align-items: center; gap: 10px; position: fixed; z-index: 36; left: 14px; right: 78px; bottom: calc(86px + env(safe-area-inset-bottom)); padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg); text-decoration: none; font-size: .86rem; font-weight: 600; box-shadow: 0 16px 40px -14px rgb(0 0 0 / .55); animation: txIn .4s var(--ease); }
  .tx-pill b { font: 700 1.1rem var(--serif); }
  .tx-pill i { margin-left: auto; font-style: normal; opacity: .7; }
}
