/* Handover — page rules on top of ../../styles.css (tokens, faces, buttons, status, footer).
   Calm hero: words + one product figure on the ground. Mobile-first, 8px grid. */

/* ---------- hero ---------- */
.ph { padding: 40px 0 64px; }
.ph-grid { display: grid; gap: 40px; }
.ph-copy h1 { font-size: 44px; line-height: 1.02; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.ph-copy .lead { margin-top: 20px; max-width: 54ch; }
.ph-copy .actions { margin-top: 28px; }

/* the stage: committee terms as tonal bands, the record's line running unbroken beneath them */
.stage { position: relative; margin: 0; padding: 16px 12px 56px; border-radius: var(--r-4); background: var(--sunk); isolation: isolate; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); }
.terms { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(3, 1fr); }
.terms i { display: block; }
.terms i:nth-child(2) { background: #ece9e3; }
.terms i + i { box-shadow: inset 1px 0 0 var(--line-2); }
.line { position: absolute; left: 0; right: 0; bottom: 20px; height: 24px; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink-3); font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.line span { position: relative; padding: 6px 0 0 12px; }
.line span::before { content: ""; position: absolute; left: 0; top: -5px; width: 1.5px; height: 8px; background: var(--ink-3); }
.line span:first-child::before { display: none; }

/* ---------- the app window (Home's palette idiom) ---------- */
.win { position: relative; background: var(--surface); border-radius: var(--r-3); overflow: hidden; color: var(--ink);
  font-size: 15px; line-height: 1.45; box-shadow: 0 0 0 1px rgba(24,23,21,.08), var(--sh-3); }
.win-head { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); }
.win-title { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.win-meta { font-size: 14px; color: var(--ink-3); }
.grp { padding: 16px 18px 4px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.rows { padding: 0 18px 4px; }
.r { display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.r:last-child { border-bottom: 0; }
.r .ic, .wait .ic { width: 18px; height: 18px; color: var(--ink-3); margin-top: 2px; }
.r-b { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.r-t { color: var(--ink); font-weight: 500; }
.r-m { font-size: 14px; color: var(--ink-3); }
.chip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--blue-press); background: var(--blue-tint);
  padding: 1px 7px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--blue-tint-line); }
.win-month .rows { padding-bottom: 8px; }
.wait { display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; margin: 8px 12px 16px; padding: 12px 12px 14px; border-radius: var(--r-2);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); }
.wait .ic { color: var(--ink); }
.wait .r-t strong { font-weight: 700; }
.wait .r-t { color: var(--ink-2); font-weight: 400; }
.needs-m { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; color: var(--ink); }

/* ---------- reading section ---------- */
.read { display: grid; gap: 28px; }
.read-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.read-body { display: flex; flex-direction: column; gap: 24px; }
.read-lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
.read-later { padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 20px; line-height: 1.45; letter-spacing: -.012em; font-weight: 500; color: var(--ink); max-width: 40ch; text-wrap: pretty; }
/* the before, as a thing: the shoebox, hairline-framed at the system's 8px */
.read-fig { margin: 0; }
.read-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 55%; border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line); background: var(--sunk); }

/* ---------- keep going section ---------- */
.keep { display: grid; gap: 40px; }
.keep-copy { order: -1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.keep-copy p { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }

/* ---------- ruled columns ---------- */
.sec-gains { padding-top: 16px; }
.gains { display: grid; }
.gain { display: flex; flex-direction: column; gap: 10px; padding: 24px 0 28px; border-top: 1px solid var(--ink); }
.gain p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }

/* ---------- final + also ---------- */
.final-h { max-width: 14ch; }
.also { border-top: 1px solid var(--line); }
.also-in { display: flex; flex-wrap: wrap; gap: 0 32px; padding-top: 16px; padding-bottom: 16px; }
.also + .foot, main + .foot { border-top: 1px solid var(--line); }

/* ---------- >= 760 ---------- */
@media (min-width: 760px) {
  .ph { padding: 64px 0 88px; }
  .ph-copy h1 { font-size: 60px; }
  .stage { padding: 32px 32px 72px; }
  .line { bottom: 28px; }
  .line span { padding-left: 16px; }
  .r-b { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; }
  .r-m { white-space: nowrap; }
  .rows:not(.rows-2) .r-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rows-2 .r-b, .wait .r-b { flex-direction: column; gap: 1px; }
  .rows-2 .r-m, .wait .r-m { white-space: normal; }
  .gains { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
}

/* ---------- >= 1080 ---------- */
@media (min-width: 1080px) {
  .ph { padding: 80px 0 112px; }
  .ph-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .ph-copy h1 { font-size: 60px; line-height: 1; letter-spacing: -.042em; }
  .ph-copy .lead { font-size: 20px; margin-top: 28px; }
  .ph-copy .actions { margin-top: 36px; }
  .stage { padding: 24px 24px 76px; }
  .line { bottom: 32px; }

  .read { grid-template-columns: 5fr 6fr; grid-template-rows: auto 1fr; grid-template-areas: "head fig" "body fig"; column-gap: 72px; row-gap: 32px; align-items: start; }
  .read-head { grid-area: head; }
  .read-body { grid-area: body; }
  .read-fig { grid-area: fig; }
  .read-lead { font-size: 20px; }
  .read-later { font-size: 22px; }

  .keep { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
  .keep-copy { order: 0; }
  .keep-copy p { font-size: 20px; }

  .sec-gains { padding-top: 24px; }
  .gains { column-gap: 48px; }
  .gain { padding-top: 28px; }

  .also-in { padding-top: 20px; padding-bottom: 20px; }
}
