/* Shared styles for the service landing pages (/ai-agent-developer/, /ai-automation/).
   Same palette and type as the home page, without its heavy motion. */
:root {
  --bg: #0f0d19;
  --bg-2: #171428;
  --line: #2d2846;
  --text: #ece9f7;
  --muted: #a39dbd;
  --accent: #c6b8ff;
  --accent-2: #8b7bf0;
  --green: #39d353;
  --head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
.light {
  --sheet: #f3effb;
  --line: #e3dcf3;
  --text: #1a1430;
  --muted: #5f5779;
  --accent: #6b5ce7;
  background: var(--sheet); color: var(--text);
  border-radius: clamp(24px, 3vw, 40px); margin: 0 clamp(8px, 1.2vw, 16px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--accent-2); color: #fff; }

.nav {
  position: sticky; top: 12px; z-index: 20; margin: 12px auto 0; width: min(900px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(22, 18, 40, .72); border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav .brand { text-decoration: none; font: 800 19px/1 var(--head); letter-spacing: -.03em; color: #fff; }
.nav .brand b { color: #c6b8ff; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 9px 13px; border-radius: 999px; font: 500 13.5px/1 var(--sans); text-decoration: none; color: #b9b3d1; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font: 600 13.5px/1 var(--sans); text-decoration: none; color: #140f2b; background: #f4f1ff; }
.nav-cta i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }

.wrap { max-width: 1080px; margin: 0 auto; }
section, header.hero { padding: clamp(64px, 9vw, 112px) clamp(16px, 6vw, 88px); }
.light + section, section + .light { margin-top: clamp(8px, 1.2vw, 16px); }

.crumbs { margin: 0 0 22px; padding: 0; list-style: none; display: flex; gap: 8px; font: 12.5px/1 var(--mono); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.hero { background: radial-gradient(60% 70% at 70% 20%, #2a2150, transparent 70%), var(--bg); }
.kicker { margin: 0 0 18px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0; font: 800 clamp(42px, 7vw, 92px)/.96 var(--head); letter-spacing: -.045em; text-wrap: balance; }
h1 em, h2 em { font-style: normal; background: linear-gradient(95deg, #8b7bf0, #c6b8ff 60%, #e7a6d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.light h2 em { background: linear-gradient(95deg, #6b5ce7, #8b7bf0 60%, #d8508f); -webkit-background-clip: text; background-clip: text; }
.lede { margin: 26px 0 0; max-width: 62ch; font-size: clamp(18px, 1.9vw, 21px); color: var(--muted); }
.lede strong { color: var(--text); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; font: 600 15.5px/1 var(--sans); text-decoration: none; border: 1.5px solid currentColor; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: #f4f1ff; color: #140f2b; border-color: #f4f1ff; }
.light .btn.solid { background: var(--text); color: var(--sheet); border-color: var(--text); }

h2 { margin: 0 0 18px; font: 800 clamp(34px, 5vw, 60px)/1 var(--head); letter-spacing: -.04em; text-wrap: balance; }
h3 { margin: 0 0 8px; font: 700 21px/1.25 var(--head); letter-spacing: -.02em; }
.section-lede { margin: 0 0 36px; max-width: 64ch; color: var(--muted); font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tile { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.light .tile { background: #fff; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tile .ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px; background: var(--tint, #d9ceff); color: #1a1430; }
.tile .ic svg { width: 22px; height: 22px; }

.proof { display: grid; gap: 14px; }
.proof article { display: grid; grid-template-columns: minmax(150px, .32fr) 1fr; gap: 24px; padding: 24px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.proof .tag { font: 600 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.proof h3 { font-size: 26px; margin-top: 6px; }
.proof p { margin: 0; color: var(--muted); }
.proof ul { margin: 0; padding-left: 18px; color: var(--muted); }
.proof li + li { margin-top: 6px; }

.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { list-style: none; counter-increment: step; display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 600 13px/1.9 var(--mono); color: var(--accent); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
.steps ol { margin: 0; padding: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 13.5px/1 var(--sans); padding: 9px 12px; border-radius: 999px; background: rgba(198, 184, 255, .08); border: 1px solid rgba(198, 184, 255, .2); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 700 clamp(18px, 2vw, 21px)/1.35 var(--head); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 72ch; color: var(--muted); }

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(40px, 7vw, 84px); }
.cta-band .lede { margin-left: auto; margin-right: auto; }
.cta-band .ctas { justify-content: center; }

.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; justify-content: center; }
.related a { font: 500 14px/1 var(--sans); padding: 12px 16px; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); color: var(--muted); }
.related a:hover { color: var(--text); border-color: var(--accent); }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 28px clamp(16px, 6vw, 88px) 34px; font: 12.5px/1.5 var(--mono); color: var(--muted); }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  .nav ul { display: none; }
  .proof article { grid-template-columns: 1fr; gap: 10px; }
  .steps li { grid-template-columns: 44px 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
