/* Datakar Base v2 — reset, Ravi typography and document defaults. */




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

html {
  min-height: 100%;
  background: var(--dk-color-bg);
  color: var(--dk-color-text);
  font-family: var(--dk-font-sans);
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: var(--dk-line-height);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--dk-color-bg);
  color: var(--dk-color-text);
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

img { height: auto; }

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--dk-color-primary);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 1.5px;
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

:focus-visible {
  outline: 2px solid var(--dk-color-focus);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
