/* ── Fonts ────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-BlackItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-LightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-MediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

:root {
  /* Figma palette */
  --brand: var(--sona-primary-300); /* primary/300 */
  --brand-dk: var(--sona-primary-500); /* primary/500 */
  --accent: #5676fc; /* accent blue */
  --pink: var(--sona-secondary-200); /* secondary/200 */
  --navy-1: var(--sona-navy-panel-deep);
  --navy-2: var(--sona-navy-panel-mid);

  --card-bg: var(--sona-tint);
  --input-bg: var(--sona-primary-20);
  --chip-bg: #e3e5f6;
  --icon-bg: #e5e8f6;

  --ink: var(--sona-heading-alt); /* primary text */
  --muted: #4b5563;
  --soft: var(--sona-neutral-100);

  --green: var(--sona-status-success);
  --yellow: #eab308;
  --orange: #f97316;
  --red: #ef4444;

  --gray-50: #f9fafb;
  --gray-100: var(--sona-surface-hover);
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --shadow-card:
    0 0 8px rgba(41, 64, 185, 0.01), 0 0 6px rgba(41, 64, 185, 0.02),
    0 0 5px rgba(41, 64, 185, 0.04), 0 0 4px rgba(41, 64, 185, 0.08),
    0 0 2px rgba(41, 64, 185, 0.1);
  --shadow-cta:
    0 0 10px rgba(41, 64, 185, 0.06), 0 0 8px rgba(41, 64, 185, 0.12),
    0 0 12px rgba(41, 64, 185, 0.16), 0 0 16px rgba(41, 64, 185, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Satoshi",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--sona-surface-card);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}
.hidden {
  display: none !important;
}

/* ── Announcement bar ────────────────────────────────────────────────────── */
/* Ported from the Marketing Site's AnnouncementBar.astro. It sits above the
   sticky header rather than inside it, so it scrolls away on its own and only
   the nav pins to the top. Same navy gradient as the site's even sections. */
.announcement-bar {
  /* No `width: 100%` — it would pin the box to the header's content width and
     stop the negative margins at the bottom of this file from widening it. */
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sona-neutral-05);
  background: linear-gradient(
    279deg,
    var(--sona-primary-400) 6.59%,
    var(--sona-primary-700) 32.47%,
    var(--sona-primary-400) 49.58%,
    var(--sona-primary-700) 67.11%,
    var(--sona-primary-400) 93.41%
  );
}
.announcement-bar a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}
.announcement-bar a:hover {
  text-decoration: underline;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 112px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img {
  display: block;
  width: auto;
  min-width: 152px;
  height: 32px;
}

/* Nav triggers + direct links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-trigger,
.nav-direct {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
  font-family: inherit;
  line-height: 1;
}
.nav-trigger:hover,
.nav-direct:hover {
  color: var(--sona-primary-400);
}
/* Pink active underline, shown when .is-active */
.nav-trigger::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--sona-secondary-200);
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-trigger.is-active {
  color: var(--sona-primary-400);
}
.nav-trigger.is-active::after {
  opacity: 1;
}

/* CTA buttons */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-signin {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid var(--sona-primary-500);
  background: transparent;
  color: var(--sona-primary-300);
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.5px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.btn-signin:hover {
  background: var(--sona-primary-300);
  color: white;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(-72.79deg, var(--sona-primary-500) 0.24%, var(--sona-primary-200) 100.24%);
  color: white;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.btn-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sona-primary-500);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: -1;
}
.btn-demo:hover::before {
  opacity: 1;
}

/* ── Dropdown panel ───────────────────────────────────────────────────────── */
.nav-panel {
  position: absolute;
  top: 100%;
  background: white;
  border-radius: 0 0 12px 12px;
  padding: 32px 40px;
  box-shadow:
    48px 74px 25px 0px rgba(87, 87, 87, 0),
    31px 47px 23px 0px rgba(87, 87, 87, 0.01),
    17px 27px 19px 0px rgba(87, 87, 87, 0.05),
    8px 12px 14px 0px rgba(87, 87, 87, 0.09),
    2px 3px 8px 0px rgba(87, 87, 87, 0.1);
  /* start hidden */
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
  z-index: 200;
}
.nav-panel.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Columns layout */
.nav-panel-cols {
  display: flex;
  gap: 40px;
}

.nav-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 16px;
}

.nav-col-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--sona-heading-alt);
  text-transform: capitalize;
  padding-left: 12px;
  margin-bottom: 8px;
}

/* Sub-columns (Features 3-col) */
.nav-subcols {
  display: flex;
  gap: 20px;
}
.nav-subcol {
  width: 188px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual nav items */
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--sona-heading-alt);
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item:hover {
  background: #f5f6fc;
  color: var(--sona-primary-400);
}

/* Icon cross-fade */
.nav-item-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.nav-item-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s;
}
.nav-item-icon .icon-default {
  opacity: 1;
}
.nav-item-icon .icon-hover {
  opacity: 0;
}
.nav-item:hover .icon-default {
  opacity: 0;
}
.nav-item:hover .icon-hover {
  opacity: 1;
}

.nav-item-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--sona-surface-card);
  padding: 80px 0;
  text-align: center;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  border: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  max-width: 940px;
}
.accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.5rem;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ── Audit Form (hero panel) ─────────────────────────────────────────────── */
.audit-form {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(41, 64, 185, 0.08);
  border: 1px solid rgba(41, 64, 185, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.input-group {
  display: flex;
  gap: 8px;
  width: 100%;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.input-group input {
  flex: 1;
  padding: 16px 20px;
  max-height: 56px;
  font-size: 1rem;
  border: 1px solid rgba(41, 64, 185, 0.2);
  background: var(--input-bg);
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--ink);
  font-family: inherit;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.input-group input::placeholder {
  color: var(--soft);
}
.input-group input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(41, 64, 185, 0.1);
}
.input-group button {
  padding: 16px 20px;
  max-height: 56px;
  background: var(--brand);
  color: white;
  border: 2px solid var(--brand);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  min-width: 140px;
  box-shadow: var(--shadow-cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    gap 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.1s;
}
.input-group button .btn-arrow {
  width: 20px;
  height: 10px;
  flex-shrink: 0;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  color: white;
  transition:
    opacity 0.5s ease,
    max-width 0.5s ease;
}
.input-group button:hover {
  background: var(--brand-dk);
  border-color: var(--brand-dk);
  gap: 8px;
  box-shadow:
    0 0 10px rgba(25, 39, 113, 0.08),
    0 0 4px rgba(25, 39, 113, 0.1),
    0 0 8px rgba(25, 39, 113, 0.12),
    0 0 12px rgba(25, 39, 113, 0.15),
    0 0 16px rgba(25, 39, 113, 0.3);
}
.input-group button:hover .btn-arrow {
  opacity: 1;
  max-width: 20px;
}
.input-group button .btn-text {
  transition: transform 0.5s ease;
}
.input-group button.btn-width-locked {
  gap: 8px;
}
.input-group button.btn-width-locked .btn-arrow {
  max-width: 20px;
}
.input-group button.btn-width-locked .btn-text {
  transform: translateX(14px);
}
.input-group button.btn-width-locked:hover .btn-text {
  transform: translateX(0);
}
.input-group button:active {
  transform: scale(0.98);
}
.input-group button:disabled {
  opacity: 0.7;
  cursor: default;
}

.form-note {
  color: var(--pink);
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}
.trust-row span {
  background: var(--chip-bg);
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-row span img {
  width: 14px;
  height: 14px;
  display: block;
}

/* ── Problem bar ─────────────────────────────────────────────────────────── */
.problem-bar {
  background: var(--sona-surface-card);
  padding: 0 0 80px;
}
.problem-stats {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 40px;
  padding: 40px 48px;
  background: linear-gradient(90deg, var(--sona-primary-50) 60%, rgba(41, 64, 185, 0.25) 150%);
  border-radius: 24px;
  box-shadow: var(--shadow-cta);
}
.problem-stat {
  flex: 1;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.problem-stat strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.problem-stat span {
  font-size: 1.25rem;
  color: var(--ink);
  max-width: 260px;
  display: block;
  line-height: 1.4;
}
.problem-stat::after {
  content: "";
  display: block;
  width: 100px;
  height: 8px;
  background: var(--brand);
  border-radius: 999px;
}
.problem-divider {
  width: 2px;
  align-self: stretch;
  background: rgba(41, 64, 185, 0.15);
  border-radius: 999px;
}

/* ── Section labels / shared ─────────────────────────────────────────────── */
.section-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.25rem;
  line-height: 1.4;
  max-width: 585px;
  margin: 16px 0 0;
}

/* ── How it works (dark navy) ────────────────────────────────────────────── */
.how-it-works {
  padding: 80px 0;
  background: linear-gradient(255deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: white;
}
.how-it-works .section-sub {
  color: white;
}
.how-it-works h2 {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1.2;
}
.how-it-works h2 .accent,
.how-it-works h2 + * .accent {
  color: var(--accent);
}

.how-it-works .container > .section-label,
.how-it-works .container > h2,
.how-it-works .container > .section-sub {
  text-align: left;
}

.how-layout {
  display: grid;
  grid-template-columns: 413px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 48px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step {
  position: relative;
  background: rgba(253, 253, 253, 0.06);
  border: 1px solid rgba(253, 253, 253, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  color: white;
  overflow: hidden;
  transition: border-color 0.5s ease;
}
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    293deg,
    rgba(86, 118, 252, 0.25) -0.09%,
    rgba(86, 118, 252, 0.22) 24.09%,
    rgba(86, 118, 252, 0.15) 48.72%,
    rgba(86, 118, 252, 0.11) 61.47%,
    rgba(86, 118, 252, 0) 85.32%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.step > * {
  position: relative;
  z-index: 1;
}
.step:hover {
  border-color: rgba(86, 118, 252, 0.35);
}
.step:hover::before {
  opacity: 1;
}
@media (min-width: 1101px) {
  .step {
    min-height: 208px;
  }
}
.step-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.step-head h3 {
  margin-bottom: 0;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--icon-bg);
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0;
  color: white;
}
.step p {
  color: rgba(253, 253, 253, 0.9);
  font-size: 1.125rem;
  line-height: 1.4;
}

.how-detail {
  background: rgba(253, 253, 253, 0.03);
  border: 1px solid rgba(253, 253, 253, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  max-width: none;
  margin: 0;
  position: relative;
}
.how-detail-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
  max-width: 722px;
}
.how-connector {
  position: absolute;
  right: -45px;
  top: 0;
  height: 100%;
  width: 42px;
  pointer-events: none;
  display: block;
}

.how-connector.how-connector-1 {
  top: 107px;
  height: 110%;
}
.how-connector.how-connector-2 {
  height: 138%;
  top: -102px;
}
@media (max-width: 1100px) {
  .how-connector {
    display: none;
  }
}
.how-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.how-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--icon-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.how-detail-icon img {
  width: 20px;
  height: 20px;
  display: block;
}
.how-detail-item strong {
  font-size: 1.25rem;
  font-weight: 500;
  color: white;
}
.how-detail-box {
  background: rgba(253, 253, 253, 0.04);
  border: 1px solid rgba(253, 253, 253, 0.15);
  border-radius: 12px;
  padding: 24px;
}
.how-detail-box h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: white;
  margin: 0 0 12px;
}
.how-detail-box p {
  color: white;
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 0;
}

/* ── What we check (white) ───────────────────────────────────────────────── */
.what-we-check {
  padding: 80px 0;
  background: white;
}
.what-we-check h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.what-we-check h2 .accent {
  color: var(--accent);
}
.checks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}
.check-category {
  position: relative;
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.check-category::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    293deg,
    rgba(247, 150, 191, 0.25) -0.09%,
    rgba(248, 160, 197, 0.22) 24.09%,
    rgba(249, 183, 211, 0.15) 48.72%,
    rgba(250, 194, 217, 0.11) 61.47%,
    rgba(253, 230, 239, 0) 85.32%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.check-category > * {
  position: relative;
  z-index: 1;
}
.check-category:hover::before {
  opacity: 1;
}
.check-cat-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 0;
}
.check-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--icon-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0;
}
.check-cat-icon img {
  width: 24px;
  height: 24px;
  display: block;
}
.check-cat-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  color: var(--accent);
}
.check-cat-header h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.check-cat-pts {
  display: none;
}
/* One-line description under each category title */
.check-cat-sub {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.4;
  margin: -4px 0 16px;
}
.check-category ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-category li {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.4;
  padding-left: 24px;
  position: relative;
}
.check-category li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: url("/icons/check.svg") no-repeat center / contain;
}
/* "…and more" summary line - no checkmark, muted, slightly indented */
.check-category li.check-more {
  color: var(--gray-400);
  font-size: 0.9rem;
  font-style: italic;
  padding-left: 24px;
}
.check-category li.check-more::before {
  display: none;
}

/* ── What you get / Pricing (dark navy) ──────────────────────────────────── */
.what-you-get {
  padding: 80px 0;
  background: linear-gradient(255deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: white;
}
.what-you-get h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.what-you-get h2 .accent {
  color: var(--accent);
}
.what-you-get .section-sub {
  color: white;
}

.pricing-split {
  display: grid;
  grid-template-columns: 400px 400px;
  gap: 20px;
  margin: 48px auto 0;
  justify-content: center;
}
.pricing-tier {
  background: rgba(253, 253, 253, 0.06);
  border: 1px solid rgba(221, 225, 230, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.pricing-tier-paid {
  border-radius: 20px;
  border: 1px solid #434d7f;
  background: var(--Primary-600, var(--sona-primary-600));
  box-shadow:
    0 0 12px 0 rgba(253, 253, 253, 0.04),
    0 0 10px 0 rgba(253, 253, 253, 0.06),
    0 0 8px 0 rgba(253, 253, 253, 0.1),
    0 0 5px 0 rgba(253, 253, 253, 0.18),
    0 0 3px 0 rgba(253, 253, 253, 0.22);
}

.tier-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sona-primary-600);
  border: 1px solid rgba(253, 253, 253, 0.2);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 2px 12px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(253, 253, 253, 0.1);
}
.tier-label {
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: white;
  margin-bottom: 0;
}
.tier-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0;
}
.tier-price span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sona-neutral-50);
}
.tier-desc {
  color: white;
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: 1.4;
}
.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
.tier-list li {
  font-size: 1rem;
  color: white;
  padding-left: 28px;
  position: relative;
  line-height: 1.4;
}
.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: url("/icons/green-check.svg") no-repeat center / contain;
}
.tier-list li::after {
  content: none;
}

.btn-large {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.025em;
  margin-top: 0;
  transition:
    opacity 0.2s,
    transform 0.1s,
    background 0.15s;
}
.btn-large:active {
  transform: scale(0.99);
}

.btn-secondary {
  background: var(--sona-primary-60);
  color: var(--brand);
  border: none;
  transition: background 0.25s ease;
}
.btn-secondary:hover {
  background: var(--sona-primary-80);
}

.btn-primary {
  background: var(--pink);
  color: white;
  border: none;
  transition: background 0.25s ease;
}
.btn-primary:hover {
  background: var(--sona-secondary-400);
}

/* ── FAQ section ─────────────────────────────────────────────────────────── */
.faq-section {
  padding: 80px 0;
  background: white;
}
.faq-section h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0;
  line-height: 1.2;
}
.faq-list {
  max-width: none;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: background 0.5s ease;
}
.faq-item:hover {
  background: var(--sona-primary-30);
}
.faq-item summary {
  padding: 24px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  margin-right: 4px;
  flex-shrink: 0;
}
.faq-item.is-open summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.faq-content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 0.8s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.8s ease-out;
}
.faq-content.is-open {
  height: auto;
  opacity: 1;
  transition:
    height 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease-out;
}

/* ── Section headings (text-center defaults) ─────────────────────────────── */
.hero h1,
.hero-sub,
.hero-badge {
  text-align: center;
}
.how-it-works .container > .section-label,
.how-it-works .container > h2,
.how-it-works .container > .section-sub,
.what-we-check .container > .section-label,
.what-we-check .container > h2,
.what-we-check .container > .section-sub,
.what-you-get .container > .section-label,
.what-you-get .container > h2,
.what-you-get .container > .section-sub,
.faq-section .container > .section-label,
.faq-section .container > h2 {
  text-align: left;
}

/* ── Loading / Error (results page) ──────────────────────────────────────── */
.loading-state {
  text-align: center;
  padding: 100px 24px;
}
.loading-state p {
  font-size: 20px;
  color: var(--muted);
  margin-top: 24px;
}
.loading-sub {
  font-size: 16px !important;
  color: var(--gray-400) !important;
  margin-top: 8px !important;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-state {
  text-align: center;
  padding: 80px 24px;
}
.error-state h2 {
  color: var(--red);
  margin-bottom: 12px;
}
.error-state p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ── Score Hero (results page) ───────────────────────────────────────────── */
.score-hero {
  background: linear-gradient(255deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: white;
  padding: 60px 0;
}
.score-hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.score-circle-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.score-ring {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
}
.ring-bg {
  fill: none;
  stroke: var(--sona-primary-50);
  stroke-width: 8;
}
.ring-fill {
  fill: none;
  stroke: var(--sona-primary-300);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}
.score-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1;
  color: var(--sona-primary-300);
}
.score-number span:first-child {
  font-size: 40px;
  font-weight: 500;
}

.grade-badge {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.score-summary h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 4px;
}
.score-url {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  margin-bottom: 20px;
}
.score-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat label {
  display: block;
  font-size: 14px;
  opacity: 0.75;
}
.stat span {
  font-size: 32px;
  font-weight: 700;
}
.stat-critical span {
  color: var(--red);
}
.stat-fix span {
  color: var(--green);
}

/* ── Results Body ────────────────────────────────────────────────────────── */
.results-body {
  padding-top: 32px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.card h2 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Category list */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cat-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cat-name {
  font-size: 16px;
  color: var(--ink);
}
.cat-score-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--brand);
}
.cat-bar-wrap {
  width: 100%;
  background: var(--sona-primary-50);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}
.cat-bar {
  height: 100%;
  border-radius: 999px;
  transition: width 1s ease;
  background: var(--brand);
}

/* Issues list */
.issues-list,
.passing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.issue-item,
.pass-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 8px;
}
.issue-item {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.issue-item.critical {
  background: #fff7ed;
  border-color: #fed7aa;
}
.issue-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.issue-text {
  flex: 1;
}
.issue-label {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: var(--gray-900);
}
.issue-detail {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 4px;
}
.issue-badges {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.badge {
  font-size: 13px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
}
.badge-critical {
  background: #fee2e2;
  color: #dc2626;
}
.badge-fixable {
  background: #dcfce7;
  color: #16a34a;
}
.badge-dropin {
  background: #dcfce7;
  color: #16a34a;
}
.badge-snippet {
  background: #dbeafe;
  color: #2563eb;
}
.badge-pts {
  background: var(--gray-100);
  color: var(--muted);
}

.pass-item {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.pass-icon {
  color: var(--green);
  font-size: 18px;
  flex-shrink: 0;
}

/* Fix CTA */
.fix-cta {
  background: linear-gradient(135deg, #eef2ff, #f0fdf4);
  border: 2px solid var(--brand);
}
.fix-cta-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.fix-cta-text {
  flex: 1;
  min-width: 260px;
}
.fix-cta-text h2 {
  font-size: 28px;
  line-height: 1.2;
}
.fix-cta-text p {
  color: var(--muted);
  margin: 10px 0 16px;
  font-size: 18px;
  line-height: 1.5;
}
.fixable-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fixable-list li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-700);
}
.fixable-list li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

.fix-cta-action {
  text-align: center;
  flex-shrink: 0;
  padding-top: 8px;
}
.platform-select-wrap {
  margin-bottom: 16px;
  text-align: left;
}
.platform-select-wrap label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.platform-select-wrap select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-size: 16px;
  color: var(--gray-800);
  background: white;
  cursor: pointer;
  outline: none;
}
.platform-select-wrap select:focus {
  border-color: var(--brand);
}
.fix-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--gray-900);
}
.fix-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--gray-400);
}
.fix-note {
  font-size: 14px;
  color: var(--gray-400);
  margin-top: 8px;
}

/* Generic buttons (results page) */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.1s,
    background 0.15s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-success {
  background: var(--green);
  color: white;
}
.btn-success:hover {
  opacity: 0.9;
}
.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.building-state {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: #fef9c3;
  color: #854d0e;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #fde047;
  margin-bottom: 8px;
}

/* ── Lead Modal ──────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #0006;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  animation: fadeIn 0.15s ease;
  backdrop-filter: blur(2.5px);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(13, 28, 65, 0.3);
  animation: slideUp 0.5s ease;
}
@keyframes slideUp {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.modal h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.modal-sub {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.modal-url {
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
  background: rgba(41, 64, 185, 0.08);
  border-radius: 6px;
  padding: 6px 12px;
  margin-bottom: 24px;
  word-break: break-all;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.modal-optional {
  font-weight: 400;
  color: var(--gray-400);
}
.modal-field input {
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.modal-field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(41, 64, 185, 0.1);
}
.btn-modal {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-top: 4px;
}
.modal-error {
  color: var(--red);
  font-size: 14px;
}

/* ── Auth Modal ──────────────────────────────────────────────────────────── */
.auth-tab-content {
  display: contents;
}
.auth-tab-content.hidden {
  display: none;
}
.auth-modal {
  padding: 40px 0;
  max-width: 500px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  font-family: "Satoshi", sans-serif;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--sona-text-slate);
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s;
}
.auth-modal-close:hover {
  color: var(--ink);
}

.auth-modal-logo {
  height: 24px;
}
.auth-modal-logo img {
  height: 24px;
  width: auto;
}

/* Tabs */
.auth-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid var(--sona-neutral-50);
  padding: 0 40px;
  gap: 0;
}
.auth-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 4px 12px;

  font-size: 14px;
  font-weight: 500;
  color: var(--sona-text-slate);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.15s;
  white-space: nowrap;
}
.auth-tab.active {
  color: var(--sona-neutral-900);
  border-bottom-color: var(--sona-secondary-200);
}

/* Social buttons */
.auth-social-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 0 40px;
}
.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  width: 100%;
  background: var(--sona-neutral-05);
  border: 1px solid var(--sona-neutral-50);
  border-radius: 6px;

  font-size: 14px;
  font-weight: 400;
  color: var(--sona-neutral-900);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.auth-social-btn:hover {
  background: #f4f4f4;
  border-color: #a0a3a8;
}
.auth-social-btn img {
  flex-shrink: 0;
}

/* OR divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 40px;
}
.auth-divider-line {
  flex: 1;
  height: 1px;
  background: var(--sona-neutral-50);
}
.auth-divider-text {
  font-size: 12px;
  color: var(--sona-neutral-50);
  line-height: 1.33;
}

/* Email + continue */
.auth-email-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0 40px;
}
.auth-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--sona-neutral-900);
  line-height: 1.71;
}
.auth-email-input {
  height: 37px;
  padding: 0 12px;
  border: 1px solid var(--sona-neutral-50);
  border-radius: 6px;
  background: var(--sona-neutral-05);

  font-size: 14px;
  color: var(--sona-neutral-900);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.auth-email-input::placeholder {
  color: var(--sona-neutral-50);
}
.auth-email-input:focus {
  border-color: var(--sona-secondary-200);
  box-shadow: 0 0 0 3px rgba(238, 43, 126, 0.12);
}
.auth-continue-btn {
  margin-top: 8px;
  height: 48px;
  width: 100%;
  background: var(--sona-secondary-200);
  border: none;
  border-radius: 6px;

  font-size: 14px;
  font-weight: 600;
  color: var(--sona-neutral-05);
  cursor: pointer;
  transition: background 0.15s;
}
.auth-continue-btn:hover {
  background: #d01f6a;
}
.auth-legal {
  font-size: 12px;
  color: var(--sona-neutral-200);
  text-align: center;
  line-height: 1.33;
}
.auth-legal a {
  color: var(--sona-primary-300);
  text-decoration: none;
}
.auth-legal a:hover {
  text-decoration: underline;
}

/* ── AI Content Generator ────────────────────────────────────────────────── */
.badge-new {
  background: #ede9fe;
  color: #7c3aed;
  margin-left: 8px;
  font-size: 13px;
  vertical-align: middle;
}
.ai-gen-desc {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.ai-gen-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 20px;
}
.ai-gen-checks label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--gray-700);
  cursor: pointer;
}
.gen-output {
  margin-top: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  white-space: pre-wrap;
  max-height: 500px;
  overflow-y: auto;
  font-family: inherit;
}
.gen-error {
  margin-top: 16px;
  color: var(--red);
  font-size: 16px;
}
.gen-output.streaming {
  border-color: var(--brand);
}

/* ── Citation Test ───────────────────────────────────────────────────────── */
.citation-card {
  margin-top: 24px;
}
.citation-desc {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.citation-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: 16px;
  padding: 16px 0;
}
.citation-error {
  color: var(--gray-400);
  font-size: 16px;
  padding: 8px 0;
}

.citation-engines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.citation-engine-row {
  display: grid;
  grid-template-columns: 110px 1fr 100px;
  align-items: center;
  gap: 12px;
}
.citation-engine-name {
  font-weight: 600;
  font-size: 18px;
}
.citation-bar-wrap {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}
.citation-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}
.citation-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.citation-rate {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.citation-count {
  font-size: 14px;
  color: var(--gray-400);
}

.citation-prompts {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px 20px;
}
.citation-prompts-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.citation-prompts ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.citation-prompts li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}
.citation-prompts li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gray-400);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(255deg, var(--navy-1) 0%, var(--navy-2) 100%);
  border-top: none;
  padding-top: 56px;
}

.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 80px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
  margin-right: 120px;
  flex-shrink: 0;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-logo {
  height: 28px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}

.footer-col-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 6px;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-link--active {
  color: var(--pink);
}

.footer-link--active:hover {
  color: var(--pink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 900px) {
  .footer-inner {
    padding: 0 40px;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    max-width: none;
    margin-right: 0;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    padding: 0 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .hero h1 {
    white-space: nowrap;
  }
}
@media (max-width: 1100px) {
  .fix-cta {
    margin-bottom: 40px;
  }
  .container {
    padding: 0 40px;
  }
  .checks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-layout {
    grid-template-columns: 1fr;
  }
  .pricing-split {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .hero h1 {
    font-size: 3rem;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 20px;
  }
  .site-header {
    padding-top: max(10px, env(safe-area-inset-top));
  }
  /* Nav panel is position:absolute with translateX(-50%), hides off-screen
     on mobile and causes a horizontal scrollbar even at opacity:0 */
  .nav-panel {
    display: none;
  }
  .site-logo img {
    min-width: 0;
    height: 28px;
  }
  .header-inner {
    height: 56px;
    gap: 12px;
  }
  .site-nav {
    display: none;
  }
  .header-ctas {
    gap: 8px;
  }
  .btn-signin {
    display: none;
  }
  .btn-demo {
    height: 40px;
    padding: 0 14px;
    font-size: 0.875rem;
  }

  .hero {
    padding: 48px 0;
  }
  .hero-inner {
    gap: 32px;
  }
  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.15;
  }
  .hero-sub {
    font-size: 1.05rem;
  }

  .audit-form {
    padding: 20px;
    gap: 12px;
  }
  .input-group {
    flex-direction: column;
    gap: 8px;
  }
  .input-group input,
  .input-group button {
    width: 100%;
    min-width: 0;
  }

  .trust-row {
    gap: 6px;
  }
  .trust-row span {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .problem-bar {
    padding: 0 0 48px;
  }
  .problem-stats {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
    border-radius: 20px;
  }
  .problem-stat strong {
    font-size: 2rem;
  }
  .problem-stat span {
    font-size: 1rem;
    max-width: none;
  }
  .problem-divider {
    width: 60px;
    height: 2px;
    align-self: center;
  }

  .how-it-works,
  .what-we-check,
  .what-you-get,
  .faq-section {
    padding: 48px 0;
  }
  .how-it-works h2,
  .what-we-check h2,
  .what-you-get h2,
  .faq-section h2 {
    font-size: 1.75rem;
  }
  .section-sub {
    font-size: 1rem;
  }

  .how-layout {
    gap: 16px;
    margin-top: 32px;
  }
  .steps {
    gap: 12px;
  }
  .step {
    padding: 20px;
  }
  .step h3 {
    font-size: 1.125rem;
  }
  .step p {
    font-size: 1rem;
  }

  .how-detail {
    padding: 20px;
    gap: 24px;
  }
  .how-detail-box {
    padding: 16px;
  }
  .how-detail-box h4 {
    font-size: 1.05rem;
  }
  .how-detail-box p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .checks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .check-category {
    padding: 20px;
  }

  .pricing-split {
    gap: 16px;
    margin-top: 32px;
  }
  .pricing-tier {
    padding: 24px;
    gap: 24px;
  }
  .tier-price {
    font-size: 1.5rem;
  }
  .btn-large {
    font-size: 1rem !important;
    height: 52px !important;
  }

  .faq-list {
    gap: 12px;
    margin-top: 32px;
  }
  .faq-item summary {
    padding: 18px 20px;
    font-size: 1.05rem;
    gap: 12px;
  }
  .faq-item p {
    padding: 0 20px 18px;
  }

  .score-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .score-stats {
    justify-content: center;
  }
  .fix-cta-inner {
    flex-direction: column;
  }
  .fix-cta-action {
    width: 100%;
  }
  .fix-cta {
    margin-bottom: 0;
  }
  .modal {
    padding: 28px 20px;
  }

  .score-hero {
    padding: 40px 0;
  }
  .score-summary h1 {
    font-size: 1.75rem;
  }
  .score-number span:first-child {
    font-size: 2.25rem;
  }
  .stat span {
    font-size: 1.5rem;
  }
  .score-stats {
    gap: 20px;
  }

  .card {
    padding: 24px 20px;
  }
  .card h2 {
    font-size: 1.25rem;
  }

  .fix-cta-text h2 {
    font-size: 1.4rem;
  }
  .fix-cta-text p {
    font-size: 1rem;
  }
  .fix-price {
    font-size: 2rem;
  }

  .modal h2 {
    font-size: 1.4rem;
  }
  .modal-sub {
    font-size: 1rem;
  }
}

/* ── Results page v2 ─────────────────────────────────────────────────────── */
.report-header {
  text-align: center;
  margin-bottom: 40px;
}
.report-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.report-url {
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 4px;
  word-break: break-all;
  overflow-wrap: break-word;
}
.report-date {
  font-size: 0.875rem;
  color: var(--soft);
  margin: 0;
}
.results-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

/* Score panel stretches to match the categories panel height; content spreads
   so the score sits at the top and the stat boxes anchor to the bottom. */
.results-top > .result-panel:not(.result-panel--categories) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-panel {
  background: var(--sona-neutral-05);
  border: 1px solid var(--sona-neutral-50);
  border-radius: 12px;
  padding: 32px;
}

/* Score panel */
.score-area {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
}

.score-ring {
  width: 150px;
  height: 150px;
  transform: rotate(-90deg);
}
.score-circle-wrap {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  position: relative;
}

.score-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.grade-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--sona-primary-30);
  border: 1px solid var(--sona-primary-200);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sona-primary-200);
  width: fit-content;
  margin-bottom: 4px;
}

.score-meta h1 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.score-url-new {
  font-size: 16px;
  color: var(--ink);
  margin: 0;
  word-break: break-all;
  overflow-wrap: break-word;
}

/* Stat boxes */
.stat-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat-box {
  background: var(--sona-tint);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stat-box-label {
  font-size: 16px;
  color: var(--ink);
}
.stat-box-value {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}

/* Categories panel */
.result-panel--categories {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.panel-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 24px;
}

/* Issues list */
.issues-list-new {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.issue-row {
  background: var(--sona-tint);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.issue-row-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
}
.issue-row-summary::-webkit-details-marker {
  display: none;
}
.issue-row-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.issue-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.issue-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
details[open].issue-row .issue-chevron {
  transform: rotate(90deg);
}
.issue-row-detail {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}
.priority-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 0.5px solid;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
/* The API's top severity tier - stronger than 'high' so the two read apart. */
.priority-tag--critical {
  background: var(--sona-error-300, #d7373f);
  border-color: var(--sona-error-300, #d7373f);
  color: #fff;
}
.priority-tag--high {
  background: var(--sona-error-30);
  border-color: var(--sona-error-300);
  color: var(--sona-error-300);
}
.priority-tag--medium {
  background: var(--sona-warning-30);
  border-color: var(--sona-warning-300);
  color: var(--sona-warning-300);
}
.priority-tag--low {
  background: var(--sona-success-30);
  border-color: var(--sona-success-400);
  color: var(--sona-success-400);
}

/* What's working */
.result-panel--working {
  cursor: default;
}
.working-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
}
.working-summary::-webkit-details-marker {
  display: none;
}
.working-summary .chevron-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
details[open].result-panel--working .working-summary .chevron-icon {
  transform: rotate(90deg);
}

.passing-list-new {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.pass-row {
  background: var(--sona-tint);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.pass-row-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
}
.pass-row-summary::-webkit-details-marker {
  display: none;
}
.pass-row-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.pass-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
details[open].pass-row .pass-chevron {
  transform: rotate(90deg);
}
.pass-row-detail {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Fix CTA v2 ──────────────────────────────────────────────────────────── */
.fix-cta-new {
  background: #fff;
  border: 1px solid var(--sona-neutral-40);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fix-cta-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.fix-cta-text-new {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.fix-cta-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sona-heading-alt);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.fix-cta-desc {
  font-size: 15px;
  color: var(--sona-neutral-200);
  line-height: 1.5;
  max-width: 576px;
  margin: 0;
}
.fix-cta-controls {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.fix-demo-btn {
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--sona-neutral-40);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--sona-neutral-400);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.fix-demo-btn:hover {
  border-color: var(--sona-primary-300);
  color: var(--sona-primary-300);
}
.cross-cta-link {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sona-primary-300);
  text-decoration: none;
}
.cross-cta-link:hover {
  text-decoration: underline;
}
.fix-platform-label {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.fix-platform-select {
  width: 100%;
  height: 40px;
  padding: 0 36px 0 13px;
  background: var(--sona-neutral-05)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23343941' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 1px solid var(--sona-neutral-50);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sona-neutral-600);
  font-family: inherit;
  appearance: none;
  cursor: pointer;
}
.fix-note-new {
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}
.fix-download-btn {
  height: 44px;
  padding: 0 24px;
  background: var(--sona-secondary-200);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fix-download-btn:hover {
  background: #d61e6d;
}
.fix-download-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

@media (max-width: 768px) {
  .results-top {
    grid-template-columns: 1fr;
  }
  .score-area {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .score-meta {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .score-url-new {
    text-align: center;
  }
  .result-panel {
    padding: 20px;
  }
  .issue-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  /* stat boxes: prevent "Issues found" label from wrapping */
  .stat-boxes {
    gap: 8px;
  }
  .stat-box {
    padding: 14px 6px;
  }
  .stat-box-label {
    font-size: 12px;
  }
  .stat-box-value {
    font-size: 18px;
  }

  /* issue rows: label on its own line, tag cluster wraps beneath it instead of
     overflowing the card edge (clipped priority badge / chevron) on narrow screens */
  .issue-row-summary {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  .issue-row-label {
    font-size: 15px;
    width: 100%;
    flex: 1 1 100%;
  }
  .issue-row-right {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  /* pass rows: same treatment */
  .pass-row-label {
    font-size: 15px;
  }
  .pass-row-summary {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }

  /* Report header: give breathing room below sticky nav */
  .report-header {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  /* CTA: reduce padding, full-width controls, add bottom margin before footer */
  .fix-cta-new {
    padding: 32px 20px;
    margin-bottom: 32px;
  }
  /* Cross-CTA links are the last thing before the footer - keep them off it */
  .cross-cta {
    margin-bottom: 32px;
  }
  .fix-cta-controls {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .fix-cta-controls form {
    width: 100%;
  }
  .fix-download-btn,
  .fix-demo-btn {
    width: 100%;
  }
}

/* ── SEO/AEO content additions ─────────────────────────────────────────────── */

/* Stat source attribution */
.problem-sources {
  margin: 20px 0 0;
  font-size: 0.8125rem;
  color: var(--soft);
  text-align: center;
}
.problem-sources a {
  color: var(--muted);
  text-decoration: underline;
}

/* "What is AI visibility" definition block */
.definition-block {
  padding: 80px 0;
  background: var(--card-bg);
}
.definition-block h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.definition-lead {
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 820px;
  margin: 0 0 20px;
}
.definition-body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 820px;
  margin: 0;
}
.definition-block a {
  color: var(--brand);
  text-decoration: underline;
}

/* SEO vs AEO vs GEO */
.acronyms {
  padding: 80px 0;
  background: white;
}
.acronyms h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.acronyms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.acronym-card {
  background: var(--card-bg);
  border: 1px solid var(--chip-bg);
  border-radius: var(--radius);
  padding: 28px;
}
.acronym-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0;
}
.acronym-full {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft);
  margin: 4px 0 16px;
}
.acronym-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Glossary */
.glossary {
  margin-top: 56px;
  border-top: 1px solid var(--chip-bg);
  padding-top: 40px;
}
.glossary-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 24px;
}
.glossary-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  margin: 0;
}
.glossary-item dt {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.glossary-item dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}
.glossary-item dd a {
  color: var(--brand);
  text-decoration: underline;
}

/* Resources / blog teaser */
.resources {
  padding: 80px 0;
  background: var(--card-bg);
}
.resources h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--chip-bg);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}
.resource-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.resource-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--chip-bg);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.resource-card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 10px;
}
.resource-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 20px;
  flex-grow: 1;
}
.resource-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand);
}
.resources-all {
  margin: 32px 0 0;
  text-align: center;
}
.resources-all a {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

@media (max-width: 860px) {
  .definition-block,
  .acronyms,
  .resources {
    padding: 48px 0;
  }
  .definition-block h2,
  .acronyms h2,
  .resources h2 {
    font-size: 1.75rem;
  }
  .definition-lead {
    font-size: 1.125rem;
  }
  .acronyms-grid,
  .resources-grid,
  .glossary-list {
    grid-template-columns: 1fr;
  }
}

/* ── Blog & article pages ──────────────────────────────────────────────────── */
.blog-main {
  background: white;
}
.blog-hero {
  background: var(--card-bg);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--chip-bg);
}
.blog-hero h1 {
  font-size: 2.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 12px 0 0;
  max-width: 760px;
}
.blog-hero p {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 680px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--soft);
}
.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* Blog index intro */
.blog-intro {
  padding: 56px 0 8px;
}

/* Blog index listing */
.blog-list {
  padding: 56px 0 80px;
}
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Article layout */
.article-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--soft);
  margin-bottom: 8px;
}
.article-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--soft);
  display: inline-block;
}
.prose {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}
.prose h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 48px 0 16px;
}
.prose h3 {
  font-size: 1.3125rem;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
}
.prose p {
  margin: 0 0 20px;
  color: var(--muted);
}
.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--muted);
}
.prose li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.prose a {
  color: var(--brand);
  text-decoration: underline;
}
.prose strong {
  color: var(--ink);
}
.prose blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid var(--accent);
  background: var(--card-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  font-size: 1.125rem;
}
.prose pre {
  background: #0f1530;
  color: #e3e8ff;
  padding: 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 24px;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875em;
  background: var(--chip-bg);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand-dk);
}
.prose pre code {
  background: none;
  color: inherit;
  padding: 0;
}
.prose .key-takeaway {
  background: var(--card-bg);
  border: 1px solid var(--chip-bg);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0 0 32px;
}
.prose .key-takeaway p {
  margin: 0;
  color: var(--ink);
}

/* Comparison tables */
.table-scroll {
  overflow-x: auto;
  margin: 0 0 28px;
  border: 1px solid var(--chip-bg);
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--chip-bg);
  color: var(--muted);
}
.compare-table thead th {
  background: var(--card-bg);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}
.compare-table tbody th {
  color: var(--ink);
  font-weight: 500;
  width: 26%;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table .yes {
  color: #15803d;
  font-weight: 500;
}
.compare-table .no {
  color: var(--soft);
}
.compare-table .partial {
  color: #b45309;
}
.table-note {
  font-size: 0.875rem;
  color: var(--soft);
  margin: -12px 0 28px;
}

/* In-article CTA */
.article-cta {
  margin: 48px 0 0;
  padding: 32px;
  text-align: center;
  background: linear-gradient(-72.79deg, var(--sona-primary-500) 0.24%, var(--sona-primary-200) 100.24%);
  border-radius: var(--radius-lg);
  color: white;
}
.article-cta h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: white;
}
.article-cta p {
  margin: 0 0 20px;
  color: #d8def8;
}
.article-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  font-size: 1.0625rem;
  font-weight: 600;
  background: white;
  color: var(--brand-dk);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* Related posts */
.article-related {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px 72px;
}
.article-related h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 20px;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .blog-hero {
    padding: 40px 0 32px;
  }
  .blog-hero h1 {
    font-size: 2rem;
  }
  .blog-list-grid {
    grid-template-columns: 1fr;
  }
  .article-related-grid {
    grid-template-columns: 1fr;
  }
  .prose h2 {
    font-size: 1.5rem;
  }
}

/* ── SEO vs AEO vs GEO: dark scheme (inherits the old "What you get" slot) ──── */
.acronyms {
  background: linear-gradient(255deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: white;
}
.acronyms .section-label {
  color: #8fa6ff;
}
.acronyms h2 {
  color: white;
}
.acronyms .section-sub {
  color: rgba(255, 255, 255, 0.82);
}
.acronyms .acronym-card {
  background: var(--sona-surface-card);
  border-color: transparent;
}
.acronyms .glossary {
  border-top-color: rgba(255, 255, 255, 0.16);
}
.acronyms .glossary-title {
  color: white;
}
.acronyms .glossary-item dt {
  color: white;
}
.acronyms .glossary-item dd {
  color: rgba(255, 255, 255, 0.72);
}
.acronyms .glossary-item dd a {
  color: #8fa6ff;
}

/* ── Platform section (free checker → Sona platform) ──────────────────── */
.platform-band {
  padding: 0 0 80px;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--chip-bg);
  border-radius: var(--radius);
  padding: 28px;
}
.platform-card h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
}
.platform-card-q {
  margin: 0 0 18px;
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-600);
}
.platform-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.platform-card li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--gray-700);
}
.platform-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.platform-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.platform-loop-step {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9375rem;
}
.platform-loop-arrow {
  color: var(--gray-400);
  font-weight: 700;
}
.platform-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-platform:hover {
  background: var(--brand-dk);
}
.btn-platform svg {
  transition: transform 0.15s ease;
}
.btn-platform:hover svg {
  transform: translateX(3px);
}
.platform-demo {
  color: var(--gray-600);
  font-size: 0.9375rem;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}

/* ══ Results page v2 - quick fixes, AI preview, report gate, share, benchmark ══ */

/* One-fix headline under the grade pill */
.one-fix-line {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  margin: 4px 0 0;
}

/* Stat boxes now hold 4 items */
.stat-boxes {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Potential score strip ── */
.potential-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 32px;
}
.potential-scores {
  display: flex;
  align-items: center;
  gap: 20px;
}
.potential-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.potential-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--soft);
  line-height: 1;
}
.potential-num--after {
  color: var(--brand);
}
.potential-label {
  font-size: 13px;
  color: var(--muted);
}
.potential-arrow {
  color: var(--gray-400);
}
.potential-gain-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--sona-success-30);
  border: 1px solid var(--sona-success-400);
  color: var(--sona-success-400);
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
}
.potential-desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ── Issue filters ── */
.issues-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.issue-filters {
  display: flex;
  gap: 8px;
}
.filter-chip {
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid var(--sona-neutral-50);
  background: var(--sona-neutral-05);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.filter-chip--active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ── Fix-time chip on issue rows ── */
.fix-time-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--sona-primary-30);
  border: 0.5px solid var(--sona-primary-200);
  color: var(--sona-primary-200);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Quick-fix block inside issue rows ── */
.quick-fix {
  margin-top: 16px;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}
.quick-fix-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.quick-fix-code-wrap {
  border: 1px solid var(--sona-neutral-40);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.quick-fix-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--sona-primary-30);
  border-bottom: 1px solid var(--sona-neutral-40);
}
.quick-fix-lang {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.quick-fix-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--sona-neutral-50);
  border-radius: 6px;
  background: var(--sona-neutral-05);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.quick-fix-copy:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.quick-fix-copy--done {
  border-color: var(--sona-success-400);
  color: var(--sona-success-400);
}
.quick-fix-pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray-800);
  background: #fff;
}
.quick-fix-where {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.quick-fix-where strong {
  color: var(--ink);
}

/* ── AI preview ("How does AI see you?") ── */
.ai-preview-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.ai-preview-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-preview-titles {
  flex: 1;
}
.ai-preview-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 0;
}
.ai-preview-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
}
.ai-preview-teaser {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.ai-preview-run {
  cursor: pointer;
}
.spinner--small {
  width: 28px;
  height: 28px;
  border-width: 3px;
  margin: 8px auto;
}
.ai-preview-loading-text {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.ai-prompt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.ai-prompt-row {
  background: var(--sona-tint);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-prompt-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ai-prompt-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--chip-bg);
  padding: 2px 8px;
  border-radius: 4px;
}
.ai-prompt-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ai-engine-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.ai-engine-chip--found {
  color: var(--sona-success-400);
  font-weight: 600;
}
.ai-engine-badge {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.ai-engine-badge--chatgpt { background: #10a37f; }
.ai-engine-badge--claude { background: #d97757; }
.ai-engine-badge--perplexity { background: #20808d; }
.ai-verdicts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.ai-verdict-tile {
  background: var(--sona-primary-30);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ai-verdict-big {
  font-size: 30px;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
}
.ai-verdict-text {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.ai-preview-note {
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
  margin: 0 0 16px;
}
.ai-preview-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}
.ai-preview-cta:hover {
  background: var(--brand-dk);
}

/* ── The one question to win in AI search ── */
.win-question-card {
  background: var(--sona-tint);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.win-question-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin: 12px 0 0;
}
.win-question-why {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 0;
}

/* ── Report gate (email me the report) ── */
.report-gate {
  text-align: center;
}
.report-gate-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.report-gate-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 20px;
}
.report-gate-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.report-gate-input {
  width: 280px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--sona-neutral-50);
  border-radius: 8px;
  background: var(--input-bg);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}
.report-gate-input:focus {
  outline: none;
  border-color: var(--brand);
}
.report-gate-btn {
  height: 44px;
  cursor: pointer;
}
.report-gate-note {
  font-size: 13px;
  color: var(--gray-400);
  margin: 12px 0 0;
}

/* ── Share panel ── */
.share-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.share-panel-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 0;
}
.share-panel-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--sona-neutral-50);
  border-radius: 8px;
  background: var(--sona-neutral-05);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.share-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Share buttons embedded in the top score panel */
.score-share-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed #e5e7eb;
}
@media (max-width: 600px) {
  .score-share-actions .share-btn {
    flex: 1;
    justify-content: center;
    padding: 0 12px;
  }
}

/* ── Benchmark panel ── */
.benchmark-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.benchmark-row {
  display: grid;
  grid-template-columns: 160px 1fr 110px 110px;
  align-items: center;
  gap: 16px;
}
.benchmark-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.benchmark-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.benchmark-bar-wrap {
  height: 8px;
  border-radius: 9999px;
  background: var(--gray-100);
  overflow: hidden;
}
.benchmark-bar {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.6s ease;
}
.benchmark-bar--you {
  background: var(--brand);
}
.benchmark-bar--avg {
  background: var(--gray-400);
}
.benchmark-nums {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.benchmark-badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 0.5px solid;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.benchmark-badge--ahead {
  background: var(--sona-success-30);
  border-color: var(--sona-success-400);
  color: var(--sona-success-400);
}
.benchmark-badge--par {
  background: var(--sona-primary-30);
  border-color: var(--sona-primary-200);
  color: var(--sona-primary-200);
}
.benchmark-badge--behind {
  background: var(--sona-warning-30);
  border-color: var(--sona-warning-300);
  color: var(--sona-warning-300);
}
.benchmark-note {
  font-size: 13px;
  color: var(--gray-400);
  margin: 16px 0 0;
}

/* ── Promo cards (Sona product CTA) ── */
.promo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
.promo-card {
  background: var(--sona-tint);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}
.promo-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.promo-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}
.promo-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.promo-footnote {
  font-size: 13px;
  color: var(--gray-400);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .promo-cards {
    grid-template-columns: 1fr;
  }
  .benchmark-row {
    grid-template-columns: 1fr 100px;
  }
  .benchmark-bars {
    grid-column: 1 / -1;
  }
  .benchmark-nums {
    order: 3;
  }
  .benchmark-badge {
    justify-self: start;
  }
  .ai-verdicts {
    grid-template-columns: 1fr;
  }
  .stat-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
  .potential-panel {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .report-gate-input {
    width: 100%;
  }
  .report-gate-form {
    flex-direction: column;
  }
  .share-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Make the entire issue/pass row clickable ──────────────────────────────
   Padding used to sit on the <details> card, so clicks on the card edges hit
   dead space. Move it onto the <summary> so the whole row toggles. */
.issue-row,
.pass-row {
  padding: 0;
}
.issue-row-summary,
.pass-row-summary {
  padding: 24px;
}
.issue-row-detail,
.pass-row-detail,
.quick-fix {
  margin-left: 24px;
  margin-right: 24px;
}
details[open].issue-row,
details[open].pass-row {
  padding-bottom: 24px;
}
details[open].issue-row .issue-row-summary,
details[open].pass-row .pass-row-summary {
  padding-bottom: 8px;
}
.issue-row-detail,
.pass-row-detail {
  margin-top: 8px;
}
@media (max-width: 768px) {
  .issue-row-summary,
  .pass-row-summary {
    padding: 18px;
  }
  .issue-row-detail,
  .pass-row-detail,
  .quick-fix {
    margin-left: 18px;
    margin-right: 18px;
  }
}

/* ── AI Action Plan panel ── */
.action-plan-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.action-plan-body {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.action-plan-url {
  font-size: 14px;
  color: var(--soft);
  margin: 0 0 16px;
}
.action-plan-summary {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}
.action-plan-lead {
  font-size: 14px;
  color: var(--soft);
  margin: 0 0 16px;
}
.action-plan-list {
  text-align: center;
  margin-bottom: 20px;
}
.action-plan-group {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 16px 0 8px;
}
.action-plan-item {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 8px;
}
.action-plan-item--blurred {
  filter: blur(7px);
  opacity: 0.75;
  user-select: none;
  pointer-events: none;
}
.action-plan-more {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 8px;
}

/* Fix: .btn is inline-block with 14px padding, so a fixed 44px height pushed
   the label off-center. Center it with flex instead. */
.report-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: 15px;
}

/* Run-preview button: was an inline pink .btn floating under the teaser text.
   Style it like the panel's full-width CTA so the idle state reads cleanly. */
.ai-preview-run {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ai-preview-run:hover {
  background: var(--brand-dk);
}

/* ── Section header icons (lucide) ── */
.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.panel-head--bare {
  margin-bottom: 0;
}
.panel-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.panel-title--inline {
  margin: 0;
}

/* ── Engine logos in AI-preview chips ── */
.ai-engine-logo {
  width: 12px;
  height: 12px;
  display: block;
}

/* ── Discipline tags + filter groups ── */
.discipline-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 0.5px solid;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Audit category, taken from the payload (Crawlability, Content Quality, ...).
   Neutral by design so the severity pill stays the row's colour signal. */
.category-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 0.5px solid var(--sona-neutral-200, #d5dbe1);
  background: var(--sona-neutral-30, #f5f7f9);
  color: var(--sona-neutral-500, #5a6672);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* Passing rows with no explanatory copy have nothing to disclose, so hide the
   affordance that implies there is. */
.pass-row--bare > .pass-row-summary {
  cursor: default;
}
.pass-row--bare .pass-chevron {
  visibility: hidden;
}
.discipline-tag--seo {
  background: var(--sona-primary-30);
  border-color: var(--sona-primary-200);
  color: var(--sona-primary-200);
}
.discipline-tag--aeo {
  background: #f7f0fb;
  border-color: #8b3fc0;
  color: #8b3fc0;
}
.discipline-tag--geo {
  background: #fdeff5;
  border-color: var(--sona-secondary-200);
  color: var(--sona-secondary-200);
}
.issues-head {
  margin-bottom: 16px;
}
.issue-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.filter-sep {
  width: 1px;
  height: 22px;
  background: var(--sona-neutral-40);
  margin: 0 6px;
}

/* ── Report header: scan-another button ── */
.report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.report-header-text {
  min-width: 0;
}
.scan-another-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.scan-another-btn:hover {
  background: var(--brand-dk);
}

/* Report header: stack and center on small mobile instead of left-aligning
   once the row wraps (the base flex rule uses space-between, which pins the
   text block and button to the left when they stack). */
@media (max-width: 500px) {
  .report-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── Rescan panel ── */
.rescan-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.rescan-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 0;
}
.rescan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
}
.rescan-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Active filter chip: the generic hover turned the label brand-blue, which
   vanishes against the active chip's brand-blue background. Keep it white. */
.filter-chip--active:hover {
  background: var(--brand-dk);
  border-color: var(--brand-dk);
  color: #fff;
}

/* ============================================================
   SONA FOOTER
   Ported from the Sona Marketing Site (src/components/Footer.astro),
   which is the canonical version. Values below mirror its Tailwind
   classes 1:1 — keep the two in sync.
     wrapper  bg-white border-t border-[#e8e8e8]
     columns  max-w-[1440px] px-4 sm:px-8 py-16, grid 2 / sm:3 / lg:5, gap-8
     heading  text-[13px] text-[#111]
     link     text-[13px] text-[#555] hover:text-[#111]
     bottom   bg-[#f5f5f5] sm:h-[50px], links text-[12px]
   #555 / #111 / #f5f5f5 are Marketing's literal footer values, not
   design-system tokens — kept literal so the footers match exactly.
   ============================================================ */
.sona-footer {
  background: var(--sona-surface-card);
  border-top: 1px solid var(--sona-border-hairline);
}
.sona-footer__cols {
  max-width: var(--sona-max-content);
  margin: 0 auto;
  padding: 64px 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.sona-footer__col { display: flex; flex-direction: column; gap: 16px; }
.sona-footer__heading {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  color: #111;
  margin: 0;
}
.sona-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sona-footer__link {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  text-decoration: none;
  transition: color 150ms var(--sona-ease-standard);
}
.sona-footer__link:hover { color: #111; }
.sona-footer__bottom {
  background: #f5f5f5;
  padding: 12px 0;
  display: flex;
  align-items: center;
}
.sona-footer__bottom-inner {
  max-width: var(--sona-max-content);
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.sona-footer__legal { display: flex; align-items: center; gap: 24px; }
.sona-footer__legal a,
.sona-footer__copy {
  font-size: 12px;
  color: #555;
  text-decoration: none;
  margin: 0;
}
.sona-footer__legal a { transition: color 150ms var(--sona-ease-standard); }
.sona-footer__legal a:hover { color: #111; }

@media (min-width: 640px) {
  .sona-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 32px; padding-right: 32px; }
  .sona-footer__bottom { padding: 0; height: 50px; }
  .sona-footer__bottom-inner { flex-direction: row; justify-content: space-between; gap: 0; padding: 0 32px; }
}
@media (min-width: 1024px) {
  .sona-footer__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ============================================================
   SONA NAVBAR — matched to the Marketing Site
   Mirrors src/components/NavbarAIVisibility.astro:
     bar      bg-[#fafbff] border-b border-[#e8e8e8], h-[64px]
     row      max-w-[1440px] mx-auto, px-4 sm:px-8 lg:px-[104px]
     logo     h-8 w-auto
     links    text-[14px] font-medium text-[#343941], rounded-full,
              px-3 py-2, hover/active bg-[#eeeffa]
     Sign In  same pill, no border
     CTA      bg-[#1d2d82] hover:bg-[#172468], rounded-full, 14px
     panel    bg-[#fdfdfd] border-[#dfe0e1] rounded-[8px] shadow-dropdown

   Scoped to min-width:701px so the existing max-width:700px mobile
   rules (which hide .site-nav and the panel) keep winning on phones.
   Markup, classes, IDs and data-attributes are untouched — nav.js
   drives .nav-trigger / [data-closes-nav] / #navPanel / #siteHeader
   and the is-active / is-open classes, all of which still apply.
   ============================================================ */
@media (min-width: 701px) {
  .site-header {
    background: var(--sona-surface-light);
    border-bottom: 1px solid var(--sona-border-hairline);
  }

  .header-inner {
    height: var(--sona-nav-height);
    gap: 24px;
  }

  /* Marketing puts the horizontal padding on the BAR and caps the row at
     1440px inside it. Replicating that nesting is what makes the logo land
     at the same x-position as every other Sona site.
     Safe for the mega-panel: an absolutely positioned child is laid out
     against the header's padding box, whose left edge padding does not
     move, so nav.js's `tRect.left - hRect.left` maths still holds. */
  .site-header { padding: 0 32px; }
  .site-header .container {
    max-width: var(--sona-max-content);
    padding: 0;
  }

  .site-logo img { min-width: 0; height: 32px; }

  .site-nav { gap: 8px; }

  .nav-trigger,
  .nav-direct {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: var(--sona-fw-medium);
    color: var(--sona-text-body);
    border-radius: var(--sona-radius-pill);
    line-height: 1.5;
    transition: background-color var(--sona-dur-fast) var(--sona-ease-standard),
                color var(--sona-dur-fast) var(--sona-ease-standard);
  }
  .nav-trigger:hover,
  .nav-direct:hover {
    color: var(--sona-text-body);
    background: var(--sona-pill-bg);
  }

  /* Active menu reads as a filled pill, not a pink underline. */
  .nav-trigger.is-active {
    color: var(--sona-text-body);
    background: var(--sona-pill-bg);
  }
  .nav-trigger::after,
  .nav-trigger.is-active::after { opacity: 0; }

  .header-ctas { gap: 8px; }

  .btn-signin {
    height: auto;
    padding: 8px 12px;
    border: none;
    border-radius: var(--sona-radius-pill);
    background: transparent;
    color: var(--sona-text-body);
    font-size: 14px;
    letter-spacing: normal;
    line-height: 1.5;
  }
  .btn-signin:hover {
    background: var(--sona-pill-bg);
    color: var(--sona-text-body);
  }

  .btn-demo {
    height: auto;
    padding: 10px 20px;
    border-radius: var(--sona-radius-pill);
    background: var(--sona-brand-navy);
    color: var(--sona-text-on-dark-heading);
    font-size: 14px;
    line-height: 1.5;
  }
  .btn-demo::before { background: var(--sona-brand-navy-hover); }

  .nav-panel {
    background: var(--sona-neutral-05);
    border: 1px solid var(--sona-neutral-40);
    border-radius: var(--sona-radius-md);
    box-shadow: var(--sona-shadow-dropdown);
    margin-top: 4px;
  }
}

@media (min-width: 1024px) {
  /* Marketing's lg gutter. */
  .site-header { padding: 0 104px; }
}

/* ============================================================
   Announcement bar breakout.

   The bar is the first child of .site-header so the two pin to the
   top together (same nesting as the Marketing Site's BaseLayout).
   But .site-header carries the page gutter — 32px from 701px,
   104px from 1024px, set above — which would inset the bar. Cancel
   that gutter on the bar only, so it runs edge to edge while the
   nav row keeps its alignment. Keep these numbers in sync with the
   .site-header padding rules above.
   ============================================================ */
@media (min-width: 701px) {
  .announcement-bar {
    margin-left: -32px;
    margin-right: -32px;
  }
}

@media (min-width: 1024px) {
  .announcement-bar {
    margin-left: -104px;
    margin-right: -104px;
  }
}

@media (max-width: 700px) {
  /* The header reserves the notch inset with padding-top, which would show
     as a white strip above the bar. Move that reservation onto the bar. */
  .site-header {
    padding-top: 0;
  }
  .announcement-bar {
    padding-top: calc(12px + max(10px, env(safe-area-inset-top)));
  }
}
