/* Existing homepage shell styles, scoped to the standalone 404 page. */

:root {
  --color-background: #FFFFFF;
  --color-text-primary: #111111;
  --color-text-secondary: #4B4B4B;
  --color-dark: #111111;
  --color-surface: #FFFFFF;
  --color-border: #D9D9D9;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-kerning: normal;
  color: var(--color-text-primary);
  background: var(--color-background);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--color-background); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--color-dark); outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.015em; }
p { line-height: 1.65; }
.container { width: min(1160px, calc(100% - 48px)); margin: auto; }
.skip { position: absolute; left: -9999px; top: 10px; padding: 10px; background: var(--color-background); z-index: 70; }
.skip:focus { left: 10px; }

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  width: 100%;
  padding-left: max(24px, calc((100% - 1160px) / 2));
  padding-right: max(24px, calc((100% - 1160px) / 2));
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}
.brand { text-decoration: none; font-size: 1.46rem; font-weight: 850; letter-spacing: -.08em; }
.nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 38px); }
.nav a { text-decoration: none; font-size: .94rem; font-weight: 600; }
.nav a:hover, .inline-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav .nav-cta { background: var(--color-dark); color: var(--color-background); padding: 12px 18px; border-radius: 100px; border: 1px solid var(--color-dark); }
.nav .nav-cta:hover { text-decoration: none; background: var(--color-background); color: var(--color-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  border-radius: 100px;
  text-decoration: none;
  color: var(--color-background);
  font-weight: 700;
  font-size: .91rem;
  transition: transform .15s, background-color .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); background: var(--color-background); color: var(--color-dark); }
.footer { border-top: 1px solid var(--color-border); padding: 27px 0; color: var(--color-text-secondary); font-size: .84rem; }
.footer .container { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.footer a { text-decoration: none; }

body { min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
.error-state { flex:1; display:flex; align-items:center; padding-block:80px; }
.error-copy { max-width:900px; }
.error-status { display:flex; align-items:center; gap:10px; color:var(--color-text-secondary); font-size:.84rem; margin-bottom:24px; }
.error-status::before { content:""; width:8px; height:8px; border-radius:50%; background:#ffd223; }
.error-state h1 { font-size:clamp(3rem,5.3vw,4.75rem); font-weight:600; line-height:1.2; }
.error-support { margin-top:24px; color:var(--color-text-secondary); font-size:clamp(1.05rem,1.32vw,1.19rem); line-height:1.68; }
.error-state .btn { margin-top:35px; }
@media(max-width:780px) { .top { height:auto; min-height:72px; } .nav { gap:15px; } .nav a { font-size:.84rem; } .nav .nav-cta { padding:9px 13px; } }
@media(max-width:520px) { .container { width:min(100% - 36px,1160px); } .top { flex-wrap:wrap; padding:17px 18px; } .nav { width:100%; justify-content:space-between; } .nav a:nth-child(3) { display:none; } .error-state { padding-block:64px; } .error-state h1 { font-size:clamp(2.8rem,11vw,4rem); } .error-state .btn { width:100%; } }
@media(prefers-reduced-motion:reduce) { :root { scroll-behavior:auto; } .btn { transition:none; } .btn:hover { transform:none; } }
