@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #13263A;
  --orange: #F58232;
  --muted: #5D6C70;
  --ivory: #F6F2EA;
  --line: #DFE6E6;
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--ivory); }
body { margin: 0; color: var(--navy); font-family: "Outfit", Arial, sans-serif; }
.page {
  width: min(100% - 112px, 1240px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.site-header {
  min-height: 132px;
  padding-block: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(19, 38, 58, .14);
}
.brand { display: block; width: 236px; max-width: 65%; height: auto; }
.header-note { color: var(--muted); font-size: 15px; }
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  padding-block: clamp(72px, 9vh, 120px);
}
.message { min-width: 0; }
.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}
.status span { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.09;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
h1 span { display: block; }
.lead {
  max-width: 510px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  text-wrap: pretty;
}
.brand-art { position: relative; width: 100%; aspect-ratio: 1; max-width: 390px; justify-self: end; }
.art-card {
  position: absolute;
  inset: 7% 8% 7% 2%;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 70px rgba(19, 38, 58, .045);
}
.art-card img { width: 56%; height: auto; transform: translateY(-5%); }
.art-line { position: absolute; width: 48%; height: 2px; background: var(--line); bottom: 16%; }
.art-outline { position: absolute; inset: 0 0 13% 15%; border: 1px solid rgba(19,38,58,.2); border-radius: 28px; }
.art-dot { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); right: 3%; bottom: 1%; }
.site-footer {
  border-top: 1px solid rgba(19, 38, 58, .14);
  padding-block: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-footer p { margin: 0; }
.footer-brand { font-size: 15px; font-weight: 500; }
.legal { color: var(--muted); font-size: 13px; line-height: 1.5; text-align: right; }
.error-message { max-width: 680px; margin-inline: auto; }
.error-code { margin: 0 0 20px; color: var(--muted); font-size: 18px; }
.error-hero { display: flex; }
.home-link { display: inline-block; margin-top: 32px; color: var(--navy); font-size: 18px; text-underline-offset: 5px; padding-block: 10px; }
.home-link:hover { text-decoration-thickness: 2px; }
.home-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 6px; border-radius: 2px; }
@media (max-width: 900px) {
  .page { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .44fr); gap: 30px; }
  h1 { font-size: clamp(36px, 5vw, 48px); }
}
@media (max-width: 640px) {
  .page { width: calc(100% - 40px); }
  .site-header { min-height: 96px; padding-block: 23px; gap: 12px; }
  .brand { width: 176px; max-width: 64%; }
  .header-note { font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding-block: 46px; gap: 30px; }
  .status { margin-bottom: 22px; font-size: 13px; }
  h1 { font-size: clamp(32px, 8.8vw, 48px); line-height: 1.12; letter-spacing: -.025em; }
  .lead { font-size: 18px; margin-top: 24px; }
  .brand-art { width: 170px; justify-self: center; }
  .art-card, .art-outline { border-radius: 17px; }
  .art-dot { width: 14px; height: 14px; }
  .site-footer { padding-block: 22px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .legal { text-align: left; font-size: 12px; }
}
@media print {
  .page { width: 100%; min-height: auto; }
  .hero { padding-block: 45px; }
  .brand-art { max-width: 250px; }
}
