.oa-not-found {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  background: #f6f7f8;
  color: var(--oa-text-dark);
  font-family: var(--oa-font-body);
}

.oa-not-found *,
.oa-not-found *::before,
.oa-not-found *::after { box-sizing: border-box; }

.oa-not-found p,
.oa-not-found h1 { margin: 0; }

.oa-not-found-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(19, 27, 37, .045) 1px, transparent 1px) 50% 50% / 72px 72px,
    linear-gradient(rgba(19, 27, 37, .045) 1px, transparent 1px) 50% 50% / 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 58% 72% at 50% 43%, #000 0, transparent 76%);
  mask-image: radial-gradient(ellipse 58% 72% at 50% 43%, #000 0, transparent 76%);
}

.oa-not-found-frame {
  position: relative;
  min-height: clamp(610px, calc(100vh - 86px), 850px);
  padding: 72px var(--oa-content-padding) 96px;
  display: grid;
  place-items: center;
  text-align: center;
  border-right: 1px solid var(--oa-border-light);
  border-left: 1px solid var(--oa-border-light);
}

.oa-not-found-frame::before,
.oa-not-found-frame::after {
  content: '';
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--oa-border-light);
}
.oa-not-found-frame::before { left: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
.oa-not-found-frame::after { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }

.oa-not-found-code {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: flex;
  align-items: center;
  gap: .02em;
  transform: translate(-50%, -55%);
  font-family: var(--oa-font-heading);
  font-size: clamp(230px, 31vw, 450px);
  font-weight: 500;
  line-height: .75;
  letter-spacing: -.095em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(19, 27, 37, .075);
  white-space: nowrap;
  user-select: none;
}

.oa-not-found-zero {
  position: relative;
  width: .64em;
  height: .77em;
  border: 1px solid rgba(0, 194, 150, .18);
  border-radius: 50%;
  background: rgba(0, 194, 150, .025);
}

.oa-not-found-zero::before,
.oa-not-found-zero::after,
.oa-not-found-zero i::before,
.oa-not-found-zero i::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--oa-green-500);
  box-shadow: 0 0 0 6px rgba(0, 194, 150, .1);
}
.oa-not-found-zero::before { top: 17%; left: 13%; width: 5px; height: 5px; }
.oa-not-found-zero::after { top: 32%; right: 10%; width: 4px; height: 4px; }
.oa-not-found-zero i::before { bottom: 18%; right: 18%; width: 5px; height: 5px; }
.oa-not-found-zero i::after { bottom: 26%; left: 9%; width: 3px; height: 3px; }

.oa-not-found-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 720px);
}

.oa-not-found-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px !important;
  font-family: var(--oa-font-mono);
  font-size: 12px;
  line-height: 20px;
  color: var(--oa-text-regular);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.oa-not-found-eyebrow span { width: 28px; height: 1px; background: var(--oa-green-500); }

.oa-not-found-title {
  font-family: var(--oa-font-heading);
  font-size: clamp(40px, 4.25vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.oa-not-found-title span {
  display: block;
  font-family: var(--oa-font-accent);
  font-size: 1.2em;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  color: var(--oa-green-600);
  letter-spacing: -.035em;
}

.oa-not-found-description {
  max-width: 570px;
  margin-top: 24px !important;
  color: var(--oa-text-regular);
  font-size: 16px;
  line-height: 1.65;
}

.oa-not-found-button {
  margin-top: 34px;
  text-decoration: none !important;
}
.oa-not-found-button:focus-visible { outline: 2px solid var(--oa-green-600); outline-offset: 4px; }

@media (max-width: 767px) {
  .oa-not-found-frame {
    min-height: clamp(560px, calc(100vh - 76px), 720px);
    padding: 64px 20px 76px;
    border: 0;
  }
  .oa-not-found-code { font-size: clamp(190px, 66vw, 280px); transform: translate(-50%, -58%); }
  .oa-not-found-title { font-size: clamp(36px, 10vw, 48px); }
  .oa-not-found-description { max-width: 470px; font-size: 15px; }
}

@media (max-width: 380px) {
  .oa-not-found-frame { padding-right: 16px; padding-left: 16px; }
  .oa-not-found-code { font-size: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .oa-not-found-button *,
  .oa-not-found-button svg { transition: none !important; }
}
