:root {
  --nl-bg: #0a0d0b;
  --nl-surface: #101411;
  --nl-surface-2: #151a16;
  --nl-border: rgba(255, 255, 255, 0.09);

  --nl-text: #f3f5ef;
  --nl-muted: #91988f;

  --nl-lime: #b8ff35;
  --nl-lime-soft: rgba(184, 255, 53, 0.12);

  --nl-shadow:
    0 30px 90px rgba(0, 0, 0, 0.35);
}

html,
body {
  background: var(--nl-bg);
}

body {
  position: relative;
  isolation: isolate;
  color: var(--nl-text);
  background:
    radial-gradient(
      ellipse 80% 38% at 50% 45%,
      rgba(55, 150, 120, 0.10) 0%,
      rgba(20, 80, 65, 0.055) 35%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      #070908 0%,
      #090c0a 38%,
      #08100c 72%,
      #070908 100%
    );
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  left: 50%;
  top: 340px;
  width: 140vw;
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(184, 255, 53, 0.14) 0%,
      rgba(77, 210, 168, 0.10) 18%,
      rgba(34, 105, 88, 0.055) 42%,
      transparent 70%
    );
  filter: blur(34px);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  left: 0;
  right: 0;
  top: 470px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent 4%,
      rgba(184, 255, 53, 0.05) 18%,
      rgba(184, 255, 53, 0.50) 50%,
      rgba(91, 223, 186, 0.12) 82%,
      transparent 96%
    );
  box-shadow:
    0 0 18px rgba(184, 255, 53, 0.18),
    0 0 55px rgba(65, 184, 148, 0.10);
  pointer-events: none;
}

.topbar {
  background: rgba(10, 13, 11, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.home-link {
  color: var(--nl-lime);
}

.home-link:hover {
  color: #d2ff7a;
}

.desktop-nav a {
  color: rgba(243, 245, 239, 0.66);
}

.desktop-nav a:hover {
  color: var(--nl-text);
}

.desktop-nav a::after {
  background: var(--nl-lime);
}

.lang-switcher button {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(243, 245, 239, 0.66);
}

.lang-switcher button:hover {
  border-color: var(--nl-lime);
  background: var(--nl-lime);
  color: #0a0d0b;
}

.page-shell {
  padding-top: 86px;
}

.contact-layout {
  gap: 18px;
}

.contact-info,
.contact-form-card {
  border: 1px solid var(--nl-border);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    ),
    var(--nl-surface);
  box-shadow: var(--nl-shadow);
}

.contact-info {
  padding: 56px 48px;
}

.contact-form-card {
  padding: 56px 48px;
}

.contact-info::before {
  width: 280px;
  height: 280px;
  top: -170px;
  left: -140px;
  background: rgba(184, 255, 53, 0.16);
  filter: blur(55px);
}

.contact-info::after {
  width: 240px;
  height: 240px;
  right: -160px;
  bottom: -150px;
  background: rgba(184, 255, 53, 0.08);
  filter: blur(60px);
}

h1 {
  color: var(--nl-text);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

h1::after {
  content: ".";
  color: var(--nl-lime);
}

.lead {
  max-width: 420px;
  color: var(--nl-muted);
  font-size: 15px;
}

.contact-list {
  gap: 10px;
}

.contact-item {
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.025);
}

.contact-item:hover {
  border-color: rgba(184, 255, 53, 0.45);
  background: rgba(184, 255, 53, 0.045);
  box-shadow: none;
}

.contact-icon {
  background: var(--nl-lime);
  color: #0a0d0b;
}

.contact-label {
  color: rgba(243, 245, 239, 0.42);
}

.contact-value {
  color: rgba(243, 245, 239, 0.78);
}

.contact-value a {
  color: var(--nl-text);
}

.contact-value a:hover {
  color: var(--nl-lime);
}

.contact-form-card h2 {
  color: var(--nl-text);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.form-subtitle {
  color: var(--nl-muted);
}

.contact-form label {
  color: rgba(243, 245, 239, 0.66);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: var(--nl-text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(243, 245, 239, 0.28);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--nl-lime);
  background: rgba(184, 255, 53, 0.025);
  box-shadow: 0 0 0 4px rgba(184, 255, 53, 0.08);
}

.contact-form button[type="submit"] {
  min-height: 58px;
  border-radius: 14px;
  background: var(--nl-lime);
  color: #0a0d0b;
  font-size: 14px;
  font-weight: 800;
  box-shadow:
    0 12px 35px rgba(184, 255, 53, 0.12);
}

.contact-form button[type="submit"]:hover {
  background: #c7ff58;
  box-shadow:
    0 18px 45px rgba(184, 255, 53, 0.18);
}

.telegram-note {
  border-color: rgba(184, 255, 53, 0.13);
  background: rgba(184, 255, 53, 0.055);
  color: rgba(243, 245, 239, 0.58);
}

.error-message {
  color: #ff7070;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #080a09;
  color: #ffffff;
  }

@media (max-width: 760px) {
  .page-shell {
    padding-top: 42px;
  }

  .contact-info,
  .contact-form-card {
    padding: 34px 22px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }
}

body {
  position: relative;
  isolation: isolate;
  color: var(--nl-text);
  background:
  radial-gradient(
    ellipse 90% 48% at 50% 46%,
    rgba(66, 158, 128, 0.15) 0%,
    rgba(34, 94, 76, 0.09) 36%,
    transparent 72%
  ),
  linear-gradient(
    180deg,
    #0d110f 0%,
    #101511 38%,
    #0d1511 72%,
    #0b0f0d 100%
  );
}

.contact-layout {
  position: relative;
  overflow: hidden;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.028),
      rgba(255, 255, 255, 0.01)
    ),
    rgba(11, 14, 12, 0.82);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.42);
}

.contact-layout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44%;
  width: 1px;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(184, 255, 53, 0.16) 18%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(184, 255, 53, 0.12) 82%,
      transparent
    );
  pointer-events: none;
}

.contact-info,
.contact-form-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-info {
  padding: 54px 48px 50px;
}

.contact-form-card {
  padding: 54px 48px 50px;
}

.contact-info::before {
  width: 360px;
  height: 360px;
  top: -210px;
  left: -180px;
  background: rgba(184, 255, 53, 0.13);
  filter: blur(80px);
}

.contact-info::after {
  display: none;
}

@media (max-width: 760px) {
  .contact-layout {
    border-radius: 24px;
  }

  .contact-layout::before {
    top: 50%;
    left: 20px;
    right: 20px;
    bottom: auto;
    width: auto;
    height: 1px;
    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(184, 255, 53, 0.16),
        transparent
      );
  }

  .contact-info,
  .contact-form-card {
    padding: 36px 22px;
  }
}

.page-shell {
  width: min(100%, 1180px);
  padding-top: 56px;
}

.contact-layout {
  align-items: start;
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);
}

.contact-info,
.contact-form-card {
  min-height: auto;
}

.contact-info {
  align-self: start;
}

.contact-form-card {
  align-self: start;
}

.page-shell {
  position: relative;
  z-index: 0;
  overflow: visible;
}

.page-shell::before {
  content: "";
  position: fixed;
  z-index: -1;
  left: 50%;
  top: 88px;
  width: 2200px;
  height: 1400px;
  transform:
    translateX(-50%)
    perspective(900px)
    rotateX(78deg);
  transform-origin: top center;
  pointer-events: none;
  opacity: 0.38;
  background:
  repeating-linear-gradient(
    90deg,
    rgba(184, 255, 53, 0.11) 0 1px,
    transparent 1px 145px
  ),
  repeating-linear-gradient(
    180deg,
    rgba(184, 255, 53, 0.06) 0 1px,
    transparent 1px 118px
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.88) 18%,
    rgba(0, 0, 0, 0.70) 38%,
    rgba(0, 0, 0, 0.34) 62%,
    rgba(0, 0, 0, 0.10) 82%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.88) 18%,
    rgba(0, 0, 0, 0.70) 38%,
    rgba(0, 0, 0, 0.34) 62%,
    rgba(0, 0, 0, 0.10) 82%,
    transparent 100%
  );
  filter:
    drop-shadow(0 0 12px rgba(184, 255, 53, 0.08));
}

.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  left: 50%;
  top: 330px;
  width: 1200px;
  height: 320px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(184, 255, 53, 0.09) 0%,
      rgba(77, 210, 168, 0.06) 28%,
      rgba(34, 105, 88, 0.03) 46%,
      transparent 75%
    );
}

.turnstile-wrapper {
  margin-top: 28px;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
}

.cf-turnstile {
  filter: saturate(0.85) contrast(0.96);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  border-bottom: 1px solid rgba(184,255,53,.08);
  background:
    linear-gradient(
      180deg,
      rgba(6, 9, 8, .97) 0%,
      rgba(9, 13, 11, .93) 100%
    );

  backdrop-filter: blur(18px);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, .35),
    inset 0 -1px 0 rgba(255,255,255,.03);
}

.topbar-inner {
  min-height: 76px;
}

.home-link {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-tech);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--nl-lime);
  box-shadow: 0 0 10px rgba(184, 255, 53, 0.45);
}

.desktop-nav {
  gap: 34px;
}

.desktop-nav a {
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}
.desktop-nav a:hover {
  color: #ffffff;
}

.desktop-nav a.active {
  color: #ffffff;
  font-weight: 800;
}

.lang-switcher button {
  min-width: 34px;
  height: 32px;
  border-radius: 999px;
  font-size: 10px;
}

.topbar-inner {
  width: min(100%, 1180px);
}

.home-link {
  font-size: 13px;
}

.desktop-nav a {
  font-size: 12px;
  letter-spacing: 0.025em;
}

.lang-switcher button {
  min-width: 36px;
  height: 34px;
  font-size: 10px;
}

.contact-list {
  gap: 0;
}

.contact-item {
  position: relative;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0;
  background: transparent;
}

.contact-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.contact-item:hover {
  padding-left: 10px;
  border-color: rgba(184, 255, 53, 0.28);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.contact-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  background: rgba(184, 255, 53, 0.11);
  color: var(--nl-lime);
  border: 1px solid rgba(184, 255, 53, 0.22);
}

.contact-label {
  margin-bottom: 2px;
  color: rgba(243, 245, 239, 0.34);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contact-value {
  color: rgba(243, 245, 239, 0.84);
}

.contact-value a {
  color: var(--nl-text);
}

.contact-form {
  gap: 18px;
}

.contact-form label {
  margin-bottom: -10px;
  color: rgba(243, 245, 239, 0.44);
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding:
    14px
    2px
    13px;
  background: transparent;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(184, 255, 53, 0.36);
  background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--nl-lime);
  background: transparent;
  box-shadow:
    0 8px 20px -16px rgba(184, 255, 53, 0.8);
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form button[type="submit"] {
  position: relative;
  min-height: 56px;
  padding: 0 54px 0 22px;
  border: 1px solid rgba(184, 255, 53, 0.72);
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #b8ff35 0%,
      #9eea25 100%
    );
  color: #090c0a;
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    0 10px 28px rgba(184, 255, 53, 0.10);
}

.contact-form button[type="submit"]::after {
  content: "→";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 18px;
  font-weight: 400;
  transition:
    transform 0.25s ease;
}

.contact-form button[type="submit"]:hover {
  background:
    linear-gradient(
      135deg,
      #c7ff58 0%,
      #adf12e 100%
    );
  box-shadow:
    0 14px 38px rgba(184, 255, 53, 0.18);
  transform: translateY(-1px);
}

.contact-form button[type="submit"]:hover::after {
  transform: translate(4px, -52%);
}

.code-artifacts {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow: hidden;
  pointer-events: none;
}

.code-artifact {
  position: absolute;
  max-width: 320px;
  opacity: 0;
  color: rgba(184, 255, 53, 0.95);
  font-family: var(--font-tech);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.035em;
  white-space: nowrap;

  text-shadow:
    0 0 8px rgba(184, 255, 53, 0.12),
    0 0 20px rgba(184, 255, 53, 0.05);

  filter: blur(0.15px);

  transition:
    opacity 1.8s ease,
    transform 4.5s ease,
    filter 2s ease;
}

.code-artifact.is-visible {
  opacity: 0.9;
  transform: translateY(-3px);
}

.code-artifact.is-fading {
  opacity: 0;
  transform: translateY(-7px);
  filter: blur(1px);
}

.code-artifact::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--nl-lime);
  vertical-align: middle;
  opacity: 0.55;
  box-shadow: 0 0 8px rgba(184, 255, 53, 0.28);
}

@media (max-width: 760px) {
  .code-artifact {
    max-width: 180px;
    font-size: 8px;
  }
}

.code-artifact--code {
  color: rgba(184, 255, 53, 0.78);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.code-artifact--thought {
  color: rgba(226, 238, 224, 0.78);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-shadow:
    0 0 12px rgba(184, 255, 53, 0.08),
    0 0 26px rgba(184, 255, 53, 0.035);
}

.code-artifact--thought::before {
  width: 5px;
  height: 5px;
  background: rgba(226, 238, 224, 0.82);
  box-shadow:
    0 0 9px rgba(184, 255, 53, 0.18);
}

.code-artifact--code::before {
  background: var(--nl-lime);
}

.earth-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #070a08;
}

.earth-background__image {
  position: absolute;
  inset: -2%;
  opacity: 0;

  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  transform: scale(1.035);

  transition:
    opacity 4.5s ease-in-out,
    transform 18s ease-out;

  will-change: opacity, transform;
}

.earth-background__image.is-active {
  opacity: 0.90;
  transform: scale(1);
}

.earth-background::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
  linear-gradient(
    180deg,
    rgba(4, 7, 6, 0.16) 0%,
    rgba(5, 10, 8, 0.12) 34%,
    rgba(5, 12, 9, 0.18) 72%,
    rgba(3, 6, 5, 0.30) 100%
  ),
  radial-gradient(
    ellipse 68% 58% at 50% 45%,
    rgba(5, 12, 9, 0.00) 0%,
    rgba(4, 8, 6, 0.07) 62%,
    rgba(2, 4, 3, 0.20) 100%
  );
}

.page-shell,
footer {
  position: relative;
  z-index: 10;
}

.code-artifacts {
  z-index: 20;
}

.earth-background {
  z-index: 1 !important;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(980px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(184, 255, 53, .18) 25%,
    rgba(255, 255, 255, .08) 50%,
    rgba(184, 255, 53, .18) 75%,
    transparent
  );
  pointer-events: none;
}

.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
}

body {
  padding-top: 72px !important;
}
.turnstile-wrapper {
  margin-top: 36px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
}

.home-link {
  color: rgba(255, 255, 255, 0.72) !important;
  text-shadow: none !important;
  letter-spacing: 0.02em !important;
}

.home-link::before,
.home-link::after {
  content: none !important;
  display: none !important;
}

.home-link:hover {
  color: #b8ff2c !important;
}
@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr !important;
  }

  .contact-layout::before {
    display: none !important;
  }

  .contact-info,
  .contact-form-card {
    width: 100%;
    padding: 28px 18px !important;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4rem) !important;
  }

  .contact-form-card h2 {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
  }
}

footer {
  position: relative;
  height: 74px !important;
  min-height: 74px !important;
  padding: 0 !important;
  overflow: hidden;
  box-sizing: border-box;

  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #080a09;
  color: #ffffff;
}

.footer-ticker {
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;

  overflow: hidden;
  white-space: nowrap;

  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
  color: #ffffff;
}

.footer-ticker-text {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: footerTicker 40s linear infinite;
}

.footer-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;

  margin: 0 !important;
  padding: 0 !important;

  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: #ffffff;
}

.footer-copy a,
.footer-copy a:visited {
  color: #ffffff;
}

@keyframes footerTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}
.cosmic-frame {
  position: absolute;
  top: 102px;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  pointer-events: none;
}

.cosmic-frame::before,
.cosmic-frame::after {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 48px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(210, 240, 230, 0.22) 12%,
    rgba(210, 240, 230, 0.12) 50%,
    rgba(210, 240, 230, 0.22) 88%,
    transparent 100%
  );
}

.cosmic-frame::before {
  left: 0;
}

.cosmic-frame::after {
  right: 0;
}

.cosmic-frame__top-left,
.cosmic-frame__top-right,
.cosmic-frame__bottom-left,
.cosmic-frame__bottom-right {
  position: absolute;
  width: 27%;
  height: 54px;
}

.cosmic-frame__top-left {
  top: 0;
  left: 0;
  border-top: 1px solid rgba(220, 245, 238, 0.24);
  border-left: 1px solid rgba(220, 245, 238, 0.28);
  border-radius: 18px 0 0 0;
}

.cosmic-frame__top-right {
  top: 0;
  right: 0;
  border-top: 1px solid rgba(220, 245, 238, 0.24);
  border-right: 1px solid rgba(220, 245, 238, 0.28);
  border-radius: 0 18px 0 0;
}

.cosmic-frame__bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid rgba(220, 245, 238, 0.24);
  border-left: 1px solid rgba(220, 245, 238, 0.28);
  border-radius: 0 0 0 18px;
}

.cosmic-frame__bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid rgba(220, 245, 238, 0.24);
  border-right: 1px solid rgba(220, 245, 238, 0.28);
  border-radius: 0 0 18px 0;
}

.cosmic-frame__top-left::after,
.cosmic-frame__bottom-left::after {
  content: "";
  position: absolute;
  left: 58px;
  width: 54px;
  height: 1px;
  background: rgba(166, 255, 72, 0.34);
}

.cosmic-frame__top-left::after {
  top: -1px;
}

.cosmic-frame__bottom-left::after {
  bottom: -1px;
}

.cosmic-frame__top-right::after,
.cosmic-frame__bottom-right::after {
  content: "";
  position: absolute;
  right: 58px;
  width: 54px;
  height: 1px;
  background: rgba(166, 255, 72, 0.34);
}

.cosmic-frame__top-right::after {
  top: -1px;
}

.cosmic-frame__bottom-right::after {
  bottom: -1px;
}

@media (max-width: 760px) {
  .cosmic-frame {
    inset: 90px 8px 10px;
  }

  .cosmic-frame__top-left,
  .cosmic-frame__top-right,
  .cosmic-frame__bottom-left,
  .cosmic-frame__bottom-right {
    width: 42%;
    height: 36px;
  }

  .cosmic-frame::before,
  .cosmic-frame::after {
    top: 32px;
    bottom: 32px;
  }
}

.mobile-menu-button,
.mobile-menu {
  display: none;
}

@media (max-width: 760px) {
  header.topbar .topbar-inner {
    min-height: 64px !important;
    grid-template-columns: auto 1fr auto !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    gap: 14px !important;
  }

  header.topbar .home-link {
    display: none !important;
  }

  header.topbar .mobile-menu-button {
    display: flex !important;
    width: 36px;
    height: 36px;
    padding: 7px;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin: 0 !important;
    border: 1px solid rgba(146, 185, 157, 0.28);
    border-radius: 10px;
    background: rgba(15, 24, 19, 0.74);
    cursor: pointer;
  }

  header.topbar .mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
  }

  header.topbar .desktop-nav {
    display: none !important;
  }

  header.topbar .lang-switcher {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 99998;
    display: none;
    padding: 12px 14px 18px;
    background: rgba(7, 11, 9, 0.97);
    border-bottom: 1px solid rgba(184, 255, 53, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu-nav {
    display: grid;
    gap: 4px;
  }

  .mobile-menu-nav a {
    padding: 13px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-tech);
    font-size: 12px;
    text-decoration: none;
  }

  .mobile-menu-nav a:hover,
  .mobile-menu-nav a.active {
    background: rgba(167, 255, 106, 0.1);
    color: #b8ff2c;
  }
}
