/* Charm City Coin live dashboard
   Tokens from the CCC design system. Butter is a fill behind black text only. */

@font-face {
  font-family: "Denton Condensed";
  src: url("fonts/DentonCondensedTest-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Denton Condensed";
  src: url("fonts/DentonCondensedTest-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Denton Condensed";
  src: url("fonts/DentonCondensedTest-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --butter: #F0E37A;
  --on-butter: #000000;
  --ink: #000000;
  --surface: #FFFFFF;
  --smoke: #E8E8E4;
  --muted: #4A4A45;
  --rule: 2px solid var(--ink);

  --radius-card: 12px;
  --pill: 999px;
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;

  --font-display: "Denton Condensed", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --emblem-filter: none;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #FFFFFF;
    --surface: #0B0B0A;
    --smoke: #232320;
    --muted: #B4B4AC;
    --emblem-filter: invert(1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #FFFFFF;
  --surface: #0B0B0A;
  --smoke: #232320;
  --muted: #B4B4AC;
  --emblem-filter: invert(1);
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 27px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Type ---------- */
.t-masthead {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 17vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
}
.t-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 54px;
  margin: 0;
}
.t-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 38px;
  margin: 0;
}
.t-lede { font-size: 20px; line-height: 30px; margin: 0; }
.t-body { font-size: 17px; line-height: 27px; margin: 0; }
.t-label { font-size: 13px; line-height: 16px; font-weight: 600; }
.t-caption { font-size: 13px; line-height: 18px; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: var(--s4) var(--s3) var(--s6);
}
@media (min-width: 768px) {
  .page { padding: var(--s5) var(--s5) var(--s6); }
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s5);
  margin-top: var(--s5);
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5); row-gap: var(--s6); }
  .sec--subs, .sec--igweek, .sec--hitflop, .sec--sponsors { grid-column: span 12; }
  .sec--growth { grid-column: span 7; }
  .sec--news { grid-column: span 5; }
  .sec--sources { grid-column: span 5; }
  .sec--socials { grid-column: span 7; }
  .sec--shipped, .sec--promises { grid-column: span 6; }
  .sec--hoods { grid-column: span 8; }
  .sec--features { grid-column: span 4; }
}

.sec { min-width: 0; }
.sec-head {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  border-top: var(--rule);
  padding-top: var(--s3);
  margin-bottom: var(--s4);
}
.sec-num {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  font-variant-numeric: tabular-nums;
  border: var(--rule);
  border-radius: var(--pill);
  padding: 2px 8px;
  flex: none;
  transform: translateY(-6px);
}
.sec-note { color: var(--muted); font-size: 13px; line-height: 18px; margin: var(--s3) 0 0; }

/* ---------- Primitives ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: var(--rule);
  border-radius: var(--pill);
  padding: 4px 12px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--surface);
  color: var(--ink);
}
.chip--ink { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chip--butter { background: var(--butter); color: var(--on-butter); border-color: var(--on-butter); }
.chip--smoke { background: var(--smoke); border-color: var(--smoke); }
.chip--xs { padding: 1px 8px; font-size: 11px; line-height: 14px; border-width: 1.5px; }
.chip--dashed { border-style: dashed; color: var(--muted); border-color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 12px 24px;
  border: var(--rule);
  border-radius: var(--pill);
  font: 600 17px/20px var(--font-body);
  text-decoration: none;
  background: var(--surface);
  color: var(--ink);
  transition: transform 120ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--ink { background: var(--ink); color: var(--surface); }
.btn--butter { background: var(--butter); color: var(--on-butter); border-color: var(--on-butter); }
.btn--sm { min-height: 36px; padding: 6px 16px; font-size: 13px; line-height: 16px; }

.card {
  border: var(--rule);
  border-radius: var(--radius-card);
  padding: var(--s4);
  background: var(--surface);
}
.panel {
  border-radius: var(--radius-card);
  padding: var(--s4);
  background: var(--smoke);
}
@media (max-width: 480px) {
  .card, .panel { padding: var(--s3); }
}

.emblem { width: 36px; height: 36px; filter: var(--emblem-filter); flex: none; }

/* Stat coin: a circle with a stamped double edge */
.stat-coin {
  position: relative;
  width: 132px;
  aspect-ratio: 1;
  flex: none;
  border: var(--rule);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
}
.stat-coin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
}
.stat-coin__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 56px;
  font-variant-numeric: tabular-nums;
}
.stat-coin .t-caption { color: var(--ink); }
.stat-coin--butter { background: var(--butter); color: var(--on-butter); border-color: var(--on-butter); }
.stat-coin--butter::after { border-color: var(--on-butter); }
.stat-coin--butter .t-caption { color: var(--on-butter); }

/* ---------- Masthead ---------- */
.dateline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s2);
  padding-bottom: var(--s3);
  border-bottom: var(--rule);
}
.dateline__updated { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); margin-left: var(--s1); }
.dateline__sub { margin-left: auto; font-size: 13px; line-height: 16px; font-weight: 600; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--butter);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }

.masthead__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s4);
  align-items: center;
  padding: var(--s4) 0;
  border-bottom: var(--rule);
  /* newspaper double rule */
  box-shadow: 0 4px 0 0 var(--surface), 0 6px 0 0 var(--ink);
}
@media (min-width: 720px) {
  .masthead__main { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s5); padding: var(--s5) 0; }
  .t-masthead { font-size: 96px; line-height: 88px; }
}
@media (min-width: 1040px) {
  .t-masthead { font-size: 128px; line-height: 112px; }
}
.masthead__dek { margin-top: var(--s3); max-width: 34ch; }

.hero-coin {
  width: clamp(200px, 62vw, 300px);
  aspect-ratio: 1;
  justify-self: center;
  position: relative;
  border-radius: 50%;
  border: var(--rule);
  background: var(--surface);
  padding: 8px;
}
.hero-coin__face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: var(--rule);
  background: var(--butter);
  overflow: hidden;
  isolation: isolate;
}
.hero-coin__ceecee {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.masthead__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
  padding-top: var(--s4);
  margin-top: 6px;
}
.countdown { flex: 1 1 260px; min-width: 0; }
.countdown__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s2); margin-bottom: var(--s2); }
.countdown__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.cd-cell {
  background: var(--smoke);
  border-radius: var(--radius-card);
  padding: var(--s2) var(--s1) var(--s2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cd-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 54px;
  font-variant-numeric: tabular-nums;
}
.cd-cell .t-caption { color: var(--ink); }

@media (max-width: 560px) {
  .masthead__bar { flex-wrap: nowrap; gap: var(--s3); align-items: flex-end; }
  .masthead__bar .stat-coin { width: 116px; }
  .masthead__bar .stat-coin .t-caption { font-size: 12px; line-height: 16px; }
  .masthead__bar .stat-coin__num { font-size: 52px; line-height: 46px; }
  .countdown__head { flex-direction: column; gap: 2px; }
  .countdown__cells { gap: 4px; }
  .cd-num { font-size: 34px; line-height: 36px; }
  .cd-cell { padding: 6px 2px; }
}

/* ---------- 02 Subscribers ---------- */
.subs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s4);
}
@media (min-width: 960px) {
  .subs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: start; }
}
.subs__big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(144px, 46vw, 240px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.subs__meta { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s3); }

.track {
  position: relative;
  padding: 84px 24px 32px;
}
.track__lane { position: absolute; top: 0; bottom: 0; left: 24px; right: 24px; pointer-events: none; }
.track__rail {
  position: relative;
  height: 14px;
  border: var(--rule);
  border-radius: var(--pill);
  background: var(--smoke);
}
.track__fill {
  position: absolute;
  left: -2px; top: -2px; bottom: -2px;
  width: 0;
  background: var(--butter);
  border: 2px solid var(--on-butter);
  border-radius: var(--pill);
  transition: width 1.6s cubic-bezier(.3,.7,.3,1);
}
.track__marker {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: var(--rule);
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
}
.track__marker--hit { background: var(--butter); border-color: var(--on-butter); color: var(--on-butter); }
.track__marker svg { width: 16px; height: 16px; }
.track__value {
  position: absolute;
  top: 26px;
  transform: translateX(-50%);
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.track__walker {
  position: absolute;
  bottom: 56px;
  left: 0;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  border: var(--rule);
  border-radius: 50%;
  background: var(--butter);
  overflow: hidden;
  isolation: isolate;
  transition: left 1.6s cubic-bezier(.3,.7,.3,1);
  z-index: 2;
}
.track__walker img {
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}
.track__pin {
  position: absolute;
  bottom: 46px;
  left: 0;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  background: var(--ink);
  transition: left 1.6s cubic-bezier(.3,.7,.3,1);
  z-index: 1;
}
.track__axis { display: flex; justify-content: space-between; margin-top: var(--s4); }

.milestones { list-style: none; margin: var(--s4) 0 0; padding: 0; border-top: var(--rule); }
.milestones li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: var(--s3);
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--smoke);
}
.milestones__value { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 32px; font-variant-numeric: tabular-nums; }
.milestones__label { font-size: 15px; line-height: 22px; }
.milestones__status { font-size: 13px; line-height: 16px; font-weight: 600; white-space: nowrap; }

/* ---------- 03 Growth chart ---------- */
.chart { width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: var(--smoke); stroke-width: 2; }
.chart .base-line { stroke: var(--on-butter); stroke-width: 2; stroke-dasharray: 6 6; }
.chart .area { fill: var(--butter); }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; }
.chart .dot--last { fill: var(--butter); stroke: var(--on-butter); }
.chart text { fill: var(--ink); font-family: var(--font-body); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart .axis-text { fill: var(--muted); font-weight: 500; }
.chart .base-text { fill: var(--on-butter); font-weight: 600; }
.chart .val-last { font-family: var(--font-display); font-weight: 900; font-size: 28px; }
.chart .on-butter { fill: var(--on-butter); }
.chart-legend { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }

/* ---------- 04 Newsletter ---------- */
.news-stats { display: flex; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.news-stats .stat-coin { width: 140px; }
.news-stats .stat-coin__num { font-size: 56px; line-height: 54px; }
.stat-coin__unit { font-size: 28px; }
.news-stats .stat-coin--butter .stat-coin__num { font-size: 44px; line-height: 48px; }
.issue__top { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.issue__title { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 34px; margin: 0 0 var(--s4); }
.issue__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin: 0 0 var(--s4); }
@media (min-width: 480px) { .issue__nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .issue__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.issue__nums div { border-top: var(--rule); padding-top: var(--s2); }
.issue__nums dt { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); }
.issue__nums dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 40px; font-variant-numeric: tabular-nums; }

/* ---------- 05 Sources ---------- */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bar__row { display: flex; justify-content: space-between; gap: var(--s2); align-items: baseline; margin-bottom: 6px; }
.bar__label { font-size: 15px; line-height: 20px; font-weight: 500; }
.bar__count { font-size: 15px; line-height: 20px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar__count span { color: var(--muted); font-weight: 500; margin-left: 6px; }
.bar__track { height: 18px; border-radius: var(--pill); background: var(--smoke); position: relative; }
.bar__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  min-width: 18px;
  width: 0;
  border: 2px solid var(--on-butter);
  border-radius: var(--pill);
  background: var(--butter);
  transition: width 1.2s cubic-bezier(.3,.7,.3,1);
}
.bar--top .bar__label { font-weight: 700; }

/* ---------- 06 Socials ---------- */
.social-group + .social-group { margin-top: var(--s4); }
.social-group__head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.social-group__head h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 30px; margin: 0; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (min-width: 600px) { .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.social {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  border: var(--rule);
  border-radius: var(--radius-card);
  padding: var(--s3);
  transition: transform 120ms ease;
  min-width: 0;
}
.social:hover { transform: translateY(-2px); }
.social__platform { font-size: 13px; line-height: 16px; font-weight: 600; }
.social__handle { font-size: 13px; line-height: 18px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social__num { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 54px; font-variant-numeric: tabular-nums; margin-top: var(--s2); }
.social__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); margin-top: var(--s2); flex-wrap: wrap; }
.social--soon { border-style: dashed; border-color: var(--muted); justify-content: center; align-items: flex-start; }
.delta-up { background: var(--butter); color: var(--on-butter); border-color: var(--on-butter); }

/* ---------- 07 Instagram this week ---------- */
.igweek { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
@media (min-width: 960px) { .igweek { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: start; } }
.ig-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); margin: 0; }
@media (min-width: 600px) and (max-width: 959px) { .ig-totals { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ig-totals div { border-top: var(--rule); padding-top: var(--s2); min-width: 0; }
.ig-totals div:nth-child(2) { border-top-color: var(--on-butter); }
.ig-totals dt { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); }
.ig-totals dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 54px; font-variant-numeric: tabular-nums; }
.ig-totals div:nth-child(2) dd { display: inline-block; background: var(--butter); color: var(--on-butter); border-radius: 8px; padding: 2px 10px 0; margin-left: -2px; }
@media (max-width: 480px) { .ig-totals dd { font-size: 48px; line-height: 48px; } }
.ig-posts { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.ig-posts li { border-bottom: 1px solid var(--smoke); }
.ig-post {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: var(--s3);
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
}
.ig-post:hover .ig-post__text { text-decoration: underline; text-underline-offset: 3px; }
.ig-post__date { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ig-post__title { display: flex; align-items: center; gap: var(--s2); min-width: 0; font-size: 15px; line-height: 22px; font-weight: 500; }
.ig-post__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ig-post__title .chip { flex: none; }
.ig-post__views { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 32px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ig-post__views span { display: block; font-family: var(--font-body); font-size: 12px; line-height: 14px; font-weight: 600; color: var(--muted); }
@media (max-width: 480px) {
  .ig-post { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  .ig-post__title { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ig-post__text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ---------- 08 Hit and flop ---------- */
.hf { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
@media (min-width: 720px) { .hf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hf-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3) var(--s4); align-items: start; }
.hf-stamp {
  width: 104px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: var(--rule);
  display: grid;
  place-items: center;
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  transform: rotate(-8deg);
}
.hf-stamp::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px dashed currentColor; }
.hf-stamp--hit { background: var(--butter); color: var(--on-butter); border-color: var(--on-butter); }
.hf-stamp--flop { background: var(--ink); color: var(--surface); }
.hf-views { font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 15vw, 80px); line-height: 0.9; font-variant-numeric: tabular-nums; }
.hf-views small { display: block; font-family: var(--font-body); font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: 0; margin-top: 4px; }
.hf-body { grid-column: 1 / -1; }
.hf-title { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0 0 var(--s2); }
.hf-meta { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-bottom: var(--s3); }
.hf-note { margin-top: var(--s4); }

/* ---------- 09 Shipped ---------- */
.log { list-style: none; margin: 0; padding: 0; position: relative; }
.log::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: var(--ink); }
.log li { position: relative; display: grid; grid-template-columns: 28px 64px minmax(0, 1fr); gap: var(--s3); align-items: center; padding: 10px 0; }
.log__coin { width: 28px; height: 28px; border-radius: 50%; border: var(--rule); background: var(--surface); position: relative; z-index: 1; }
.log li:first-child .log__coin { background: var(--butter); border-color: var(--on-butter); }
.log__date { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.log__text { font-size: 17px; line-height: 24px; font-weight: 500; display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

/* ---------- 10 Promises ---------- */
.promises { list-style: none; margin: 0; padding: 0; }
.promises li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s3); align-items: start; padding: 14px 0; border-bottom: 1px solid var(--smoke); }
.promises li:first-child { border-top: var(--rule); }
.check {
  width: 28px; height: 28px; border-radius: 50%; border: var(--rule);
  display: grid; place-items: center; margin-top: -1px;
}
.check--done { background: var(--butter); border-color: var(--on-butter); color: var(--on-butter); }
.check svg { width: 16px; height: 16px; }
.promises__text { font-size: 17px; line-height: 26px; font-weight: 500; }
.promises li.is-done .promises__text { text-decoration: line-through; color: var(--muted); }
.promises-head { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-bottom: var(--s3); }

/* ---------- 11 Sponsors ---------- */
.sponsor-wrap { display: grid; gap: var(--s4); }
.sponsor-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: var(--s4) var(--s3);
  padding: var(--s4) var(--s2);
}
.slot { display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; }
.slot__coin {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  border: var(--rule);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
}
.slot__coin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px dashed currentColor; opacity: .55; }
.slot__coin span { position: relative; z-index: 1; }
.slot--gold .slot__coin { width: 168px; background: var(--butter); color: var(--on-butter); border-color: var(--on-butter); font-family: var(--font-display); font-weight: 900; font-size: 36px; line-height: 36px; }
.slot--silver .slot__coin { width: 124px; background: var(--smoke); font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 28px; }
.slot--bronze .slot__coin { width: 84px; background: var(--surface); }
.slot__tier { font-size: 13px; line-height: 16px; font-weight: 600; }
.slot__name { font-size: 13px; line-height: 18px; color: var(--muted); margin-top: -6px; }
@media (max-width: 480px) {
  .slot--gold .slot__coin { width: 148px; }
  .slot--silver .slot__coin { width: 112px; }
  .slot--bronze .slot__coin { width: 76px; }
  .sponsor-board { gap: var(--s3) 12px; }
}
.sponsor-foot { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; }
.sponsor-board-row { display: contents; }

/* ---------- 12 Neighborhoods / 13 Features ---------- */
.hoods-head { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.hoods-head .t-headline { font-variant-numeric: tabular-nums; }
.hoods { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.hood {
  border-radius: var(--pill);
  padding: 6px 14px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  background: var(--smoke);
  border: 2px solid var(--smoke);
}
.hood--lit { background: var(--butter); color: var(--on-butter); border-color: var(--on-butter); font-weight: 600; }
.hoods-cta { margin-top: var(--s4); }
.hoods-cta a { font-weight: 600; }

.features { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); }
.features .stat-coin { width: 160px; }
.features .stat-coin__num { font-size: 80px; line-height: 68px; }

/* ---------- Footer ---------- */
.footer {
  margin-top: var(--s6);
  border-top: var(--rule);
  box-shadow: 0 -4px 0 0 var(--surface), 0 -6px 0 0 var(--ink);
  padding-top: var(--s4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
  justify-content: space-between;
}
.footer__row { display: flex; align-items: center; gap: var(--s3); min-width: 0; flex: 1 1 280px; }
.footer .emblem { width: 40px; height: 40px; }

.load-error { margin: var(--s4) var(--s3); padding: var(--s3); border: var(--rule); border-radius: var(--radius-card); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
