/* ==========================================================================
   UCR 2027 Fees — weigh-station / fleet-yard look
   Light steel sky → asphalt. High-vis amber. Condensed industrial type.
   Not another dark SaaS landing page.
   ========================================================================== */

:root {
  --sky-hi: #d7e6f4;
  --sky-mid: #b8cfe3;
  --asphalt: #1c222b;
  --asphalt-2: #2a323e;
  --concrete: #eef2f6;
  --paper: #f7f9fb;
  --ink: #12171f;
  --ink-soft: #3a4454;
  --muted: #5c6a7d;
  --line: #c5d0dc;
  --amber: #e59a12;
  --amber-hot: #ffbe3d;
  --amber-deep: #b8730a;
  --caution: #111111;
  --good: #1f7a4d;
  --danger: #b42318;
  --white: #ffffff;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --font-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;

  --shell: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-ticket: 0 18px 50px -28px rgba(18, 23, 31, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background:
    linear-gradient(180deg, var(--sky-hi) 0%, var(--sky-mid) 38%, var(--concrete) 68%, #e4e9ef 100%);
  min-height: 100vh;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 0.45em;
  text-wrap: balance;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.7rem);
}

h3 {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--amber-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

strong {
  color: var(--ink);
  font-weight: 600;
}

code,
.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(18, 23, 31, 0.06);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.noscript-banner {
  background: var(--amber);
  color: var(--caution);
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--amber);
  color: var(--caution);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.18s var(--ease);
}

.skip-link:focus {
  top: 0;
}

.shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 249, 251, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--asphalt);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.brand__shield {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--amber);
  color: var(--caution);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 2px solid var(--caution);
  box-shadow: 3px 3px 0 var(--caution);
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__sub {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: flex-end;
}

.site-nav a {
  display: block;
  padding: 9px 12px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--amber);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 2px;
  border: 2px solid var(--caution);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background-color 0.16s var(--ease);
}

.btn:active {
  transform: translate(1px, 1px);
}

.btn--primary {
  background: var(--amber);
  color: var(--caution);
  box-shadow: 4px 4px 0 var(--caution);
}

.btn--primary:hover {
  color: var(--caution);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--caution);
}

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(18, 23, 31, 0.18);
}

.btn--ghost:hover {
  color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(18, 23, 31, 0.22);
}

.btn--dark {
  background: var(--asphalt);
  color: var(--white);
  border-color: var(--asphalt);
  box-shadow: 4px 4px 0 rgba(18, 23, 31, 0.35);
}

.btn--dark:hover {
  color: var(--white);
  transform: translate(-1px, -1px);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 56px;
  padding: 34px 0 48px;
  background: var(--asphalt);
  color: #c9d2de;
  border-top: 6px solid var(--amber);
}

.site-footer a {
  color: var(--amber);
}

.site-footer a:hover {
  color: #ffd27a;
}

.site-footer .fresh {
  color: #e8eef6;
}

.site-footer .footnav {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .site-header__inner {
    flex-wrap: wrap;
    padding: 10px 0;
    min-height: 0;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}
