/* Authentik Workshop — base styles.
   Palette and type from the live site (authentik-site/src/styles/global.css), chosen by Craig
   2026-09-27. Contrast on white: navy 9.0:1, grey-500 11.2:1, link 5.0:1.
   ⚠️ Orange #f8a025 is 2.09:1 on white — accents, rules and backgrounds only, NEVER text on
   white. #cf7c07 is large text only (3.2:1). Labels on orange use #0c4670. */

@font-face {
  font-family: "Oswald";
  src: url("/static/fonts/oswald-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/static/fonts/raleway-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/static/fonts/raleway-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0d4a74;
  --orange: #f8a025;
  --orange-ink: #cf7c07;
  --on-orange: #0c4670;
  --link: #007995;
  --link-hover: #005a70;
  --grey-100: #f3f3f3;
  --grey-200: #e6e6e6;
  --grey-300: #adadad;
  --grey-400: #737373;
  --grey-500: #3a3a3a;
  --white: #ffffff;
  --font-heading: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 32px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--grey-100);
  color: var(--grey-500);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip-link:focus { left: 8px; }

.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--orange);
  padding: 12px var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}
.brand img { display: block; width: 48px; height: auto; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand-sub { color: var(--grey-500); }

.page {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 56px) var(--gutter);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--grey-200);
}

.eyebrow {
  margin: 0 0 0.75em;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 4px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--orange);
  border-radius: 2px;
}

.lead { font-size: 1.2rem; color: var(--grey-500); }

.site-footer {
  padding: 20px var(--gutter);
  text-align: center;
  font-size: 0.95rem;
  color: var(--grey-500);
}

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