/* Peachline · keep-your-login.html only. Loaded after styles.css; the homepage never loads this file.
   The homepage is a letter; this page is an office memo on the same paper. A typed memo head (To / From / Date /
   Re), a short answer with a handwritten note beside it, numbered points with hanging numbers, a ruled
   "needs / never needs" table, a tick-box list of warning signs, a cc line, then a small reply slip. */

.memo-desk { padding: 40px 0 64px; background: var(--cream-2); }
.memo {
  max-width: 880px; margin: 0 auto;
  padding: 26px 20px 40px;
  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);
}

/* Memo head: a heavy rule over a thin one, like a printed memo pad; the fields on hairlines. */
.memo__head { padding-bottom: 6px; border-bottom: 2px solid var(--ink); box-shadow: 0 4px 0 -2px var(--paper), 0 5px 0 -2px var(--ink); }
.memo__kind { font: 650 clamp(2.1rem, 9vw, 3.4rem)/1 var(--display); font-variation-settings: 'SOFT' 100; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.memo__fields { margin: 0; }
.memo__fields > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: baseline; column-gap: 12px; padding: 10px 0 9px; border-bottom: 1px solid var(--line); }
.memo__fields > div:last-child { border-bottom: 0; }
.memo__fields dt { font: 700 12.5px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.memo__fields dt::after { content: ':'; }
.memo__fields dd { margin: 0; font: 500 16px/1.5 var(--body); color: var(--ink-2); min-width: 0; }
.memo__re { padding-top: 14px !important; }
.memo__re dd { color: var(--ink); }
.memo__re h1 { font-size: clamp(1.9rem, 7.4vw, 3.1rem); line-height: 1.06; letter-spacing: -.025em; }

/* The short answer: set larger, with a handwritten "short answer" beside it. */
.memo__short { position: relative; margin-top: 30px; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); }
.memo__short-label { font-size: 24px; line-height: 1; color: var(--accent); transform: rotate(-4deg); transform-origin: 0 100%; margin-bottom: 8px; }
.memo__short-text { font: 500 clamp(20px, 4.6vw, 24px)/1.4 var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 24; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.memo__intro { margin-top: 24px; color: var(--ink-2); }

/* Numbered points: the number hangs in the margin, as on a typed memo. */
.points { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: pt; }
.point { --hang: 34px; counter-increment: pt; position: relative; margin-top: 40px; padding-left: var(--hang); scroll-margin-top: 90px; }
.point h2 { font-size: clamp(1.5rem, 5.4vw, 2rem); letter-spacing: -.02em; line-height: 1.15; }
.point h2::before {
  content: counter(pt) '.'; position: absolute; left: 0; width: calc(var(--hang) - 10px);
  font: 600 1em/1.15 var(--display); font-variation-settings: 'SOFT' 100; color: var(--accent);
}
.point p { margin-top: .9em; color: var(--ink-2); text-wrap: pretty; }
.point h2 + p { margin-top: .7em; }

/* Needs / never needs: a ruled two-column table, stacked with labels on phones. */
.needs { 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; }
.needs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.needs tr { display: block; padding: 12px 0; }
.needs tbody tr + tr { border-top: 1px solid var(--line); }
.needs td { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; padding: 3px 0; color: var(--ink); }
.needs td::before { content: attr(data-label); font: 700 11.5px/1.9 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.needs td:first-child::before { color: var(--leaf); }
.needs td:last-child::before { color: var(--accent); }
.needs td:last-child { color: var(--ink-2); }
@media (min-width: 640px) {
  .needs thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: table-header-group; }
  .needs tr { display: table-row; padding: 0; }
  .needs th, .needs td { display: table-cell; width: 50%; padding: 12px 16px 11px 0; text-align: left; vertical-align: baseline; }
  .needs th + th, .needs td + td { padding-left: 18px; border-left: 1px solid var(--line); }
  .needs td::before { content: none; }
  .needs thead th { font: 700 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--ink); }
  .needs thead th:first-child { color: var(--leaf); }
  .needs thead th:last-child { color: var(--accent); }
}

/* The three questions: lettered a, b, c in italic terracotta, hung from a pale rule. */
.asks { list-style: none; margin: 18px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--accent-soft); counter-reset: ask; }
.asks li { counter-increment: ask; position: relative; padding: 4px 0 4px 30px; font: 500 18px/1.45 var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 18; color: var(--ink); }
.asks li + li { margin-top: 6px; }
.asks li::before { content: counter(ask, lower-alpha) ')'; position: absolute; left: 0; top: 4px; font-style: italic; font-weight: 600; color: var(--accent); }

/* Warning signs: a tick-box list. The boxes are empty on purpose: you tick them. */
.ticks { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 11px 0 11px 36px; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 18px; height: 18px; border: 1.5px solid var(--ink-2); border-radius: 2px; background: #fff; }
.ticks li:nth-child(odd)::before { transform: rotate(-2deg); }
.ticks li:nth-child(3n)::before { transform: rotate(1.5deg); }

/* For the record, the sign-off and the cc line. */
.memo__ours { margin-top: 44px; padding: 16px 18px; background: var(--peach); border-radius: 2px; color: var(--ink); font: 500 17px/1.6 var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 14; }
.memo__sign { margin-top: 32px; font: 400 19px/1.5 var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 14; }
.memo__sign span { font-weight: 600; color: var(--accent); }
.memo__cc { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--line); font: 500 15px/1.5 var(--body); color: var(--muted); }
.memo__cc span { margin-right: 6px; font: italic 600 16px/1 var(--display); color: var(--accent); }

@media (min-width: 760px) {
  .memo-desk { padding: 64px 0 88px; }
  .memo { padding: 40px 56px 52px; font-size: 17.5px; }
  .memo__fields > div { grid-template-columns: 84px minmax(0, 1fr); }
  .memo__fields dd { font-size: 17px; }
  .point { --hang: 52px; margin-top: 48px; }
  .memo__short { padding-left: 24px; }
}
@media (min-width: 1024px) {
  .memo-desk { padding: 88px 0 112px; }
  .memo { padding: 52px 80px 60px; }
  .memo__short { margin-top: 40px; }
  .point { --hang: 0px; }
  .point h2::before { left: auto; right: calc(100% + 18px); width: auto; text-align: right; }
}

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

/* Questions: margin-note style (a pale terracotta rule, the question in italic), two columns from 900px. */
.memo-faq { padding: 64px 0 80px; }
.qs { margin: 0; display: grid; gap: 26px; max-width: 1040px; }
.qs > div { padding: 2px 0 4px 18px; border-left: 2px solid var(--accent-soft); }
.qs dt { font: italic 600 19px/1.35 var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 18; color: var(--accent); }
.qs dd { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
@media (min-width: 900px) {
  .memo-faq { padding: 104px 0 112px; }
  .qs { grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 34px; }
}

/* The questions share the memo's column, so the page reads as one stack of paper. */
.memo-faq .wrap { max-width: calc(880px + var(--gutter) * 2); }

/* Phones: the number sits in the heading itself, so the paragraphs keep the full width of the sheet. */
@media (max-width: 759px) {
  .point { padding-left: 0; }
  .point h2::before { position: static; display: inline; margin-right: .3em; }
  /* The Re line stacks: the label above, the question across the full width. */
  .memo__re { grid-template-columns: minmax(0, 1fr) !important; row-gap: 6px; }
}
