/* ============================================================
   services.css — shared rhythm for the individual service pages
   (ai-audit / ai-agent / ai-integration). Scoped svc- so it never
   collides with page-local pr-/sv-/ct- prefixes. Light mode only.
   Each page picks ONE primary device (spec rows / step loop /
   connector panel) so no two pages read as the same template.
   ============================================================ */

.svc-sec { padding: 92px 0; }
.svc-sec.line { border-top: 1px solid rgba(18, 16, 26, 0.10); }
.svc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.svc-h { font-size: clamp( 30px, 3.3vw, 40px); font-weight: 700; letter-spacing: -0.026em; line-height: 1.10; }
.svc-h .vio { color: var(--violet-deep); }
.svc-lead { margin-top: 15px; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.svc-p { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 64ch; }
.svc-p b { color: var(--ink); font-weight: 700; }

/* --- two-column body: copy left, artifact right (or reversed) --- */
.svc-two { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.svc-two.wide-l { grid-template-columns: 1.1fr 0.9fr; }

/* --- deliverables: a checked ledger, not a card grid --- */
.svc-list { margin-top: 22px; list-style: none; padding: 0; }
.svc-list li { position: relative; padding: 15px 0 15px 34px; font-size: 16px; line-height: 1.55; color: var(--muted);
  border-top: 1px solid rgba(18, 16, 26, 0.10); }
.svc-list li:first-child { border-top: 0; }
.svc-list li b { color: var(--ink); font-weight: 700; }
.svc-list li svg { position: absolute; left: 0; top: 16px; width: 19px; height: 19px; color: var(--ink); }

/* --- spec rows: ruled dimension ledger (audit device) --- */
.svc-spec { margin-top: 40px; border: 1px solid rgba(18, 16, 26, 0.10); border-radius: 20px; overflow: hidden;
  background: var(--card); box-shadow: 0 1px 2px rgba(18, 16, 26, 0.04); }
.svc-row { display: grid; grid-template-columns: 40px 1fr 150px; align-items: center; gap: 24px; padding: 24px 28px; }
.svc-row + .svc-row { border-top: 1px solid rgba(18, 16, 26, 0.10); }
.svc-row .ri { width: 40px; height: 40px; border-radius: 12px; background: var(--violet-soft); color: var(--ink); display: grid; place-items: center; }
.svc-row .ri svg { width: 21px; height: 21px; }
.svc-row .rname { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.svc-row .rnote { margin-top: 3px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.svc-row .rtag { justify-self: end; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: var(--violet-soft); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }

/* --- step loop: numbered flow (agent device) --- */
.svc-steps { margin-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.svc-step { position: relative; padding: 0 26px 8px 0; }
.svc-step + .svc-step { padding-left: 26px; border-left: 1px solid rgba(18, 16, 26, 0.10); }
.svc-step .sn { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 12px; font-weight: 700;
  color: var(--ink); border: 1.5px solid rgba(18, 16, 26, 0.10); border-radius: 6px; padding: 4px 9px; }
.svc-step .sic { margin-top: 20px; width: 44px; height: 44px; border-radius: 12px; background: var(--card); box-shadow: 0 1px 2px rgba(18, 16, 26, 0.04);
  border: 1px solid rgba(18, 16, 26, 0.10); display: grid; place-items: center; color: var(--ink); }
.svc-step .sic svg { width: 22px; height: 22px; }
.svc-step h3 { margin-top: 18px; font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
.svc-step p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.svc-step .human { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: #2b8a5e; background: rgba(55,184,122,0.12); border-radius: 999px; padding: 5px 11px; line-height: 1.25; }
.svc-step .human svg { width: 13px; height: 13px; flex: none; }

/* --- connector panel: patch-bay of jacks (integration device) --- */
.svc-jacks { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0;
  border: 1px solid rgba(18, 16, 26, 0.10); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: 0 1px 2px rgba(18, 16, 26, 0.04); }
@media (max-width: 860px) { .svc-jacks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .svc-jacks { grid-template-columns: 1fr; } }
.svc-jack { display: flex; align-items: center; gap: 13px; padding: 19px 22px;
  border-right: 1px solid rgba(18, 16, 26, 0.10); border-bottom: 1px solid rgba(18, 16, 26, 0.10); transition: background 200ms; }
.svc-jack:hover { background: #F1F0F5; }
.svc-jack .plug { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink); flex-shrink: 0; }
.svc-jack svg { width: 20px; height: 20px; color: var(--ink); flex-shrink: 0; }
.svc-jack span { font-size: 14px; font-weight: 700; letter-spacing: -0.005em; }
.svc-jacks-foot { margin-top: 22px; font-size: 14px; line-height: 1.55; color: var(--faint); max-width: 66ch; }

/* --- who it's for: a quiet band --- */
.svc-forband { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px;
  padding: 24px 28px; border-radius: 20px; background: var(--bg); border: 1px solid rgba(18, 16, 26, 0.10); }
.svc-forband .lab { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.svc-forband .who { font-size: 14px; font-weight: 700; color: var(--ink); background: var(--card);
  border: 1px solid rgba(18, 16, 26, 0.10); border-radius: 999px; padding: 8px 15px; box-shadow: 0 1px 2px rgba(18, 16, 26, 0.04); }

/* --- honesty note --- */
.svc-note { margin-top: 32px; padding: 22px 26px; border-radius: 12px; background: var(--bg-wash);
  border: 1px solid rgba(18, 16, 26, 0.10); font-size: 14px; line-height: 1.55; color: var(--ink); max-width: 72ch; }
.svc-note b { font-weight: 700; }

/* --- artifact card (sits in the right column of svc-two) --- */
.svc-art { background: var(--card); border-radius: 20px; box-shadow: 0 1px 2px rgba(18, 16, 26, 0.04); border: 1px solid rgba(18, 16, 26, 0.10); overflow: hidden; }

/* --- scope + investment band: open pricing, no sticker --- */
.svc-scope { margin-top: 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0;
  background: var(--card); border-radius: 20px; box-shadow: 0 1px 2px rgba(18, 16, 26, 0.04); border: 1px solid rgba(18, 16, 26, 0.10); overflow: hidden; }
.svc-scope-l { padding: 42px 44px 44px; }
.svc-scope-l .k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.svc-scope-l h3 { margin-top: 14px; font-size: clamp( 22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; }
.svc-scope-l p { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 48ch; }
.svc-scope-cta { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700;
  color: #fff; background: var(--ink); text-decoration: none; border-radius: 12px; padding: 14px 24px;
  box-shadow: 0 1px 2px rgba(18, 16, 26, 0.04); transition: transform 180ms cubic-bezier(0.16,1,0.3,1), background 180ms; }
.svc-scope-cta svg { width: 16px; height: 16px; transition: transform 200ms cubic-bezier(0.16,1,0.3,1); }
.svc-scope-cta:hover { background: #5c40b3; transform: translateY(-2px); }
.svc-scope-cta:hover svg { transform: translateX(3px); }
.svc-scope-cta:active { transform: translateY(0); }
.svc-scope-cta:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(18, 16, 26, 0.28); }
.svc-scope-r { padding: 40px 40px 40px; background: var(--bg-wash);
  border-left: 1px solid rgba(18, 16, 26, 0.10); }
.svc-scope-r .rk { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.svc-scope-r ul { list-style: none; padding: 0; margin: 0; }
.svc-scope-r li { position: relative; padding: 12px 0 12px 26px; font-size: 14px; line-height: 1.55; color: var(--ink);
  border-top: 1px solid rgba(18, 16, 26, 0.10); }
.svc-scope-r li:first-child { border-top: 0; }
.svc-scope-r li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 7px; height: 7px; border-radius: 6px;
  background: var(--ink); transform: rotate(45deg); }

/* --- direct line: how working with Fabi actually goes (shared across scoped services) --- */
.svc-direct { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--card); border-radius: 20px; box-shadow: 0 1px 2px rgba(18, 16, 26, 0.04); border: 1px solid rgba(18, 16, 26, 0.10); overflow: hidden; }
.svc-direct-l { padding: 44px 44px 40px; background: var(--bg-wash); }
.svc-direct-l .k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.svc-direct-l h3 { margin-top: 14px; font-size: clamp( 22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; }
.svc-direct-l p { margin-top: 15px; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.svc-direct-l p b { color: var(--ink); font-weight: 700; }
.svc-direct-sign { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; }
.svc-direct-sign .mk { width: 36px; height: 36px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; box-shadow: 0 1px 2px rgba(18, 16, 26, 0.04); }
.svc-direct-sign .nm { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.svc-direct-sign .nm small { display: block; font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.svc-direct-r { padding: 34px 44px; border-left: 1px solid rgba(18, 16, 26, 0.10); display: flex; flex-direction: column; justify-content: center; }
.svc-dpt { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding: 17px 0; align-items: start; }
.svc-dpt + .svc-dpt { border-top: 1px solid rgba(18, 16, 26, 0.10); }
.svc-dpt svg { width: 22px; height: 22px; color: var(--ink); margin-top: 1px; }
.svc-dpt h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.svc-dpt p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* --- Q&A ledger: open, no accordion --- */
.svc-qa { margin-top: 38px; max-width: 880px; }
.svc-qitem { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid rgba(18, 16, 26, 0.10); }
.svc-qitem:last-child { border-bottom: 1px solid rgba(18, 16, 26, 0.10); }
.svc-qmark { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 22px; font-weight: 700; color: rgba(18, 16, 26, 0.18); line-height: 1.10; }
.svc-qitem .q { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.svc-qitem .a { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 72ch; }
.svc-qitem .a b { color: var(--ink); font-weight: 700; }

@media (max-width: 760px) {
  .svc-scope { grid-template-columns: 1fr; }
  .svc-scope-r { border-left: 0; border-top: 1px solid rgba(18, 16, 26, 0.10); }
  .svc-direct { grid-template-columns: 1fr; }
  .svc-direct-r { border-left: 0; border-top: 1px solid rgba(18, 16, 26, 0.10); padding: 12px 44px 28px; }
}

@media (max-width: 960px) {
  .svc-sec { padding: 66px 0; }
  .svc-two, .svc-two.wide-l { grid-template-columns: 1fr; gap: 40px; }
  .svc-steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .svc-step + .svc-step { border-left: 0; }
  .svc-step:nth-child(even) { padding-left: 26px; border-left: 1px solid rgba(18, 16, 26, 0.10); }
  .svc-row { grid-template-columns: 40px 1fr; }
  .svc-row .rtag { grid-column: 2; justify-self: start; margin-top: 4px; }
}
