@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/archivo-black.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/archivo-400.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/archivo-500.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --canvas: #0e1216;
  --bone: #efeae0;
  --secondary: #96a0ab;
  --hairline: rgba(150, 160, 171, 0.16);
  --brass: #c2a05c;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--canvas);
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 42%, rgba(26, 32, 40, 0.75) 0%, rgba(14, 18, 22, 0) 70%),
    var(--canvas);
  color: var(--bone);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  animation: arrival 220ms ease-out both;
}

.brand-mark {
  display: block;
  width: 8rem;
  height: 8rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.08));
}

h1 {
  margin: 1.75rem 0 0;
  color: var(--bone);
  font-family: "Archivo Black", "Archivo", Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

h1 .iq { margin-left: -0.03em; }

.brass-rule {
  width: 2rem;
  height: 1px;
  margin: 1.75rem auto 1.5rem;
  background: var(--brass);
}

.status {
  margin: 0;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--hairline);
  padding: 1.1rem 1.75rem calc(1.1rem + env(safe-area-inset-bottom));
}

footer p {
  margin: 0;
  color: rgba(150, 160, 171, 0.72);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

@keyframes arrival {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (max-height: 620px) and (min-width: 641px) {
  .brand-mark { width: 6.5rem; height: 6.5rem; }
  h1 { font-size: 2.35rem; margin-top: 1.4rem; }
  .brass-rule { margin: 1.4rem auto 1.2rem; }
}

@media (max-width: 520px) {
  .brand-mark { width: 6.75rem; height: 6.75rem; }
  h1 { font-size: 2.35rem; }
  footer { flex-direction: column; gap: 0.35rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
}
