*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-ui); }
:lang(ta) { line-height: 1.8; }
h1, h2, h3, h4 { line-height: 1.3; margin: 1.2em 0 .5em; }
h1 { font-size: 1.9rem; margin-top: .6em; } h2 { font-size: 1.4rem; } h3 { font-size: 1.15rem; }
a { color: var(--accent); text-underline-offset: 3px; } a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
img, svg { max-width: 100%; height: auto; }
table { border-collapse: collapse; width: 100%; } th, td { border: 1px solid var(--border); padding: .4em .6em; text-align: left; }
code, kbd, pre { font-family: var(--font-mono); font-size: .92em; }
kbd { background: var(--surface-2); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px; padding: 0 .35em; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-text); padding: .5em 1em; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
