* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  flex-direction: column;
  background: var(--ikio-color-background-canvas);
  color: var(--ikio-color-text-primary);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ikio-space-md);
  padding: var(--ikio-space-xl) var(--ikio-space-lg);
  text-align: center;
}

.circles {
  width: min(224px, 60vw);
  height: auto;
  overflow: visible;
  margin-bottom: var(--ikio-space-lg);
}

.circle {
  fill-opacity: var(--ikio-component-circle-fill-opacity);
  stroke-width: var(--ikio-component-circle-stroke-width);
  transform-box: fill-box;
  transform-origin: center;
  animation: breathe var(--ikio-motion-breathe-duration) var(--ikio-motion-breathe-easing) infinite alternate;
}

.love { fill: var(--ikio-color-circle-love); stroke: var(--ikio-color-circle-love); }
.good { fill: var(--ikio-color-circle-good); stroke: var(--ikio-color-circle-good); animation-delay: var(--ikio-motion-breathe-stagger); }
.need { fill: var(--ikio-color-circle-need); stroke: var(--ikio-color-circle-need); animation-delay: calc(var(--ikio-motion-breathe-stagger) * 2); }
.paid { fill: var(--ikio-color-circle-paid); stroke: var(--ikio-color-circle-paid); animation-delay: calc(var(--ikio-motion-breathe-stagger) * 3); }

@keyframes breathe {
  to { transform: scale(var(--ikio-component-circle-breathe-scale)); }
}

@media (prefers-reduced-motion: reduce) {
  .circle { animation: none; }
}

h1 {
  margin: 0;
  font-size: var(--ikio-typography-size-display);
  font-weight: 700;
  letter-spacing: calc(var(--ikio-typography-letter-spacing-tight) * 1em);
}

p {
  margin: 0;
  font-size: var(--ikio-typography-size-body-large);
  color: var(--ikio-color-text-secondary);
}

a { color: var(--ikio-color-text-primary); }

footer {
  padding: var(--ikio-space-lg);
  text-align: center;
  font-size: var(--ikio-typography-size-footnote);
  color: var(--ikio-color-text-secondary);
}
