/* Podsage: site styles. No framework, no build step. */

/* Fonts ------------------------------------------------------------------ */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens ----------------------------------------------------------------- */

:root {
  --ink: #0A0A0A;
  --paper: #F4F2EF;
  --ember: #961911;
  --muted: #6B6762;          /* 5.0:1 on paper */
  --muted-dark: #8F8A84;     /* 5.8:1 on ink; #6B6762 only reaches 3.5:1 there */

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--muted);
  --line: rgb(10 10 10 / 0.12);
  --tint: rgb(10 10 10 / 0.05);
  --glass: rgb(244 242 239 / 0.74);
  --footer-bg: var(--ink);
  --shadow-ui: drop-shadow(0 30px 40px rgb(10 10 10 / 0.12)) drop-shadow(0 2px 3px rgb(10 10 10 / 0.06));

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --wide: 72rem;
  --section: clamp(8rem, 4rem + 12vw, 15rem);
  --feature-gap: clamp(7rem, 4rem + 9vw, 12rem);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink);
    --fg: var(--paper);
    --fg-2: var(--muted-dark);
    --line: rgb(244 242 239 / 0.14);
    --tint: rgb(244 242 239 / 0.07);
    --glass: rgb(10 10 10 / 0.72);
    --footer-bg: #151413;
    --shadow-ui: drop-shadow(0 30px 40px rgb(0 0 0 / 0.5));
  }
}

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
em, i { font-style: italic; }

::selection { background: var(--ember); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2 * var(--gutter), var(--wide));
  margin-inline: auto;
}

/* Type ------------------------------------------------------------------- */

.eyebrow {
  margin-bottom: 1.5rem;
  color: var(--fg-2);
  font: 500 0.75rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display,
.section-title,
.feature-title {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(2.375rem, 1.4rem + 3.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

.link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s;
}
.link:hover { text-decoration-color: currentColor; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font: 500 1rem/1 var(--sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: color-mix(in srgb, var(--fg) 84%, var(--bg)); }
.btn:active { transform: scale(0.98); }

.btn--sm {
  height: 2.5rem;
  padding: 0 1.125rem;
  font-size: 0.875rem;
}

/* Nav -------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 1rem 0 auto;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, 40rem);
  height: 3.5rem;
  padding: 0.375rem 0.375rem 0.375rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 12px 32px -18px rgb(10 10 10 / 0.25);
  pointer-events: auto;
}

.nav-mark {
  display: grid;
  place-items: center;
  justify-self: start;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: var(--fg);
}
.nav-mark svg { width: 1.625rem; height: 1.625rem; }

.nav-links { display: flex; gap: 0.125rem; }

.nav-links a {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.nav-links a:hover { background: var(--tint); }

.nav-cta { justify-self: end; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 500 0.875rem/1 var(--sans);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--tint); }

.nav-toggle-icon {
  position: relative;
  width: 0.875rem;
  height: 0.5rem;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon::after { top: calc(100% - 1.5px); }
.nav[data-open] .nav-toggle-icon::before { top: calc(50% - 0.75px); transform: rotate(45deg); }
.nav[data-open] .nav-toggle-icon::after { top: calc(50% - 0.75px); transform: rotate(-45deg); }

@media (max-width: 47.99rem) {
  .nav { display: flex; gap: 0.25rem; }
  .nav-mark { margin-right: auto; }

  .js .nav-toggle { display: inline-flex; }

  .js .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 1.75rem;
    background: var(--bg);
    box-shadow: 0 24px 48px -24px rgb(10 10 10 / 0.3);
  }
  .js .nav[data-open] .nav-links { display: flex; }
  .js .nav-links a { padding: 0.875rem 1.125rem; font-size: 1.0625rem; }

  /* Without JavaScript the links wrap onto a second row inside the pill. */
  html:not(.js) .nav { flex-wrap: wrap; height: auto; border-radius: 1.75rem; }
  html:not(.js) .nav-links { order: 3; width: 100%; justify-content: space-between; }
}

/* Hero ------------------------------------------------------------------- */

.hero {
  padding-block: clamp(10rem, 26vh, 16rem) clamp(5rem, 14vh, 9rem);
  text-align: center;
}

.hero-title {
  max-width: 13em;
  margin-inline: auto;
  font-size: clamp(2.625rem, 1.2rem + 6vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.hero-title em { display: block; }

.hero-lede {
  max-width: 34rem;
  margin: 2rem auto 0;
  color: var(--fg-2);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions { margin-top: 2.75rem; }

.hero-platforms {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  color: var(--fg-2);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 30rem) {
  .hero-title { line-height: 1.02; letter-spacing: -0.01em; }
  .hero-title em { margin-top: 0.08em; }
}

/* Statement -------------------------------------------------------------- */

.statement {
  padding-block: clamp(5rem, 10vw, 9rem) var(--section);
  text-align: center;
}

.statement-text {
  max-width: 16em;
  margin-inline: auto;
  color: var(--fg-2);
  font-family: var(--serif);
  font-size: clamp(2rem, 1.1rem + 3.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.statement-text em { color: var(--fg); }

/* Features --------------------------------------------------------------- */

.features { padding-bottom: var(--section); }
.features .container > * + * { margin-top: var(--feature-gap); }

.feature-copy { max-width: 27rem; }

.feature-title {
  font-size: clamp(2.125rem, 1.5rem + 2.2vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.feature-copy > p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: var(--fg-2);
  text-wrap: pretty;
}

.shot {
  width: min(100%, 25rem);
  margin-inline: auto;
  filter: var(--shadow-ui);
}
.shot img { width: 100%; height: auto; }
.shot--open img {
  -webkit-mask-image: linear-gradient(#000 55%, transparent 94%);
  mask-image: linear-gradient(#000 55%, transparent 94%);
}

@media (prefers-color-scheme: dark) {
  .shot img { filter: brightness(0.93); }
}

/* Split: copy beside a screen, alternating sides. */
.feature--split .shot { margin-top: 3.5rem; }

@media (min-width: 56rem) {
  .feature--split {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
    align-items: center;
  }
  .feature--split .feature-copy { grid-column: 1 / span 5; grid-row: 1; }
  .feature--split .shot { grid-column: 7 / span 6; grid-row: 1; margin-top: 0; }
  .feature--split.is-flipped .feature-copy { grid-column: 8 / span 5; }
  .feature--split.is-flipped .shot { grid-column: 1 / span 6; }
}

/* Full width: the Pod. */
.feature--full { text-align: center; }
.feature--full .feature-copy { max-width: 32rem; margin-inline: auto; }
.feature--full .shot { width: min(100%, 27rem); margin-top: 4.5rem; }

.search { margin-top: clamp(3.5rem, 7vw, 6rem); }

.search-title {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.search-tiers {
  display: grid;
  gap: 2.25rem;
  max-width: 60rem;
  margin: 3.5rem auto 0;
  text-align: left;
  counter-reset: tier;
}
.search-tiers li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  counter-increment: tier;
}
.search-tiers li::before {
  content: "0" counter(tier);
  display: block;
  margin-bottom: 1rem;
  color: var(--fg-2);
  font: italic 400 1.5rem/1 var(--serif);
}
.tier-name { font-weight: 500; }
.tier-name + p { margin-top: 0.375rem; color: var(--fg-2); font-size: 0.9375rem; line-height: 1.55; }

@media (min-width: 48rem) {
  .search-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3.5rem); }
}

.search-note {
  max-width: 35rem;
  margin: 3rem auto 0;
  color: var(--fg-2);
  font-size: 0.9375rem;
  text-wrap: pretty;
}

.search-engine {
  max-width: 35rem;
  margin: 1.25rem auto 0;
  font-size: 0.9375rem;
  text-wrap: pretty;
}
.search-engine strong { font-weight: 500; }

/* Type only: quick capture. */
.feature--type { text-align: center; }
.feature--type .feature-copy { max-width: none; }
.feature--type .feature-copy > p:not(.eyebrow) { max-width: 30rem; margin-inline: auto; }

.capture-line {
  display: block;
  max-width: 12em;
  margin: 1.75rem auto 0;
  color: var(--fg);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 6rem);
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.capture-line > span { display: block; white-space: nowrap; }
.feature--type .shot { width: min(100%, 26rem); margin-top: clamp(3.5rem, 7vw, 5rem); }

/* A pair: streaks and levels, staggered. */
.feature-pair { display: grid; gap: var(--feature-gap); }
.feature--stack .shot { width: min(100%, 23rem); margin-top: 3.5rem; }

@media (min-width: 56rem) {
  .feature-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
  }
  .feature-pair > :nth-child(2) { margin-top: clamp(8rem, 16vw, 15rem); }
  .feature--stack .shot { margin-inline: 0; }
}

/* Privacy ---------------------------------------------------------------- */

.privacy {
  --fg: var(--paper);
  --fg-2: rgb(244 242 239 / 0.8);  /* 5.4:1 on Ember */
  --line: rgb(244 242 239 / 0.28);
  margin-inline: clamp(0.5rem, 1.5vw, 1.5rem);
  padding: clamp(6rem, 12vw, 11rem) var(--gutter);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ember);
  color: var(--fg);
  text-align: center;
}

.privacy-title {
  max-width: 11em;
  margin-inline: auto;
  font-size: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.privacy-title em { display: block; }

.privacy-lede {
  max-width: 33rem;
  margin: 2rem auto 0;
  color: var(--fg-2);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.privacy-facts {
  display: grid;
  gap: 2rem;
  max-width: 60rem;
  margin: clamp(4rem, 8vw, 6rem) auto 0;
  text-align: left;
}
.privacy-facts li { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.privacy-facts strong { display: block; font-weight: 500; }
.privacy-facts span { display: block; margin-top: 0.375rem; color: var(--fg-2); font-size: 0.9375rem; line-height: 1.5; }

.privacy-more { margin-top: clamp(3rem, 6vw, 4rem); font-size: 0.9375rem; }

@media (min-width: 30rem) { .privacy-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; } }
@media (min-width: 56rem) { .privacy-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; } }

/* FAQ -------------------------------------------------------------------- */

.faq { padding-top: var(--section); }
.faq-head { margin-bottom: clamp(3rem, 6vw, 4.5rem); text-align: center; }

.faq-list {
  max-width: 46rem;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }

.faq-q { font: inherit; }

.faq-q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem 0.25rem;
  border: 0;
  border-radius: 0.25rem;
  background: none;
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.faq-icon { position: relative; flex: none; width: 0.875rem; height: 0.875rem; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.75px);
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-q [aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }

.faq-a > div { overflow: hidden; }
.faq-a p {
  max-width: 38rem;
  padding: 0 0.25rem 1.75rem;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* Collapsed state only once the script has taken over; without it every answer shows. */
.faq-list[data-ready] .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.4s var(--ease), visibility 0s linear 0.4s;
}
.faq-list[data-ready] .faq-item[data-open] .faq-a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.4s var(--ease), visibility 0s;
}

/* Contact ---------------------------------------------------------------- */

.contact { padding-block: var(--section); text-align: center; }

.contact-list {
  display: grid;
  gap: 3rem 2rem;
  max-width: 64rem;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
}
.contact-list dt {
  margin-bottom: 0.75rem;
  color: var(--fg-2);
  font: 500 0.75rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.contact-list a {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem);
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s;
}
.contact-list a:hover { text-decoration-color: currentColor; }

@media (min-width: 64rem) { .contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  --fg: var(--paper);
  --fg-2: var(--muted-dark);
  --line: rgb(244 242 239 / 0.14);
  --tint: rgb(244 242 239 / 0.07);
  overflow: hidden;
  padding-top: clamp(4.5rem, 8vw, 7rem);
  background: var(--footer-bg);
  color: var(--fg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 1.5rem;
}

.footer-brand { grid-column: 1 / -1; max-width: 18rem; }
.footer-brand svg { width: 2rem; height: 2rem; }
.footer-brand p { margin-top: 1.25rem; color: var(--fg-2); font-size: 0.9375rem; line-height: 1.5; }

.footer-h {
  margin-bottom: 1.125rem;
  color: var(--fg-2);
  font: 500 0.75rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links li + li { margin-top: 0.625rem; }
.footer-links a {
  font-size: 0.9375rem;
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.social { display: flex; gap: 0.5rem; }
.social a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color 0.2s;
}
.social a:hover { background: var(--tint); }
.social svg { width: 1rem; height: 1rem; }

@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(4rem, 8vw, 6rem);
  color: var(--fg-2);
  font-size: 0.8125rem;
}

/* The wordmark spans the container: "Podsage" sets 2.795em wide in Instrument Serif,
   2.585em after the tracking below. */
.footer-wordmark {
  margin-top: clamp(1rem, 2vw, 2rem);
  padding-bottom: 0.1em;  /* the g descends 0.215em; the line box gives 0.16em */
  font-family: var(--serif);
  font-size: calc(min(100vw - 2 * var(--gutter), var(--wide)) / 2.6);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

/* Inner pages ------------------------------------------------------------ */

.page { padding-block: clamp(9rem, 22vh, 13rem) var(--section); }
.page-head { max-width: 42rem; margin-inline: auto; text-align: center; }

.page-title {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 1.5rem + 4.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.page-lede { margin-top: 1.5rem; color: var(--fg-2); font-size: 1.125rem; text-wrap: pretty; }

.prose { max-width: 38rem; margin: clamp(3rem, 7vw, 5rem) auto 0; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 {
  margin-top: 2.25em;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  line-height: 1.1;
}
.prose ul { padding-left: 1.25em; list-style: disc; }
.prose li + li { margin-top: 0.5em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.prose blockquote {
  margin: 2em 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.2;
}

.prose ol { padding-left: 1.25em; list-style: decimal; }
.prose ol li + li { margin-top: 0.5em; }

.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--fg-2); font: 500 0.75rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.prose td:first-child { font-weight: 500; white-space: nowrap; }

.formula {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: var(--tint);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
  line-height: 1.3;
}

.prose .sources { margin-top: 1em; padding-left: 1.5em; color: var(--fg-2); font-size: 0.875rem; line-height: 1.5; }
.prose .sources li + li { margin-top: 0.625em; }

.placeholder-note {
  max-width: 38rem;
  margin: 2.5rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px dashed color-mix(in srgb, var(--fg) 35%, transparent);
  border-radius: 1rem;
  color: var(--fg-2);
  font-size: 0.9375rem;
  text-align: left;
}

.post-list {
  max-width: 46rem;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  border-top: 1px solid var(--line);
}
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: block; padding: 2.25rem 0.25rem; text-decoration: none; }
.post-list .eyebrow { margin-bottom: 0.875rem; }
.post-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem);
  line-height: 1.08;
  text-wrap: balance;
}
.post-list a:hover .post-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.post-excerpt { margin-top: 0.75rem; color: var(--fg-2); }

.back-link { display: inline-block; margin-top: 4rem; }

/* Motion ----------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero > .container > * { animation: rise 0.9s var(--ease) both; }
  .hero > .container > :nth-child(2) { animation-delay: 0.06s; }
  .hero > .container > :nth-child(3) { animation-delay: 0.14s; }
  .hero > .container > :nth-child(4) { animation-delay: 0.2s; }
  .hero > .container > :nth-child(5) { animation-delay: 0.24s; }

  .reveal-on .reveal {
    transition: opacity 0.9s var(--ease) var(--delay, 0s), transform 0.9s var(--ease) var(--delay, 0s);
  }
  .reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(1rem); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(0.75rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
