#df-audit {
  --df-yellow: #FFBE00;
  --df-yellow-dark: #E0A800;
  --df-charcoal: #1a1a1a;
  --df-off-white: #F9F8F5;
  --df-border: #E5E3DC;
  --df-muted: #888880;
  --df-body: #444440;
  --df-green: #22C55E;
  --df-amber: #F59E0B;
  --df-red: #EF4444;
  --df-radius: 6px;

  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  text-align: left;

  /* Dark base so a short screen never exposes the page background below it */
  background-color: var(--df-charcoal);
}

#df-audit *, #df-audit *::before, #df-audit *::after { box-sizing: border-box; }
#df-audit p, #df-audit h1, #df-audit h2, #df-audit h3 { margin: 0; padding: 0; }

/* ── shared dark background ── */
#df-audit .df-dark { position: relative; background-color: var(--df-charcoal); overflow: hidden; }
#df-audit .df-dark::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--df-bg-image);
  background-size: cover; background-position: center;
  opacity: 0.18; pointer-events: none; z-index: 0;
}
#df-audit .df-dark > * { position: relative; z-index: 1; }

/* ── hero ── */
#df-audit .df-hero-inner { max-width: 780px; margin: 0 auto; padding: 2.5rem 2rem 3rem; text-align: center; }
#df-audit .df-logo { margin-bottom: 2rem; }
#df-audit .df-logo img { height: 52px; width: auto; display: inline-block; }
#df-audit .df-logo-link { display: inline-block; text-decoration: none; transition: opacity .15s; border: none; }
#df-audit .df-logo-link:hover { opacity: .72; }

#df-audit .df-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--df-yellow);
  background: rgba(255,190,0,.12); border: 1px solid rgba(255,190,0,.25);
  border-radius: 99px; padding: 4px 14px; margin-bottom: 1.25rem;
}
#df-audit h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: #fff;
  line-height: 1.2; margin-bottom: 1rem !important;
}
#df-audit h1 span { color: var(--df-yellow); }
#df-audit .df-sub {
  font-size: 15px; color: rgba(255,255,255,.6); max-width: 520px;
  margin: 0 auto 2rem !important; line-height: 1.7; font-weight: 400;
}

#df-audit .df-pillars { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
#df-audit .df-chip {
  display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.75); background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-radius: 99px; padding: 5px 14px 5px 10px;
}
#df-audit .df-dot { position: relative; width: 8px; height: 8px; flex-shrink: 0; }
#df-audit .df-dot .df-core { position: absolute; inset: 0; border-radius: 50%; background: var(--df-yellow); }
#df-audit .df-dot .df-pulse {
  position: absolute; inset: -3px; border-radius: 50%; background: var(--df-yellow);
  opacity: 0; animation: dfPulse 2.2s ease-out infinite;
}
#df-audit .df-chip:nth-child(2) .df-pulse { animation-delay: .7s; }
#df-audit .df-chip:nth-child(3) .df-pulse { animation-delay: 1.4s; }
@keyframes dfPulse {
  0% { transform: scale(.6); opacity: .8; }
  60%, 100% { transform: scale(2.2); opacity: 0; }
}

/* ── form ── */
#df-audit #df-form { min-height: 100vh; min-height: 100dvh; }
#df-audit .df-form-section { padding: 0 1.5rem 4rem; }
#df-audit .df-card {
  max-width: 520px; margin: 0 auto; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 2rem;
}
#df-audit .df-card h2 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: .25rem !important; }
#df-audit .df-card-sub { font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 1.5rem !important; font-weight: 400; }
#df-audit .df-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#df-audit .df-field { margin-bottom: 1rem; }
#df-audit .df-field label {
  display: block; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5);
  margin-bottom: 5px; letter-spacing: .06em; text-transform: uppercase;
}
#df-audit .df-field input[type="text"],
#df-audit .df-field input[type="email"],
#df-audit .df-field input[type="url"] {
  width: 100%; padding: 10px 14px; font-size: 14px; font-family: 'Montserrat', sans-serif;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--df-radius);
  background: rgba(255,255,255,.06); color: #fff; outline: none; font-weight: 400;
  box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
#df-audit .df-field input:focus {
  border-color: var(--df-yellow); box-shadow: 0 0 0 3px rgba(255,190,0,.15); background: rgba(255,255,255,.06);
}
#df-audit .df-field input::placeholder { color: rgba(255,255,255,.25); }

#df-audit .df-optin { display: flex; align-items: flex-start; gap: 9px; margin: .5rem 0 .25rem; cursor: pointer; }
#df-audit .df-optin input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--df-yellow); flex-shrink: 0; cursor: pointer; }
#df-audit .df-optin span { font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.4); font-weight: 400; }

#df-audit .df-btn {
  width: 100%; padding: 13px; font-size: 14px; font-weight: 700;
  font-family: 'Montserrat', sans-serif; background: var(--df-yellow);
  color: var(--df-charcoal); border: none; border-radius: var(--df-radius);
  cursor: pointer; letter-spacing: .04em; text-transform: uppercase;
  transition: background .15s; margin-top: .5rem;
}
#df-audit .df-btn:hover { background: var(--df-yellow-dark); }

#df-audit .df-consent {
  font-size: 11px; color: rgba(255,255,255,.4); text-align: center;
  margin-top: .75rem !important; font-weight: 400; line-height: 1.5;
}
#df-audit .df-consent a { color: rgba(255,190,0,.75); text-decoration: underline; text-underline-offset: 2px; font-size: inherit; line-height: inherit; font-weight: 400; }
#df-audit .df-consent a:hover { color: var(--df-yellow); }

#df-audit .df-err {
  color: #FCA5A5; font-size: 12px; margin-top: 6px !important; text-align: center;
  display: none; font-weight: 600; line-height: 1.5; word-break: break-word;
}

#df-audit .df-trust {
  border-top: 1px solid rgba(255,255,255,.06); padding: 1.25rem 1.5rem;
  text-align: center; font-size: 12px; color: rgba(255,255,255,.3); font-weight: 400;
}

/* ── loading ── */
#df-audit #df-loading {
  display: none;
  padding: 4rem 2rem;
  text-align: center;
  min-height: 100vh;
  min-height: 100dvh;
}
#df-audit .df-spin {
  width: 52px; height: 52px; border: 3px solid rgba(255,190,0,.15);
  border-top-color: var(--df-yellow); border-radius: 50%;
  animation: dfSpin .85s linear infinite; margin: 0 auto 1.5rem;
}
@keyframes dfSpin { to { transform: rotate(360deg); } }
#df-audit .df-load-url { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: .5rem !important; word-break: break-all; }
#df-audit .df-load-sub { font-size: 14px; color: rgba(255,255,255,.4); font-weight: 400; margin-bottom: 2.5rem !important; }
#df-audit .df-steps { display: flex; flex-direction: column; gap: 10px; max-width: 320px; margin: 0 auto; text-align: left; }
#df-audit .df-step { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.3); font-weight: 400; transition: color .3s; }
#df-audit .df-step.df-active { color: rgba(255,255,255,.9); font-weight: 600; }
#df-audit .df-step.df-done { color: var(--df-yellow); }
#df-audit .df-step-ic {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; font-size: 10px;
  flex-shrink: 0; transition: all .3s;
}
#df-audit .df-step.df-active .df-step-ic { border-color: var(--df-yellow); color: var(--df-yellow); background: rgba(255,190,0,.12); }
#df-audit .df-step.df-done .df-step-ic { border-color: var(--df-yellow); background: var(--df-yellow); color: var(--df-charcoal); font-weight: 700; }

/* ── results ── */
#df-audit #df-results { display: none; }
#df-audit .df-res-hero { padding: 2rem 1.5rem 2.5rem; text-align: center; }
#df-audit .df-ring { margin: 0 auto 1rem; width: 110px; height: 110px; position: relative; }
#df-audit .df-ring svg { transform: rotate(-90deg); display: block; }
#df-audit .df-ring-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#df-audit .df-score { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
#df-audit .df-score-of { font-size: 11px; color: rgba(255,255,255,.35); font-weight: 400; }
#df-audit .df-headline { font-size: 16px; font-weight: 700; color: #fff; margin: 0 auto .4rem !important; max-width: 480px; line-height: 1.4; }
#df-audit .df-domain { font-size: 12px; color: rgba(255,255,255,.35); font-weight: 400; word-break: break-all; }

#df-audit .df-metrics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 1.25rem auto .75rem; max-width: 560px; }
#df-audit .df-metric {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--df-radius); padding: 8px 14px; min-width: 96px;
}
#df-audit .df-metric-l { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.4); }
#df-audit .df-metric-v { font-size: 14px; font-weight: 700; color: var(--df-yellow); }
#df-audit .df-metrics-note { font-size: 11px; color: rgba(255,255,255,.3); font-weight: 400; max-width: 440px; margin: 0 auto !important; line-height: 1.5; }

#df-audit .df-notice {
  display: none; max-width: 520px; margin: .75rem auto 0 !important;
  background: rgba(255,190,0,.1); border: 1px solid rgba(255,190,0,.3);
  border-radius: var(--df-radius); padding: 9px 14px; font-size: 12px;
  line-height: 1.55; color: rgba(255,255,255,.72); font-weight: 400; text-align: left;
}

#df-audit .df-shot { display: none; margin: 1.5rem auto 0; max-width: 200px; }
#df-audit .df-shot-cap { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 8px !important; }
#df-audit .df-shot img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); }

#df-audit .df-body { background: var(--df-off-white); padding: 2rem 1.5rem; }
#df-audit .df-body-in { max-width: 620px; margin: 0 auto; }
#df-audit .df-body h3 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--df-muted); margin-bottom: 1rem !important; }

#df-audit .df-area { background: #fff; border: 1.5px solid var(--df-border); border-radius: 10px; padding: 1.25rem 1.25rem 1rem; margin-bottom: 12px; }
#df-audit .df-area.critical { border-left: 4px solid var(--df-red); }
#df-audit .df-area.needs-work { border-left: 4px solid var(--df-amber); }
#df-audit .df-area.good { border-left: 4px solid var(--df-green); }
#df-audit .df-area.unavailable { border-left: 4px solid #6b7280; }
#df-audit .df-area-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
#df-audit .df-area-name { flex: 1; font-size: 14px; font-weight: 700; color: #333; }
#df-audit .df-pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
#df-audit .df-pill.critical { background: #FEE2E2; color: #B91C1C; }
#df-audit .df-pill.needs-work { background: #FEF3C7; color: #92400E; }
#df-audit .df-pill.good { background: #DCFCE7; color: #166534; }
#df-audit .df-pill.unavailable { background: #E8E8E4; color: #55554f; }
#df-audit .df-pdot { position: relative; width: 7px; height: 7px; flex-shrink: 0; }
#df-audit .df-pdot .df-core { position: absolute; inset: 0; border-radius: 50%; }
#df-audit .df-pill.critical .df-core { background: #B91C1C; }
#df-audit .df-pill.needs-work .df-core { background: #92400E; }
#df-audit .df-pill.good .df-core { background: #166534; }
#df-audit .df-pdot .df-pulse { position: absolute; inset: -3px; border-radius: 50%; opacity: 0; animation: dfPulse 2.4s ease-out infinite; }
#df-audit .df-pill.critical .df-pulse { background: #EF4444; }
#df-audit .df-pill.needs-work .df-pulse { background: #F59E0B; }
#df-audit .df-pill.good .df-pulse { background: #22C55E; }
#df-audit .df-area:nth-child(2) .df-pdot .df-pulse { animation-delay: .8s; }
#df-audit .df-area:nth-child(3) .df-pdot .df-pulse { animation-delay: 1.6s; }
#df-audit .df-finding { font-size: 13px; color: var(--df-body); line-height: 1.65; margin-bottom: 6px !important; font-weight: 400; }
#df-audit .df-hook { font-size: 12px; color: var(--df-muted); font-style: italic; font-weight: 400; line-height: 1.5; }

#df-audit .df-cta { padding: 2.5rem 1.5rem 3rem; text-align: center; }
#df-audit .df-cta h2 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: .75rem !important; line-height: 1.3; }
#df-audit .df-cta h2 span { color: var(--df-yellow); }
#df-audit .df-cta p { font-size: 14px; color: rgba(255,255,255,.55); max-width: 420px; margin: 0 auto 1.5rem !important; font-weight: 400; line-height: 1.65; }
#df-audit .df-cta-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  font-size: 14px; font-weight: 700; font-family: 'Montserrat', sans-serif;
  background: var(--df-yellow); color: var(--df-charcoal); border: none;
  border-radius: var(--df-radius); cursor: pointer; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
}
#df-audit .df-cta-btn:hover { background: var(--df-yellow-dark); color: var(--df-charcoal); }
#df-audit .df-cta-foot { font-size: 12px; color: rgba(255,255,255,.25); margin-top: 1rem !important; font-weight: 400; }
#df-audit .df-ref { font-size: 10px; color: rgba(255,255,255,.2); letter-spacing: .04em; }

#df-audit .df-again { display: block; margin: 0 auto; background: none; border: none; color: rgba(255,255,255,.3); font-size: 12px; font-family: 'Montserrat', sans-serif; cursor: pointer; padding: 8px; text-decoration: underline; }

@media (max-width: 480px) {
  #df-audit .df-row { grid-template-columns: 1fr; }
  #df-audit h1 { font-size: 1.5rem; }
  #df-audit .df-pillars { gap: 8px; }
  #df-audit .df-hero-inner { padding: 2rem 1rem 2.5rem; }
  #df-audit .df-form-section { padding: 0 1rem 3rem; }
  #df-audit .df-card { padding: 1.5rem; }
}
