/* Peachline · account-checklist.html only. Loaded after styles.css; no other page loads this file.
   The homepage is a letter and keep-your-login is a memo; this page is a printed check sheet on the same paper.
   A form head with drawn blanks (page, checked on), three index tabs, then each round of checks under a rubber-stamp
   label: numbered lines on hairline rules, an empty box at the end of each line for your own tick. The monthly
   statement check is a ruled three-column tally, stacked with labels on phones. Then the reply slip and questions. */

.ck-desk { padding: 40px 0 64px; background: var(--cream-2); }
.ck {
  max-width: 880px; margin: 0 auto;
  padding: 24px 16px 36px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(46, 31, 26, .35);
  color: var(--ink);
}

/* Form head: the title over a heavy rule, then two blanks drawn on a baseline, as on a printed sheet. */
.ck__head { padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.ck__head h1 { margin-top: 12px; font-size: clamp(1.9rem, 7.2vw, 3rem); line-height: 1.07; letter-spacing: -.025em; }
.ck__blanks { display: grid; gap: 10px; margin-top: 22px; }
.ck__blanks p { display: flex; align-items: flex-end; gap: 10px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ck__line { flex: 1; min-width: 60px; height: 1px; background: var(--ink-2); opacity: .5; }

.ck__lede { margin-top: 24px; font: 500 clamp(18.5px, 4.4vw, 21px)/1.5 var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 20; color: var(--ink); text-wrap: pretty; }
.ck__note { margin-top: 10px; font-size: 24px; line-height: 1; color: var(--accent); transform: rotate(-3deg); transform-origin: 0 50%; }

/* Index tabs: three paper tabs on a shared baseline; the round's number above its name. */
.ck__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 28px; border-bottom: 1px solid var(--ink); }
.ck__tabs a {
  display: block; min-height: 44px; padding: 9px 10px 8px;
  border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0;
  background: var(--cream-2); color: var(--ink); text-decoration: none;
  font: 600 14.5px/1.3 var(--display); font-variation-settings: 'SOFT' 100;
  transition: background-color 160ms var(--ease-out);
}
.ck__tabs a:nth-child(2) { background: var(--peach); }
.ck__tabs span { display: block; font: 700 10.5px/1.5 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .ck__tabs a:hover { background: var(--paper); } }

/* A round: a rubber-stamp label, then the question heading and its checks. */
.round { position: relative; margin-top: 48px; scroll-margin-top: 90px; }
.round__tab {
  display: inline-block; margin-bottom: 14px; padding: 4px 10px 3px;
  border: 2px solid var(--accent); border-radius: 3px;
  font: 700 12.5px/1.4 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  transform: rotate(-2.5deg); opacity: .9;
}
.round:nth-of-type(even) .round__tab { transform: rotate(1.5deg); }
.round h2 { font-size: clamp(1.5rem, 5.4vw, 2rem); line-height: 1.15; letter-spacing: -.02em; }
.round h2 ~ p { margin-top: .8em; color: var(--ink-2); text-wrap: pretty; }
.round h2 ~ p.ck__pencil { color: var(--accent); }

/* The checks: numbered lines on hairlines, an empty box at the end of each for the reader's own tick. */
.checks-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: ck; }
.checks-list li {
  counter-increment: ck; position: relative;
  padding: 13px 32px 13px 32px; border-bottom: 1px solid var(--line);
  color: var(--ink-2); line-height: 1.6; text-wrap: pretty;
}
.checks-list li::before {
  content: counter(ck); position: absolute; left: 0; top: 13px; width: 22px; text-align: right;
  font: 600 18px/1.45 var(--display); font-variation-settings: 'SOFT' 100; font-variant-numeric: tabular-nums; color: var(--accent);
}
.checks-list li::after {
  content: ''; position: absolute; right: 2px; top: 17px; width: 20px; height: 20px;
  border: 1.5px solid var(--ink-2); border-radius: 2px; background: #fff;
}
.checks-list li:nth-child(even)::after { transform: rotate(2deg); }
.checks-list li:nth-child(3n)::after { transform: rotate(-1.5deg); }
.checks-list b { color: var(--ink); font-weight: 700; }

/* Monthly: a handwritten reminder and a ruled three-column tally. */
.ck__pencil { margin-top: 14px !important; font-size: 23px; line-height: 1.1; transform: rotate(-2deg); transform-origin: 0 50%; }
.tally { width: 100%; margin-top: 22px; border-collapse: collapse; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 16px; line-height: 1.5; }
.tally caption { caption-side: top; padding-bottom: 8px; text-align: left; font: 700 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tally thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tally tr { display: block; padding: 12px 0; }
.tally tbody tr + tr { border-top: 1px solid var(--line); }
.tally td { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 12px; padding: 3px 0; color: var(--ink-2); }
.tally td:first-child { color: var(--ink); font-weight: 600; }
.tally td::before { content: attr(data-label); font: 700 11px/1.95 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tally td:last-child::before { color: var(--leaf); }
@media (min-width: 640px) {
  .tally thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: table-header-group; }
  .tally tr { display: table-row; padding: 0; }
  .tally th, .tally td { display: table-cell; padding: 12px 16px 11px 0; text-align: left; vertical-align: baseline; }
  .tally th:first-child, .tally td:first-child { width: 28%; }
  .tally th:nth-child(2), .tally td:nth-child(2) { width: 28%; }
  .tally th + th, .tally td + td { padding-left: 16px; border-left: 1px solid var(--line); }
  .tally td::before { content: none; }
  .tally thead th { font: 700 11.5px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
  .tally thead th:last-child { color: var(--leaf); }
}

.ck__ours { margin-top: 26px !important; padding: 16px 18px; background: var(--peach); border-radius: 2px; color: var(--ink) !important; font: 500 17px/1.6 var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 14; }
.ck__close { margin-top: 22px !important; }
.ck__next { margin-top: 44px; padding-top: 14px; border-top: 1px solid var(--line); font: 500 16px/1.6 var(--body); color: var(--ink-2); }
.ck__next a { color: var(--ink); font-weight: 700; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (min-width: 760px) {
  .ck-desk { padding: 64px 0 88px; }
  .ck { padding: 40px 56px 52px; font-size: 17.5px; }
  .ck__blanks { grid-template-columns: 1.4fr 1fr; column-gap: 28px; }
  .ck__tabs { gap: 8px; }
  .ck__tabs a { padding: 10px 16px 9px; font-size: 17px; }
  .ck__tabs span { font-size: 11px; }
  .round { margin-top: 56px; }
  .checks-list li { padding-left: 44px; padding-right: 48px; }
  .checks-list li::before { width: 26px; }
}
@media (min-width: 1024px) {
  .ck-desk { padding: 88px 0 112px; }
  .ck { padding: 52px 80px 60px; }
  /* The stamp moves into the left margin, beside its heading. */
  .round__tab { position: absolute; right: calc(100% + 14px); top: 6px; margin: 0; padding: 3px 7px 2px; font-size: 10.5px; letter-spacing: .16em; }
}

/* The reply slip, as on the homepage, smaller and pointing to the form there. */
.ck-reply { padding: 56px 0 64px; background: var(--peach); }
.ck-slip { max-width: 760px; margin: 0 auto; }
.ck-slip__body { padding: 22px 22px 28px; }
.ck-slip__body h2 { font-size: clamp(1.8rem, 6.6vw, 2.6rem); }
.ck-slip__body p { margin-top: 12px; color: var(--ink-2); }
.ck-slip__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 22px; }
.ck-slip__actions .link-arrow { align-self: flex-start; }
@media (min-width: 640px) {
  .ck-slip__body { padding: 30px 36px 36px; }
  .ck-slip__actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px 26px; }
  .ck-slip__actions .link-arrow { align-self: auto; }
}
@media (min-width: 1024px) { .ck-reply { padding: 88px 0 96px; } }

/* Questions: each on a hairline with a small terracotta "Q", two columns from 900px. */
.ck-faq { padding: 64px 0 80px; }
.ck-faq .wrap { max-width: calc(880px + var(--gutter) * 2); }
.ck-qs { margin: 0; display: grid; gap: 0 56px; }
.ck-qs > div { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.ck-qs dt { position: relative; padding-left: 26px; font: 600 19px/1.35 var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 18; color: var(--ink); }
.ck-qs dt::before { content: 'Q'; position: absolute; left: 0; top: 0; font-style: italic; color: var(--accent); }
.ck-qs dd { margin: 8px 0 0; padding-left: 26px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
@media (min-width: 900px) {
  .ck-faq { padding: 104px 0 112px; }
  .ck-qs { grid-template-columns: 1fr 1fr; }
}
