/* Shared styling for the Seam blog. Mirrors the landing page palette so an
   article does not look like a different site. Light theme only. */
:root {
  --paper: #f3f2ed;
  --panel: #e9e8e3;
  --ink: #1f2522;
  --muted: #727975;
  --line: #d7d7d0;
  --green: #356d4d;
  --lime: #b9ec76;
  --soft: #dfe8df;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
a { color: var(--green); }

nav {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky; top: 0; z-index: 10;
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.navlinks { display: flex; gap: 26px; font-size: 14px; }
.navlinks a { color: var(--muted); text-decoration: none; }
.navlinks a:hover, .navlinks a.on { color: var(--ink); }

/* ---------- article ---------- */
article { max-width: 720px; margin: 0 auto; padding: 56px 24px 20px; }
.eyebrow {
  font-size: 12px; letter-spacing: .10em; text-transform: uppercase;
  color: var(--green); font-weight: 700; margin-bottom: 14px;
}
article h1 {
  font-size: 40px; line-height: 1.16; letter-spacing: -.035em; margin-bottom: 18px;
}
.meta {
  font-size: 13px; color: var(--muted);
  padding-bottom: 26px; margin-bottom: 34px; border-bottom: 1px solid var(--line);
}
.standfirst { font-size: 19px; color: #4a524d; margin-bottom: 34px; }
article h2 {
  font-size: 25px; letter-spacing: -.025em;
  margin: 46px 0 14px; line-height: 1.25;
}
article h3 { font-size: 17px; margin: 30px 0 8px; letter-spacing: -.01em; }
article p { margin-bottom: 17px; }
article ul, article ol { margin: 0 0 18px 22px; }
article li { margin-bottom: 8px; }
article strong { font-weight: 650; }

blockquote {
  border-left: 3px solid var(--green);
  background: var(--paper);
  padding: 16px 20px; margin: 26px 0;
  border-radius: 0 10px 10px 0;
  color: #3c443f;
}
blockquote p:last-child { margin-bottom: 0; }

figure { margin: 34px 0; }
figure img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
}
figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

.callout {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper); padding: 22px 24px; margin: 32px 0;
}
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.checklist { list-style: none; margin-left: 0; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { font-size: 14.5px; color: var(--muted); padding-top: 10px; margin-bottom: 0; }

.endnote {
  border-top: 1px solid var(--line);
  margin-top: 44px; padding-top: 26px;
  font-size: 14px; color: var(--muted);
}
.endnote a { font-weight: 600; }

.next {
  max-width: 720px; margin: 0 auto; padding: 0 24px 60px;
}
.next h2 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 14px; }
.next ul { list-style: none; }
.next li { margin-bottom: 9px; font-size: 15px; }
.next a { text-decoration: none; font-weight: 600; }
.next a:hover { text-decoration: underline; }

/* ---------- index ---------- */
.blog-head { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 62px 0 54px; text-align: center; }
.blog-head h1 { font-size: 38px; letter-spacing: -.035em; margin-bottom: 14px; }
.blog-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.posts { padding: 54px 0 70px; max-width: 820px; }
.post {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 26px; margin-bottom: 18px; background: #fff;
  transition: border-color .15s ease, transform .15s ease;
}
.post:hover { border-color: var(--green); transform: translateY(-1px); }
.post .tag {
  display: inline-block; font-size: 11.5px; letter-spacing: .07em;
  text-transform: uppercase; font-weight: 700; color: var(--green);
  background: var(--soft); border-radius: 999px; padding: 4px 11px; margin-bottom: 12px;
}
.post h2 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.3; }
.post p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.post .when { font-size: 13px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 30px 0; background: #fff; }
footer .wrap {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; margin-left: 20px; }
footer a:hover { color: var(--ink); }

@media (max-width: 820px) {
  article h1 { font-size: 30px; }
  article h2 { font-size: 22px; }
  .blog-head h1 { font-size: 28px; }
  .navlinks { display: none; }
  table { font-size: 13.5px; }
  th, td { padding: 9px 8px; }
}
