@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@400;500;600;700&display=swap');

:root {
    --bg: #0a0e17;
    --card: #111827;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --text: #f3f4f6;
    --muted: #9ca3af;
    --border: rgba(212, 175, 55, 0.15);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    line-height: 1.65;
}
html[lang="ta"] body, body.lang-ta {
    font-family: 'Noto Sans Tamil', 'Plus Jakarta Sans', system-ui, sans-serif;
}
html[lang="ta"] .legal-eyebrow, body.lang-ta .legal-eyebrow {
    text-transform: none;
    letter-spacing: 0.04em;
}
html[lang="ta"] .legal-main h1, body.lang-ta .legal-main h1 {
    line-height: 1.35;
}
html[lang="ta"] .legal-section h2, body.lang-ta .legal-section h2 {
    line-height: 1.45;
}
html[lang="ta"] .legal-section p,
html[lang="ta"] .legal-section li,
body.lang-ta .legal-section p,
body.lang-ta .legal-section li {
    font-size: 0.93rem;
    line-height: 1.75;
}
html[lang="ta"] .contact-box h3,
body.lang-ta .contact-box h3 {
    line-height: 1.4;
    font-size: 0.92rem;
}
html[lang="ta"] .contact-box p,
body.lang-ta .contact-box p {
    line-height: 1.65;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.legal-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 1.5rem;
}
.header-inner {
    max-width: 1180px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.logo {
    display: inline-flex; align-items: center; gap: 0.6rem;
    text-decoration: none; flex-shrink: 0; line-height: 1;
}
.logo-mark {
    width: 40px; height: 40px; flex-shrink: 0; display: block;
}
.logo-word {
    font-size: 1.42rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #b8860b 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: var(--gold);
}
.logo-word .logo-z { font-size: 1.5em; line-height: 0.85; vertical-align: -0.06em; }
@media (max-width: 480px) {
    .logo-mark { width: 34px; height: 34px; }
    .logo-word { font-size: 1.2rem; }
}
.page-nav {
    display: flex; gap: 0.65rem 1.1rem; flex-wrap: wrap;
    align-items: center; justify-content: flex-end;
}
.page-nav a {
    color: var(--muted); text-decoration: none; font-weight: 600;
    font-size: 0.88rem; transition: color 0.2s;
}
.page-nav a:hover, .page-nav a.active { color: var(--gold); }
.legal-main { padding: 3rem 1.5rem 4rem; max-width: 820px; }
.legal-eyebrow {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
.legal-main h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); font-weight: 800; margin-bottom: 0.35rem; }
.legal-updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 2rem; }
.legal-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 1.5rem; margin-bottom: 2rem;
}
.legal-card p { color: var(--muted); margin-bottom: 1rem; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-section { margin-bottom: 2rem; }
.legal-section h2 {
    color: var(--gold); font-size: 1.1rem; margin-bottom: 0.75rem;
}
.legal-section p, .legal-section li {
    color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem;
}
.legal-section ul { padding-left: 1.25rem; }
.legal-section a { color: var(--gold-light); }
.contact-grid {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1rem;
}
.contact-box {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.25rem;
}
.contact-box h3 { font-size: 0.95rem; margin-bottom: 0.5rem; color: #fff; }
.contact-box p, .contact-box a {
    color: var(--muted); font-size: 0.9rem; text-decoration: none;
}
.contact-box a:hover { color: var(--gold); }
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background: rgba(0, 0, 0, 0.2);
}
@media (max-width: 600px) {
    .site-footer { padding: 2rem 1rem 1.25rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-brand { grid-column: 1 / -1; }
}
.footer-grid {
    display: grid; gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 2rem;
}
.footer-brand strong { color: var(--gold); font-size: 1.1rem; display: block; margin-bottom: 0.5rem; }
.footer-brand p { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.footer-col h4 {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--gold); margin-bottom: 0.75rem;
}
.footer-col a {
    display: block; color: var(--muted); text-decoration: none;
    font-size: 0.85rem; margin-bottom: 0.45rem;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-copy {
    text-align: center; color: var(--muted); font-size: 0.78rem;
    padding-top: 1.5rem; border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
    .header-inner { flex-direction: column; align-items: flex-start; }
    .page-nav { width: 100%; justify-content: flex-start; }
}
