/* /free-seo-audit/ landing page. Greyscale, same tokens as the homepage (home.css --nh-*),
   chrome comes from /site-chrome.css. Everything is scoped to .fsa so it can't leak. */
.fsa {
  --fsa-ink: #0a0a0b;
  --fsa-ink-2: #18181b;
  --fsa-paper: #ffffff;
  --fsa-paper-2: #f5f5f6;
  --fsa-line: rgba(17, 17, 17, 0.1);
  --fsa-line-2: rgba(17, 17, 17, 0.2);
  --fsa-text: #101012;
  --fsa-text-2: #3a3b42;
  --fsa-text-3: #6c6d74;
  --fsa-r: 1.25rem;
  --fsa-ease: cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--fsa-text);
  background: var(--fsa-paper);
}
.fsa h1,
.fsa h2,
.fsa h3 { font-family: var(--nx-display); letter-spacing: -0.035em; }
.fsa-wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .fsa-wrap { padding: 0 2rem; } }

/* ---- Hero: copy left, form card right ---- */
.fsa-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(255, 255, 255, 0.09), transparent 60%), var(--fsa-ink);
  color: #f4f4f5;
}
.fsa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.fsa-hero-grid { position: relative; display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .fsa-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem; } }
.fsa-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4d4d8;
}
.fsa-pill i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }
.fsa-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.03;
  color: #ffffff;
}
.fsa-sub { max-width: 36rem; margin: 0 0 2rem; font-size: 1.12rem; line-height: 1.65; color: #c9c9ce; }
.fsa-get-title { margin: 0 0 0.9rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #a1a1aa; }
.fsa-get { display: grid; gap: 0.75rem; margin: 0 0 2.25rem; padding: 0; list-style: none; }
.fsa-get li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 1.02rem; line-height: 1.5; color: #ececee; }
.fsa-tick {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.02rem;
  border-radius: 50%;
  background: #ffffff;
  color: var(--fsa-ink);
}
.fsa-tick svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fsa-hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0; padding: 0; list-style: none; font-size: 0.86rem; font-weight: 600; color: #a1a1aa; }
.fsa-hero-proof li { display: inline-flex; align-items: center; gap: 0.45rem; }
.fsa-hero-proof li::before { content: ""; width: 0.35rem; height: 0.35rem; border-radius: 50%; background: #71717a; }

/* ---- Form card ---- */
.fsa-card {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: calc(var(--fsa-r) + 0.25rem);
  background: var(--fsa-paper);
  color: var(--fsa-text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
  scroll-margin-top: 7rem;
}
@media (min-width: 640px) { .fsa-card { padding: 2.4rem 2.25rem; } }
.fsa-card h2 { margin: 0 0 0.35rem; font-size: 1.55rem; font-weight: 700; line-height: 1.15; }
.fsa-card-lede { margin: 0 0 1.6rem; font-size: 0.95rem; color: var(--fsa-text-3); }
.fsa-form { display: grid; gap: 1.05rem; }
.fsa-row { display: grid; gap: 1.05rem; }
@media (min-width: 640px) { .fsa-row { grid-template-columns: 1fr 1fr; } }
.fsa-field label { display: block; margin-bottom: 0.4rem; font-size: 0.86rem; font-weight: 650; color: var(--fsa-text-2); }
.fsa-field label b { color: var(--fsa-text); font-weight: 700; }
.fsa-field label span { font-weight: 500; color: var(--fsa-text-3); }
.fsa-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--fsa-line-2);
  border-radius: 0.75rem;
  background: var(--fsa-paper);
  font: inherit;
  font-size: 1rem;
  color: var(--fsa-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fsa-field input::placeholder { color: #9b9ba3; }
.fsa-field input:focus { outline: none; border-color: var(--fsa-ink); box-shadow: 0 0 0 4px rgba(10, 10, 11, 0.1); }
.fsa-field input:user-invalid { border-color: #b91c1c; }
.fsa-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fsa-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.35rem;
  padding: 1.05rem 1.5rem;
  border: 0;
  border-radius: 0.8rem;
  background: var(--fsa-ink);
  color: #ffffff;
  font: inherit;
  font-size: 1.06rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(10, 10, 11, 0.25);
  transition: transform 0.3s var(--fsa-ease), box-shadow 0.3s ease, background-color 0.2s ease;
}
.fsa-submit:hover { transform: translateY(-2px); background: var(--fsa-ink-2); box-shadow: 0 18px 38px rgba(10, 10, 11, 0.32); }
.fsa-submit:focus-visible { outline: 3px solid #71717a; outline-offset: 3px; }
.fsa-submit:disabled { cursor: progress; opacity: 0.75; transform: none; }
.fsa-submit svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fsa-under { margin: 0.2rem 0 0; font-size: 0.84rem; line-height: 1.55; text-align: center; color: var(--fsa-text-3); }
.fsa-status { margin: 0; font-size: 0.9rem; font-weight: 600; color: #b91c1c; }
.fsa-status:empty { display: none; }

/* Thank-you state replaces the form in the same card. */
.fsa-card [hidden] { display: none !important; }
.fsa-thanks { text-align: center; padding: 1.5rem 0.25rem; }
.fsa-thanks-ico {
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--fsa-ink);
  color: #fff;
}
.fsa-thanks-ico svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fsa-thanks p { margin: 0 auto; max-width: 26rem; font-size: 1.05rem; line-height: 1.65; color: var(--fsa-text-2); }
.fsa-thanks p:focus { outline: none; }
.fsa-thanks a { font-weight: 700; color: var(--fsa-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Trust strip ---- */
.fsa-trust { padding: 2.75rem 0; border-bottom: 1px solid var(--fsa-line); background: var(--fsa-paper-2); }
.fsa-trust-grid { display: grid; gap: 1.75rem; align-items: center; }
.fsa-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .fsa-facts { grid-template-columns: repeat(4, auto); } }
.fsa-facts strong { display: block; font-family: var(--nx-display); font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.03em; color: var(--fsa-text); }
.fsa-facts span { font-size: 0.84rem; color: var(--fsa-text-3); }
.fsa-trust-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.1rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--fsa-line); }
.fsa-ratings { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.fsa-ratings li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--fsa-line);
  border-radius: 9999px;
  background: var(--fsa-paper);
  font-size: 0.85rem;
  font-weight: 650;
}
.fsa-ratings b { letter-spacing: 0.08em; font-weight: 400; color: #18181b; }
.fsa-ratings a { color: inherit; text-decoration: underline; text-decoration-color: #a1a1aa; text-underline-offset: 3px; }
.fsa-ratings a:hover { text-decoration-color: currentColor; }
.fsa-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.fsa-logos-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fsa-text-3); }
.fsa-logos img { display: block; width: auto; height: 3rem; filter: grayscale(1); opacity: 0.85; mix-blend-mode: multiply; }

/* ---- Sections ---- */
.fsa-sec { padding: 5rem 0; }
.fsa-sec--alt { background: var(--fsa-paper-2); }
.fsa-head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.fsa-kicker { margin: 0 0 0.75rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fsa-text-3); }
.fsa-head h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; line-height: 1.1; }
.fsa-steps { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: fsa-step; }
@media (min-width: 900px) { .fsa-steps { grid-template-columns: repeat(3, 1fr); } }
.fsa-steps li {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--fsa-line);
  border-radius: var(--fsa-r);
  background: var(--fsa-paper);
  counter-increment: fsa-step;
}
.fsa-steps li::before {
  content: counter(fsa-step, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  font-family: var(--nx-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fsa-text-3);
}
.fsa-steps h3 { margin: 0 0 0.5rem; font-size: 1.2rem; font-weight: 700; }
.fsa-steps p { margin: 0; font-size: 0.98rem; line-height: 1.6; color: var(--fsa-text-2); }

/* ---- FAQ ---- */
.fsa-faq { max-width: 48rem; margin: 0 auto; display: grid; gap: 0.75rem; }
.fsa-faq details { border: 1px solid var(--fsa-line); border-radius: 1rem; background: var(--fsa-paper); }
.fsa-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  list-style: none;
}
.fsa-faq summary::-webkit-details-marker { display: none; }
.fsa-faq summary h3 { margin: 0; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; }
.fsa-faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--fsa-text-3); transition: transform 0.3s var(--fsa-ease); }
.fsa-faq details[open] summary::after { transform: rotate(45deg); }
.fsa-faq summary:focus-visible { outline: 3px solid #71717a; outline-offset: 2px; border-radius: 1rem; }
.fsa-faq details p { margin: 0; padding: 0 1.4rem 1.3rem; font-size: 1rem; line-height: 1.65; color: var(--fsa-text-2); }

/* ---- Closing CTA ---- */
.fsa-final { padding: 4.5rem 0; background: var(--fsa-ink); color: #f4f4f5; text-align: center; }
.fsa-final h2 { margin: 0 0 0.9rem; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; color: #fff; }
.fsa-final p { max-width: 34rem; margin: 0 auto 2rem; color: #c9c9ce; line-height: 1.6; }
.fsa-final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

@media (prefers-reduced-motion: no-preference) {
  .fsa-hero-copy > *,
  .fsa-card { animation: fsa-rise 0.9s var(--fsa-ease) backwards; }
  .fsa-hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .fsa-hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .fsa-hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .fsa-hero-copy > :nth-child(5) { animation-delay: 0.24s; }
  .fsa-hero-copy > :nth-child(6) { animation-delay: 0.3s; }
  .fsa-card { animation-delay: 0.15s; }
}
@keyframes fsa-rise {
  from { opacity: 0; transform: translateY(18px); }
}
