/* MyProductVerse design tokens: shared by the public site and the admin dashboard. */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #12222b;
  --ink-2: #3a4d57;
  --ink-3: #5b6d76;
  --paper: #f5f7f7;
  --surface: #ffffff;
  --line: #d9e1e4;
  --line-2: #e8edef;
  --primary: #0b4f5c;
  --primary-ink: #083b45;
  --primary-tint: #e3f0f1;
  --deep: #0a2f38;
  --signal: #f2a541;
  --signal-ink: #8a5208;
  --signal-tint: #fdf1de;
  --good: #23704a;
  --good-tint: #e5f3eb;
  --bad: #a43d1c;
  --bad-tint: #fbeae4;
  --warn: #8f5a00;
  --warn-tint: #fff4dc;
  --info: #24569b;
  --info-tint: #e7eff9;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(10, 35, 45, .06), 0 4px 16px rgba(10, 35, 45, .05);
  --font-ui: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-read: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-ui); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-3); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .6em 1.15em; border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 15px/1.2 var(--font-ui); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--signal); color: #2a1a02; }
.btn-accent:hover { background: #e8962c; color: #2a1a02; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { background: #862f14; color: #fff; }
.btn-sm { min-height: 34px; padding: .35em .8em; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; }

.tag { display: inline-flex; align-items: center; padding: .1em .55em; border-radius: 999px; font: 500 12px/1.6 var(--font-mono); background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.tag-good { background: var(--good-tint); color: var(--good); }
.tag-bad { background: var(--bad-tint); color: var(--bad); }
.tag-warn { background: var(--warn-tint); color: var(--warn); }
.tag-info { background: var(--info-tint); color: var(--info); }
.tag-primary { background: var(--primary-tint); color: var(--primary-ink); }
