@import url("../../design/tokens.css");

:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f4f3ef;
  color: #171817;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(23, 24, 23, .12);
  background: rgba(244, 243, 239, .92);
  backdrop-filter: blur(18px);
}
.brand { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; text-decoration: none; }
.site-nav nav { display: flex; gap: 22px; font-size: 13px; }
.site-nav nav a { padding: 22px 0 18px; border-bottom: 2px solid transparent; text-decoration: none; }
.site-nav nav a[aria-current="page"] { border-color: #171817; }
main { max-width: 1180px; margin: 0 auto; padding: 0 4vw 96px; }
.hero { min-height: 70vh; display: grid; align-content: center; padding: 90px 0 70px; }
.eyebrow { margin: 0 0 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6d6e69; }
h1 { max-width: 980px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 9.2vw, 132px); font-weight: 400; line-height: .83; letter-spacing: -.055em; }
.intro { max-width: 660px; margin: 40px 0 0; font-size: clamp(18px, 2.1vw, 25px); line-height: 1.45; color: #5f605c; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 32px; color: #757671; font-size: 12px; }
.telegram-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #2284c6; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.progress { padding: 42px; border: 1px solid #d9d8d2; border-radius: 24px; background: #fff; }
.progress-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 52px); font-weight: 400; letter-spacing: -.03em; }
.scale-switcher { display: flex; padding: 3px; border-radius: 12px; background: #efeee9; }
.scale-switcher button { border: 0; border-radius: 9px; padding: 9px 12px; background: transparent; color: #6d6e69; font: inherit; font-size: 12px; cursor: pointer; }
.scale-switcher button[aria-selected="true"] { background: #fff; color: #171817; box-shadow: 0 1px 6px rgba(0,0,0,.1); font-weight: 700; }
.commit-chart { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 16px; height: 190px; margin-top: 45px; padding-top: 20px; }
.chart-item { display: grid; grid-template-rows: 18px 1fr 24px; align-items: end; height: 100%; text-align: center; }
.chart-value { font-size: 12px; }
.chart-bar { width: 100%; min-height: 12px; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, #36a7e8, #217db5); }
.chart-label { padding-top: 8px; color: #777873; font-size: 11px; }
.period-summary { margin-top: 38px; padding: 28px; border-radius: 16px; background: #f4f3ef; }
.summary-title { font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 400; }
.period-summary p { max-width: 720px; margin: 12px 0 0; color: #5f605c; line-height: 1.55; }
.feed { max-width: 820px; margin: 100px auto 0; }
.feed-heading { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 36px; color: #777873; font-size: 13px; }
.day-group { margin-bottom: 44px; }
.day-label { width: max-content; margin: 0 auto 15px; padding: 6px 10px; border-radius: 999px; background: #757b7d; color: #fff; font-size: 11px; font-weight: 700; }
.post { position: relative; margin-bottom: 14px; padding: 25px 27px 18px; border: 1px solid #dcddd9; border-radius: 7px 22px 22px 22px; background: #fff; box-shadow: 0 10px 34px rgba(36, 44, 49, .08); }
.post-state { margin: 0 0 12px; color: #257fb6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.post[data-state="infrastructure-only"] .post-state { color: #b85f2b; }
.post h3 { max-width: 650px; margin: 0 0 17px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 4vw, 42px); font-weight: 400; line-height: 1.06; letter-spacing: -.025em; }
.post-copy { max-width: 690px; margin: 0 0 12px; font-size: 15px; line-height: 1.62; }
.facts { display: flex; flex-wrap: wrap; gap: 7px; margin: 19px 0 12px; }
.fact { padding: 5px 9px; border: 1px solid #dde2e4; border-radius: 999px; color: #596971; font-size: 11px; }
.sources { margin-top: 8px; color: #66747b; font-size: 12px; }
.sources summary { width: max-content; color: #207db5; font-weight: 700; cursor: pointer; }
.sources ul { margin: 10px 0 0; padding-left: 19px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 1.7; }
.post-meta { display: flex; justify-content: flex-end; gap: 5px; color: #8b9294; font-size: 10px; }
.checks { color: #2b9ad7; letter-spacing: -3px; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px 4vw; border-top: 1px solid rgba(23, 24, 23, .12); color: #6d6e69; font-size: 12px; }
footer a { color: #171817; font-weight: 700; text-decoration: none; }
@media (max-width: 700px) {
  .site-nav { align-items: flex-start; padding-top: 13px; }
  .brand { padding-top: 8px; }
  .site-nav nav { gap: 13px; overflow-x: auto; }
  .site-nav nav a { white-space: nowrap; }
  .hero { min-height: auto; padding: 80px 0 64px; }
  h1 { font-size: clamp(54px, 17vw, 82px); line-height: .88; }
  .hero-actions, .progress-heading, .feed-heading { align-items: flex-start; flex-direction: column; }
  .progress { padding: 27px 18px; }
  .commit-chart { gap: 7px; height: 150px; }
  .chart-label { font-size: 9px; }
  .feed { margin-top: 70px; }
  .post { padding: 21px 18px 16px; border-radius: 6px 18px 18px 18px; }
  .post-copy { font-size: 14px; }
  footer { flex-direction: column; }
}
