/* Noto Sans Tamil, bundled under the SIL Open Font License. */
/* Match the exact weights of the Latin faces so browsers combine their script coverage. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Regular.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Medium.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-SemiBold.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Bold.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Bold.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Bold.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Regular.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Medium.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-SemiBold.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Bold.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Bold.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/NotoSansTamil-Bold.ttf') format('truetype');
  unicode-range: U+0B80-0BFF, U+200C-200D, U+25CC;
}

html[lang='ta'] {
  word-break: normal;
  overflow-wrap: break-word;
}

html[lang='ta'] .hero h1 .line,
html[lang='ta'] .hero h1 .highlight {
  white-space: normal;
  line-height: 1.35;
}

html[lang='ta'] .footer-legal {
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

/* Tamil labels need room to wrap inside narrow flex layouts. */
html[lang='ta'] .btn {
  white-space: normal;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

html[lang='ta'] .error-content {
  width: 100%;
  min-width: 0;
}

html[lang='ta'] .nav .logo {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 768px) {
  html[lang='ta'] .hero h1 {
    font-size: clamp(36px, 3.4vw, 48px);
  }
}
