/* ReviewFold — example report page. Scoped to .example-page. */

.example-page {
  --ex-ink: #111519;
  --ex-muted: #5c6368;
  --ex-line: #e3e0d5;
  --ex-warm: #f7f5ee;
  --ex-lime: #d0f341;
  --ex-lime-ink: #526600;
  background: #fbfaf6;
  color: var(--ex-ink);
}

.ex-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 10px 16px; background: var(--ex-ink); color: #fff; border-radius: 0 0 8px 0;
}
.ex-skip:focus { left: 0; }

.ex-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- hero ---------- */
.ex-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 72px;
  align-items: center;
  padding: 82px 0 64px;
}

.ex-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ex-muted);
}
.ex-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--ex-lime); box-shadow: 0 0 0 3px #d0f34133; flex: none; }

.ex-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}
.ex-mark {
  display: block;
  width: fit-content;
  margin-top: 10px;
  background: linear-gradient(180deg, transparent 60%, var(--ex-lime) 60%, var(--ex-lime) 92%, transparent 92%);
  padding: 0 0.04em;
}

.ex-lede {
  margin: 26px 0 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  color: #434a4f;
  text-wrap: pretty;
}

.ex-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; }
.ex-actions .button-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border-radius: 10px;
  background: var(--ex-ink); border: 1px solid var(--ex-ink); color: var(--ex-lime);
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.ex-actions .button-link:hover { background: #2b3034; border-color: #2b3034; color: var(--ex-lime); }
.ex-textlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; color: var(--ex-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.ex-textlink::after { content: "→"; font-weight: 600; transition: transform 0.18s ease; }
.ex-textlink:hover { color: var(--ex-lime-ink); }
.ex-textlink:hover::after { transform: translateX(3px); }

.ex-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px; margin: 40px 0 0; padding-top: 24px;
  border-top: 1px solid var(--ex-line);
}
.ex-meta div { display: flex; flex-direction: column; gap: 3px; }
.ex-meta dt { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #6d7375; }
.ex-meta dd { margin: 0; font-size: 15px; font-weight: 600; }

/* ---------- specimen ---------- */
.ex-specimen {
  position: relative;
  background: #fff;
  border: 1px solid var(--ex-line);
  border-radius: 16px;
  padding: 28px 30px 22px;
  box-shadow: 0 40px 80px -48px rgba(17, 21, 25, 0.45);
  transform: rotate(-1.2deg);
}
.ex-specimen::before {
  content: ""; position: absolute; left: -1px; top: 26px; bottom: 26px; width: 4px;
  background: var(--ex-lime); border-radius: 0 4px 4px 0;
}
.ex-specimen-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #6d7375; }
.ex-pill { padding: 4px 9px; border-radius: 999px; background: var(--ex-lime); color: var(--ex-ink); letter-spacing: 0.06em; }
.ex-specimen h2 { margin: 16px 0 0; font-size: 25px; line-height: 1.16; letter-spacing: -0.025em; }
.ex-specimen p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; color: #4d5358; }
.ex-specimen-rule { height: 1px; background: #ebe8dd; margin: 22px 0 14px; }
.ex-specimen-foot { display: flex; justify-content: space-between; flex-wrap: wrap; row-gap: 6px; gap: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6d7375; }

/* ---------- stats ---------- */
.ex-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ex-line); border-bottom: 1px solid var(--ex-line);
  padding: 34px 0 30px;
}
.ex-stat { display: flex; flex-direction: column; gap: 8px; padding: 0 34px; border-left: 1px solid var(--ex-line); }
.ex-stat:first-child { padding-left: 0; border-left: 0; }
.ex-stat strong { font-size: 62px; font-weight: 700; line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.ex-stat span { font-size: 13px; line-height: 1.4; color: var(--ex-muted); max-width: 210px; }
.ex-stats-note { grid-column: 1 / -1; margin: 24px 0 0; font-size: 12.5px; line-height: 1.55; color: #6a7074; max-width: 780px; }

/* ---------- sections ---------- */
.ex-section {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 48px;
  padding: 76px 0; border-top: 1px solid var(--ex-line);
}
.ex-rail { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 8px; }
.ex-num { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: #8a8f88; }
.ex-rail-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ex-ink); }

.ex-body h2 { margin: 0; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.035em; }
.ex-dek { margin: 16px 0 0; max-width: 720px; font-size: 18px; line-height: 1.6; color: #434a4f; text-wrap: pretty; }
.ex-body > p { margin: 22px 0 0; max-width: 760px; font-size: 16.5px; line-height: 1.66; color: #2b3034; }
.ex-note { margin: 18px 0 0; max-width: 720px; font-size: 12.5px; line-height: 1.6; color: #6a7074; }

/* quotes */
.ex-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 34px 0 0; }
.ex-quote {
  margin: 0; padding: 26px 26px 20px;
  background: #fff; border: 1px solid var(--ex-line); border-left: 4px solid var(--ex-lime); border-radius: 10px;
}
.ex-quote blockquote { margin: 0; font-size: 23px; font-weight: 600; line-height: 1.28; letter-spacing: -0.02em; text-wrap: pretty; }
.ex-quote figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 20px; font-size: 12px; color: #666d70; }
.ex-quote figcaption strong { color: var(--ex-ink); font-weight: 600; }
.ex-quote figcaption span { padding: 3px 8px; border: 1px solid var(--ex-line); border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5f6669; }

/* evidence */
.ex-shot { margin: 32px 0 0; border: 1px solid #ddd9cc; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -60px rgba(17, 21, 25, 0.5); }
.ex-shot-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: #f3f1ea; border-bottom: 1px solid var(--ex-line); }
.ex-shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d2c4; }
.ex-shot-bar span { margin-left: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #666d70; }
.ex-shot img { display: block; width: 100%; height: auto; }
.ex-shot figcaption { padding: 14px 18px; border-top: 1px solid #eeece3; font-size: 12px; line-height: 1.55; color: #666d70; }

/* how to read */
.ex-read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 34px; }
.ex-read article { padding-top: 18px; border-top: 2px solid var(--ex-ink); }
.ex-read article > span { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: #8a8f88; }
.ex-read h3 { margin: 10px 0 0; font-size: 18px; letter-spacing: -0.02em; }
.ex-read p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: #4d5358; }

/* limits */
.ex-limits { background: var(--ex-ink); color: #f4f6f6; margin: 16px calc(50% - 50vw) 0; padding: 78px 0; }
.ex-limits-inner { max-width: 1240px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; }
.ex-num-light { color: #93a08c; }
.ex-limits h2 { margin: 14px 0 0; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.035em; color: #fff; }
.ex-limits p { margin: 16px 0 0; max-width: 420px; font-size: 15px; line-height: 1.6; color: #b9c0bd; }
.ex-limit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; align-content: start; }
.ex-limit-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.6; color: #c9cfcc; }
.ex-limit-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--ex-lime); }
.ex-limit-list strong { color: #fff; font-weight: 600; }

/* cta */
.ex-cta { padding: 96px 0 104px; text-align: center; }
.ex-cta .ex-eyebrow { justify-content: center; margin-bottom: 18px; }
.ex-cta h2 { margin: 0 auto; max-width: 760px; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; }
.ex-cta > p:not(.ex-eyebrow) { margin: 18px auto 0; max-width: 560px; font-size: 17px; line-height: 1.6; color: #434a4f; }
.ex-cta .ex-actions { justify-content: center; margin-top: 30px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ex-hero-copy > *, .ex-specimen, .ex-stat, .ex-quote, .ex-shot, .ex-read article {
    opacity: 0; transform: translateY(14px);
    animation: ex-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .ex-hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
  .ex-hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .ex-hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
  .ex-hero-copy > *:nth-child(4) { animation-delay: 0.2s; }
  .ex-hero-copy > *:nth-child(5) { animation-delay: 0.26s; }
  .ex-specimen { animation-delay: 0.18s; }
  .ex-stat:nth-child(1) { animation-delay: 0.26s; }
  .ex-stat:nth-child(2) { animation-delay: 0.32s; }
  .ex-stat:nth-child(3) { animation-delay: 0.38s; }
}
@keyframes ex-in { to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .ex-hero { grid-template-columns: 1fr; gap: 44px; padding: 54px 0 48px; }
  .ex-specimen { transform: none; max-width: 560px; }
  .ex-section { grid-template-columns: 1fr; gap: 18px; padding: 56px 0; }
  .ex-rail { position: static; flex-direction: row; align-items: baseline; gap: 12px; }
  .ex-stats { grid-template-columns: 1fr; gap: 22px; padding: 28px 0 26px; }
  .ex-stat { padding: 0; border-left: 0; }
  .ex-stat strong { font-size: 52px; }
  .ex-quotes, .ex-read { grid-template-columns: 1fr; }
  .ex-limits-inner { grid-template-columns: 1fr; gap: 34px; }
  .ex-cta { padding: 72px 0 80px; }
}

@media (max-width: 640px) {
  .ex-main { padding: 0 20px; }
  .ex-limits-inner { padding: 0 20px; }
  .ex-hero { padding-top: 40px; }
  .ex-hero h1 { font-size: 38px; }
  .ex-lede { font-size: 16.5px; }
  .ex-meta { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .ex-specimen { padding: 24px 22px 18px; }
  .ex-specimen h2 { font-size: 22px; }
  .ex-quote { padding: 22px 20px 18px; }
  .ex-quote blockquote { font-size: 20px; }
  .ex-limits { padding: 56px 0; }
  .ex-cta .ex-actions { flex-direction: column; align-items: stretch; }
  .ex-cta .button-link { width: 100%; }
}
