/* ChrochetNode site styles — loaded after pico.min.css */

/* === Custom Properties === */
:root {
  --card-padding: 1.5rem;
  --card-border-radius: 8px;
  --large-value-size: 3.5rem;
  --small-text-size: 0.85rem;
  --label-size: 0.9rem;
}

/* === Layout === */
main.container { padding: 2rem 0 4rem; max-width: 900px; }
section { margin-bottom: 3rem; }
header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
header img.eth-logo { width: 40px; opacity: 0.7; margin-bottom: 0; }
header h1 { margin-bottom: 0; }
footer { margin-top: 4rem; color: #777; }

/* === Typography === */
h1, h2 { font-weight: 600; }

/* === Card Components === */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.metric-card, .commitment-highlight {
  text-align: center;
  padding: var(--card-padding);
  background: transparent;
  border-radius: var(--card-border-radius);
  border: 1px solid var(--pico-muted-border-color);
}

.commitment-highlight { float: right; width: 180px; margin: 0 0 1rem 2rem; }

.metric-value, .highlight-value {
  font-size: var(--large-value-size);
  font-weight: 700;
  color: var(--pico-color);
  margin: 0.5rem 0;
}

.metric-value { line-height: 1.2; }
.highlight-value { line-height: 1; }

.metric-label, .metric-unit, .highlight-label {
  color: var(--pico-muted-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-label { font-size: var(--label-size); margin: 0; }
.metric-unit, .highlight-label { font-size: var(--small-text-size); }
.metric-unit { margin-top: 0.25rem; }
.highlight-label { margin: 0; }

/* === Notices (impressum, legal) === */
.notice {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}
