/* ============================================================================
   OFFIQA — Solution / persona page stylesheet
   Loads AFTER offiqa-design-v2.css via extra_css.
   Used by: /solutions/* pages
   ============================================================================ */

/* Persona role badge */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.7rem;
  border: 1px solid var(--green-soft);
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-700);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.role-badge-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--green-600);
}

/* Example workday section */
.workday-section {
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(28rem 18rem at 100% 0%, rgba(22, 70, 59, 0.06), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Workday timeline */
.workday-timeline {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line-2);
  margin-left: 0.8rem;
}
.workday-event {
  position: relative;
  margin: 0;
  padding: 0 0 var(--space-4) var(--space-5);
}
.workday-event:last-child { padding-bottom: 0; }
.workday-event::before {
  content: "";
  position: absolute; left: -0.45rem; top: 0.32rem;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px var(--paper);
}
.workday-event time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ochre-700);
  margin-bottom: 0.25rem;
}
.workday-event strong { color: var(--ink); display: block; }
.workday-event p { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--muted); }

/* Preset workspace card — prominent */
.preset-card {
  position: relative;
  padding: var(--space-5);
  border: 1px solid var(--green-400);
  border-radius: var(--r-xl);
  background:
    radial-gradient(26rem 16rem at 100% 0%, rgba(22, 70, 59, 0.08), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(22, 70, 59, 0.08);
}
.preset-card .section-kicker { margin-top: 0; }
.preset-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Pain to solution flow */
.pain-to-solution {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
}
.pain-to-solution .arrow {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green-400);
  text-align: center;
}
.pain-col, .solution-col {
  padding: var(--space-4);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.pain-col { border-left: 3px solid var(--ochre); }
.solution-col { border-left: 3px solid var(--green-400); }
.pain-col h3 { color: var(--ochre-700); font-size: 0.9rem; }
.solution-col h3 { color: var(--green-700); font-size: 0.9rem; }

@media (max-width: 720px) {
  .pain-to-solution { grid-template-columns: 1fr; }
  .pain-to-solution .arrow { transform: rotate(90deg); justify-self: center; }
}
