/* percolate.space — landing page stylesheet */

/* ---- Reset & base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Layout ---- */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Header ---- */
.site-header {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid #d4d4d4;
}

.site-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #111;
  margin-bottom: 0.15rem;
}

.site-header .byline {
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  margin-bottom: 0.6rem;
}

.site-header .subtitle {
  font-size: 1.05rem;
  color: #444;
  font-style: normal;
}

/* ---- Sections ---- */
section {
  padding: 2.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

section:last-of-type {
  border-bottom: none;
  padding-bottom: 1.5rem;
}

section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333;
  margin-bottom: 1rem;
}

section p {
  margin-bottom: 1rem;
  color: #1a1a1a;
}

section p:last-child {
  margin-bottom: 0;
}

/* ---- Links ---- */
a {
  color: #1a1a1a;
  text-decoration-color: #888;
  text-underline-offset: 0.15em;
  transition: text-decoration-color 0.15s ease;
}

a:hover {
  text-decoration-color: #1a1a1a;
}

/* ---- Highlight block ---- */
.finding {
  font-size: 1.1rem;
  line-height: 1.65;
}

.finding strong {
  font-weight: 700;
}

/* ---- Figure ---- */
.phase-diagram {
  margin: 0;
  padding: 0;
}

.phase-diagram img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e0e0e0;
}

.phase-diagram figcaption {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #555;
  margin-top: 0.75rem;
}

/* ---- Inline list ---- */
.links-list {
  list-style: none;
  padding: 0;
}

.links-list li {
  margin-bottom: 0.5rem;
}

.links-list li::before {
  content: none;
}

/* ---- Footer ---- */
.site-footer {
  padding: 2rem 0 3rem;
  font-size: 0.82rem;
  color: #888;
}

.site-footer p {
  margin-bottom: 0.3rem;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .site-header {
    padding: 3rem 0 2rem;
  }

  .site-header h1 {
    font-size: 1.6rem;
  }

  section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }
}

/* ---- Print ---- */
@media print {
  body {
    font-size: 11pt;
  }

  .container {
    max-width: 100%;
  }

  section {
    border-bottom: none;
    page-break-inside: avoid;
  }

  a {
    text-decoration: none;
    color: #1a1a1a;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}
