/* components: site styles. */
body.mobile-nav-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("/assets/images/textures/noise.svg");
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-size: 14px;
  font-weight: 650;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  padding: 14px 20px;
  box-shadow: 0 16px 28px rgba(112, 71, 235, 0.24);
}

.btn-primary:hover {
  background: #5f35df;
}

.btn-ghost {
  background: transparent;
  color: #334155;
  padding: 12px 10px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

@media (min-width: 1061px) and (max-width: 1140px) {
  .hero-scan-shell {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hero-scan-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.hero-scan-form {
  margin-top: 34px;
  max-width: 640px;
}

.hero-scan-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.08);
}

.hero-scan-prefix {
  padding-left: 14px;
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
}

.hero-domain-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #0f172a;
  padding: 16px 14px 16px 8px;
  font-size: 17px;
  font-weight: 760;
  outline: none;
}

.hero-domain-input::placeholder {
  color: #94a3b8;
}

.hero-scan-shell:focus-within {
  border-color: rgba(112, 71, 235, 0.32);
  box-shadow:
    0 22px 46px rgba(17, 24, 39, 0.08),
    0 0 0 4px rgba(112, 71, 235, 0.09);
}

.hero-scan-submit {
  min-width: 214px;
}

.turnstile-field {
  width: min(100%, 320px);
  min-height: 65px;
}

.section-kicker {
  color: var(--purple);
  font-weight: 900;
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.proof-card .btn {
  width: fit-content;
  margin-top: 4px;
}

.final-scan-form {
  margin-top: 28px;
  max-width: 640px;
}

.final-scan-shell {
  background: rgba(255, 255, 255, 0.92);
}

.final-turnstile-field {
  margin-top: 14px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(190px, 0.75fr) minmax(270px, 1fr);
  gap: 52px;
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 15px;
}

.footer-brand-block > p {
  max-width: 300px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

.footer-column {
  display: grid;
  gap: 16px;
}

.footer-column-title {
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column-links {
  display: grid;
  gap: 11px;
}

.footer-column-links a {
  color: #475569;
  line-height: 1.45;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column-links a:hover {
  color: var(--purple);
  transform: translateX(2px);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #7c8798;
  font-size: 12px;
}

@media (max-width: 760px) {

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    grid-column: auto;
  }
}

.mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  cursor: pointer;
}

.mobile-menu-icon,

.mobile-menu-icon::before,

.mobile-menu-icon::after {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  display: block;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-icon {
  position: relative;
}

.mobile-menu-icon::before,

.mobile-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-icon::before {
  transform: translateY(-6px);
}

.mobile-menu-icon::after {
  transform: translateY(6px);
}

.mobile-menu[aria-expanded="true"] .mobile-menu-icon {
  background: transparent;
}

.mobile-menu[aria-expanded="true"] .mobile-menu-icon::before {
  transform: rotate(45deg);
}

.mobile-menu[aria-expanded="true"] .mobile-menu-icon::after {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  opacity: 0;
  transition: opacity 180ms ease;
}

.mobile-nav.is-open .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  min-height: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: -24px 0 70px rgba(17, 24, 39, 0.18);
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-head {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 850;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.mobile-nav-close::before,

.mobile-nav-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.mobile-nav-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-panel > a {
  padding: 15px 4px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #1f2937;
  font-size: 17px;
  font-weight: 780;
}

.mobile-nav-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mobile-nav-actions .btn {
  width: 100%;
}

.mobile-nav-actions .btn-ghost {
  min-height: 48px;
  border: 1px solid var(--line);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(24px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.25);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 760px) {
  
  .site-shell {
    overflow-x: clip;
  }

  .container {
    min-width: 0;
  }

  .nav-links,

  .nav-actions {
    display: none;
  }

  .mobile-menu {
    display: grid;
  }

  .hero-scan-shell {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .hero-scan-prefix {
    padding-left: 0;
  }

  .hero-domain-input {
    padding: 0;
    min-height: 28px;
  }

  .hero-scan-submit {
    width: 100%;
  }

  .turnstile-field {
    width: 100%;
  }
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: block;
  flex: none;
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: var(--yellow);
}
