/**
 * ARLaang Technologies — CSS Design Tokens & Base Reset
 * Visual Identity: Comic-Book Inspired, Multilingual Services
 */

:root {
  /* Brand Primary */
  --v: #8C52FF;        /* Violet: Main brand color, button accents, outlines */
  --vd: #7A3FF0;       /* Violet Dark: Hero section background, hover surfaces */
  --v2: #A57BFF;       /* Violet 2: Secondary brand, vector fills */
  --v3: #B58CFF;       /* Violet 3: Secondary brand, vector fills */

  /* Highlights & CTAs */
  --l: #C0FF72;        /* Lime: Display text highlight, badges, accents */
  --sf: #FFB321;       /* Sunflower / Marigold: Primary CTA button, starbursts, cards */
  --tint: #FFF3DC;     /* Tint: Warm accent surfaces, services background */
  --lav: #E9DEFF;      /* Lavender: Soft decorative card surfaces, enquiry section */

  /* Neutral & Dark Elements */
  --ink: #1B0F3A;      /* Ink: Comic border outlines, deep text, shadows */
  --deep: #24124F;     /* Deep: Language stage background, dark sections */
  --bg: #F7F4FF;       /* Background: Main page background */
  --paper: #FBF9FF;    /* Paper: Clean card backgrounds, input surfaces */
  --mut: #5E5680;      /* Muted: Secondary text, subtitles */
  --soft: #D6C9F5;     /* Soft: Subtle borders, secondary typography */
  --line: #DDD3F5;     /* Line: Section dividers, card boundaries */

  /* Transparencies & Glass Overlays */
  --glass: rgba(255, 255, 255, 0.08);
  --glass2: rgba(255, 255, 255, 0.18);
  --glass3: rgba(255, 255, 255, 0.55);

  /* Comic Halftone Textures */
  --dot: rgba(27, 15, 58, 0.20);       /* Halftone dot pattern */
  --dot2: rgba(255, 179, 33, 0.40);    /* Yellow halftone pattern */

  /* Typography Families */
  --disp: "Bangers", "Noto Sans Devanagari", "Noto Sans Tamil", "Noto Sans Bengali", "Noto Sans Arabic", cursive, sans-serif;
  --text: "Instrument Sans", "Noto Sans Devanagari", "Noto Sans Tamil", "Noto Sans Arabic", system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --max-w: 1160px;
  --header-h: 68px;
  --border-comic: 3px solid var(--ink);
  --shadow-comic: 5px 5px 0 var(--ink);
  --shadow-comic-lg: 8px 8px 0 var(--ink);
  --shadow-comic-v: 6px 6px 0 var(--v);
  --shadow-comic-v-lg: 10px 10px 0 var(--v);

  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-family: var(--disp);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 8.4vw, 6.8rem);
  line-height: 0.95;
  text-shadow: 5px 5px 0 var(--ink);
}

h2 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-shadow: 3px 3px 0 var(--sf);
  max-width: 16ch;
}

h3 {
  font-size: 2rem;
  letter-spacing: 0.03em;
}

p {
  max-width: 52ch;
  margin: 0;
}

a {
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

select, input, textarea, button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.lead {
  color: var(--mut);
  max-width: 38em;
  margin: 16px 0 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Locale-Aware Script Typography */
:lang(hi), [lang="hi"] {
  --disp-devanagari: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
  --text-devanagari: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
}

html[lang="hi"], :lang(hi) {
  font-family: var(--text-devanagari, var(--text));
}

html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4, html[lang="hi"] h5, html[lang="hi"] h6,
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) h4, :lang(hi) h5, :lang(hi) h6 {
  font-family: var(--disp-devanagari);
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 800;
  text-wrap: pretty;
}

html[lang="hi"] h1, :lang(hi) h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.4rem);
  text-shadow: 4px 4px 0 var(--ink);
}

html[lang="hi"] .hero-heading,
html[lang="hi"] .hero h1 {
  line-height: 1.25;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
}

html[lang="hi"] #word, :lang(hi) #word {
  font-family: var(--disp-devanagari);
  font-weight: 800;
  letter-spacing: 0;
}


