/* Kriyasya Ayurveda V2 — P10 accessibility, Devanagari, motion and print hardening. */
html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", "Nirmala UI", Mangal, system-ui, -apple-system, sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
html[lang="hi"] :is(h1,h2,h3,h4,.h1,.h2,.h3,.brand__name) {
  font-family: "Noto Serif Devanagari", "Nirmala UI", Mangal, Georgia, serif;
  line-height: 1.28;
  letter-spacing: 0;
}
html[lang="hi"] :is(p,li,a,button,label,input,textarea,small,span) { word-break: normal; overflow-wrap: anywhere; }
html[lang="hi"] .v2-kicker,
html[lang="hi"] .v2-studio-card__eyebrow { text-transform: none; letter-spacing: 0; }

/* P10 owns a self-contained user text-resize contract while preserving P08 behavior. */
body.large-text { font-size: 1.2rem; --ay2-reading: 780px; }
body.large-text :is(input,select,textarea,button) { font-size: 1em; }
body.large-text :is(.v2-module-card p,.v2-goal-card span,.v2-studio-card p) { max-width: 46ch; }

:where(a,button,input,select,textarea,summary,[role="button"]):focus-visible {
  outline: 3px solid #0b6c5d !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #fff;
}
:where(button,.btn,.lang-switch__btn,.v2-mobile-bottom a,.v2-desktop-nav a,.v2-more-toggle) { min-block-size: 44px; }
.v2-mobile-more__grid :is(a,button) { min-block-size: 44px; }
[aria-current="page"], [aria-current="step"] { text-decoration-thickness: .15em; text-underline-offset: .22em; }
.v2-status { border: 1px solid currentColor; }

body.color-friendly {
  --ay2-ink: #101814;
  --ay2-ink-soft: #313c37;
  --ay2-forest: #0b493e;
  --ay2-forest-strong: #06382f;
  --ay2-line: #89958f;
  --ay2-focus: #005a4c;
  --ay2-cream: #fffdf6;
  --ay2-paper: #fff;
}
body.color-friendly :is(.v2-status--ready,.v2-status--held,.v2-stage) { border-width: 2px; }
body.color-friendly .v2-status--ready::before { content: "✓ "; }
body.color-friendly .v2-status--held::before { content: "! "; font-weight: 900; }

body.v2-menu-open { overflow: hidden; }
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  :where(a,button,input,select,textarea):focus-visible { outline: 3px solid Highlight !important; }
  .v2-status,.v2-stage,.v2-module-card,.v2-goal-card,.v2-studio-card,.v2-state-card,.v2-review-state { border: 1px solid CanvasText; }
  .v2-status--ready::before { content: "✓ "; }
  .v2-status--held::before { content: "! "; }
}

@media (max-width: 520px) {
  html[lang="hi"] body { font-size: 1rem; }
  html[lang="hi"] .v2-mobile-bottom span { font-size: .69rem; }
  html[lang="hi"] body.large-text { font-size: 1.2rem; }
}

@media print {
  .site-header,.ayur-worldnav,.v2-mobile-bottom,.v2-mobile-more,.site-footer,.topbar-safety,.skip-link,.v2-home-hero__actions,.v2-search-trigger,.v2-covers { display: none !important; }
  body { background: #fff !important; color: #111 !important; font-size: 11pt; }
  main { display: block !important; }
  a { color: inherit; text-decoration: underline; }
  .v2-module-card,.v2-state-card,.v2-review-state,.v2-result-preview,.v2-visual-panel { break-inside: avoid; box-shadow: none !important; }
  .v2-section { padding-block: 1rem; }
  .v2-module-start { position: static; box-shadow: none; }
}
