/* HRCPC pilot styles. Design rules v1 (direction A). No third-party code. */
:root {
  --blue: #1f3a5f;
  --bg: #ffffff;
  --soft: #f3f6fa;
  --text: #1b2430;
  --accent: #f59e0b;
  --line: #d5dde8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans Telugu", "Noto Sans Devanagari", "Noto Sans", "Nirmala UI", "Gautami", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 5rem;
}
a { color: var(--blue); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
header a:focus-visible { outline-color: var(--accent); box-shadow: none; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
header { background: var(--blue); color: #fff; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; flex-wrap: wrap; }
.brand { display: inline-block; line-height: 48px; font-weight: 700; font-size: 1.25rem; color: #fff; text-decoration: none; letter-spacing: .02em; }
.lang a { display: inline-block; min-height: 48px; line-height: 48px; color: #fff; margin-left: .25rem; padding: 0 .75rem; border-radius: 6px; }
.lang a[aria-current="page"] { background: #fff; color: var(--blue); text-decoration: none; font-weight: 700; }
.top-call { display: inline-block; line-height: 48px; color: #fff; font-weight: 600; }
.hero { padding: 3rem 0 2.5rem; background: var(--soft); }
h1 { color: var(--blue); font-size: 2rem; line-height: 1.35; margin: 0 0 1rem; }
h2 { color: var(--blue); font-size: 1.5rem; line-height: 1.4; margin: 0 0 1rem; }
section { padding: 3rem 0; }
section + section { border-top: 1px solid var(--line); }
.btn {
  display: inline-block; min-height: 48px; padding: .75rem 1.5rem;
  background: var(--accent); color: var(--text); font-weight: 700; text-decoration: none;
  border-radius: 8px; border: 0; text-align: center;
}
.btn.secondary { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.actions .btn { flex: 1 1 12rem; }
ol.areas { padding-left: 1.25rem; }
ol.areas li { margin-bottom: 1rem; }
.note { background: var(--soft); border-left: 4px solid var(--blue); padding: 1rem; border-radius: 0 8px 8px 0; }
.callbar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: .5rem 1rem; }
.callbar .btn { display: block; width: 100%; }
footer { padding: 2rem 0; background: var(--soft); font-size: 1rem; }
@media (min-width: 48rem) {
  h1 { font-size: 2.5rem; }
  .callbar { display: none; }
  body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Menu and inner pages */
.menu { background: var(--soft); border-bottom: 1px solid var(--line); }
.menu .wrap { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.menu a { display: inline-block; min-height: 48px; line-height: 32px; padding: .5rem .25rem; font-weight: 600; text-decoration: none; }
.menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
section.page { padding: 2rem 0 3rem; }
section.page ul, section.page ol { padding-left: 1.25rem; }
section.page li { margin-bottom: .75rem; }
footer p { margin: .25rem 0; }

/* Audit fixes 23 Nov */
h1, h2, li, p, .btn { overflow-wrap: anywhere; }
.actions .btn { min-width: 0; }
footer a, section.page a[href^="tel:"], section.page a[href^="mailto:"] { display: inline-block; min-height: 48px; line-height: 48px; padding: 0 .25rem; }
footer p { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--blue); padding: .75rem 1rem; z-index: 10; font-weight: 700; }
.skip:focus { left: .5rem; top: .5rem; outline: 3px solid var(--blue); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spaced { margin-top: 1.5rem; }
main.wrap.top { padding-top: 3rem; }

/* Noto Sans Telugu, self-hosted (SIL OFL 1.1). Loads only where Telugu text appears. */
@font-face { font-family: "Noto Sans Telugu"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/noto-sans-telugu-telugu-400-normal.woff2") format("woff2"); unicode-range: U+0C00-0C7F, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Telugu"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/noto-sans-telugu-telugu-700-normal.woff2") format("woff2"); unicode-range: U+0C00-0C7F, U+200C-200D, U+25CC; }

/* Noto Sans Devanagari, self-hosted (SIL OFL 1.1), for Hindi. */
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/noto-sans-devanagari-devanagari-400-normal.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/noto-sans-devanagari-devanagari-700-normal.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

.updated { color: var(--text); font-size: 1rem; margin-top: 2rem; }

/* ===== Home, look B: dark hero (own CSS, no third-party code) ===== */
.home .wrap.wide { max-width: 68rem; }
.hero.dark { position: relative; overflow: hidden; background: #0b1a30; color: #fff; padding: 4rem 0 4.5rem;
  background-image: linear-gradient(160deg, #0b1a30 0%, #14304f 55%, #1f3a5f 100%); }
.hero.dark::before { content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.hero.dark .wrap { position: relative; z-index: 1; }
.hero.dark h1 { color: #fff; font-size: 2.1rem; max-width: 22ch; }
.hero.dark .lead { color: #e6edf6; max-width: 40rem; margin: 0; }
.hero.dark .actions { max-width: 36rem; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.glow.g1 { width: 22rem; height: 22rem; background: #f59e0b; top: -8rem; right: -6rem; animation: drift1 14s ease-in-out infinite alternate; }
.glow.g2 { width: 18rem; height: 18rem; background: #2f6fb5; bottom: -8rem; left: -5rem; animation: drift2 18s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-4rem, 3rem) scale(1.15); } }
@keyframes drift2 { to { transform: translate(5rem, -2rem) scale(1.2); } }
.btn.ghost { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: rgba(255,255,255,.18); }
.hero.dark .btn:focus-visible { outline-color: #fff; box-shadow: none; }
.btn { transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(11,26,48,.25); }
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.facts li { text-align: center; }
.facts .num { display: block; font-size: 2rem; font-weight: 700; line-height: 1.3; color: var(--blue); }
.facts .lbl { display: block; font-size: 1rem; line-height: 1.5; }
.home section { padding: 3.5rem 0; }
.home section + section { border-top: 0; }
.home section.tint { background: var(--soft); }
.cards, .steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.card, .step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; box-shadow: 0 1px 2px rgba(11,26,48,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover, .step:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(11,26,48,.12); border-color: var(--accent); }
.card h3, .step h3 { margin: .75rem 0 .25rem; font-size: 1.125rem; line-height: 1.45; color: var(--blue); }
.card p, .step p { margin: 0; }
.ico { display: block; box-sizing: content-box; padding: .6rem; border-radius: 12px; background: var(--blue); color: #fff; }
.card:nth-child(odd) .ico { background: var(--blue); }
.card:nth-child(even) .ico { background: #14304f; color: var(--accent); }
.step .ico { background: var(--accent); color: var(--text); }
.steps { counter-reset: s; }
.more { margin-top: 1.5rem; font-weight: 600; }
.more a { display: inline-block; min-height: 48px; line-height: 48px; }
.wa { margin-top: 2rem; background: #0b1a30; color: #fff; border-radius: 12px; padding: 1.5rem; }
.wa h3 { margin: 0 0 .5rem; color: #fff; font-size: 1.25rem; }
.wa p { margin: 0 0 1rem; color: #e6edf6; }
.wa label { display: block; font-weight: 600; margin-bottom: .25rem; }
.wa textarea { width: 100%; font: inherit; color: var(--text); padding: .75rem; border-radius: 8px; border: 2px solid transparent; margin-bottom: 1rem; resize: vertical; }
.wa textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wa .btn { width: 100%; cursor: pointer; font: inherit; font-weight: 700; }
.js-only { display: none; }
.js .js-only { display: block; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (min-width: 48rem) {
  .hero.dark { padding: 6rem 0 6.5rem; }
  .hero.dark h1 { font-size: 3rem; }
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .wa { max-width: 40rem; }
}
@media (prefers-reduced-motion: reduce) {
  .glow { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card:hover, .step:hover { transform: none; }
}

/* ===== Inner pages, look B ===== */
.hero.dark.inner { padding: 2.5rem 0 2.75rem; }
.hero.dark.inner h1 { margin: 0; font-size: 2rem; max-width: 26ch; }
.hero.dark.inner .glow.g1 { width: 14rem; height: 14rem; top: -7rem; }
section.page { padding: 2.5rem 0 3rem; }
.inner-page section.page .wrap { max-width: 46rem; }
.inner-page ol.areas { list-style: none; padding: 0; counter-reset: a; display: grid; gap: 1rem; }
.inner-page ol.areas li { counter-increment: a; position: relative; margin: 0; padding: 1.25rem 1.25rem 1.25rem 4.25rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(11,26,48,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.inner-page ol.areas li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,26,48,.12); border-color: var(--accent); }
.inner-page ol.areas li::before { content: counter(a); position: absolute; left: 1rem; top: 1.1rem; width: 2.25rem; height: 2.25rem; line-height: 2.25rem; text-align: center; border-radius: 10px; background: var(--blue); color: var(--accent); font-weight: 700; }
.inner-page ol.areas li strong { display: block; color: var(--blue); }
.inner-page section.page h2 { margin-top: 2.5rem; padding-bottom: .5rem; border-bottom: 3px solid var(--accent); display: inline-block; }
.inner-page section.page > .wrap > ul:not(.areas) { list-style: none; padding: 0; display: grid; gap: .75rem; }
.inner-page section.page > .wrap > ul:not(.areas) > li { margin: 0; padding: 1rem 1.25rem; background: var(--soft); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; }
.cta-band { background: linear-gradient(160deg, #0b1a30, #1f3a5f); padding: 2.5rem 0; }
.cta-band .actions { margin-top: 0; max-width: 36rem; }
.cta-band .btn.secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn.secondary:hover { background: rgba(255,255,255,.15); }
.cta-band .btn:focus-visible { outline-color: #fff; box-shadow: none; }
@media (min-width: 48rem) { .hero.dark.inner h1 { font-size: 2.5rem; } }
@media (prefers-reduced-motion: reduce) { .inner-page ol.areas li:hover { transform: none; } }
