/* JustTestIt — marketing homepage */

:root {
  --bg: #e6e6e2;
  --bg-card: #efefeb;
  --surface: #f5f5f2;
  --text: #1d1e1c;
  --text-muted: #5d605b;
  --accent: #303331;
  --accent-hover: #232624;
  --accent-soft: rgba(48, 51, 49, 0.08);
  --green: #5d7468;
  --green-soft: rgba(93, 116, 104, 0.14);
  --border: rgba(29, 30, 28, 0.12);
  --shadow: 0 16px 40px rgba(29, 30, 28, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --step-0: clamp(0.875rem, 0.82rem + 0.2vw, 0.95rem);
  --step-1: clamp(1rem, 0.92rem + 0.35vw, 1.125rem);
  --step-2: clamp(1.15rem, 1rem + 0.55vw, 1.35rem);
  --step-3: clamp(1.45rem, 1.15rem + 1vw, 1.85rem);
  --step-4: clamp(1.85rem, 1.35rem + 1.75vw, 2.5rem);
  --step-5: clamp(2.25rem, 1.5rem + 2.75vw, 3.25rem);
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --wrap: min(1120px, calc(100% - 2 * var(--space)));
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-1);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Accessibility ───────────────────────────────── */

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  left: var(--space);
  top: var(--space);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Layout ──────────────────────────────────────── */

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.narrow {
  max-width: 42rem;
  margin-inline: auto;
}

/* ── Header ──────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(230, 230, 226, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--step-2);
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step-0);
}

.nav a:not(.btn):hover {
  color: var(--accent);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-panel {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.nav-panel__links {
  display: flex;
  flex-direction: column;
  padding: 1rem var(--space) 1.25rem;
  gap: 0.75rem;
}

.nav-panel__links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-panel__links a:last-child {
  border-bottom: 0;
  color: var(--accent);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ── Buttons ─────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: var(--step-0);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn--small {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.btn--large {
  padding: 0.85rem 1.75rem;
  font-size: var(--step-1);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(48, 51, 49, 0.25);
  outline: none;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent-soft);
}

/* ── Hero ────────────────────────────────────────── */

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: var(--step-5);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lead {
  margin: 0 0 1.75rem;
  font-size: var(--step-2);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-points {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  max-width: 30rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-muted);
  font-size: var(--step-0);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1rem;
  height: 1rem;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.hero__provider {
  margin: 0 0 1.5rem;
  font-size: var(--step-0);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 38ch;
}

/* ── Hero card ───────────────────────────────────── */

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 237, 0.94));
  border: 1px solid rgba(80, 63, 53, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(51, 38, 31, 0.14);
  overflow: hidden;
}

.hero-card__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hero-card__intro {
  margin: 0 0 0.75rem;
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.hero-card__reports {
  position: relative;
  display: grid;
  gap: 1rem;
  align-items: start;
}

.hero-card__meta {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(80, 63, 53, 0.12);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.report-card {
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(19, 18, 24, 0.16);
}

.report-card--email {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  background: #2a2b2d;
  color: #f4f4f6;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.report-card__email-head {
  margin-bottom: 1.1rem;
}

.report-card__from,
.report-card__to,
.report-card__subject,
.report-card__copy,
.report-card__section-title {
  margin: 0;
}

.report-card__from {
  font-size: 0.85rem;
  font-weight: 600;
}

.report-card__to {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: rgba(244, 244, 246, 0.72);
}

.report-card__subject {
  margin-bottom: 0.7rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.15;
}

.report-card__copy {
  margin-bottom: 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(244, 244, 246, 0.82);
}

.report-card__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.report-card__summary div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem;
}

.report-card__summary dt,
.report-card__summary dd {
  margin: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.report-card__summary div:nth-child(-n + 2) dt,
.report-card__summary div:nth-child(-n + 2) dd {
  border-top: 0;
}

.report-card__summary dt {
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.report-card__summary dd {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.report-card__section-title {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.report-card__runs {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.report-card__runs li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.8rem;
  line-height: 1.45;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.report-card__runs li:first-child {
  border-top: 0;
}

.report-card__error {
  display: block !important;
  color: #f0b1b1;
  background: rgba(202, 86, 86, 0.12);
}

.report-card__result {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
}

.report-card__result--pass {
  color: #78d694;
}

.report-card__result--fail {
  color: #ff7d7d;
}

.report-card--slack {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(100%, 19rem);
  background: #ffffff;
  color: #17171a;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(23, 23, 26, 0.08);
}

.report-card__channel-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.6rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(78, 70, 180, 0.08);
  color: #4b4597;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-card__slack-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #54525d;
}

.report-card__slack-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.report-card__slack-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #78be43;
}

.report-card__slack-summary {
  margin: 0;
}

.report-card__slack-summary div {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.report-card__slack-summary div:first-child {
  margin-top: 0;
}

.report-card__slack-summary dt,
.report-card__slack-summary dd {
  margin: 0;
}

.report-card__slack-summary dt {
  font-weight: 700;
}

@media (min-width: 900px) {
  .hero-card {
    padding: 1.5rem;
  }

  .hero-card__reports {
    padding: 1.5rem 1.5rem 7rem 0;
  }

  .report-card--slack {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 699px) {
  .hero {
    padding: 2rem 0 3.75rem;
  }

  .hero__grid {
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 9vw, 3.05rem);
    line-height: 1.08;
    max-width: 10ch;
    margin-bottom: 1.1rem;
  }

  .lead {
    max-width: 30ch;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.65;
  }

  .hero-points {
    gap: 0.75rem;
    margin-bottom: 1.9rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .hero-card__intro {
    max-width: 30ch;
    margin-bottom: 1rem;
  }

  .hero-card__reports {
    gap: 0.85rem;
  }

  .report-card--slack {
    display: none;
  }

  .report-card--email {
    width: 100%;
    padding: 1rem 0.9rem;
  }

  .report-card__subject {
    font-size: 1.3rem;
  }

  .report-card__summary {
    grid-template-columns: 1fr;
  }

  .report-card__summary div {
    grid-template-columns: minmax(0, 1fr) 4.5rem;
  }

  .report-card__summary div:nth-child(n + 2) dt,
  .report-card__summary div:nth-child(n + 2) dd {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .report-card__runs li {
    flex-direction: column;
    gap: 0.35rem;
  }

  .hero-card__meta {
    margin-top: 0.9rem;
    padding-top: 0.8rem;
  }
}

/* ── Live badge ──────────────────────────────────── */

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-badge--sm {
  font-size: 0.65rem;
}

.live-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Sections ────────────────────────────────────── */

.section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

/* push section headings below sticky header when navigating via anchor */
[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.section--muted {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section--case {
  background: linear-gradient(160deg, var(--accent-soft) 0%, transparent 55%);
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__intro {
  margin: 0 0 2rem;
  font-size: var(--step-2);
  color: var(--text-muted);
  max-width: 52ch;
}

.section__intro strong {
  color: var(--text);
}

/* ── Feature cards ───────────────────────────────── */

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.feature {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: var(--step-2);
  font-weight: 600;
}

.feature p {
  margin: 0;
  font-size: var(--step-0);
  color: var(--text-muted);
}

/* ── Checklist ───────────────────────────────────── */

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  font-size: var(--step-2);
  color: var(--text-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.checklist strong {
  color: var(--text);
}

.problem-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}

.problem-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  font-size: var(--step-2);
  color: var(--text-muted);
}

.problem-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0.02em;
  width: 1.2rem;
  text-align: center;
  color: #8f5757;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1;
}

/* ── Steps ───────────────────────────────────────── */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
  max-width: 44rem;
}

@media (min-width: 700px) {
  .steps {
    gap: 2rem;
  }
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--step-2);
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: var(--step-2);
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-0);
}

.steps__list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: var(--step-0);
}

.steps__list li {
  display: list-item;
  margin-top: 0.35rem;
}

.steps__list li:first-child {
  margin-top: 0;
}

/* ── Benefits grid ───────────────────────────────── */

.benefits {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit {
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.benefit h3 {
  margin: 0 0 0.35rem;
  font-size: var(--step-1);
  font-weight: 600;
}

.benefit p {
  margin: 0;
  font-size: var(--step-0);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Case study ──────────────────────────────────── */

.case-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .case-stack {
    gap: 2rem;
  }
}

.case-stack .case-card__note {
  margin-top: 0;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
}

.case-card__badge {
  margin-bottom: 1.25rem;
}

.case-card__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .case-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .case-card__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-item {
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.case-item p {
  margin: 0;
}

.case-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem !important;
}

.case-card__note {
  margin: 1.25rem 0 0;
  font-size: var(--step-0);
  color: var(--text-muted);
  font-style: italic;
}

/* ── Reports section ─────────────────────────────── */

.reports-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .reports-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.fail-card {
  background: #20211f;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  border-left: 3px solid #8f5757;
}

.fail-card__line {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.55;
}

.fail-card__line--title {
  color: #ece9e3;
  font-weight: 600;
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}

.fail-card__line--detail {
  color: #a7aaa4;
  font-size: var(--step-0);
  padding-left: 1.25rem;
}

.reports-note {
  margin: 0;
  font-size: var(--step-0);
  color: var(--text-muted);
  font-style: italic;
}

.reports-steps {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reports-steps li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--step-0);
  color: var(--text-muted);
}

.reports-steps li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.reports-roles {
  margin: 0;
  font-size: var(--step-0);
  color: var(--text-muted);
  line-height: 1.65;
  padding: 1.1rem 1.25rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.reports-roles strong {
  color: var(--text);
}

/* ── Comparison ───────────────────────────────────── */

.compare-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.compare-card {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.compare-card--highlight {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(93, 116, 104, 0.08));
  box-shadow: var(--shadow);
}

.compare-card__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.compare-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--text-muted);
  font-size: var(--step-0);
}

.compare-list li::before {
  position: absolute;
  left: 0;
  top: -0.02rem;
  font-weight: 700;
}

.compare-list--negative li::before {
  content: "×";
  color: #8f5757;
}

.compare-list--positive li::before {
  content: "✓";
  color: var(--green);
}

/* ── Credibility note ─────────────────────────────── */

.credibility {
  padding-top: 0;
}

.credibility-note {
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.credibility-note__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.credibility-note__text {
  margin: 0;
  color: var(--text);
  font-size: var(--step-1);
  line-height: 1.6;
}

.credibility-note__link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.credibility-note__link:hover {
  text-decoration: underline;
}

/* ── About section ───────────────────────────────── */

.about-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
    gap: 2rem;
  }
}

.about-copy p:not(.eyebrow):not(.section__intro) {
  margin: 0;
  max-width: 68ch;
  color: var(--text-muted);
}

.about-copy p:not(.eyebrow):not(.section__intro) + p:not(.eyebrow):not(.section__intro) {
  margin-top: 1rem;
}

.about-copy strong {
  color: var(--text);
}

.about-panel {
  display: grid;
  gap: 1rem;
}

.about-card {
  padding: 1.35rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-card__label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.about-timeline li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}

.about-timeline strong {
  font-size: var(--step-0);
}

.about-timeline span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.about-tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.about-tags li {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── Page hero ────────────────────────────────────── */

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
}

.page-hero__content {
  max-width: 46rem;
}

.page-hero__content p:last-child {
  margin-bottom: 0;
}

.page-hero__meta {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: var(--step-0);
}

.page-hero__meta strong {
  color: var(--text);
}

/* ── Proof / relevance ───────────────────────────── */

.proof-grid,
.relevance-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

.proof-card,
.relevance-card {
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.proof-card__value,
.proof-card__label,
.proof-card__text,
.relevance-card h3 {
  margin: 0;
}

.proof-card__value {
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.proof-card__label {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.proof-card__text {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.55;
}

.relevance-card h3 {
  margin-bottom: 1rem;
  font-size: var(--step-2);
  font-weight: 600;
}

/* ── CTA block ───────────────────────────────────── */

.cta-block {
  text-align: center;
}

.cta-block__inner {
  padding: clamp(2.5rem, 6vw, 3.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-block h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-block__inner > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: var(--step-2);
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.contact-form {
  max-width: 52rem;
  margin: 1.75rem auto 0;
  text-align: left;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--step-0);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.contact-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.contact-form__note {
  margin: 1rem 0 0 !important;
  color: var(--text-muted);
  font-size: var(--step-0);
  text-align: center;
}

.contact-form__note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}

.cta-block__email {
  margin: 1rem 0 0 !important;
  font-size: var(--step-0);
}

.cta-block__email a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-block__email a:hover {
  color: var(--accent);
}

/* ── Footer ──────────────────────────────────────── */

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer__brand {
  margin: 0 0 0.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--step-2);
}

.site-footer__meta {
  margin: 0 0 1rem;
  font-size: var(--step-0);
  color: var(--text-muted);
}

.site-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
