/* Issues list, issue page, guides list, guide page, privacy, 404 */

.page-hero { padding-bottom: 170px; }
.page-hero .dots { height: 48%; }
.page-hero + .section--tight { padding-top: 70px; }

/* ---------- Issues list ---------- */
.rows { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 28px 32px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow); text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
a.row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
a.row:active { transform: scale(0.99); }
.row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--grey); margin-bottom: 8px; }
.row p { color: var(--grey); font-size: 17px; margin-top: 6px; }
.row__go { width: 44px; height: 44px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; transition: background 0.3s var(--ease), color 0.3s; }
.row__go svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
a.row:hover .row__go { background: var(--green); color: var(--white); }
a.row:hover .row__go svg { transform: translateX(3px); }
.row--wait { background: var(--panel); box-shadow: none; grid-template-columns: auto 1fr; }
.row--wait .logo__light { margin-inline: 6px; }
.chip-tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; }
.chip-tag--soft { background: var(--tint); color: var(--deep); }

/* ---------- Issue page and guide page: the reading column ---------- */
.read-bar { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; background: var(--green); transform-origin: left; transform: scaleX(0); }
.doc { padding: 170px 0 110px; }
.doc__col { max-width: 720px; margin-inline: auto; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--grey); text-decoration: none; margin-bottom: 32px; transition: color 0.2s, gap 0.3s var(--ease); }
.back:hover { color: var(--green); gap: 12px; }
.back svg { width: 16px; height: 16px; }
.doc__title { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; margin-top: 14px; }
.doc__sub { margin-top: 18px; }
.sample-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; padding: 18px 22px; border-radius: 20px; background: var(--panel); font-size: 16px; color: var(--ink); }
.sample-note i { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--mint); }
.prose { margin-top: 48px; display: grid; gap: 22px; font-size: 19px; line-height: 1.65; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; margin-top: 44px; scroll-margin-top: 120px; }
.prose h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin-top: 10px; }
.prose ul, .prose ol { display: grid; gap: 12px; }
.prose ol { list-style: decimal; padding-left: 24px; }
.prose ol li { padding-left: 6px; }
.prose ol li::marker { font-weight: 700; color: var(--green); }
.prose ul:not(.check-list) li { position: relative; padding-left: 26px; }
.prose ul:not(.check-list) li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.prose strong { font-weight: 700; }
.prose a { color: var(--green); font-weight: 600; text-underline-offset: 4px; }
.card { padding: 30px 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); display: grid; gap: 14px; }
.card--soft { background: var(--panel); box-shadow: none; }
.card h2, .card h3 { margin-top: 0; }
.placeholder { display: grid; place-items: center; min-height: 190px; border-radius: 18px; background: var(--panel); color: var(--grey); font-size: 15px; text-align: center; padding: 20px; }
.signoff { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.signoff img { width: 64px; height: 64px; border-radius: 50%; }
.signoff strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.signoff span { font-size: 15px; color: var(--grey); }

/* numbered steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { counter-increment: step; position: relative; padding: 30px 32px 30px 92px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); display: grid; gap: 12px; scroll-margin-top: 120px; }
.step::before { content: counter(step); position: absolute; left: 30px; top: 28px; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.step h2 { margin-top: 0; font-size: 24px; }
.step p, .step li { font-size: 18px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.toc a { padding: 9px 16px; border-radius: 999px; background: var(--panel); font-size: 15px; font-weight: 600; text-decoration: none; transition: background 0.25s var(--ease), color 0.25s; }
.toc a:hover { background: var(--tint); color: var(--deep); }
.toc a.is-here { background: var(--green); color: var(--white); }

/* the prompt card with a copy button */
.prompt { border-radius: 20px; background: var(--ink); color: var(--white); overflow: hidden; }
.prompt__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 22px; font-size: 15px; font-weight: 600; color: #C9D1CC; }
.prompt__copy { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; transition: transform 0.12s ease-out, background 0.25s var(--ease); }
.prompt__copy:active { transform: scale(0.96); }
.prompt__copy svg { width: 15px; height: 15px; }
.prompt__copy .ic-done { display: none; }
.prompt__copy.is-copied { background: var(--mint); }
.prompt__copy.is-copied .ic-copy { display: none; }
.prompt__copy.is-copied .ic-done { display: block; }
.prompt pre { margin: 0; padding: 6px 22px 24px; white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 16px; line-height: 1.6; color: #E6ECE8; }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; }
.check-list b { flex: none; min-width: 52px; text-align: center; padding: 3px 10px; border-radius: 999px; font-size: 14px; background: var(--tint); color: var(--deep); }
.check-list b.is-fail { background: var(--ink); color: var(--white); }

/* ---------- Guides list ---------- */
.finder { display: grid; gap: 18px; justify-items: center; width: 100%; max-width: 640px; }
.search { width: 100%; display: flex; align-items: center; gap: 12px; padding: 6px 22px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow), 0 0 0 1.5px var(--line); transition: box-shadow 0.25s var(--ease); }
.search:focus-within { box-shadow: var(--shadow-lift), 0 0 0 2px var(--green); }
.search svg { width: 20px; height: 20px; flex: none; color: var(--grey); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; padding: 13px 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { padding: 10px 18px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 600; transition: background 0.25s var(--ease), color 0.25s, box-shadow 0.25s, transform 0.12s ease-out; }
.chip:hover { box-shadow: 0 0 0 1.5px var(--green); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--green); color: var(--white); box-shadow: 0 0 0 1.5px var(--green); }
.chip span { opacity: 0.7; margin-left: 4px; font-weight: 500; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide { position: relative; padding: 32px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start; text-decoration: none; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.3s var(--ease); }
a.guide:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.guide--live { grid-column: 1 / -1; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px; }
.guide--live > div { display: grid; gap: 14px; justify-items: start; }
.guide--soon { background: var(--panel); box-shadow: none; }
.guide p { color: var(--grey); font-size: 17px; }
.guide[hidden] { display: none; }
.guide.is-arriving { animation: pop-in 0.45s var(--pop) both; }
.guides__none { grid-column: 1 / -1; text-align: center; color: var(--grey); padding: 40px 0; }
/* the little before and after drawing on the unslop card (made in CSS, no picture file) */
.sheet-art { position: relative; height: 230px; border-radius: 20px; background: var(--panel); overflow: hidden; }
.sheet-art__page { position: absolute; top: 28px; width: 44%; bottom: -20px; border-radius: 12px 12px 0 0; background: var(--white); box-shadow: var(--shadow); padding: 18px 16px; display: grid; gap: 9px; align-content: start; transition: transform 0.6s var(--ease); }
.sheet-art__page:first-child { left: 7%; transform: rotate(-3deg); }
.sheet-art__page:last-child { right: 7%; transform: rotate(2deg); }
a.guide:hover .sheet-art__page:first-child { transform: rotate(-5deg) translateX(-4px); }
a.guide:hover .sheet-art__page:last-child { transform: rotate(0deg) translateY(-6px); }
.sheet-art__page i { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.sheet-art__page i.s { width: 60%; } .sheet-art__page i.m { width: 82%; }
.sheet-art__page i.bad { background: #16211C; opacity: 0.55; }
.sheet-art__page i.good { background: var(--mint); }
.sheet-art__page b { font-size: 14px; font-weight: 700; color: var(--grey); }

/* ---------- Privacy and 404 ---------- */
.plain { display: grid; gap: 18px; font-size: 18px; }
.plain h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 26px; }
.confirm { display: inline; padding: 2px 10px; border-radius: 999px; background: var(--tint); color: var(--deep); font-size: 15px; font-weight: 700; white-space: nowrap; }
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 140px 0 200px; }
.lost .wrap { display: grid; gap: 22px; justify-items: center; }
.lost .dots { height: 55%; }
.lost__row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

@media (max-width: 860px) {
  .doc { padding: 130px 0 80px; }
  .guides { grid-template-columns: 1fr; }
  .guide--live { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .guide { padding: 26px; }
  .row { padding: 22px; }
  .step { padding: 84px 24px 26px; }
  .step::before { left: 24px; top: 24px; }
  .card { padding: 24px; }
  .prose { font-size: 18px; }
}
.section--tight { padding-top: 20px; }
.h2--card { font-size: clamp(28px, 3vw, 38px); }
.plain { margin-top: 40px; }

@media (max-width: 860px) { .page-hero { padding-bottom: 130px; } }

/* Sign up box near the top of a guide */
.doc__join { margin: 28px 0 8px; display: grid; gap: 12px; }
.doc__join .signup { margin-inline: 0; justify-items: start; }
