/* Pebble blog — brand rules from brandkit/brandkit.json.
   Grey surface, Blue headers, Brown body text; Orange only on the wordmark
   and the CTA button (Orange bg + Blue text — never white-on-orange). */

@font-face {
  font-family: 'AllRoundGothic';
  src: url('/assets/fonts/allroundgothic-text-webfont.woff2') format('woff2'),
       url('/assets/fonts/allroundgothic-text-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --pebble-orange: #F39200;
  --pebble-blue: #223160;
  --pebble-brown: #68605c;
  --pebble-teal: #188a89;
  --pebble-grey-bg: #EFEDEE;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--pebble-grey-bg);
  color: var(--pebble-brown);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── chrome ── */

.site-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.wordmark {
  font-family: 'AllRoundGothic', 'Inter', sans-serif;
  color: var(--pebble-orange);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-header nav a {
  color: var(--pebble-blue);
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover { text-decoration: underline; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid rgba(104, 96, 92, 0.25);
  text-align: center;
}

.signoff {
  font-weight: 700;
  color: var(--pebble-blue);
  margin-bottom: 8px;
}

.site-footer a { color: var(--pebble-blue); }

/* ── typography ── */

h1 {
  color: var(--pebble-blue);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}

h2 {
  color: var(--pebble-blue);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  margin: 36px 0 12px;
}

p { margin: 0 0 18px; }

ul, ol { margin: 0 0 18px; padding-left: 24px; }
li { margin-bottom: 8px; }

a { color: var(--pebble-blue); }

strong { color: var(--pebble-blue); }

.post-meta {
  color: var(--pebble-brown);
  font-size: 14px;
  margin-bottom: 24px;
}

.draft-badge {
  background: var(--pebble-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  vertical-align: middle;
}

/* ── article media ── */

article img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 24px 0;
}

img.hero { margin: 8px 0 28px; }

/* ── CTA ── */

.cta-button {
  display: inline-block;
  background: var(--pebble-orange);
  color: var(--pebble-blue);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  margin-top: 8px;
}

.cta-button:hover { filter: brightness(1.05); }

/* ── index ── */

.index-title { margin-top: 8px; }

.index-lede {
  font-size: 18px;
  margin-bottom: 32px;
}

.post-list { list-style: none; padding: 0; }

.post-list li {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.post-list h2 { margin: 0 0 8px; font-size: 21px; }

.post-list a { text-decoration: none; }
.post-list a:hover h2 { text-decoration: underline; }

.post-list p { margin-bottom: 10px; }

.post-list time {
  color: var(--pebble-brown);
  font-size: 14px;
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 21px; }
  .post-list li { padding: 20px; }
}
