/* =========================================================
   Hero
   Headline, integrations strip
   ========================================================= */
.hero { padding: clamp(64px, 9vw, 112px) var(--pad) clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero::selection { background: var(--brand); }
.hero-copy { position: relative; max-width: 900px; }
.hero > .hero-copy::before { content: ""; position: absolute; inset: -140px -400px -200px -200px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(13,17,23,.13) 1px, transparent 1.2px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 55% at 40% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 55% at 40% 40%, #000 20%, transparent 75%); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--text-2); transition: border-color .2s; }
.pill:hover { border-color: var(--line-2); color: var(--text); }
.pill .i { width: 13px; height: 13px; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); letter-spacing: -0.045em; line-height: 1.02; margin: 26px 0 22px; font-weight: 600; }
/* "AI agents and automation" is always its own line; the blue accent starts on the next one. */
.hero h1 .h1-lead { display: block; }
/* ---------- Headline accent: outline → solid ----------
   The blue line first renders as an outline (the "draft"). hero-title.js splits it into its
   visual lines and fills each one left to right, with a slate bar and blue knob riding the
   edge. When finished, the line goes back to plain text with the solid gradient (.done).
   If the script never runs, accentFallback fills the outline in after a few seconds. */
.hero h1 .accent { color: transparent; -webkit-text-stroke: 1.25px var(--brand); padding-bottom: .06em; animation: accentFallback .4s ease 3s forwards; }
.hero h1 .accent.drafting { animation: none; }
.hero h1 .accent.done,
.hero h1 .accent-solid::before {
  background: linear-gradient(100deg, #1747b8 0%, #1d5fd6 35%, #3f7cf0 70%, #1d5fd6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0 transparent;
}
.hero h1 .accent.done { animation: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@keyframes accentFallback { to { color: var(--brand); -webkit-text-stroke-color: transparent; } }

.accent-ln { position: relative; display: inline-block; white-space: nowrap; }
/* The wipe and the solid copy slide in opposite directions so the text stays still while the
   fill edge moves. They extend above/below the line box so ascenders and descenders aren't cut. */
.accent-wipe { position: absolute; inset: -.2em 0; overflow: hidden; transform: translateX(-101%); }
.accent-solid { position: absolute; inset: 0; transform: translateX(101%); }
.accent-solid::before { content: attr(data-text); position: absolute; left: 0; top: .2em; white-space: nowrap; }
.accent-head { position: absolute; top: .1em; bottom: .02em; left: 0; width: 100%; transform: translateX(-100%); opacity: 0; pointer-events: none; }
.accent-head::before { content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 2px; background: var(--slate); }
.accent-head::after { content: ""; position: absolute; bottom: -.04em; right: calc(-.08em); width: .16em; height: .16em; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(29,95,214,.16); }
.accent.go .accent-wipe,
.accent.go .accent-solid { animation: accentWipe var(--t) cubic-bezier(.65, 0, .35, 1) var(--d) forwards; }
.accent.go .accent-head { animation: accentHead var(--t) cubic-bezier(.65, 0, .35, 1) var(--d) forwards; }
@keyframes accentWipe { to { transform: none; } }
@keyframes accentHead {
  0% { transform: translateX(-100%); opacity: 0; }
  8%, 88% { opacity: 1; }
  100% { transform: none; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .accent { animation: none; color: var(--brand); -webkit-text-stroke: 0 transparent; }
}
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 60ch; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--text-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof .i { color: var(--brand); width: 15px; height: 15px; }

/* ---------- Integrations strip ---------- */
.plugs { padding: 34px 0 38px; text-align: center; overflow: hidden; }
.plugs p { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.plug-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.plug-row { display: flex; gap: 12px; width: max-content; padding-right: 12px; animation: marquee 50s linear infinite; }
.plug-row:hover { animation-play-state: paused; }
.plug { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--text); padding: 9px 16px 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); white-space: nowrap; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease); }
.plug:hover { border-color: var(--line-2); transform: translateY(-2px); }
.plug-ic { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

@media (max-width: 640px) {
  .hero-proof { flex-direction: column; }
}
