/* ===== Theme variables (tweak these) ===== */

.od-steps {
  --accent: #779349;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f7faf8;
  --card: #ffffff;
  --ring: rgba(0,0,0,.08);
  background: var(--bg);
  padding: clamp(2rem, 4vw, 4rem) 1rem;
}

/* Container */

.od-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* Heading */

.od-heading {
  margin: 0 0 1.25rem 0;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.2;
  color: var(--text);
  text-align: center;
  font-weight: 700;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

/* Ordered list grid */

.od-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(.9rem, 1.2vw, 1.25rem);
}

/* Desktop layout: 5 columns with connecting line behind badges */

@media (min-width: 900px) {
  .od-list {
    grid-template-columns: repeat(4, 1fr);
    position: relative;
  }
}

@media (min-width: 900px) {
  .od-list::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 15%, rgba(0,0,0,.1) 85%, transparent 100%);
  }
}

/* Card */

.od-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: .5rem;
  min-height: 160px;
  background: var(--card);
  border-radius: 14px;
  padding: clamp(1rem, 1rem + .6vw, 1.25rem);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 10px 28px var(--ring);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.od-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 14px 36px rgba(0,0,0,.12);
}

/* Badge */

.od-badge {
  --size: 48px;
  width: var(--size);
  height: var(--size);
  line-height: var(--size);
  display: inline-grid;
  place-items: center;
  margin-bottom: .25rem;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 36%), var(--accent);
  box-shadow: 0 6px 18px rgba(0,0,0,.14), inset 0 0 0 2px rgba(255,255,255,.38);
}

/* Titles & descriptions */

.od-title {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: .2px;
  font-weight: 700;
}

.od-desc {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* Reduce motion preference */

@media (prefers-reduced-motion: reduce) {
  .od-card {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .od-card:hover {
    transform: none;
  }
}

/* Dark mode (optional, automatic) */

@media (prefers-color-scheme: dark) {
  .od-steps {
    --text: #e5e7eb;
    --muted: #9ca3af;
    --bg: #0f1311;
    --card: #161a18;
    --ring: rgba(0,0,0,.5);
  }
}

@media (prefers-color-scheme: dark) {
  .od-list::before {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.12) 15%, rgba(255,255,255,.12) 85%, transparent 100%);
  }
}

