/* ===== Toolbelt landing — base ===== */
:root {
  --bg: #e9e9e7;
  --sheet: #ffffff;
  --ink: #171717;
  --ink-2: #44443f;
  --muted: #7a7a74;
  --line: #e6e6e3;
  --tint: #f6f6f4;
  --tint-2: #ededea;
  --plum: #1c1c1b;   /* dark charcoal (was plum) */
  --lav: #cfcfca;
  --accent: #e0362c;
  --accent-soft: #fdeceb;
  --accent-ink: #ffffff;
  --radius-lg: 20px;
  --radius: 14px;
  --serif: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ===== Typography ===== */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
h1.display { font-size: clamp(44px, 6.4vw, 80px); }
h2.display { font-size: clamp(34px, 4.4vw, 56px); }
h3.display { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
.lead { font-size: 18px; color: var(--ink-2); line-height: 1.65; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: 10px;
  font-size: 15px; font-weight: 500;
  border: 1px solid var(--ink);
  transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--plum); }
.btn-accent:hover { background: #c92c23; border-color: #c92c23; }
.btn-light { background: #fff; color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Nav ===== */
/* Floating glass pill: sits on the grey page edge, tightens + frosts on scroll */
/* Fixed + transparent: the pill floats inside the white sheet instead of sitting on a grey strip above it */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 30px 48px 0; pointer-events: none; transition: padding .5s cubic-bezier(.2,.8,.2,1); }
.nav > * { pointer-events: auto; }
.nav.scrolled { padding-top: 14px; }
[id] { scroll-margin-top: 100px; }
.nav-bar {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  max-width: 1232px; margin: 0 auto; padding: 8px 8px 8px 24px; border-radius: 999px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(28,28,27,.06);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(28,28,27,.04);
  transition: box-shadow .35s ease, background .35s ease, max-width .35s ease;
}
/* thin red→peach hairline along the bottom edge, echoing the hero glow */
.nav-bar::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 1px; border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,54,44,.55), rgba(255,166,120,.6), transparent); opacity: 0; transition: opacity .35s ease; }
/* Scrolled: collapses into a compact floating pill (~60% of full width, shorter, Log in folds away) */
/* Scrolled: only the width narrows (height + contents stay fixed) and the glass/shadow deepen */
.nav.scrolled .nav-bar { max-width: 960px; background: rgba(255,255,255,.84); border-color: rgba(28,28,27,.07); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 22px 44px -18px rgba(28,28,27,.3), 0 2px 6px rgba(28,28,27,.06); }
.nav.scrolled .nav-bar::after { opacity: 1; }
.nav-bar { transition: max-width .5s cubic-bezier(.2,.8,.2,1), background .35s ease, box-shadow .35s ease, border-color .35s ease; }

.logo { display: flex; align-items: center; justify-self: start; }
.logo-svg { display: block; height: 24px; width: auto; aspect-ratio: 992 / 280; transition: height .4s cubic-bezier(.2,.8,.2,1); }
.logo-svg .lp { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.logo:hover .logo-svg .lp { transform: translateY(-14%); }

.nav-links { position: relative; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(28,28,27,.035); font-size: 14.5px; color: var(--ink-2); }
.nav-links > a, .nav-dd-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 999px; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; white-space: nowrap; transition: color .2s ease; }
.nav-links > a:hover, .nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { color: var(--ink); }
.nav-links > a.is-active { color: var(--ink); font-weight: 500; }
.nav-links > a.is-active::before { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
/* sliding highlight that follows the hovered item */
.nav-glide { position: absolute; z-index: 0; top: 4px; left: 0; height: 36px; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(28,28,27,.08), 0 0 0 1px rgba(28,28,27,.05); opacity: 0; transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1), opacity .2s ease; pointer-events: none; }
.nav-new { font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; color: var(--accent); background: var(--accent-soft); }
.nav-dd { position: relative; }
.nav-dd-btn svg { transition: transform .25s ease; opacity: .6; }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 14px); left: 50%; width: 340px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(28,28,27,.3), 0 4px 12px rgba(28,28,27,.05);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1), visibility .2s; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav-dd.open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; transition: background .15s ease; }
.nav-menu a:hover { background: var(--tint); }
.nav-menu i { width: 8px; height: 8px; border-radius: 2px; margin-top: 6px; flex: none; }
.nav-menu b { display: block; font-weight: 500; font-size: 14px; color: var(--ink); }
.nav-menu small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.nav-right { display: flex; align-items: center; gap: 6px; justify-self: end; }
.nav-right .login { font-size: 14.5px; padding: 0 16px; height: 40px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--ink-2); white-space: nowrap; overflow: hidden; max-width: 120px; transition: color .2s ease, background .2s ease, max-width .4s ease, padding .4s ease, opacity .25s ease; }
.nav-right .login:hover { color: var(--ink); background: rgba(28,28,27,.04); }
.nav-right .btn-accent { border-radius: 999px; padding: 0 20px; background: linear-gradient(140deg, #ea4a3f, var(--accent) 60%, #c92c23); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 18px -8px rgba(224,54,44,.8); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, top .3s ease; }
.nav-burger span:first-child { top: 15px; } .nav-burger span:last-child { top: 23px; }
.nav.menu-open .nav-burger span:first-child { top: 19px; transform: rotate(45deg); }
.nav.menu-open .nav-burger span:last-child { top: 19px; transform: rotate(-45deg); }
.nav-mobile { display: none; }

/* ===== Sheet (white page card) ===== */
.sheet {
  background: var(--sheet);
  border-radius: var(--radius-lg);
  margin: 12px 24px 0;
  overflow: hidden;
}
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.section { padding: 200px 0; position: relative; isolation: isolate; }
/* Ambient hero-style glows carried through the page */
.section::before, .how::before { content: ""; position: absolute; inset: 0 -6%; z-index: -1; pointer-events: none; animation: glowShift 24s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); }
.section::after { content: none; }
#solutions::before { background:
  radial-gradient(640px 520px at 88% 14%, rgba(255,166,120,.30), rgba(255,166,120,.12) 40%, transparent 72%),
  radial-gradient(620px 520px at 6% 62%, rgba(224,54,44,.12), rgba(224,54,44,.05) 40%, transparent 72%),
  radial-gradient(560px 460px at 92% 92%, rgba(255,166,120,.20), transparent 70%); }
#why::before { background:
  radial-gradient(760px 480px at 50% 6%, rgba(224,54,44,.10), rgba(224,54,44,.04) 45%, transparent 72%),
  radial-gradient(560px 460px at 96% 88%, rgba(255,166,120,.24), transparent 70%); }
#customers::before { background:
  radial-gradient(640px 440px at 4% 12%, rgba(255,166,120,.24), transparent 70%); }
.how { position: relative; isolation: isolate; overflow: hidden; }
/* oversized so the glowShift drift never uncovers an edge; .how clips it */
.how::before { inset: -8%; -webkit-mask-image: none; mask-image: none; border-radius: inherit; }
.how::before { background:
  radial-gradient(720px 520px at 96% 0%, rgba(224,54,44,.12), rgba(224,54,44,.05) 40%, transparent 72%),
  radial-gradient(520px 420px at 0% 100%, rgba(255,166,120,.22), transparent 70%); }
@keyframes glowShift { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-3%, 2%, 0) scale(1.04); } }
.how::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(28,28,27,.13) 1px, transparent 1.3px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(45% 40% at 0% 0%, #000, transparent 75%); mask-image: radial-gradient(45% 40% at 0% 0%, #000, transparent 75%); }
@media (prefers-reduced-motion: reduce) { .section::before, .section::after, .how::before { animation: none !important; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 96px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .lead { margin-top: 24px; }

/* ===== Hero ===== */
.hero { padding: 220px 0 96px; text-align: center; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { max-width: 900px; margin: 0 auto; }
.hero .lead { max-width: 600px; margin: 32px auto 0; }
.hero-ctas {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin-top: 48px; padding: 5px;
  background: var(--tint-2); border-radius: 14px;
}
.hero-ctas .btn { min-width: 200px; border: none; }
.hero-ctas .btn-light { box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.made-for {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px; padding: 6px 14px;
  background: var(--tint); border-radius: 999px;
  font-size: 13px; color: var(--muted);
}
.made-for .dot { width: 6px; height: 6px; border-radius: 50%; background: #3ccf6e; }

/* ===== Video ===== */
.video-wrap { padding: 0 40px; max-width: 1240px; margin: 0 auto; }
.video {
  position: relative; aspect-ratio: 16 / 8.2;
  border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(224,54,44,.10) 0%, transparent 60%),
    linear-gradient(180deg, #f1f1ee, #e4e4e0);
  display: grid; place-items: center; cursor: pointer;
}
/* --- Hero product mock (Command Center) --- */
.app {
  position: absolute; left: 7%; right: 7%; top: 8%; bottom: -6%;
  background: #fff; border-radius: 14px 14px 0 0;
  border: 1px solid rgba(0,0,0,.08); border-bottom: 0;
  box-shadow: 0 40px 100px rgba(0,0,0,.16), 0 2px 6px rgba(0,0,0,.05);
  display: flex; flex-direction: column; overflow: hidden;
  font-size: 12px; color: var(--ink); text-align: left;
}
.app-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafaf9; }
.app-dots { display: flex; gap: 5px; } .app-dots i { width: 9px; height: 9px; border-radius: 50%; background: #dcdcd8; }
.app-url { flex: 1; text-align: center; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.app-live { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--ink-2); }
.app-live i { width: 6px; height: 6px; border-radius: 50%; background: #2fb36b; }
.app-body { flex: 1; display: grid; grid-template-columns: 184px 1fr; min-height: 0; }
.app-nav { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; background: #fcfcfb; }
.app-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12.5px; margin-bottom: 18px; padding: 0 6px; }
.app-brand .logo-mark { width: 20px; height: 20px; border-radius: 5px; }
.app-nav-group { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 6px 6px; }
.app-nav a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 6px; color: var(--ink-2); font-size: 12px; }
.app-nav a.on { background: var(--tint-2); color: var(--ink); font-weight: 500; }
.app-nav a em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.app-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; }
.app-head h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; } .app-head p { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.app-btn { background: var(--ink); color: #fff; padding: 7px 11px; border-radius: 7px; font-size: 11.5px; font-weight: 500; }
.app-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 3px; }
.kpi small { color: var(--muted); font-size: 10.5px; } .kpi b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; font-family: var(--serif); }
.kpi span { font-size: 10.5px; color: var(--muted); } .kpi span.up { color: #1f8f55; }
.app-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.app-panel { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.app-panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.app-panel-head b { font-size: 12.5px; font-weight: 600; } .app-panel-head span { font-size: 10.5px; color: var(--muted); }
.org-row { display: grid; grid-template-columns: 1.3fr 1.5fr .9fr .5fr .8fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 11.5px; align-items: center; }
.org-row.head { border-top: 0; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); padding-top: 0; }
.org-row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 7px; }
.org-row .av { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.st { font-size: 10.5px; color: var(--muted); } .st.ok { color: #1f8f55; }
.st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.route { display: grid; grid-template-columns: 74px 1fr 32px; gap: 8px; align-items: center; font-size: 11px; padding: 5px 0; }
.route i { height: 6px; border-radius: 3px; background: var(--tint-2); position: relative; overflow: hidden; }
.route i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--ink); border-radius: 3px; }
.route:first-of-type i::after { background: var(--accent); }
.route em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted); text-align: right; }
.route-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.route-note b { color: var(--accent); font-weight: 600; }
.play-pill {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; padding: 9px 16px 9px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.video:hover .play-pill { transform: translateX(-50%) translateY(-2px); }
/* Hero video sits over the mock and fades in once frames are playing */
.video { aspect-ratio: 16 / 9; cursor: default; }
.hero-video { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity .6s ease; background: transparent; pointer-events: none; }
.video.is-playing .hero-video { opacity: 1; }

/* --- Logo strips --- */
.logos { text-align: center; padding: 88px 0 0; }
.logo-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; margin-top: 28px; }
.logo-row li { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: #b4b4ae; }

/* ===== Problem & Solution rows ===== */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center;
}
.feature + .feature { margin-top: 220px; }
.feature > *, .cta > *, .proof-top > * { min-width: 0; }
.feature.reverse .feature-visual { order: 2; }
.feature-copy .eyebrow { margin-bottom: 20px; }
.feature-copy p.body { margin-top: 24px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.feature-copy .btn { margin-top: 40px; }
.quote {
  margin-top: 40px; padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent);
  font-size: 15.5px; line-height: 1.7; color: var(--ink-2); font-style: italic;
}
.feature-visual {
  background: var(--tint); border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1; padding: 48px;
  display: flex; align-items: center; justify-content: center;
}
.mock {
  width: 100%; background: #fff; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.07); border: 1px solid var(--line);
  padding: 24px;
}
.mock-title { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.mock-title .ic { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-family: var(--mono); letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; background: var(--tint-2); color: var(--ink-2);
}
.chip.green { background: #e4f8ea; color: #18793a; }
.chip.yellow { background: var(--accent-soft); color: var(--accent); }
.chip.red { background: #fde8e8; color: #a12a2a; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px;
}
.mock-row:first-of-type { border-top: none; }
.bubble { padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; max-width: 85%; }
.bubble.q { background: var(--tint); margin-left: auto; }
.bubble.a { background: var(--ink); color: #fff; margin-top: 10px; }
.bubble .cite { display: block; margin-top: 8px; font-size: 11px; opacity: .7; font-family: var(--mono); }
.stat-big { font-family: var(--serif); font-size: 44px; letter-spacing: -0.02em; line-height: 1; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 18px; }
.bars span { flex: 1; background: var(--tint-2); border-radius: 6px 6px 0 0; }
.bars span.hi { background: var(--accent); }

/* ===== How it works ===== */
.how { background: var(--tint); border-radius: var(--radius-lg); padding: 120px 64px; }
/* Architecture: steps + nested diagram */
.arch { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: stretch; }
.arch > * { min-width: 0; }
.arch-steps { display: grid; gap: 10px; }
.arch-step {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative;
  display: grid; grid-template-columns: 40px 1fr; column-gap: 16px;
  padding: 22px 24px; border-radius: var(--radius);
  border: 1px solid transparent; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.arch-step > :not(.num) { grid-column: 2; }
.arch-step .num { grid-row: 1 / span 4; font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.arch-step .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.arch-step h4 { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; margin-top: 4px; }
.arch-step p { font-size: 15px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; }
.arch-step ul { list-style: none; display: none; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.arch-step li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--ink-2); }
.arch-step:hover { background: rgba(255,255,255,.55); }
.arch-step.on { background: #fff; border-color: var(--line); box-shadow: 0 14px 40px rgba(58,49,80,.08); }
.arch-step.on .num { color: var(--accent); }
.arch-step.on ul { display: flex; }
.arch-step.on::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--accent); }

.arch-diagram { position: relative; display: flex; }
.cc {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  background: var(--plum); color: #fff; border-radius: 22px; padding: 22px;
  box-shadow: 0 40px 90px rgba(58,49,80,.25); transition: box-shadow .3s ease, outline-color .3s ease;
  outline: 2px solid transparent; outline-offset: 6px;
}
.cc-bar { display: flex; justify-content: space-between; align-items: center; }
.cc-title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 500; font-size: 17px; }
.cc-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(224,54,44,.25); }
.cc-chip, .org-chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.cc-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; transition: opacity .3s ease; }
.cc-metrics div { background: rgba(255,255,255,.07); border-radius: 10px; padding: 10px 12px; }
.cc-metrics small { display: block; font-size: 10.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.cc-metrics b { font-weight: 500; font-size: 15px; }
.cc-metrics b.up { color: #ff8a7f; }
/* L2 orgs stack to fill the panel; each one contains its own L3 solutions tray */
.orgs { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; min-height: 0; }
.org {
  flex: 1; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px;
  border: 1.5px dashed transparent; transition: border-color .3s ease, transform .3s ease, opacity .3s ease, box-shadow .3s ease;
}
.org-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 2px 4px 0; }
.org-head .lock { font-size: 11px; }
.org-head small { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.org-chip { margin-left: auto; background: var(--tint-2); color: var(--muted); }
.sols { flex: 1; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 8px; padding: 22px 10px 10px; border-radius: 10px;
  background: var(--tint) radial-gradient(rgba(28,28,27,.07) 1px, transparent 1.3px) 0 0 / 10px 10px; border: 1px dashed #d6d6d1; transition: border-color .3s ease, background-color .3s ease; }
.sols-tag { position: absolute; top: 6px; left: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s ease; }
.sol { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; color: var(--ink-2); background: #fff; border-radius: 8px; padding: 8px 9px; box-shadow: 0 1px 0 rgba(28,28,27,.06), 0 0 0 1px var(--line); transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.sol span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sol em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted); flex: none; }
.sol i, .arch-legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
i.ag { background: var(--accent); } i.wf { background: #3b3b38; } i.tl { background: #b3b3ad; }
.arch-legend { display: flex; gap: 16px; margin-top: 14px; font-size: 11px; color: rgba(255,255,255,.6); font-family: var(--mono); }
.arch-legend i { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.arch-legend span { display: flex; align-items: center; gap: 6px; }

/* Highlight per active level */
.arch[data-active="1"] .cc { outline-color: var(--accent); }
.arch[data-active="1"] .orgs { opacity: .55; }
.arch[data-active="2"] .cc-metrics { opacity: .35; }
.arch[data-active="2"] .org { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(224,54,44,.18); }
.arch[data-active="2"] .sols { opacity: .6; }
.sols { transition: opacity .3s ease, border-color .3s ease, background-color .3s ease; }
.org-head { transition: opacity .3s ease; }
.arch[data-active="3"] .cc-metrics { opacity: .35; }
.arch[data-active="3"] .org-head { opacity: .5; }
.arch[data-active="3"] .sols { border-color: var(--accent); background-color: var(--accent-soft); }
.arch[data-active="3"] .sols-tag { color: var(--accent); }
.arch[data-active="3"] .sol { color: var(--ink); box-shadow: 0 6px 14px -8px rgba(224,54,44,.45), 0 0 0 1px rgba(224,54,44,.25); }
.orgs { transition: opacity .3s ease; }



/* What you can build — bento */
.build { margin-top: 140px; }
.build-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.build-head .eyebrow { margin-bottom: 18px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.bcard:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(58,49,80,.08); }
.bcard.feat { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px; align-items: center; }
.bcard.feat > * { min-width: 0; }
.kind { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.kind::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.kind.ag::before { background: var(--accent); } .kind.wf::before { background: #3b3b38; } .kind.tl::before { background: #b3b3ad; }
.bcard h5 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; margin-top: 18px; }
.bcard.feat h5 { font-size: 30px; }
.bcard p { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.6; flex: 1; }
.swap { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 13px; }
.bcard:not(.feat) .swap { min-height: 84px; align-content: start; }
.swap .from { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(115,109,134,.5); }
.swap .to { color: var(--ink); font-weight: 500; display: flex; gap: 6px; }
.swap .to::before { content: "→"; color: var(--accent); }
.bcard-demo { background: var(--tint); border-radius: 14px; padding: 22px; display: grid; gap: 10px; }
.mini-q { justify-self: end; background: #fff; border: 1px solid var(--line); padding: 10px 14px; border-radius: 12px 12px 4px 12px; font-size: 13.5px; max-width: 85%; }
.mini-a { background: var(--plum); color: #fff; padding: 12px 14px; border-radius: 12px 12px 12px 4px; font-size: 13.5px; line-height: 1.5; max-width: 92%; }
.mini-cite { display: block; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,.6); }
.build-foot { text-align: center; margin-top: 36px; font-size: 14.5px; color: var(--muted); }

/* ===== Why you need it ===== */
/* Open, borderless layout: large tinted visuals + generous gaps (no card strokes, unlike the product grid above) */
/* Clean even 3×2 grid, borderless, numbered */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 88px 48px; counter-reset: why; }
.why-card { display: flex; flex-direction: column; min-width: 0; counter-increment: why; }
.why-card .icon { display: none; }
.why-card h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.why-card h4::before { content: counter(why, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; }
.why-card p { margin-top: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }

.why-viz { position: relative; height: 188px; margin-bottom: 32px; border-radius: 20px; padding: 28px; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(rgba(23,23,23,.07) 1px, transparent 1.2px) 0 0 / 14px 14px, var(--tint); }
.viz-clients span, .viz-walls span, .mlist span { background: #fff; box-shadow: 0 1px 2px rgba(23,23,23,.05); }
.viz-clients { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.viz-clients span { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; padding: 13px 14px; border-radius: 10px; white-space: nowrap; min-width: 0; }
.viz-clients i.ok { flex: none; }
.viz-clients i.ok { width: 8px; height: 8px; border-radius: 50%; background: #3fb07a; box-shadow: 0 0 0 3px rgba(63,176,122,.18); }
.viz-tokens { flex-direction: column; justify-content: center; align-items: stretch; gap: 14px; }
.tk-row { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 10px; }
.tk-row small { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tk { height: 10px; border-radius: 99px; background: var(--lav); }
.tk.lo { background: var(--accent); }
.tk-row b { font-size: 12px; font-weight: 600; color: var(--accent); }
.tk-row:first-child { grid-template-columns: 62px 1fr; }
.viz-models { gap: 12px; justify-content: space-between; }
.viz-models .req { font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 8px; background: var(--plum); color: #fff; }
.viz-models .arrow-r { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--lav) 0 4px, transparent 4px 8px); }
.mlist { display: grid; gap: 4px; }
.mlist { gap: 6px; min-width: 112px; }
.mlist span { font-size: 12px; padding: 6px 12px; border-radius: 7px; color: var(--muted); }
.mlist span.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.viz-walls { justify-content: space-between; gap: 6px; }
.viz-walls span { flex: 1; text-align: center; font-size: 12.5px; font-weight: 500; padding: 44px 0; border-radius: 10px; }
.viz-walls i { width: 3px; align-self: stretch; border-radius: 3px; background: var(--accent); }
.viz-uptime { flex-direction: column; justify-content: center; align-items: stretch; gap: 14px; }
.up-bars { display: flex; gap: 3px; height: 64px; }
.up-bars i { flex: 1; border-radius: 3px; background: #3fb07a; opacity: .85; }
.up-bars i:nth-child(n+9):nth-child(-n+16) { background: var(--plum); }
.viz-uptime small { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.viz-uptime .live { width: 7px; height: 7px; border-radius: 50%; background: #3fb07a; }
.viz-own { flex-direction: column; justify-content: center; align-items: stretch; gap: 0; text-align: center; }
.viz-own .own-a, .viz-own .own-b { font-size: 13px; font-weight: 600; padding: 12px 16px; border-radius: 11px; }
.viz-own .own-a { background: var(--plum); color: #fff; }
.viz-own .own-b { background: var(--accent-soft); color: var(--accent); }
.own-line { flex: none; height: 40px; width: 1.5px; align-self: center; background: var(--lav); position: relative; }
.own-line::after { content: ""; position: absolute; left: -4.25px; bottom: -2px; border: 5px solid transparent; border-top-color: var(--lav); }
.own-line em { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ===== Social proof ===== */
.proof { padding-top: 120px; }
#why { padding-bottom: 120px; }
.proof .section-head { margin-bottom: 88px; max-width: 800px; }
/* Aggregate outcomes */
/* Aggregate outcomes — dark statement panel */
.outcomes { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 28px; padding: 72px 24px; color: #fff;
  background: radial-gradient(60% 120% at 100% 0%, rgba(224,54,44,.28), transparent 60%), radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px) 0 0 / 18px 18px, var(--plum);
  box-shadow: 0 40px 80px -40px rgba(23,23,23,.45); }
.stat { padding: 0 32px; min-width: 0; display: flex; flex-direction: column; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stat i { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; }
.stat i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(224,54,44,.22); }
.stat b { margin-top: 40px; font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 6.4vw, 88px); line-height: .95; letter-spacing: -0.045em; white-space: nowrap; }
.stat b em { font-style: normal; color: var(--accent); font-size: .62em; margin-left: .04em; }
.stat span { margin-top: 20px; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.68); max-width: 200px; }
.placeholder-note { margin-top: 32px; font-size: 13px; color: var(--muted); text-align: center; }

/* ===== CTA ===== */
.cta-sheet {
  margin-top: 24px; color: #fff; position: relative; isolation: isolate;
  background:
    radial-gradient(760px 480px at 88% 10%, rgba(255,170,130,.45), transparent 62%),
    radial-gradient(700px 520px at 0% 100%, rgba(120,12,8,.55), transparent 60%),
    linear-gradient(135deg, #ea4a3f 0%, #e0362c 45%, #b8241c 100%);
}
/* Same grid + dot language as the hero, inverted to white */
.cta-sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 80% at 75% 50%, #000 15%, transparent 80%); mask-image: radial-gradient(70% 80% at 75% 50%, #000 15%, transparent 80%); }
.cta-sheet::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(40% 60% at 8% 92%, #000, transparent 75%); mask-image: radial-gradient(40% 60% at 8% 92%, #000, transparent 75%); }
/* Animated depth layer: same blob/beam/node system as the hero, tuned for red */
.cta-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(80,6,3,.35) 100%); }
.cta-bg > span { position: absolute; display: block; }
.cb-blob { border-radius: 50%; filter: blur(80px); will-change: transform; }
.cb-blob.c1 { width: 620px; height: 480px; right: -6%; top: -18%; background: radial-gradient(circle, rgba(255,214,170,.55), transparent 70%); animation: hbDrift2 24s ease-in-out infinite alternate; }
.cb-blob.c2 { width: 560px; height: 460px; left: -10%; bottom: -24%; background: radial-gradient(circle, rgba(110,8,4,.6), transparent 70%); animation: hbDrift1 21s ease-in-out infinite alternate; }
.cb-blob.c3 { width: 480px; height: 360px; left: 34%; top: 30%; background: radial-gradient(circle, rgba(255,120,90,.45), transparent 70%); animation: hbDrift3 18s ease-in-out infinite alternate; }
.cb-beam { left: 0; top: 56px; height: 1px; width: 34%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); animation: hbBeam 7s linear infinite; }
.cb-beam.two { top: auto; bottom: 56px; width: 26%; animation-duration: 9s; animation-delay: 3s; opacity: .7; }
.cb-node { width: 7px; height: 7px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.8); }
.cb-node::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); animation: hbRing 3.2s ease-out infinite; }
.cb-node.k1 { left: 56%; top: calc(56px * 2); }
.cb-node.k2 { left: 92%; top: calc(56px * 6); } .cb-node.k2::after { animation-delay: 1s; }
.cb-node.k3 { left: 4%; top: auto; bottom: 112px; opacity: .8; } .cb-node.k3::after { animation-delay: 2s; }
.cb-arc { width: 900px; height: 900px; right: -320px; top: 50%; margin-top: -450px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.02), inset 0 0 0 90px rgba(255,255,255,.025); }
@media (prefers-reduced-motion: reduce) { .cta-bg *, .cta-bg *::after { animation: none !important; } }
@media (max-width: 640px) {
  .cb-blob { filter: blur(56px); }
  .cb-blob.c1, .cb-blob.c2 { width: 320px; height: 280px; }
  .cb-blob.c3, .cb-node.k2, .cb-arc { display: none; }
  .cb-beam { width: 60%; }
}
.cta-sheet .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.cta-sheet .btn-accent { background: #fff; border-color: #fff; color: var(--accent); box-shadow: 0 14px 34px rgba(90,10,6,.35); }
.cta-sheet .btn-accent:hover { background: #fff; border-color: #fff; color: #b8241c; box-shadow: 0 18px 40px rgba(90,10,6,.42); }
.cta { padding-top: 150px; padding-bottom: 150px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.cta .eyebrow { color: rgba(255,255,255,.82); }
.cta h2 { font-size: clamp(40px, 5vw, 64px); }
.cta .lead { margin-top: 28px; color: rgba(255,255,255,.9); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.cta-note { margin-top: 32px; font-size: 14px; color: rgba(255,255,255,.82); font-style: italic; max-width: 520px; line-height: 1.6; padding-left: 16px; border-left: 2px solid rgba(255,255,255,.7); }

.hub { position: relative; display: grid; grid-template-columns: 1fr auto 1.25fr; align-items: center; gap: 0; min-height: 440px; }
.hub > * { position: relative; z-index: 1; min-width: 0; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hub-lines path { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 1.2; stroke-dasharray: 3 5; animation: flow 2.4s linear infinite; }
.hub-lines path.out { stroke: #fff; stroke-width: 1.4; stroke-dasharray: 4 6; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.hub-col { display: grid; gap: 12px; }
.hub-col small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.hub-col.models span { font-size: 13px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; justify-self: start; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hub-core { display: grid; place-items: center; margin: 0 56px 0 36px; position: relative; }
.hub-col.clients { max-width: 220px; justify-self: end; width: 100%; }
.ring { position: absolute; width: 170px; height: 170px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); animation: pulse 3.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.core-box { position: relative; width: 132px; height: 132px; border-radius: 28px; background: #fff; color: var(--ink); display: grid; place-items: center; align-content: center; gap: 6px; box-shadow: 0 30px 70px rgba(90,10,6,.45), 0 0 0 6px rgba(255,255,255,.22); }
.core-box .logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); }
.core-box b { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.core-box small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hub-col.clients .cl { background: #fff; color: var(--ink); border-radius: 12px; padding: 13px 15px; display: grid; gap: 2px; box-shadow: 0 14px 30px rgba(90,10,6,.28); }
.hub-col.clients .cl b { font-size: 13.5px; font-weight: 600; }
.hub-col.clients .cl span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.hub-col.clients .cl span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3fb07a; }
.hub-col.clients .cl:last-child { background: rgba(255,255,255,.08); color: #fff; border: 1.5px dashed rgba(255,255,255,.7); box-shadow: none; }
.hub-col.clients .cl:last-child span { color: rgba(255,255,255,.85); }
.hub-col.clients .cl:last-child span::before { background: #fff; }

/* ===== Footer ===== */
.footer { padding: 96px 48px 64px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; font-size: 14px; }
.footer h6 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.footer ul a:hover { color: var(--ink); }
.footer .copy { color: var(--muted); margin-top: 16px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Visual polish (minimal, page-wide) ===== */
/* Eyebrows: small red marker */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(224,54,44,.14); }
/* Hero: faint grid that fades out + soft glow behind the product mock */
.hero { position: relative; isolation: isolate; }
/* Hero background: grid + dots + drifting gradient blobs + light beam + pulsing nodes */
.hero-bg { position: absolute; inset: 0 0 -45% 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg > span { position: absolute; display: block; }
.hb-grid { inset: 0; z-index: 2;
  background-image: linear-gradient(rgba(23,23,23,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(23,23,23,.07) 1px, transparent 1px);
  background-size: 56px 56px; background-position: calc(50% - 28px) 0;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 32%, #000 10%, transparent 78%); mask-image: radial-gradient(60% 55% at 50% 32%, #000 10%, transparent 78%); }
.hb-dots { inset: 0; z-index: 2;
  background-image: radial-gradient(rgba(224,54,44,.55) 1.1px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(38% 30% at 50% 26%, transparent 55%, #000 72%, transparent 100%); mask-image: radial-gradient(38% 30% at 50% 26%, transparent 55%, #000 72%, transparent 100%);
  opacity: .35; animation: hbPulse 9s ease-in-out infinite; }
/* No filter: blur here — the soft radial gradients give the same glow without the per-frame GPU cost that made the hero video stutter */
.hb-blob { z-index: 1; border-radius: 50%; opacity: .55; will-change: transform; }
.hb-blob.b1 { width: 520px; height: 420px; left: 8%; top: -6%; background: radial-gradient(circle, rgba(224,54,44,.55), rgba(224,54,44,0) 70%); animation: hbDrift1 22s ease-in-out infinite alternate; }
.hb-blob.b2 { width: 600px; height: 480px; right: 4%; top: 6%; background: radial-gradient(circle, rgba(255,166,120,.5), rgba(255,166,120,0) 70%); animation: hbDrift2 26s ease-in-out infinite alternate; }
.hb-blob.b3 { width: 680px; height: 380px; left: 30%; top: 46%; background: radial-gradient(circle, rgba(28,28,27,.16), rgba(28,28,27,0) 70%); animation: hbDrift3 19s ease-in-out infinite alternate; }
.hb-beam { z-index: 3; top: calc(56px * 4); left: 0; height: 1px; width: 32%;
  background: linear-gradient(90deg, transparent, rgba(224,54,44,.9), transparent);
  box-shadow: 0 0 12px rgba(224,54,44,.6); animation: hbBeam 7s cubic-bezier(.45,0,.25,1) infinite; }
.hb-node { z-index: 4; width: 7px; height: 7px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); }
.hb-node::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(224,54,44,.6); animation: hbRing 3.2s ease-out infinite; }
.hb-node.n1 { left: calc(50% - 28px - 56px * 7); top: calc(56px * 2); }
.hb-node.n2 { left: calc(50% - 28px + 56px * 8); top: calc(56px * 3); }
.hb-node.n2::after { animation-delay: .8s; }
.hb-node.n3 { left: calc(50% - 28px - 56px * 9); top: calc(56px * 6); opacity: .7; }
.hb-node.n3::after { animation-delay: 1.6s; }
.hb-node.n4 { left: calc(50% - 28px + 56px * 6); top: calc(56px * 7); opacity: .7; }
.hb-node.n4::after { animation-delay: 2.4s; }
@keyframes hbDrift1 { to { transform: translate(140px, 60px) scale(1.15); } }
@keyframes hbDrift2 { to { transform: translate(-160px, 40px) scale(.9); } }
@keyframes hbDrift3 { to { transform: translate(-120px, -50px) scale(1.1); } }
@keyframes hbBeam { 0% { transform: translateX(-110%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(330%); opacity: 0; } }
@keyframes hbRing { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes hbPulse { 0%,100% { opacity: .25; } 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .hero-bg *, .hero-bg *::after { animation: none !important; } }
/* Freeze the hero background while the video fills the view, so the video gets every frame */
.video-focus .hero-bg *, .video-focus .hero-bg *::after { animation-play-state: paused !important; }
@media (max-width: 640px) {
  .hb-blob.b1 { width: 300px; height: 260px; left: -20%; }
  .hb-blob.b2 { width: 320px; height: 280px; right: -25%; }
  .hb-blob.b3, .hb-node.n3, .hb-node.n4 { display: none; }
  .hb-node.n1 { left: calc(50% - 28px - 56px * 3); }
  .hb-node.n2 { left: calc(50% - 28px + 56px * 3); top: calc(56px * 9); }
  .hb-beam { width: 60%; }
}
.video-wrap { position: relative; isolation: isolate; }
.video-wrap::before { content: ""; position: absolute; left: 12%; right: 12%; top: 8%; bottom: -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224,54,44,.18), rgba(224,54,44,0)); filter: blur(40px); pointer-events: none; }
.video { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 50px 100px -50px rgba(23,23,23,.35), 0 0 0 1px rgba(23,23,23,.05); }
/* Feature visuals: dot texture + soft depth */
.feature-visual { background: radial-gradient(rgba(23,23,23,.06) 1px, transparent 1.2px) 0 0 / 16px 16px, var(--tint); box-shadow: inset 0 0 0 1px rgba(23,23,23,.03); transition: transform .4s ease, box-shadow .4s ease; }
.feature-visual:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(23,23,23,.03), 0 30px 60px -36px rgba(23,23,23,.28); }
/* Bento cards: gentle lift */
.bcard { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.bcard:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -32px rgba(23,23,23,.25); }
/* Section heads: thin red rule under display headings */
.section-head .display::after { content: ""; display: block; width: 36px; height: 2px; border-radius: 2px; background: var(--accent); margin: 32px auto 0; }
.section-head .display + .lead { margin-top: 28px; }
/* Buttons: refined shadows */
.btn-accent { box-shadow: 0 8px 20px -10px rgba(224,54,44,.6); }
.btn-accent:hover { box-shadow: 0 12px 26px -10px rgba(224,54,44,.7); }
.btn-dark:hover { box-shadow: 0 10px 24px -12px rgba(23,23,23,.6); }
/* Why visuals: tiny lift on hover */
.why-viz { transition: transform .35s ease; }
.why-card:hover .why-viz { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .feature-visual, .bcard, .why-viz { transition: none; } }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-bar { grid-template-columns: 1fr auto; }
  .nav-burger { display: inline-block; }
  .nav-mobile { display: grid; gap: 2px; max-width: 1232px; margin: 8px auto 0; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(28,28,27,.3); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .25s ease, visibility .2s;
    position: absolute; left: 48px; right: 48px; }
  .nav.menu-open .nav-mobile { opacity: 1; visibility: visible; transform: none; }
  .nav-mobile > a { display: flex; align-items: center; gap: 8px; padding: 14px; border-radius: 10px; font-size: 16px; font-weight: 500; }
  .nav-mobile > a:hover { background: var(--tint); }
  .nav-mobile-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 6px 6px; border-top: 1px solid var(--line); margin-top: 6px; }
  .feature, .cta, .proof-top { grid-template-columns: 1fr; gap: 56px; }
  .feature.reverse .feature-visual { order: 0; }
  .arch { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 72px 40px; }
  .outcomes { grid-template-columns: repeat(2, 1fr); row-gap: 56px; padding: 56px 16px; }
  .stat:nth-child(3) { border-left: none; }
  .hub { min-height: 420px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card, .proof-card + .proof-card { padding: 40px 0; border-right: none; border-bottom: 1px solid var(--line); min-height: 0; }
  .proof-stat { text-align: left; }
  .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sheet { margin: 8px 8px 0; }
  .nav { padding: 18px 18px 0; }
  .nav.scrolled { padding-top: 10px; }
  .nav.scrolled .nav-bar { max-width: 100%; }
  .nav-bar { padding: 6px 6px 6px 14px; gap: 12px; }
  .nav-right .login { display: none; }
  .nav-right .btn-sm .arrow { display: none; }
  .nav-right .btn-sm { min-height: 40px; height: 40px; padding: 0 16px; }
  .nav-mobile { left: 18px; right: 18px; }
  .container { padding: 0 22px; }
  .section { padding: 104px 0; }
  #why { padding-bottom: 72px; }
  .proof { padding-top: 72px; }
  .hero { padding: 148px 0 64px; }
  .hero-ctas { grid-template-columns: 1fr; width: 100%; }
  .hero-ctas .btn { min-width: 0; }
  .video-wrap { padding: 0 12px; }
  .video { aspect-ratio: 16 / 9; }
  .app { left: 5%; right: 5%; top: 6%; }
  .app-main { padding: 16px 16px 40px; }
  .play-pill { bottom: 14px; }
  .app-nav, .app-url, .app-row .app-panel:last-child, .org-row > span:nth-child(3), .org-row > span:nth-child(4) { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .app-kpis { grid-template-columns: 1fr 1fr; }
  .app-row { grid-template-columns: 1fr; }
  .org-row { grid-template-columns: 1.1fr 1.3fr .8fr; }
  .logos { padding-top: 64px; }
  .logo-row { gap: 14px 28px; } .logo-row li { font-size: 15px; }
  .how { padding: 80px 22px; }
  .arch-step { padding: 18px 16px; grid-template-columns: 30px 1fr; column-gap: 10px; }
  .cc { padding: 14px; }
  .arch > * { min-width: 0; }
  .cc-metrics { grid-template-columns: repeat(2, 1fr); }
  .sols { grid-template-columns: 1fr; }
  .org-head small, .sol em { display: none; }
  .bento, .why-grid { grid-template-columns: 1fr; }
  .why-grid { gap: 64px; }
  .outcomes { grid-template-columns: 1fr; row-gap: 0; padding: 16px 28px; border-radius: 22px; }
  .stat { padding: 36px 0; }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
  .stat b { margin-top: 24px; font-size: 64px; }
  .stat span { max-width: none; }
  .why-viz { height: 170px; padding: 20px; }
  .bcard.feat { grid-template-columns: 1fr; gap: 24px; padding: 26px; }
  .cta { padding-top: 96px; padding-bottom: 96px; }
  .hub { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .hub-lines { display: none; }
  .hub-core { margin: 0; }
  .hub-col.clients { max-width: none; justify-self: stretch; }
  .hub-col.models { grid-template-columns: 1fr 1fr; }
  .hub-col.models small { grid-column: 1 / -1; }
  .hub-col.models span { justify-self: stretch; text-align: center; }
  .feature-visual { padding: 24px; aspect-ratio: auto; }
  .footer { grid-template-columns: 1fr; padding: 64px 24px 48px; }
  .how-wrap { padding: 0 12px !important; }
  .btn { white-space: normal; text-align: center; height: auto; min-height: 48px; padding: 12px 20px; line-height: 1.35; max-width: 100%; }
}
