:root {
  --paper: #f3efe6;
  --paper-2: #ebe5d7;
  --ink: #181715;
  --ink-2: #48443d;
  --ink-3: #857e70;
  --rule: #cfc7b6;
  --accent: #c8401e;
  --accent-ink: #9e2f13;
  --hi: #f4dc86;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: 28px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.55 var(--serif);
  font-optical-sizing: auto;
  min-height: 100vh;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
img, video, iframe { max-width: 100%; display: block; }
::selection { background: var(--hi); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.mono, .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  line-height: 1.5;
}
.label { text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.muted { color: var(--ink-3); }

/* ---- top bar ---- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--ink);
}
.mark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 500 19px/1 var(--serif); letter-spacing: -.01em; }
.mark i { font-style: normal; color: var(--accent); margin: 0 1px; }
.mark:hover { color: var(--ink); }
#nav { display: flex; align-items: center; gap: 22px; font-family: var(--mono); font-size: 13px; }
#nav a { text-decoration: none; }
#nav a:hover { text-decoration: underline; }
.nav-me { position: relative; }
.nav-me > button { background: none; border: 0; padding: 0; cursor: pointer; display: flex; }
.menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 20;
  min-width: 200px; background: var(--paper); border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 13px;
}
.menu a, .menu button {
  display: block; width: 100%; text-align: left; padding: 10px 14px; background: none; border: 0;
  border-bottom: 1px solid var(--rule); text-decoration: none; cursor: pointer;
}
.menu > :last-child { border-bottom: 0; }
.menu a:hover, .menu button:hover { background: var(--paper-2); color: var(--ink); }

main { outline: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 700px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font: 500 14px/1.2 var(--mono); cursor: pointer; text-decoration: none; border-radius: 1px;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.small { padding: 6px 11px; font-size: 12px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-family: var(--mono); font-size: 13px; }
.link-btn:hover { color: var(--accent); }
.link-btn.danger { color: var(--accent-ink); }

/* ---- home ---- */
.home { padding-top: clamp(40px, 9vh, 110px); padding-bottom: 80px; }
.dateline { display: flex; justify-content: space-between; border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin-bottom: 34px; }
.ask-title {
  font-weight: 400; font-size: clamp(40px, 6.4vw, 78px); line-height: 1; letter-spacing: -.025em;
  margin: 0 0 30px; max-width: 13ch;
}
.ask-title em { font-style: italic; color: var(--accent); }
.ask {
  display: flex; align-items: stretch; border: 1px solid var(--ink); background: #fbf9f4; max-width: 820px;
}
.ask input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 18px 20px; font-size: 22px; outline: none;
}
.ask input::placeholder { color: #a39c8d; font-style: italic; }
.ask button {
  border: 0; border-left: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  padding: 0 26px; font: 500 14px var(--mono); cursor: pointer;
}
.ask button:hover { background: var(--accent); }
.ask-hint { margin-top: 12px; max-width: 820px; }

.below { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; margin-top: 76px; border-top: 2px solid var(--ink); }
.below > section { padding-top: 18px; }
.below > section + section { border-left: 1px solid var(--rule); padding-left: 32px; margin-left: 32px; }
.below h2 { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.index { list-style: none; margin: 0; padding: 0; }
.index li { border-bottom: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 10px; padding: 11px 0; text-decoration: none; }
.index .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.index .q { font-size: 19px; line-height: 1.3; }
.index a:hover .q { text-decoration: underline; text-underline-offset: 4px; }
.index .c { font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.creators { list-style: none; margin: 0; padding: 0; }
.creators li { border-bottom: 1px solid var(--rule); }
.creators a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; }
.creators .who b { display: block; font-weight: 500; font-size: 17px; line-height: 1.2; }
.creators .who span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty-note { font-style: italic; color: var(--ink-3); padding: 12px 0; }

.latest .ask-title { font-size: clamp(36px, 5.4vw, 64px); max-width: 16ch; margin-bottom: 14px; }
.latest .below { margin-top: 40px; grid-template-columns: 1.6fr 1fr; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 1fr 112px; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.feed li.nocover { grid-template-columns: 1fr; }
.feed h3 { margin: 0 0 8px; font-weight: 500; font-size: 22px; line-height: 1.2; }
.feed h3 a { text-decoration: none; }
.feed h3 a:hover { text-decoration: underline; }
.feed .answers { margin: 0 0 4px; }
.feed img { width: 112px; height: 80px; object-fit: cover; border: 1px solid var(--ink); }

/* ---- home feed ---- */
.welcome { border-bottom: 1px solid var(--ink); background: #ece6d8; }
.welcome .wrap { padding-top: 64px; padding-bottom: 56px; }
.welcome h1 { font-weight: 400; font-size: clamp(42px, 6.6vw, 86px); line-height: .98; letter-spacing: -.03em; margin: 14px 0 20px; max-width: 13ch; }
.welcome h1 em { color: var(--accent); }
.welcome .lede { font-size: 21px; line-height: 1.45; color: var(--ink-2); max-width: 36ch; margin: 0 0 28px; }
.welcome .acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.welcome .btn { padding: 13px 26px; font-size: 15px; }
.know { border-bottom: 1px solid var(--ink); background: var(--paper); }
.know-top { background: #ece6d8; }
.know-top .know-in { padding-top: 72px; padding-bottom: 64px; align-items: center; }
.know h1 { font-weight: 400; font-size: clamp(42px, 6vw, 80px); line-height: .98; letter-spacing: -.03em; margin: 14px 0 20px; }
.know-top .lede { font-size: 20px; }
@media (max-width: 860px) { .know-top .know-in { padding-top: 44px; padding-bottom: 40px; } }
.know-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 48px; align-items: start; }
.know h2 { font-weight: 400; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.02; letter-spacing: -.025em; margin: 12px 0 16px; }
.know .lede { font-size: 18px; line-height: 1.5; color: var(--ink-2); margin: 0 0 22px; max-width: 44ch; }
.know .acts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.know .acts .mono { font-size: 12px; }
.know-points { list-style: none; counter-reset: k; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.know-points li { counter-increment: k; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--rule); }
.know-points li::before { content: '0' counter(k); grid-row: span 2; font: 500 13px var(--mono); color: var(--accent); padding-top: 4px; }
.know-points b { font-weight: 500; font-size: 19px; }
.know-points span { color: var(--ink-2); font-size: 15px; line-height: 1.45; margin-top: 2px; }
.side-know { border-top: 2px solid var(--ink); padding-top: 14px; }
.side-know h3 { margin: 8px 0 6px; font-weight: 500; font-size: 19px; line-height: 1.2; }
.side-know p:not(.label) { margin: 0 0 10px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.know-desk { border-left: 3px solid var(--accent); padding: 2px 0 2px 16px; margin: 14px 0 6px; }
.know-desk-h { font-size: 22px; font-weight: 500; margin: 0; letter-spacing: -.01em; }
.know-desk .panel-sub { margin-top: 6px; }
@media (max-width: 860px) { .know-in { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 36px; } }
.feedpage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-top: 28px; padding-bottom: 90px; align-items: start; }
.feedtabs { display: flex; gap: 26px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; position: sticky; top: 0; background: var(--paper); z-index: 4; }
.feedtabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 0 12px; font: 500 14px var(--mono); color: var(--ink-3); cursor: pointer; }
.feedtabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.feedtabs button:hover { color: var(--ink); }
.topic-on { font-size: 13px; color: var(--ink-2); margin: 14px 0 4px; }
.topic-on b { color: var(--ink); font-weight: 500; }
.stories { list-style: none; margin: 0; padding: 0; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.story:not(:has(.s-cover)) { grid-template-columns: minmax(0, 1fr); }
.s-by { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 13px var(--mono); }
.s-by .av.s { width: 22px; height: 22px; font-size: 9px; }
.s-topic { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.s-topic:hover { color: var(--accent); }
.story h2 { margin: 0 0 6px; font-weight: 600; font-size: 25px; line-height: 1.18; letter-spacing: -.012em; }
.story h2 a { text-decoration: none; }
.story h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.s-sum { margin: 0 0 12px; font-size: 17px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-sum.q { font-family: var(--mono); font-size: 13px; }
.s-sum.q q { font: italic 16px var(--serif); color: var(--ink); }
.s-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font: 12px var(--mono); color: var(--ink-3); }
.s-meta svg { vertical-align: -1px; }
.s-meta .s-share { font-size: 12px; margin-left: auto; }
.s-cover img { width: 160px; height: 107px; object-fit: cover; border: 1px solid var(--ink); display: block; }
.feed-empty { padding: 50px 0; }
.feed-empty h2 { font-weight: 400; font-size: 30px; margin: 0 0 8px; }
.feed-empty p { color: var(--ink-2); margin: 0 0 20px; }
#more { margin-top: 26px; }
.feed-side { position: sticky; top: 24px; display: grid; gap: 34px; }
.feed-side h3.label { margin: 0 0 12px; color: var(--ink); }
.side-card { border: 1px solid var(--ink); background: #fbf9f4; padding: 20px; box-shadow: 6px 6px 0 var(--ink); }
.side-card h3 { margin: 0 0 8px; font-weight: 500; font-size: 20px; line-height: 1.2; }
.side-card p { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips .chip { background: #fbf9f4; cursor: pointer; padding: 6px 12px; border-radius: 999px; font-size: 12px; }
.topic-chips .chip:hover { border-color: var(--ink); }
.topic-chips .chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.feed-side .creators a { grid-template-columns: 36px 1fr; }
.feed-side .creators .av { width: 36px; height: 36px; }

/* ---- avatars ---- */
.av {
  width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center; overflow: hidden;
  font: 500 15px/1 var(--mono); color: var(--paper); background: var(--ink); border-radius: 1px;
}
.av img { width: 100%; height: 100%; object-fit: cover; }
.av.s { width: 28px; height: 28px; font-size: 11px; }
.av.l { width: 132px; height: 132px; font-size: 40px; }

/* ---- search results ---- */
.results-head { padding: 26px 0 18px; border-bottom: 2px solid var(--ink); }
.results-head .ask input { font-size: 19px; padding: 13px 16px; }
.results-head p { margin: 14px 0 0; }
.results { list-style: none; margin: 0; padding: 0; }
.result { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.result h3 { font-weight: 500; font-size: 25px; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 8px; }
.result h3 a { text-decoration: none; }
.result h3 a:hover { text-decoration: underline; }
.result .snip { margin: 0 0 10px; color: var(--ink-2); font-size: 17px; }
.result mark { background: var(--hi); color: var(--ink); padding: 0 1px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.meta a { text-decoration: none; color: var(--ink-2); }
.meta a:hover { color: var(--accent); }
.meta .by { display: inline-flex; align-items: center; gap: 7px; }
.tag { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.tag::before { content: '#'; color: var(--ink-3); }
.locked .snip { filter: blur(5px); user-select: none; }
.locked h3 a { pointer-events: none; }
.result.locked { cursor: pointer; }
.no-results { padding: 40px 0; max-width: 560px; }
.no-results h3 { font-weight: 400; font-size: 28px; margin: 0 0 8px; }

/* ---- votes ---- */
.vote { display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--mono); font-size: 14px; padding-top: 3px; }
.vote button {
  width: 32px; height: 26px; border: 1px solid var(--rule); background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--ink-3); border-radius: 1px;
}
.vote button:hover { border-color: var(--ink); color: var(--ink); }
.vote button.on.up { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.vote button.on.down { background: var(--accent); border-color: var(--accent); color: #fff; }
.vote b { font-weight: 500; padding: 3px 0; }
.vote.row { flex-direction: row; gap: 8px; }

/* ---- article ---- */
.article { padding-top: 46px; padding-bottom: 90px; }
.article .kicker { margin-bottom: 18px; display: flex; gap: 14px; flex-wrap: wrap; }
.article h1 { font-weight: 500; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.022em; margin: 0 0 16px; }
.article .deck { font-size: 22px; line-height: 1.4; font-style: italic; color: var(--ink-2); margin: 0 0 26px; }
.byline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-bottom: 34px; }
.byline .by { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.byline .who b { display: block; font-weight: 500; font-size: 17px; line-height: 1.2; }
.byline .who small { display: block; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.body { font-size: 20px; line-height: 1.62; }
.body p { margin: 0 0 1.05em; }
.body h2 { font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; margin: 1.6em 0 .55em; }
.body blockquote { margin: 1.4em 0; padding: 0 0 0 22px; border-left: 3px solid var(--accent); font-style: italic; font-size: 22px; color: var(--ink-2); }
.body figure { margin: 1.8em 0; }
.body figure img, .body figure video { width: 100%; border: 1px solid var(--ink); background: var(--paper-2); }
.body figcaption { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.embed { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--ink); background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.linkcard {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: center;
  margin: 1.4em 0; padding: 14px 16px; border: 1px solid var(--ink); text-decoration: none; background: #fbf9f4;
}
.linkcard b { font-weight: 500; font-size: 18px; line-height: 1.3; }
.linkcard span { grid-column: 1; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.linkcard small { grid-column: 1; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.linkcard .arrow { grid-column: 2; grid-row: 1 / span 3; font-family: var(--mono); font-size: 18px; }
.linkcard:hover { border-color: var(--accent); color: var(--ink); }
.linkcard:hover .arrow { color: var(--accent); }
.body a:not(.linkcard) { color: var(--accent-ink); }

.contact {
  margin-top: 54px; border: 1px solid var(--ink); padding: 22px 24px; display: grid;
  grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; background: #fbf9f4;
}
.contact h3 { margin: 0 0 4px; font-weight: 500; font-size: 22px; line-height: 1.2; }
.contact p { margin: 0; color: var(--ink-2); font-size: 16px; }
.contact .acts { display: flex; gap: 10px; }
.contact.answered { background: transparent; border-style: dashed; border-color: var(--ink-3); }

.owner { margin-top: 54px; border-top: 2px solid var(--ink); padding-top: 16px; }
.owner-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.owner-head h3 { margin: 0; font-weight: 500; font-size: 22px; }
.owner-acts { display: flex; gap: 18px; }

/* ---- leads ---- */
.leads { list-style: none; margin: 0; padding: 0; }
.lead { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.lead b { font-weight: 500; font-size: 17px; }
.lead .q { font-style: italic; color: var(--ink-2); font-size: 16px; margin: 2px 0 6px; }
.lead .reach { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 12px; }
.lead .reach a { color: var(--ink); }
.lead .when { font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.private { display: inline-flex; gap: 6px; align-items: center; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); }

/* ---- profile ---- */
.profile { display: grid; grid-template-columns: 290px 1fr; gap: 0; padding-top: 46px; padding-bottom: 90px; }
.profile aside { padding-right: 36px; border-right: 1px solid var(--rule); }
.profile aside h1 { font-weight: 500; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; margin: 20px 0 6px; }
.profile .headline { font-size: 18px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.35; }
.profile .bio { font-size: 17px; margin: 18px 0; white-space: pre-line; }
.profile .facts { display: grid; gap: 4px; margin: 14px 0; }
.profile .links { display: grid; gap: 4px; margin: 14px 0; font-family: var(--mono); font-size: 13px; }
.profile .links a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.chip { font-family: var(--mono); font-size: 12px; border: 1px solid var(--rule); padding: 2px 8px; }
.stats { display: flex; gap: 0; margin: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stats div { flex: 1; padding: 10px 0; }
.stats div + div { border-left: 1px solid var(--rule); padding-left: 12px; }
.stats b { display: block; font-weight: 500; font-size: 24px; line-height: 1.1; }
.complete { margin: 22px 0 0; padding: 16px; border: 1px solid var(--ink); background: #fbf9f4; }
.complete .bar { height: 6px; background: var(--paper-2); margin: 10px 0 12px; border: 1px solid var(--ink); }
.complete .bar i { display: block; height: 100%; background: var(--accent); }
.complete ul { margin: 0 0 14px; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.profile .col { padding-left: 36px; min-width: 0; }
.col h2, .desk h2.section-top { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.col section + section { margin-top: 52px; }
.col .section-top { border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 0; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: grid; grid-template-columns: 1fr 120px; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.plist li.nocover { grid-template-columns: 1fr; }
.plist h3 { margin: 0 0 6px; font-weight: 500; font-size: 22px; line-height: 1.2; }
.plist h3 a { text-decoration: none; }
.plist h3 a:hover { text-decoration: underline; }
.plist p { margin: 0 0 8px; color: var(--ink-2); font-size: 16px; }
.plist img { width: 120px; height: 84px; object-fit: cover; border: 1px solid var(--ink); }
.lead-group + .lead-group { margin-top: 26px; }
.lead-group h4 { margin: 18px 0 0; font-weight: 500; font-size: 18px; }
.lead-group h4 a { text-decoration: none; }

/* ---- forms ---- */
.form-page { padding-top: 46px; padding-bottom: 100px; }
.form-page h1 { font-weight: 500; font-size: 40px; letter-spacing: -.02em; margin: 0 0 6px; }
.form-page > .lede { color: var(--ink-2); margin: 0 0 30px; }
.field { display: block; margin: 0 0 20px; }
.field > span:first-child, .flabel { display: block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 6px; }
.field > small { display: block; font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.input, .field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--ink); background: #fbf9f4; padding: 11px 13px; font-size: 17px; border-radius: 1px; outline: none;
}
.field input:focus, .field textarea:focus, .input:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input[readonly] { background: transparent; border-style: dashed; color: var(--ink-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.photo-pick { display: flex; align-items: center; gap: 18px; }
.ok { color: #2f6b3a; font-family: var(--mono); font-size: 12px; }
.form-foot { display: flex; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--rule); margin-top: 10px; }

/* ---- reading: lists, code, dividers, references ---- */
.body ul, .body ol { margin: 0 0 1.05em; padding-left: 1.4em; }
.body li { margin: .25em 0; }
.body li::marker { color: var(--accent); }
.body pre { background: var(--ink); color: #eae4d6; font: 14px/1.6 var(--mono); padding: 18px 20px; margin: 1.4em 0; overflow-x: auto; white-space: pre; }
.body :not(pre) > code { font: .85em var(--mono); background: var(--paper-2); padding: 1px 5px; }
.body hr { border: 0; text-align: center; margin: 2em 0; }
.body hr::after { content: '· · ·'; letter-spacing: .6em; color: var(--ink-3); font-family: var(--mono); }
.body u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.answers { font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin: 0 0 10px; }
.answers q { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink); quotes: '“' '”'; }
.refs { margin-top: 44px; border-top: 2px solid var(--ink); padding-top: 14px; }
.refs h2 { margin: 0 0 4px; }
.refs .linkcard { margin: 10px 0; }

/* ---- writer ---- */
.writer { padding-bottom: 80px; }
.writer-bar {
  position: sticky; top: 0; z-index: 8; background: var(--paper); display: flex; justify-content: space-between;
  align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); margin-bottom: 24px; font-size: 13px;
}
.writer-bar a { text-decoration: none; }
.writer-bar .sep { color: var(--ink-3); margin: 0 8px; }
.writer-bar .acts { display: flex; gap: 8px; }
.writer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.writer-side { display: grid; gap: 16px; position: sticky; top: 70px; }
.panel { border: 1px solid var(--rule); background: #fbf9f4; padding: 20px 22px; }
.writer-main .panel + .panel { margin-top: 20px; }
.panel-h { font: 500 13px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.panel-h .num { display: inline-grid; place-items: center; width: 20px; height: 20px; background: var(--accent); color: #fff; font-size: 12px; }
.panel-sub { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.panel-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.q-in { width: 100%; border: 1px solid var(--ink); background: var(--paper); padding: 12px 14px; font: italic 19px var(--serif); outline: none; }
.q-in:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.compose { padding: 30px 34px 24px; background: #fdfbf7; border-color: var(--ink); }
.compose .title-in, .compose .deck-in { width: 100%; border: 0; background: transparent; outline: none; resize: none; overflow: hidden; padding: 0; }
.compose .title-in { font-weight: 500; font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -.022em; margin: 0 0 8px; }
.compose .deck-in { font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink-2); }
.compose .title-in::placeholder, .compose .deck-in::placeholder { color: #b0a898; }
.counts { margin: 10px 0 14px; font-size: 12px; }
.ref { display: grid; grid-template-columns: 28px 1fr 30px; gap: 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--rule); }
.ref-n { font-size: 12px; color: var(--ink-3); padding-top: 8px; }
.ref-f { display: grid; gap: 6px; }
.ref-f input { border: 1px solid var(--rule); background: var(--paper); padding: 7px 10px; font-size: 16px; outline: none; width: 100%; }
.ref-f input.mono { font-size: 13px; }
.ref-f input.sub { font-size: 14px; color: var(--ink-2); }
.ref-f input:focus { border-color: var(--ink); }
.ref-rm { width: 30px; height: 30px; border: 1px solid var(--rule); background: transparent; cursor: pointer; font: 16px var(--mono); color: var(--ink-3); }
.ref-rm:hover { border-color: var(--ink); color: var(--ink); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 12px; border: 1px solid var(--ink); background: var(--paper); cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--ink); }
.check b { display: block; font-weight: 500; font-size: 16px; line-height: 1.3; }
.check small { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.4; margin-top: 3px; }
.sendto { margin: 10px 0 0; font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.sendto .dot { width: 7px; height: 7px; background: #2f6b3a; border-radius: 50%; }
#tags { margin: 0 0 8px; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.chip.on button { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font: inherit; }
.tag-in { width: 100%; border: 1px dashed var(--ink-3); background: transparent; padding: 7px 10px; font: 13px var(--mono); outline: none; }
.tag-in:focus { border-style: solid; border-color: var(--ink); }
.suggest { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.suggest .chip { background: transparent; cursor: pointer; }
.suggest .chip:hover { border-color: var(--ink); }
.serp { border-left: 3px solid var(--accent); padding-left: 12px; }
.serp p { margin: 0 0 4px; }
.serp-t { font-weight: 500; font-size: 18px; line-height: 1.25; }
.serp-q { font: 12px var(--mono); color: var(--ink-2); }
.serp-q q { font: italic 14px var(--serif); }
.serp-s { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.publish { display: grid; gap: 8px; }
.publish .btn.wide { width: 100%; padding: 13px; }
.publish .hint { text-align: center; }
.preview { max-width: 700px; margin: 0 auto; padding-top: 10px; }

/* ---- the editor (TipTap) ---- */
.su-editor { position: relative; }
.su-toolbar {
  position: sticky; top: 52px; z-index: 7; display: flex; flex-wrap: wrap; align-items: center; gap: 1px;
  padding: 5px; margin: 0 -10px 22px; background: var(--paper); border: 1px solid var(--ink);
}
.su-toolbar button, .su-bubble button, .su-tablebar button, .su-mbar button {
  position: relative; width: 32px; height: 32px; display: inline-grid; place-items: center; flex: none;
  border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; border-radius: 2px;
}
.su-toolbar button:hover:not(:disabled), .su-bubble button:hover, .su-tablebar button:hover, .su-mbar button:hover { background: var(--paper-2); }
.su-toolbar button.on, .su-bubble button.on, .su-mbar button.on { background: var(--ink); color: var(--paper); }
.su-toolbar button:disabled { color: #bcb5a6; cursor: default; }
.su-sep { width: 1px; height: 20px; background: var(--rule); margin: 0 4px; flex: none; }
.su-block { height: 32px; border: 1px solid var(--rule); background: #fbf9f4; font: 13px var(--mono); padding: 0 6px; margin: 0 2px; cursor: pointer; }
/* Inside a form field (the email box) the general field rule would stretch and pad it, cutting the text off. */
.field .su-block { width: auto; height: 32px; padding: 0 6px; font: 13px var(--mono); line-height: 1; border-color: var(--rule); }
[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 30;
  white-space: nowrap; background: var(--ink); color: var(--paper); font: 11px/1 var(--mono); padding: 6px 8px; pointer-events: none;
}
.su-bubble, .su-tablebar {
  position: absolute; top: 0; left: 0; visibility: hidden; display: flex; align-items: center; gap: 1px; padding: 4px; background: var(--paper); border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink); z-index: 20; width: max-content;
}
/* Hidden menus take no room, so they never make the page scroll sideways. */
.su-bubble:not([style*="visibility: visible"]), .su-tablebar:not([style*="visibility: visible"]) { pointer-events: none; transform: scale(0); }
.su-bubble, .su-tablebar { max-width: calc(100vw - 24px); flex-wrap: wrap; }
.su-surface .ProseMirror { outline: none; min-height: 380px; padding-bottom: 40px; }
.su-surface .ProseMirror > * + * { margin-top: 0; }
.su-surface .ProseMirror p.is-empty::before, .su-surface .ProseMirror h2.is-empty::before, .su-surface .ProseMirror h3.is-empty::before {
  content: attr(data-placeholder); float: left; height: 0; pointer-events: none; color: #b0a898; font-style: italic;
}
.ProseMirror-gapcursor { display: none; pointer-events: none; position: absolute; }
.ProseMirror-gapcursor::after { content: ''; display: block; position: absolute; top: -2px; width: 20px; border-top: 1px solid var(--ink); animation: su-blink 1.1s steps(2, start) infinite; }
.ProseMirror-focused .ProseMirror-gapcursor { display: block; }
@keyframes su-blink { to { visibility: hidden; } }
.ProseMirror-selectednode:not(.su-media) { outline: 2px solid var(--accent); }
.su-prose ::selection { background: var(--hi); }

/* photos and videos in the editor */
.su-media { position: relative; margin: 1.6em auto; user-select: none; }
.su-media[data-align=left] { float: left; margin: .4em 1.6em 1em 0; }
.su-media[data-align=right] { float: right; margin: .4em 0 1em 1.6em; }
/* Anything full-width starts below a floated photo instead of sliding under it. */
.su-media[data-align=center], .su-prose .tableWrapper, .su-prose table, .su-prose pre, .su-prose hr, .su-prose h2, .su-prose h3 { clear: both; }
.su-frame { position: relative; }
.su-frame img { width: 100%; display: block; border: 1px solid var(--ink); }
.su-vbox { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--ink); }
.su-vbox iframe, .su-vbox video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.su-shield { position: absolute; inset: 0; cursor: pointer; }
.su-media.is-selected .su-frame { outline: 2px solid var(--accent); outline-offset: 3px; }
.su-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(243, 239, 230, .7); font: 13px var(--mono); }
.su-h { position: absolute; top: 50%; width: 10px; height: 54px; margin-top: -27px; background: var(--paper); border: 1px solid var(--ink); cursor: ew-resize; opacity: 0; transition: opacity .12s; z-index: 3; touch-action: none; }
.su-h.l { left: -6px; }
.su-h.r { right: -6px; }
.su-media:hover .su-h, .su-media.is-selected .su-h, .su-media.resizing .su-h { opacity: 1; }
.su-mbar {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 4; display: none; align-items: center; gap: 1px;
  background: var(--paper); border: 1px solid var(--ink); padding: 3px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap;
}
.su-media.is-selected .su-mbar, .su-media.resizing .su-mbar { display: flex; }
.su-mbar button.txt { width: auto; padding: 0 8px; font: 12px var(--mono); }
.su-wlabel { font: 11px var(--mono); color: var(--ink-3); padding: 0 6px; }
.su-caption { display: block; width: 100%; margin-top: 8px; border: 0; background: transparent; font: 12px var(--mono); color: var(--ink-3); text-align: center; outline: none; padding: 4px; }
.su-caption:focus { color: var(--ink); background: var(--paper-2); }
.su-media:not(.has-caption):not(.is-selected):not(:hover) .su-caption::placeholder { color: transparent; }
.su-altrow { display: grid; gap: 4px; margin-top: 8px; padding: 10px; border: 1px solid var(--ink); background: var(--paper); }
.su-altrow label { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.su-altrow input { border: 1px solid var(--rule); padding: 7px 9px; font-size: 15px; outline: none; background: #fbf9f4; }

/* slash menu and dialogs */
.su-slash {
  position: fixed; z-index: 60; width: 290px; max-height: 320px; overflow-y: auto; background: var(--paper);
  border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 4px;
}
.su-slash button { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; background: none; padding: 7px 8px; cursor: pointer; }
.su-slash button.on, .su-slash button:hover { background: var(--paper-2); }
.su-slash .si { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--rule); background: #fbf9f4; }
.su-slash b { display: block; font-weight: 500; font-size: 15px; line-height: 1.2; }
.su-slash small { display: block; font: 11px var(--mono); color: var(--ink-3); }
.su-none { font: 12px var(--mono); color: var(--ink-3); padding: 10px; margin: 0; }
.su-dialog { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(24, 23, 21, .3); padding: 20px; }
.su-dbox { width: min(460px, 100%); background: var(--paper); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 20px; display: grid; gap: 10px; }
.su-dbox label { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.su-dbox input { border: 1px solid var(--ink); background: #fbf9f4; padding: 11px 12px; font: 15px var(--mono); outline: none; }
.su-dbox input:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.su-dacts { display: flex; flex-wrap: wrap; gap: 8px; }
.su-btn { border: 1px solid var(--ink); background: transparent; padding: 8px 14px; font: 500 13px var(--mono); cursor: pointer; }
.su-btn.primary { background: var(--ink); color: var(--paper); }
.su-btn.primary:hover { background: var(--accent); border-color: var(--accent); }
.su-btn.ghost { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.su-dnote { margin: 0; font: 12px var(--mono); color: var(--ink-3); }

/* ---- reading: alignment, photos and videos sized by the writer, tables, checklists ---- */
.body::after { content: ''; display: block; clear: both; }
.body figure[data-align] { margin-left: auto; margin-right: auto; }
.body figure[data-align=left] { float: left; margin: .4em 1.6em 1em 0; }
.body figure[data-align=right] { float: right; margin: .4em 0 1em 1.6em; }
.body figure figcaption { text-align: center; }
.body h2, .body h3, .body hr, .body .refs, .body pre, .body .tableWrapper, .body figure[data-align=center], .body figure:not([data-align]) { clear: both; }
.body mark { background: var(--hi); color: inherit; padding: 0 2px; }
.body sub, .body sup { font-size: .7em; }
.body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .9em; }
.body th, .body td { border: 1px solid var(--ink); padding: 8px 10px; text-align: left; vertical-align: top; position: relative; }
.body th { background: var(--paper-2); font-weight: 600; }
.body td p, .body th p { margin: 0; }
.body .selectedCell::after { content: ''; position: absolute; inset: 0; background: rgba(244, 220, 134, .45); pointer-events: none; }
.body .tableWrapper { overflow-x: auto; }
.body ul[data-type=taskList] { list-style: none; padding-left: .2em; }
.body ul[data-type=taskList] li { display: flex; gap: 10px; align-items: flex-start; }
.body ul[data-type=taskList] li > label { flex: none; margin-top: .3em; }
.body ul[data-type=taskList] li > div { flex: 1; }
.body ul[data-type=taskList] li > div p { margin: 0; }
.body ul[data-type=taskList] input { width: 16px; height: 16px; accent-color: var(--ink); }
.body ul[data-type=taskList] li[data-checked=true] > div { color: var(--ink-3); text-decoration: line-through; }
.body p[style*="text-align"], .body h2[style*="text-align"], .body h3[style*="text-align"] { text-wrap: balance; }

/* ---- shared links: public page, teaser, share sheet ---- */
#nav .btn.small { padding: 6px 12px; }
.selfbar { background: var(--ink); color: var(--paper); font: 13px var(--mono); }
.selfbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.selfbar a { color: var(--hi); }
.selfbar .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pub { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; padding-top: 44px; padding-bottom: 90px; align-items: start; }
.pub-card { position: sticky; top: 24px; border: 1px solid var(--ink); background: #fbf9f4; padding: 26px; box-shadow: 8px 8px 0 var(--ink); }
.pub-card h1 { font-weight: 500; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; margin: 18px 0 6px; }
.pub-card .headline { font-size: 18px; color: var(--ink-2); margin: 0 0 6px; line-height: 1.35; }
.pub-card .handle { margin: 0 0 14px; }
.pub-card .bio { font-size: 16px; white-space: pre-line; margin: 14px 0; }
.pub-card .links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; margin: 12px 0; }
.pub-card .btn.wide { width: 100%; padding: 13px; margin-top: 6px; }
.pub-card .hint { text-align: center; }
.pub-list .section-top { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin: 0; }
.pub-list .answers { margin-bottom: 4px; }
.lock { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-ink); }
.teaser .body.fade { position: relative; max-height: 15em; overflow: hidden; }
.teaser .body.fade::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9em; background: linear-gradient(rgba(243, 239, 230, 0), var(--paper)); }
.gate { border: 1px solid var(--ink); background: #fbf9f4; padding: 28px; margin-top: 10px; text-align: center; box-shadow: 8px 8px 0 var(--ink); }
.gate .label { display: inline-flex; gap: 6px; align-items: center; color: var(--accent-ink); }
.gate h2 { font-weight: 500; font-size: 28px; letter-spacing: -.015em; margin: 8px 0 6px; }
.gate p { color: var(--ink-2); margin: 0 auto 18px; max-width: 46ch; }
.gate .hint { margin: 14px auto 0; text-align: center; }
.teaser .more { margin-top: 30px; font-size: 13px; }
.byline-acts { display: flex; align-items: center; gap: 12px; }
.sheet.share { width: min(520px, 100%); }
.copyrow { display: flex; gap: 8px; margin-bottom: 16px; }
.copyrow input { flex: 1; min-width: 0; border: 1px solid var(--ink); background: #fbf9f4; padding: 10px 12px; font: 14px var(--mono); }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.share-to { border: 1px solid var(--ink); padding: 11px 8px; text-align: center; text-decoration: none; font: 500 13px var(--mono); background: #fbf9f4; }
.share-to:hover { background: var(--ink); color: var(--paper); }
.sheet.share .btn.wide { width: 100%; }
.mylink { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border: 1px solid var(--ink); background: #fbf9f4; padding: 18px 22px; margin-bottom: 30px; box-shadow: 6px 6px 0 var(--ink); }
.mylink .url { font-size: 20px; margin: 4px 0; }
.mylink .url a { text-decoration: none; }
.mylink p { margin: 0; }
.mylink .acts { display: flex; gap: 8px; }
.prefix-in { display: flex; border: 1px solid var(--ink); background: #fbf9f4; }
.prefix-in .mono { padding: 11px 0 11px 12px; color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.field .prefix-in input { border: 0; background: transparent; padding-left: 2px; box-shadow: none; font-family: var(--mono); font-size: 15px; min-width: 0; }
.prow .num small { font-size: 11px; }
.row-acts { display: flex; gap: 12px; justify-content: flex-end; align-items: baseline; white-space: nowrap; }

.seen { font-size: 12px; color: var(--ink-3); margin: -18px 0 26px; }
.locked-text { filter: blur(5px); user-select: none; pointer-events: none; }
.wants { color: #2f6b3a; font-weight: 500; }
.lead .when { text-align: right; line-height: 1.6; }
.lead-tools .via { margin: 0; }
.lead-tools .via button { padding: 6px 12px; }

.about-sec { margin-bottom: 46px; }
.about-sec .section-top { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin: 0 0 18px; }
.about-sec.empty { border: 1px dashed var(--ink-3); padding: 4px 18px; }
.about-body { font-size: 18px; }
.about-body.folded { max-height: 30em; overflow: hidden; position: relative; }
.about-body.folded::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6em; background: linear-gradient(rgba(243, 239, 230, 0), var(--paper)); }
.about-more { margin-top: 8px; }
.pub-main { min-width: 0; }
.about-field { margin: 0 0 20px; }
.about-field .panel-sub { margin-top: 0; font-size: 15px; }
.about-ed { border: 1px solid var(--ink); background: #fdfbf7; padding: 0 18px 8px; }
.about-ed .su-toolbar { margin: 0 -18px 16px; border-width: 0 0 1px; top: 0; }
.about-ed .su-surface .ProseMirror { min-height: 220px; }

.ltable { display: grid; }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) 210px 60px 60px 110px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.lrow .pt a { font-weight: 500; font-size: 18px; line-height: 1.25; text-decoration: none; display: block; }
.lrow .pt a:hover { text-decoration: underline; }
.lrow .pt small { display: block; margin-top: 4px; }
.lrow .lurl { font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .num { font: 500 17px var(--mono); }
.lrow .num::before { content: attr(data-l); display: block; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
#links .panel-sub, #leads .panel-sub { margin-top: 10px; }

/* ---- your desk ---- */
.desk { padding-top: 40px; padding-bottom: 90px; }
.desk-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.desk-head h1 { font-weight: 500; font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -.022em; line-height: 1.05; margin: 6px 0 0; }
.tally { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); margin-bottom: 46px; }
.tally div { padding: 16px 0 14px; }
.tally div + div { border-left: 1px solid var(--rule); padding-left: 20px; }
.tally b { display: block; font-weight: 500; font-size: 40px; line-height: 1; margin-bottom: 6px; }
.tally .hot b { color: var(--accent); }
.desk section + section { margin-top: 52px; }
.desk .section-top { border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.ptable { display: grid; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) 64px 56px 52px 52px 64px 190px; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.prow.head { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding: 10px 0; }
.prow .pt a { font-weight: 500; font-size: 19px; line-height: 1.25; text-decoration: none; display: block; }
.prow .pt a:hover { text-decoration: underline; }
.prow .pt small { display: block; margin-top: 4px; }
.prow .num { font: 500 17px var(--mono); }
.prow .ok { color: #2f6b3a; font-size: 12px; }
.prow .muted { font-size: 12px; }
.lead-n { color: var(--accent); }
.lead-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0 4px; }
.lead-tools select { border: 1px solid var(--ink); background: #fbf9f4; padding: 7px 10px; font: 13px var(--mono); max-width: 100%; }
.lead .lp { margin: 2px 0 0; font-size: 12px; color: var(--ink-3); }
.lead .lp a { color: var(--ink-2); }

@media (max-width: 960px) {
  .writer-grid { grid-template-columns: minmax(0, 1fr); }
  .writer-side { position: static; }
}
@media (max-width: 600px) {
  .compose { padding: 20px 16px; }
  .panel { padding: 16px; }
  .writer-bar .mono > a ~ * { display: none; }
  .tally { grid-template-columns: 1fr 1fr; }
  .tally div:nth-child(3) { border-left: 0; padding-left: 0; }
  .tally div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .tally b { font-size: 32px; }
  .prow { grid-template-columns: repeat(3, 1fr); gap: 6px 10px; }
  .story { grid-template-columns: minmax(0, 1fr) 84px; gap: 16px; padding: 20px 0; }
  .story h2 { font-size: 20px; }
  .s-cover img { width: 84px; height: 64px; }
  .s-sum { font-size: 15px; }
  .welcome .wrap { padding-top: 40px; padding-bottom: 36px; }
  .welcome .lede { font-size: 18px; }
  .lrow { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .lrow .pt, .lrow .lurl, .lrow .row-acts { grid-column: 1 / -1; }
  .pub { grid-template-columns: 1fr; gap: 30px; padding-top: 24px; }
  .pub-card { position: static; box-shadow: 5px 5px 0 var(--ink); }
  .share-grid { grid-template-columns: repeat(2, 1fr); }
  .selfbar .wrap { flex-direction: column; align-items: flex-start; }
  .byline-acts { width: 100%; justify-content: space-between; }
  .mylink .url { font-size: 16px; word-break: break-all; }
  .su-toolbar { top: 50px; margin: 0 -8px 18px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .su-toolbar [data-tip]:hover::after { display: none; }
  .su-media[data-align], .body figure[data-align] { float: none !important; width: 100% !important; margin: 1.4em 0 !important; }
  .su-mbar { top: auto; bottom: calc(100% + 6px); left: 0; transform: none; max-width: 100%; overflow-x: auto; }
  .prow.head { display: none; }
  .prow .pt { grid-column: 1 / -1; }
  .prow [data-l]::before { content: attr(data-l); display: block; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
  .row-acts { justify-content: flex-start; grid-column: 1 / -1; }
}

/* ---- modal ---- */
#modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
#modal .scrim { position: absolute; inset: 0; background: rgba(24, 23, 21, .38); }
.sheet {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: var(--paper); border: 1px solid var(--ink); padding: 30px 30px 26px;
  box-shadow: 10px 10px 0 var(--ink);
}
.sheet .x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font: 20px/1 var(--mono); color: var(--ink-3); }
.sheet .x:hover { color: var(--ink); }
.sheet h2 { font-weight: 500; font-size: 30px; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 8px; padding-right: 26px; }
.sheet .lede { color: var(--ink-2); margin: 0 0 22px; font-size: 17px; }
.gbtn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 16px; border: 1px solid var(--ink); background: #fff; cursor: pointer; font: 500 14px var(--mono);
}
.gbtn:hover { background: var(--paper-2); }
.gslot { min-height: 44px; display: flex; justify-content: center; }
.or-rule { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.or-rule::before, .or-rule::after { content: ''; flex: 1; border-top: 1px solid var(--rule); }
.phone { display: flex; border: 1px solid var(--ink); background: #fbf9f4; }
.phone select { border: 0; border-right: 1px solid var(--ink); background: transparent; padding: 0 8px 0 12px; font-family: var(--mono); font-size: 14px; outline: none; max-width: 112px; }
.phone input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px; font-size: 18px; outline: none; font-family: var(--mono); letter-spacing: .02em; }
.code-in { width: 100%; border: 1px solid var(--ink); background: #fbf9f4; padding: 12px; font: 500 28px/1 var(--mono); letter-spacing: .5em; text-align: center; outline: none; }
.sheet .btn.wide { width: 100%; margin-top: 12px; padding: 13px; }
.sheet .err { color: var(--accent-ink); font-family: var(--mono); font-size: 12px; margin: 10px 0 0; min-height: 1em; }
.sheet .fine { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin: 18px 0 0; line-height: 1.6; }
.sheet .lede { margin-bottom: 8px; }
.sheet .member { margin: 0 0 6px; }
.tabs { display: flex; border-bottom: 1px solid var(--ink); margin: 16px 0 4px; }
.tabs button {
  flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  padding: 10px 0; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); cursor: pointer;
}
.tabs button.on { color: var(--ink); border-bottom-color: var(--accent); }
.tabs button:hover { color: var(--ink); }
.via { display: inline-flex; border: 1px solid var(--ink); margin: 18px 0 4px; }
.via button { background: none; border: 0; padding: 7px 16px; font: 13px var(--mono); cursor: pointer; }
.via button + button { border-left: 1px solid var(--ink); }
.via button.on { background: var(--ink); color: var(--paper); }
.jstep.plain { border-top: 0; margin-top: 0; padding-top: 12px; }
.jstep { padding: 16px 0 4px; border-top: 1px solid var(--rule); margin-top: 12px; }
.jstep > .label { display: block; margin-bottom: 8px; color: var(--ink-2); }
.jstep > .label b { font-weight: 500; color: var(--accent); margin-right: 6px; }
.jstep .input { width: 100%; }
.jstep .gbtn { text-decoration: none; color: var(--ink); }
.jstep .or-rule { margin: 12px 0; }
.inline { display: flex; gap: 8px; align-items: stretch; }
.inline > input { flex: 1; min-width: 0; border: 1px solid var(--ink); background: #fbf9f4; padding: 10px 12px; font-size: 17px; outline: none; border-radius: 1px; }
.inline > input:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.inline > input[readonly], .phone input[readonly] { color: var(--ink-2); background: transparent; }
.inline .phone { flex: 1; min-width: 0; }
.inline .btn { flex: none; }
.code-row { margin-top: 8px; }
.code-row input { font-family: var(--mono); letter-spacing: .3em; }
.verified { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--rule); font-family: var(--mono); font-size: 13px; }
.verified > span { color: #2f6b3a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hint { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin: 8px 0 0; line-height: 1.5; }
.sheet .err:empty { display: none; }
.devcode { margin-top: 10px; padding: 8px 10px; border: 1px dashed var(--ink-3); font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* A locked pop-up: the page behind is out of reach until they log in or sign up. */
#modal.locked .scrim { background: rgba(24, 23, 21, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.members-only { padding-top: 56px; padding-bottom: 80px; display: grid; gap: 14px; }
.members-only .bar { display: block; height: 14px; background: var(--paper-2); }
.members-only .bar.big { height: 40px; }
.members-only .w30 { width: 30%; } .members-only .w60 { width: 60%; } .members-only .w70 { width: 70%; }
.members-only .w80 { width: 80%; } .members-only .w90 { width: 90%; } .members-only .w95 { width: 95%; } .members-only .w100 { width: 100%; }

.sheet.consent { width: min(480px, 100%); }
.sheet.consent .label { margin: 0 0 8px; color: var(--accent-ink); }
.consent-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.consent-acts .btn { flex: 1; padding: 13px; }
.sheet.consent .fine { text-align: center; margin-top: 14px; }

.modes { display: inline-flex; border: 1px solid var(--ink); margin: 0 0 22px; }
.modes button { background: none; border: 0; padding: 8px 16px; font: 500 13px var(--mono); cursor: pointer; color: var(--ink-2); }
.modes button + button { border-left: 1px solid var(--ink); }
.modes button.on { background: var(--ink); color: var(--paper); }
.link-box { margin: 6px 0 18px; }
.link-box .inline input { font-family: var(--mono); font-size: 15px; }
.link-box .notes-label { margin: 22px 0 8px; }
.site { margin: 10px 0 34px; border: 1px solid var(--ink); background: #fbf9f4; box-shadow: 6px 6px 0 var(--ink); }
.site-frame { position: relative; height: min(78vh, 760px); background: #fff; }
.site-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site-card { display: grid; grid-template-columns: 200px 1fr; text-decoration: none; color: var(--ink); }
.site-card:not(:has(img)) { grid-template-columns: 1fr; }
.site-card img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; border-right: 1px solid var(--ink); }
.site-text { display: grid; gap: 6px; padding: 18px 20px; align-content: start; }
.site-text b { font-weight: 500; font-size: 22px; line-height: 1.2; }
.site-text span { color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.site-text .site-go { color: var(--accent-ink); font-size: 13px; margin-top: 4px; }
.site-card:hover .site-go { text-decoration: underline; }
.site figcaption { padding: 10px 14px; border-top: 1px solid var(--rule); margin: 0; }
.s-site { color: var(--ink-2); }
@media (max-width: 600px) {
  .site-card { grid-template-columns: 1fr; }
  .site-card img { border-right: 0; border-bottom: 1px solid var(--ink); max-height: 200px; }
  .site-frame { height: 70vh; }
}

/* A website post fills the whole page; none of our header or page around it. */
body.fullsite { overflow: hidden; background: #fff; }
body.fullsite .top { display: none; }
.fullsite-frame { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; border: 0; background: #fff; display: block; }
.fullsite-wait { position: fixed; inset: 0; background: #fff; }
.exit-strip { position: fixed; top: 0; left: 0; right: 0; height: 28px; z-index: 4; }
.fullsite-own { position: fixed; right: 16px; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--paper); padding: 8px 14px; font-size: 12px; opacity: .8; max-width: calc(100vw - 32px); }
.fullsite-own:hover { opacity: 1; }
.fullsite-own a { color: var(--hi); }

.blocked { display: grid; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--ink); background: var(--paper); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.blocked b { color: var(--ink); font-weight: 500; }
.blocked code { font: 12px/1.5 var(--mono); background: var(--ink); color: var(--paper); padding: 8px 10px; overflow-x: auto; white-space: nowrap; }
.blocked-acts { display: flex; gap: 16px; }

.sheet.published { width: min(500px, 100%); }
.sheet.published .label { margin: 0 0 6px; color: #2f6b3a; }
.pub-acts { display: flex; align-items: center; gap: 18px; margin-top: 4px; }

.lead .lp .link-btn { font-size: 12px; }

.foot { display: flex; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); border-top: 1px solid var(--rule); font: 12px var(--mono); color: var(--ink-3); }
.foot a { color: var(--ink-2); }
.foot-links { display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: flex-end; }
body.fullsite .foot { display: none; }
.policy h1 { margin-top: 6px; }
.policy-short { border: 1px solid var(--ink); background: #fbf9f4; padding: 6px 24px 10px; margin: 0 0 40px; box-shadow: 6px 6px 0 var(--ink); }
.policy-short h2 { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 6px; }
.policy-short ul { padding-left: 1.2em; font-size: 18px; line-height: 1.55; }
.policy-short li { margin: .5em 0; }
.policy .body h2 { font-size: 23px; }
.policy .body li { margin: .45em 0; }

.gpick { border: 1px solid var(--ink); background: #fbf9f4; padding: 12px; display: grid; gap: 8px; }
.gpick .label { margin: 0; }
.gpick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gpick li button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--rule); background: var(--paper); padding: 8px 10px; cursor: pointer; }
.gpick li button:hover { border-color: var(--ink); }
.gpick li b { display: block; font-weight: 500; font-size: 15px; line-height: 1.2; }
.gpick li small { display: block; font: 12px var(--mono); color: var(--ink-3); }
.gnew { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 6px; }
.gnew input { border: 1px solid var(--ink); background: var(--paper); padding: 8px 10px; font-size: 15px; min-width: 0; outline: none; }
.gnew input:focus { border-color: var(--accent); }
@media (max-width: 600px) { .gnew { grid-template-columns: 1fr; } }

.sheet.compose-mail { width: min(760px, 100%); max-height: calc(100vh - 40px); }
.mail-ed { border: 1px solid var(--ink); background: #fff; padding: 0 16px 6px; }
.mail-ed .su-toolbar { position: sticky; top: -30px; margin: 0 -16px 12px; border-width: 0 0 1px; }
.mail-ed .su-surface .ProseMirror { min-height: 200px; font-size: 17px; }
.inbox { border: 1px solid var(--rule); background: #f4f2ee; margin: 0 0 12px; }
.inbox-head { display: grid; gap: 6px; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--rule); font-family: Helvetica, Arial, sans-serif; font-size: 14px; }
.inbox-head > b { font-size: 18px; font-weight: 500; }
.inbox-head span { display: flex; align-items: center; gap: 6px; }
.inbox-body { width: 100%; height: 500px; border: 0; display: block; background: #f4f2ee; }
.sheet.compose-mail .label { margin: 0 0 6px; }
.lead .reach { align-items: baseline; }
.lead .reach .link-btn { font-size: 12px; }

.many-count { display: flex; align-items: center; gap: 12px; }
.many-count input { width: 110px; border: 1px solid var(--ink); background: #fbf9f4; padding: 10px 12px; font: 500 18px var(--mono); outline: none; }
.many-count input:focus { border-color: var(--accent); }
.compose-mail select { width: 100%; border: 1px solid var(--ink); background: #fbf9f4; padding: 10px 12px; font: 15px var(--serif); }

.senders .panel { margin-bottom: 18px; }
.chip.state-verified { background: #2f6b3a; color: #fff; border-color: #2f6b3a; }
.chip.state-pending { background: var(--hi); border-color: var(--hi); }
.chip.state-failed { background: var(--accent); color: #fff; border-color: var(--accent); }
.domain-form { display: grid; gap: 10px; }
.addr-in { display: flex; align-items: center; border: 1px solid var(--ink); background: #fbf9f4; }
.field .addr-in input { border: 0; background: transparent; box-shadow: none; font-family: var(--mono); font-size: 15px; min-width: 0; }
.addr-in #dom-local { width: 120px; flex: none; text-align: right; padding-right: 2px; }
.addr-in b { font-family: var(--mono); font-weight: 400; color: var(--ink-3); }
.dom-addr { font-size: 18px; margin: 4px 0 10px; }
.records { display: grid; gap: 10px; margin: 8px 0 14px; }
.record { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--rule); background: var(--paper); }
.rtype { justify-self: start; background: var(--ink); color: var(--paper); font-size: 11px; padding: 2px 8px; }
.rkv { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.rkv code { font: 12px/1.4 var(--mono); background: #fbf9f4; border: 1px solid var(--rule); padding: 5px 8px; overflow-x: auto; white-space: nowrap; }
.senders .pub-acts .btn.ghost { display: inline-flex; gap: 8px; align-items: center; }

/* ---- writers' websites ---- */
#sites .panel-sub { margin-top: 10px; }
.site-card { border: 1px solid var(--rule); background: #fbf9f4; padding: 16px 18px; margin: 14px 0; }
.site-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.site-top .pt b { font-size: 20px; font-weight: 500; display: block; }
.site-top .pt small { display: block; margin-top: 2px; }
.site-top .chip { white-space: nowrap; }
.site-nums { display: flex; gap: 22px; font: 13px var(--mono); color: var(--ink-2); margin: 10px 0 4px; }
.site-nums b { font-size: 18px; font-weight: 500; color: var(--ink); }
.snip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 10px 0; }
.snip code { font: 12px/1.45 var(--mono); background: var(--paper); border: 1px solid var(--rule); padding: 8px 10px; overflow-x: auto; white-space: nowrap; }
.site-card .row-acts { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: flex-start; margin-top: 6px; }
.site-card .req { margin-top: 12px; font-size: 13px; color: var(--ink); }
.req-note { margin: 4px 0 0 26px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.mini-switch { display: inline-flex; gap: 6px; align-items: center; font: 12px var(--mono); color: var(--ink-2); cursor: pointer; }
.site-pages { margin-top: 10px; border-top: 1px solid var(--rule); }
.lrow.page-row { grid-template-columns: minmax(0, 1fr) 60px 60px 60px 150px; }
.lrow.page-row .pt a { font-size: 16px; font-family: var(--mono); word-break: break-all; }
.site-add { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 18px; }
.site-add .field { margin: 0; }
.go-page { padding-top: 60px; padding-bottom: 90px; }
.go-card { border: 1px solid var(--ink); background: #fbf9f4; padding: 30px 30px 22px; box-shadow: 8px 8px 0 var(--ink); }
.go-card h1 { font-weight: 500; font-size: clamp(30px, 5vw, 42px); line-height: 1.08; margin: 6px 0 4px; letter-spacing: -.02em; }
.go-host { margin: 0 0 18px; }
.go-who { display: flex; gap: 10px; align-items: center; font-size: 18px; margin-bottom: 14px; }
.go-card .lede { font-size: 17px; }
.privacy-box { margin: 46px 0 80px; }
.priv-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; padding: 10px 0; }
.priv-row input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ink); }
.priv-row b { font-weight: 500; display: block; }
.priv-row small { display: block; color: var(--ink-3); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.priv-shared ul { list-style: none; margin: 6px 0 0; padding: 0; }
.priv-shared li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 600px) {
  .site-add { grid-template-columns: 1fr; }
  .lrow.page-row { grid-template-columns: minmax(0, 1fr) 54px 54px 54px; }
  .lrow.page-row .row-acts { grid-column: 1 / -1; }
  .go-card { padding: 22px 18px 18px; box-shadow: 5px 5px 0 var(--ink); }
}

/* ---- how it works, pricing, contact ---- */
.hsec { border-bottom: 1px solid var(--ink); }
.hsec > .wrap { padding-top: 56px; padding-bottom: 56px; }
.hsec h2 { font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -.025em; margin: 12px 0 14px; max-width: 20ch; }
.hsec .lede { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 56ch; margin: 0 0 28px; }
#how { background: var(--paper); }
#pricing { background: #ece6d8; }
.how-steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.how-steps li { counter-increment: s; padding: 18px 22px 6px 0; display: grid; gap: 6px; align-content: start; }
.how-steps li + li { border-left: 1px solid var(--rule); padding-left: 22px; }
.how-steps li::before { content: '0' counter(s); font: 500 13px var(--mono); color: var(--accent); }
.how-steps b { font-weight: 500; font-size: 20px; line-height: 1.2; }
.how-steps span { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--ink); background: #fbf9f4; padding: 24px 22px 20px; display: flex; flex-direction: column; }
.plan-hi { box-shadow: 8px 8px 0 var(--ink); }
.plan-tag { position: absolute; top: -11px; left: 20px; background: var(--accent); color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; }
.plan h3 { margin: 0; font-weight: 500; font-size: 22px; }
.plan-price { margin: 10px 0 16px; display: grid; gap: 2px; }
.plan-price b { font-weight: 400; font-size: 42px; line-height: 1; letter-spacing: -.02em; }
.plan-price span { font-size: 12px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--rule); flex: 1; }
.plan li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.4; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); font-size: 13px; top: 10px; }
.plan .btn.wide { width: 100%; }
.plan-pay { margin-top: 26px; max-width: 70ch; font-size: 15px; }
.costs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); margin: 0 0 30px; }
.costs div { padding: 16px 18px 14px 0; display: grid; gap: 4px; }
.costs div + div { border-left: 1px solid var(--rule); padding-left: 18px; }
.costs b { font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -.015em; }
.costs span { color: var(--ink-2); font-size: 15px; }
.costs-list b { font-family: var(--mono); }
@media (max-width: 700px) { .costs { grid-template-columns: 1fr; } .costs div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } }
#contact { background: var(--paper); }
.contact-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-form { border: 1px solid var(--ink); background: #fbf9f4; padding: 22px; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-done h3 { font-weight: 500; font-size: 24px; margin: 8px 0; }
.mkt .hsec:last-child { border-bottom: 0; }
@media (max-width: 860px) {
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .plans { grid-template-columns: 1fr; gap: 26px; }
  .contact-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .contact-form .two { grid-template-columns: 1fr; }
  .hsec > .wrap { padding-top: 40px; padding-bottom: 40px; }
}

/* ---- plan & credits, admin ---- */
.planpage h1 { margin-bottom: 18px; }
.tally.tally3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; }
.note-warn { background: var(--hi); padding: 10px 14px; font-size: 15px; margin: 0 0 20px; }
.plan-pick { display: grid; gap: 10px; margin: 14px 0 8px; }
.pp { display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid var(--rule); background: #fbf9f4; padding: 14px 16px; }
.pp.on { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.pp b { font-weight: 500; font-size: 18px; margin-right: 10px; }
.pp span { font-size: 12px; }
.pp p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.ledger { list-style: none; margin: 10px 0 0; padding: 0; }
.ledger li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ledger small { display: block; margin-top: 2px; }
.ledger b { font: 500 15px var(--mono); white-space: nowrap; }
.planpage .section-top { margin-top: 36px; }
.admin { padding-top: 40px; padding-bottom: 90px; }
.admin h1 { font-weight: 500; font-size: clamp(30px, 4vw, 42px); margin: 6px 0 6px; }
.adm-q { width: 100%; max-width: 520px; border: 1px solid var(--ink); background: #fbf9f4; padding: 12px 14px; font: inherit; margin: 14px 0 18px; }
.adm-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 110px minmax(0, 1.6fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.adm-who b { font-weight: 500; display: block; }
.adm-who small { display: block; margin-top: 2px; word-break: break-all; }
.adm-bal { display: grid; gap: 6px; }
.adm-bal b { font: 500 20px var(--mono); }
.adm-add select, .adm-add input { border: 1px solid var(--rule); background: #fbf9f4; padding: 7px 8px; font: 14px var(--mono); }
.adm-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.adm-add input[name=credits] { width: 100px; }
.adm-add input[name=note] { flex: 1; min-width: 140px; }
.adm-log { grid-column: 1 / -1; }
.many-cost { display: block; margin-top: 6px; color: var(--ink-2); }
@media (max-width: 760px) { .adm-row { grid-template-columns: 1fr; } .tally.tally3 b { font-size: 28px; } }

/* ================= redesign: know your reader ================= */
/* page frame */
.hub { padding-top: 36px; padding-bottom: 90px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.page-head h1 { font-weight: 500; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.04; letter-spacing: -.022em; margin: 6px 0 10px; }
.page-head .lede { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; margin: 0; }
.page-head .lede b { color: var(--ink); font-weight: 600; }
.head-act { flex: none; }
.tool-label { display: flex; align-items: center; gap: 8px; }
.tool-ic { display: inline-grid; place-items: center; color: var(--accent-ink); flex: none; }
.tool-label .tool-ic svg { width: 18px; height: 18px; }
.block { margin-top: 34px; }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; }
.block-head h2 { font: 500 13px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.account-line { margin-top: 30px; font-size: 13px; color: var(--ink-2); }
.row-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; }

/* the three tools */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--ink); background: #fbf9f4; padding: 20px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
a.tool-card:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.tool-card .tool-ic svg { width: 28px; height: 28px; }
.tool-card > .tool-ic { align-self: flex-start; }
.tc-top { display: flex; justify-content: space-between; align-items: start; gap: 8px; min-height: 30px; }
.tool-card h3 { margin: 4px 0 0; font-weight: 500; font-size: 23px; line-height: 1.15; }
.tool-card p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.45; flex: 1; }
.tc-nums { display: flex; gap: 18px; font: 13px var(--mono); color: var(--ink-2); margin-top: 6px; }
.tc-nums b { font-size: 22px; font-weight: 500; color: var(--ink); margin-right: 4px; }
.tool-card .btn { margin-top: 10px; text-align: center; min-height: 44px; display: grid; place-items: center; }
.tools.land .tool-card { box-shadow: none; }
.tools.land ul { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.tools.land li { padding: 8px 0 8px 20px; border-bottom: 1px solid var(--rule); font-size: 15px; position: relative; }
.tools.land li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font: 12px var(--mono); top: 10px; }

/* numbers and charts */
.sentence { font-size: 20px; line-height: 1.45; margin: 4px 0 18px; max-width: 62ch; }
.sentence b { font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
.tile { padding: 14px 16px 12px 0; display: grid; gap: 2px; }
.tile + .tile { border-left: 1px solid var(--rule); padding-left: 16px; }
.tile b { font-weight: 500; font-size: 34px; line-height: 1; }
.tile span { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.tile small { font: 12px var(--mono); color: var(--ink-2); }
.chart { margin: 6px 0 0; }
.chart svg { width: 100%; height: 150px; display: block; }
.chart .bar-a { fill: #cdbfa3; }
.chart .bar-b { fill: var(--accent); }
.chart .axis { stroke: var(--ink); stroke-width: 1; }
.chart-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; margin-top: 8px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.legend .k-a { background: #cdbfa3; } .legend .k-b { background: var(--accent); }
.funnel { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.funnel li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 56px; gap: 12px; align-items: center; }
.f-l { font-size: 16px; line-height: 1.2; }
.f-l small { display: block; font: 11px var(--mono); color: var(--ink-3); }
.f-bar { height: 22px; background: var(--paper-2); }
.f-bar i { display: block; height: 100%; background: var(--ink); }
.funnel li:last-child .f-bar i { background: var(--accent); }
.funnel b { font-size: 18px; font-weight: 500; text-align: right; }
.filters { border-bottom: 0; padding-bottom: 0; }
.filters select { border: 1px solid var(--ink); background: #fbf9f4; padding: 9px 10px; font: 14px var(--mono); max-width: 100%; min-height: 40px; }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg button { background: none; border: 0; padding: 9px 12px; font: 13px var(--mono); cursor: pointer; min-height: 40px; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button.on { background: var(--ink); color: var(--paper); }
.fold { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 10px; }
.fold summary { cursor: pointer; font: 13px var(--mono); color: var(--ink-2); padding: 6px 0; list-style-position: inside; }
.fold[open] summary { margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.facts div { border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.facts dt { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-size: 22px; }

/* setup steps */
.setup h2 { font-weight: 500; font-size: 24px; margin: 0 0 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink-3); }
.steps li.now, .steps li.done { color: var(--ink); }
.st-n { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid currentColor; font: 13px var(--mono); }
.steps li.now .st-n { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.steps li.done .st-n { background: #2f6b3a; color: #fff; border-color: #2f6b3a; }
.steps b { font-weight: 500; font-size: 18px; display: block; padding-top: 3px; }
.st-b { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.st-b .btn { margin-top: 4px; }
.steps .site-add { margin-top: 4px; }

/* websites, shared links, posts */
.items { display: grid; gap: 12px; }
.item { border: 1px solid var(--rule); background: #fbf9f4; padding: 16px 18px; }
.item-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.item h3 { margin: 0; font-weight: 500; font-size: 20px; line-height: 1.25; }
.item h3 a { text-decoration: none; }
.item h3 a:hover { text-decoration: underline; }
.item-top p { margin: 3px 0 0; font-size: 12px; }
.item-top > div:first-child { min-width: 0; }
.item-top p { overflow-wrap: anywhere; }
.item-nums { display: flex; flex-wrap: wrap; gap: 6px 20px; font: 13px var(--mono); color: var(--ink-2); margin: 12px 0 2px; }
.item-nums b { font-size: 18px; font-weight: 500; color: var(--ink); margin-right: 3px; }
.item-acts { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 12px; }
.share-url { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.item .steps { margin-top: 8px; }
.item .snip { margin: 6px 0 4px; }
.check-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.check-row b { font-weight: 500; display: block; }
.check-row small { display: block; color: var(--ink-3); font-size: 14px; }
.fold .danger { margin-top: 8px; }
.pages { list-style: none; margin: 0; padding: 0; }
.pages li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.pages a { overflow-wrap: anywhere; font-size: 14px; }
.pages span { font: 13px var(--mono); color: var(--ink-2); white-space: nowrap; }

/* leads */
.fchips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ink); padding: 8px 12px; text-decoration: none; font-size: 15px; min-height: 40px; background: #fbf9f4; }
.fchip .tool-ic svg { width: 16px; height: 16px; }
.fchip span { font-size: 12px; color: var(--ink-3); }
.fchip.on { background: var(--ink); color: var(--paper); }
.fchip.on .tool-ic, .fchip.on span { color: var(--paper); }
.lead .lp { display: flex; align-items: center; gap: 6px; }
.lead .lp .tool-ic svg { width: 15px; height: 15px; }
.lead .lp a { overflow-wrap: anywhere; }

/* credits: where they went */
.spent { display: grid; gap: 0; }
.spent-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.spent-row b { font-weight: 500; }
.spent-row small { display: block; color: var(--ink-3); font-size: 14px; }
.spent-row > b.mono { font-size: 18px; }

/* landing */
.hero { border-bottom: 1px solid var(--ink); background: #ece6d8; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero h1 { font-weight: 400; font-size: clamp(48px, 7.2vw, 96px); line-height: .95; letter-spacing: -.035em; margin: 14px 0 20px; }
.hero .lede { font-size: 21px; line-height: 1.45; color: var(--ink-2); max-width: 34ch; margin: 0 0 26px; }
.hero .acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero .btn { padding: 14px 28px; font-size: 15px; }
.hero-note { font-size: 12px; margin-top: 16px; }
.hero-proof { list-style: none; margin: 0; padding: 0; border: 1px solid var(--ink); background: #fbf9f4; box-shadow: 8px 8px 0 var(--ink); }
.hero-proof li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.hero-proof li b { font-weight: 500; font-size: 18px; }
.hero-proof li span:not(.hp-n) { grid-column: 2; color: var(--ink-2); font-size: 15px; }
.hp-n { grid-row: span 2; font-size: 12px; color: var(--accent); padding-top: 4px; }
.hp-lead { background: #f6efdc; }
.hp-lead span:not(.hp-n) { color: #2f6b3a !important; }
.hero-proof .hp-cap { display: block; border-bottom: 0; font-size: 11px; padding: 8px 16px; }

/* top bar, menu, New */
#nav .nav-l { padding: 6px 2px; border-bottom: 2px solid transparent; }
#nav .nav-l.on { border-bottom-color: var(--ink); }
#nav .nav-l:hover { text-decoration: none; border-bottom-color: var(--rule); }
.menu-who { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--rule); display: grid; gap: 2px; }
.menu-who b { font-weight: 500; font-family: var(--serif); font-size: 16px; }
.menu-who span { font-size: 11px; overflow-wrap: anywhere; }
.new-list { display: grid; gap: 10px; margin-top: 10px; }
.new-list a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; border: 1px solid var(--ink); padding: 14px 16px; text-decoration: none; background: #fbf9f4; min-height: 64px; }
.new-list a:hover { background: var(--paper-2); }
.new-list b { font-weight: 500; font-size: 18px; display: block; }
.new-list small { color: var(--ink-3); font-size: 14px; }
.new-list .tool-ic svg { width: 26px; height: 26px; }

/* phone tab bar */
#tabbar { display: none; }
@media (max-width: 760px) {
  #nav .nav-l, #nav .nav-new { display: none; }
  body.member { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  #tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  #tabbar a, #tabbar button { display: grid; justify-items: center; gap: 2px; padding: 8px 4px 9px; min-height: 60px; text-decoration: none; color: var(--ink-3); background: none; border: 0; font: 11px var(--mono); cursor: pointer; }
  #tabbar a.on { color: var(--ink); }
  #tabbar a.on span { border-bottom: 2px solid var(--ink); }
  #tabbar .tb-new { color: var(--paper); }
  #tabbar .tb-new svg { background: var(--ink); width: 36px; height: 30px; padding: 3px 6px; }
  #tabbar .tb-new span { color: var(--ink); }
  .tools { grid-template-columns: 1fr; }
  .hero-in { grid-template-columns: 1fr; gap: 34px; padding-top: 44px; padding-bottom: 44px; }
  .hero .lede { font-size: 19px; }
  .hub { padding-top: 24px; }
  .page-head { align-items: start; }
  .head-act, .head-act .btn { width: 100%; text-align: center; min-height: 46px; display: grid; place-items: center; }
  .sentence { font-size: 18px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile b { font-size: 26px; }
  .tile + .tile { padding-left: 10px; }
  .funnel li { grid-template-columns: 96px minmax(0, 1fr) 44px; gap: 8px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .filters { flex-direction: column; align-items: stretch; }
  .seg { width: 100%; } .seg button { flex: 1; }
  .item-acts .btn { min-height: 40px; }
  .chart svg { height: 120px; }
  .site-add { grid-template-columns: 1fr; }
  .pages li { flex-direction: column; gap: 2px; }
  .lead { grid-template-columns: auto minmax(0, 1fr); }
  .lead .when { grid-column: 2; text-align: left; font-size: 12px; }
  .lead .when br { display: none; }
  .lead .when .wants::after, .lead .when > .muted:first-child::after { content: ' · '; }
  .planpage .section-top { flex-wrap: wrap; gap: 4px 12px; }
  .section-top .mono { white-space: nowrap; }
}

.adm-tag { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--paper); padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }
.adm-login { max-width: 400px; margin: 40px auto 80px; }
.adm-login h1 { font-weight: 500; font-size: 40px; margin: 6px 0 18px; }
.adm-member .item-top { align-items: center; }
.adm-member .adm-bal { text-align: right; }
.adm-member .adm-bal b { font-size: 24px; display: block; }
.adm-member .adm-add { margin-top: 12px; }
.adm-msg { white-space: pre-wrap; margin: 10px 0 0; font-size: 16px; line-height: 1.5; }
.adm-done { opacity: .6; }
.admin-app #nav { gap: 16px; }
@media (max-width: 760px) {
  .admin-app #nav .nav-l { display: inline; }
  .admin-app .top { flex-wrap: wrap; row-gap: 10px; }
  .admin-app #nav { gap: 14px; font-size: 13px; width: 100%; justify-content: space-between; }
  .adm-member .adm-add { display: grid; grid-template-columns: 1fr 1fr; }
  .adm-member .adm-add input[name=note], .adm-member .adm-add button { grid-column: 1 / -1; }
  .adm-member .adm-add input[name=credits] { width: auto; }
  .adm-member .adm-add select, .adm-member .adm-add input { min-width: 0; width: 100%; }
}

/* passing through on the way to a writer's site: a blank page */
body.bare { background: #fff; }
body.bare .top, body.bare .foot, body.bare #tabbar { display: none; }
body.bare #view { min-height: 100vh; }
.bare-msg { font: 15px var(--mono); color: var(--ink-3); text-align: center; padding: 30vh 20px 0; }

.note-waiting { border-left: 3px solid var(--hi); background: #f6efdc; padding: 10px 14px; margin: 0 0 18px; font-size: 15px; line-height: 1.5; }

/* ---- toast ---- */
#toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: min(440px, calc(100vw - 40px));
  background: var(--ink); color: var(--paper); font: 13px/1.45 var(--mono); padding: 12px 16px;
  transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .2s, visibility .2s; pointer-events: none;
}
#toast.show { transform: none; visibility: visible; }

.loading { padding-top: 60px; padding-bottom: 60px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.notfound { padding: 80px 0; }
.notfound h1 { font-weight: 400; font-size: 40px; margin: 0 0 10px; }

/* ---- phones ---- */
@media (max-width: 860px) {
  .below, .latest .below { grid-template-columns: 1fr; }
  .feedpage { grid-template-columns: 1fr; gap: 40px; }
  .feed-side { position: static; order: 2; }
  .below > section + section { border-left: 0; padding-left: 0; margin-left: 0; margin-top: 40px; border-top: 2px solid var(--ink); }
  .profile { grid-template-columns: 1fr; }
  .profile aside { padding-right: 0; border-right: 0; border-bottom: 2px solid var(--ink); padding-bottom: 26px; }
  .profile .col { padding-left: 0; padding-top: 30px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .top { padding: 14px var(--gutter); }
  #nav { gap: 14px; font-size: 12px; }
  .dateline .right { display: none; }
  .ask input { font-size: 18px; padding: 14px; }
  .ask button { padding: 0 16px; }
  .result { grid-template-columns: 34px 1fr; gap: 12px; }
  .result h3 { font-size: 21px; }
  .vote button { width: 28px; }
  .body { font-size: 18px; }
  .contact { grid-template-columns: 1fr; padding: 18px; }
  .plist li { grid-template-columns: 1fr 84px; gap: 12px; }
  .plist img { width: 84px; height: 64px; }
  .two { grid-template-columns: 1fr; }
  .profile aside .av.l { width: 96px; height: 96px; }
  .lead { grid-template-columns: 32px 1fr; }
  .lead .when { grid-column: 2; }
  #modal { place-items: end stretch; padding: 0; }
  .sheet { width: 100%; max-height: 92vh; box-shadow: none; border-width: 1px 0 0; padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); }
  .phone select { max-width: 92px; padding-left: 8px; font-size: 13px; }
  .phone input { font-size: 16px; padding: 10px; }
}

.wa-unlock { font-size: 13px; }
