/* Home: Ishan's white-paper landing page, section by section. Values are from his spec; only
 * the motion and the links to the scorecard are new. */

.section { padding-top: var(--section); }
.section--tight { padding-top: clamp(40px, 4.5vw, 64px); }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.narrow { max-width: 20ch; }
.narrow-22 { max-width: 22ch; }
.measure-640 { max-width: 640px; }
.measure-460 { max-width: 460px; }

/* ───── 01 hero ───── */

.hero { padding-top: clamp(40px, 5.5vw, 80px); }
.hero-grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 80px); align-items: flex-start; }
.hero-copy { flex: 7 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-title { max-width: 14ch; }
.hero-lede { max-width: 580px; }
.byline { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.checklist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; max-width: 600px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .check { margin-top: 2px; }
.checklist p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.checklist strong { color: var(--ink); font-weight: 700; }
.hero-cover { padding: 20px 0 0 12px; perspective: 900px; }
.hero-cover img {
  display: block; width: clamp(150px, 16vw, 196px); height: auto;
  border-radius: 4px; border: 1px solid var(--card-border);
  transform: rotate(-4deg); box-shadow: var(--shadow-lift);
  transition: box-shadow .3s ease; will-change: transform;
}
.hero-cover img:hover { box-shadow: 0 4px 8px rgba(17, 17, 17, .08), 0 28px 48px rgba(17, 17, 17, .18); }

.form-slot--desktop { flex: 5 1 360px; min-width: 0; }
.form-slot--mobile:empty { display: none; }
#get-paper { scroll-margin-top: 24px; }
@media (max-width: 999px) {
  .form-slot--desktop:empty { display: none; }
  .form-slot--mobile { margin: 8px 0; }
}
.form-card.is-glow { animation: glow 1.4s var(--ease-out); }
@keyframes glow {
  0% { box-shadow: var(--shadow-card), 0 0 0 0 rgba(0, 206, 62, .0); }
  30% { box-shadow: var(--shadow-card), 0 0 0 6px rgba(0, 206, 62, .28); }
  100% { box-shadow: var(--shadow-card), 0 0 0 0 rgba(0, 206, 62, 0); }
}

/* ───── 02 proof strip ───── */

.proof { padding-top: var(--section); }
.proof-grid {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 40px;
}
.stat { padding: 36px 0; display: flex; flex-direction: column; gap: 10px; }
.stat-num {
  margin: 0; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(44px, 2rem + 1.6vw, 56px); line-height: 1; letter-spacing: -0.03em;
  color: var(--green-text); font-variant-numeric: tabular-nums;
}
.stat-copy { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); max-width: 30ch; }

/* ───── splits and art ───── */

.split { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 6vw, 96px); }
.split--center { align-items: center; }
.split--top { align-items: flex-start; }
.split-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-copy .body { max-width: 600px; }
.art-panel { min-width: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--card-border); }
.art-panel img { display: block; width: 100%; height: auto; }
.art-panel--440 { flex: 0 1 440px; }
.art-panel--260 { flex: 0 1 260px; }
.art-panel--168 { flex: 0 0 168px; }

/* ───── 04 eight moments ───── */

.moments-head { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.moments-head .split-copy { flex: 1 1 520px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 13px; color: var(--muted); }
.legend > span { display: flex; align-items: center; gap: 8px; }
.moments {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
@media (max-width: 1100px) { .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .moments { grid-template-columns: 1fr; } }
.moment {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r-card);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 200px;
  transition: translate .3s var(--ease-out), box-shadow .3s ease, background-color .3s ease;
}
.moment:hover { translate: 0 -3px; box-shadow: 0 12px 28px rgba(17, 17, 17, .07); background: #F0EEE8; }
.moment h3 { margin: 4px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.2; }
.moment p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.moment .tag { margin-top: auto; align-self: flex-start; }
.moment .num-circle { transition: scale .35s var(--ease-out); }
.moment:hover .num-circle { scale: 1.08; }

/* ───── 05 pull-out ───── */

.pullout {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r-card);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 5vw, 80px); align-items: flex-start;
}
.pullout-head { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pullout > .body { flex: 1 1 420px; min-width: 0; }
.eyebrow--dark { color: var(--green-dark); }

/* ───── 06 lever table ───── */

.table-card {
  background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r-card);
  padding: 24px 0 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0;
}
.table-title { margin: 0; padding: 0 24px; font-size: 16px; font-weight: 600; color: var(--ink); }
.table-note { margin: 0; padding: 0 24px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lever-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.lever-table thead tr { background: var(--card); }
.lever-table thead th { text-align: left; padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--body); }
.lever-table thead th:first-child { padding-left: 24px; width: 34%; }
.lever-table tbody tr { border-bottom: 1px solid #E6E3DB; transition: background-color .2s ease; }
.lever-table tbody tr:last-child { border-bottom: 0; }
.lever-table tbody tr:hover { background: #FAF9F6; }
.lever-table tbody th { text-align: left; padding: 14px 24px; font-weight: 600; color: var(--ink); }
.lever-table td { padding: 14px 16px; color: var(--ink); }
.lever-table td:last-child { padding-right: 24px; }
.lvl-high { color: var(--green-dark) !important; font-weight: 700; }
.lvl-low { color: var(--grey) !important; }
.lvl-high > span { position: relative; display: inline-block; }
.lvl-high > span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px;
  background: var(--green-bright); transform: scaleX(var(--u, 0)); transform-origin: left;
}

/* ───── 07 the test ───── */

.test-copy { flex: 1 1 360px; }
.test-card {
  flex: 1.4 1 520px; min-width: 0; background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--r-card); padding: clamp(16px, 2.4vw, 28px);
  display: flex; flex-direction: column; gap: 10px;
}
.test-row {
  background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r-row);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 10px;
  transition: translate .25s var(--ease-out), border-color .25s ease;
}
a.test-row { text-decoration: none; color: inherit; }
.test-row:not(.test-row--ghost):hover { translate: 4px 0; border-color: #C9C4B8; }
.eyebrow--sm { font-size: 11px; }
.test-q { display: flex; gap: 12px; align-items: center; }
.test-q p { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 600; }
.num-circle--sm { width: 28px; height: 28px; font-size: 13px; }
.test-blur { position: relative; display: flex; flex-direction: column; gap: 10px; }
.test-row--ghost { flex-direction: row; align-items: center; gap: 12px; filter: blur(3px); opacity: .7; }
.test-row--ghost2 { opacity: .45; }
.ghost-line { height: 12px; border-radius: 999px; background: var(--rule); }
.test-lock { display: flex; gap: 12px; align-items: flex-start; padding: 10px 4px 4px; }
.test-lock svg { flex: none; margin-top: 1px; }
.test-lock p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.test-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 6px 4px 4px; }
.test-alt { font-size: 14px; font-weight: 600; color: var(--green-dark); text-underline-offset: 3px; }

/* ───── 08 audience ───── */

.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.audience-card {
  background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r-card); padding: 28px;
  transition: translate .3s var(--ease-out), box-shadow .3s ease;
}
.audience-card:hover { translate: 0 -3px; box-shadow: 0 12px 28px rgba(17, 17, 17, .06); }
.audience-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.audience-card strong { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--ink); }

/* ───── 09 closing ───── */

.closing { margin-top: var(--section); background: var(--green-dark); color: var(--white); overflow: hidden; }
.closing-grid { padding: var(--section) 0; display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.closing-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.closing-title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(32px, 1.4rem + 1.8vw, 48px); line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
.closing-copy > p:not(.closing-alt) { margin: 0; font-size: 18px; line-height: 1.6; color: var(--bg); max-width: 520px; text-wrap: pretty; }
.closing .btn { margin-top: 8px; }
.closing-alt { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--rule); }
.closing-alt a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.closing-alt a:hover { color: var(--green-bright); }
.closing-art { flex: 0 1 440px; min-width: 0; border-radius: var(--r-card); overflow: hidden; }
.closing-art img { display: block; width: 100%; height: auto; }

.site-footer { margin-top: 0; }
