@font-face {
  font-family: Poppins;
  src: url('/_hessian-errors/assets/fonts/Poppins-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/_hessian-errors/assets/fonts/Poppins-SemiBold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/_hessian-errors/assets/fonts/Poppins-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --brand-primary: #7a46eb;
  --brand-primary-hover: #5b28bb;
  --brand-text: #36196d;
  --brand-muted: #65567d;
  --brand-background: #eeedfe;
  --brand-focus-ring: rgba(122, 70, 235, 0.3);
  background: var(--brand-background) url('/_hessian-errors/assets/img/wave.svg') center / cover fixed no-repeat;
  color: var(--brand-text);
  font-family: Poppins, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 280px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: transparent;
}

.skip-link {
  display: inline-flex;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3;
  align-items: center;
  min-height: 44px;
  max-width: calc(100vw - 24px);
  padding: 10px 16px;
  color: #ffffff;
  background: var(--brand-text);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus {
  transform: none;
}

.page-layout {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(48px, 8vh, 92px) 24px 36px;
}

.status-content {
  isolation: isolate;
  position: relative;
  width: min(600px, 100%);
  color: var(--brand-text);
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.status-content::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -92px max(-112px, calc((100vw - 100%) * -0.5 + 1px));
  background: radial-gradient(
    ellipse at center,
    rgba(238, 237, 254, 0.98) 0%,
    rgba(238, 237, 254, 0.93) 36%,
    rgba(238, 237, 254, 0.58) 56%,
    rgba(238, 237, 254, 0) 76%
  );
  pointer-events: none;
}

.brand-header {
  margin: 0 0 34px;
}

.brand-logo {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  margin: 0 auto;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  margin: 0 0 22px;
  padding: 7px 15px;
  color: #ffffff;
  background: var(--brand-primary);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(91, 40, 187, 0.16);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.status-content h1 {
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.description {
  max-width: 560px;
  margin: 17px auto 0;
  color: var(--brand-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  min-height: 50px;
  margin-top: 31px;
  padding: 12px 27px;
  color: #ffffff;
  background: var(--brand-primary);
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(91, 40, 187, 0.16);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out;
}

.primary-action:hover {
  background: var(--brand-primary-hover);
  box-shadow: 0 10px 28px rgba(91, 40, 187, 0.22);
  transform: translateY(-1px);
}

a:focus-visible {
  outline: 3px solid var(--brand-text);
  outline-offset: 4px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px 11px;
  padding: 14px 20px 18px;
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.site-footer a {
  color: inherit;
  text-decoration-color: rgba(101, 86, 125, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 150ms ease-out, text-decoration-color 150ms ease-out;
}

.site-footer a:hover {
  color: var(--brand-text);
  text-decoration-color: currentColor;
}

.site-footer span {
  opacity: 0.5;
}

@media (max-width: 600px) {
  :root {
    background-size: auto 100%;
  }

  .page-shell {
    padding: 38px 20px 28px;
  }

  .status-content::before {
    inset: -72px max(-44px, calc((100vw - 100%) * -0.5 + 1px));
  }

  .brand-header {
    margin-bottom: 29px;
  }

  .brand-logo {
    width: min(244px, 76vw);
  }

  .status-badge {
    margin-bottom: 19px;
  }

  .status-content h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.17;
  }

  .description {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.6;
  }

  .primary-action {
    width: min(280px, 100%);
    margin-top: 27px;
  }

  .site-footer {
    padding: 12px 14px 16px;
  }
}

@media (max-width: 360px) {
  .page-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-logo {
    width: min(224px, 76vw);
  }

  .status-content h1 {
    font-size: clamp(28px, 9vw, 34px);
  }

  .site-footer {
    gap: 4px 8px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-action,
  .site-footer a {
    transition: none;
  }

  .primary-action:hover {
    transform: none;
  }
}
