:root {
  --ink: var(--espresso);
  --white: var(--paper);
  --green: var(--roast);
  --lime: var(--latte);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 15px/1.6 var(--ui);
}
.brand img {
  display: block;
  width: 112px;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
:focus-visible {
  outline: 3px solid var(--roast);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
}
h1 {
  font-size: clamp(52px, 6.5vw, 88px);
  letter-spacing: -4px;
  margin-bottom: 25px;
}
h1 em {
  color: var(--green);
}
h2 {
  font-size: 32px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h3 {
  font-size: 25px;
  letter-spacing: -0.5px;
}
p {
  margin-bottom: 18px;
}
.masthead,
main,
footer {
  max-width: 1300px;
  padding-left: 48px;
  padding-right: 48px;
  margin: auto;
}
.masthead {
  display: flex;
  align-items: center;
  gap: 44px;
  min-height: 98px;
  border-bottom: 1px solid var(--ink);
}
.brand {
  font:
    44px/0.9 Georgia,
    serif;
  letter-spacing: -3px;
  text-decoration: none;
  white-space: nowrap;
}
nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
nav a {
  text-decoration: none;
  padding: 12px 0;
}
nav a[aria-current] {
  border-bottom: 2px solid var(--ink);
}
.edition {
  margin-left: auto;
  font: 10px monospace;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.hero {
  padding: 60px 0 24px;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  font:
    10px/1.6 ui-monospace,
    monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.intro {
  color: var(--muted);
  font-size: 17px;
}
.hero-note {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-self: center;
  transform: rotate(-4deg);
}
.hero-note p {
  font:
    23px/1.45 Georgia,
    serif;
  margin: 0;
}
.hero-note em {
  color: var(--green);
}
.asterisk {
  font-size: 84px;
  color: #80934f;
  line-height: 1;
}
.status {
  font-size: 13px;
  min-height: 24px;
  color: var(--green);
  margin: 0 0 26px;
}
.status.error {
  color: #9b3c2f;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.directory-section {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}
.directory-section > p {
  max-width: 720px;
}
.directory-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid #99a184;
  border-radius: 6px;
  padding: 7px 13px;
  margin: 18px 0 12px;
}
.directory-search span {
  font:
    25px Georgia,
    serif;
  color: var(--green);
}
.directory-search input {
  border: 0;
  background: transparent;
  padding: 8px;
}
.directory-search button {
  flex: 0 0 auto;
  margin: -5px;
}
.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 18px;
}
.topic-filters button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
}
.topic-filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.directory-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-areas: "avatar words" "avatar actions";
  text-align: left;
  justify-content: stretch;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 12px;
  min-height: 116px;
}
.directory-card:hover {
  background: #edf0e2;
  color: var(--ink);
}
.directory-card[data-selected="true"] {
  background: #e2eacb;
  border-color: #879b59;
}
.directory-avatar {
  grid-area: avatar;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5e8d9;
  color: var(--green);
  font:
    21px Georgia,
    serif;
  overflow: hidden;
  position: relative;
}
.directory-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.starter-section,
#collection,
.reading-sidebar {
  display: none;
}
.compact-source-search {
  margin: 10px 0 4px;
}
.directory-words {
  grid-area: words;
  min-width: 0;
}
.directory-words strong,
.directory-words small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.directory-words strong {
  font:
    16px Georgia,
    serif;
}
.directory-words small {
  color: var(--muted);
  font:
    9px/1.5 system-ui,
    sans-serif;
  margin-top: 3px;
}
.directory-bio {
  color: var(--muted);
  font:
    10px/1.35 system-ui,
    sans-serif;
  margin: 6px 0 0;
}
.feed-badge {
  display: inline-block;
  color: #8b4b20;
  background: #f3e4cf;
  border-radius: 20px;
  padding: 2px 7px;
  margin-top: 7px;
  font:
    9px/1.4 system-ui,
    sans-serif;
}
.directory-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.follow-state {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font:
    10px/1.5 system-ui,
    sans-serif;
}
.profile-link {
  color: var(--muted);
  font:
    10px/1.5 system-ui,
    sans-serif;
  text-decoration: none;
}
.profile-link:hover {
  color: var(--green);
  text-decoration: underline;
}
#show-more {
  margin-top: 14px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
.section-heading h2 {
  margin-bottom: 22px;
}
.count,
.tag {
  font: 11px monospace;
  white-space: nowrap;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.source-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid #99a184;
  border-radius: 6px;
  padding: 8px;
  gap: 8px;
}
.source-search > span {
  font-size: 25px;
  margin-left: 8px;
  color: var(--green);
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #aeb59e;
  background: var(--white);
  color: var(--ink);
  padding: 12px;
  border-radius: 4px;
}
input::placeholder,
textarea::placeholder {
  color: #767c70;
}
.source-search input {
  border: 0;
  background: transparent;
  padding: 8px 4px;
}
.source-search button {
  white-space: nowrap;
  font-size: 12px;
  padding: 12px;
}
.small {
  font-size: 12px;
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
#add-hint {
  margin: 10px 0 12px;
}
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.suggestions button {
  font-size: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 5px 12px;
  background: transparent;
  color: var(--ink);
}
.collection-tools {
  margin: 26px 0 16px;
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
  color: var(--muted);
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 20px;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 4px;
  padding: 13px 19px;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: background 0.15s;
}
button:hover:not(:disabled),
.button:hover {
  background: #3b503a;
  color: white;
}
button.secondary {
  background: #e6e9dc;
  color: var(--ink);
}
.source-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.source-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 20px;
  min-width: 0;
  position: relative;
  box-shadow: 0 3px 0 #e7e7db;
}
.source-card[data-stance="exclude"] {
  background: #edede5;
  box-shadow: none;
}
.source-card[data-stance="less"] {
  border-style: dashed;
}
.card-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.monogram {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 52px;
  font:
    28px Georgia,
    serif;
  border-radius: 2px;
  background: #e1e8cb;
  color: #3c502d;
}
.source-card[data-kind="forums"] .monogram {
  background: #eedfcb;
  color: #785637;
}
.source-card[data-kind="reddit"] .monogram {
  background: #eed8cb;
  color: #884a35;
}
.source-card[data-kind="x"] .monogram {
  background: #333e35;
  color: var(--paper);
}
.source-card h3 {
  font-size: 22px;
  margin: 0 24px 4px 0;
  overflow-wrap: anywhere;
}
.source-type {
  font: 10px monospace;
  color: var(--muted);
}
.source-address {
  display: block;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 18px;
}
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.card-actions select {
  background: transparent;
  border: 0;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 600;
  min-height: 32px;
}
.card-actions button {
  background: transparent;
  color: var(--muted);
  padding: 5px;
  font-size: 12px;
}
.remove-source {
  position: absolute;
  right: 13px;
  top: 13px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  padding: 0;
  width: 28px;
  height: 28px;
}
.order-panel {
  background: #e9ecdd;
  padding: 26px;
  border-radius: 4px;
  border-top: 3px solid #88965f;
}
.order-panel summary {
  cursor: pointer;
  font:
    15px/1.4 system-ui,
    sans-serif;
  font-weight: 650;
}
.order-panel[open] summary {
  margin-bottom: 24px;
}
.reading-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
}
.order-panel h2 {
  font-size: 30px;
}
.order-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 20px;
  counter-reset: source;
}
.order-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #cbd2b9;
  padding: 14px 0;
}
.order-list li::before {
  counter-increment: source;
  content: "0" counter(source);
  font: 11px monospace;
  color: var(--green);
}
.order-name {
  flex: 1;
  font:
    18px/1.2 Georgia,
    serif;
}
.order-name small {
  display: block;
  font: 10px/1.5 system-ui;
  margin-top: 5px;
  color: var(--muted);
}
.order-buttons {
  display: flex;
  gap: 2px;
}
.order-buttons button {
  padding: 3px;
  background: transparent;
  color: var(--ink);
  width: 26px;
  height: 30px;
  border: 1px solid #cbd2b9;
}
.sidebar-note {
  display: flex;
  gap: 12px;
  padding: 20px 7px;
  font-size: 12px;
  color: var(--muted);
}
.sidebar-note > span {
  font: 28px Georgia;
}
.sidebar-note p {
  margin: 0;
}
.starter-section {
  margin: 0 0 44px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.starter-section h2 {
  font-size: 27px;
}
.starters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.starter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 176px;
  background: #e9eadc;
  border-radius: 4px;
  padding: 18px;
}
.starter:nth-child(2) {
  background: #eae2d6;
}
.starter:nth-child(3) {
  background: #e0e8dc;
}
.starter h3 {
  font-size: 21px;
  margin: 10px 0;
}
.starter p {
  font-size: 11px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 15px;
}
.starter button {
  font-size: 11px;
  background: transparent;
  border: 1px solid #a8b297;
  color: var(--ink);
  padding: 6px 10px;
}
.starter-section > .small {
  margin-top: 14px;
}
.empty {
  border: 1px dashed #a6af96;
  padding: 32px;
  text-align: center;
  font: 22px/1.5 Georgia;
}
.empty span {
  font: 13px system-ui;
}
.save-bar {
  position: sticky;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 60px;
  padding: 15px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  box-shadow: 0 8px 28px #26362d24;
}
.save-bar strong {
  display: block;
  font-size: 13px;
}
.save-bar span {
  display: block;
  font-size: 11px;
  color: #c9d0bd;
}
.save-bar button {
  background: var(--lime);
  color: var(--ink);
}
.connect-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 42px 0;
  margin-bottom: 42px;
}
.connect-panel h2 {
  font-size: clamp(35px, 4vw, 51px);
  letter-spacing: -2px;
}
.connect-panel h2 em {
  color: var(--green);
}
.connect-panel > div > p:not(.eyebrow) {
  max-width: 325px;
  color: var(--muted);
}
.client-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.client-tabs button {
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: 10px 15px;
}
.client-tabs [aria-pressed="true"] {
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
}
.steps li {
  position: relative;
  padding-left: 38px;
  margin: 20px 0;
}
.steps li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid #aeb99b;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font: 11px monospace;
}
.steps strong {
  display: block;
  font-size: 13px;
}
.steps span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.copy-field {
  display: flex;
  gap: 6px;
}
.copy-field input {
  font: 11px monospace;
}
.copy-field button {
  font-size: 11px;
  white-space: nowrap;
  padding: 10px;
}
.prompt-card {
  border-left: 3px solid #98a76c;
  padding: 5px 0 5px 18px;
  margin-top: 25px;
}
.prompt-card p {
  font: 18px/1.5 Georgia;
  margin-bottom: 7px;
}
.prompt-card button {
  font-size: 11px;
  background: transparent;
  color: var(--green);
  padding: 0;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #e6eadb;
  padding: 16px;
  font-size: 12px;
}
.panel {
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 5px;
  margin: 24px 0;
  background: var(--white);
}
.panel .section-heading h2 {
  margin-bottom: 8px;
}
.query-row {
  display: flex;
  gap: 10px;
}
.query-row input {
  flex: 1;
}
.query-row button {
  white-space: nowrap;
}
.search-options {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  margin: 15px 0;
}
.search-options label {
  font-size: 11px;
}
.search-options select {
  margin-top: 6px;
  font-size: 12px;
}
label {
  display: block;
  font-size: 13px;
  margin: 12px 0 6px;
}
#search-status {
  font-size: 13px;
}
.results article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.results h3 {
  font-size: 24px;
  margin: 8px 0;
}
.results p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.results .result-meta {
  font: 10px monospace;
  white-space: normal;
  color: var(--green);
}
.results a {
  overflow-wrap: anywhere;
}
.result-reasons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.result-reasons span {
  font-size: 10px;
  background: #e9eddc;
  padding: 2px 7px;
  border-radius: 3px;
}
.settings {
  border-block: 1px solid var(--line);
  margin: 35px 0;
}
.settings summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 14px;
  font-weight: 600;
}
.settings summary::after {
  content: "＋";
}
.settings[open] summary::after {
  content: "−";
}
#membership-summary {
  font-size: 11px;
  font-weight: 400;
  margin-left: auto;
  padding: 0 24px;
}
.settings-body {
  padding-bottom: 26px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.grid h2 {
  font-size: 25px;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.notice {
  padding: 13px 17px;
  background: #e6ead9;
  border-left: 3px solid #7f9154;
  font-size: 12px;
}
meter {
  display: block;
  width: 100%;
  height: 16px;
  accent-color: var(--green);
}
#usage {
  font-size: 12px;
}
footer {
  display: flex;
  gap: 30px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 32px;
  font-size: 12px;
}
footer p {
  margin: 0;
}
footer > a:last-child {
  margin-left: auto;
}
dialog {
  border: 1px solid #9faa8a;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 30px;
  width: min(520px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #1e2e28aa;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 34px;
}
.icon-button {
  background: transparent;
  color: var(--ink);
  font-size: 26px;
  padding: 0 8px;
}
#editor-error {
  color: #9b3c2f;
  font-size: 12px;
  margin-top: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 5;
  background: var(--ink);
  color: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
@media (max-width: 1050px) {
  .masthead,
  main,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .edition {
    display: none;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .order-panel {
    padding: 22px;
  }
  .starters {
    grid-template-columns: 1fr;
  }
  .starter {
    min-height: 0;
  }
  .starter p {
    margin-bottom: 12px;
  }
  .hero-note {
    gap: 10px;
  }
  .asterisk {
    font-size: 62px;
  }
  .hero-note p {
    font-size: 21px;
  }
  .connect-panel {
    gap: 30px;
  }
  .directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .masthead,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .masthead {
    gap: 20px;
    min-height: 80px;
    justify-content: space-between;
  }
  .brand {
    font-size: 36px;
  }
  nav {
    gap: 17px;
    font-size: 11px;
  }
  nav a:last-child {
    display: none;
  }
  .hero {
    padding-top: 38px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero h1 {
    font-size: 57px;
    letter-spacing: -3px;
  }
  .hero-note {
    display: none;
  }
  .intro {
    font-size: 15px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .source-search {
    gap: 4px;
  }
  .source-search > span {
    display: none;
  }
  .source-search input {
    font-size: 13px;
  }
  .source-search button {
    font-size: 11px;
    padding: 12px 8px;
  }
  .source-cards {
    gap: 10px;
  }
  .source-card {
    padding: 15px;
  }
  .monogram {
    width: 36px;
    height: 42px;
    font-size: 23px;
  }
  .card-top {
    gap: 8px;
  }
  .source-card h3 {
    font-size: 20px;
    margin-right: 15px;
  }
  .source-type {
    font-size: 9px;
  }
  .card-actions {
    flex-wrap: wrap;
    gap: 2px;
  }
  .card-actions select {
    font-size: 11px;
  }
  .remove-source {
    right: 7px;
    top: 7px;
  }
  .count {
    font-size: 10px;
    padding: 5px 7px;
  }
  .starters {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .starter {
    padding: 12px;
  }
  .starter h3 {
    font-size: 18px;
  }
  .starter p {
    font-size: 10px;
  }
  .starter button {
    font-size: 10px;
    padding: 6px;
  }
  .starter .eyebrow {
    font-size: 8px;
  }
  .order-panel h2 br {
    display: none;
  }
  .reading-sidebar {
    grid-template-columns: 1fr;
  }
  .order-list {
    margin: 18px 0;
  }
  .order-list li {
    padding: 11px 0;
  }
  .sidebar-note {
    padding-bottom: 0;
  }
  .save-bar {
    bottom: 10px;
    margin: 20px 0 36px;
    padding: 13px;
  }
  .save-bar button {
    font-size: 12px;
    padding: 11px;
  }
  .save-bar span {
    max-width: 200px;
  }
  .connect-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0;
  }
  .connect-panel h2 {
    font-size: 42px;
  }
  .connect-panel > div > p:not(.eyebrow) {
    max-width: 100%;
  }
  .panel {
    padding: 21px;
  }
  .query-row {
    flex-direction: column;
  }
  .query-row button {
    align-self: flex-start;
  }
  .search-options {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  footer {
    flex-wrap: wrap;
    gap: 20px;
  }
  .filters {
    gap: 2px;
  }
  .filters button {
    font-size: 11px;
    padding: 6px 10px;
  }
  .directory {
    grid-template-columns: 1fr;
  }
  .directory-section {
    padding-bottom: 30px;
  }
  .directory-card {
    min-height: 72px;
  }
  #membership-summary {
    padding: 0 12px;
  }
  .settings summary {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .source-cards,
  .starters {
    grid-template-columns: 1fr;
  }
  .save-bar {
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 49px;
  }
  .copy-field {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
/* The finish line is a source-backed answer in the customer's AI. */
body:has(#account:not([hidden])) .hero {
  padding-top: var(--space-4);
  gap: var(--space-4);
}
body:has(#account:not([hidden])) .hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
}
.onboarding {
  margin-bottom: var(--space-5);
}
.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0;
  list-style: none;
  margin: 1.5rem 0;
}
.onboarding-steps li {
  border-top: 2px solid var(--roast);
  padding-top: 1rem;
}
.onboarding-steps p {
  font-size: 0.9rem;
}
@media (max-width: 700px) {
  .onboarding-steps {
    grid-template-columns: 1fr;
  }
}
