/* Taskr Automations — page styles for /process and /about (loads after styles.css) */

/* Shared helpers */
.page-hero h1 { max-width: 880px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 34px; }
.hero-note { margin: 22px 0 0; font-size: 0.92rem; color: var(--dim); max-width: 560px; }
.text-link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.text-link:hover { color: var(--text); }
.cta-band .btn-row { justify-content: center; }
.cta-band .cta-email { margin: 26px auto 0; font-size: 0.95rem; color: var(--dim); }

/* ---------- Process: timeline ---------- */
.timeline { position: relative; max-width: 940px; margin: 0; padding: 0; list-style: none; counter-reset: phase; }
.timeline::before {
  content: ""; position: absolute; top: 28px; bottom: 28px; left: 27px; width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, #4f8cff 50%, var(--accent-2) 100%);
  opacity: .55; border-radius: 2px;
}
.phase { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 28px; align-items: start; }
.phase + .phase { margin-top: 26px; }
.phase-marker {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.95rem; font-weight: 500; color: var(--text);
  background: var(--surface-2); border: 1px solid rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 28px rgba(124, 92, 255, 0.35);
}
.phase:last-child .phase-marker { border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 0 0 6px var(--bg-2), 0 0 28px rgba(34, 211, 238, 0.3); }
.phase-body { padding: 30px 32px 28px; }
.phase-body:hover { transform: none; }
.phase-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; }
.phase-top h3 { margin: 0; font-size: 1.45rem; }
.phase-top .tag { color: var(--accent-2); border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.07); }
.phase-body > p { max-width: 680px; }
.phase-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  margin-top: 22px; border-top: 1px solid var(--border);
}
.phase-meta > div { padding: 20px 24px 0 0; }
.phase-meta > div + div { padding: 20px 0 0 24px; border-left: 1px solid var(--border); }
.phase-meta h4 {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); margin: 0 0 10px;
}
.phase-meta .get h4 { color: var(--ok); }
.phase-meta p, .phase-meta li { font-size: 0.96rem; }
.phase-meta p { margin: 0; }
.phase-meta ul { margin: 0; }
.phase-meta li { position: relative; padding-left: 18px; margin-bottom: 8px; color: var(--muted); }
.phase-meta li:last-child { margin-bottom: 0; }
.phase-meta li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
.phase-meta .get li::before { background: var(--ok); }
.timeline-note {
  max-width: 940px; margin: 34px 0 0; padding: 18px 22px; border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong); background: rgba(255, 255, 255, 0.02);
  font-size: 0.96rem; color: var(--muted);
}
.timeline-note strong { color: var(--text); font-weight: 600; }

/* Principles */
.principles .card h3 { font-size: 1.18rem; }
.principles .card p { font-size: 0.98rem; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.story-copy h2 { margin-bottom: 0.7em; }
.story-copy p { font-size: 1.06rem; max-width: 620px; }
.story-copy p strong { color: var(--text); font-weight: 600; }
.facts { padding: 8px 28px; }
.facts:hover { transform: none; }
.facts dl { margin: 0; }
.facts .fact { padding: 20px 0; border-bottom: 1px solid var(--border); }
.facts .fact:last-child { border-bottom: 0; }
.facts dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.facts dd span { display: block; color: var(--muted); font-weight: 400; font-size: 0.94rem; margin-top: 2px; }

.values .card h3 { font-size: 1.18rem; }
.values .card p { font-size: 0.98rem; }

.fit .card h3 { margin-bottom: 18px; }
.fit .check-list li:last-child { margin-bottom: 0; }
.fit .card--muted { background: transparent; border-style: dashed; }
.fit .card--muted:hover { transform: none; border-color: var(--border-strong); box-shadow: none; }
.plain-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.plain-list li:last-child { margin-bottom: 0; }
.plain-list li::before { content: "–"; position: absolute; left: 4px; top: 0; color: var(--dim); font-weight: 700; }
.fit-foot { margin: 30px 0 0; max-width: 720px; }

.founder-note {
  max-width: 820px; margin-inline: auto; padding: 44px 46px;
  background: radial-gradient(ellipse at 0% 0%, rgba(124, 92, 255, 0.16), transparent 55%), var(--surface);
  border-color: var(--border-strong);
}
.founder-note:hover { transform: none; }
.founder-note .eyebrow { margin-bottom: 22px; }
.founder-note blockquote { margin: 0; }
.founder-note blockquote p { font-size: 1.14rem; line-height: 1.7; color: #d5d9e6; }
.founder-note blockquote p:last-child { margin-bottom: 0; }
.founder-sig { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--border); }
.avatar {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1;
  box-shadow: 0 6px 24px rgba(124, 92, 255, 0.45);
}
.founder-sig .who { min-width: 0; }
.founder-sig .name { display: block; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--text); }
.founder-sig .text-link { font-size: 0.95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .section-head { margin-bottom: 40px; }
  .timeline::before { left: 19px; top: 20px; bottom: 20px; }
  .phase { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .phase + .phase { margin-top: 20px; }
  .phase-marker { width: 40px; height: 40px; font-size: 0.8rem; box-shadow: 0 0 0 4px var(--bg-2), 0 0 20px rgba(124, 92, 255, 0.3); }
  .phase:last-child .phase-marker { box-shadow: 0 0 0 4px var(--bg-2), 0 0 20px rgba(34, 211, 238, 0.25); }
  .phase-body { padding: 22px 20px; }
  .phase-top h3 { font-size: 1.25rem; }
  .phase-meta { grid-template-columns: 1fr; }
  .phase-meta > div { padding: 18px 0 0; }
  .phase-meta > div + div { padding: 18px 0 0; margin-top: 18px; border-left: 0; border-top: 1px solid var(--border); }
  .facts { padding: 4px 22px; }
  .founder-note { padding: 30px 22px; }
  .founder-note blockquote p { font-size: 1.04rem; }
  .founder-sig { gap: 12px; }
  .avatar { width: 48px; height: 48px; font-size: 1.3rem; }
  .founder-sig .text-link { font-size: 0.84rem; }
  .cta-band .btn { white-space: normal; }
}
