/* ==========================================================================
   VersiBible — showcase site
   Tokens transcribed from the app: src/theme/tokens.ts and src/theme/type.ts.
   One accent (amber). Paper and ink everywhere else, with two night bands.
   ========================================================================== */

/* --------------------------------------------------------------- fonts -- */
@font-face {
  font-family: 'Newsreader';
  src: url('assets/fonts/Newsreader-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('assets/fonts/Newsreader-300-italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('assets/fonts/InstrumentSans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('assets/fonts/InstrumentSans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('assets/fonts/InstrumentSans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------- tokens -- */
:root {
  --paper: #faf7f2;
  --surface: #ffffff;
  --ink: #1c1917;
  --body: #4a443e;
  --muted: #6e665f;
  --subtle: #8a827a;
  --faint: #a39a90;
  --amber: #c8781f;
  --amber-text: #9a5e13;
  --flame: #e8a33d;
  --glow: #f6ebdc;
  --glow-border: #ead9bf;
  --night: #14110f;
  --night-surface: #1e1a17;
  --night-border: #2c2620;
  --night-text: #f7f3ec;
  --night-body: #e4ded6;
  --night-muted: #b8b0a7;
  --night-subtle: #8b8179;
  --verified: #3f6b5b;
  --verified-surface: #edf2ef;
  --verified-border: #d6e2db;
  --border: #e7e1d8;
  --border-strong: #dcd4c8;
  --divider: #efe9df;

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: 24px;
  --max: 1120px;
  --r-chip: 999px;
  --r-card: 14px;
  --r-panel: 22px;
  --r-hero: 24px;
}

/* --------------------------------------------------------------- reset -- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------- helpers -- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: 760px;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin: 0 0 18px;
}
.eyebrow--amber {
  color: var(--amber-text);
}

.display,
.h2,
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.display {
  font-size: clamp(2.5rem, 7.2vw, 4.25rem);
  line-height: 1.08;
}
.h2 {
  font-size: clamp(2rem, 4.8vw, 2.9rem);
  line-height: 1.16;
}
.h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.25;
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 34em;
}
.body {
  color: var(--muted);
  max-width: 36em;
}
/* Reserved for scripture pull-quotes, matching the app's `verse` style. The
   italic face is only downloaded if something on the page actually uses it. */
.verse {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  color: var(--body);
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--amber);
  border: 0;
  margin: 0 0 26px;
}

/* ------------------------------------------------------------ controls -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--r-chip);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}
.btn--solid {
  background: var(--ink);
  color: var(--paper);
}
.btn--solid:hover {
  transform: translateY(-2px);
  background: #2a2523;
}
.btn--ghost {
  border-color: var(--border-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn--light {
  background: var(--night-text);
  color: var(--ink);
  width: 100%;
}
.btn--light:hover {
  transform: translateY(-2px);
  background: #fff;
}
.btn--outline-night {
  border-color: #3a332c;
  color: var(--night-text);
  background: transparent;
  width: 100%;
}
.btn--outline-night:hover {
  border-color: var(--flame);
  transform: translateY(-2px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: var(--r-chip);
  background: var(--glow);
  border: 1px solid var(--glow-border);
  color: var(--amber-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flame);
  flex: none;
}
.chip--night {
  background: #2a2116;
  border-color: #3b2f1f;
  color: var(--flame);
}

/* --------------------------------------------------------- site header -- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.masthead.is-stuck {
  border-bottom-color: var(--border);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.masthead__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.masthead__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.masthead__nav a:hover {
  color: var(--ink);
}
.masthead .btn {
  padding: 11px 20px;
  font-size: 14px;
}
@media (max-width: 720px) {
  .masthead__nav a {
    display: none;
  }
}

/* ---------------------------------------------------------------- hero -- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* the lamp's glow, very quietly */
  content: '';
  position: absolute;
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.16), rgba(232, 163, 61, 0) 68%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
}
.hero__copy .display {
  margin-bottom: 24px;
}
.hero__mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 26px;
  box-shadow: 0 18px 44px -22px rgba(28, 25, 23, 0.45);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.hero__note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--faint);
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__shot {
    justify-self: center;
  }
}

/* ------------------------------------------------------- phone framing -- */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  border-radius: 42px;
  padding: 9px;
  background: linear-gradient(160deg, #211d1a, #0f0d0c);
  box-shadow: 0 40px 80px -40px rgba(28, 25, 23, 0.55), 0 2px 6px rgba(28, 25, 23, 0.12);
}
.phone::after {
  /* the hairline highlight along the bezel */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.phone img {
  border-radius: 34px;
  width: 100%;
  height: auto;
  background: var(--paper);
}
.phone--lg {
  max-width: 340px;
}
.phone--sm {
  max-width: 262px;
}
.phone--tilt {
  transform: rotate(-1.6deg);
}
.phone--tilt-r {
  transform: rotate(1.6deg);
}

/* ------------------------------------------------------------ sections -- */
.section {
  padding: clamp(64px, 9vw, 118px) 0;
  position: relative;
}
.section--hairline {
  border-top: 1px solid var(--border);
}
.section__head {
  max-width: 42rem;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__head .h2 {
  margin-bottom: 18px;
}

/* --------------------------------------------------------- the promise -- */
.promise {
  background: var(--glow);
  border-block: 1px solid var(--glow-border);
  padding: clamp(56px, 8vw, 104px) 0;
}
.promise blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.36;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.promise blockquote em {
  font-style: normal;
  color: var(--amber-text);
}
.promise p {
  margin-top: 26px;
  color: var(--body);
  max-width: 40em;
}

/* --------------------------------------------------------------- beats -- */
.beats {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.beats__shots {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.beats__shots .phone:first-child {
  margin-top: 34px;
}
.beat {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--divider);
}
.beat:last-child {
  border-bottom: 0;
}
.beat__n {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--amber);
  line-height: 1.2;
}
.beat h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.beat p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .beats {
    grid-template-columns: 1fr;
  }
  .beats__shots {
    order: -1;
  }
}
@media (max-width: 520px) {
  .beats__shots .phone:first-child {
    display: none;
  }
}

/* ------------------------------------------------------ feature stripe -- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid var(--border);
}
.feature:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.feature--flip .feature__media {
  order: -1;
}
.feature__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.feature__label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}
.feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.feature p {
  color: var(--muted);
  max-width: 32em;
}
.feature__aside {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 2px solid var(--glow-border);
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.6;
  max-width: 30em;
}
@media (max-width: 860px) {
  .feature,
  .feature--flip {
    grid-template-columns: 1fr;
  }
  .feature--flip .feature__media {
    order: 0;
  }
}

/* ------------------------------------------------------- small feature -- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.cards article {
  background: var(--paper);
  padding: 32px 28px;
}
.cards h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.cards p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}
.cards .mark {
  width: 22px;
  height: 2px;
  background: var(--amber);
  display: block;
  margin-bottom: 18px;
}

/* ---------------------------------------------------------- philosophy -- */
.philosophy {
  border-block: 1px solid var(--border);
  padding: clamp(64px, 9vw, 112px) 0;
}
.philosophy__lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 56px);
}
.philosophy__lines > div {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.philosophy__lines h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.65rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.philosophy__lines p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}
@media (max-width: 760px) {
  .philosophy__lines {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- pricing -- */
.night {
  background: var(--night);
  color: var(--night-text);
}
.pricing {
  padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
}
.pricing .h2,
.pricing .display {
  color: var(--night-text);
}
.pricing .eyebrow {
  color: var(--flame);
}
.pricing__head {
  max-width: 40rem;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.pricing__head p {
  color: var(--night-muted);
  margin-top: 18px;
  max-width: 36em;
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
.plan {
  background: var(--night-surface);
  border: 1px solid var(--night-border);
  border-radius: var(--r-panel);
  padding: 30px 28px;
  position: relative;
}
.plan--featured {
  border-color: var(--flame);
}
.plan__badge {
  position: absolute;
  top: 26px;
  right: 26px;
  background: var(--flame);
  color: #1c1917;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: var(--r-chip);
}
.plan__name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night-subtle);
  margin-bottom: 16px;
}
.plan__price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--night-text);
}
.plan__price span {
  font-size: 1rem;
  font-family: var(--sans);
  color: var(--night-subtle);
  letter-spacing: 0;
}
.plan__detail {
  color: var(--night-muted);
  font-size: 14px;
  margin-top: 12px;
  min-height: 21px;
}
.plan__cta {
  margin-top: 26px;
}
.plan__benefits {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--night-border);
  display: grid;
  gap: 13px;
}
.plan__benefits li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  color: var(--night-body);
  font-size: 15px;
  line-height: 1.5;
}
.plan__benefits svg {
  margin-top: 4px;
  flex: none;
}

.free-line {
  margin-top: 28px;
  background: var(--night-surface);
  border: 1px solid var(--night-border);
  border-radius: var(--r-panel);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  justify-content: space-between;
}
.free-line p {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--night-text);
  letter-spacing: -0.01em;
}
.fineprint {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--night-subtle);
  max-width: 44em;
}
.fineprint a {
  color: var(--night-muted);
}

#coming {
  scroll-margin-top: 96px;
}
#coming.is-flagged {
  animation: flag 1.6s ease;
}
@keyframes flag {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 163, 61, 0);
  }
  30% {
    box-shadow: 0 0 0 6px rgba(232, 163, 61, 0.22);
  }
}

/* -------------------------------------------------------------- footer -- */
.footer {
  border-top: 1px solid var(--night-border);
  padding: 56px 0 44px;
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer .brand {
  color: var(--night-text);
}
.footer__tag {
  color: var(--night-subtle);
  font-size: 14px;
  margin-top: 14px;
  max-width: 28em;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.footer__links a {
  color: var(--night-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__links a:hover {
  color: var(--flame);
}
.footer__legal {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--night-border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: var(--night-subtle);
  font-size: 12px;
}

/* --------------------------------------------------------------- prose -- */
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.prose p {
  color: var(--muted);
  margin-bottom: 16px;
}
.prose .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--amber-text);
  text-decoration: none;
}

/* ------------------------------------------------------------- reveals -- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------ article -- */
.article {
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 100px);
}
.article__head,
.article__body,
.article__foot {
  max-width: 44rem;
  margin-inline: auto;
}
.article__head {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
}
.article__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
}
.article h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.05rem, 4.6vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 22px;
}
.article__lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.7;
  color: var(--muted);
}
.article__body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
}
.article__body > * + * {
  margin-top: 22px;
}
.article__body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: clamp(44px, 5vw, 60px);
  padding-top: 4px;
}
.article__body h2 + p {
  margin-top: 16px;
}
.article__body strong {
  color: var(--ink);
  font-weight: 600;
}
.article__body em {
  font-style: italic;
}
.article__body a {
  color: var(--amber-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.article__body a:hover {
  color: var(--amber);
}
.article__body ul {
  display: grid;
  gap: 14px;
}
.article__body li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
}
.article__body li::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--amber);
  margin-top: 15px;
}
.article__body ol {
  counter-reset: step;
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}
.article__body ol li {
  counter-increment: step;
  grid-template-columns: 22px 1fr;
}
.article__body ol li::before {
  content: counter(step) '.';
  width: auto;
  height: auto;
  background: none;
  margin-top: 0;
  font-family: var(--serif);
  color: var(--amber);
}
.article__foot {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}
.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article__tags span {
  font-size: 12px;
  color: var(--subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-chip);
  padding: 5px 12px;
}

/* --------------------------------------------------------- post list -- */
.post-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
  margin-top: clamp(32px, 4vw, 48px);
}
.post-list article {
  background: var(--paper);
  padding: 30px 0;
}
.post-list a {
  text-decoration: none;
  display: block;
}
.post-list time {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
}
.post-list h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 10px 0;
  transition: color 0.2s ease;
}
.post-list a:hover h2 {
  color: var(--amber-text);
}
.post-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 42em;
}
.article__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--glow);
  border: 1px solid var(--glow-border);
  border-radius: 5px;
  padding: 1px 5px;
}
