/* ===== free LSAT diagnostic landing page (/free-lsat-diagnostic) ===== */

/* Hero: two columns. What the diagnostic is, what you get, and the button on the left;
   the sample results card on the right, so a visitor from search sees all of it on the
   first screen. Stacks and centers under 980px, with the card below the button. */
.diag-hero { padding: 56px 24px 24px; }
.diag-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.diag-hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 16px;
}
.diag-hero .hero-sub { max-width: 520px; margin: 0; }
.diag-hero .diag-list { margin-top: 22px; }
.diag-hero-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.diag-hero-cta .cta-note { margin-top: 10px; }

/* The one oversized button on the site: this page has a single job. */
.cta-btn-lg {
  padding: 17px 36px;
  font-size: 17px;
}

/* Page sections. Same 72px step /pricing uses. */
.diag-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 0;
}
.diag-section h2 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--ink);
}

/* ----- what you get (the hero's checklist) ----- */
.diag-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.diag-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--muted);
}
.diag-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--good);
}
.diag-list li { color: var(--gray-700); font-weight: 500; }

.diag-results-visual { margin: 0; }
.diag-results-visual figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray-400);
  text-align: center;
}

/* Sample results card: mirrors the card the app's results page shows (and the one people
   screenshot), wordmark included. */
.result-card {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px 20px;
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gradient);
}
.result-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.result-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.result-brand .brand-mark { width: 24px; height: 24px; }
/* Plain text, deliberately: no pill badges on this site. */
.result-tag {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.result-range {
  display: block;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.result-range-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.result-sections {
  margin: 16px 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-400);
}
.result-sections span { color: var(--muted); }
.result-sections b { color: var(--ink); font-variant-numeric: tabular-nums; }
.result-areas {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.result-area-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.result-area-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.result-bar {
  margin-top: 5px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--gray-200);
  overflow: hidden;
}
.result-bar span {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--lvl);
}

/* ----- what the full app adds ----- */
.diag-carry {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 20px 24px;
  background: var(--brand-tint);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-md);
  text-align: center;
}
.diag-carry p { font-size: 15px; color: var(--gray-700); }
.diag-carry strong { color: var(--ink); }
.diag-carry .diag-carry-terms {
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray-500);
}

/* ----- why a range ----- */
.diag-why {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 36px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.diag-why h2 {
  font-size: clamp(22px, 3vw, 26px);
  margin-bottom: 12px;
}
.diag-why p { font-size: 16px; }

/* ----- faq ----- */
.diag-faq { padding-top: 72px; }

/* ----- responsive ----- */
@media (max-width: 980px) {
  .diag-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  /* Stacked, the copy centers over the card instead of hugging the left edge. The
     checklist stays left-aligned inside so its checks line up, but sits centered. */
  .diag-hero-copy { text-align: center; }
  .diag-hero .hero-sub { margin: 0 auto; }
  .diag-hero .diag-list { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
  .diag-hero-cta { align-items: center; }
  .diag-results-visual { max-width: 440px; width: 100%; justify-self: center; }
}

@media (max-width: 720px) {
  .diag-hero { padding: 36px 20px 16px; }
  .diag-section { padding: 56px 20px 0; }
  .diag-faq { padding-top: 56px; }
  .diag-why { padding: 26px 22px; }
  .result-card { padding: 24px 20px 18px; }
  .result-range { font-size: 46px; }
}

