@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Epilogue:wght@400;500;700;800;900&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
  --bg: #0A0A0C;
  --bg2: #111115;
  --bg3: #16161C;
  --ink: #FFFFFF;
  --ink2: #A1A7BC;
  --ink3: #6A7185;
  --a: #0285c7;
  --ah: #2B5DFF;
  --abg: rgba(2, 133, 199, 0.15);
  --abdr: rgba(2, 133, 199, 0.3);
  --bdr: rgba(255, 255, 255, 0.08);
  --soft-line: rgba(255, 255, 255, 0.04);
  --sh0: 0 4px 16px rgba(0, 0, 0, 0.4);
  --sh1: 0 12px 32px rgba(0, 0, 0, 0.6);
  --sh2: 0 20px 56px rgba(2, 133, 199, 0.25);
  --fh: 'Epilogue', sans-serif;
  --fb: 'DM Sans', sans-serif;
  --e: cubic-bezier(.16, 1, .3, 1);

  /* Status Colors */
  --green: #10b981;
  --green-dark: #059669;
  --yellow: #f59e0b;
  --red: #ef4444;
  --teal: #14b8a6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading {
  cursor: progress;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  transition: all 0.3s;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

.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;
}

/* Typography Overrides based on design */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fh);
  letter-spacing: -0.03em;
  color: var(--ink);
}

::selection {
  background: var(--abg);
  color: var(--a);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--abdr);
  border-radius: 3px;
}

.sr {
  opacity: 1;
  transform: none;
}

body.audit-motion-ready .sr {
  opacity: 0;
  transform: translateY(38px);
}

body.audit-motion-ready .sr.vis {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s var(--e), transform .7s var(--e);
}

/* Site navbar */
#mob {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  flex-direction: column;
}

.mob-link {
  font-family: 'Inter', var(--fh);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
}

.mob-link:hover,
.mob-link:active {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
}

.mob-close {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
}

.mob-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mob-cta {
  background: var(--a);
  color: #fff;
  font-family: 'Inter', var(--fb);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 16px 48px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(2, 133, 199, 0.25);
}

#nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 960px;
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 10px 10px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 200;
  opacity: 1;
  transition: max-width .5s var(--e), box-shadow .3s, opacity .35s var(--e);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nlogo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nlogo-name {
  font-family: 'Inter', var(--fh);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nlogo-img {
  height: 30px;
  width: 30px;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 6px;
}

.nlinks {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.nlink {
  font-family: 'Inter', var(--fb);
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color .3s, text-shadow .3s;
}

.nlink:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.nright {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ncta {
  background: var(--a);
  color: #fff;
  font-family: 'Inter', var(--fb);
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background .3s var(--e), box-shadow .3s var(--e), transform .3s var(--e);
}

.ncta:hover {
  background: #f0f0f0;
  color: #0A0A0C;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.ncta:active {
  transform: scale(.97);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  display: block;
}

/* Legacy audit header styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: rgba(10, 10, 12, 0.65);
  border-bottom: 1px solid var(--bdr);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.brand,
.top-nav,
.top-nav a,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-family: 'Inter', var(--fh);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.top-nav {
  gap: 2rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.top-nav a {
  min-height: 40px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', var(--fb);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}

.top-nav a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(7.5rem, 14vh, 10rem) 32px 68px;
  border-bottom: 1px solid var(--bdr);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 88svh;
  justify-content: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .22;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* raised from -1 so ::before scan-line is visible */
  overflow: hidden;
  /* clip the scan line to the hero bounds */
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 12, .28), var(--bg) 88%),
    radial-gradient(ellipse at center, rgba(2, 133, 199, 0.15) 0%, transparent 64%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
  filter: grayscale(1);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  will-change: transform, opacity;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE-INTRO OVERLAY
   Covers the page on load. JS adds .pi-leaving after 1.2s which
   fades & slides it out, then removes from DOM after 0.7s.
   ═══════════════════════════════════════════════════════════════ */

/* --- Entrance keyframes for inner elements ------------------- */
@keyframes piLogoIn {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(8px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes piTextIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes piBarGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* --- Overlay ------------------------------------------------- */
#page-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0A0A0C;
  /* subtle radial so it doesn't look plain black */
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(2, 133, 199, 0.12) 0%, transparent 70%);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

/* JS adds this class — overlay slides up and fades out */
#page-intro.pi-leaving {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* --- Inner container ---------------------------------------- */
.pi-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* --- Logo --------------------------------------------------- */
.pi-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  animation: piLogoIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* --- Text --------------------------------------------------- */
.pi-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  animation: piTextIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.pi-brand {
  font-family: 'Inter', var(--fh);
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.02em;
}

.pi-product {
  font-family: 'Inter', var(--fh);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--a);
  letter-spacing: -0.02em;
}

/* --- Progress bar ------------------------------------------- */
.pi-bar {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
  animation: piTextIn 0.4s ease 0.45s both;
}

.pi-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #2B5DFF, var(--a));
  box-shadow: 0 0 12px var(--a);
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: piBarGrow 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

/* --- Reduced-motion: skip immediately ----------------------- */
@media (prefers-reduced-motion: reduce) {
  #page-intro {
    display: none !important;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════
   HERO ENTRANCE  – fires after intro overlay is removed.
   JS adds .intro-done to <body> when overlay is gone.
   ═════════════════════════════════════════════════════ */

/* Keep hero hidden behind overlay — no flash */
body:not(.intro-done) .hero-inner .eyebrow,
body:not(.intro-done) .hero-inner h1,
body:not(.intro-done) .hero-inner .hero-copy,
body:not(.intro-done) .hero-inner .audit-form,
body:not(.intro-done) .hero-inner .audit-captcha,
body:not(.intro-done) .hero-inner .form-note,
body:not(.intro-done) .hero-inner .quick-stats {
  opacity: 0;
}

.intro-done .hero-inner .eyebrow {
  animation: fadeUp 1s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .hero-inner h1 {
  animation: fadeUp 1s 0.16s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .hero-inner .hero-copy {
  animation: fadeUp 1s 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .hero-inner .audit-form {
  animation: fadeUp 1s 0.40s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .hero-inner .audit-captcha {
  animation: fadeUp 1s 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .hero-inner .form-note {
  animation: fadeUp 1s 0.56s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .hero-inner .quick-stats {
  animation: fadeUp 1s 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .quick-stats span:nth-child(1) {
  animation: fadeUp 1s 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .quick-stats span:nth-child(2) {
  animation: fadeUp 1s 0.80s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .quick-stats span:nth-child(3) {
  animation: fadeUp 1s 0.92s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-done .quick-stats span:nth-child(4) {
  animation: fadeUp 1s 1.04s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ═══════════════════════════════════════════════════════
   SCROLL-REVEAL  – JS adds .vis via IntersectionObserver
   Guard with .audit-motion-ready so content is ALWAYS
   visible when JS fails or is slow.
   ═════════════════════════════════════════════════════ */
.audit-motion-ready .sr {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.audit-motion-ready .sr.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   AMBIENT HERO GLOW
   ═════════════════════════════════════════════════════ */
@keyframes ambientPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% -5%, rgba(2, 133, 199, 0.20) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 82% 95%, rgba(79, 39, 172, 0.10) 0%, transparent 70%);
  animation: ambientPulse 9s ease-in-out infinite;
}

/* Scan line removed */

/* ═══════════════════════════════════════════════════════
   FORM GLOW BREATHE
   ═════════════════════════════════════════════════════ */
@keyframes formBreathe {

  0%,
  100% {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 0px 0 rgba(2, 133, 199, 0.00);
  }

  50% {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 30px 5px rgba(2, 133, 199, 0.14);
  }
}

.audit-form {
  animation: formBreathe 7s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════
   ICON DOT PULSE
   ═════════════════════════════════════════════════════ */
@keyframes dotPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(2, 133, 199, 0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(2, 133, 199, 0.15);
  }
}

.seo-mark {
  animation: dotPulse 3.5s 0.0s ease-in-out infinite;
}

.speed-mark {
  animation: dotPulse 3.5s 0.6s ease-in-out infinite;
}

.mobile-mark {
  animation: dotPulse 3.5s 1.2s ease-in-out infinite;
}

.security-mark {
  animation: dotPulse 3.5s 1.8s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════
   CARD SHIMMER on hover
   ═════════════════════════════════════════════════════ */
.feature-item,
.result-card,
.score-card,
.check-group,
.metric-item {
  position: relative;
  overflow: hidden;
}

.feature-item::before,
.result-card::before,
.score-card::before,
.check-group::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s ease;
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

.feature-item:hover::before,
.result-card:hover::before,
.score-card:hover::before,
.check-group:hover::before {
  transform: translateX(120%);
}

/* ═══════════════════════════════════════════════════════
   REPORT CARDS ENTER after analysis
   ═════════════════════════════════════════════════════ */
@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#report>* {
  opacity: 0;
}

#report.report-visible>*:nth-child(1) {
  animation: cardRise 0.8s 0.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#report.report-visible>*:nth-child(2) {
  animation: cardRise 0.8s 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#report.report-visible>*:nth-child(3) {
  animation: cardRise 0.8s 0.30s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#report.report-visible>*:nth-child(4) {
  animation: cardRise 0.8s 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#report.report-visible>*:nth-child(5) {
  animation: cardRise 0.8s 0.54s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#report.report-visible>*:nth-child(6) {
  animation: cardRise 0.8s 0.66s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#report.report-visible>*:nth-child(7) {
  animation: cardRise 0.8s 0.78s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ═══════════════════════════════════════════════════════
   SCORE NUMBER flash
   ═════════════════════════════════════════════════════ */
@keyframes scoreFlash {
  0% {
    opacity: 0;
    transform: scale(0.75);
  }

  65% {
    opacity: 1;
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

#overall-score.counting {
  animation: scoreFlash 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Loading scan removed */

/* ═══════════════════════════════════════════════════════
   REDUCED MOTION
   ═════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  .hero-inner .eyebrow,
  .hero-inner h1,
  .hero-inner .hero-copy,
  .hero-inner .audit-form,
  .hero-inner .form-note,
  .hero-inner .quick-stats,
  .quick-stats span,
  .audit-form,
  .seo-mark,
  .speed-mark,
  .mobile-mark,
  .security-mark,
  .hero::after,
  .hero-bg::before,
  .loading-box::before {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .audit-motion-ready .sr {
    opacity: 1 !important;
    transform: none !important;
  }
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--a);
  font-family: var(--fb);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.grad {
  background: linear-gradient(135deg, #2B5DFF, #0285c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin: 22px auto 38px;
  color: var(--ink2);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  text-wrap: balance;
}

.audit-form {
  display: flex;
  width: min(760px, 100%);
  margin: 0 auto;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.audit-form input {
  flex: 1;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.audit-form input::placeholder {
  color: var(--ink3);
}

.audit-form input:focus {
  border-color: var(--a);
  box-shadow: 0 0 0 2px var(--abdr);
}

.audit-form button,
.cta-panel a {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: var(--a);
  color: #ffffff;
  font-weight: 600;
  font-family: 'Inter', var(--fb);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(2, 133, 199, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.audit-form button {
  min-width: 144px;
  padding: 0 28px;
  font-size: 1rem;
}

.audit-form button:hover,
.cta-panel a:hover {
  background: #f0f0f0;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.audit-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: var(--ink3);
  color: #fff;
}

.audit-captcha {
  display: flex;
  width: min(760px, 100%);
  min-height: 78px;
  margin: 16px auto 0;
  justify-content: center;
}

.audit-captcha .g-recaptcha {
  transform-origin: top center;
}

.form-note {
  margin: 16px 0 0;
  color: var(--ink3);
  font-size: 14px;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
}

.quick-stats span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--bdr);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink2);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.quick-stats span iconify-icon {
  font-size: 16px;
}

.quick-stats span:nth-child(1) iconify-icon {
  color: var(--green);
}

.quick-stats span:nth-child(2) iconify-icon {
  color: var(--yellow);
}

.quick-stats span:nth-child(3) iconify-icon {
  color: var(--teal);
}

.quick-stats span:nth-child(4) iconify-icon {
  color: var(--red);
}

.quick-stats span:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--abdr);
  transform: translateY(-2px);
}

.explain,
.features,
.results {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 5rem);
}

.explain {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.explain p:last-child {
  margin: 6px 0 0;
  color: var(--ink2);
  font-size: 19px;
}

.features,
.results {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-item,
.result-card,
.score-card,
.metric-item,
.check-group,
.check-item,
.report-top,
.loading-box,
.error-box,
.cta-panel {
  border: 1px solid var(--bdr);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--sh0), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.7s ease,
    box-shadow 0.7s ease,
    background 0.7s ease;
  will-change: transform;
}

.feature-item:hover,
.result-card:hover,
.score-card:hover {
  transform: translateY(-6px);
  border-color: var(--abdr);
  box-shadow: var(--sh2);
  background: rgba(255, 255, 255, 0.045);
}

.feature-item {
  padding: 30px 24px;
}

.feature-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bdr);
  position: relative;
  overflow: hidden;
}

.feature-mark iconify-icon {
  position: relative;
  z-index: 2;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.95);
}

.feature-mark::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 6px;
  z-index: 1;
  opacity: 0.32;
}

.seo-mark::after {
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.speed-mark::after {
  background: var(--yellow);
  box-shadow: 0 0 16px var(--yellow);
}

.mobile-mark::after {
  background: var(--teal);
  box-shadow: 0 0 16px var(--teal);
}

.security-mark::after {
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}

.feature-item p,
.result-card p,
.cta-panel p {
  color: var(--ink2);
}

.feature-item p {
  margin: 16px 0 0;
  font-size: 0.95rem;
}

.loading-box {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 60px 40px;
  text-align: center;
}

.loading-box span:last-child {
  color: var(--ink2);
}

.spinner {
  width: 52px;
  height: 52px;
  border: 4px solid var(--soft-line);
  border-top-color: var(--a);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.error-box {
  padding: 24px;
  color: #ffb3b3;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.report {
  display: grid;
  gap: 24px;
}

.report-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  align-items: center;
}

.report-top h3 {
  font-size: 72px;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #a1a7bc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rating {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.rating.is-average {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.rating.is-poor {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
}

.target {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  text-align: right;
}

.target span {
  color: var(--ink3);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.target a {
  display: block;
  max-width: 520px;
  overflow-wrap: anywhere;
  color: var(--a);
  font-weight: 700;
  font-size: 1.1rem;
}

.target a:hover {
  color: var(--ah);
  text-shadow: 0 0 12px rgba(43, 93, 255, 0.5);
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.score-card {
  position: relative;
  overflow: hidden;
  padding: 30px 24px;
}

.score-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.score-card.speed::before {
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
}

.score-card.mobile::before {
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

.score-card.security::before {
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
}

.score-card span {
  color: var(--ink2);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.score-label iconify-icon {
  font-size: 16px;
}

.score-card.seo .score-label iconify-icon {
  color: var(--green);
}

.score-card.speed .score-label iconify-icon {
  color: var(--yellow);
}

.score-card.mobile .score-label iconify-icon {
  color: var(--teal);
}

.score-card.security .score-label iconify-icon {
  color: var(--red);
}

.score-card strong {
  display: block;
  margin-top: 12px;
  font-size: 42px;
  line-height: 1;
  font-family: var(--fh);
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.result-card {
  padding: 32px;
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink2);
  font-size: 0.95rem;
}

.signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

#recommendations-list li::before {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.priority-card {
  display: grid;
  gap: 20px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), transparent);
  border-color: rgba(239, 68, 68, 0.2);
}

.priority-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.priority-list li {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.priority-list li:hover {
  background: rgba(255, 255, 255, 0.05);
}

.priority-list strong {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.priority-list span,
.priority-list em {
  color: var(--ink2);
  font-size: 14px;
  font-style: normal;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.metric-item {
  padding: 24px;
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.05);
}

.metric-item span {
  display: block;
  color: var(--ink3);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-item strong {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
  font-size: 20px;
  color: #fff;
}

.check-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.check-group {
  padding: 24px;
}

.check-group h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--soft-line);
}

.check-group h3 span {
  color: var(--ink3);
  font-size: 13px;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.check-item:hover {
  border-color: var(--bdr);
}

.check-item strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #fff;
}

.check-item p {
  margin: 0 0 0 20px;
  color: var(--ink2);
  font-size: 14px;
}

.ai-prompt-card {
  display: grid;
  gap: 22px;
  border-radius: 8px;
}

.ai-prompt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.ai-prompt-head h3 {
  margin-top: 8px;
}

.ai-prompt-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 10px 0 0;
}

.copy-prompt-btn {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 20px;
  border: 1px solid var(--bdr);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 800 14px/1 var(--fb);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.copy-prompt-btn:hover,
.copy-prompt-btn.is-copied {
  transform: translateY(-1px);
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.16);
  color: #fff;
}

.copy-prompt-btn.is-error {
  border-color: rgba(255, 92, 122, 0.45);
  background: rgba(255, 92, 122, 0.12);
}

.ai-prompt-output {
  width: 100%;
  min-height: 320px;
  padding: 18px;
  border: 1px solid var(--bdr);
  border-radius: 8px;
  outline: none;
  resize: vertical;
  background: rgba(0, 0, 0, 0.26);
  color: var(--ink);
  font: 500 0.92rem/1.65 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ai-prompt-output:focus {
  border-color: var(--abdr);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink3);
}

.status-pass {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.status-warning {
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
}

.status-fail {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.status-info {
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
  background: radial-gradient(circle at right, rgba(37, 211, 102, 0.1), rgba(0, 0, 0, 0.4));
  border-color: rgba(37, 211, 102, 0.3);
}

.cta-panel h2 {
  font-size: 2.5rem;
}

.cta-panel p {
  margin: 12px 0 0;
  color: var(--ink2);
  font-size: 1.1rem;
}

.cta-panel .eyebrow {
  color: #25d366;
}

.cta-panel a {
  background: #25d366;
  color: #000;
  padding: 0 32px;
  font-size: 1.1rem;
}

.cta-panel a:hover {
  background: #128c7e;
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 32px 40px;
  border-top: 1px solid var(--bdr);
  color: var(--ink2);
  background: rgba(0, 0, 0, 0.5);
}

.site-footer span {
  color: #fff;
  font-family: 'Inter', var(--fh);
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {

  .feature-grid,
  .score-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #nav {
    top: 10px;
    width: calc(100% - 1.25rem);
    padding: 8px 10px 8px 14px;
    border-radius: 18px;
  }

  .nlinks {
    display: none;
  }

  .nlogo-name {
    font-size: .88rem;
  }

  .ncta {
    padding: 8px 16px;
    font-size: .8rem;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 980px) {

  .explain,
  .details-grid,
  .check-breakdown {
    grid-template-columns: 1fr;
  }

  .explain {
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 20px;
  }

  .top-nav {
    display: none;
  }

  .hero,
  .explain,
  .features,
  .results {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 96px;
    padding-bottom: 60px;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 2.7rem);
  }

  .hero-copy {
    margin-bottom: 28px;
  }

  .audit-form {
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
  }

  .audit-form input,
  .audit-form button {
    width: 100%;
    border-radius: 12px;
  }

  .audit-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .feature-grid,
  .score-grid,
  .metrics-grid,
  .check-breakdown {
    grid-template-columns: 1fr;
  }

  .report-top,
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-prompt-head {
    flex-direction: column;
  }

  .copy-prompt-btn {
    width: 100%;
  }

  .ai-prompt-output {
    min-height: 380px;
    font-size: 0.86rem;
  }

  .target {
    width: 100%;
    text-align: left;
  }

  .report-top h3 {
    font-size: clamp(3.1rem, 18vw, 4.5rem);
  }

  .result-card,
  .priority-card,
  .report-top,
  .check-group,
  .ai-prompt-card,
  .cta-panel {
    padding: 24px;
    border-radius: 8px;
  }

  .cta-panel h2 {
    font-size: clamp(1.7rem, 9vw, 2.5rem);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
}

@media (max-width: 460px) {

  .hero,
  .explain,
  .features,
  .results {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ncta {
    display: none;
  }

  .audit-form input,
  .audit-form button {
    min-height: 54px;
    height: 54px;
  }

  .quick-stats {
    gap: 8px;
    margin-top: 28px;
  }

  .quick-stats span {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    text-align: center;
  }

  .feature-item,
  .metric-item,
  .check-item,
  .priority-list li {
    padding: 18px;
  }

  .check-item p {
    margin-left: 0;
  }
}

@media (max-width: 360px) {
  .audit-captcha {
    min-height: 72px;
  }

  .audit-captcha .g-recaptcha {
    transform: scale(0.9);
  }
}

@media (max-width: 320px) {
  .audit-captcha .g-recaptcha {
    transform: scale(0.84);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}