/* Sentinel Log prototype: fonts, reset and element defaults. Values come from tokens.css. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
/* Utility display classes (.row, .col) must not defeat the hidden attribute. */
[hidden] { display: none !important; }
html { font-family: var(--font-sans); color: var(--text-1); background: var(--bg); -webkit-font-smoothing: antialiased; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; font: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; text-align: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.screen { margin: 0; overflow: hidden; background: var(--bg); }
.icon { display: inline-flex; flex-shrink: 0; }
.icon svg { stroke: currentColor; }

.skip-link { position: absolute; left: 8px; top: -48px; z-index: 10; padding: 8px 12px; background: var(--accent); color: var(--mark-fg); border-radius: var(--radius-md); }
.skip-link:focus { top: 8px; }

/* D-04 addition: visually-hidden follows the skip-link offscreen pattern
   above, so product templates replace the legacy style.css definition. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.visually-hidden:focus, .visually-hidden:active { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@page { size: A4; margin: 16mm 14mm; }
