/* DESIGN_BLUEPRINT + layout lessons from LangSmith / Cloudflare:
 left-aligned content, alternating splits, wide product surfaces */
:root {
 --bg: #070c18;
 --bg-deep: #050914;
 --bg-panel: #0f172a;
 --surface: #0f1a2e;
 --border: #1e293b;
 --border-mid: #334155;
 --line: rgba(148, 163, 184, 0.14);
 --text: #e2e8f0;
 --muted: #94a3b8;
 --subtle: #64748b;
 --indigo: #6366f1;
 --indigo-light: #818cf8;
 --indigo-soft: #a5b4fc;
 --success: #4ade80;
 --warning: #fbbf24;
 --danger: #f87171;
 --font: "Manrope", system-ui, -apple-system, sans-serif;
 --display: "Manrope", system-ui, -apple-system, sans-serif;
 --mono: "Geist Mono", ui-monospace, monospace;
 --font-nav: "Manrope", system-ui, -apple-system, sans-serif;
 --r: 8px;
 --max: 1200px;
 --shadow-primary: 0 0 0 3px rgba(99, 102, 241, 0.12);
 --btn-primary: #6366f1;
 --panel: #0b1220;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
 background: var(--bg);
 color: var(--text);
 font-family: var(--font);
 font-size: 16px;
 font-weight: 400;
 line-height: 1.58;
 letter-spacing: 0;
 -webkit-font-smoothing: antialiased;
 text-rendering: geometricPrecision;
 overflow-x: clip;
 position: relative;
}
/* Ambient field - app.midfleet.io auth-canvas language sitewide */
body::before,
body::after {
 content: "";
 position: fixed;
 inset: 0;
 pointer-events: none;
 z-index: 0;
}
body::before {
 /* auth-glow */
 background:
 radial-gradient(ellipse 100% 60% at 50% -12%, rgba(99, 102, 241, 0.2), transparent 55%),
 radial-gradient(ellipse 55% 42% at 100% 12%, rgba(129, 140, 248, 0.12), transparent 52%),
 radial-gradient(ellipse 48% 38% at -5% 48%, rgba(99, 102, 241, 0.1), transparent 50%),
 radial-gradient(ellipse 70% 50% at 80% 105%, rgba(79, 70, 229, 0.12), transparent 52%),
 radial-gradient(ellipse 40% 30% at 40% 70%, rgba(165, 180, 252, 0.05), transparent 55%);
}
body::after {
 /* auth-arcs - soft diagonal light bands */
 opacity: 0.55;
 background:
 radial-gradient(ellipse 140% 16% at 20% 18%, rgba(165, 180, 252, 0.11), transparent 60%),
 radial-gradient(ellipse 120% 14% at 75% 42%, rgba(129, 140, 248, 0.09), transparent 58%),
 radial-gradient(ellipse 130% 15% at 35% 78%, rgba(99, 102, 241, 0.08), transparent 55%),
 radial-gradient(ellipse 110% 12% at 90% 88%, rgba(165, 180, 252, 0.06), transparent 50%);
 transform: rotate(-11deg) scale(1.2);
 transform-origin: 50% 40%;
}
.site-header,
main,
.site-footer {
 position: relative;
 z-index: 1;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--indigo-light); outline-offset: 3px; }
::selection { background: rgba(99, 102, 241, 0.35); color: var(--text); }

.shell {
 width: min(var(--max), calc(100% - 2rem));
 margin-inline: auto;
}
@media (min-width: 768px) {
 .shell { width: min(var(--max), calc(100% - 3rem)); }
}

/* Type - marketing system */
.kicker {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 font-family: var(--font-nav);
 font-size: 0.72rem;
 font-weight: 700;
 letter-spacing: 0;
 text-transform: uppercase;
 color: #8d98ff;
 line-height: 1;
}
.kicker::before {
 content: "";
 width: 18px;
 height: 1px;
 background: currentColor;
 opacity: 0.55;
}
.display,
.hero-copy h1,
.page-hero h1 {
 margin: 0;
 font-family: var(--display);
 font-size: 3.05rem;
 font-weight: 800;
 line-height: 0.98;
 letter-spacing: 0;
 color: #f8fafc;
 text-wrap: balance;
 font-synthesis: none;
 -webkit-font-smoothing: antialiased;
}
.display span {
 display: block;
 margin-top: 0.02em;
 font-family: inherit;
 font-size: inherit;
 font-weight: 700;
 line-height: inherit;
 letter-spacing: 0;
 color: #aeb8ff;
}
.title {
 margin: 0;
 font-family: var(--display);
 font-size: 2rem;
 font-weight: 750;
 line-height: 1.05;
 letter-spacing: 0;
 color: #f8fafc;
 text-wrap: balance;
 max-width: 18em;
 font-synthesis: none;
 -webkit-font-smoothing: antialiased;
}
.heading {
 font-family: var(--display);
 font-size: 1.05rem;
 font-weight: 700;
 line-height: 1.3;
 letter-spacing: 0;
 color: #f1f5f9;
}
.lede {
 margin: 0;
 font-family: var(--font);
 font-size: 1.06rem;
 font-weight: 500;
 line-height: 1.62;
 letter-spacing: 0;
 color: #a8b4c8;
 max-width: 32rem;
}
.copy {
 font-size: 1rem;
 line-height: 1.68;
 letter-spacing: 0;
 color: #9aa7ba;
 max-width: 40em;
}
.copy-sm {
 font-size: 0.92rem;
 line-height: 1.62;
 letter-spacing: 0;
 color: #99a6b8;
}

/* Header - brand | center links | CTAs */
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 border-bottom: 1px solid rgba(148, 163, 184, 0.08);
 background: rgba(5, 9, 20, 0.72);
 backdrop-filter: blur(22px) saturate(1.35);
 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
}
.nav {
 height: 64px;
 display: grid;
 grid-template-columns: 1fr auto 1fr;
 align-items: center;
 gap: 16px;
}
.brand {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 justify-self: start;
 font-size: 0.9375rem;
 font-weight: 800;
 letter-spacing: 0;
 text-transform: lowercase;
 color: #f8fafc;
}
.brand-mark {
 width: 28px;
 height: 28px;
 border-radius: 8px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 background: linear-gradient(135deg, #818cf8, #6366f1);
 box-shadow: 0 0 18px rgba(99, 102, 241, 0.34), 0 1px 8px rgba(99, 102, 241, 0.26);
 overflow: hidden;
}
.brand-mark img {
 width: 72%;
 height: 72%;
 object-fit: contain;
 filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
}
.beacon {
 width: 6px;
 height: 6px;
 border-radius: 999px;
 background: #818cf8;
 box-shadow: 0 0 8px rgba(129, 140, 248, 0.85);
 animation: auth-beacon 2.5s ease-in-out infinite;
}
@keyframes auth-beacon {
 0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(129, 140, 248, 0.9); }
 50% { opacity: 0.45; box-shadow: 0 0 4px rgba(129, 140, 248, 0.45); }
}
.nav-links {
 display: none;
 align-items: center;
 justify-content: center;
 gap: 6px;
 font-family: var(--font-nav);
}
.nav-links a {
 padding: 8px 12px;
 font-family: var(--font-nav);
 font-size: 0.84rem;
 font-weight: 650;
 letter-spacing: 0;
 color: #a3aec1;
 border-radius: 999px;
}
.nav-links a:hover {
 color: var(--text);
 background: rgba(148, 163, 184, 0.06);
}
.nav-cta {
 display: none;
 align-items: center;
 justify-self: end;
 gap: 8px;
 font-family: var(--font-nav);
}
.nav-cta a.signin {
 padding: 8px 12px;
 font-family: var(--font-nav);
 font-size: 0.84rem;
 font-weight: 650;
 letter-spacing: 0;
 color: #a3aec1;
}
.nav-cta a.signin:hover { color: var(--text); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 38px;
 padding: 0 16px;
 border-radius: 10px;
 border: 1px solid transparent;
 font-family: var(--font-nav);
 font-size: 0.84rem;
 font-weight: 800;
 letter-spacing: 0;
 transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
 color: #fff;
 background: linear-gradient(180deg, #7f82ff 0%, #5f63f1 100%);
 box-shadow: 0 0 0 1px rgba(199, 210, 254, 0.2) inset, 0 14px 34px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
 background: linear-gradient(180deg, #8b8dff 0%, #6568f5 100%);
 box-shadow: 0 0 0 1px rgba(199, 210, 254, 0.28) inset, 0 18px 42px rgba(99, 102, 241, 0.38);
}
.btn-secondary {
 color: #d9e2f1;
 border-color: rgba(148, 163, 184, 0.2);
 background: rgba(15, 23, 42, 0.34);
 backdrop-filter: blur(10px);
}
.btn-secondary:hover {
 background: rgba(30, 41, 59, 0.62);
 border-color: rgba(165, 180, 252, 0.34);
}
.btn-lg {
 min-height: 46px;
 padding: 0 22px;
 border-radius: 12px;
 font-size: 0.9rem;
 font-weight: 800;
}
.menu-btn {
 width: 36px;
 height: 36px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 justify-self: end;
 color: var(--text);
 grid-column: 3;
}
.mobile { display: none; border-top: 1px solid var(--line); background: rgba(7, 12, 24, 0.96); backdrop-filter: blur(16px); }
.mobile.open { display: block; }
.mobile-inner { display: flex; flex-direction: column; padding: 12px 0 16px; gap: 2px; }
.mobile-inner a.row {
 padding: 10px 0;
 font-family: var(--font-nav);
 font-size: 0.875rem;
 font-weight: 500;
 letter-spacing: 0.01em;
 color: var(--muted);
}
.mobile-actions .signin {
 font-family: var(--font-nav);
 font-size: 0.8125rem;
 font-weight: 500;
}
.mobile-inner a.row:hover { color: var(--text); }
.mobile-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 align-items: center;
 margin-top: 12px;
 padding-top: 12px;
 border-top: 1px solid var(--line);
}

/* HERO */
.hero {
 position: relative;
 padding: 72px 0 80px;
 border-bottom: 1px solid var(--line);
 overflow: hidden;
 /* one continuous wash - no column seam */
 background:
 radial-gradient(ellipse 85% 70% at 62% 42%, rgba(99, 102, 241, 0.2), transparent 58%),
 radial-gradient(ellipse 50% 55% at 18% 35%, rgba(79, 70, 229, 0.1), transparent 55%),
 radial-gradient(ellipse 40% 45% at 92% 60%, rgba(129, 140, 248, 0.1), transparent 50%),
 transparent;
}
.hero .shell { position: relative; z-index: 1; }
.hero-grid {
 display: grid;
 gap: 40px;
 align-items: center;
}
/* auth-story: display grid, gap 16px */
.hero-copy {
 max-width: 36rem;
 display: grid;
 gap: 16px;
 align-content: center;
}
.hero-copy .kicker { margin-bottom: 0; }
.hero-copy .lede { margin-top: 0; max-width: 28rem; }
.hero-copy .hero-actions { margin-top: 8px; }
.hero-actions {
 margin-top: 28px;
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
}
/* Globe - agents hand off work around the hub */
.hero-visual {
 position: relative;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 min-height: 380px;
 gap: 14px;
 /* no local glow - uses hero background so no seam with copy */
}
.handoff-stage {
 position: relative;
 width: min(360px, 86vw);
 aspect-ratio: 1;
 z-index: 1;
}
.handoff-halo {
 position: absolute;
 inset: 12%;
 border-radius: 50%;
 background: radial-gradient(circle, rgba(99, 102, 241, 0.14), transparent 72%);
 filter: blur(16px);
 pointer-events: none;
 opacity: 0.85;
}
.handoff-ring {
 position: absolute;
 inset: 18%;
 border-radius: 50%;
 border: 1px dashed rgba(165, 180, 252, 0.22);
 pointer-events: none;
}
.handoff-svg {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
}
.agent-node {
 position: absolute;
 z-index: 3;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 6px;
 width: 72px;
 margin-left: -36px;
 margin-top: -10px;
 pointer-events: none;
}
.agent-node .dot {
 width: 12px;
 height: 12px;
 border-radius: 50%;
 background: #a5b4fc;
 box-shadow: 0 0 0 4px rgba(165, 180, 252, 0.14), 0 0 16px rgba(165, 180, 252, 0.85);
}
.agent-node .lbl {
 font-family: var(--mono);
 font-size: 9px;
 font-weight: 700;
 letter-spacing: 0.07em;
 text-transform: uppercase;
 color: #c7d2fe;
 background: rgba(15, 23, 42, 0.94);
 border: 1px solid rgba(129, 140, 248, 0.3);
 border-radius: 999px;
 padding: 3px 8px;
 white-space: nowrap;
 box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
/* fixed positions around the ring - handoff chain order */
.n-lead { left: 50%; top: 8%; }
.n-analyst{ left: 86%; top: 32%; }
.n-impl { left: 78%; top: 72%; }
.n-review { left: 22%; top: 72%; }
.n-verify { left: 14%; top: 32%; }
.n-lead .dot { background: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,0.16), 0 0 16px rgba(99,102,241,0.9); }
.n-analyst .dot{ background: #818cf8; box-shadow: 0 0 0 4px rgba(129,140,248,0.14), 0 0 14px rgba(129,140,248,0.85); }
.n-impl .dot { background: #a5b4fc; }
.n-review .dot { background: #c4b5fd; box-shadow: 0 0 0 4px rgba(196,181,253,0.14), 0 0 14px rgba(196,181,253,0.8); }
.n-verify .dot { background: #818cf8; }
.hub-badge {
 position: absolute;
 left: 50%;
 top: 50%;
 z-index: 4;
 width: 64px;
 height: 64px;
 margin: -32px 0 0 -32px;
 border-radius: 50%;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 2px;
 background: linear-gradient(145deg, #4f46e5, #6366f1 55%, #312e81);
 border: 1px solid rgba(199, 210, 254, 0.35);
 box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.12), 0 0 28px rgba(99, 102, 241, 0.4);
}
.hub-badge strong {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 700;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: #eef2ff;
}
.hub-badge span {
 font-family: var(--mono);
 font-size: 8px;
 color: rgba(224, 231, 255, 0.72);
}
.handoff-caption {
 position: relative;
 z-index: 1;
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 500;
 color: var(--subtle);
 text-align: center;
}
.handoff-caption b {
 font-weight: 600;
 color: var(--muted);
}

/* SECTIONS */
.section {
 border-top: 1px solid var(--line);
 padding: 80px 0;
 position: relative;
 overflow: hidden;
}
/* soft section glows - no hard seams */
.section::before {
 content: "";
 position: absolute;
 inset: 0;
 pointer-events: none;
 background: radial-gradient(ellipse 70% 80% at 90% 20%, rgba(99, 102, 241, 0.06), transparent 55%);
 opacity: 0.9;
}
.section:nth-of-type(even)::before {
 background: radial-gradient(ellipse 65% 75% at 8% 30%, rgba(129, 140, 248, 0.07), transparent 55%);
}
.section-alt::before {
 background:
 radial-gradient(ellipse 80% 70% at 50% 0%, rgba(99, 102, 241, 0.08), transparent 50%),
 radial-gradient(ellipse 50% 60% at 100% 80%, rgba(79, 70, 229, 0.06), transparent 50%);
}
.section-panel::before {
 background: radial-gradient(ellipse 60% 70% at 0% 50%, rgba(99, 102, 241, 0.07), transparent 55%);
}
.section > .shell,
.section > .shell-wide {
 position: relative;
 z-index: 1;
}
.section-head {
 max-width: 560px;
 margin: 0;
 text-align: left;
}
.section-head .kicker { margin-bottom: 12px; }
.section-head .title { margin: 0; }
.section-head .copy { margin-top: 12px; }

.panel {
 border: 1px solid rgba(51, 65, 85, 0.85);
 background: rgba(11, 18, 32, 0.72);
 backdrop-filter: blur(10px);
 border-radius: var(--r);
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

/* Split rows - LangSmith feature pattern */
.split {
 display: grid;
 gap: 40px;
 align-items: start;
}
.split-head { max-width: 28rem; }
.split-head .kicker { margin-bottom: 14px; }
.split-head .title { max-width: 14em; }
.split-head .copy { margin-top: 14px; }
.split-head .list {
 margin-top: 22px;
 display: grid;
 gap: 12px;
}
.split-head .list li {
 display: flex;
 gap: 10px;
 font-size: 14px;
 color: var(--muted);
 line-height: 1.55;
}
.split-head .list li::before {
 content: "";
 width: 5px;
 height: 5px;
 margin-top: 8px;
 border-radius: 50%;
 background: var(--indigo);
 flex-shrink: 0;
}
.split-head .btn { margin-top: 28px; }

/* Comparison - richer cards from prior version */
.contrast {
 margin-top: 36px;
 display: grid;
 gap: 12px;
}
.contrast article {
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.75);
 backdrop-filter: blur(12px);
 border-radius: 10px;
 padding: 22px 20px;
 display: flex;
 flex-direction: column;
 gap: 12px;
 min-height: 100%;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 18px 40px rgba(0, 0, 0, 0.2);
}
.contrast .label {
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 600;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--subtle);
}
.contrast .aim {
 font-size: 16px;
 font-weight: 600;
 line-height: 1.35;
 color: var(--text);
 letter-spacing: 0;
}
.contrast .gives,
.contrast .gap-list {
 display: grid;
 gap: 8px;
 margin: 0;
 padding: 0;
}
.contrast .gives li,
.contrast .gap-list li {
 display: grid;
 grid-template-columns: 14px 1fr;
 gap: 8px;
 font-size: 13px;
 line-height: 1.45;
 color: var(--muted);
}
.contrast .gives li::before,
.contrast .gap-list li::before {
 font-family: var(--mono);
 font-size: 12px;
 font-weight: 700;
 line-height: 1.45;
}
.contrast .gives li::before {
 content: "+";
 color: var(--success);
}
.contrast .gap-list li::before {
 content: "-";
 color: var(--subtle);
}
.contrast .gap {
 padding-top: 12px;
 border-top: 1px solid var(--line);
 margin-top: auto;
}
.contrast .gap-label {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 600;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--subtle);
 margin-bottom: 8px;
}
.contrast .gap-list li { color: var(--subtle); }
.contrast .ours {
 background: linear-gradient(165deg, rgba(30, 27, 75, 0.45), rgba(11, 18, 32, 0.88));
 border-color: rgba(129, 140, 248, 0.45);
 box-shadow:
 0 0 0 1px rgba(99, 102, 241, 0.14),
 0 0 40px rgba(99, 102, 241, 0.08);
}
.contrast .ours .label { color: var(--indigo-soft); }
.contrast .ours .hold {
 margin-top: auto;
 padding-top: 12px;
 border-top: 1px solid var(--line);
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
}
.hold-chip {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 500;
 color: var(--indigo-soft);
 border: 1px solid rgba(129, 140, 248, 0.28);
 background: rgba(99, 102, 241, 0.08);
 border-radius: 999px;
 padding: 4px 9px;
}

/* How it works - roles + write chips */
.how-grid {
 display: grid;
 gap: 36px;
 align-items: start;
}
.how-side { max-width: 28rem; }
.how-side .kicker { margin-bottom: 12px; }
.how-side .copy { margin-top: 12px; }
.how-legend {
 margin-top: 22px;
 display: grid;
 gap: 10px;
}
.how-legend div {
 display: flex;
 align-items: center;
 gap: 10px;
 font-size: 13px;
 color: var(--muted);
}
.how-legend i {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 flex-shrink: 0;
}
.how-legend .you { background: var(--indigo-soft); }
.how-legend .agents { background: var(--success); }
.how-legend .system { background: var(--warning); }
.steps {
 border: 1px solid rgba(51, 65, 85, 0.9);
 border-radius: 10px;
 background: rgba(11, 18, 32, 0.78);
 backdrop-filter: blur(12px);
 overflow: hidden;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 20px 50px rgba(0, 0, 0, 0.22);
}
.steps li {
 display: grid;
 grid-template-columns: 40px 1fr;
 gap: 6px 12px;
 padding: 20px;
 border-bottom: 1px solid var(--line);
 align-items: start;
}
.steps li:last-child { border-bottom: 0; }
.steps .n {
 font-family: var(--mono);
 font-size: 12px;
 font-weight: 600;
 color: var(--indigo-soft);
 padding-top: 4px;
 grid-row: 1 / span 3;
}
.steps .top {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 8px;
 grid-column: 2;
}
.steps .heading { font-size: 16px; }
.role {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 700;
 letter-spacing: 0.05em;
 text-transform: uppercase;
 border-radius: 999px;
 padding: 4px 9px;
}
.role.you {
 color: var(--indigo-soft);
 background: rgba(99, 102, 241, 0.12);
 border: 1px solid rgba(129, 140, 248, 0.28);
}
.role.agents {
 color: var(--success);
 background: rgba(74, 222, 128, 0.1);
 border: 1px solid rgba(74, 222, 128, 0.28);
}
.role.system {
 color: var(--warning);
 background: rgba(251, 191, 36, 0.1);
 border: 1px solid rgba(251, 191, 36, 0.28);
}
.steps .copy-sm {
 margin-top: 0;
 max-width: 40em;
 grid-column: 2;
 font-size: 13px;
}
.writes {
 grid-column: 2;
 margin-top: 10px;
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
}
.write {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 500;
 color: var(--muted);
 background: rgba(7, 12, 24, 0.7);
 border: 1px solid var(--border);
 border-radius: 6px;
 padding: 4px 8px;
}
.write em {
 font-style: normal;
 color: var(--indigo-soft);
 margin-right: 4px;
}

/* Compatibility split cards */
.compat-cards {
 display: grid;
 gap: 12px;
}
.compat-card {
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.75);
 backdrop-filter: blur(12px);
 border-radius: 10px;
 padding: 20px 18px;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.compat-card .label {
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 600;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--subtle);
 margin-bottom: 10px;
}
.compat-card p {
 font-size: 15px;
 font-weight: 500;
 line-height: 1.45;
 color: var(--text);
}
.compat-card.ours {
 border-color: rgba(129, 140, 248, 0.45);
 background: linear-gradient(165deg, rgba(30, 27, 75, 0.4), rgba(11, 18, 32, 0.85));
 box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.14), 0 0 32px rgba(99, 102, 241, 0.07);
}
.compat-card.ours .label { color: var(--indigo-soft); }

/* Epic product surface */
.proof { margin-top: 32px; }
.epic {
 border: 1px solid rgba(51, 65, 85, 0.95);
 background: rgba(15, 23, 42, 0.88);
 backdrop-filter: blur(14px);
 border-radius: 10px;
 overflow: hidden;
 box-shadow:
 0 0 0 1px rgba(255, 255, 255, 0.03) inset,
 0 28px 70px rgba(0, 0, 0, 0.35),
 0 0 60px rgba(99, 102, 241, 0.06);
}
.epic-head {
 display: grid;
 grid-template-columns: 1fr auto;
 gap: 16px 24px;
 padding: 18px 22px 16px;
 border-bottom: 1px solid rgba(51, 65, 85, 0.75);
}
.epic-crumbs {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 8px;
 margin-bottom: 10px;
}
.epic-crumbs .tag {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 500;
 color: var(--muted);
 background: rgba(30, 41, 59, 0.85);
 border: 1px solid rgba(71, 85, 105, 0.55);
 border-radius: 999px;
 padding: 3px 9px;
}
.epic-crumbs .tag strong {
 color: var(--text);
 font-weight: 600;
}
.epic-title {
 font-size: 17px;
 font-weight: 600;
 line-height: 1.3;
 letter-spacing: 0;
 color: #f1f5f9;
 max-width: 34em;
}
.epic-sub {
 margin-top: 6px;
 font-size: 12px;
 color: var(--subtle);
}
.epic-status {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 gap: 4px;
 text-align: right;
 border-left: 2px solid #f59e0b;
 padding-left: 14px;
 min-width: 120px;
}
.epic-status .state {
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 600;
 color: var(--muted);
}
.epic-status .attn {
 font-size: 14px;
 font-weight: 600;
 color: #f8fafc;
}
.epic-status .age {
 font-family: var(--mono);
 font-size: 11px;
 color: var(--subtle);
}
.epic-body { padding: 18px 22px 22px; }
.epic-run-label {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: #f59e0b;
 margin-bottom: 6px;
}
.epic-run-step {
 font-size: 14px;
 font-weight: 600;
 color: var(--text);
 margin-bottom: 20px;
}
.pipeline {
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 0;
 overflow-x: auto;
 padding-bottom: 4px;
}
.pipe-step {
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 flex: 1 1 0;
 min-width: 120px;
 padding: 0 8px;
}
.pipe-node {
 width: 28px;
 height: 28px;
 border-radius: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 700;
 margin-bottom: 10px;
 flex-shrink: 0;
}
.pipe-node.done {
 background: rgba(74, 222, 128, 0.12);
 border: 2px solid #4ade80;
 color: #4ade80;
}
.pipe-node.active {
 background: rgba(248, 113, 113, 0.1);
 border: 2px solid #f87171;
 color: #f87171;
 box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12);
}
.pipe-node.wait {
 background: rgba(148, 163, 184, 0.08);
 border: 2px solid #64748b;
 color: #94a3b8;
}
.pipe-name {
 font-size: 12px;
 font-weight: 600;
 color: var(--text);
 line-height: 1.3;
}
.pipe-agent {
 margin-top: 4px;
 font-family: var(--mono);
 font-size: 10px;
 color: var(--subtle);
 word-break: break-all;
}
.pipe-state {
 margin-top: 6px;
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 700;
 letter-spacing: 0.04em;
 text-transform: uppercase;
}
.pipe-state.done { color: #4ade80; }
.pipe-state.attn { color: #fbbf24; }
.pipe-state.wait { color: #64748b; }
.pipe-line {
 height: 2px;
 margin-top: 13px;
 background: #334155;
 flex: 0 0 clamp(24px, 4vw, 56px);
 align-self: flex-start;
}
.pipe-line.done { background: #4ade80; opacity: 0.7; }
.pipe-line.partial { background: linear-gradient(90deg, #4ade80 0%, #334155 100%); opacity: 0.7; }
.epic-foot {
 margin-top: 18px;
 padding-top: 14px;
 border-top: 1px solid rgba(51, 65, 85, 0.75);
 display: flex;
 justify-content: flex-end;
}
.epic-foot span {
 font-family: var(--mono);
 font-size: 11px;
 color: var(--subtle);
}
@media (max-width: 720px) {
 .proof {
 margin-top: 24px;
 }
 .epic {
 border-radius: 12px;
 overflow: visible;
 }
 .epic-head {
 grid-template-columns: 1fr;
 padding: 16px;
 }
 .epic-crumbs {
 gap: 6px;
 }
 .epic-crumbs .tag {
 max-width: 100%;
 min-height: 24px;
 padding: 3px 8px;
 white-space: normal;
 overflow-wrap: anywhere;
 line-height: 1.35;
 }
 .epic-title {
 font-size: 15px;
 line-height: 1.4;
 overflow-wrap: anywhere;
 }
 .epic-sub {
 font-size: 11px;
 line-height: 1.5;
 }
 .epic-status {
 align-items: flex-start;
 text-align: left;
 border-left: 0;
 border-top: 2px solid #f59e0b;
 padding-left: 0;
 padding-top: 12px;
 min-width: 0;
 width: 100%;
 }
 .epic-body {
 padding: 16px;
 }
 .epic-run-step {
 margin-bottom: 16px;
 }
 .pipeline {
 display: grid;
 grid-template-columns: 1fr;
 gap: 10px;
 overflow-x: visible;
 padding-bottom: 0;
 }
 .pipe-step {
 min-width: 0;
 display: grid;
 grid-template-columns: 32px minmax(0, 1fr);
 gap: 3px 12px;
 align-items: center;
 text-align: left;
 padding: 12px;
 border: 1px solid rgba(51, 65, 85, 0.75);
 border-radius: 10px;
 background: rgba(8, 15, 29, 0.48);
 }
 .pipe-node {
 grid-row: 1 / span 3;
 margin-bottom: 0;
 }
 .pipe-name,
 .pipe-agent,
 .pipe-state {
 min-width: 0;
 }
 .pipe-agent,
 .pipe-state {
 margin-top: 0;
 }
 .pipe-line {
 display: none;
 }
 .epic-foot {
 justify-content: flex-start;
 margin-top: 14px;
 }
}

/* Operator surfaces - glass cards like hub panels */
.ops {
 margin-top: 40px;
 display: grid;
 gap: 12px;
}
.op {
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.75);
 backdrop-filter: blur(12px);
 border-radius: 10px;
 padding: 22px 20px;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
 min-height: 100%;
}
.op .idx {
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--indigo-soft);
 margin-bottom: 12px;
}
.op .heading {
 font-size: 17px;
 letter-spacing: 0;
}
.op .copy-sm {
 margin-top: 8px;
 font-size: 14px;
 color: var(--muted);
 max-width: 28em;
 line-height: 1.6;
}
.op-tags {
 margin-top: 16px;
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
}
.op-tags span {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 500;
 color: var(--muted);
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(7, 12, 24, 0.55);
 border-radius: 999px;
 padding: 4px 9px;
}

/* Paths */
.paths {
 margin-top: 32px;
 display: grid;
 gap: 12px;
}
.path {
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.78);
 backdrop-filter: blur(12px);
 border-radius: var(--r);
 padding: 24px;
 display: flex;
 flex-direction: column;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.path .heading { font-size: 16px; }
.path .copy-sm { margin-top: 8px; max-width: 36em; flex: 1; font-size: 13px; }
.path .btn { margin-top: 18px; align-self: flex-start; }

/* Final CTA band */
.final {
 border-top: 1px solid var(--line);
 position: relative;
 overflow: hidden;
 padding: 72px 0;
}
.final::before {
 content: "";
 position: absolute;
 inset: 0;
 pointer-events: none;
 background:
 radial-gradient(ellipse 70% 90% at 50% 100%, rgba(99, 102, 241, 0.16), transparent 55%),
 radial-gradient(ellipse 40% 60% at 10% 40%, rgba(129, 140, 248, 0.08), transparent 50%);
}
.final-inner {
 position: relative;
 z-index: 1;
 display: grid;
 gap: 24px;
 align-items: end;
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.72);
 backdrop-filter: blur(14px);
 border-radius: 12px;
 padding: 28px 24px;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 24px 60px rgba(0, 0, 0, 0.28);
}
.final .title { max-width: 14em; }
.final .copy { margin-top: 12px; }
.final-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
}

/* Footer */
.site-footer {
 border-top: 1px solid var(--line);
 padding: 24px 0 28px;
 background: linear-gradient(180deg, transparent, rgba(5, 9, 20, 0.45));
}
.footer-row {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 12px 24px;
}
.footer-row .brand { font-size: 0.875rem; font-weight: 600; }
.footer-row .brand-mark {
 width: 22px;
 height: 22px;
 border-radius: 6px;
 box-shadow: 0 0 10px rgba(99, 102, 241, 0.28);
}
.footer-row .brand-mark img { width: 72%; height: 72%; }
.footer-links {
 display: flex;
 flex-wrap: wrap;
 gap: 6px 16px;
 font-family: var(--font-nav);
}
.footer-links a {
 font-family: var(--font-nav);
 font-size: 0.8125rem;
 font-weight: 500;
 letter-spacing: 0.01em;
 color: var(--subtle);
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
 font-family: var(--mono);
 font-size: 11px;
 color: var(--subtle);
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
 .nav-links, .nav-cta { display: flex; }
 .menu-btn { display: none; }
 .nav { grid-template-columns: 1fr auto 1fr; }

 .hero {
 padding: 88px 0 96px;
 background:
 radial-gradient(ellipse 95% 75% at 58% 45%, rgba(99, 102, 241, 0.22), transparent 62%),
 radial-gradient(ellipse 55% 60% at 12% 40%, rgba(79, 70, 229, 0.11), transparent 58%),
 radial-gradient(ellipse 45% 50% at 95% 55%, rgba(129, 140, 248, 0.1), transparent 52%),
 transparent;
 }
 .display { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
 .hero-grid {
 grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
 gap: 48px;
 align-items: center;
 }
 .hero-visual { min-height: 420px; }
 .handoff-stage { width: min(380px, 100%); }

 .split {
 grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
 gap: 64px;
 align-items: center;
 }
 .split.reverse {
 grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
 }
 .split.reverse .split-head { order: 2; }
 .split.reverse .split-media { order: 1; }

 .how-grid {
 grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
 gap: 72px;
 }
 .how-side {
 position: sticky;
 top: 96px;
 }

 .contrast { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
 .compat-cards { grid-template-columns: repeat(3, 1fr); }

 .epic-title { font-size: 18px; max-width: 42em; }
 .pipe-step { min-width: 140px; }

 .ops { grid-template-columns: repeat(3, 1fr); gap: 12px; }
 .paths { grid-template-columns: 1fr 1fr; gap: 12px; }

 .final { padding: 88px 0; }
 .final-inner {
 grid-template-columns: 1fr auto;
 gap: 48px;
 padding: 32px 36px;
 align-items: center;
 }

}

@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .handoff-stage circle[filter] { display: none; }
 .beacon { animation: none; }
}

@media (max-width: 900px) {
 .display { font-size: 1.85rem; }
}

/* ── Shared footer grid ── */
.site-footer { padding: 40px 0 32px; }
.footer-grid {
 display: grid;
 gap: 28px;
}
.footer-brand-block { max-width: 16rem; }
.footer-brand-block .brand {
 margin-bottom: 10px;
 font-size: 0.875rem;
 font-weight: 600;
}
.footer-brand-block .brand-mark {
 width: 22px;
 height: 22px;
 border-radius: 6px;
 box-shadow: 0 0 10px rgba(99, 102, 241, 0.28);
}
.footer-brand-block p {
 font-size: 0.8125rem;
 line-height: 1.55;
 color: var(--subtle);
}
.footer-cols {
 display: grid;
 gap: 24px;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 font-family: var(--font-nav);
}
.footer-col h4 {
 font-family: var(--font-nav);
 font-size: 0.6875rem;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--subtle);
 margin-bottom: 12px;
}
.footer-col a {
 display: block;
 font-family: var(--font-nav);
 font-size: 0.8125rem;
 font-weight: 500;
 letter-spacing: 0.01em;
 color: var(--muted);
 padding: 4px 0;
}
.footer-col a:hover { color: var(--text); }
.footer-col a.active { color: var(--indigo-soft); }
.footer-bottom {
 margin-top: 28px;
 padding-top: 18px;
 border-top: 1px solid var(--line);
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 10px;
}
@media (min-width: 900px) {
 .footer-grid {
 grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
 gap: 48px;
 align-items: start;
 }
 .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

/* Nav active state on subpages */
.nav-links a.active { color: var(--text); }

/* ── Page hero (docs / learn) ── */
.page-hero {
 position: relative;
 padding: 56px 0 40px;
 border-bottom: 1px solid var(--line);
 overflow: hidden;
 background:
 radial-gradient(ellipse 80% 70% at 70% 0%, rgba(99, 102, 241, 0.16), transparent 55%),
 radial-gradient(ellipse 45% 50% at 10% 60%, rgba(79, 70, 229, 0.08), transparent 55%);
}
.page-hero .shell { position: relative; z-index: 1; }
.page-hero .kicker { margin-bottom: 14px; }
.page-hero .display { max-width: 18em; }
.page-hero .lede { margin-top: 14px; }

/* Docs layout */
.docs-layout {
 display: grid;
 gap: 28px;
 padding: 40px 0 72px;
}
.docs-side {
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.72);
 backdrop-filter: blur(12px);
 border-radius: 10px;
 padding: 18px 16px;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
 height: fit-content;
}
.docs-side h3 {
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 600;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--subtle);
 margin-bottom: 12px;
}
.docs-side a {
 display: block;
 padding: 8px 10px;
 border-radius: 6px;
 font-size: 0.9rem;
 font-weight: 500;
 color: var(--muted);
}
.docs-side a:hover { color: var(--text); background: rgba(99, 102, 241, 0.08); }
.docs-side a.active {
 color: var(--indigo-soft);
 background: rgba(99, 102, 241, 0.12);
 border: 1px solid rgba(129, 140, 248, 0.22);
}
.docs-main { min-width: 0; }
.docs-cards {
 display: grid;
 gap: 12px;
}
.doc-card {
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.75);
 backdrop-filter: blur(12px);
 border-radius: 10px;
 padding: 20px 18px;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
 transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.doc-card:hover {
 border-color: rgba(129, 140, 248, 0.4);
 box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), 0 0 28px rgba(99, 102, 241, 0.06);
}
.doc-card .idx {
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 600;
 letter-spacing: 0.08em;
 color: var(--indigo-soft);
 margin-bottom: 8px;
}
.doc-card h3 {
 font-size: 1.05rem;
 font-weight: 600;
 letter-spacing: -0.02em;
 color: #f1f5f9;
 margin-bottom: 6px;
}
.doc-card p {
 font-size: 0.9rem;
 line-height: 1.55;
 color: var(--muted);
}
.doc-card .go {
 margin-top: 12px;
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 600;
 color: var(--indigo-soft);
}
.hosts {
 margin-top: 28px;
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.75);
 backdrop-filter: blur(12px);
 border-radius: 10px;
 overflow: hidden;
}
.hosts table { width: 100%; border-collapse: collapse; }
.hosts th, .hosts td {
 text-align: left;
 padding: 12px 16px;
 border-bottom: 1px solid var(--line);
 font-size: 0.875rem;
 vertical-align: top;
}
.hosts th {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--subtle);
 background: rgba(7, 12, 24, 0.5);
}
.hosts td { color: var(--muted); }
.hosts td strong { color: var(--text); font-weight: 600; }
.hosts code {
 font-family: var(--mono);
 font-size: 12px;
 color: var(--indigo-soft);
}
.hosts tr:last-child td { border-bottom: 0; }
@media (min-width: 900px) {
 .docs-layout {
 grid-template-columns: 220px minmax(0, 1fr);
 gap: 36px;
 align-items: start;
 }
 .docs-side { position: sticky; top: 88px; }
 .docs-cards { grid-template-columns: repeat(2, 1fr); }
}

/* Learn articles */
.learn-grid {
 display: grid;
 gap: 12px;
 padding: 40px 0 72px;
}
.learn-card {
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.75);
 backdrop-filter: blur(12px);
 border-radius: 10px;
 padding: 22px 20px;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
 display: grid;
 gap: 10px;
}
.learn-card .meta {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 align-items: center;
}
.learn-card .tag {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--indigo-soft);
 border: 1px solid rgba(129, 140, 248, 0.28);
 background: rgba(99, 102, 241, 0.08);
 border-radius: 999px;
 padding: 3px 9px;
}
.learn-card .date {
 font-family: var(--mono);
 font-size: 11px;
 color: var(--subtle);
}
.learn-card h3 {
 font-size: 1.15rem;
 font-weight: 650;
 letter-spacing: -0.025em;
 color: #f1f5f9;
 line-height: 1.25;
}
.learn-card p {
 font-size: 0.95rem;
 line-height: 1.6;
 color: var(--muted);
 max-width: 48em;
}
@media (min-width: 900px) {
 .learn-grid { grid-template-columns: repeat(2, 1fr); }
 .learn-card.featured { grid-column: 1 / -1; }
}

/* Deploy section extras */
.deploy-grid {
 margin-top: 32px;
 display: grid;
 gap: 12px;
}
.faq-list {
 margin-top: 36px;
 display: grid;
 gap: 10px;
}
.faq-item {
 border: 1px solid rgba(51, 65, 85, 0.9);
 background: rgba(11, 18, 32, 0.72);
 backdrop-filter: blur(12px);
 border-radius: 10px;
 padding: 16px 18px;
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.faq-item summary {
 cursor: pointer;
 font-weight: 600;
 letter-spacing: -0.02em;
 color: #f1f5f9;
 list-style: none;
 font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
 content: "+";
 float: right;
 font-family: var(--mono);
 color: var(--indigo-soft);
}
.faq-item[open] summary::after { content: "-"; }
.faq-item p {
 margin-top: 10px;
 font-size: 0.9rem;
 line-height: 1.6;
 color: var(--muted);
 max-width: 48em;
}
.inquiry {
 margin-top: 28px;
 border: 1px solid rgba(129, 140, 248, 0.35);
 background: linear-gradient(165deg, rgba(30, 27, 75, 0.4), rgba(11, 18, 32, 0.88));
 border-radius: 12px;
 padding: 24px;
 box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), 0 0 40px rgba(99, 102, 241, 0.08);
}
.inquiry .heading { margin-bottom: 8px; }
.inquiry .copy-sm { margin-bottom: 16px; max-width: 40em; }
.inquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
 .deploy-grid { grid-template-columns: 1fr 1fr; }
}

/* Refinement: continuous canvas prototype */
.section, .section-alt, .section-panel, .hero, .final {
 border-top-color: transparent !important;
 border-bottom-color: transparent !important;
}
.section::before { opacity: 0.55; }
.site-header {
 border-bottom-color: rgba(148, 163, 184, 0.08) !important;
 background: rgba(7, 12, 24, 0.55) !important;
}
.site-footer {
 border-top-color: rgba(148, 163, 184, 0.08) !important;
 background: transparent !important;
}
/* post-final-spacing: tighter close after deploy */
#deploy.section {
  padding-bottom: 88px;
}
.site-footer {
  margin-top: 0;
  padding-top: 36px;
  padding-bottom: 36px;
}
@media (min-width: 900px) {
  #deploy.section { padding-bottom: 104px; }
}
/* Anchor targets clear sticky header */
#product, #how-it-works, #deploy, #product-proof {
  scroll-margin-top: 88px;
}
/* Deploy CTA target */
#deploy {
  scroll-margin-top: 96px;
}
#deploy.deploy-flash {
  outline: 1px solid rgba(129, 140, 248, 0.45);
  outline-offset: 8px;
  border-radius: 12px;
  transition: outline-color 0.3s ease;
}

/* Local brand polish: marketing-grade type and product surfaces */
.hero {
 padding: 88px 0 96px;
}
.hero-grid {
 gap: 48px;
}
.hero-copy {
 max-width: 44rem;
 gap: 20px;
}
.hero-copy .lede {
 max-width: 34rem;
}
.hero-copy .hero-actions {
 margin-top: 10px;
}
.hero-visual {
 min-height: 400px;
}
.handoff-stage {
 width: min(390px, 86vw);
}
.hub-badge {
 background: linear-gradient(160deg, #7b7eff 0%, #5f63f1 52%, #35318c 100%);
 border-color: rgba(224, 231, 255, 0.4);
 box-shadow:
 0 0 0 6px rgba(99, 102, 241, 0.11),
 0 22px 54px rgba(99, 102, 241, 0.28),
 0 20px 58px rgba(0, 0, 0, 0.36);
}
.agent-node .lbl,
.hub-badge strong,
.hub-badge span,
.handoff-caption,
.epic-crumbs .tag,
.epic-status .state,
.epic-status .age,
.epic-run-label,
.pipe-node,
.pipe-agent,
.pipe-state,
.epic-foot span,
.role,
.write,
.op-tags span,
.footer-copy {
 letter-spacing: 0;
}
.handoff-caption {
 color: #8794aa;
}
.section {
 padding: 92px 0;
}
.section-head {
 max-width: 680px;
}
.section-head .copy {
 margin-top: 16px;
}
.contrast article,
.steps,
.compat-card,
.epic,
.op,
.path,
.final-inner,
.panel {
 border-color: rgba(76, 91, 121, 0.54);
 background:
 linear-gradient(180deg, rgba(18, 28, 49, 0.76), rgba(8, 14, 27, 0.78));
 box-shadow:
 0 1px 0 rgba(255, 255, 255, 0.04) inset,
 0 30px 90px rgba(0, 0, 0, 0.22);
}
.contrast article,
.compat-card,
.op,
.path {
 border-radius: 14px;
 padding: 26px 24px;
}
.steps,
.epic {
 border-radius: 16px;
}
.contrast .label,
.compat-card .label,
.op .idx,
.steps .n {
 font-family: var(--font-nav);
 font-size: 0.72rem;
 font-weight: 800;
 letter-spacing: 0;
 color: #8b96ac;
}
.contrast .aim,
.compat-card p,
.op .heading,
.path .heading,
.steps .heading,
.epic-title {
 font-family: var(--display);
 font-weight: 750;
 letter-spacing: 0;
 color: #f8fafc;
}
.contrast .aim {
 font-size: 1.08rem;
}
.steps li {
 padding: 24px;
}
.steps .copy-sm,
.op .copy-sm,
.path .copy-sm {
 color: #9aa7ba;
}
.epic {
 background:
 linear-gradient(180deg, rgba(17, 28, 52, 0.9), rgba(8, 14, 27, 0.88)),
 radial-gradient(ellipse 70% 60% at 50% 0%, rgba(99, 102, 241, 0.16), transparent 58%);
}
.epic-head {
 padding: 22px 26px 20px;
}
.epic-body {
 padding: 22px 26px 26px;
}
.epic-crumbs .tag {
 background: rgba(30, 41, 59, 0.74);
 border-color: rgba(120, 135, 166, 0.32);
 color: #9da9bd;
}
.epic-title {
 font-size: 1.14rem;
 line-height: 1.35;
}
.pipe-name {
 font-family: var(--display);
 font-weight: 800;
}
.pipe-agent,
.pipe-state,
.epic-run-label,
.epic-foot span {
 font-weight: 650;
}
.op-tags span,
.write,
.hold-chip {
 border-radius: 8px;
}
.compat-card.ours,
.contrast .ours {
 background:
 linear-gradient(160deg, rgba(47, 45, 133, 0.38), rgba(10, 17, 32, 0.88));
 border-color: rgba(139, 146, 255, 0.5);
 box-shadow:
 0 1px 0 rgba(255, 255, 255, 0.05) inset,
 0 0 0 1px rgba(99, 102, 241, 0.08),
 0 30px 100px rgba(71, 75, 190, 0.16);
}

@media (min-width: 900px) {
 .hero {
 padding: 112px 0 124px;
 }
 .display,
 .hero-copy h1,
 .page-hero h1 {
 font-size: 5.25rem;
 max-width: 9.5em;
 }
 .title {
 font-size: 3rem;
 max-width: 13em;
 }
 .hero-grid {
 grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
 gap: 76px;
 }
 .hero-copy .lede {
 font-size: 1.15rem;
 line-height: 1.7;
 }
 .section {
 padding: 112px 0;
 }
 .section-head .copy,
 .how-side .copy,
 .split-head .copy {
 font-size: 1.04rem;
 }
 .epic-title {
 font-size: 1.3rem;
 }
}

@media (max-width: 900px) {
 .display,
 .hero-copy h1,
 .page-hero h1 {
 font-size: 3rem;
 line-height: 1;
 }
 .title {
 font-size: 2rem;
 }
}

@media (max-width: 520px) {
 .display,
 .hero-copy h1,
 .page-hero h1 {
 font-size: 2.65rem;
 }
 .title {
 font-size: 1.78rem;
 }
 .hero {
 padding: 72px 0 80px;
 }
 .section {
 padding: 72px 0;
 }
 .btn {
 width: 100%;
 }
 .hero-actions,
 .mobile-actions {
 width: 100%;
 }
}

/* Local header adaptation: contained, quiet, LangChain-inspired structure */
.site-header {
 padding: 10px 0;
 border: 0 !important;
 background: transparent !important;
 backdrop-filter: none;
 box-shadow: none;
}
.nav {
 height: 58px;
 padding: 0 14px 0 16px;
 border: 1px solid rgba(148, 163, 184, 0.16);
 border-radius: 12px;
 background: rgba(6, 11, 23, 0.72);
 backdrop-filter: blur(22px) saturate(1.25);
 box-shadow:
 0 1px 0 rgba(255, 255, 255, 0.03) inset,
 0 18px 48px rgba(0, 0, 0, 0.2);
}
.brand {
 gap: 9px;
 font-size: 0.96rem;
 font-weight: 800;
 color: #f8fafc;
}
.brand-mark {
 width: 27px;
 height: 27px;
 border-radius: 8px;
 box-shadow: 0 0 14px rgba(99, 102, 241, 0.28);
}
.beacon {
 width: 5px;
 height: 5px;
}
.nav-links {
 gap: 6px;
}
.nav-links a {
 min-height: 34px;
 display: inline-flex;
 align-items: center;
 padding: 0 11px;
 border-radius: 999px;
 font-size: 0.84rem;
 font-weight: 650;
 color: #a8b2c4;
}
.nav-links a:hover,
.nav-links a.active {
 color: #f2f6ff;
 background: rgba(148, 163, 184, 0.07);
}
.nav-cta {
 gap: 8px;
}
.nav-cta .btn {
 min-height: 38px;
 padding: 0 15px;
 border-radius: 9px;
 font-size: 0.84rem;
 font-weight: 800;
}
.nav-cta .btn-secondary {
 color: #d5deed;
 border-color: rgba(148, 163, 184, 0.22);
 background: rgba(15, 23, 42, 0.38);
 box-shadow: none;
}
.nav-cta .btn-primary {
 color: #0b1020;
 border-color: rgba(226, 232, 240, 0.55);
 background: linear-gradient(180deg, #f5f8ff 0%, #dce7ff 100%);
 box-shadow:
 0 1px 0 rgba(255, 255, 255, 0.55) inset,
 0 12px 28px rgba(129, 140, 248, 0.24);
}
.menu-btn {
 width: 38px;
 height: 38px;
 border-radius: 10px;
 color: #d9e2f1;
}
.menu-btn:hover {
 background: rgba(148, 163, 184, 0.08);
}
.mobile {
 border-top: 0;
 background: transparent;
 backdrop-filter: none;
 padding: 8px 0 0;
 width: min(1164px, calc(100vw - 28px));
 margin: 0 auto;
}
.mobile-inner {
 width: 100%;
 max-width: none;
 padding: 12px;
 border: 1px solid rgba(148, 163, 184, 0.16);
 border-radius: 12px;
 background: rgba(6, 11, 23, 0.88);
 backdrop-filter: blur(22px) saturate(1.25);
 box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}
.mobile-inner a.row {
 min-height: 42px;
 display: flex;
 align-items: center;
 padding: 0 10px;
 border-radius: 9px;
 font-size: 0.95rem;
 font-weight: 700;
 letter-spacing: 0;
 color: #d5deed;
}
.mobile-inner a.row:hover {
 background: rgba(148, 163, 184, 0.07);
}
.mobile-actions {
 display: grid;
 grid-template-columns: 1fr;
 gap: 10px;
 margin-top: 10px;
 padding-top: 12px;
 border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.mobile-actions .btn {
 width: 100%;
}

@media (min-width: 900px) {
 .site-header {
 padding: 12px 0;
 }
 .nav {
 grid-template-columns: minmax(190px, 1fr) auto minmax(240px, 1fr);
 }
}

/* Shared public frame: align homepage chrome with docs and learn. */
.site-header {
 position: sticky;
 top: 0;
 z-index: 80;
 padding: 10px 0 !important;
 border: 0 !important;
 background: transparent !important;
 box-shadow: none !important;
 backdrop-filter: none !important;
}
.nav {
 width: min(1164px, calc(100vw - 28px));
 height: 58px;
 padding: 0 14px 0 16px;
 grid-template-columns: minmax(188px, 1fr) auto minmax(260px, 1fr);
 gap: 18px;
 border: 1px solid rgba(99, 115, 147, 0.28);
 border-radius: 12px;
 background: rgba(6, 11, 23, 0.74);
 backdrop-filter: blur(22px) saturate(1.22);
 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 48px rgba(0, 0, 0, 0.22);
}
.brand {
 gap: 10px;
 font-family: var(--font);
 font-size: 16px;
 font-weight: 800;
 line-height: 1;
 letter-spacing: -0.045em;
 color: #f8fbff;
 text-transform: none;
}
.brand-mark,
.footer-beacon {
 position: relative;
 width: 28px;
 height: 28px;
 border-radius: 8px;
 background: linear-gradient(145deg, #7c83ff 0%, #6266f1 48%, #95a6ff 100%);
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 12px 24px rgba(99, 102, 241, 0.22);
 display: inline-grid;
 place-items: center;
 overflow: hidden;
 flex: 0 0 auto;
}
.brand-mark img,
.footer-beacon img {
 width: 20px;
 height: 20px;
 object-fit: contain;
 filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.beacon,
.footer-dot {
 width: 5px;
 height: 5px;
 background: #7d86ff;
 box-shadow: 0 0 12px rgba(125, 134, 255, 0.9);
}
.nav-links {
 justify-self: center;
 gap: 6px;
 flex-wrap: nowrap;
}
.nav-links a {
 min-height: 34px;
 padding: 0 12px;
 border-radius: 8px;
 font-family: var(--font);
 font-size: 13px;
 font-weight: 700;
 letter-spacing: -0.01em;
 color: #aab7cc;
}
.nav-links a:hover,
.nav-links a.active {
 color: #f4f7ff;
 background: rgba(255, 255, 255, 0.055);
}
.nav-cta {
 justify-self: end;
 gap: 8px;
}
.nav-cta .btn {
 min-height: 38px;
 padding: 0 16px;
 border-radius: 10px;
 font-family: var(--font);
 font-size: 13px;
 font-weight: 800;
 letter-spacing: -0.02em;
 box-shadow: none;
}
.nav-cta .btn-secondary {
 color: #f3f7ff;
 background: rgba(9, 15, 29, 0.58);
 border: 1px solid rgba(154, 167, 194, 0.28);
}
.nav-cta .btn-primary {
 color: #0b1220;
 background: linear-gradient(180deg, #f8fbff, #dbe6fb);
 border: 1px solid rgba(255, 255, 255, 0.74);
 box-shadow: 0 12px 30px rgba(183, 198, 238, 0.16);
}
.site-footer {
 padding: 14px 0 26px !important;
 border: 0 !important;
 background: transparent !important;
}
.footer-inner {
 width: min(1164px, calc(100vw - 28px));
 min-height: 58px;
 padding: 14px 16px;
 display: grid;
 grid-template-columns: minmax(260px, 1fr) minmax(0, auto);
 align-items: center;
 gap: 18px;
 border: 1px solid rgba(99, 115, 147, 0.22);
 border-radius: 12px;
 background: rgba(6, 11, 23, 0.58);
 color: #8491a8;
 font-family: var(--font);
 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
}
.footer-left,
.footer-right,
.footer-brand,
.footer-links {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 12px;
}
.footer-brand {
 color: #f8fbff;
 font-family: var(--font);
 font-size: 14px;
 font-weight: 800;
 letter-spacing: -0.04em;
 text-transform: none;
}
.footer-links {
 justify-content: flex-end;
}
.footer-links a {
 color: #9facbf;
 font-family: var(--font);
 font-size: 13px;
 font-weight: 700;
 letter-spacing: -0.01em;
}
.footer-links a:hover,
.footer-brand:hover {
 color: #f4f7ff;
}
.footer-sep {
 width: 1px;
 height: 14px;
 background: rgba(99, 115, 147, 0.42);
}
@media (max-width: 900px) {
 .site-header { padding: 8px 0 !important; }
 .nav {
  width: calc(100vw - 20px);
  height: 58px;
  padding: 0 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
 }
 .menu-btn {
  display: inline-flex;
  justify-self: end;
 }
 .footer-inner {
  width: calc(100vw - 20px);
  grid-template-columns: 1fr;
 }
 .mobile {
  width: calc(100vw - 20px);
 }
 .footer-links {
  justify-content: flex-start;
 }
}
@media (max-width: 520px) {
 .nav,
 .footer-inner {
  border-radius: 11px;
 }
 .footer-left,
 .footer-right,
 .footer-links {
  align-items: flex-start;
 }
 .footer-sep { display: none; }
}
