@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-var.woff2") format("woff2");
}

:root {
  --accent: #b20a03;
  --accent-light: #e13a2e;
  --bg: #0c0c0d;
  --bg-elevated: #17171a;
  --text: #f2f0ee;
  --text-muted: #a8a6a4;
  --border: #2a2a2d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-image: radial-gradient(circle at 20% 20%, rgba(178, 10, 3, 0.16), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(178, 10, 3, 0.12), transparent 50%);
}

a {
  color: var(--accent-light);
}

a:hover,
a:focus {
  color: var(--text);
}

/* One-pager layout: fills the viewport exactly, never scrolls */
body.no-scroll {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1rem, 4vh, 2.5rem) clamp(1rem, 5vw, 3rem);
  min-height: 0;
}

.logo {
  font-size: clamp(2rem, 7vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0;
}

.logo span {
  color: var(--accent-light);
}

.badge {
  display: inline-block;
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
  padding: 0.4em 1em;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-light);
  font-size: clamp(0.75rem, 1.6vw, 0.95rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.claim {
  margin: clamp(0.75rem, 2.5vh, 1.5rem) 0 0;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: var(--text-muted);
}

.section-label {
  margin: clamp(1.25rem, 3.5vh, 2.25rem) 0 0;
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.25rem);
  margin: clamp(0.6rem, 1.5vh, 1rem) 0 0;
  padding: 0;
  list-style: none;
}

.services li {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 0.75rem;
  padding: 0.6em 1.1em;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
}

.contact {
  margin: clamp(1.25rem, 3.5vh, 2.25rem) 0 0;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
}

.contact a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.status-code {
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 800;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}

footer.site-footer {
  flex-shrink: 0;
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

footer.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 0.5rem;
}

footer.site-footer a:hover {
  color: var(--accent-light);
}

/* Legal pages are allowed to scroll */
.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 5vw, 1.5rem) 4rem;
  line-height: 1.6;
}

.legal h1 {
  color: var(--accent-light);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
}

.legal h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
}

.legal a {
  color: var(--accent-light);
}

.legal .back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.placeholder {
  color: #f0b429;
  font-weight: 600;
}
