/* Marketing shell — same frame as onthelist.ch for error and content pages */
.pub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F3EEE4;
  color: #17150F;
  font-family: "Geist", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.pub a { color: inherit; }

.pub-header,
.pub-footer,
.pub-main {
  padding-left: max(20px, calc(50vw - 720px));
  padding-right: max(20px, calc(50vw - 720px));
}

@media (min-width: 480px) {
  .pub-header,
  .pub-footer,
  .pub-main {
    padding-left: max(clamp(20px, 5vw, 64px), calc(50vw - 720px));
    padding-right: max(clamp(20px, 5vw, 64px), calc(50vw - 720px));
  }
}

.pub-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 84px;
  box-sizing: border-box;
  padding-top: 22px;
  padding-bottom: 22px;
}

.pub-brand {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #17150F;
}

.pub-dot { color: #D9432A; }

.pub-byline {
  font-size: 12px;
  color: rgba(23, 21, 15, 0.6);
  white-space: nowrap;
}

.pub-login {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
}

.pub-login:hover { background: rgba(23, 21, 15, 0.06); }

.pub-main {
  flex: 1;
  padding-top: clamp(32px, 6vh, 72px);
  padding-bottom: clamp(48px, 8vh, 96px);
}

.pub-main h1 {
  margin: 0 0 20px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.pub-lead {
  margin: 0;
  max-width: 36em;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(23, 21, 15, 0.78);
}

.pub a.pub-btn {
  display: inline-flex;
  margin-top: 28px;
  background: #17150F;
  color: #F3EEE4;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.pub a.pub-btn:hover { background: #2E2A22; color: #F3EEE4; }

.pub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 13px;
  color: rgba(23, 21, 15, 0.6);
}

.pub-footer__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 20px;
  line-height: 1;
  color: #17150F;
}

.pub-footer__brand .pub-byline {
  font-family: "Geist", system-ui, sans-serif;
  font-size: 13px;
}

.pub-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pub-footer a { text-decoration: none; }
.pub-footer a:hover { color: #17150F; }
.pub-footer a[aria-current="page"] { color: #17150F; }

.pub .layout-container {
  margin: 0;
  max-width: 42rem;
}

.layout-container {
  max-width: 48rem;
  margin: 0 auto;
}

.layout-container--full {
  max-width: none;
}

.layout-columns {
  display: grid;
  gap: 1.5rem;
}

.layout-col--12 { grid-column: span 1; }

@media (min-width: 768px) {
  .layout-columns {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.75rem;
  }
  .layout-col--1  { grid-column: span 1; }
  .layout-col--2  { grid-column: span 2; }
  .layout-col--3  { grid-column: span 3; }
  .layout-col--4  { grid-column: span 4; }
  .layout-col--5  { grid-column: span 5; }
  .layout-col--6  { grid-column: span 6; }
  .layout-col--7  { grid-column: span 7; }
  .layout-col--8  { grid-column: span 8; }
  .layout-col--9  { grid-column: span 9; }
  .layout-col--10 { grid-column: span 10; }
  .layout-col--11 { grid-column: span 11; }
  .layout-col--12 { grid-column: span 12; }
}

.layout-row--muted {
  background: rgba(255, 253, 248, 0.55);
  border-radius: 1.25rem;
}

.layout-pad-top-none { padding-top: 0; }
.layout-pad-top-small { padding-top: clamp(1rem, 3vw, 2.5rem); }
.layout-pad-top-large { padding-top: clamp(2rem, 6vw, 5rem); }
.layout-pad-bottom-none { padding-bottom: 0; }
.layout-pad-bottom-small { padding-bottom: clamp(1rem, 3vw, 2.5rem); }
.layout-pad-bottom-large { padding-bottom: clamp(2rem, 6vw, 5rem); }

.block-align--left { text-align: left; }
.block-align--center { text-align: center; }
.block-align--right { text-align: right; }

.content-heading {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.content-heading--h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.content-heading--h2 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); }
.content-heading--h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.content-heading--h4,
.content-heading--h5,
.content-heading--h6 { font-size: 1.15rem; font-family: "Geist", system-ui, sans-serif; font-weight: 600; }

.content-text p,
.content-list p { margin: 0 0 1rem; }
.content-text p:last-child,
.content-list p:last-child { margin-bottom: 0; }

.content-text ul,
.content-list ul,
.content-text ol,
.content-list ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.content-image {
  margin: 0 0 1.25rem;
}

.content-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.content-image__caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(23, 21, 15, 0.65);
}

.content-quote {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid #D9432A;
  background: #FFFDF8;
  border-radius: 0 1rem 1rem 0;
}

.content-quote__footer {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(23, 21, 15, 0.65);
}

.content-accordion__header { margin-bottom: 1.25rem; }

.content-accordion__item {
  background: #FFFDF8;
  border: 1px solid rgba(23, 21, 15, 0.08);
  border-radius: 1rem;
  margin-bottom: 0.65rem;
  padding: 0.15rem 0;
}

.content-accordion__trigger {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  font-weight: 500;
}

.content-accordion__trigger::-webkit-details-marker { display: none; }

.content-accordion__number {
  font-size: 0.75rem;
  color: #D9432A;
  font-variant-numeric: tabular-nums;
}

.content-accordion__panel {
  padding: 0 1.1rem 1.1rem;
}

