/* shell.css — Kartel RPM root: tokens, reset, fonts, utilities */

:root {
  --ink: #1A0011;
  --panel: #2A0A20;
  --brand: #990066;
  --brand-soft: #B33B86;
  --accent: #FFFF00;
  --accent-deep: #E6E600;
  --cobalt: #003399;
  --chalk: #F8F4FF;
  --muted: #B5A8C3;
  --line: #3A1830;

  --maxw: 1240px;
  --gap: 24px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.45);
  --t: 220ms ease;

  --font-display: "Bebas Neue", "Arial Narrow", "Impact", sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--chalk);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--chalk); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.4em;
  color: var(--chalk);
  text-transform: uppercase;
}
h1 { font-size: clamp(40px, 6vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 18px; letter-spacing: 0.08em; }
p { margin: 0 0 1em; max-width: 64ch; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 2px;
  transition: background var(--t), color var(--t), transform var(--t);
  min-height: 48px;
}
.btn:hover { background: var(--chalk); color: var(--ink); border-color: var(--chalk); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--chalk);
  border: 2px solid var(--brand);
}
.btn-ghost:hover { background: var(--brand); color: var(--chalk); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.jump-to-main {
  position: absolute;
  left: 12px;
  top: -100px;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
  border-radius: 2px;
  z-index: 9999;
  transition: top 180ms ease;
}
.jump-to-main:focus { top: 12px; color: var(--ink); }

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