/* ── Fonts ────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("/fonts/NeueHaasDisplayThin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("/fonts/NeueHaasDisplayLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("/fonts/NeueHaasDisplayRoman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("/fonts/NeueHaasDisplayMediu.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("/fonts/NeueHaasDisplayBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("/fonts/NeueHaasDisplayBlack.ttf") format("truetype");
  font-weight: 900;
  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: #2940b9; /* primary/300 */
  --brand-dk: #192771; /* primary/500 */
  --accent: #5676fc; /* accent blue */
  --pink: #ee2b7e; /* secondary/200 */
  --navy-1: #0d1c41;
  --navy-2: #1b2b73;

  --card-bg: #f9fafd;
  --input-bg: #f6f7fd;
  --chip-bg: #e3e5f6;
  --icon-bg: #e5e8f6;

  --ink: #21272a; /* primary text */
  --muted: #4b5563;
  --soft: #7a7c82;

  --green: #22c55e;
  --yellow: #eab308;
  --orange: #f97316;
  --red: #ef4444;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --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:
    "Neue Haas Grotesk Display Pro",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ── 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: #1d2d82;
}
/* Pink active underline — shown when .is-active */
.nav-trigger::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #ee2b7e;
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-trigger.is-active {
  color: #1d2d82;
}
.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 #192771;
  background: transparent;
  color: #2940b9;
  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: #2940b9;
  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, #192771 0.24%, #4d60c5 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: #192771;
  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: #21272a;
  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: #21272a;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item:hover {
  background: #f5f6fc;
  color: #1d2d82;
}

/* 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: #ffffff;
  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: #ffffff;
  padding: 0 0 80px;
}
.problem-stats {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 40px;
  padding: 40px 48px;
  background: linear-gradient(90deg, #eaecf8 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(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.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-header h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.check-cat-pts {
  display: none;
}
.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;
}

/* ── 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, #152160);
  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: #152160;
  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: #c1c3c5;
}
.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: #cfd4ef;
  color: var(--brand);
  border: none;
  transition: background 0.25s ease;
}
.btn-secondary:hover {
  background: #a0aae0;
}

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

/* ── 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: #f2f3fb;
}
.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: #eaecf8;
  stroke-width: 8;
}
.ring-fill {
  fill: none;
  stroke: #2940b9;
  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: #2940b9;
}
.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: #eaecf8;
  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: "Inter", sans-serif;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  color: #8f95a4;
  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 #c1c3c5;
  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: #8f95a4;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.15s;
  white-space: nowrap;
}
.auth-tab.active {
  color: #080d17;
  border-bottom-color: #ee2b7e;
}

/* 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: #fdfdfd;
  border: 1px solid #c1c3c5;
  border-radius: 6px;

  font-size: 14px;
  font-weight: 400;
  color: #080d17;
  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: #c1c3c5;
}
.auth-divider-text {
  font-size: 12px;
  color: #c1c3c5;
  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: #080d17;
  line-height: 1.71;
}
.auth-email-input {
  height: 37px;
  padding: 0 12px;
  border: 1px solid #c1c3c5;
  border-radius: 6px;
  background: #fdfdfd;

  font-size: 14px;
  color: #080d17;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.auth-email-input::placeholder {
  color: #c1c3c5;
}
.auth-email-input:focus {
  border-color: #ee2b7e;
  box-shadow: 0 0 0 3px rgba(238, 43, 126, 0.12);
}
.auth-continue-btn {
  margin-top: 8px;
  height: 48px;
  width: 100%;
  background: #ee2b7e;
  border: none;
  border-radius: 6px;

  font-size: 14px;
  font-weight: 600;
  color: #fdfdfd;
  cursor: pointer;
  transition: background 0.15s;
}
.auth-continue-btn:hover {
  background: #d01f6a;
}
.auth-legal {
  font-size: 12px;
  color: #6b6e74;
  text-align: center;
  line-height: 1.33;
}
.auth-legal a {
  color: #2940b9;
  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%);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@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;
  }
  .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;
}
.report-date {
  font-size: 0.875rem;
  color: var(--soft);
  margin: 0;
}
.results-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.result-panel {
  background: #fdfdfd;
  border: 1px solid #c1c3c5;
  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: #f2f3fb;
  border: 1px solid #4d60c5;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: #4d60c5;
  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;
}

/* Stat boxes */
.stat-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat-box {
  background: #f9fafd;
  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: #f9fafd;
  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;
}
.priority-tag--high {
  background: #fef0ef;
  border-color: #e11b00;
  color: #e11b00;
}
.priority-tag--medium {
  background: #fff9f2;
  border-color: #ff8c22;
  color: #ff8c22;
}
.priority-tag--low {
  background: #f4fcf3;
  border-color: #299e00;
  color: #299e00;
}

/* 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: #f9fafd;
  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: rgba(41, 64, 185, 0.1);
  border: 1px solid rgba(41, 64, 185, 0.2);
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fix-cta-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  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: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.fix-cta-desc {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
  max-width: 618px;
  margin: 0;
}
.fix-cta-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 350px;
}
.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: #fdfdfd 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 #c1c3c5;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #343941;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
}
.fix-note-new {
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}
.fix-download-btn {
  width: 100%;
  padding: 16px 20px;
  background: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 8px;
  color: white;
  font-size: 20px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: block;
}
.fix-download-btn:hover {
  background: var(--brand-dk);
  border-color: var(--brand-dk);
}
.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: flex-start;
    gap: 20px;
  }
  .result-panel {
    padding: 20px;
  }
  .issue-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
