@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: #fcfcfd;
  color: #252930;
  font-family: 'Inter', Arial, sans-serif;
}

::selection {
  background: #f6d8dd;
}

p, h1 {
  margin: 0;
}

.header, .footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin-inline: 24px;
  border-color: #e8e9ec;
  border-style: solid;
  border-width: 0;
}

.header {
  justify-content: space-between;
  min-height: 89px;
  border-bottom-width: 1px;
  gap: 16px;
}

.logo {
  display: block;
  width: 145px;
  height: 40px;
  object-fit: contain;
}

.header-note {
  display: none;
  align-items: center;
  gap: 10px;
  color: #636871;
  font-size: 14px;
}

.header-note span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a8aeb6;
}

.mobile-note {
  color: #737880;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 40px 24px;
  text-align: center;
}

.illustration {
  flex-shrink: 0;
  width: 265px;
  max-width: 100%;
  height: 190px;
  margin-bottom: 24px;
}

.eyebrow {
  margin-bottom: 16px;
  color: #b51b32;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
}

h1 {
  font-size: 35px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.045em;
}

.description {
  max-width: 585px;
  margin-top: 20px;
  color: #646973;
  font-size: 14px;
  line-height: 1.8;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 24px;
  padding: 10px 16px;
  border: 1px solid #efdbde;
  border-radius: 999px;
  background: #fff5f5;
  color: #9e2537;
  font-size: 12px;
  font-weight: 500;
}

.status-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ce2039;
}

.divider {
  width: 32px;
  height: 1px;
  margin-top: 28px;
  background: #dcdfe4;
}

.apology {
  max-width: 465px;
  margin-top: 20px;
  color: #727680;
  font-size: 14px;
  line-height: 1.8;
}

.footer {
  justify-content: center;
  min-height: 77px;
  padding-block: 20px;
  border-top-width: 1px;
  color: #727680;
  font-size: 12px;
}

.footer-brand, .footer-spacer {
  display: none;
}

@media (min-width: 390px) {
  h1 { font-size: 37px; }
}

@media (min-width: 800px) {
  .header, .footer { margin-inline: 48px; }
  .header { min-height: 108px; }
  .header-note { display: flex; }
  .mobile-note { display: none; }
  main { padding: 48px 40px; }
  .illustration { width: 324px; height: 232px; margin-bottom: 28px; }
  .eyebrow { margin-bottom: 20px; letter-spacing: .2em; }
  h1 { font-size: 60px; }
  .description { margin-top: 24px; font-size: 16px; }
  .status { margin-top: 28px; font-size: 14px; }
  .divider { margin-top: 32px; }
  .apology { margin-top: 24px; }
  .footer { justify-content: space-between; min-height: 86px; font-size: 14px; }
  .footer-brand { display: block; color: #60656e; font-weight: 500; letter-spacing: -.02em; }
  .footer-spacer { display: block; width: 33px; }
}

@media (min-width: 1024px) {
  .header, .footer { margin-inline: 64px; }
}

@media (prefers-reduced-motion: no-preference) {
  .status-dot { animation: status-pulse 2.6s ease-in-out infinite; }
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(206 32 57 / 0); }
  50% { box-shadow: 0 0 0 4px rgb(206 32 57 / .12); }
}
