/* Home page */

.hero { padding-top: 64px; padding-bottom: 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
.hero-points { margin-top: 32px; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 800px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
}

/* ---------- The whole process ---------- */
.legs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  position: relative;
}
.legs::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 22px;
  right: 22px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
}
.legs::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 8px;
  width: 0;
  height: 0;
  border-left: 14px solid var(--gold);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.leg { position: relative; }
.leg-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--paper);
}
.leg h3 { margin-top: 18px; font-size: 1.35rem; }
.leg p { margin-top: 6px; color: var(--muted); }
@media (max-width: 800px) {
  .legs { grid-template-columns: 1fr; gap: 28px; }
  .legs::before, .legs::after { display: none; }
  .leg:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 50px;
    bottom: -22px;
    width: 3px;
    background: repeating-linear-gradient(180deg, var(--gold) 0 10px, transparent 10px 18px);
  }
  .leg { padding-left: 68px; }
  .leg-dot { position: absolute; left: 0; top: 0; }
  .leg h3 { margin-top: 0; padding-top: 8px; }
}

/* ---------- Who does what ---------- */
.holds {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.holds th, .holds td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.holds thead th { background: var(--lav); font-size: 0.95rem; }
.holds tbody th { font-weight: 800; width: 24%; }
.holds td { color: var(--muted); }
.holds tbody tr:last-child th, .holds tbody tr:last-child td { border-bottom: none; }
@media (max-width: 700px) {
  .holds, .holds tbody, .holds tr, .holds th, .holds td { display: block; width: 100%; }
  .holds thead { display: none; }
  .holds tbody th { width: 100%; padding-bottom: 4px; border-bottom: none; background: var(--lav); }
  .holds td { padding-top: 10px; padding-bottom: 10px; }
  .holds td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 800; color: var(--violet); }
}

/* ---------- Sample weekly report ---------- */
.report {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(21, 3, 64, 0.08);
  overflow: hidden;
}
.report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}
.report-head strong { font-size: 1.1rem; }
.pill {
  background: #FFF3C4;
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.metric { padding: 22px 28px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: none; }
.metric span { display: block; font-size: 0.85rem; color: var(--muted); }
.metric b { font-size: 1.7rem; letter-spacing: -0.02em; color: #B79CFF; }
.report-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.report-body div { padding: 22px 28px; border-top: 1px solid var(--line); }
.report-body div:nth-child(-n+2) { border-top: none; }
.report-body div:nth-child(even) { border-left: 1px solid var(--line); }
.report-body h3 { font-size: 1rem; margin-bottom: 4px; }
.report-body p { color: var(--muted); font-style: italic; }
.report-note { padding: 16px 28px; background: var(--lav); font-size: 0.9rem; color: var(--muted); }
@media (max-width: 800px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-left: none; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .report-body { grid-template-columns: 1fr; }
  .report-body div:nth-child(2) { border-top: 1px solid var(--line); }
  .report-body div:nth-child(even) { border-left: none; }
}
