/*
Theme Name: Email Deliverability Desk
Theme URI: https://emaildeliverabilitydesk.com/
Author: Email Deliverability Desk
Description: Conversion-focused landing page and domain trust scanner for Email Deliverability Desk.
Version: 1.0.28
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: email-deliverability-desk
*/

:root {
  --ink: #000818;
  --navy: #081020;
  --blue: #0060b0;
  --blue-2: #0878c0;
  --teal: #00a890;
  --teal-dark: #007565;
  --green: #0f8a5f;
  --amber: #b45309;
  --red: #b91c1c;
  --slate: #506070;
  --muted: #6b7b90;
  --line: #dbe5ef;
  --soft: #f5f8fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo img {
  width: 214px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 760;
  color: var(--slate);
}

.ppc-mobile-actions {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
}

.ppc-mobile-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.ppc-mobile-actions a:last-child {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.support-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 850;
  white-space: nowrap;
}

.support-phone span {
  color: #596b82;
  font-weight: 760;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 24px rgba(0, 8, 24, 0.18);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.button.light {
  background: var(--white);
  color: var(--ink);
}

.button.dark-outline {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--white);
}

.button.full {
  width: 100%;
}

main {
  overflow: hidden;
}

.hero-band {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 54px;
  padding: 72px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(0, 168, 144, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.01;
  letter-spacing: 0;
  max-width: 780px;
}

.hero-copy {
  margin: 24px 0 0;
  color: var(--slate);
  font-size: 21px;
  max-width: 680px;
}

.checkout-reassurance {
  margin: 12px 0 0;
  color: var(--slate);
  font-size: 15px;
  font-weight: 820;
}

.checkout-reassurance.dark {
  color: rgba(255,255,255,.78);
  text-align: center;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.proof-row {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.proof {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.proof strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  color: var(--ink);
}

.proof span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.trust-strip {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 820;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.trust-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.audit-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 8, 24, 0.22);
}

.audit-panel h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.price {
  margin: 22px 0 18px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 22px;
}

.price strong {
  font-size: 58px;
  line-height: 0.92;
}

.price span {
  color: #b8c5d6;
  font-weight: 760;
  margin-bottom: 8px;
}

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

.check-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #e8eef7;
  font-weight: 780;
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 168, 144, 0.16);
}

.panel-action {
  margin-top: 26px;
}

.fine-print {
  margin: 12px 0 0;
  color: #b8c5d6;
  font-size: 13px;
  font-weight: 720;
}

.section {
  padding: 76px 0;
  background: var(--white);
}

.section.alt {
  background: var(--soft);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
}

.section-head p {
  margin: 0;
  color: var(--slate);
  font-size: 18px;
}

.dark .section-head p,
.dark p {
  color: #b8c5d6;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.fit-card,
.security-card,
.intake-card,
.scanner-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.feature-card h3,
.fit-card h3,
.security-card h3 {
  margin: 0 0 9px;
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p,
.fit-card p,
.security-card p {
  margin: 0;
  color: var(--slate);
  font-size: 16px;
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 34px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--slate);
}

.fit-card .symptom-list + h3 {
  margin-top: 22px;
}

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

.symptom-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--slate);
  font-weight: 680;
}

.symptom-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 5px;
  border: 2px solid var(--blue);
  background: linear-gradient(135deg, rgba(0, 96, 176, 0.1), rgba(0, 168, 144, 0.12));
}

.icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(0, 96, 176, 0.1);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue);
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.platforms span {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 850;
}

.scanner-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.analyzer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: 34px;
  align-items: start;
}

.scanner-card,
.analyzer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(8, 16, 32, 0.08);
}

.scanner-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.analyzer-card textarea {
  min-height: 190px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 96, 176, 0.12);
}

.scanner-results {
  margin-top: 24px;
  display: none;
}

.scanner-results.is-visible {
  display: block;
}

.header-results {
  display: none;
  margin-top: 18px;
}

.header-results.is-visible {
  display: block;
}

.header-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.header-check {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
}

.header-check strong,
.header-check span,
.header-check b {
  display: block;
}

.header-check b {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  line-height: 1;
}

.header-check.ok b {
  background: rgba(15, 138, 95, 0.11);
  color: var(--green);
}

.header-check.warn b {
  background: #fff7ed;
  color: var(--amber);
}

.header-check.bad b {
  background: #fef2f2;
  color: var(--red);
}

.header-check span {
  color: var(--slate);
  font-size: 13px;
}

.header-summary {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.header-summary h4 {
  margin: 0 0 8px;
}

.header-summary p {
  margin: 6px 0 0;
  color: var(--slate);
  overflow-wrap: anywhere;
}

.score-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  padding: 20px;
}

.score-circle {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, var(--ink) 0 54%, transparent 55%),
    conic-gradient(var(--teal) var(--score-angle, 0deg), rgba(255, 255, 255, 0.18) 0deg);
  font-size: 25px;
  font-weight: 920;
}

.score-copy h3 {
  margin: 0;
  font-size: 22px;
}

.score-copy p {
  margin: 6px 0 0;
  color: #b8c5d6;
}

.findings {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.scan-breakdown {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.scan-check {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.scan-check strong,
.scan-check span {
  display: block;
}

.scan-check strong {
  color: var(--ink);
  margin-bottom: 3px;
}

.scan-check span {
  color: var(--slate);
  font-size: 13px;
}

.scan-check b {
  align-self: start;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.scan-check.ok b {
  background: rgba(15, 138, 95, 0.11);
  color: var(--green);
}

.scan-check.warn b {
  background: #fff7ed;
  color: var(--amber);
}

.scan-check.bad b {
  background: #fef2f2;
  color: var(--red);
}

.next-steps {
  margin-top: 14px;
  border: 1px solid rgba(0, 96, 176, 0.18);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 96, 176, 0.06), rgba(0, 168, 144, 0.05));
}

.next-steps h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.next-steps ol {
  margin: 0;
  padding-left: 20px;
  color: var(--slate);
  font-weight: 680;
}

.next-steps li + li {
  margin-top: 7px;
}

.finding {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: var(--white);
}

.finding::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--muted);
}

.finding.ok::before {
  background: var(--green);
}

.finding.warn::before {
  background: var(--amber);
}

.finding.bad::before {
  background: var(--red);
}

.finding strong {
  display: block;
  margin-bottom: 2px;
}

.finding span {
  color: var(--slate);
  font-size: 15px;
}

.scan-evidence {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.scan-evidence summary {
  cursor: pointer;
  padding: 13px 14px;
  font-weight: 850;
  color: var(--ink);
}

.scan-evidence dl {
  margin: 0;
  padding: 0 14px 14px;
}

.evidence-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

.evidence-row dt {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.evidence-row dd {
  margin: 0;
  color: var(--slate);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.scan-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.scan-actions .button {
  min-width: 0;
}

.scan-actions .button.primary {
  grid-column: 1 / -1;
}

.scan-email-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 12px;
}

.scan-email-form[hidden] {
  display: none;
}

.scan-email-form .field {
  gap: 6px;
}

.scan-email-form .field > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scan-email-form .button {
  min-height: 50px;
}

.scan-email-consent {
  margin: 8px 0 0;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.45;
}

.scan-email-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--slate);
  font-size: 14px;
  font-weight: 720;
}

.scan-email-status.is-success {
  color: var(--green);
}

.scan-email-status.is-error {
  color: var(--red);
}

.scanner-note {
  color: var(--slate);
  font-size: 15px;
  margin: 14px 0 0;
}

.report-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(8, 16, 32, 0.08);
}

.report-top {
  background: var(--ink);
  color: var(--white);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.report-top strong {
  font-size: 18px;
}

.report-body {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-weight: 820;
}

.status {
  color: var(--amber);
  background: #fff7ed;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(8, 16, 32, 0.06);
}

.comparison th,
.comparison td {
  text-align: left;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison th {
  color: var(--ink);
  font-size: 15px;
  background: #f9fbfd;
}

.comparison td {
  color: var(--slate);
  font-weight: 680;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.deliverable {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step h3 {
  margin: 0;
  font-size: 20px;
}

.step p {
  margin: 5px 0 0;
  color: var(--slate);
}

.audit-intake {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.audit-intake h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
}

.intake-card {
  box-shadow: 0 18px 44px rgba(8, 16, 32, 0.08);
}

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

.intake-grid .wide {
  grid-column: 1 / -1;
}

.success-message {
  border: 1px solid rgba(0, 168, 144, 0.34);
  background: rgba(0, 168, 144, 0.08);
  color: var(--teal-dark);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 820;
}

.error-message {
  border: 1px solid rgba(205, 62, 62, 0.28);
  background: rgba(205, 62, 62, 0.08);
  color: #9d1f1f;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 820;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  max-width: 760px;
}

.final p {
  margin: 16px 0 0;
  color: #b8c5d6;
  font-size: 18px;
  max-width: 680px;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 14px;
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  font-weight: 780;
}

.footer-phone {
  color: var(--ink);
  font-weight: 850;
}

.edd-404-mobile-actions {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
}

.edd-404-mobile-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.edd-404-mobile-actions a:last-child {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.edd-404-section {
  min-height: calc(100vh - 157px);
  display: flex;
  align-items: center;
  padding: 72px 0;
  border-bottom: 5px solid var(--teal);
  background: var(--navy);
  color: #fff;
}

.edd-404-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: 58px;
  align-items: center;
}

.edd-404-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #43cdb9;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.edd-404-eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: #43cdb9;
}

.edd-404-copy h1 {
  max-width: 760px;
  margin: 0 0 20px;
  color: #fff;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.03;
}

.edd-404-copy > p {
  max-width: 720px;
  margin: 0;
  color: #d5e0eb;
  font-size: 19px;
  line-height: 1.65;
}

.edd-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.edd-404-actions .button {
  border-radius: 7px;
}

.edd-404-actions .button.primary {
  background: #fff;
  color: var(--ink);
}

.edd-404-actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.edd-404-phone {
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.edd-404-confidence {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  color: #b9c8d7;
  font-size: 13px;
  font-weight: 740;
}

.edd-404-confidence span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.edd-404-confidence span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43cdb9;
}

.edd-404-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.edd-404-panel-head {
  padding: 22px 24px 17px;
  border-bottom: 1px solid var(--line);
}

.edd-404-panel-head strong,
.edd-404-panel-head span {
  display: block;
}

.edd-404-panel-head strong {
  font-size: 21px;
  line-height: 1.2;
}

.edd-404-panel-head span {
  margin-top: 6px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.5;
}

.edd-404-panel > a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.edd-404-panel > a:hover,
.edd-404-panel > a:focus {
  background: #f4f8fc;
}

.edd-404-panel > a strong,
.edd-404-panel > a small {
  display: block;
}

.edd-404-panel > a strong {
  font-size: 15px;
  line-height: 1.25;
}

.edd-404-panel > a small {
  margin-top: 4px;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.45;
}

.edd-404-panel > a b {
  align-self: center;
  color: var(--blue);
  font-size: 20px;
}

.edd-404-panel > a.edd-404-paid {
  border-bottom: 0;
  background: #eef8f6;
}

.edd-404-panel > a.edd-404-paid b {
  color: var(--teal-dark);
  font-size: 16px;
}

.page-section {
  min-height: 64vh;
}

.page-content {
  max-width: 820px;
}

.page-content h1 {
  font-size: clamp(38px, 5vw, 56px);
  margin-bottom: 22px;
}

.page-content p {
  color: var(--slate);
  font-size: 18px;
}

.page-content a:not(.button) {
  color: var(--blue);
  font-weight: 820;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(25px, 3vw, 34px);
}

.page-content ol,
.page-content ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--slate);
  font-size: 17px;
  line-height: 1.65;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(8, 16, 32, 0.06);
}

.page-content th,
.page-content td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.page-content th {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-content td {
  color: var(--slate);
}

.page-content tr:last-child td {
  border-bottom: 0;
}

.repair-plan-list a.repair-link {
  color: var(--ink);
  text-decoration-color: rgba(0, 96, 176, 0.35);
}

.repair-plan-list a.repair-link:hover {
  color: var(--blue);
}

.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 16, 32, 0.07);
}

.guide-cta strong,
.guide-cta span {
  display: block;
}

.guide-cta strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.guide-cta span {
  margin-top: 4px;
  color: var(--slate);
  font-size: 15px;
}

.guide-cta .button {
  flex: 0 0 auto;
}

.guide-cta-bottom {
  margin-top: 34px;
}

.guide-steps li strong {
  color: var(--ink);
}

.guide-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.guide-link-grid a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(8, 16, 32, 0.05);
}

.source-note {
  font-size: 15px !important;
}

.source-list {
  font-size: 15px !important;
}

.report-summary {
  margin: 28px 0 8px;
  border: 1px solid rgba(0, 168, 153, 0.26);
  border-left: 5px solid var(--teal);
  border-radius: 12px;
  padding: 18px;
  background: rgba(0, 168, 153, 0.07);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

.ppc-hero-band {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  border-bottom: 1px solid var(--line);
}

.ppc-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 54px;
  align-items: center;
  padding: 72px 0 62px;
}

.ppc-hero-copy h1 {
  max-width: 760px;
}

.ppc-trust-strip {
  margin-top: 18px;
}

.ppc-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.ppc-hero-links a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ppc-panel-alternative {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.ppc-panel-alternative a {
  color: #ffffff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.operator-proof {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

.operator-proof-card {
  display: grid;
  gap: 0.35rem;
  max-width: 720px;
  margin-top: 22px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 0.95rem;
  box-shadow: 0 14px 35px rgba(9, 18, 34, 0.06);
}

.operator-proof-card strong {
  color: var(--ink);
}

.ppc-report-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(8, 16, 32, 0.12);
}

.ppc-report-card .report-top {
  background: linear-gradient(135deg, var(--ink), #07233c);
}

.ppc-report-card .scanner-note {
  margin-top: 6px;
}

.ppc-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 34px;
  align-items: start;
}

.ppc-two-col.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ppc-section-head {
  display: block;
  margin-bottom: 26px;
}

.ppc-section-head p {
  margin-top: 14px;
  max-width: 720px;
}

.ppc-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ppc-price-panel {
  border-radius: 18px;
}

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

.ppc-simple-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  color: var(--slate);
  font-size: 17px;
  font-weight: 700;
}

.ppc-simple-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 168, 144, 0.13);
}

.triage-hero {
  min-height: 690px;
}

.ai-disclosure-note {
  max-width: 720px;
  margin: 20px 0 0;
  border-left: 4px solid var(--teal);
  padding: 4px 0 4px 14px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.55;
}

.ai-disclosure-note strong {
  color: var(--ink);
}

.triage-plan-card .report-top span {
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 12px;
  font-weight: 900;
}

.triage-steps {
  display: grid;
  padding: 8px 22px 22px;
}

.triage-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.triage-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.triage-step b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.triage-step strong,
.triage-step span {
  display: block;
}

.triage-step strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.triage-step span {
  margin-top: 4px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.5;
}

.triage-value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: start;
}

.triage-scope-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(8, 16, 32, 0.08);
}

.triage-scope-card h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1.1;
}

.triage-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  gap: 38px;
  align-items: start;
}

.triage-form-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
}

.triage-form-copy > p {
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 17px;
  line-height: 1.65;
}

.triage-contact-option {
  display: grid;
  gap: 7px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 12px;
  padding: 18px;
  background: var(--white);
}

.triage-contact-option strong {
  color: var(--ink);
  font-size: 17px;
}

.triage-contact-option span {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.5;
}

.triage-contact-option a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.triage-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.5;
}

.triage-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--teal-dark);
}

.comparison-wrap {
  overflow-x: auto;
}

.comparison-wrap .comparison {
  min-width: 680px;
}

.triage-audit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: var(--white);
}

.triage-audit-cta strong,
.triage-audit-cta span {
  display: block;
}

.triage-audit-cta strong {
  color: var(--ink);
  font-size: 18px;
}

.triage-audit-cta span {
  margin-top: 4px;
  color: var(--slate);
  font-size: 14px;
}

.triage-final-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .ppc-mobile-actions {
    display: flex;
  }

  .edd-404-mobile-actions {
    display: flex;
  }

  .edd-404-section {
    min-height: auto;
    padding: 58px 0;
  }

  .edd-404-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .edd-404-copy h1 {
    font-size: 46px;
  }

  .hero,
  .section-head,
  .scanner-wrap,
  .analyzer-wrap,
  .deliverable,
  .audit-intake,
  .faq-wrap,
  .final,
  .ppc-hero,
  .ppc-two-col,
  .ppc-two-col.compact,
  .triage-value-grid,
  .triage-form-layout,
  .grid-2,
  .grid-3 {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .ppc-hero {
    min-height: auto;
    padding-top: 48px;
    gap: 34px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit-panel {
    padding: 24px;
  }

  .scanner-form {
    grid-template-columns: 1fr;
  }

  .ppc-proof-grid {
    grid-template-columns: 1fr;
  }

  .scan-breakdown,
  .header-grid {
    grid-template-columns: 1fr;
  }

  .final .button {
    margin-top: 24px;
  }

  .triage-final-actions {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .logo img {
    width: 158px;
  }

  .edd-404-mobile-actions a {
    min-height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }

  .edd-404-section {
    padding: 44px 0 48px;
  }

  .edd-404-copy h1 {
    font-size: 38px;
  }

  .edd-404-copy > p {
    font-size: 17px;
  }

  .edd-404-actions {
    display: grid;
  }

  .edd-404-actions .button,
  .edd-404-phone {
    width: 100%;
  }

  .edd-404-phone {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
  }

  .edd-404-confidence {
    display: grid;
    gap: 8px;
  }

  .edd-404-panel-head,
  .edd-404-panel > a {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions .button,
  .panel-action .button {
    width: 100%;
  }

  .triage-audit-cta,
  .triage-final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .triage-audit-cta .button,
  .triage-final-actions .button {
    width: 100%;
  }

  .ppc-hero-links {
    display: grid;
    gap: 8px;
  }

  .ppc-hero-links span {
    display: none;
  }

  body.page-id-17 .conversation-hub-launcher {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  body.page-id-66 .conversation-hub-launcher {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  body.page-id-17 .conversation-hub-launcher span {
    display: none !important;
  }

  body.page-id-66 .conversation-hub-launcher span {
    display: none !important;
  }

  .proof-row,
  .intake-grid {
    grid-template-columns: 1fr;
  }

  .price strong {
    font-size: 44px;
  }

  .score-card {
    grid-template-columns: 1fr;
  }

  .scan-check,
  .evidence-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .scan-actions {
    grid-template-columns: 1fr;
  }

  .scan-actions .button,
  .scan-email-form .button {
    width: 100%;
  }

  .scan-email-form {
    grid-template-columns: 1fr;
  }

  .guide-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-cta .button {
    width: 100%;
  }

  .guide-link-grid {
    grid-template-columns: 1fr;
  }

  .comparison {
    display: block;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(8, 16, 32, 0.06);
  }

  .comparison thead {
    display: none;
  }

  .comparison tbody,
  .comparison tr,
  .comparison td {
    display: block;
  }

  .comparison tr {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .comparison tr:last-child {
    border-bottom: 0;
  }

  .comparison td {
    padding: 0;
    border-bottom: 0;
  }

  .comparison td + td {
    margin-top: 12px;
  }

  .comparison td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}
