
:root{
  --ink:#192236;
  --muted:#697286;
  --cream:#f7f2e8;
  --paper:#fffdfa;
  --blue:#2f5ea9;
  --blue-soft:#e8effa;
  --red:#d52932;
  --gold:#efbd4d;
  --line:#e7e0d5;
  --shadow:0 18px 55px rgba(38,47,68,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(239,189,77,.16), transparent 22rem),
    radial-gradient(circle at 92% 10%, rgba(47,94,169,.12), transparent 24rem),
    var(--cream);
  font-family:"DM Sans","Noto Sans SC","Noto Sans Tamil",system-ui,sans-serif;
  min-height:100vh;
  overflow-x:hidden;
}
.ambient{position:fixed;border-radius:50%;filter:blur(55px);opacity:.3;pointer-events:none;z-index:-1}
.ambient-one{width:260px;height:260px;background:#f1c456;left:-110px;top:25vh}
.ambient-two{width:320px;height:320px;background:#8cb0df;right:-150px;top:55vh}
.hero,main,footer{width:min(1120px,calc(100% - 32px));margin-inline:auto}
.hero{text-align:center;padding:44px 0 26px}
.brand-mark{width:72px;height:72px;margin:0 auto 14px;color:var(--blue)}
.brand-mark svg{width:100%;height:100%;filter:drop-shadow(0 12px 18px rgba(47,94,169,.18))}
.eyebrow,.section-kicker{font-weight:800;letter-spacing:.16em;font-size:.72rem;color:var(--blue)}
h1{font-size:clamp(2.25rem,7vw,4.8rem);line-height:.97;margin:10px 0 14px;letter-spacing:-.055em}
.lead{max-width:720px;margin:0 auto;color:var(--muted);font-size:clamp(1rem,2.5vw,1.2rem);line-height:1.55}
.lead strong{color:var(--red);text-transform:uppercase}
.alert-strip{
  display:flex;align-items:center;justify-content:center;gap:10px;
  max-width:820px;margin:23px auto 0;padding:12px 16px;
  border:1px solid #f0c1c4;background:#fff4f4;color:#8d2026;
  border-radius:16px;font-weight:700;font-size:.95rem;
}
.alert-icon{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:var(--red);color:#fff}
main{padding-bottom:46px}
.language-section,.viewer-shell,.safety-card{
  background:rgba(255,253,250,.9);
  backdrop-filter:blur(14px);
  border:1px solid rgba(231,224,213,.92);
  box-shadow:var(--shadow);
}
.language-section{padding:24px;border-radius:28px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.section-heading h2{margin:4px 0 0;font-size:clamp(1.5rem,4vw,2.25rem);letter-spacing:-.035em}
.count{background:var(--blue-soft);color:var(--blue);padding:7px 11px;border-radius:999px;font-weight:700;font-size:.8rem;white-space:nowrap}
.language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.language-card{
  appearance:none;border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px;
  display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;text-align:left;
  color:var(--ink);cursor:pointer;transition:.2s ease;font:inherit;
}
.language-card:hover{transform:translateY(-2px);border-color:#b9cbe7}
.language-card.active{border-color:var(--blue);box-shadow:0 0 0 3px rgba(47,94,169,.11);background:#f8fbff}
.lang-code{width:46px;height:46px;border-radius:14px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-weight:800}
.language-card strong{display:block;font-size:1rem}
.language-card small{display:block;color:var(--muted);margin-top:3px;line-height:1.3}
.chevron{font-size:1.8rem;color:#9aa3b5}
.viewer-shell{margin-top:20px;border-radius:28px;overflow:hidden}
.viewer-topbar{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line);font-weight:700}
.viewer-topbar>div{display:flex;align-items:center;gap:9px}
.status-dot{width:9px;height:9px;border-radius:50%;background:#38a169;box-shadow:0 0 0 4px rgba(56,161,105,.13)}
.zoom-button{border:0;background:var(--blue-soft);color:var(--blue);border-radius:12px;padding:9px 12px;display:flex;align-items:center;gap:7px;font:inherit;font-weight:700;cursor:pointer}
.zoom-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.image-stage{background:#eef2f8;padding:18px;display:flex;justify-content:center;overflow:hidden}
.image-stage img{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain;border-radius:17px;box-shadow:0 14px 35px rgba(25,34,54,.14);background:white;cursor:zoom-in}
.viewer-caption{display:flex;justify-content:space-between;gap:20px;padding:15px 18px;color:var(--muted);font-size:.9rem}
.viewer-caption strong{color:var(--ink);text-align:right}
.safety-card{display:grid;grid-template-columns:auto 1fr;gap:16px;margin-top:20px;padding:22px;border-radius:24px}
.safety-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#e7f6ec;color:#20824a;font-size:1.4rem;font-weight:800}
.safety-card h2{margin:1px 0 7px;font-size:1.25rem}
.safety-card p{margin:0;color:var(--muted);line-height:1.58}
footer{text-align:center;color:var(--muted);padding:0 0 30px;font-size:.88rem}
dialog{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:0;background:rgba(12,18,31,.94)}
dialog::backdrop{background:rgba(12,18,31,.94)}
dialog[open]{display:block}
#close-modal{position:fixed;z-index:5;right:18px;top:18px;width:46px;height:46px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.12);color:white;font-size:2rem;line-height:1;cursor:pointer}
.modal-scroll{height:100%;overflow:auto;padding:78px 16px 26px;display:flex;justify-content:center;align-items:flex-start}
.modal-scroll img{display:block;width:min(1500px,100%);height:auto;background:white;border-radius:14px}
@media (max-width:700px){
  .hero{padding-top:28px}
  .brand-mark{width:60px;height:60px}
  .language-section{padding:18px;border-radius:22px}
  .language-grid{grid-template-columns:1fr}
  .viewer-shell{border-radius:22px}
  .image-stage{padding:9px}
  .image-stage img{border-radius:12px;max-height:none}
  .viewer-caption{display:block}
  .viewer-caption strong{display:block;text-align:left;margin-top:7px}
  .safety-card{padding:18px}
}
@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
}
