/* ─────────────────────────────────────────
   SOLUTION — shared solution page styles
   (adoption, meeting-prep, auto-log)
   ───────────────────────────────────────── */

/* ── Eyebrow (solution page variant) ── */
.eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px; display: block;
}

/* ── Hero base ── */
.hero { padding-top: 130px; border-bottom: 1px solid var(--border); overflow: hidden; }

/* Full-bleed two-panel hero (meeting-prep) */
.hero-fullbleed { display: flex; flex-direction: column; min-height: 100vh; }
.hero-panels { display: grid; grid-template-columns: 1fr 1fr; flex: 1; }
.hero-left {
  padding: 72px 64px 72px max(40px, calc((100vw - 1100px) / 2 + 40px));
  display: flex; flex-direction: column; justify-content: center;
}
.hero-right {
  border-left: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 72px 64px;
}

/* Wide text + diagram strip hero (auto-log) */
.hero-text { max-width: 760px; padding: 72px 0 56px; }
.hero-diagram-strip {
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
  margin: 0 -40px;
  padding: 48px 40px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-diagram-col { padding-right: 28px; border-right: 1px solid var(--border); }
.hero-diagram-col:nth-child(2) { padding: 0 28px; }
.hero-diagram-col:last-child { padding-left: 28px; border-right: none; }
.hero-diagram-col-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 16px; display: block;
}

.hero-headline {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 20px; color: var(--ink);
}
.hero-promise {
  font-size: 17px; font-weight: 400; line-height: 1.65;
  color: var(--ink-3); letter-spacing: -0.01em; margin-bottom: 0;
}
.hero-pain { font-size: 15px; line-height: 1.8; color: var(--ink-3); margin-bottom: 36px; }

.hero-mock-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 16px; display: block; text-align: center;
}

/* Platform badges */
.platform-badges {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border);
}
.platform-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }
.platform-badge {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 12px; border: 1px solid var(--border); background: var(--bg-card);
  font-size: 12px; font-weight: 600; color: var(--ink-2);
}

/* ── Auto-Log flow diagram ── */
.flow-diagram {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  font-size: 13px;
}
.flow-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg-softer);
  border-bottom: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--ink-3);
}
.flow-slack {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.flow-label {
  display: block;
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.slack-label { color: var(--orange); }
.hubspot-label { color: #FF7A59; }
.flow-msg {
  display: flex; gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.flow-msg-av {
  width: 26px; height: 26px; border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
}
.flow-msg-body { flex: 1; min-width: 0; }
.flow-msg-name {
  font-size: 11px; font-weight: 700; color: var(--ink);
  margin-bottom: 3px; line-height: 1.3;
}
.flow-msg-text {
  font-size: 12px; line-height: 1.55; color: var(--ink-2);
}
.flow-arrow {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--orange-dim);
  border-bottom: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--orange);
}
.flow-hubspot { padding: 16px; }
.flow-hs-record {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  margin-top: 10px;
}
.flow-hs-label {
  display: block;
  font-size: 11px; font-weight: 700; color: var(--ink);
  margin-bottom: 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.flow-hs-field {
  font-size: 12px; color: var(--ink-3); margin-bottom: 4px; line-height: 1.5;
}
.flow-hs-field strong { color: var(--ink); }
.flow-hs-note {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12px; line-height: 1.6; color: var(--ink-3);
}
.flow-hs-note strong { display: block; color: var(--orange); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }

/* ── Meeting-prep timeline ── */
.tl-timeline { width: 100%; max-width: 340px; }

.tl-step { display: flex; gap: 20px; }
.tl-track { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; padding-top: 3px; }
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--border-dark);
  background: var(--bg); flex-shrink: 0;
  position: relative; z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}
.tl-step.tl-active .tl-dot {
  border-color: var(--orange); background: var(--orange);
}
.tl-pulse {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  opacity: 0;
}
.tl-step.tl-active .tl-pulse { animation: tl-pulse 2s ease-out infinite; }
@keyframes tl-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

.tl-connector {
  width: 1px; flex: 1; margin: 6px 0;
  background: var(--border);
  min-height: 40px;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.5s ease;
}
.tl-connector.tl-drawn { transform: scaleY(1); }

.tl-content {
  padding-bottom: 36px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tl-step:last-child .tl-content { padding-bottom: 0; }
.tl-content.tl-visible { opacity: 1; transform: translateY(0); }

.tl-time {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 6px;
}
.tl-step.tl-active .tl-time { color: var(--orange); }
.tl-title {
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 6px; line-height: 1.3;
}
.tl-desc { font-size: 13px; line-height: 1.65; color: var(--ink-3); }

.tl-preview {
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.5s ease;
  transition-delay: 0.15s;
}
.tl-step.tl-active .tl-preview {
  max-height: 400px;
  opacity: 1;
}

/* ── Proof strip ── */
.proof-strip { background: var(--bg-warm); border-bottom: 1px solid var(--border); padding: 40px 0; }
.proof-inner { display: flex; align-items: center; gap: 40px; max-width: 820px; }
.proof-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border-dark); }
.proof-avatar img { width: 100%; height: 100%; object-fit: cover; }
.proof-quote { font-size: 17px; font-weight: 500; line-height: 1.65; color: var(--ink-2); letter-spacing: -0.01em; margin-bottom: 10px; }
.proof-attr { display: flex; align-items: center; gap: 8px; }
.proof-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.proof-role { font-size: 13px; color: var(--ink-4); }

/* ── Problem section ── */
.problem-section { background: var(--ink); border-bottom: 1px solid rgba(250,248,244,0.08); }
.problem-inner { padding: 80px 0; }
.problem-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 28px; display: block;
}
.problem-headline {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em;
  color: var(--bg); margin-bottom: 48px; max-width: 700px;
}
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(250,248,244,0.08); }
.problem-item { padding: 40px 36px 40px 0; border-bottom: 1px solid rgba(250,248,244,0.08); }
.problem-item:not(:first-child) { padding-left: 36px; border-left: 1px solid rgba(250,248,244,0.08); }
.problem-num { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--orange); margin-bottom: 14px; display: block; }
.problem-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--bg); margin-bottom: 10px; line-height: 1.3; }
.problem-desc { font-size: 13px; line-height: 1.7; color: rgba(250,248,244,0.55); }

/* ── How it works (capability rows) ── */
.how-section { border-bottom: 1px solid var(--border); }
.how-inner { padding: 80px 0; }
.capability-list { display: flex; flex-direction: column; margin-top: 56px; border-top: 1px solid var(--border); }
.capability { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.capability:hover { background: var(--bg-softer); }
.capability-text { padding: 52px 52px 52px 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; }
.capability-num { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; display: block; }
.capability-title { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.capability-desc { font-size: 14px; line-height: 1.75; color: var(--ink-3); max-width: 440px; }
.capability-detail { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.capability-detail-item { display: flex; gap: 10px; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; line-height: 1.5; }
.capability-detail-item strong { color: var(--ink); font-weight: 600; min-width: 68px; flex-shrink: 0; }
.capability-visual { padding: 52px 0 52px 52px; display: flex; align-items: center; }

/* ── Outcomes strip ── */
.outcomes-section { background: var(--orange); border-bottom: 1px solid rgba(0,0,0,0.1); padding: 64px 0; }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.outcome-item { padding: 0 40px; border-right: 1px solid rgba(255,255,255,0.25); }
.outcome-item:last-child { border-right: none; }
.outcome-num { font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #fff; margin-bottom: 10px; display: block; }
.outcome-label { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75); line-height: 1.5; }

/* ── Template accordion ── */
.templates-section { border-bottom: 1px solid var(--border); }
.templates-inner { padding: 80px 0; }
.template-list { margin-top: 48px; border-top: 1px solid var(--border); }
.template-row { border-bottom: 1px solid var(--border); overflow: hidden; }
.template-header {
  display: grid; grid-template-columns: 40px 1fr auto auto;
  align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer; transition: background 0.15s; user-select: none;
}
.template-header:hover { background: var(--bg-softer); margin: 0 -40px; padding: 24px 40px; }
.template-header-icon { font-size: 20px; text-align: center; }
.template-header-name { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 3px; }
.template-header-trigger { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }
.template-header-outcome { font-size: 13px; font-weight: 600; color: var(--orange); letter-spacing: -0.01em; white-space: nowrap; }
.template-header-toggle {
  width: 28px; height: 28px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--ink-3);
  transition: transform 0.2s, background 0.15s; flex-shrink: 0;
}
.template-row.open .template-header-toggle {
  transform: rotate(45deg); background: var(--orange-dim);
  border-color: rgba(232,71,42,0.2); color: var(--orange);
}
.template-body { display: none; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); padding: 40px 0; }
.template-row.open .template-body { display: grid; }
.template-body-left { padding-right: 48px; border-right: 1px solid var(--border); }
.template-body-right { padding-left: 48px; display: flex; align-items: flex-start; }
.template-body-desc { font-size: 14px; line-height: 1.75; color: var(--ink-3); margin-bottom: 20px; }
.template-body-details { display: flex; flex-direction: column; gap: 10px; }
.template-detail-row { display: flex; gap: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.template-detail-label { font-weight: 700; color: var(--ink); min-width: 80px; flex-shrink: 0; }

/* ── Why section ── */
.why-section { border-bottom: 1px solid var(--border); }
.why-inner { padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border-top: 1px solid var(--border); }
.why-item { padding: 40px 40px 40px 0; border-bottom: 1px solid var(--border); }
.why-item:nth-child(even) { padding: 40px 0 40px 40px; border-left: 1px solid var(--border); }
.why-item-icon {
  width: 36px; height: 36px; background: var(--orange-dim);
  border: 1px solid rgba(232,71,42,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 18px;
}
.why-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.why-desc { font-size: 14px; line-height: 1.75; color: var(--ink-3); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-panels { grid-template-columns: 1fr; }
  .hero-left { padding: 56px 40px 48px; }
  .hero-right { padding: 48px 40px 0; border-left: none; border-top: 1px solid var(--border); }
  .hero-diagram-strip { grid-template-columns: 1fr; gap: 32px; }
  .hero-diagram-col, .hero-diagram-col:nth-child(2), .hero-diagram-col:last-child { padding: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-item { border-left: none !important; padding: 32px 0 !important; }
  .capability { grid-template-columns: 1fr; }
  .capability-text { padding: 40px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .capability-visual { padding: 32px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(even) { padding: 32px 0; border-left: none; }
  .template-body { grid-template-columns: 1fr; }
  .template-body-left { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
  .template-body-right { padding-left: 0; padding-top: 32px; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 32px; }
  .outcome-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 0 0 32px; }
  .outcome-item:last-child { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 768px) {
  .template-header { grid-template-columns: 40px 1fr auto; }
  .template-header-outcome { display: none; }
}
