/* Blog, offer and legal pages (generated by build.mjs).
   Loaded after styles.css, so it reuses its tokens (--ink, --red, ...) and fonts. */

.page {
  width: min(760px, 100% - 40px);
  gap: clamp(48px, 8vw, 80px);
}

.page a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: var(--pink-deep);
  text-underline-offset: 3px;
}

.page a:not(.btn):hover {
  color: var(--red-deep);
}

.page .nav__links a,
.page .section-tag a {
  text-decoration: none;
}

.page__title {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.prose {
  margin-top: 28px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2em;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-top: 1.6em;
  font-size: 1.15rem;
  font-weight: 600;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--red);
}

.prose blockquote {
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--pink);
  color: var(--ink-soft);
}

.prose code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--bg-warm);
}

.prose pre {
  overflow-x: auto;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: oklch(0.95 0.01 75);
}

.prose pre code {
  padding: 0;
  background: none;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--ink-line);
}

.prose strong {
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tags li {
  padding: 2px 10px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.post-list {
  display: grid;
  gap: 8px;
}

.post-list li {
  padding: 22px 0;
  border-top: 1px solid var(--ink-line);
}

.post-list a {
  display: grid;
  gap: 6px;
  text-decoration: none !important;
}

.post-list time {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.post-list__title {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.post-list a:hover .post-list__title {
  color: var(--red-deep);
}

.post-list__desc {
  color: var(--ink-soft);
}

.site-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.site-foot a {
  text-decoration: none !important;
}
