/* TextElit 404 template start */
.te-error,
.te-error-routes {
  --te-error-bg: var(--color-bg, #f9fafb);
  --te-error-surface: var(--color-surface, #ffffff);
  --te-error-text: var(--color-text, #1A2633);
  --te-error-muted: var(--color-secondary, #2d3e50);
  --te-error-primary: var(--color-primary, #ff7f50);
  --te-error-border: var(--color-border, #e5e7eb);
  --te-primary: var(--te-error-primary);
  --te-surface: var(--te-error-surface);
  --te-border: var(--te-error-border);
  color: var(--te-error-text);
  background: var(--te-error-bg);
  font-family: Inter-Regular, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}
.te-error *,
.te-error-routes * { box-sizing: border-box; }
.te-error__container {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin-inline: auto;
}
.te-error-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 220px);
  padding-block: clamp(86px, 8vw, 118px) clamp(70px, 7vw, 96px);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--te-error-primary) 5%, transparent), transparent 52%),
    var(--te-error-bg);
}
.te-error-hero::before,
.te-error-hero::after,
.te-error-routes::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--te-error-primary) 30%, transparent);
  border-radius: 999px;
}
.te-error-hero::before {
  right: clamp(-150px, -8vw, -74px);
  top: 112px;
  width: clamp(220px, 22vw, 340px);
  height: clamp(220px, 22vw, 340px);
}
.te-error-hero::after {
  left: clamp(-170px, -10vw, -92px);
  bottom: -125px;
  width: clamp(230px, 22vw, 360px);
  height: clamp(230px, 22vw, 360px);
  opacity: .62;
}
.te-error-hero .te-error__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 5.6vw, 72px);
  align-items: center;
  transform: translateY(clamp(52px, 7vh, 96px));
}
.te-error__eyebrow,
.te-error-hero__label {
  display: block;
  color: var(--te-error-primary);
  font-family: Inter-Bold, Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.te-error-hero__title {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--te-error-text);
  font-family: Inter-Bold, Inter, sans-serif;
  font-size: var(--font-sizes-h1);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}
.te-error-hero__text,
.te-error-hero__panel-text,
.te-error-routes__intro,
.te-error-route__text {
  color: color-mix(in srgb, var(--te-error-muted) 86%, var(--te-error-text));
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.68;
}
.te-error-hero__text {
  max-width: 700px;
  margin-top: 22px;
}
.te-error-hero__text p,
.te-error-hero__panel-text p,
.te-error-routes__intro p,
.te-error-route__text p { margin: 0; }
.te-error-hero__text p + p {
  margin-top: 10px;
}
.te-error-hero__actions {
  display: block;
  width: min(100%, 430px);
  margin-top: 28px;
}
.te-error .te-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--te-error-border);
  border-radius: 999px;
  font-family: Inter-Bold, Inter, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.te-error .te-error__button {
  width: 100%;
  min-height: clamp(62px, 5vw, 76px);
  padding-inline: clamp(26px, 4vw, 42px);
  font-size: clamp(18px, 1.6vw, 22px);
}
.te-error .te-btn-primary {
  border-color: color-mix(in srgb, var(--te-error-primary) 78%, transparent);
  background: linear-gradient(135deg, var(--te-error-primary), color-mix(in srgb, var(--te-error-primary) 82%, #d94f25));
  color: #fff;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--te-error-primary) 28%, transparent);
}
.te-error .te-btn-secondary {
  background: color-mix(in srgb, var(--te-error-surface) 92%, transparent);
  color: var(--te-error-text);
  box-shadow: 0 14px 28px rgba(26, 38, 51, .055);
}
.te-error .te-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.24) 42%, transparent 58%);
  transform: translateX(-120%);
  transition: transform .48s ease;
}
.te-error .te-btn:hover,
.te-error .te-btn:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--te-error-primary) 52%, var(--te-error-border));
  outline: none;
}
.te-error .te-btn-primary:hover::after,
.te-error .te-btn-primary:focus-visible::after { transform: translateX(120%); }
.te-error-route__button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--te-error-primary);
  font-family: Inter-Bold, Inter, sans-serif;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}
.te-error-route__button:hover,
.te-error-route__button:focus-visible {
  color: var(--te-error-primary);
  outline: none;
}
.te-error-hero__panel,
.te-error-route {
  border: 1px solid var(--te-error-border);
  border-radius: 8px;
  background: var(--te-error-surface);
}
.te-error-hero__panel {
  position: relative;
  overflow: hidden;
  align-self: center;
  margin-top: 0;
  display: grid;
  place-items: center;
  min-height: clamp(280px, 31vw, 390px);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 22px 58px rgba(26, 38, 51, .06);
}
.te-error-hero__panel > * {
  position: relative;
  z-index: 1;
}
.te-error-hero__number {
  display: grid;
  place-items: center;
  width: clamp(190px, 18vw, 260px);
  height: clamp(190px, 18vw, 260px);
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--te-error-primary), color-mix(in srgb, var(--te-error-primary) 78%, #d94f25));
  color: #fff;
  font-family: Inter-Bold, Inter, sans-serif;
  font-size: clamp(52px, 5vw, 82px);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--te-error-primary) 30%, transparent);
}
.te-error-hero__mark,
.te-error-hero__mark img {
  display: block;
}
.te-error-hero__brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: clamp(22px, 3vw, 34px);
}
.te-error-hero__mark {
  width: clamp(54px, 5vw, 70px);
  margin: 0;
  opacity: .9;
}
.te-error-hero__mark--dark {
  display: none;
}
.te-error-hero__mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.te-error-hero__brand-text {
  color: var(--te-error-text);
  font-family: Inter-Bold, Inter, sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 800;
  line-height: 1.15;
}
.te-error-hero__brand-text p {
  margin: 0;
}
.te-error-hero__brand-text strong {
  color: var(--te-error-primary);
  font-size: 1.08em;
}
.te-error-hero__panel-title {
  margin: 12px 0 0;
  color: var(--te-error-text);
  font-family: Inter-Bold, Inter, sans-serif;
  font-size: var(--font-sizes-h4);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
}
.te-error-hero__panel-text { margin-top: 12px; }
html[data-theme="dark"] .te-error,
html[data-theme="dark"] .te-error-routes {
  --te-error-bg: color-mix(in srgb, var(--color-bg, #1A2633) 96%, #0d1520 4%);
  --te-error-surface: var(--color-surface, #111827);
  --te-error-text: var(--color-text, #E5E9F0);
  --te-error-muted: var(--color-secondary, #9AA4B2);
  --te-error-border: var(--color-border, rgba(255,255,255,0.08));
}
html[data-theme="dark"] .te-error-hero__panel,
html[data-theme="dark"] .te-error-route {
  box-shadow: none;
}
html[data-theme="dark"] .te-error .te-btn-secondary {
  background: color-mix(in srgb, var(--te-error-surface) 88%, #fff 4%);
  color: var(--te-error-text);
}
html[data-theme="dark"] .te-error-hero__mark--light {
  display: none;
}
html[data-theme="dark"] .te-error-hero__mark--dark {
  display: block;
}
@media (max-width: 980px) {
  .te-error-hero .te-error__container {
    grid-template-columns: minmax(0, 1fr);
    transform: none;
  }
  .te-error-hero__panel {
    max-width: 560px;
    margin-top: 8px;
  }
}
@media (max-width: 640px) {
  .te-error__container {
    width: min(100% - 28px, 1180px);
  }
  .te-error-hero {
    min-height: 0;
    padding-block: 54px 48px;
  }
  .te-error__eyebrow,
  .te-error-hero__label {
    font-size: 14px;
  }
  .te-error-hero__actions,
  .te-error .te-btn {
    width: 100%;
  }
  .te-error-hero__number {
    width: 150px;
    height: 150px;
    font-size: 42px;
  }
}
/* TextElit 404 template end */
