/* =====================================================================
   DealAgent — marketing site styles
   Forked from the UI-kit baseline, with an added motion + texture layer
   and a new dark "Agentic API" beat.
   ===================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; font-family: var(--font-sans); color: var(--fg-1); background: white; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap { padding: 104px 0; position: relative; }
.wrap.tight { padding: 76px 0; }

/* Section eyebrow + headings ---------------------------------------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.h1 { font-size: 64px; line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; margin: 12px 0 18px; text-wrap: balance; color: #070B1F; }
.h2 { font-size: 44px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 16px; text-wrap: balance; }
.h1 .agent, .h2 .agent, .h3 .agent { background: var(--gradient-text-agent); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* lighter accent on dark sections for contrast */
.why-outcomes .h2 .agent, .cstat-band .h2 .agent, .apg-dark .h2 .agent, .final .agent { background: linear-gradient(135deg, #5FA0FF 0%, #2D8CFF 55%, #23A3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; line-height: 1.55; color: var(--fg-2); max-width: 620px; }

/* Grain texture overlay for dark sections --------------------------- */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============== Buttons ============== */
.btn { font-family: var(--font-sans); font-size: 14px; font-weight: 600; border-radius: 10px; padding: 0 16px; height: 40px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; cursor: pointer; line-height: 1; transition: background var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), transform 120ms var(--ease-out); text-decoration: none; white-space: nowrap; }
.btn-primary {
  background: linear-gradient(180deg, #2D8CFF 0%, #116DFF 100%);
  color: white; border-color: #0F5FE0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), inset 0 -1px 0 rgba(7,11,31,0.14), 0 1px 2px rgba(7,11,31,0.10), 0 6px 18px rgba(17,109,255,0.28);
}
.btn-primary:hover { background: linear-gradient(180deg, #4499FF 0%, #1372FF 100%); border-color: #0B5BCC; box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), inset 0 -1px 0 rgba(7,11,31,0.14), 0 2px 4px rgba(7,11,31,0.12), 0 12px 30px rgba(17,109,255,0.38); }
.btn-primary:active { transform: translateY(0.5px); }
.btn-secondary { background: linear-gradient(180deg, #FFFFFF 0%, #F7F8FB 100%); color: #070B1F; border-color: var(--border); box-shadow: 0 1px 2px rgba(7,11,31,0.04); }
.btn-secondary:hover { background: linear-gradient(180deg, #F7F8FB 0%, #EDEFF5 100%); border-color: var(--border-strong); }
.btn-ghost-light { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.16); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.28); color: white; }
.btn-ghost-dark { background: transparent; color: var(--fg-1); border-color: var(--border-strong); }
.btn-ghost-dark:hover { background: var(--bg-subtle); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.btn-shopify { background: #1A1A1A; color: white; border-color: transparent; font-weight: 600; }
.btn-shopify:hover { background: #2C2C2C; }
.btn-shopify .ic { display: inline-flex; align-items: center; }
.magnetic { transition: transform 250ms var(--ease-out); }

/* ============== Nav ============== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out), backdrop-filter 300ms; border-bottom: 1px solid transparent; }
.nav.top { background: transparent; }
.nav.top.on-light { border-bottom: 1px solid var(--border); }
.nav.top.on-dark { border-bottom: 1px solid rgba(255,255,255,0.12); }
.nav.scrolled.on-light { background: rgba(255,255,255,0.78); backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid var(--border); }
.nav.scrolled.on-dark { background: rgba(7,11,31,0.70); backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-inner { display: flex; align-items: center; gap: 32px; padding: 14px 40px; width: 100%; max-width: none; margin: 0 auto; }
.nav-logo { display: inline-flex; }
.nav-logo img { height: 48px; width: auto; display: block; transition: opacity 200ms; }
.nav-links { display: flex; gap: 28px; transform: translateY(4px); }
.nav-links a { font-size: 14px; font-weight: 500; text-decoration: none; position: relative; transition: color 150ms var(--ease-out); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav.on-dark .nav-links a { color: rgba(255,255,255,0.80); }
.nav.on-dark .nav-links a:hover { color: #fff; }
.nav.on-light .nav-links a { color: var(--fg-2); }
.nav.on-light .nav-links a:hover { color: var(--fg-1); }
.nav .spacer { flex: 1; }
.nav-cta { display: flex; gap: 8px; align-items: center; transform: translateY(4px); }
.nav.on-light .btn-ghost-light { background: transparent; color: var(--fg-1); border-color: var(--border-strong); backdrop-filter: none; }
.nav.on-light .btn-ghost-light:hover { background: var(--bg-subtle); }
.nav.on-dark .btn-ghost-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.22); backdrop-filter: blur(8px); }
.nav.on-dark .btn-ghost-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.34); }
.nav-progress { position: absolute; left: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, #116DFF, #23A3FF); transform-origin: left; will-change: transform; box-shadow: 0 0 12px rgba(35,163,255,0.6); }
.nav-toggle { display: none; }
/* hamburger button */
.nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 22px; height: 16px; }
.nav-burger i { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform 250ms var(--ease-out), opacity 200ms var(--ease-out); }
.nav-burger.x i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.x i:nth-child(2) { opacity: 0; }
.nav-burger.x i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* slide-down mobile sheet */
.nav-sheet { position: fixed; inset: 0; top: 0; z-index: 49; background: rgba(7,11,31,0.40); opacity: 0; pointer-events: none; transition: opacity 250ms var(--ease-out); }
.nav-sheet.open { opacity: 1; pointer-events: auto; }
.nav-sheet-panel { position: absolute; top: 0; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-modal); padding: 18px 24px 24px; transform: translateY(-12px); opacity: 0; transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out); }
.nav-sheet.open .nav-sheet-panel { transform: translateY(0); opacity: 1; }
.nav-sheet-links { display: flex; flex-direction: column; }
.nav-sheet-links a { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; color: var(--fg-1); text-decoration: none; padding: 14px 4px; border-bottom: 1px solid var(--border); }
.nav-sheet-links a:active { color: var(--accent); }
.nav-sheet-cta { display: grid; gap: 10px; margin-top: 20px; }
.nav-sheet-cta .btn { width: 100%; justify-content: center; }
.nav-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.nav-sheet-logo img { height: 34px; width: auto; display: block; }
.nav-sheet-close { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-right: -9px; border: none; background: transparent; color: var(--fg-1); cursor: pointer; border-radius: 10px; }
.nav-sheet-close:active { background: var(--bg-subtle); }
.nav-sheet-links a .nsi { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--bg-subtle); color: var(--accent); flex-shrink: 0; }

/* ============== Hero (light cover) ============== */
.hero { position: relative; padding: 168px 0 116px; background: linear-gradient(180deg, #FFFFFF 0%, #F2F6FF 60%, #EEF3FF 100%); color: var(--fg-1); overflow: hidden; isolation: isolate; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -12% -10% auto -10%; height: 88%;
  background:
    radial-gradient(58% 64% at 50% -6%, rgba(45,140,255,0.20) 0%, transparent 58%),
    radial-gradient(42% 52% at 14% 16%, rgba(18,61,255,0.12) 0%, transparent 60%),
    radial-gradient(42% 52% at 86% 16%, rgba(35,163,255,0.12) 0%, transparent 60%);
  filter: blur(36px) saturate(1.1); z-index: -2;
  animation: heroGlow 14s ease-in-out infinite alternate;
}
@keyframes heroGlow { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(0,-2%,0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
/* faint grid floor for depth */
.hero-grid-floor { position: absolute; inset: auto 0 0 0; height: 300px; z-index: -1; opacity: 0.6; pointer-events: none;
  background-image: linear-gradient(rgba(17,109,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(17,109,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, transparent, #000 80%);
  transform: perspective(420px) rotateX(60deg); transform-origin: bottom; }
.hero .eyebrow { color: var(--accent); padding: 6px 14px; background: var(--color-blue-100); border: 1px solid var(--color-blue-200); border-radius: 999px; font-size: 11.5px; letter-spacing: 0.08em; }
.hero .eyebrow .pip { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 0 rgba(17,109,255,0.5); animation: pip 2.4s var(--ease-out) infinite; }
@keyframes pip { 0% { box-shadow: 0 0 0 0 rgba(17,109,255,0.45); } 70%,100% { box-shadow: 0 0 0 8px rgba(17,109,255,0); } }
.hero .h1 { color: #070B1F; font-size: 78px; line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; max-width: 940px; margin: 22px auto 22px; text-wrap: balance; }
.hero .h1 .agent { background: linear-gradient(135deg, #2D8CFF 0%, #116DFF 55%, #005BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--fg-2); font-size: 19px; line-height: 1.55; max-width: 640px; margin: 0 auto; }
.eb-mobile { display: none; }
.hero-cta { display: flex; gap: 12px; margin: 34px auto 0; justify-content: center; }
.hero-meta { margin: 46px auto 0; display: flex; gap: 48px; color: var(--fg-muted); font-size: 13px; justify-content: center; flex-wrap: wrap; }
.hero-meta-item { display: inline-flex; gap: 8px; align-items: baseline; }
.hero-meta-item .v { font-size: 18px; font-weight: 700; color: var(--fg-1); letter-spacing: -0.01em; font-feature-settings: "tnum" 1; }

/* ===== Full-height cover ===== */
.hero.hero-cover { min-height: 100vh; min-height: 100svh; padding: 104px 0 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-cover-inner { position: relative; z-index: 3; }

/* floating product cards framing the cover */
.hero-floaters { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hf-shuffle { display: none; }
.hf-wrap { position: absolute; }
html.anim-on .hf-wrap { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
html.anim-on .hero-cover.cards-in .hf-wrap { opacity: 1; transform: translateY(0); }
.hf-policy { top: 21%; left: 1.5%; transition-delay: 0.05s; }
.hf-chat   { bottom: 6%; left: 3.5%; transition-delay: 0.16s; }
.hf-bots   { top: 18%; right: 1.5%; transition-delay: 0.10s; }
.hf-metric { bottom: 8%; right: 3.5%; transition-delay: 0.21s; }
.hf-inner { transform: translate3d(calc(var(--mx,0) * var(--d,1) * 1px), calc(var(--my,0) * var(--d,1) * 1px), 0); transition: transform 0.5s var(--ease-out); will-change: transform; }
.hf-card { width: 264px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 2px rgba(7,11,31,0.05), 0 24px 54px rgba(7,11,31,0.14); padding: 16px 17px; text-align: left; }
.hf-fa { transform: rotate(-4deg); } .hf-fb { transform: rotate(3deg); } .hf-fc { transform: rotate(3deg); } .hf-fd { transform: rotate(-3deg); }
html.anim-on .hf-fa { animation: hfFloatA 7.5s ease-in-out infinite; }
html.anim-on .hf-fb { animation: hfFloatB 8.5s ease-in-out infinite; }
html.anim-on .hf-fc { animation: hfFloatC 8s ease-in-out infinite; }
html.anim-on .hf-fd { animation: hfFloatD 9s ease-in-out infinite; }
@keyframes hfFloatA { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(-4deg); } }
@keyframes hfFloatB { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes hfFloatC { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-11px) rotate(3deg); } }
@keyframes hfFloatD { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-13px) rotate(-3deg); } }

/* card internals — shared header */
.hf-ch { display: flex; align-items: center; gap: 10px; }
.hf-ch.double { justify-content: flex-start; gap: 9px; }
.hf-ch.double .hf-vs { margin-right: auto; }
.hf-ct { min-width: 0; flex: 1; }
.hf-ct-t { font-size: 13px; font-weight: 700; color: var(--fg-1); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf-ct-s { font-size: 11px; color: var(--fg-muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.hf-ic { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hf-ic.blue { background: var(--color-blue-100); color: var(--accent); }
.hf-pill { font-size: 10px; font-weight: 700; letter-spacing: 0.03em; padding: 3px 9px; border-radius: 999px; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; }
.hf-pill.green { background: #E8F8EF; color: #0E8A4F; }
.hf-pill.green::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: #14B86A; }

/* policy card */
.hf-prow { display: flex; align-items: center; gap: 10px; margin-top: 13px; }
.hf-prow-l { font-size: 11.5px; color: var(--fg-muted); width: 78px; flex-shrink: 0; }
.hf-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--color-gray-100); overflow: hidden; }
.hf-bar span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.hf-bar.amber span { background: var(--color-amber-500, #F5A623); }
.hf-prow-v { font-size: 12px; font-weight: 700; color: var(--fg-1); font-feature-settings: "tnum" 1; width: 30px; text-align: right; flex-shrink: 0; }
.hf-switch-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--fg-1); }
.hf-switch { width: 34px; height: 19px; border-radius: 999px; background: var(--accent); position: relative; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(7,11,31,0.06); }
.hf-switch .knob { position: absolute; top: 2px; right: 2px; width: 15px; height: 15px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(7,11,31,0.25); }

/* chat card */
.hf-av { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hf-av.gray { background: var(--color-gray-100); color: var(--fg-1); }
.hf-av.blue { background: var(--accent); }
.hf-on { width: 6px; height: 6px; border-radius: 999px; background: #14B86A; display: inline-block; }
.hf-msg { margin-top: 10px; border-radius: 11px; padding: 10px 12px; font-size: 12px; line-height: 1.5; max-width: 92%; }
.hf-msg.shopper { background: var(--color-gray-100); color: var(--fg-1); border-bottom-left-radius: 4px; }
.hf-msg.agent { background: var(--color-blue-100); color: var(--fg-1); margin-left: auto; border-bottom-right-radius: 4px; }
.hf-msg.agent b { color: var(--accent); font-weight: 600; }
.hf-msg.sm { font-size: 11.5px; padding: 8px 11px; display: flex; flex-direction: column; gap: 2px; }
.hf-msg .who { font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-muted); }
.hf-msg.agent .who { color: var(--accent); }
.hf-offer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hf-offer-l { font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-muted); }
.hf-offer-v { font-size: 19px; font-weight: 700; color: var(--fg-1); font-feature-settings: "tnum" 1; line-height: 1.1; margin-top: 2px; }
.hf-offer-cta { font-size: 12px; font-weight: 600; color: #fff; background: var(--accent); padding: 8px 14px; border-radius: 9px; flex-shrink: 0; box-shadow: var(--shadow-blue-glow); }

/* bots card */
.hf-vs { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-muted); display: inline-flex; align-items: center; gap: 6px; }
.hf-vs .vsdot { width: 6px; height: 6px; border-radius: 999px; background: #14B86A; }
.hf-result { margin-top: 12px; padding: 9px 11px; border-radius: 10px; background: #E8F8EF; color: #0E8A4F; font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 7px; line-height: 1.3; }
.hf-result svg { color: #14B86A; flex-shrink: 0; }
.hf-result b { font-weight: 700; }

/* metric card */
.hf-ct-s { white-space: nowrap; }
.hf-metric-big { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-1); margin-top: 3px; font-feature-settings: "tnum" 1; line-height: 1; }
.hf-delta { font-size: 12px; font-weight: 700; color: #0E8A4F; display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; align-self: flex-start; }
.hf-bars { display: flex; align-items: flex-end; gap: 5px; height: 48px; margin-top: 14px; }
.hf-bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--color-blue-200); min-height: 4px; }
.hf-bars span.hot { background: var(--accent); }
.hf-metric-foot { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--border); font-size: 11px; color: var(--fg-muted); }

/* shopper mix card */
.hf-mixbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin-top: 14px; gap: 2px; }
.hf-mixbar span { display: block; height: 100%; }
.hf-mixbar .ai { background: var(--accent); border-radius: 999px 3px 3px 999px; }
.hf-mixbar .hu { background: var(--color-gray-200); border-radius: 3px 999px 999px 3px; }
.hf-mixlegend { margin-top: 12px; display: grid; gap: 8px; }
.hf-mixlegend .lg { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--fg-2); }
.hf-mixlegend .lg b { margin-left: auto; font-weight: 700; color: var(--fg-1); font-feature-settings: "tnum" 1; }
.hf-mixlegend .dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.hf-mixlegend .dot.ai { background: var(--accent); }
.hf-mixlegend .dot.hu { background: var(--color-gray-300); }
.hf-mixfoot { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--border); font-size: 11px; font-weight: 600; color: #0E8A4F; display: flex; align-items: center; gap: 6px; }

/* mini storefront widget (Jordan) — mirrors the real one */
.hf-card.hf-widget { padding: 0; overflow: hidden; }
.hfw-head { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border-bottom: 1px solid var(--border); background: #fff; }
.hfw-av { width: 30px; height: 30px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 10px rgba(17,109,255,0.3); }
.hfw-who { flex: 1; min-width: 0; }
.hfw-who .n { font-size: 13px; font-weight: 700; color: var(--fg-1); line-height: 1.1; }
.hfw-who .r { font-size: 10.5px; color: var(--fg-muted); margin-top: 1px; }
.hfw-x { width: 22px; height: 22px; border-radius: 999px; background: var(--bg-page); color: var(--fg-muted); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.hfw-body { padding: 13px; background: var(--bg-page); }
.hfw-from { font-size: 10.5px; font-weight: 700; color: var(--accent); margin-bottom: 5px; }
.hfw-msg { background: #fff; border: 1px solid var(--border); border-radius: 11px; border-top-left-radius: 3px; padding: 9px 11px; font-size: 11.5px; line-height: 1.5; color: var(--fg-1); }
.hfw-offer { margin-top: 10px; background: linear-gradient(180deg, #F5F9FF 0%, #EAF2FF 100%); border: 1.5px solid var(--color-blue-200); border-radius: 12px; padding: 13px; }
.hfw-offer-h { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--accent); }
.hfw-pct { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); margin: 5px 0 9px; line-height: 1; }
.hfw-row { display: flex; justify-content: space-between; align-items: baseline; }
.hfw-row .lab { font-size: 12.5px; font-weight: 700; color: var(--fg-1); }
.hfw-row .amt { font-size: 16px; font-weight: 700; color: var(--fg-1); font-feature-settings: "tnum" 1; }
.hfw-apply { width: 100%; height: 38px; border: none; border-radius: 9px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; font-family: var(--font-sans); margin-top: 11px; box-shadow: var(--shadow-blue-glow); cursor: default; }
.hfw-powered { text-align: center; font-size: 10px; color: var(--fg-muted); padding: 9px; background: #fff; border-top: 1px solid var(--border); }
.hfw-powered b { color: var(--fg-2); font-weight: 600; }

/* ChatGPT logo avatar */
.hf-av-logo { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hf-av-logo.gpt { background: #0D0D0D; color: #fff; }

/* scroll cue */
.hero-scrollcue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 9px; text-decoration: none; color: var(--fg-muted); z-index: 3; transition: color 150ms var(--ease-out); }
.hero-scrollcue:hover { color: var(--accent); }
.hsc-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; }
.hsc-mouse { width: 22px; height: 34px; border: 2px solid var(--color-gray-300); border-radius: 12px; display: flex; justify-content: center; padding-top: 5px; }
.hero-scrollcue:hover .hsc-mouse { border-color: var(--accent); }
.hsc-wheel { width: 3px; height: 7px; border-radius: 2px; background: var(--accent); }
html.anim-on .hsc-wheel { animation: hscWheel 1.6s ease-in-out infinite; }
@keyframes hscWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }

/* ===== Demo section (scroll-revealed widget) ===== */
.hero-demo { background: var(--bg-page); padding: 92px 0 104px; border-top: 1px solid var(--border); }
.hero-demo-head { text-align: center; max-width: 660px; margin: 0 auto; }
.hero-demo-head .eyebrow .pip { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); display: inline-block; }
.hero-demo-head .h2 { margin: 12px 0 14px; }
.hero-demo-head .lead { margin: 0 auto; }
.hero-demo .hopt-toggle { display: flex; width: fit-content; margin: 32px auto 0; }
.hero-demo .hopt-stage { margin-top: 40px; }

@media (max-width: 1300px) { .hero-floaters { display: none; } }
@media (max-width: 820px) {
  .hero.hero-cover { padding: 96px 0 56px; }
  .hero-demo { padding: 64px 0 72px; }
  .hero-demo .hopt-toggle { margin-top: 26px; }
  /* mobile: the four product cards become a shuffleable deck (Flow Fest-style) */
  .hero-floaters { display: block; position: relative; inset: auto; order: 5; overflow: visible; width: 300px; max-width: calc(100% - 32px); height: 404px; margin: 44px auto 56px; pointer-events: none; }
  .hero-floaters .hf-wrap { position: absolute; left: 0; right: 0; top: 14px; width: 100%; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .hf-policy, .hf-metric { display: none; }   /* deck is the two chat cards only */
  html.anim-on .hero-floaters .hf-wrap { opacity: 1; transform: none; }   /* deck is always visible; stacking lives on .hf-inner */
  .hero-floaters .hf-wrap .hf-inner { transition: transform 0.5s var(--ease-out); transform-origin: center bottom; }

  /* resting slots */
  .hero-floaters .hf-wrap[data-sp="0"] { z-index: 40; }
  .hero-floaters .hf-wrap[data-sp="1"] { z-index: 30; }
  .hero-floaters .hf-wrap[data-sp="0"] .hf-inner { transform: translateY(0) rotate(-2deg) scale(1); }
  .hero-floaters .hf-wrap[data-sp="1"] .hf-inner { transform: translate(12px, 16px) rotate(4deg) scale(0.95); }

  /* the card being shuffled sails up-and-over to the back of the deck */
  .hero-floaters .hf-wrap.flinging { z-index: 60; }
  .hero-floaters .hf-wrap.flinging .hf-inner { animation: hfFling 0.58s var(--ease-out) both; }
  @keyframes hfFling {
    0%   { transform: translate(0, 0) rotate(-2deg) scale(1); }
    46%  { transform: translate(-3px, -46px) rotate(1deg) scale(1.015); }
    100% { transform: translate(12px, 16px) rotate(4deg) scale(0.95); }
  }

  /* uniform deck cards */
  .hero-floaters .hf-wrap .hf-card { width: 100%; height: 366px; box-sizing: border-box; display: flex; flex-direction: column; transform: none; }
  html.anim-on .hero-floaters .hf-card { animation: none; }
  .hero-floaters .hf-wrap[data-sp="0"] .hf-card { box-shadow: 0 1px 2px rgba(7,11,31,0.06), 0 28px 56px rgba(7,11,31,0.20); }
  .hf-widget .hfw-body { flex: 1; }
  .hf-bots .hf-card { justify-content: space-between; }

  /* Shuffle button — overlaps the deck's lower edge */
  .hf-shuffle { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); z-index: 70; pointer-events: auto; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-popover); border-radius: var(--radius-pill); padding: 11px 20px; font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-1); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background 0.15s var(--ease-out); }
  .hf-shuffle:active { background: var(--color-gray-100); }
  .hf-shuffle .hf-shuffle-ic { display: inline-flex; color: var(--accent); transition: transform 0.55s var(--ease-out); }
  @media (prefers-reduced-motion: reduce) {
    .hero-floaters .hf-wrap .hf-inner { transition-duration: 0.001s; }
    .hero-floaters .hf-wrap.flinging .hf-inner { animation-duration: 0.001s; }
    .hf-shuffle .hf-shuffle-ic { transition: none; }
  }
  .hero-scrollcue { display: none; }
}

/* hero headline reveal — only hides when animations are armed (visible tab) */.hero-title .h1-line { display: block; }
html.anim-on .hero-title .h1-line { opacity: 0; transform: translateY(20px); transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
html.anim-on .hero-title .h1-line.l2 { transition-delay: 0.12s; }
html.anim-on .hero-title.in .h1-line { opacity: 1; transform: translateY(0); }

/* ============== Hero dashboard mockup ============== */
.hero-mock { margin: 66px auto 0; position: relative; text-align: left; max-width: 1140px; perspective: 1800px; }
.hero-mock-frame {
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(7,11,31,0.06), 0 12px 32px rgba(7,11,31,0.10), 0 40px 90px rgba(7,11,31,0.16), 0 0 0 1px rgba(7,11,31,0.05);
  transform: translateY(var(--parallax, 0px));
  transition: transform 300ms var(--ease-out);
}
.hero-mock-bar { height: 36px; background: #F7F8FB; border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 14px; gap: 6px; }
.hero-mock-bar .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--color-gray-300); }
.hero-mock-bar .url { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); }
.hero-mock-grid { display: grid; grid-template-columns: 200px 1fr; min-height: 580px; }
.hero-mock-sb { background: white; border-right: 1px solid var(--border); padding: 18px 10px; display: flex; flex-direction: column; gap: 2px; }
.hero-mock-sb img { height: 32px; width: auto; max-width: 160px; object-fit: contain; align-self: flex-start; margin: 4px 8px 16px; display: block; }
.hero-mock-sb .sect { font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); padding: 12px 10px 6px; }
.hero-mock-sb .it { padding: 7px 10px; border-radius: 8px; font-size: 12px; color: var(--fg-2); font-weight: 500; display: flex; align-items: center; gap: 9px; position: relative; }
.hero-mock-sb .it.active { background: var(--color-blue-100); color: var(--accent); font-weight: 600; }
.hero-mock-sb .it.active::before { content: ""; position: absolute; left: -10px; top: 6px; bottom: 6px; width: 3px; background: var(--accent); border-radius: 0 3px 3px 0; }
.hero-mock-sb .it .ic { width: 14px; height: 14px; color: currentColor; flex-shrink: 0; opacity: 0.9; }
.hero-mock-body { background: var(--bg-page); display: flex; flex-direction: column; }
.hero-mock-top { height: 50px; background: rgba(247,248,251,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 22px; gap: 14px; }
.hero-mock-top .crumb { font-size: 12px; color: var(--fg-muted); }
.hero-mock-top .crumb b { color: var(--fg-1); font-weight: 600; }
.hero-mock-top .crumb .sep { color: var(--color-gray-300); padding: 0 6px; }
.hero-mock-top .search { margin-left: auto; background: white; border: 1px solid var(--border); border-radius: 8px; height: 30px; padding: 0 10px; font-size: 11.5px; color: var(--fg-muted); display: flex; align-items: center; gap: 8px; min-width: 220px; }
.hero-mock-top .btn-sm { background: var(--accent); color: white; font-size: 11.5px; font-weight: 600; height: 30px; padding: 0 12px; border-radius: 8px; display: flex; align-items: center; gap: 6px; }
.hero-mock-content { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.hero-mock-pagehead { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2px; }
.hero-mock-pagehead h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; color: var(--fg-1); }
.hero-mock-pagehead .sub { font-size: 11.5px; color: var(--fg-muted); margin-top: 3px; }
.hero-mock-hero-metric { background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%); border: 1px solid #DDE9FB; border-radius: 14px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: flex-end; }
.hero-mock-hero-metric .l { font-size: 10px; font-weight: 600; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.hero-mock-hero-metric .v { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-1); font-feature-settings: "tnum" 1; margin-top: 4px; line-height: 1; }
.hero-mock-hero-metric .delta { font-size: 12px; font-weight: 600; color: #0E8A4F; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.hero-mock-hero-metric .spark { width: 140px; height: 44px; }
.hero-mock-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.hero-mock-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.hero-mock-card .l { font-size: 9.5px; font-weight: 600; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.hero-mock-card .v { font-size: 20px; font-weight: 700; margin-top: 5px; color: var(--fg-1); letter-spacing: -0.02em; font-feature-settings: "tnum" 1; line-height: 1.1; }
.hero-mock-card .delta { font-size: 11px; color: #0E8A4F; font-weight: 600; margin-top: 4px; }
.hero-mock-bottom { display: flex; flex-direction: column-reverse; gap: 14px; }
.hero-mock-ai { background: white; border: 1px solid #BBD5FF; border-radius: 12px; padding: 14px 16px; position: relative; }
.hero-mock-ai::before { content: ""; position: absolute; inset: 0; border-radius: 12px; padding: 1px; background: linear-gradient(135deg, #005BFF, #23A3FF); -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero-mock-ai .e { font-size: 10px; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.hero-mock-ai .ln { font-size: 12px; color: var(--fg-1); margin-top: 6px; line-height: 1.5; min-height: 36px; }
.hero-mock-ai .ln b { color: var(--fg-1); font-weight: 600; }
.hero-mock-ai .caret { display: inline-block; width: 7px; height: 13px; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-mock-ai .meta { display: flex; gap: 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #F0F4FB; }
.hero-mock-ai .meta .k { font-size: 9.5px; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.hero-mock-ai .meta .vv { font-size: 12px; color: var(--fg-1); font-weight: 600; margin-top: 2px; }
.hero-mock-ai .meta .vv.green { color: #0E8A4F; }
.hero-mock-ai .actions { display: flex; gap: 6px; margin-top: 10px; }
.hero-mock-ai .actions .bt { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 7px; background: var(--accent); color: white; }
.hero-mock-ai .actions .bt.sec { background: white; color: var(--fg-1); border: 1px solid var(--border); }
.hero-mock-live { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 14px 0 0; display: flex; flex-direction: column; }
.hero-mock-live .h { padding: 0 16px 10px; display: flex; justify-content: space-between; align-items: center; }
.hero-mock-live .h .t { font-size: 13px; font-weight: 600; color: var(--fg-1); }
.hero-mock-live .h .badge { font-size: 10px; font-weight: 600; color: #0E8A4F; background: #E8F8EF; border: 1px solid #BFEAD0; padding: 2px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.hero-mock-live .h .badge::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: #14B86A; display: inline-block; }
.hero-mock-live .row { padding: 10px 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; border-top: 1px solid #F3F4F6; font-size: 11.5px; transition: background 300ms var(--ease-out); }
.hero-mock-live .row.flash { background: #EAF2FF; }
.hero-mock-live .row .cart { color: var(--fg-1); font-weight: 600; }
.hero-mock-live .row .ctx { color: var(--fg-muted); font-size: 10.5px; margin-top: 1px; }
.hero-mock-live .row .v { color: var(--fg-1); font-weight: 600; font-feature-settings: "tnum" 1; }
.hero-mock-live .row .b { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; transition: background 300ms, color 300ms; white-space: nowrap; }
.hero-mock-live .row .b.safe { background: #E8F8EF; color: #0E8A4F; }
.hero-mock-live .row .b.review { background: #FFF4D6; color: #B36F00; }
.hero-mock-live .row .b.counter { background: #FFF4D6; color: #B36F00; }
.hero-mock-live .row .b.ai { background: #EAF2FF; color: #0F5FE0; }
.hero-mock-live .row .b.neg { background: var(--color-gray-100); color: var(--fg-muted); display: inline-flex; align-items: center; gap: 5px; }
.hero-mock-live .row .b.neg .sp { width: 5px; height: 5px; border-radius: 999px; background: var(--accent); animation: negPulse 0.9s ease-in-out infinite; }
@keyframes negPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ===== Dashboard DealAgent Copilot — faithful recreation ===== */
.dc-wrap { display: flex; flex-direction: column; gap: 12px; }
.dc-head { display: flex; align-items: baseline; justify-content: space-between; }
.dc-head .t { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; color: var(--fg-1); }
.dc-head .open { font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.dc-head .open:hover { text-decoration: underline; }

.dc-panel { background: #fff; border: 1.5px solid var(--accent); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 1px 2px rgba(7,11,31,0.04), 0 8px 24px rgba(17,109,255,0.07); }
.dc-top { display: flex; align-items: center; justify-content: space-between; }
.dc-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.dc-aibadge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--color-blue-100); border: 1px solid var(--color-blue-200); padding: 3px 10px; border-radius: 999px; }
.dc-aibadge::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); display: inline-block; }

.dc-line { font-size: 13.5px; line-height: 1.5; color: var(--fg-1); margin: 12px 0 14px; min-height: 20px; }
.dc-line b { font-weight: 600; color: var(--fg-1); }
.dc-line .caret { display: inline-block; width: 7px; height: 14px; background: var(--accent); margin-left: 1px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }

.dc-block { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.dc-block + .dc-block { margin-top: 10px; }
.dc-block.policy { background: var(--bg-page); }
.dc-block.why { background: #fff; }
.dc-block .bk { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 10px; }
.dc-rows { display: grid; gap: 8px; }
.dc-rows .r { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 13px; }
.dc-rows .r .k { color: var(--fg-muted); }
.dc-rows .r .v { color: var(--fg-1); font-weight: 600; text-align: right; }
.dc-rows .r .v.safe { color: #0E8A4F; }
.dc-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.dc-why li { font-size: 13px; line-height: 1.45; color: var(--fg-2); padding-left: 14px; }

.dc-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.dc-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid transparent; cursor: pointer; }
.dc-btn.primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(7,11,31,0.10), 0 6px 16px rgba(17,109,255,0.22); }
.dc-btn.secondary { background: #fff; color: var(--fg-1); border-color: var(--border-strong); }
.dc-btn.ghost { background: transparent; color: var(--accent); padding: 0 4px; }

.dc-prompt { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.dc-prompt .ph { flex: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-muted); }
.dc-prompt .send { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(7,11,31,0.10), 0 6px 16px rgba(17,109,255,0.22); }

/* ===== Live negotiations table (reference-matched) ===== */
.lneg { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.lneg table { width: 100%; border-collapse: collapse; }
.lneg thead th { text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg-muted); padding: 13px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.lneg tbody td { padding: 14px 16px; border-top: 1px solid #F3F4F6; font-size: 13px; color: var(--fg-1); vertical-align: middle; white-space: nowrap; }
.lneg tbody tr:first-child td { border-top: none; }
.lneg .sesh { font-family: var(--font-mono); font-size: 12px; color: var(--fg-2); background: var(--color-gray-100); border: 1px solid var(--border); padding: 3px 9px; border-radius: 6px; display: inline-block; }
.lneg .buyer { color: var(--fg-2); }
.lneg .val, .lneg .offer { font-weight: 700; color: var(--fg-1); font-feature-settings: "tnum" 1; }
.lneg .time { color: var(--fg-muted); }
.lneg .pill { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; line-height: 1; }
.lneg .pill.chan-widget { background: var(--color-gray-100); color: var(--fg-2); }
.lneg .pill.chan-api { background: var(--color-blue-100); color: var(--accent); }
.lneg .pill.st-pending { background: #FFF1D6; color: #B8730A; }
.lneg .pill.st-purchased { background: #E3F7EC; color: #0E8A4F; }
.lneg .viewbtn { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--border-strong); border-radius: 8px; padding: 7px 16px; font-size: 12.5px; font-weight: 600; color: var(--fg-1); cursor: pointer; }
.lneg td:last-child { text-align: right; }

/* ============== Logo marquee (trusted-by) ============== */
.marquee-wrap { background: white; border-bottom: 1px solid var(--border); padding: 30px 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 22px; }
.marquee { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee .brand { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #9aa3b2; white-space: nowrap; transition: color 200ms; }
.marquee .brand:hover { color: var(--fg-1); }
.marquee-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

/* ============== Problem ============== */
.problem { background: white; }
.problem .quote { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.13; color: var(--fg-1); max-width: 820px; text-wrap: balance; }
.problem .quote .agent { background: var(--gradient-text-agent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.problem .lead { margin-top: 18px; }
.problem-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--border); }
.problem-stat .v { font-size: 44px; font-weight: 700; letter-spacing: -0.025em; color: var(--fg-1); font-feature-settings: "tnum" 1; line-height: 1; }
.problem-stat .v .agent { background: var(--gradient-text-agent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.problem-stat .l { font-size: 13px; color: var(--fg-muted); margin-top: 10px; line-height: 1.45; }

/* ============== How it works — pipeline ============== */
.how { background: var(--bg-page); position: relative; overflow: hidden; }
.how-head { text-align: center; max-width: 720px; margin: 0 auto; }
.how-head .lead { margin: 12px auto 0; }
.pipeline { position: relative; margin-top: 56px; }
.pipeline-track { position: absolute; top: 92px; left: 8%; right: 8%; height: 2px; background: var(--border); z-index: 0; border-radius: 2px; }
.pipeline-track .fill { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, #116DFF, #23A3FF); border-radius: 2px; box-shadow: 0 0 10px rgba(35,163,255,0.5); }
html.anim-on .pipeline-track .fill { width: 0; transition: width 1.6s var(--ease-out); }
html.anim-on .pipeline.in .pipeline-track .fill { width: 100%; }
.pipeline-token { position: absolute; top: 86px; left: 8%; width: 14px; height: 14px; border-radius: 999px; background: #fff; border: 2px solid #116DFF; box-shadow: 0 0 0 4px rgba(17,109,255,0.15); z-index: 2; transform: translateX(-50%); opacity: 0; }
html.anim-on .pipeline.in .pipeline-token { animation: travel 1.8s var(--ease-out) forwards; }
@keyframes travel { 0% { left: 8%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 92%; opacity: 0; } }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; align-items: stretch; }
.how-grid > * { display: flex; }
.how-grid > * > .step { flex: 1; }
.step { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-card); transition: box-shadow 250ms var(--ease-out), transform 250ms var(--ease-out), border-color 250ms; }
.step:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: var(--color-blue-200); }
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 600; }
.step h3 { margin: 8px 0 8px; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; color: var(--fg-1); }
.step p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.55; }
.step .ill { height: 124px; background: #F7FAFF; border: 1px solid #DDE9FB; border-radius: 12px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.step .ill .node { position: relative; z-index: 1; }
.step-badge { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 999px; background: white; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent); box-shadow: var(--shadow-card); }

/* ============== Guardrails ============== */
.guardrails { background: white; }
.guardrails .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.guard-list { display: grid; gap: 8px; margin-top: 24px; }
.guard-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid transparent; transition: background 200ms, border-color 200ms; }
.guard-item:hover { background: var(--bg-page); border-color: var(--border); }
.guard-item .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--color-blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.guard-item h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.guard-item p { margin: 0; font-size: 13.5px; color: var(--fg-muted); line-height: 1.5; }

/* Guardrails interactive visual: offer being checked */
.guard-vis { position: relative; background: #070B1F; border: 1px solid #11183A; border-radius: 24px; overflow: hidden; padding: 26px; color: white; min-height: 380px; isolation: isolate; }
.guard-vis::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(35,163,255,0.22), transparent 55%); z-index: -1; }
.guard-vis .gv-mark { position: absolute; right: -50px; bottom: -50px; width: 300px; opacity: 0.05; }
.gv-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #7AB0FF; }
.gv-cart { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 16px; margin-top: 16px; }
.gv-cart .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 5px 0; color: rgba(255,255,255,0.78); }
.gv-cart .row .v { font-weight: 600; color: white; font-feature-settings: "tnum" 1; }
.gv-checks { display: grid; gap: 8px; margin-top: 16px; }
.gv-check { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,0.6); }
html.anim-on .gv-check { opacity: 0; transform: translateX(-8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
html.anim-on .gv-check.on { opacity: 1; transform: translateX(0); }
.gv-check .dot { width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); transition: background 300ms, color 300ms; }
.gv-check.pass .dot { background: rgba(20,184,106,0.18); color: #2ee08a; }
.gv-check.pass { color: rgba(255,255,255,0.92); }
.gv-verdict { margin-top: 18px; border-radius: 12px; padding: 14px 16px; background: rgba(20,184,106,0.12); border: 1px solid rgba(20,184,106,0.3); display: flex; align-items: center; gap: 12px; }
html.anim-on .gv-verdict { opacity: 0; transform: translateY(8px); transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); }
html.anim-on .gv-verdict.on { opacity: 1; transform: translateY(0); }
.gv-verdict .ico { width: 32px; height: 32px; border-radius: 999px; background: #14B86A; color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gv-verdict .t { font-size: 13.5px; font-weight: 700; color: white; }
.gv-verdict .s { font-size: 11.5px; color: rgba(255,255,255,0.65); margin-top: 1px; }

/* ============== Use cases ============== */
.use { background: var(--bg-page); }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; align-items: stretch; }
.use-grid > * { display: flex; }
.use-grid > * > .use-card { flex: 1; }
.use-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-card); transition: box-shadow 250ms var(--ease-out), transform 250ms var(--ease-out), border-color 250ms; position: relative; overflow: hidden; }
.use-card::after { content: ""; position: absolute; inset: 0; border-radius: 16px; background: radial-gradient(120% 80% at 100% 0%, rgba(17,109,255,0.06), transparent 60%); opacity: 0; transition: opacity 250ms; pointer-events: none; }
.use-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: var(--color-blue-200); }
.use-card:hover::after { opacity: 1; }
.use-card .tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--color-blue-100); color: var(--accent); letter-spacing: 0.02em; }
.use-card h3 { margin: 12px 0 6px; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.use-card p { margin: 0; color: var(--fg-muted); font-size: 13.5px; line-height: 1.55; }

/* ============== Agentic API (dark beat) ============== */
.api { background: #070B1F; color: white; position: relative; overflow: hidden; isolation: isolate; }
.api::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 18% 12%, rgba(18,61,255,0.30), transparent 55%), radial-gradient(50% 50% at 88% 80%, rgba(35,163,255,0.18), transparent 55%); z-index: -1; }
.api .eyebrow { color: #7AB0FF; }
.api .h2 { color: white; }
.api .lead { color: rgba(255,255,255,0.66); }
.api-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin-top: 12px; }
.api-points { display: grid; gap: 16px; margin-top: 28px; }
.api-point { display: flex; gap: 14px; align-items: flex-start; }
.api-point .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(122,176,255,0.12); border: 1px solid rgba(122,176,255,0.20); color: #7AB0FF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.api-point h4 { margin: 0 0 3px; font-size: 15px; font-weight: 600; color: white; }
.api-point p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.api-cta { display: flex; gap: 10px; margin-top: 30px; align-items: center; flex-wrap: wrap; }

/* Terminal */
.term { background: rgba(7,11,31,0.6); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05); backdrop-filter: blur(8px); }
.term-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
.term-bar .dot { width: 11px; height: 11px; border-radius: 999px; }
.term-bar .dot.r { background: #ff5f57; } .term-bar .dot.y { background: #febc2e; } .term-bar .dot.g { background: #28c840; }
.term-bar .ttl { margin-left: 10px; font-family: var(--font-mono); font-size: 11.5px; color: rgba(255,255,255,0.45); }
.term-bar .pill { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: #7AB0FF; background: rgba(122,176,255,0.10); border: 1px solid rgba(122,176,255,0.2); padding: 2px 8px; border-radius: 999px; }
.term-body { padding: 18px 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.75; min-height: 320px; }
.term-line { white-space: pre-wrap; word-break: break-word; }
.term .c-key { color: #7AB0FF; } .term .c-str { color: #5fe0a8; } .term .c-num { color: #ffce6b; } .term .c-punc { color: rgba(255,255,255,0.45); } .term .c-cmt { color: rgba(255,255,255,0.35); } .term .c-fn { color: #c89bff; } .term .c-out { color: rgba(255,255,255,0.85); }
.term .prompt { color: #5fe0a8; }
.term .tcaret { display: inline-block; width: 8px; height: 15px; background: #7AB0FF; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
.term-resp { margin-top: 6px; border-top: 1px dashed rgba(255,255,255,0.1); padding-top: 10px; }

/* ============== Integrations ============== */
.integrations { background: var(--bg-page); position: relative; overflow: hidden; }
.integrations::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.int-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin-top: 24px; }
.int-copy h2 { margin-bottom: 16px; }
.int-copy .lead { margin-bottom: 28px; }
.int-bullets { display: grid; gap: 14px; margin: 0 0 32px; padding: 0; list-style: none; }
.int-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--fg-1); line-height: 1.55; }
.int-bullets li svg { flex-shrink: 0; margin-top: 3px; color: #14B86A; }
.int-bullets li b { font-weight: 600; }
.int-cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.int-cta .footnote { font-size: 12.5px; color: var(--fg-muted); margin-left: 6px; }
/* Official "Available on Shopify App Store" badge (black) */
.shopify-badge { display: inline-flex; align-items: center; gap: 13px; background: #000; border: 1px solid #4d4d4d; border-radius: 13px; padding: 9px 22px 9px 16px; text-decoration: none; transition: background 150ms var(--ease-out), border-color 150ms var(--ease-out); }
.shopify-badge:hover { background: #1c1c1c; border-color: #6b6b6b; }
.shopify-badge .sb-txt { display: flex; flex-direction: column; line-height: 1.08; color: #fff; }
.shopify-badge .sb-sm { font-size: 11.5px; font-weight: 600; letter-spacing: -0.01em; }
.shopify-badge .sb-lg { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.int-mock { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: 0 1px 2px rgba(7,11,31,0.04), 0 24px 60px rgba(7,11,31,0.08); position: relative; }
.int-mock-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.int-mock-shop-logo { width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.int-mock-connect { flex: 1; display: flex; align-items: center; gap: 8px; color: var(--fg-muted); }
.int-mock-connect .arrow { font-size: 18px; color: var(--color-gray-300); margin: 0 4px; }
.int-mock-da-logo { width: 44px; height: 44px; border-radius: 10px; background: #070B1F; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 6px; }
.int-mock-da-logo img { width: 100%; height: 100%; object-fit: contain; }
.int-mock-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #0E8A4F; background: #E8F8EF; border: 1px solid #BFEAD0; padding: 4px 10px; border-radius: 999px; }
.int-mock-status::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #14B86A; display: inline-block; }
.int-mock-perms { padding: 16px 0 4px; display: grid; gap: 10px; }
.int-mock-perm { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--fg-1); }
.int-mock-perm svg { color: #14B86A; flex-shrink: 0; margin-top: 2px; }
.int-mock-perm span { color: var(--fg-muted); }
.int-mock-actions { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.int-mock-actions .btn { flex: 1; justify-content: center; height: 40px; }
.int-other { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.int-other .label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 14px; }
.int-other-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.int-other-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; transition: transform 200ms var(--ease-out), box-shadow 200ms; }
.int-other-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.int-other-card .logo { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.int-other-card .name { font-size: 12.5px; font-weight: 600; color: var(--fg-1); }
.int-other-card .stat { font-size: 10.5px; color: var(--fg-muted); }
.int-other-card.soon .name, .int-other-card.soon .logo { opacity: 0.55; }
.int-other-card.soon .stat { color: var(--accent); font-weight: 600; }

/* ============== Pricing ============== */
.pricing { background: transparent; }
.pricing-head { text-align: center; max-width: 760px; margin: 0 auto; }
.pricing-head .lead { margin: 14px auto 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; align-items: stretch; }
.price-grid > * { display: flex; }
.price-grid > * > .plan { flex: 1; }
.founders { margin-top: 36px; border-radius: 16px; background: linear-gradient(135deg, #070B1F 0%, #0B1638 60%, #123DFF 200%); border: 1px solid #1A2244; padding: 18px 22px; position: relative; overflow: hidden; }
.founders::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 50%, rgba(35,163,255,0.20) 0%, transparent 55%); pointer-events: none; }
.founders-inner { position: relative; display: flex; align-items: center; gap: 18px; }
.founders-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7AB0FF; background: rgba(122,176,255,0.12); border: 1px solid rgba(122,176,255,0.25); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.founders-copy { flex: 1; color: white; }
.founders-title { font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.founders-title b { color: white; font-weight: 700; }
.founders-sub { font-size: 12.5px; color: rgba(255,255,255,0.65); margin-top: 3px; }
.founders .btn-secondary { background: white; }
.plan { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 24px 22px; display: flex; flex-direction: column; position: relative; transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 250ms; }
.plan:not(.featured):hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--color-blue-200); }
.plan.featured { background: #070B1F; color: white; border-color: transparent; overflow: hidden; }
.plan.featured::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(35,163,255,0.18) 0%, transparent 55%); pointer-events: none; }
.plan-ribbon { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: linear-gradient(135deg, #2D8CFF, #23A3FF); color: white; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); }
.plan.featured h3 { color: #7AB0FF; }
.plan .price { font-size: 38px; font-weight: 700; letter-spacing: -0.025em; margin: 12px 0 4px; line-height: 1.05; font-feature-settings: "tnum" 1; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--fg-muted); letter-spacing: 0; }
.plan.featured .price small { color: #AAB2C8; }
.plan .desc { font-size: 13px; color: var(--fg-muted); margin: 0 0 18px; line-height: 1.5; min-height: 38px; }
.plan.featured .desc { color: #AAB2C8; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--fg-1); line-height: 1.45; }
.plan.featured li { color: rgba(255,255,255,0.92); }
.plan li svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.plan.featured li svg { color: #7AB0FF; }
.plan .btn { width: 100%; justify-content: center; }
.plan-foot { font-size: 11px; color: var(--fg-muted); margin-top: 12px; text-align: center; line-height: 1.4; }
.plan.featured .plan-foot { color: #AAB2C8; }
.enterprise-card { margin-top: 14px; background: var(--bg-page); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ent-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.ent-title { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; color: var(--fg-1); margin-top: 4px; }
.ent-desc { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; margin-top: 6px; max-width: 720px; }
.pricing-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.note .note-k { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.note .note-v { font-size: 13px; color: var(--fg-muted); line-height: 1.55; }
.note .note-v b { color: var(--fg-1); font-weight: 600; }

/* ============== Final CTA ============== */
.final { background: #070B1F; color: white; position: relative; overflow: hidden; isolation: isolate; padding-top: 72px; padding-bottom: 48px; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 0%, rgba(35,163,255,0.20) 0%, transparent 60%); pointer-events: none; z-index: -1; }
/* subtle grid floor for depth */
.final::after { content: ""; position: absolute; inset: auto 0 0 0; height: 260px; z-index: -1; opacity: 0.30; pointer-events: none;
  background-image: linear-gradient(rgba(122,176,255,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(122,176,255,0.10) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: linear-gradient(180deg, transparent, #000 85%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 85%);
  transform: perspective(460px) rotateX(60deg); transform-origin: bottom; }
.final-card { position: relative; max-width: none; margin: 0 auto; text-align: left; padding: 36px 44px; border-radius: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.10); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 80px rgba(0,0,0,0.45); }
.final-card::before { content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(45,140,255,0.55), rgba(122,176,255,0.05) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000); -webkit-mask-composite: xor; mask-composite: exclude; }
.final-lead { display: flex; align-items: center; gap: 20px; min-width: 0; }
.final-glyph { display: none; width: 56px; height: 56px; margin: 0; flex-shrink: 0; border-radius: 15px; align-items: center; justify-content: center;
  background: #FFFFFF; border: 1px solid rgba(122,176,255,0.28);
  box-shadow: 0 8px 24px rgba(17,109,255,0.30), 0 0 0 6px rgba(122,176,255,0.05); }
.final-glyph img { width: 36px; height: 36px; object-fit: contain; display: block; }
.final .eyebrow { color: #7AB0FF; justify-content: flex-start; margin-bottom: 8px; }
.final-inner { text-align: center; position: relative; }
.final h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 8px; max-width: 460px; text-wrap: balance; color: white; }
.final .agent { background: var(--gradient-text-agent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final p { color: rgba(255,255,255,0.70); font-size: 15px; line-height: 1.5; max-width: 440px; margin: 0; }
.final-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex-shrink: 0; }
.final .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.final .cta .btn { min-width: 150px; justify-content: center; }
.final .cta .btn-ghost-light { background: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)), #0a1024; border-color: rgba(255,255,255,0.20); backdrop-filter: none; }
.final .cta .btn-ghost-light:hover { background: linear-gradient(rgba(255,255,255,0.14), rgba(255,255,255,0.14)), #0a1024; border-color: rgba(255,255,255,0.30); }
.final-trust { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 0; font-size: 13px; color: rgba(255,255,255,0.55); }
.final-trust .it { display: inline-flex; align-items: center; gap: 7px; }
.final-trust .it svg { color: #2ee08a; flex-shrink: 0; }
.final-trust .sep { width: 3px; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.25); }
@media (max-width: 860px) {
  .final-card { flex-direction: column; align-items: center; gap: 26px; padding: 40px 28px; text-align: center; }
  .final-glyph { display: flex; margin: 0 auto; }
  .final-lead { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .final .eyebrow { justify-content: center; }
  .final h2 { font-size: 28px; margin-left: auto; margin-right: auto; }
  .final p { margin-left: auto; margin-right: auto; }
  .final-actions { align-items: center; width: 100%; }
  .final-actions > div { width: 100%; }
  .final .cta { justify-content: center; width: 100%; }
  .final .cta .btn { flex: 1; }
  .final .btn-ghost-light { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.30); }
  .final-trust { justify-content: center; }
}
@media (max-width: 560px) {
  .final-card { padding: 32px 22px; border-radius: 20px; }
  .final-lead { flex-direction: column; align-items: center; gap: 14px; }
  .final .cta { flex-direction: column; align-items: stretch; }
  .final .cta .btn { flex: 0 0 auto; width: 100%; height: 50px; }
  .final-trust .sep { display: none; }
}

/* ============== Footer (continuous with the Final CTA — same navy, no seam) ============== */
footer { background: #070B1F; color: rgba(255,255,255,0.7); padding: 56px 0 40px; position: relative; z-index: 1; }
footer .grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; }
footer .col h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.92); }
footer .col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.6); text-decoration: none; padding: 4px 0; transition: color 150ms; }
footer .col a:hover { color: white; }
footer .brand img { height: 40px; }
footer .brand p { margin: 14px 0 0; font-size: 13.5px; max-width: 280px; line-height: 1.5; }
footer .legal { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; margin-top: 44px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.45); }
footer .legal a { color: inherit; text-decoration: none; }
footer .legal a:hover { color: white; }

/* ============== Legal / long-form doc pages ============== */
.doc-hero { padding: 142px 0 40px; background: linear-gradient(180deg, #FFFFFF 0%, #F6F9FD 100%); border-bottom: 1px solid var(--border); }
.doc-hero .eyebrow { color: var(--accent); }
.doc-hero h1 { font-size: 46px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: #070B1F; margin: 14px 0 12px; }
.doc-hero .meta { font-size: 13.5px; color: var(--fg-muted); display: flex; gap: 18px; flex-wrap: wrap; }
.doc-hero .meta b { color: var(--fg-1); font-weight: 600; }
.doc-wrap { padding: 56px 0 80px; background: #fff; }
.doc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.doc-toc { position: sticky; top: 96px; }
.doc-toc .toc-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 12px; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.doc-toc a { display: block; font-size: 13.5px; color: var(--fg-2); text-decoration: none; padding: 7px 12px; border-radius: 8px; border-left: 2px solid transparent; transition: background 150ms, color 150ms, border-color 150ms; line-height: 1.35; }
.doc-toc a:hover { background: var(--bg-page); color: var(--fg-1); }
.doc-toc a.active { background: var(--color-blue-100); color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.doc-body { max-width: 740px; }
.doc-intro { font-size: 16.5px; line-height: 1.65; color: var(--fg-2); padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.doc-section { padding-top: 36px; scroll-margin-top: 96px; }
.doc-section h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.015em; color: #070B1F; margin: 0 0 14px; display: flex; align-items: baseline; gap: 10px; }
.doc-section h2 .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 600; }
.doc-section p { font-size: 14.5px; line-height: 1.7; color: var(--fg-2); margin: 0 0 14px; }
.doc-section p b { color: var(--fg-1); font-weight: 600; }
.doc-section ul.doc-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.doc-section ul.doc-list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.doc-section ul.doc-list li svg { position: absolute; left: 0; top: 4px; color: var(--accent); }
.doc-section a.inline { color: var(--accent); text-decoration: none; font-weight: 500; }
.doc-section a.inline:hover { text-decoration: underline; }
.doc-callout { background: var(--bg-page); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 18px 0; display: flex; gap: 14px; align-items: flex-start; }
.doc-callout .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--color-blue-100); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-callout p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--fg-2); }
.doc-callout p b { color: var(--fg-1); }
@media (max-width: 860px) {
  .doc-grid { grid-template-columns: 1fr; gap: 28px; }
  .doc-toc { position: static; top: auto; border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: var(--bg-page); }
  .doc-hero h1 { font-size: 34px; }
}

/* ============== Generic content pages (Company / Developers) ============== */
.pg-hero { padding: 150px 0 60px; background: linear-gradient(180deg, #FFFFFF 0%, #F6F9FD 100%); border-bottom: 1px solid var(--border); }
.pg-hero.center { text-align: center; }
.pg-hero .eyebrow { color: var(--accent); }
.pg-hero.center .eyebrow { justify-content: center; }
.pg-hero h1 { font-size: 50px; line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; color: #070B1F; margin: 16px 0 16px; max-width: 760px; text-wrap: balance; }
.pg-hero.center h1 { margin-left: auto; margin-right: auto; }
.pg-hero .lead { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 620px; }
.pg-hero.center .lead { margin-left: auto; margin-right: auto; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.feat-grid > * { display: flex; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow-card); flex: 1; }
.feat-card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--color-blue-100); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: #070B1F; }
.feat-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--fg-muted); }

/* mission / split */
.pg-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.pg-split .big { font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: #070B1F; margin: 0; text-wrap: balance; }
.pg-split .big .agent { background: var(--gradient-text-agent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-split .body p { font-size: 15.5px; line-height: 1.65; color: var(--fg-2); margin: 0 0 16px; }
.pg-split .body p:last-child { margin-bottom: 0; }

/* dark stat band */
.cstat-band { background: #070B1F; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cstat-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 0%, rgba(35,163,255,0.16), transparent 60%); z-index: -1; }
.cstat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cstat { text-align: center; padding: 8px; }
.cstat .v { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-feature-settings: "tnum" 1; background: linear-gradient(135deg, #FFFFFF, #AAC6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cstat .l { font-size: 13px; color: rgba(255,255,255,0.62); margin-top: 12px; line-height: 1.45; }

/* investors / logo row */
.logo-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.logo-chip { flex: 1; min-width: 150px; text-align: center; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: 12px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: #9aa3b2; }

/* customers / case study cards */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.case-grid > * { display: flex; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-card); flex: 1; display: flex; flex-direction: column; transition: transform 200ms var(--ease-out), box-shadow 200ms; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.case-card .brand { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: #070B1F; }
.case-card .cat { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
.case-card .metric { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; margin: 18px 0 4px; line-height: 1; font-feature-settings: "tnum" 1; }
.case-card .metric .agent { background: var(--gradient-text-agent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-card .metric-l { font-size: 13px; color: var(--fg-muted); }
.case-card .quote { font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--border); flex: 1; }
.case-card .who { font-size: 12.5px; color: var(--fg-muted); margin-top: 14px; }
.case-card .who b { color: var(--fg-1); font-weight: 600; }

.case-feature { background: #070B1F; color: #fff; border-radius: 22px; padding: 44px; position: relative; overflow: hidden; isolation: isolate; margin-top: 8px; }
.case-feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 0%, rgba(35,163,255,0.20), transparent 55%); z-index: -1; }
.case-feature .fq { font-size: 26px; line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; max-width: 760px; text-wrap: balance; }
.case-feature .fwho { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,0.6); }
.case-feature .fwho b { color: #fff; font-weight: 600; }
.case-feature .fstats { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.case-feature .fstats .v { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: #7AB0FF; }
.case-feature .fstats .l { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* careers / roles */
.roles { display: grid; gap: 10px; margin-top: 36px; }
.role-row { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-card); transition: transform 180ms var(--ease-out), box-shadow 180ms, border-color 180ms; text-decoration: none; }
.role-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); border-color: var(--color-blue-200); }
.role-row .r-title { font-size: 16px; font-weight: 650; color: #070B1F; letter-spacing: -0.01em; }
.role-row .r-meta { font-size: 13px; color: var(--fg-muted); margin-top: 3px; }
.role-row .r-team { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); background: var(--color-blue-100); padding: 5px 10px; border-radius: 999px; flex-shrink: 0; }
.role-row .r-arrow { margin-left: auto; color: var(--fg-muted); flex-shrink: 0; display: flex; }
.role-row:hover .r-arrow { color: var(--accent); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-options { display: grid; gap: 14px; }
.contact-opt { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.contact-opt .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--color-blue-100); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-opt h4 { margin: 0 0 3px; font-size: 15px; font-weight: 650; color: #070B1F; }
.contact-opt p { margin: 0 0 4px; font-size: 13px; color: var(--fg-muted); line-height: 1.5; }
.contact-opt a { font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.contact-opt a:hover { text-decoration: underline; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-card); }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--fg-1); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; font-family: var(--font-sans); font-size: 14px; color: var(--fg-1); background: var(--bg-page); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; transition: border-color 150ms, box-shadow 150ms; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: var(--shadow-focus-ring); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { width: 100%; justify-content: center; }
.contact-note { font-size: 12px; color: var(--fg-muted); margin-top: 12px; text-align: center; }

@media (max-width: 900px) {
  .pg-split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .feat-grid, .case-grid { grid-template-columns: 1fr; }
  .cstat-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .pg-hero h1 { font-size: 38px; }
}
@media (max-width: 560px) {
  .cstat-grid { grid-template-columns: 1fr; }
  .case-feature { padding: 30px 24px; }
  .case-feature .fq { font-size: 21px; }
  .role-row { flex-wrap: wrap; gap: 12px; }
  .contact-form .row2 { grid-template-columns: 1fr; }
}

/* ============== Developer pages (Docs / API / Status / Changelog) ============== */
/* static code block (reuses terminal palette) */
.code-block { background: #070B1F; border: 1px solid #11183A; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.code-block .cb-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.code-block .cb-bar .dot { width: 10px; height: 10px; border-radius: 999px; }
.code-block .cb-bar .r { background: #ff5f57; } .code-block .cb-bar .y { background: #febc2e; } .code-block .cb-bar .g { background: #28c840; }
.code-block .cb-bar .ttl { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.45); }
.code-block pre { margin: 0; padding: 16px 18px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,0.85); overflow-x: auto; }
.code-block .k { color: #7AB0FF; } .code-block .s { color: #5fe0a8; } .code-block .n { color: #ffce6b; } .code-block .c { color: rgba(255,255,255,0.4); } .code-block .p { color: rgba(255,255,255,0.5); }

/* docs landing cards */
.docs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.docs-cards > * { display: flex; }
.docs-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-card); flex: 1; transition: transform 200ms var(--ease-out), box-shadow 200ms, border-color 200ms; text-decoration: none; display: flex; flex-direction: column; }
.docs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--color-blue-200); }
.docs-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--color-blue-100); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.docs-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 650; color: #070B1F; letter-spacing: -0.01em; }
.docs-card p { margin: 0; font-size: 13px; color: var(--fg-muted); line-height: 1.55; flex: 1; }
.docs-card .go { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

/* API reference */
.api-method { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; background: var(--bg-page); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; }
.api-method .verb { font-weight: 700; color: #fff; background: #14B86A; padding: 2px 8px; border-radius: 6px; font-size: 11px; letter-spacing: 0.04em; }
.api-method .verb.post { background: #116DFF; }
.api-method .path { color: var(--fg-1); font-weight: 500; }
.params { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 16px 0; }
.param { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.param:last-child { border-bottom: none; }
.param .pk { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 600; }
.param .pk .type { display: block; font-size: 11px; color: var(--fg-muted); font-weight: 400; margin-top: 3px; }
.param .pd { font-size: 13.5px; color: var(--fg-2); line-height: 1.55; }

/* Status */
.status-banner { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-radius: 16px; background: #E8F8EF; border: 1px solid #BFEAD0; margin-bottom: 28px; }
.status-banner .ico { width: 44px; height: 44px; border-radius: 999px; background: #14B86A; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.status-banner .t { font-size: 19px; font-weight: 700; color: #0E6B3F; letter-spacing: -0.01em; }
.status-banner .s { font-size: 13px; color: #2C8A5C; margin-top: 2px; }
.status-list { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.status-row { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.status-row:last-child { border-bottom: none; }
.status-row .name { font-size: 14.5px; font-weight: 600; color: #070B1F; }
.status-row .bars { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.status-row .bars i { width: 4px; height: 22px; border-radius: 2px; background: #14B86A; display: block; }
.status-row .bars i.dim { background: #E2E8F0; }
.status-row .bars i.warn { background: #F5B544; }
.status-row .pill { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #E8F8EF; color: #0E8A4F; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.status-row .pill::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #14B86A; }
.status-uptime { font-size: 12px; color: var(--fg-muted); margin-top: 8px; text-align: right; }
.incidents { margin-top: 40px; }
.incident { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.incident .date { font-size: 12.5px; color: var(--fg-muted); min-width: 120px; flex-shrink: 0; }
.incident .body h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #070B1F; }
.incident .body p { margin: 0; font-size: 13px; color: var(--fg-muted); line-height: 1.5; }
.incident .resolved { font-size: 11px; font-weight: 600; color: #0E8A4F; }

/* Changelog timeline */
.changelog { max-width: 760px; }
.cl-entry { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--border); }
.cl-entry:first-child { border-top: none; }
.cl-meta .date { font-size: 13px; color: var(--fg-muted); font-weight: 500; }
.cl-meta .ver { display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent); background: var(--color-blue-100); padding: 3px 9px; border-radius: 7px; }
.cl-body h3 { margin: 0 0 14px; font-size: 19px; font-weight: 650; letter-spacing: -0.015em; color: #070B1F; }
.cl-change { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.cl-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; flex-shrink: 0; margin-top: 1px; min-width: 74px; text-align: center; }
.cl-tag.new { background: #E8F8EF; color: #0E8A4F; }
.cl-tag.improved { background: var(--color-blue-100); color: var(--accent); }
.cl-tag.fixed { background: #FFF4D6; color: #B36F00; }
.cl-change p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.cl-change p b { color: var(--fg-1); font-weight: 600; }

@media (max-width: 860px) {
  .docs-cards { grid-template-columns: 1fr; }
  .cl-entry { grid-template-columns: 1fr; gap: 12px; }
  .param { grid-template-columns: 1fr; gap: 4px; }
  .incident { flex-direction: column; gap: 6px; }
  .incident .date { min-width: 0; }
}

/* ============== Solution pages ============== */
.sol-demo { display: flex; justify-content: center; }
.sol-demo .sf-widget { box-shadow: var(--shadow-card-hover); }
.sol-problem { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.sol-problem .label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #C03A2B; }
.sol-problem h2 { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #070B1F; margin: 12px 0 0; text-wrap: balance; }
.sol-problem .body p { font-size: 15.5px; line-height: 1.65; color: var(--fg-2); margin: 0; }
@media (max-width: 900px) {
  .sol-problem { grid-template-columns: 1fr; gap: 24px; }
  .sol-problem h2 { font-size: 24px; }
}

/* ============== Why DealAgent — dedicated page ============== */
.why-intro { background: #fff; }
.why-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-lead-grid .big { font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: #070B1F; text-wrap: balance; margin: 0; }
.why-lead-grid .big .agent { background: var(--gradient-text-agent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-lead-grid .body p { font-size: 15.5px; line-height: 1.65; color: var(--fg-2); margin: 0 0 16px; }
.why-lead-grid .body p:last-child { margin-bottom: 0; }

/* problem cards */
.why-problems { background: var(--bg-page); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.why-grid > * { display: flex; }
.why-grid > * > .why-card { flex: 1; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow-card); }
.why-card .ic { width: 42px; height: 42px; border-radius: 11px; background: #FFF1F0; color: #D64545; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: #070B1F; }
.why-card p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); }

/* the comparison — public code vs DealAgent private offer */
.why-vs { background: #fff; }
.vs-head { text-align: center; max-width: 720px; margin: 0 auto; }
.vs-head .lead { margin: 12px auto 0; }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.vs-card { border-radius: 20px; padding: 28px; position: relative; overflow: hidden; }
.vs-card.bad { background: var(--bg-page); border: 1px solid var(--border); }
.vs-card.good { background: #070B1F; border: 1px solid #11183A; color: #fff; isolation: isolate; }
.vs-card.good::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 0%, rgba(35,163,255,0.18), transparent 55%); z-index: -1; }
.vs-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.vs-card.bad .vs-tag { background: #FCE9E7; color: #C03A2B; }
.vs-card.good .vs-tag { background: rgba(122,176,255,0.14); color: #7AB0FF; }
.vs-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin: 16px 0 4px; }
.vs-card.bad h3 { color: #070B1F; }
.vs-card .sub { font-size: 13px; color: var(--fg-muted); margin-bottom: 20px; }
.vs-card.good .sub { color: rgba(255,255,255,0.6); }

/* coupon mock (bad side) */
.vs-coupon { background: #fff; border: 2px dashed #E0A9A1; border-radius: 14px; padding: 18px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.vs-coupon .code { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: #C03A2B; letter-spacing: 0.04em; }
.vs-coupon .pct { font-size: 13px; font-weight: 700; color: #C03A2B; background: #FCE9E7; padding: 4px 10px; border-radius: 8px; }
/* offer mock (good side) */
.vs-offer { background: rgba(255,255,255,0.05); border: 1px solid rgba(122,176,255,0.25); border-radius: 14px; padding: 18px; }
.vs-offer .r { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; padding: 4px 0; color: rgba(255,255,255,0.72); }
.vs-offer .r .v { font-weight: 700; color: #fff; font-feature-settings: "tnum" 1; }
.vs-offer .r .v.safe { color: #2ee08a; }
.vs-offer .divider { height: 1px; background: rgba(255,255,255,0.1); margin: 8px 0; }

.vs-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.vs-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.vs-list.bad li { color: var(--fg-2); }
.vs-list.good li { color: rgba(255,255,255,0.9); }
.vs-list li .mk { flex-shrink: 0; width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.vs-list.bad li .mk { background: #FCE9E7; color: #C03A2B; }
.vs-list.good li .mk { background: rgba(46,224,138,0.16); color: #2ee08a; }

/* why-now band (agentic era) */
.why-now { background: var(--bg-page); }
.why-now-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-now .eyebrow { color: var(--accent); }
.why-now-points { display: grid; gap: 16px; margin-top: 24px; }
.why-now-point { display: flex; gap: 14px; align-items: flex-start; }
.why-now-point .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--color-blue-100); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-now-point h4 { margin: 0 0 3px; font-size: 15px; font-weight: 600; color: #070B1F; }
.why-now-point p { margin: 0; font-size: 13.5px; color: var(--fg-muted); line-height: 1.5; }
.why-now-visual { background: #070B1F; border: 1px solid #11183A; border-radius: 20px; padding: 28px; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.why-now-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 20% 10%, rgba(18,61,255,0.3), transparent 55%); z-index: -1; }
.why-now-visual .big-num { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(135deg, #5FA0FF, #23A3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-now-visual .cap { font-size: 14px; color: rgba(255,255,255,0.72); margin-top: 10px; line-height: 1.5; }
.why-now-visual .src { font-size: 11.5px; color: rgba(255,255,255,0.4); margin-top: 16px; }

/* outcomes stat band (dark) */
.why-outcomes { background: #070B1F; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.why-outcomes::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, rgba(35,163,255,0.16), transparent 60%); z-index: -1; }
.why-outcomes .eyebrow { color: #7AB0FF; display: flex; justify-content: center; }
.why-outcomes h2 { color: #fff; text-align: center; }
.why-out-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.why-out { text-align: center; padding: 8px; }
.why-out .v { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-feature-settings: "tnum" 1; background: linear-gradient(135deg, #FFFFFF, #AAC6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-out .l { font-size: 13px; color: rgba(255,255,255,0.62); margin-top: 12px; line-height: 1.45; }

@media (max-width: 900px) {
  .why-lead-grid, .why-now-grid { grid-template-columns: 1fr; gap: 28px; }
  .vs-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-out-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}
@media (max-width: 560px) {
  .why-lead-grid .big { font-size: 24px; }
  .why-out-grid { grid-template-columns: 1fr; }
}

/* ============== Agentic API — dedicated page ============== */
.apg-hero { position: relative; padding: 150px 0 90px; background: #070B1F; color: #fff; overflow: hidden; isolation: isolate; }
.apg-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 60% at 15% 5%, rgba(18,61,255,0.34), transparent 55%), radial-gradient(45% 50% at 90% 30%, rgba(35,163,255,0.20), transparent 55%); z-index: -1; }
.apg-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.apg-hero .eyebrow { color: #7AB0FF; display: inline-flex; padding: 6px 13px; background: rgba(122,176,255,0.10); border: 1px solid rgba(122,176,255,0.22); border-radius: 999px; font-size: 11.5px; }
.apg-hero h1 { font-size: 54px; line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; color: #fff; margin: 18px 0 16px; text-wrap: balance; }
.apg-hero h1 .agent { background: linear-gradient(135deg, #5FA0FF, #23A3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apg-hero .lead { color: rgba(255,255,255,0.7); font-size: 18px; line-height: 1.6; max-width: 540px; }
.apg-hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* shared dark section helper for this page */
.apg-dark { background: #070B1F; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.apg-dark .eyebrow { color: #7AB0FF; }
.apg-dark .h2 { color: #fff; }
.apg-dark .lead { color: rgba(255,255,255,0.66); }

/* flow steps */
.apg-flow { background: var(--bg-page); }
.apg-head { text-align: center; max-width: 720px; margin: 0 auto; }
.apg-head .lead { margin: 12px auto 0; }
.apg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; align-items: stretch; }
.apg-steps > * { display: flex; }
.apg-steps > * > .apg-step { flex: 1; }
.apg-step { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-card); }
.apg-step .n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--color-blue-100); color: var(--accent); font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.apg-step h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: #070B1F; }
.apg-step p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); }
.apg-step code { font-family: var(--font-mono); font-size: 12px; background: var(--color-gray-100); color: var(--accent); padding: 1px 6px; border-radius: 5px; }

/* response schema */
.apg-schema { background: #fff; }
.apg-schema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.apg-fields { display: grid; gap: 2px; margin-top: 8px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.apg-field { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); align-items: baseline; }
.apg-field:last-child { border-bottom: none; }
.apg-field .k { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 600; }
.apg-field .d { font-size: 13px; color: var(--fg-2); line-height: 1.5; }
.apg-field .d b { color: #070B1F; font-weight: 600; }

/* capabilities */
.apg-caps { background: var(--bg-page); }
.apg-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.apg-cap-grid > * { display: flex; }
.apg-cap-grid > * > .apg-cap { flex: 1; }
.apg-cap { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-card); }
.apg-cap .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--color-blue-100); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.apg-cap h3 { margin: 0 0 7px; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: #070B1F; }
.apg-cap p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); }

/* negotiation demo */
.apg-demo { background: #fff; }
.apg-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

@media (max-width: 900px) {
  .apg-hero-grid, .apg-schema-grid, .apg-demo-grid { grid-template-columns: 1fr; gap: 36px; }
  .apg-steps, .apg-cap-grid { grid-template-columns: 1fr; }
  .apg-hero h1 { font-size: 40px; }
  .apg-field { grid-template-columns: 1fr; gap: 4px; }
  .apg-field .k { font-size: 12.5px; }
}
@media (max-width: 560px) {
  .apg-hero { padding: 124px 0 64px; }
  .apg-hero-cta { flex-direction: column; align-items: stretch; }
  .apg-hero-cta .btn { width: 100%; justify-content: center; }
}

/* Built for Shopify badge (official-style: light-blue pill + faceted gem) */
.bfs-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; background: #EAF2FF; border: 1px solid #CFE0FB; border-radius: 999px; font-size: 13px; font-weight: 600; color: #0B2A4A; letter-spacing: -0.005em; }
.bfs-badge svg { flex-shrink: 0; }

/* ============== Integrations — dedicated page ============== */
.intp-hero { position: relative; padding: 150px 0 72px; background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%); overflow: hidden; }
.intp-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.intp-hero .eyebrow { color: var(--accent); }
.intp-hero h1 { font-size: 52px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: #070B1F; margin: 16px 0 16px; text-wrap: balance; }
.intp-hero .lead { font-size: 18px; line-height: 1.6; color: var(--fg-2); }
.intp-bullets { display: grid; gap: 13px; margin: 24px 0 28px; padding: 0; list-style: none; }
.intp-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--fg-1); line-height: 1.55; }
.intp-bullets li svg { flex-shrink: 0; margin-top: 2px; color: #14B86A; }
.intp-bullets li b { font-weight: 600; }
.intp-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* trust strip */
.intp-trust { background: #fff; border-bottom: 1px solid var(--border); border-top: 1px solid var(--border); }
.intp-trust-row { display: flex; align-items: center; gap: 40px; padding: 22px 0; flex-wrap: wrap; justify-content: center; }
.intp-trust-item { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--fg-2); }
.intp-trust-item .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--color-blue-100); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.intp-trust-item b { color: var(--fg-1); font-weight: 600; }

/* widget showcase */
.intp-widget { background: #fff; }
.intp-widget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intp-widget-stage { display: flex; justify-content: center; }
.intp-widget-stage .sf-widget { box-shadow: var(--shadow-card-hover); }

/* permissions panel (standalone) */
.intp-perms-sec { background: var(--bg-page); }
.intp-perms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.intp-perms-list { display: grid; gap: 2px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.intp-perm { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.intp-perm:last-child { border-bottom: none; }
.intp-perm .pic { width: 36px; height: 36px; border-radius: 9px; background: var(--color-blue-100); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.intp-perm .pmode { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; flex-shrink: 0; margin-left: auto; align-self: center; }
.intp-perm .pmode.read { background: var(--color-gray-100); color: var(--fg-2); }
.intp-perm .pmode.write { background: #EAF2FF; color: var(--accent); }
.intp-perm h4 { margin: 0 0 3px; font-size: 14.5px; font-weight: 600; color: #070B1F; }
.intp-perm p { margin: 0; font-size: 12.5px; color: var(--fg-muted); line-height: 1.5; }

/* platforms grid */
.intp-platforms { background: #fff; }
.intp-plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; align-items: stretch; }
.intp-plat-grid > * { display: flex; }
.intp-plat { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px 20px; box-shadow: var(--shadow-card); transition: transform 200ms var(--ease-out), box-shadow 200ms; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.intp-plat:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.intp-plat .logo { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.intp-plat h3 { margin: 0 0 4px; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: #070B1F; }
.intp-plat p { margin: 0 0 16px; font-size: 12.5px; color: var(--fg-muted); line-height: 1.5; }
.intp-plat .status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; margin-top: auto; }
.intp-plat .status.live { background: #E8F8EF; color: #0E8A4F; }
.intp-plat .status.live::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: #14B86A; }
.intp-plat .status.beta { background: #FFF4D6; color: #B36F00; }
.intp-plat .status.soon { background: var(--color-gray-100); color: var(--fg-muted); }
.intp-plat.dim .logo, .intp-plat.dim h3 { opacity: 0.7; }

@media (max-width: 900px) {
  .intp-hero-grid, .intp-widget-grid, .intp-perms-grid { grid-template-columns: 1fr; gap: 36px; }
  .intp-plat-grid { grid-template-columns: 1fr 1fr; }
  .intp-hero h1 { font-size: 40px; }
}
@media (max-width: 560px) {
  .intp-hero { padding: 124px 0 56px; }
  .intp-cta { flex-direction: column; align-items: stretch; }
  .intp-cta .btn, .intp-cta .shopify-badge { width: 100%; justify-content: center; }
  .intp-plat-grid { grid-template-columns: 1fr; }
  .intp-trust-row { gap: 18px; }
}
/* Shrink the Shopify App Store badge to match the btn-lg "Book a demo" height */
.intp-cta .shopify-badge { gap: 9px; padding: 11px 18px 11px 13px; border-radius: 12px; }
.intp-cta .shopify-badge svg { width: 21px; height: auto; }
.intp-cta .shopify-badge .sb-sm { font-size: 9.5px; }
.intp-cta .shopify-badge .sb-lg { font-size: 14px; }

/* ============== Pricing — dedicated page ============== */
.prp-hero { position: relative; padding: 150px 0 8px; background: radial-gradient(110% 150% at 50% -35%, #DCE8FF 0%, rgba(220,232,255,0.45) 38%, rgba(220,232,255,0) 62%); text-align: center; overflow: hidden; }
.prp-hero .eyebrow { justify-content: center; color: var(--accent); }
.prp-hero h1 { font-size: 52px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: #070B1F; margin: 16px auto 16px; max-width: 820px; text-wrap: balance; }
.prp-hero .lead { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 640px; margin: 0 auto; }
.prp-hero .lead b { color: var(--fg-1); font-weight: 600; }
.prp-hero-trust { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.prp-hero-trust .it { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); }
.prp-hero-trust .it svg { color: #14B86A; flex-shrink: 0; }
/* pricing section sits directly under the hero on this page */
.prp-hero + .pricing { padding-top: 40px; }
/* soft, even page tint so the transparent pricing section blends (no white cutoff) */
.prp-page { background: #F6F9FD; }

/* FAQ */
.prp-faq { background: var(--bg-page); }
.prp-faq-head { text-align: center; max-width: 680px; margin: 0 auto; }
.prp-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.prp-faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; box-shadow: var(--shadow-card); }
.prp-faq-item h4 { margin: 0 0 8px; font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; color: #070B1F; }
.prp-faq-item p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--fg-muted); }
.prp-faq-item p b { color: var(--fg-1); font-weight: 600; }

@media (max-width: 900px) {
  .prp-hero h1 { font-size: 40px; }
  .prp-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .prp-hero { padding: 124px 0 8px; }
  .prp-hero-trust { gap: 14px; }
}





/* ============== How It Works — dedicated page ============== */
.hiw-hero { position: relative; padding: 150px 0 64px; background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%); text-align: center; overflow: hidden; }
.hiw-hero .eyebrow { justify-content: center; }
.hiw-hero h1 { font-size: 60px; line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; color: #070B1F; margin: 14px auto 16px; max-width: 880px; text-wrap: balance; }
.hiw-hero h1 .agent { background: var(--gradient-text-agent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hiw-hero .lead { margin: 0 auto; text-align: center; }

/* overview flow */
.hiw-flow { display: flex; align-items: stretch; justify-content: center; gap: 0; margin: 48px auto 0; max-width: 960px; flex-wrap: wrap; }
.hiw-flow .node { flex: 1; min-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-card); text-align: left; }
.hiw-flow .node .ic { width: 36px; height: 36px; border-radius: 9px; background: var(--color-blue-100); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.hiw-flow .node .t { font-size: 14.5px; font-weight: 650; color: var(--fg-1); }
.hiw-flow .node .d { font-size: 12.5px; color: var(--fg-muted); margin-top: 4px; line-height: 1.45; }
.hiw-flow .arrow { display: flex; align-items: center; padding: 0 14px; color: var(--color-gray-300); flex: 0 0 auto; }

/* detailed steps */
.hiw-step { padding: 80px 0; border-top: 1px solid var(--border); }
.hiw-step .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hiw-step.flip .copy { order: 2; }
.hiw-step .step-n { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.hiw-step h2 { font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: #070B1F; margin: 10px 0 14px; text-wrap: balance; }
.hiw-step .copy > p { font-size: 16px; line-height: 1.6; color: var(--fg-2); margin: 0 0 20px; }
.hiw-points { display: grid; gap: 12px; }
.hiw-points .p { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--fg-1); line-height: 1.5; }
.hiw-points .p svg { flex-shrink: 0; margin-top: 3px; color: #14B86A; }
.hiw-points .p b { font-weight: 600; }

/* step mocks */
.hiw-mock { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 1px 2px rgba(7,11,31,0.04), 0 24px 60px rgba(7,11,31,0.10); padding: 22px; }
.hiw-mock .mh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hiw-mock .mh .mt { font-size: 13px; font-weight: 650; color: var(--fg-1); display: inline-flex; align-items: center; gap: 8px; }
.hiw-mock .mh .mt .dot { width: 7px; height: 7px; border-radius: 999px; background: #14B86A; }
.hiw-mock .mh .badge { font-size: 11px; font-weight: 600; color: var(--accent); background: var(--color-blue-100); border: 1px solid var(--color-blue-200); padding: 3px 9px; border-radius: 999px; }

/* policy editor mock */
.hpol { display: grid; gap: 16px; }
.hpol .field .lab { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.hpol .field .lab .val { color: var(--accent); font-weight: 700; }
.hpol .track { height: 8px; border-radius: 999px; background: var(--color-gray-100); position: relative; overflow: hidden; }
.hpol .track .fill { position: absolute; inset: 0 auto 0 0; width: 62%; background: linear-gradient(90deg, #116DFF, #23A3FF); border-radius: 999px; }
.hpol .track .knob { position: absolute; top: 50%; left: 62%; width: 16px; height: 16px; border-radius: 999px; background: #fff; border: 2px solid var(--accent); transform: translate(-50%,-50%); box-shadow: var(--shadow-card); }
.hpol .seg { display: flex; gap: 6px; }
.hpol .seg .s { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; padding: 8px 0; border-radius: 8px; border: 1px solid var(--border); color: var(--fg-2); background: #fff; }
.hpol .seg .s.on { background: var(--color-blue-100); border-color: var(--color-blue-200); color: var(--accent); }
.hpol .chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hpol .chip { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--color-blue-100); color: var(--accent); }
.hpol .chip.lock { background: var(--color-gray-100); color: var(--fg-2); display: inline-flex; align-items: center; gap: 6px; }
/* policy editor — margin-rule option cards + toggles (matches Deal Policies page) */
.pol-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pol-opts .opt { border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.pol-opts .opt.on { border-color: var(--accent); background: var(--color-blue-100); }
.pol-opts .opt .ot { font-size: 13px; font-weight: 650; color: var(--fg-1); }
.pol-opts .opt .od { font-size: 10.5px; color: var(--fg-muted); margin-top: 3px; line-height: 1.3; }
.pol-opts .opt.on .od { color: var(--accent); }
.pol-toggles { display: grid; gap: 7px; }
.pol-toggles .tg { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--fg-1); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; }
.pol-toggles .tg .grip { color: var(--color-gray-300); display: inline-flex; flex-shrink: 0; }
.pol-toggles .tg .pill-state { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pol-toggles .tg .pill-state.on { background: var(--color-blue-100); color: var(--accent); }
.pol-toggles .tg .pill-state.off { background: var(--color-gray-100); color: var(--fg-muted); }
.sw { margin-left: auto; width: 34px; height: 20px; border-radius: 999px; background: var(--color-gray-300); position: relative; flex-shrink: 0; }
.sw.on { background: var(--accent); }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(7,11,31,0.25); }
.sw.on::after { left: 16px; }

/* negotiation mock */
.hneg { display: grid; gap: 10px; }
.hneg .ev { border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.hneg .ev.in { background: var(--bg-page); border: 1px solid var(--border); color: var(--fg-1); }
.hneg .ev.in .who { font-size: 11px; font-weight: 600; color: var(--fg-muted); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.hneg .ev.da { background: #fff; border: 1px solid var(--color-blue-200); color: var(--fg-1); position: relative; }
.hneg .ev.da .who { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; display: inline-flex; align-items: center; gap: 6px; }
.hneg .ev.da b { font-weight: 600; }
.hneg .offer { display: flex; align-items: center; justify-content: space-between; background: #070B1F; color: #fff; border-radius: 12px; padding: 12px 14px; }
.hneg .offer .l { font-size: 12.5px; color: rgba(255,255,255,0.7); }
.hneg .offer .r { font-size: 13px; font-weight: 700; }
.hneg .offer .r .ok { color: #2ee08a; }

/* decision mock */
.hdec { text-align: center; padding: 8px 0 4px; }
.hdec .seal { width: 56px; height: 56px; border-radius: 999px; background: #14B86A; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; box-shadow: 0 8px 24px rgba(20,184,106,0.3); }
.hdec .v { font-size: 22px; font-weight: 700; color: #070B1F; letter-spacing: -0.01em; }
.hdec .s { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.hdec .reasons { text-align: left; margin: 18px 0 0; display: grid; gap: 8px; border-top: 1px solid var(--border); padding-top: 16px; }
.hdec .reasons .r { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--fg-2); }
.hdec .reasons .r svg { color: #14B86A; flex-shrink: 0; }
.hdec .outcome { margin-top: 16px; background: var(--bg-page); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; }
.hdec .outcome .k { font-size: 12px; color: var(--fg-muted); }
.hdec .outcome .vv { font-size: 14px; font-weight: 700; color: #070B1F; font-feature-settings: "tnum" 1; }

/* two audiences */
.hiw-aud { background: var(--bg-page); }
.hiw-aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.aud-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-card); }
.aud-card .ic { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.aud-card.human .ic { background: var(--color-gray-100); color: var(--fg-1); }
.aud-card.ai .ic { background: var(--color-blue-100); color: var(--accent); }
.aud-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.aud-card > p { margin: 0 0 18px; font-size: 14.5px; color: var(--fg-2); line-height: 1.55; }
.aud-card .steps { display: grid; gap: 10px; }
.aud-card .steps .st { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--fg-1); line-height: 1.45; }
.aud-card .steps .st .num { flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px; background: var(--color-blue-100); color: var(--accent); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* storefront "Check private offer" widget mock */
.aud-card.human { display: flex; flex-direction: column; }
.aud-card .card-cap { font-size: 13px; color: var(--fg-muted); margin: 0 0 16px; line-height: 1.5; }
.sf-widget { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 2px rgba(7,11,31,0.05), 0 18px 44px rgba(7,11,31,0.12); overflow: hidden; }
.sf-head { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.sf-avatar { width: 38px; height: 38px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 10px rgba(17,109,255,0.3); }
.sf-who .n { font-size: 14px; font-weight: 700; color: var(--fg-1); line-height: 1.1; }
.sf-who .r { font-size: 11.5px; color: var(--fg-muted); margin-top: 2px; }
.sf-head .sf-x { margin-left: auto; width: 28px; height: 28px; border-radius: 999px; background: var(--bg-page); color: var(--fg-muted); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.sf-body { padding: 16px; height: 462px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.sf-from { font-size: 11.5px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.sf-msg { background: #fff; border: 1px solid var(--border); border-radius: 12px; border-top-left-radius: 4px; padding: 11px 13px; font-size: 13px; line-height: 1.5; color: var(--fg-1); }
.sf-offer { margin-top: 0; background: linear-gradient(180deg, #F5F9FF 0%, #EAF2FF 100%); border: 1.5px solid var(--color-blue-200); border-radius: 14px; padding: 16px; flex-shrink: 0; }
.sf-offer-h { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.sf-pct { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); margin: 8px 0 12px; line-height: 1; }
.sf-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; padding: 4px 0; color: var(--fg-2); }
.sf-row .lab { color: var(--fg-2); }
.sf-row .amt { font-weight: 600; color: var(--fg-1); font-feature-settings: "tnum" 1; }
.sf-row.save .lab, .sf-row.save .amt { color: #0E8A4F; font-weight: 600; }
.sf-div { height: 1px; background: var(--color-blue-200); margin: 8px 0; opacity: 0.7; }
.sf-row.total .lab { font-size: 15px; font-weight: 700; color: var(--fg-1); }
.sf-row.total .amt { font-size: 18px; font-weight: 700; color: var(--fg-1); }
.sf-timer { text-align: center; font-size: 12px; color: var(--fg-muted); margin: 12px 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sf-timer b { font-weight: 700; color: var(--fg-1); font-feature-settings: "tnum" 1; }
.sf-apply { width: 100%; height: 46px; border: none; border-radius: 10px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; font-family: var(--font-sans); cursor: pointer; box-shadow: 0 1px 2px rgba(7,11,31,0.12), 0 8px 20px rgba(17,109,255,0.28); display: flex; align-items: center; justify-content: center; gap: 7px; transition: background 150ms var(--ease-out); }
.sf-apply:hover { background: var(--accent-hover); }
.sf-note { text-align: center; font-size: 11px; color: var(--fg-muted); margin-top: 10px; line-height: 1.4; }
.sf-input { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.sf-input .ph { flex: 1; border: 1px solid var(--border); border-radius: 999px; padding: 10px 14px; font-size: 12.5px; color: var(--fg-muted); }
.sf-input .send { width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.sf-powered { text-align: center; font-size: 10.5px; color: var(--fg-muted); padding: 0 0 14px; letter-spacing: 0.02em; }
.sf-powered b { color: var(--fg-2); font-weight: 600; }

/* storefront widget — negotiation thread + offer bump */
.sf-thread { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.sf-bubble { font-size: 12.5px; line-height: 1.45; padding: 9px 12px; border-radius: 13px; max-width: 86%; }
.sf-bubble.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.sf-bubble.jordan { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--fg-1); }
.sf-typing { align-self: flex-start; display: inline-flex; gap: 4px; align-items: center; padding: 11px 13px; background: #fff; border: 1px solid var(--border); border-radius: 13px; border-bottom-left-radius: 4px; }
.sf-typing i { width: 6px; height: 6px; border-radius: 999px; background: var(--color-gray-300); display: inline-block; }
html.anim-on .sf-typing i { animation: tyDot 1s infinite; }
html.anim-on .sf-typing i:nth-child(2) { animation-delay: 0.15s; }
html.anim-on .sf-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tyDot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
html.anim-on .sf-bubble, html.anim-on .sf-typing { animation: acIn 0.35s var(--ease-out) both; }
.sf-offer.bumped { animation: acIn 0.42s var(--ease-out) both, sfBump 0.7s var(--ease-out) 0.12s; }
@keyframes sfBump { 0% { box-shadow: 0 0 0 0 rgba(17,109,255,0); } 30% { box-shadow: 0 0 0 4px rgba(17,109,255,0.28); } 100% { box-shadow: 0 0 0 0 rgba(17,109,255,0); } }
.sf-offer.bumped .sf-pct { animation: numPop 0.6s var(--ease-out); transform-origin: left center; }
@keyframes numPop { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }

/* AI ↔ AI negotiation simulation (AI shoppers card) */
.aud-card.ai { display: flex; flex-direction: column; }
.ac-panel { background: var(--bg-page); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.ac-head { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 12px; }
.ac-head .dot { width: 6px; height: 6px; border-radius: 999px; background: #14B86A; }
.ac-head .dot { animation: negPulse 1.2s ease-in-out infinite; }
.ac-thread { display: flex; flex-direction: column; gap: 9px; }
.ac-msg { max-width: 86%; font-size: 12.5px; line-height: 1.45; padding: 9px 12px; border-radius: 13px; }
.ac-msg .ac-who { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.ac-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-top-left-radius: 4px; color: var(--fg-1); }
.ac-msg.bot .ac-who { color: var(--fg-muted); }
.ac-msg.da { align-self: flex-end; background: #fff; border: 1px solid var(--color-blue-200); border-top-right-radius: 4px; color: var(--fg-1); }
.ac-msg.da .ac-who { color: var(--accent); display: flex; align-items: center; gap: 5px; }
.ac-msg.da b, .ac-msg.bot b { font-weight: 600; }
.ac-outcome { align-self: center; margin-top: 3px; background: #070B1F; color: #fff; border-radius: 999px; padding: 8px 15px; font-size: 12px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.ac-outcome .ok { color: #2ee08a; }
html.anim-on .ac-msg, html.anim-on .ac-outcome { animation: acIn 0.42s var(--ease-out) both; }
@keyframes acIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* ===== Hero centerpiece options (comparison page) ===== */
.hopt-toggle { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-card); margin: 88px auto 0; }
.hopt-toggle button { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--fg-2); background: transparent; border: none; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background 150ms var(--ease-out), color 150ms; display: inline-flex; align-items: center; gap: 7px; }
.hopt-toggle button.on { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(17,109,255,0.28); }
.hopt-stage { margin-top: 44px; }
.hopt-fade { animation: acIn 0.5s var(--ease-out) both; }

/* Storefront scene */
.ss-frame { max-width: 1060px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(7,11,31,0.06), 0 12px 32px rgba(7,11,31,0.10), 0 40px 90px rgba(7,11,31,0.16), 0 0 0 1px rgba(7,11,31,0.05); text-align: left; }
.ss-bar { height: 36px; background: #F7F8FB; border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 14px; gap: 6px; }
.ss-bar .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--color-gray-300); }
.ss-bar .url { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); }
.ss-scene { position: relative; height: 588px; background: #F4F4F2; overflow: hidden; }
.ss-store { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ss-topnav { height: 50px; background: #0b0b0b; color: rgba(255,255,255,0.82); display: flex; align-items: center; padding: 0 22px; gap: 26px; font-size: 13px; flex-shrink: 0; }
.ss-topnav .brand { position: absolute; left: 50%; transform: translateX(-50%); font-weight: 700; color: #fff; }
.ss-topnav .sp { margin-left: auto; }
.ss-prod { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px 40px; }
.ss-board { background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px; }
.ss-board .b { width: 56px; height: 230px; border-radius: 28px; background: linear-gradient(180deg, #F4A6C0 0%, #E7C98A 45%, #C6DB6B 75%, #A7D84E 100%); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.ss-pinfo h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: #111; margin: 6px 0 10px; line-height: 1.05; }
.ss-pinfo .vendor { font-size: 13px; color: #666; }
.ss-pinfo .price { font-size: 20px; font-weight: 600; color: #111; margin: 14px 0 20px; }
.ss-pinfo .b-add { display: block; width: 100%; max-width: 280px; text-align: center; padding: 13px; border: 1px solid #111; border-radius: 4px; font-size: 14px; font-weight: 600; color: #111; background: #fff; margin-bottom: 10px; }
.ss-pinfo .b-buy { display: block; width: 100%; max-width: 280px; text-align: center; padding: 13px; border-radius: 4px; font-size: 14px; font-weight: 600; color: #fff; background: #111; }
.ss-scrim { position: absolute; inset: 0; background: rgba(15,15,18,0.46); backdrop-filter: blur(1px); }
.ss-cart { position: absolute; top: 0; right: 0; bottom: 0; width: 320px; background: #fff; box-shadow: -20px 0 50px rgba(0,0,0,0.25); display: flex; flex-direction: column; padding: 20px; }
.ss-cart .ct-h { display: flex; align-items: center; justify-content: space-between; }
.ss-cart .ct-h .t { font-size: 20px; font-weight: 700; color: #111; }
.ss-cart .ct-h .x { color: #999; font-size: 16px; }
.ss-cart .ct-cols { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #999; margin: 18px 0 10px; border-bottom: 1px solid #eee; padding-bottom: 8px; }
.ss-cart .ct-item { display: flex; gap: 12px; align-items: flex-start; }
.ss-cart .ct-item .thumb { width: 44px; height: 44px; border-radius: 6px; background: linear-gradient(160deg, #F4A6C0, #A7D84E); flex-shrink: 0; }
.ss-cart .ct-item .nm { font-size: 13px; font-weight: 600; color: #111; line-height: 1.3; }
.ss-cart .ct-item .pr { font-size: 13px; font-weight: 600; color: #111; margin-left: auto; }
.ss-cart .ct-foot { margin-top: auto; }
.ss-cart .ct-sub { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #eee; padding-top: 14px; }
.ss-cart .ct-sub .l { font-size: 16px; font-weight: 700; color: #111; }
.ss-cart .ct-sub .v { font-size: 16px; font-weight: 700; color: #111; }
.ss-cart .ct-note { font-size: 11px; color: #888; margin: 6px 0 14px; }
.ss-cart .ct-private { display: block; text-align: center; padding: 14px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 7px; box-shadow: 0 8px 20px rgba(17,109,255,0.3); animation: ctPulse 2.4s var(--ease-out) infinite; }
@keyframes ctPulse { 0%, 100% { box-shadow: 0 8px 20px rgba(17,109,255,0.3); } 50% { box-shadow: 0 8px 28px rgba(17,109,255,0.55); } }
.ss-cart .ct-checkout { display: block; text-align: center; padding: 14px; border-radius: 4px; background: #111; color: #fff; font-size: 14px; font-weight: 600; margin-top: 8px; }
.ss-widget { position: absolute; left: 0; right: 320px; top: 50%; width: 380px; margin-inline: auto; transform: translateY(-50%) scale(0.84); transform-origin: center center; }
.ss-widget .sf-widget { box-shadow: 0 24px 70px rgba(0,0,0,0.4); }

/* AI-to-AI hero panel */
.achero { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 1px 2px rgba(7,11,31,0.05), 0 24px 60px rgba(7,11,31,0.12); overflow: hidden; text-align: left; }
.achero-head { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #fff, #FAFBFE); }
.achero-agent { display: flex; align-items: center; gap: 10px; }
.achero-agent .av { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.achero-agent.bot .av { background: var(--color-gray-100); color: var(--fg-1); }
.achero-agent.da .av { background: var(--accent); color: #fff; }
.achero-agent .nm { font-size: 13.5px; font-weight: 700; color: var(--fg-1); line-height: 1.1; }
.achero-agent .rl { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }
.achero-head .vs { margin: 0 auto; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); display: inline-flex; align-items: center; gap: 7px; }
.achero-head .vs .dot { width: 6px; height: 6px; border-radius: 999px; background: #14B86A; animation: negPulse 1.2s ease-in-out infinite; }
.achero-body { padding: 22px; }
.achero-body .ac-thread { gap: 12px; }
.achero-body .ac-msg { max-width: 80%; font-size: 14px; padding: 12px 15px; }
.achero-body .ac-outcome { font-size: 13px; padding: 10px 18px; }

@media (max-width: 900px) {
  /* Hero storefront scene → show only the Jordan widget, clean & centered */
  .ss-frame { max-width: 420px; box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
  .ss-bar, .ss-store, .ss-cart, .ss-scrim { display: none; }
  .ss-scene { height: auto; background: transparent; overflow: visible; }
  .ss-widget { position: static; transform: none; width: auto; margin: 0 auto; padding: 0; }
  .ss-widget .sf-widget { box-shadow: var(--shadow-card-hover); }
}

@media (max-width: 900px) {
  .hiw-step .inner { grid-template-columns: 1fr; gap: 32px; }
  .hiw-step.flip .copy { order: 0; }
  .hiw-aud-grid { grid-template-columns: 1fr; }
  .hiw-hero h1 { font-size: 40px; }
  .hiw-flow .arrow { display: flex; justify-content: center; transform: rotate(90deg); padding: 10px 0; }
  .hiw-flow { flex-direction: column; }
}

/* ============== Responsive ============== */
@media (max-width: 1080px) {
  .api-grid, .int-grid, .guardrails .grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .h1 { font-size: 60px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 42px; height: 42px; border: none; background: transparent; color: var(--fg-1); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .nav.on-dark .nav-toggle { color: #fff; }
  .nav.on-light .nav-toggle { color: var(--fg-1); }
  .how-grid, .use-grid, .problem-stats, .int-other-grid, .pricing-notes { grid-template-columns: 1fr; }
  .int-other-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-track, .pipeline-token { display: none; }
  .hero .h1 { font-size: 50px; }
  .h2 { font-size: 32px; }
  .problem .quote { font-size: 28px; }
  .final h2 { font-size: 38px; }
  .price-grid { grid-template-columns: 1fr; }
  .hero-meta { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .api-cta { flex-direction: column; align-items: stretch; }
  .api-cta .btn { width: 100%; justify-content: center; }
  .int-cta { flex-direction: column; align-items: stretch; }
  .int-cta .btn { width: 100%; justify-content: center; }
  .int-cta .shopify-badge { width: 100%; justify-content: center; box-sizing: border-box; }
  .int-cta .footnote { margin-left: 0; text-align: center; }
  .enterprise-card, .founders-inner { flex-direction: column; align-items: flex-start; }
  footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 12px 20px; }
  .wrap { padding: 64px 0; }
  .hero { padding: 132px 0 64px; }
  .hero .h1 { font-size: 43px; }
  .hero .lead { font-size: 15.5px; line-height: 1.5; }
  .lead { font-size: 15.5px; }
  .eb-full { display: none; }
  .eb-mobile { display: inline; }
  .hopt-toggle { width: 100%; max-width: 360px; margin-top: 30px; }
  .hopt-toggle button { flex: 1; padding: 10px 8px; font-size: 12.5px; justify-content: center; }
  .hopt-stage { margin-top: 28px; }
  .achero-head { flex-wrap: wrap; gap: 10px; justify-content: space-between; }
  .achero-head .vs { order: 3; width: 100%; justify-content: center; }
  .hero-meta { flex-direction: column; gap: 14px; align-items: flex-start; }
  footer .grid { grid-template-columns: 1fr; gap: 24px; }
  footer .legal { flex-direction: column; gap: 12px; }
  .hiw-flow .arrow { display: flex; justify-content: center; transform: rotate(90deg); padding: 10px 0; }
}
