/* shared styles for trashlabs error pages */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  background: var(--bg-0);
  color: var(--fg-0);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--fg-1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand .dot {
  width: 6px; height: 6px; background: var(--accent);
}
.topbar .crumbs {
  color: var(--fg-3);
}
.topbar .crumbs a {
  color: var(--fg-2);
  text-decoration: none;
}
.topbar .crumbs a:hover { color: var(--fg-0); }

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.block {
  max-width: 520px;
  width: 100%;
}

.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .bar {
  width: 24px; height: 1px; background: var(--line-3);
  display: inline-block;
}

h1 {
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--fg-0);
  margin: 0 0 20px;
}
h1 .caret::after {
  font-size: 0.7em;
  vertical-align: 1px;
}

p {
  color: var(--fg-1);
  font-size: var(--text-md);
  line-height: 1.6;
  margin: 0;
  max-width: 44ch;
}
p + p { margin-top: 8px; }

footer {
  padding: 16px 24px;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--fg-3);
}
