/* Mobile first. Colours match the apps (src/config/theme.js). */
:root {
  --paper: #FAF7F0; --card: #FFFFFF; --ink: #101B33; --slate: #5B6478; --line: #ECE7DC;
  --marigold: #F2A93B; --marigold-deep: #D98D1F; --leaf: #3C8A63; --tint: #FFF6E7;
  --radius: 16px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0E1424; --card: #182138; --ink: #F2EFE6; --slate: #AAB2C4; --line: #2A3652; --tint: #3A2E18; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6;
  font-family: system-ui, -apple-system, 'Segoe UI', 'Noto Sans Tamil', 'Latha', Roboto, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--marigold-deep); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
html[lang='ta'] .en, html[lang='en'] .ta { display: none !important; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: var(--marigold); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
nav { margin-left: auto; display: flex; gap: 14px; align-items: center; font-size: .92rem; }
nav a { color: var(--slate); text-decoration: none; }
nav a:hover { color: var(--ink); }
.nav-links { display: none; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: transparent; color: var(--slate); padding: 6px 12px; font: inherit; font-size: .85rem; cursor: pointer; }
.lang button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
@media (min-width: 720px) { .nav-links { display: flex; } }

/* hero */
.hero { padding: 40px 0 24px; display: grid; gap: 28px; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); line-height: 1.2; margin: 0 0 12px; }
.hero p.lead { color: var(--slate); font-size: 1.08rem; margin: 0 0 22px; max-width: 34em; }
.pill { display: inline-block; background: var(--tint); color: var(--marigold-deep); border: 1px solid var(--marigold); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 700; margin-bottom: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.gold { background: var(--marigold); border-color: var(--marigold); color: #101B33; }
.phones { display: flex; gap: 12px; justify-content: center; align-items: flex-end; }
.phone { width: min(44vw, 230px); border-radius: 24px; border: 6px solid #101B33; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(16, 27, 51, .22); }
.phone:nth-child(2) { margin-bottom: 26px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.05fr 1fr; align-items: center; padding: 64px 0 40px; } }

/* sections */
section { padding: 36px 0; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0 0 6px; }
.sub { color: var(--slate); margin: 0 0 22px; max-width: 40em; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h3 { margin: 10px 0 4px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--slate); font-size: .93rem; }
.ic { width: 38px; height: 38px; border-radius: 12px; background: var(--tint); position: relative; }
.ic::after { content: ''; position: absolute; inset: 8px; background: var(--marigold-deep); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.steps { counter-reset: s; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 58px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--marigold); color: #101B33; font-weight: 800; display: grid; place-items: center; }
.band { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 28px 20px; }
.band h2 { color: var(--paper); }
.band ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.band li { padding-left: 28px; position: relative; opacity: .95; }
.band li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: var(--marigold); -webkit-mask: url(icons/check-circle.svg) center / contain no-repeat; mask: url(icons/check-circle.svg) center / contain no-repeat; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: 0 0 min(62vw, 230px); scroll-snap-align: start; }
.shots img { border-radius: 20px; border: 5px solid #101B33; }
.shots figcaption { text-align: center; font-size: .85rem; color: var(--slate); margin-top: 8px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 0; color: var(--slate); }

/* privacy / legal page */
.doc { max-width: 760px; padding: 28px 0 56px; }
.doc h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin: 0 0 4px; }
.doc h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 20px; }
.meta { color: var(--slate); font-size: .92rem; }
.note { background: var(--tint); border: 1px solid var(--marigold); border-radius: 12px; padding: 12px 16px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--slate); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--slate); }
[hidden] { display: none !important; }

/* store buttons */
.app-dl { display: grid; gap: 16px; }
.dl-row { display: grid; gap: 8px; }
.dl-title { margin: 0; font-weight: 700; font-size: .92rem; color: var(--slate); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { position: relative; display: inline-flex; align-items: center; gap: 10px; min-width: 168px; height: 54px; padding: 0 16px; border-radius: 12px;
  background: #000; color: #fff; border: 1px solid #A6A6A6; text-decoration: none; }
.store span { display: grid; line-height: 1.15; text-align: left; }
.store small { font-size: .66rem; letter-spacing: .02em; opacity: .9; }
.store b { font-size: 1.12rem; font-weight: 600; }
.store:hover { border-color: var(--marigold); }
.store .soon { display: none; position: absolute; top: -9px; right: 10px; font-style: normal; font-size: .66rem; font-weight: 700; background: var(--marigold); color: #101B33; padding: 1px 8px; border-radius: 999px; }
.store.off { opacity: .72; cursor: not-allowed; }
.store.off .soon { display: inline-block; }
html[lang='ta'] .store.off .soon.en, html[lang='en'] .store.off .soon.ta { display: none !important; }
