/* Modris.it — 403 / 404 error pages */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1e293b;
  background: #f4f6fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 32px;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-bg__orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.page-bg__orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
}

.page-bg__orb--2 {
  width: 360px;
  height: 360px;
  bottom: -100px;
  right: -60px;
}

.page-bg__dots {
  position: absolute;
  width: 140px;
  height: 140px;
  opacity: 0.35;
  background-image: radial-gradient(#c4b5fd 1.2px, transparent 1.2px);
  background-size: 14px 14px;
}

.page-bg__dots--tr {
  top: 28px;
  right: 32px;
}

.page-bg__dots--bl {
  bottom: 48px;
  left: 28px;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 8px 24px rgba(99, 102, 241, 0.12);
}

.icon-card svg {
  display: block;
}

.page__title {
  margin: 0 0 12px;
  font-size: clamp(1.625rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.25;
}

.page__lead {
  margin: 0 0 28px;
  max-width: 440px;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
}

.reasons {
  width: 100%;
  margin: 0 0 28px;
  padding: 18px 20px 18px 18px;
  text-align: left;
  background: #eef1f6;
  border-radius: 12px;
}

.reasons__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.reasons__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}

.reasons__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.reasons__list {
  margin: 0;
  padding: 0 0 0 34px;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
}

.reasons__list li + li {
  margin-top: 4px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
  flex-shrink: 0;
  display: block;
}

.btn--primary {
  color: #fff;
  background: #7c3aed;
  border-color: #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn--primary:hover {
  background: #6d28d9;
  border-color: #6d28d9;
}

.btn--primary .btn__arrow {
  margin-left: auto;
}

.btn--ghost {
  color: #334155;
  background: #fff;
  border-color: #e2e8f0;
}

.btn--ghost:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.8125rem;
  color: #94a3b8;
}

@media (min-width: 480px) {
  .actions {
    flex-direction: row;
    max-width: 100%;
  }

  .btn {
    flex: 1;
  }

  .btn--primary .btn__arrow {
    margin-left: 6px;
  }
}
