:root {
  --card-width: 4.4in;
  --card-height: 1.7in;
  --surface: var(--theme-surface);
  --border: var(--theme-border);
  --ink: var(--theme-text);
  --muted: var(--theme-text-muted);
  --accent: var(--theme-accent);
  --line: var(--theme-neutral-muted);
  --complete: var(--theme-neutral-strong);
  --current: var(--theme-accent);
  --pending: var(--theme-surface-muted);
}

html[data-theme="dark"] {
  --surface: var(--theme-surface);
  --border: var(--theme-border);
  --ink: var(--theme-text);
  --muted: var(--theme-text-muted);
  --accent: var(--theme-accent);
  --line: var(--theme-neutral-muted);
  --complete: var(--theme-neutral-strong);
  --current: var(--theme-accent);
  --pending: var(--theme-surface-muted);
}

* {
  box-sizing: border-box;
}

body { margin: 0; }

.timeline-card {
  width: var(--card-width);
  min-height: var(--card-height);
  padding: 0.22in;
  border-radius: var(--theme-radius-md);
  border: 1px solid var(--theme-border-strong);
  background: linear-gradient(180deg, var(--theme-surface-strong) 0%, var(--surface) 100%);
  color: var(--ink);
  box-shadow: var(--theme-shadow-xs);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.18in;
}

.eyebrow {
  margin: 0 0 0.08in;
  font-size: 0.11in;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: 0.28in;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.status-pill {
  padding: 0.02in 0;
  color: var(--accent);
  font-size: 0.11in;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background: transparent;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.12in;
  margin-top: 0.22in;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.14in;
  left: 0.16in;
  right: 0.16in;
  height: 0.02in;
  border-radius: 999px;
  background: var(--line);
}

.step {
  position: relative;
  display: grid;
  gap: 0.05in;
  padding-top: 0.22in;
  color: var(--muted);
}

.dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.26in;
  height: 0.26in;
  border: 0.03in solid var(--surface);
  border-radius: 50%;
  background: var(--pending);
  box-shadow: 0 0 0 1px var(--line);
}

.step strong {
  font-size: 0.16in;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.meta {
  font-size: 0.11in;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.is-complete .dot { background: var(--complete); }
.is-current .dot { background: var(--current); }
