/* Aaurix AgentGrid — main stylesheet
   1 fonts · 2 tokens · 3 base · 4 type · 5 buttons · 6 header · 7 hero · 8 product UI pieces
   9 story · 10 band · 11 studio · 12 agencies · 13 trust · 14 integrations · 15 contact
   16 footer · 17 inner pages · 18 motion helpers · 19 reduced motion */

/* ------------------------------------------------------------------ 1 fonts */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

/* ------------------------------------------------------------------ 2 tokens */
:root {
	--bg: #f4f6fb;
	--surface: #ffffff;
	--surface-2: #f8f9fd;
	--line: #e4e8f1;
	--line-strong: #d3d9e6;
	--ink: #0a1020;
	--ink-2: #475066;
	--ink-3: #687186;

	--blue: #2a78d6;
	--blue-deep: #1c5cab;
	--blue-tint: #eff5fd;
	--violet: #6250d6;
	--violet-tint: #f3f1fc;
	--cyan: #12a4c7;
	--green: #1baf7a;
	--green-deep: #0f6e4d;
	--green-tint: #edfaf4;
	--coral: #eb6834;
	--coral-deep: #b34518;
	--coral-tint: #fdf1ec;
	--amber: #eda100;
	--amber-tint: #fff8e6;

	--font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--gutter: clamp(20px, 4.4vw, 64px);
	--max: 1320px;
	--header-h: 76px;

	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--r-xl: 32px;

	--shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 2px 8px -2px rgba(16, 24, 40, .05);
	--shadow-lift: 0 2px 4px -2px rgba(16, 24, 40, .05), 0 18px 40px -16px rgba(30, 50, 110, .24);
	--shadow-pop: 0 30px 70px -24px rgba(20, 30, 80, .38), 0 6px 16px rgba(16, 24, 40, .06);

	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ------------------------------------------------------------------ 3 base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-feature-settings: "cv11", "ss01", "ss03";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, dl, dd, figure, blockquote { margin: 0; }
::selection { background: rgba(98, 80, 214, .2); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------------ 4 type */
.display, .h1, .h2, h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
.display { font-size: clamp(2.6rem, 5.5vw, 5.1rem); line-height: 1.03; letter-spacing: -.04em; }
.display--xl { font-size: clamp(3rem, 8.4vw, 8rem); line-height: .98; letter-spacing: -.05em; }
.h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; }
.h2 { font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em; }
.lede { font-size: clamp(1.08rem, 1.3vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.lede--sm { font-size: 1.1rem; }
.sample-note { font-size: .8125rem; color: var(--ink-3); }

.section-head { display: grid; gap: 20px; max-width: 880px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { font-size: 1.125rem; color: var(--ink-2); max-width: 38em; text-wrap: pretty; }

/* ------------------------------------------------------------------ 5 buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 26px; border-radius: 999px;
	font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
	text-decoration: none; white-space: nowrap;
	transition: transform .5s var(--ease), box-shadow .3s, background-color .3s, color .3s, border-color .3s;
	will-change: transform;
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--primary { color: #fff; background: linear-gradient(120deg, var(--blue) 0%, #4d63da 50%, var(--violet) 100%); background-size: 180% 100%; box-shadow: 0 12px 30px -12px rgba(42, 120, 214, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 18px 36px -12px rgba(98, 80, 214, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ink { color: #fff; background: var(--ink); }
.btn--ink:hover { background: #1b2440; }
.btn--light { color: var(--ink); background: #fff; }
.btn--light:hover { background: #dfe8ff; }
.btn--link { min-height: 52px; padding: 0 6px; color: var(--blue-deep); text-decoration: underline; text-underline-offset: .3em; }

/* ------------------------------------------------------------------ 6 header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background-color .4s, box-shadow .4s, backdrop-filter .4s, transform .5s var(--ease); }
.site-header.is-stuck { background: rgba(244, 246, 251, .78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 rgba(10, 16, 32, .07); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.is-inner .site-header { background: rgba(244, 246, 251, .86); backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(10, 16, 32, .07); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.03em; }
.brand__by { font-size: .8125rem; color: var(--ink-3); align-self: flex-end; padding-bottom: 3px; }
.custom-logo { max-height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.site-nav .menu { display: flex; gap: clamp(14px, 2.2vw, 32px); }
.site-nav .menu a { position: relative; font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 0; transition: color .25s; }
.site-nav .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a, .site-nav .menu a.is-current { color: var(--ink); }
.site-nav .menu a:hover::after, .site-nav .menu a.is-current::after { transform: scaleX(1); transform-origin: left; }
.site-nav__cta { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: fixed; inset: var(--header-h) 12px auto 12px; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px); box-shadow: var(--shadow-pop); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top; transition: opacity .3s, transform .45s var(--ease), visibility .3s; }
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 14px 10px; font-size: 1.0625rem; color: var(--ink); border-bottom: 1px solid var(--line); }
	.site-nav .menu a::after { display: none; }
	.site-nav__cta { margin-top: 6px; min-height: 52px; }
	.brand__by { display: none; }
}

/* ------------------------------------------------------------------ 7 hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 28px) 0 64px; overflow: clip; isolation: isolate; }
.hero__art { position: absolute; inset: -4%; z-index: -3; background-size: cover; background-position: 70% 40%; animation: heroDrift 36s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(255, 255, 255, .5), transparent 65%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 26%; z-index: -1; background: linear-gradient(to bottom, rgba(244, 246, 251, 0), var(--bg)); pointer-events: none; }
.hero__grid { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 78%); mask-image: linear-gradient(100deg, transparent 40%, #000 78%); }
@keyframes heroDrift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.07) translate3d(-1.5%, 1.5%, 0); } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

.channels { margin-top: clamp(8px, 2.4vh, 28px); display: grid; gap: 12px; }
.channels__label { font-size: .875rem; color: var(--ink-3); }
.channels__list { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.channels__list li { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.channels__list .icon { color: var(--blue); }

/* the conversation stage */
.hero__stage { position: relative; justify-self: center; width: 100%; max-width: 400px; }
.stage { position: relative; }
.chat { position: relative; z-index: 1; border-radius: var(--r-xl); background: rgba(255, 255, 255, .86); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: var(--shadow-pop), inset 0 0 0 1px rgba(255, 255, 255, .9); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #0e8fa8; color: #fff; font-family: var(--font-display); font-weight: 600; }
.chat__who { display: grid; line-height: 1.25; }
.chat__who strong { font-family: var(--font-display); font-size: .9375rem; font-weight: 600; }
.chat__who span { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--ink-3); }
.chat__channel { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); font-size: .75rem; font-weight: 600; }
.chat__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-height: 356px; }
.chat__body .msg--agent { max-width: 76%; }
.chat__input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 12px 16px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); font-size: .875rem; }
.chat__input .icon { color: var(--blue); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.dot--live { box-shadow: 0 0 0 0 rgba(27, 175, 122, .5); animation: livePulse 2.2s ease-out infinite; }
@keyframes livePulse { to { box-shadow: 0 0 0 8px rgba(27, 175, 122, 0); } }

.float { position: absolute; z-index: 2; display: flex; align-items: flex-start; gap: 12px; max-width: 260px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(255, 255, 255, .9); font-size: .8125rem; line-height: 1.4; }
.float strong { display: block; font-family: var(--font-display); font-size: .875rem; font-weight: 600; }
.float span, .float q { display: block; color: var(--ink-2); }
.float q { quotes: none; margin-top: 4px; padding-left: 8px; border-left: 2px solid var(--blue); font-size: .78rem; }
.float__icon { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.float__icon--blue { background: var(--blue-tint); color: var(--blue); }
.float__icon--green { background: var(--green-tint); color: var(--green-deep); }
.float .float__ok { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--green-deep); font-weight: 600; }
.float__ok .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.float--source { right: calc(100% - 26px); top: 33%; width: 250px; }
.float--booking { left: calc(100% - 92px); bottom: 9%; width: 212px; }
.float--lead { right: calc(100% - 120px); bottom: -8%; width: 268px; align-items: center; }
.float--lead .ring { flex: none; width: 44px; height: 44px; }
.float--lead .ring__num { position: absolute; left: 16px; width: 44px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .875rem; }

.stage__note { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; font-size: .8125rem; color: var(--ink-3); text-align: center; }
.stage__replay { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 999px; color: var(--blue-deep); font-weight: 600; }
.stage__replay:hover { background: rgba(255, 255, 255, .7); }
html:not(.js) .stage__replay { display: none; }
.stage__replay .icon { width: 15px; height: 15px; }

/* conversation choreography (only when scripts run) */
.js [data-convo] [data-step] { display: none; }
.js [data-convo] [data-step].is-in { display: block; animation: msgIn .6s var(--ease) both; }
.js [data-convo] .float { opacity: 0; transform: translateY(18px) scale(.94); transition: opacity .5s, transform .8s var(--ease); }
.js [data-convo] .float.is-in { opacity: 1; transform: none; }
.js [data-convo] .float.is-in.float--source { animation: bob 7s ease-in-out 1s infinite; }
.js [data-convo] .float.is-in.float--booking { animation: bob 8s ease-in-out 1.4s infinite reverse; }
.js [data-convo] .float.is-in.float--lead { animation: bob 9s ease-in-out 1.8s infinite; }
.js [data-convo] .float:not(.is-in) .ring__val { stroke-dasharray: 0 100; }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes bob { 50% { transform: translateY(-7px); } }

@media (min-width: 1081px) and (max-width: 1340px) {
	.float--source { width: 204px; right: calc(100% - 26px); top: 22%; }
	.float--booking { left: calc(100% - 150px); bottom: -4%; }
	.float--lead { bottom: -10%; }
}
@media (max-width: 1080px) {
	.hero { min-height: 0; padding-bottom: 40px; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__stage { max-width: 400px; margin-top: 12px; }
	.float--source { width: 196px; right: calc(100% - 22px); }
	.float--lead { width: 226px; right: calc(100% - 64px); }
	.float--booking { width: 190px; left: calc(100% - 64px); }
	.hero__grid { -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 70%); mask-image: linear-gradient(180deg, transparent 30%, #000 70%); }
	.hero__art { background-position: 80% 80%; }
}
@media (max-width: 800px) {
	.hero__stage { max-width: 460px; justify-self: start; }
	.float, .float--source, .float--booking, .float--lead { position: relative; inset: auto; width: auto; max-width: none; margin-top: 10px; }
	.float--lead .ring__num { left: 16px; }
	.stage__note { margin-top: 20px; }
	.chat__body { min-height: 330px; }
	.hero__cta .btn { flex: 1 1 auto; }
}

/* ------------------------------------------------------------------ 8 product UI pieces */
.msg { max-width: 84%; padding: 11px 15px; border-radius: 18px; font-size: .9375rem; line-height: 1.45; }
.msg--user { align-self: flex-end; margin-left: auto; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg--agent { align-self: flex-start; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.msg--human { align-self: flex-start; background: var(--coral-tint); box-shadow: inset 0 0 0 1px #f6d3c3; border-bottom-left-radius: 6px; }
.msg__by { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .78rem; font-weight: 600; color: var(--coral-deep); }
.msg__by b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; font-size: .7rem; }
.msg--typing { display: inline-flex; gap: 5px; align-items: center; padding: 15px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typing 1.1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

.cite { display: inline-flex; align-items: center; gap: 6px; margin: 8px 6px 0 0; padding: 3px 10px 3px 4px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-deep); font-size: .78rem; font-weight: 600; }
.cite b { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .68rem; }

.tag { padding: 4px 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-deep); font-size: .75rem; font-weight: 600; }
.tag--coral { background: var(--coral-tint); color: var(--coral-deep); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 8px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.pill .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.pill--green { background: var(--green-tint); color: var(--green-deep); }

.ui { display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 2vw, 26px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-pop), inset 0 0 0 1px #fff; }
.ui--stack { gap: 14px; background: none; box-shadow: none; padding: 0; }
.ui__bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: .9375rem; }

.sources { margin-top: 6px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.sources__title { font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
.source { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; font-size: .8125rem; line-height: 1.4; }
.source + .source { padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.source__n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700; }
.source strong { display: block; font-size: .875rem; }
.source span { color: var(--ink-3); }
.source q { display: block; quotes: none; margin-top: 4px; color: var(--ink-2); }
.source mark { color: inherit; background: linear-gradient(rgba(237, 161, 0, .3), rgba(237, 161, 0, .3)) no-repeat 0 85% / 100% 55%; transition: background-size 1s var(--ease-in-out) .5s; }
.score { display: grid; justify-items: end; gap: 4px; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-2); }
.score i { display: block; width: 46px; height: 5px; border-radius: 99px; background: linear-gradient(var(--green), var(--green)) no-repeat 0 0 / var(--w) 100%, var(--line); transition: background-size 1s var(--ease) .4s; }

.card { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-lift), inset 0 0 0 1px #fff; font-size: .875rem; }
.card__main { flex: 1; display: grid; gap: 2px; }
.card strong, .insight strong { font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.card__main > span { color: var(--ink-2); }
.card__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.card__icon--green { background: var(--green-tint); color: var(--green-deep); }
.card__icon--blue { background: var(--blue-tint); color: var(--blue); }
.card__icon--amber { background: var(--amber-tint); color: #9a6700; }
.card--sync { align-items: center; }
.card--lead { margin-left: clamp(0px, 4vw, 56px); }
.card--sync { margin-right: clamp(0px, 4vw, 56px); }

.ticks { margin-top: 10px; display: grid; gap: 6px; }
.ticks li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); transition: opacity .5s, transform .6s var(--ease); }
.ticks .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; }
.ticks li:nth-child(2) { transition-delay: .25s; }
.ticks li:nth-child(3) { transition-delay: .5s; }

.ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 4.5; }
.ring .ring__val { stroke: var(--green); stroke-linecap: round; stroke-dasharray: var(--val) 100; transition: stroke-dasharray 1.4s var(--ease) .2s; }
.score-ring { position: relative; flex: none; display: grid; place-items: center; }
.score-ring .ring__num { position: absolute; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }

.bars { margin-top: 10px; display: grid; gap: 7px; }
.bars li { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 10px; font-size: .8125rem; color: var(--ink-2); }
.bars i { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--violet)) no-repeat 0 0 / var(--w) 100%, var(--line); transition: background-size 1.1s var(--ease) .3s; }
.bars li:nth-child(2) i { transition-delay: .4s; }
.bars li:nth-child(3) i { transition-delay: .5s; }
.bars li:nth-child(4) i { transition-delay: .6s; }

.sysline { display: flex; align-items: center; gap: 8px; align-self: center; padding: 6px 14px; border-radius: 999px; background: var(--coral-tint); color: var(--coral-deep); font-size: .8125rem; font-weight: 600; }
.sysline .icon { width: 16px; height: 16px; }
.sysline--quiet { background: none; color: var(--green-deep); align-self: flex-start; padding: 0 4px; }
.summary { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-left: 3px solid var(--coral); font-size: .875rem; }
.summary strong { display: block; margin-bottom: 4px; font-size: .8125rem; color: var(--ink-3); font-weight: 600; }

.insight { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-lift), inset 0 0 0 1px #fff; font-size: .875rem; }
.insight p { margin-top: 4px; color: var(--ink-2); }
.insight__action { display: inline-block; margin-top: 12px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .8125rem; }
.chart { padding: 18px 20px 12px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-lift), inset 0 0 0 1px #fff; }
.chart__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 10px; font-size: .8125rem; color: var(--ink-2); }
.chart__head strong { margin-right: auto; font-family: var(--font-display); font-size: .9375rem; font-weight: 600; color: var(--ink); }
.key::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--blue); }
.key--coral::before { background: var(--coral); }
.chart svg { width: 100%; height: 150px; overflow: visible; clip-path: inset(-10px -10px -10px -10px); transition: clip-path 1.8s var(--ease-in-out) .25s; }
.chart__grid path { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__line--blue { stroke: var(--blue); }
.chart__line--coral { stroke: var(--coral); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpis div { padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-card), inset 0 0 0 1px #fff; }
.kpis dt { font-size: .78rem; color: var(--ink-3); line-height: 1.3; }
.kpis dd { margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* resting state before a panel goes live */
.js .panel:not(.is-live) .ring__val { stroke-dasharray: 0 100; }
.js .panel:not(.is-live) .bars i, .js .panel:not(.is-live) .score i { background-size: 0 100%, auto; }
.js .panel:not(.is-live) .source mark { background-size: 0 55%; }
.js .panel:not(.is-live) .ticks li { opacity: 0; transform: translateX(-8px); }
.js .panel:not(.is-live) .chart svg { clip-path: inset(-10px 100% -10px -10px); transition: none; }
.js .panel:not(.is-live) .card, .js .panel:not(.is-live) .insight, .js .panel:not(.is-live) .chart, .js .panel:not(.is-live) .kpis div, .js .panel:not(.is-live) .summary, .js .panel:not(.is-live) .msg--human, .js .panel:not(.is-live) .sysline { opacity: 0; transform: translateY(16px); }
.panel .card, .panel .insight, .panel .chart, .panel .kpis div, .panel .summary, .panel .msg--human, .panel .sysline { transition: opacity .6s, transform .8s var(--ease); }
.panel .card:nth-child(2), .panel .chart, .panel .summary { transition-delay: .12s; }
.panel .card:nth-child(3), .panel .kpis div, .panel .msg--human { transition-delay: .24s; }
.panel .sysline--quiet { transition-delay: .5s; }

/* ------------------------------------------------------------------ 9 story */
.story { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.story__grid { position: relative; }
.story__text { display: grid; gap: clamp(28px, 4vw, 44px); }
.story__steps { position: relative; display: grid; gap: clamp(40px, 7vw, 72px); counter-reset: step; }
.story__step { counter-increment: step; display: grid; gap: 24px; }
.story__copy { position: relative; padding-left: 60px; }
.story__copy::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--ink-3); transition: background-color .4s, color .4s, box-shadow .4s, transform .6s var(--ease); }
.story__copy h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.2; letter-spacing: -.025em; transition: color .4s; }
.story__copy p { margin-top: 10px; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.story__step.is-active .story__copy::before { background: var(--ink); color: #fff; box-shadow: none; }

@media (min-width: 1000px) and (min-height: 660px) {
	.js .story { padding: 0; height: calc(100vh + 300vh); }
	.js .story__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: clip; padding-top: var(--header-h); }
	.js .story__sticky::before { content: ""; position: absolute; right: -10%; top: 8%; width: 62%; height: 84%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(98, 80, 214, .16), rgba(42, 120, 214, .1) 45%, transparent 75%); filter: blur(20px); transform: translate3d(0, calc(var(--p, 0) * -8%), 0) rotate(calc(var(--p, 0) * 40deg)); }
	.js .story__text { width: 44%; gap: 36px; }
	.js .story__steps { position: static; gap: 0; }
	.js .story__step { display: block; padding-bottom: 26px; }
	.js .story__step:not(:last-child) .story__copy::after { content: ""; position: absolute; left: 19.25px; top: 40px; bottom: -22px; width: 1.5px; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 100% 0%, var(--line-strong); transition: background-size .7s var(--ease); }
	.js .story__step.is-done .story__copy::after { background-size: 100% 100%, auto; }
	.js .story__copy { z-index: 1; cursor: pointer; }
	.js .story__copy p { max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .35s, margin-top .7s var(--ease); }
	.js .story__step.is-active .story__copy p { max-height: 9em; margin-top: 10px; opacity: 1; transition-delay: 0s, .15s, 0s; }
	.js .story__step:not(.is-active) h3 { color: var(--ink-3); }
	.js .story__step.is-done .story__copy::before { background: var(--ink); color: #fff; box-shadow: none; }
	.js .story__step.is-active .story__copy::before { transform: scale(1.12); }
	.js .panel { position: absolute; left: 51%; right: var(--gutter); top: 50%; opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 56px)) scale(.96); transition: opacity .5s, transform .9s var(--ease), visibility .5s; }
	.js .story__step.is-done .panel { transform: translateY(calc(-50% - 56px)) scale(.96); }
	.js .story__step.is-active .panel { opacity: 1; visibility: visible; transform: translateY(-50%); }
}
@keyframes stepOpen { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 999px), (max-height: 659px) {
	.panel { max-width: 620px; }
}

/* ------------------------------------------------------------------ 10 band */
.band { padding: clamp(24px, 4vw, 56px) 0; }
.band__frame { position: relative; height: min(94vh, 980px); min-height: 520px; overflow: hidden; clip-path: inset(0 var(--inset, 0px) round var(--round, 0px)); }
.band__img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: 50% 60%; transform: translate3d(0, var(--shift, 0px), 0) scale(var(--zoom, 1)); will-change: transform; }
.band__copy { position: relative; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding: clamp(40px, 9vh, 110px) calc(var(--gutter) + var(--inset, 0px)) 0; display: grid; gap: 22px; }
.band__copy p { max-width: 30em; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* ------------------------------------------------------------------ 11 studio */
.studio { padding: clamp(72px, 10vw, 150px) 0; }
.studio__board { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-lift), inset 0 0 0 1px #fff; overflow: hidden; }
.studio__steps { display: grid; align-content: start; padding: 14px; background: var(--surface-2); border-right: 1px solid var(--line); }
.studio__steps button { position: relative; width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 16px; border-radius: var(--r-md); text-align: left; font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: -.01em; color: var(--ink-3); overflow: hidden; transition: color .3s, background-color .3s, box-shadow .3s; }
.studio__steps button:hover { color: var(--ink); }
.studio__steps button[aria-selected="true"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
.studio__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .3s, color .3s, box-shadow .3s; }
.studio__steps button[aria-selected="true"] .studio__n { background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; box-shadow: none; }
.studio__timer { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--violet)); transform: scaleX(0); transform-origin: left; }
.is-auto button[aria-selected="true"] .studio__timer { animation: timer var(--auto-ms, 5200ms) linear forwards; }
@keyframes timer { to { transform: scaleX(1); } }

.studio__panels { position: relative; padding: clamp(22px, 3.4vw, 48px); min-height: 440px; }
.studio__panel { display: grid; gap: 22px; align-content: start; }
.studio__panel[hidden] { display: none; }
.studio__panel.is-active { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(18px); } }
.studio__hint { font-size: 1.0625rem; color: var(--ink-2); max-width: 36em; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 12px; }
.tile { width: 100%; height: 100%; display: grid; gap: 4px; justify-items: start; padding: 18px; border-radius: var(--r-md); text-align: left; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background-color .3s, transform .5s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-card); }
.tile .icon { width: 26px; height: 26px; margin-bottom: 10px; color: var(--ink-3); transition: color .3s; }
.tile strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.tile span { font-size: .8125rem; color: var(--ink-3); }
.tile.is-picked { background: var(--blue-tint); box-shadow: inset 0 0 0 2px var(--blue); }
.tile.is-picked .icon { color: var(--blue); }
.tile.is-picked span { color: var(--blue-deep); }

.field { display: grid; gap: 10px; }
.field__label { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.field__box { display: inline-flex; align-items: center; min-height: 52px; max-width: 420px; padding: 0 16px; border-radius: var(--r-sm); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 1rem; }
.caret { width: 1.5px; height: 1.2em; margin-left: 2px; background: var(--blue); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .9375rem; transition: background-color .25s, box-shadow .25s, color .25s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.chip.is-picked { background: var(--ink); color: #fff; box-shadow: none; }

.files { display: grid; gap: 10px; }
.files li { display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(60px, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .9375rem; }
.files .icon { color: var(--blue); width: 22px; height: 22px; }
.files strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files em { font-style: normal; font-size: .8125rem; color: var(--ink-3); min-width: 84px; text-align: right; }
.files__bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.files__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.studio__panel.is-active .files__bar i { animation: fill 1.4s var(--ease) both; }
.studio__panel.is-active .files li:nth-child(2) i { animation-delay: .2s; }
.studio__panel.is-active .files li:nth-child(3) i { animation-delay: .4s; animation-duration: 2.4s; }
@keyframes fill { from { width: 0; } }

.switches { display: grid; gap: 4px; }
.switches--grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.switch { width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: var(--r-md); text-align: left; font-size: 1rem; transition: background-color .25s; }
.switch:hover { background: var(--surface-2); }
.switches--grid .switch { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 16px; }
.switch > i { flex: none; position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--line-strong); transition: background-color .3s; }
.switch > i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10, 16, 32, .3); transition: transform .45s var(--ease); }
.switch[aria-checked="true"] > i { background: var(--green); }
.switch[aria-checked="true"] > i::after { transform: translateX(18px); }
.switch span { display: inline-flex; align-items: center; gap: 10px; }
.switch span .icon { color: var(--ink-3); }

.playground { display: flex; flex-direction: column; gap: 10px; max-width: 520px; padding: 18px; border-radius: var(--r-lg); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.playground .msg--agent { background: #fff; }
.launch { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.launch__state { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; color: var(--ink-3); }
.launch__state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.launch.is-live .launch__state { color: var(--green-deep); }
.launch.is-live .launch__state::before { background: var(--green); animation: livePulse 1.8s ease-out infinite; }
.launch.is-live .btn { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }

@media (max-width: 860px) {
	.studio__board { grid-template-columns: 1fr; }
	.studio__steps { display: flex; gap: 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; scroll-snap-type: x proximity; }
	.studio__steps::-webkit-scrollbar { display: none; }
	.studio__steps li { flex: none; scroll-snap-align: start; }
	.studio__steps button { padding: 12px 14px; white-space: nowrap; }
	.studio__panels { min-height: 480px; }
	.tiles { grid-template-columns: 1fr 1fr; }
	.tile { padding: 14px; }
	.files li { grid-template-columns: auto 1fr auto; }
	.files__bar { grid-column: 1 / -1; order: 4; }
}

/* ------------------------------------------------------------------ 12 agencies */
.agencies { position: relative; padding: clamp(72px, 10vw, 150px) 0; background: var(--surface); }
.agencies__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.agencies__copy { display: grid; gap: 24px; }
.facts { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(20px, 3vw, 44px); }
.facts dt { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.facts dd { margin-top: 6px; font-size: .9375rem; color: var(--ink-2); }

.tenant { --tenant: #0e8fa8; position: relative; display: grid; gap: 18px; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-xl); background: color-mix(in srgb, var(--tenant) 9%, var(--bg)); transition: background-color .7s; overflow: hidden; }
.tenant::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -30%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tenant) 34%, transparent), transparent); transition: background .7s; pointer-events: none; }
.tenant__label { position: relative; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.tenant__switch { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tenant__btn { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(10, 16, 32, .08); text-align: left; transition: background-color .3s, box-shadow .3s, transform .5s var(--ease); }
.tenant__btn:hover { background: #fff; transform: translateY(-2px); }
.tenant__btn.is-picked { background: #fff; box-shadow: inset 0 0 0 2px var(--tenant), var(--shadow-card); }
.tenant__btn i { flex: none; width: 14px; height: 14px; border-radius: 50%; }
.tenant__btn span { display: grid; line-height: 1.25; min-width: 0; }
.tenant__btn strong { font-size: .875rem; font-weight: 600; line-height: 1.2; }
.tenant__btn em { font-style: normal; font-size: .75rem; color: var(--ink-3); }

.widget { position: relative; justify-self: center; width: min(100%, 360px); margin-top: 10px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-pop); overflow: hidden; }
.widget__head { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 18px; background: var(--tenant); color: #fff; transition: background-color .7s; }
.widget__avatar { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); font-family: var(--font-display); font-weight: 600; }
.widget__head strong { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.widget__head span:last-child { font-size: .8125rem; opacity: .85; line-height: 1.2; }
.widget__body { display: grid; gap: 12px; padding: 18px; min-height: 170px; align-content: start; }
.widget__msg { max-width: 88%; padding: 11px 15px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .9375rem; line-height: 1.45; }
.widget__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.widget__chips span { padding: 7px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--tenant); box-shadow: inset 0 0 0 1.5px var(--tenant); transition: color .7s, box-shadow .7s; }
.widget__input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .875rem; color: var(--ink-3); }
.widget__input b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tenant); color: #fff; transition: background-color .7s; }
.widget__input .icon { width: 17px; height: 17px; }
.widget.is-swapping .widget__msg, .widget.is-swapping .widget__chips { animation: msgIn .6s var(--ease) both; }
.widget.is-swapping .widget__chips { animation-delay: .12s; }
.tenant .sample-note { position: relative; text-align: center; }

@media (max-width: 960px) {
	.agencies__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.facts { grid-template-columns: 1fr; }
	.tenant__switch { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ 13 trust */
.trust { padding: clamp(72px, 10vw, 150px) 0; }
.trust__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

.redact { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--ink); color: #fff; box-shadow: var(--shadow-pop); overflow: hidden; }
.redact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at 100% 0%, rgba(98, 80, 214, .45), transparent 60%), radial-gradient(500px circle at 0% 100%, rgba(18, 164, 199, .25), transparent 60%); pointer-events: none; }
.redact > * { position: relative; }
.redact__head { display: grid; gap: 16px; }
.redact__head strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); justify-self: start; }
.seg button { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .7); transition: background-color .3s, color .3s; }
.seg button.is-picked { background: #fff; color: var(--ink); }
.redact__text { font-family: var(--font-mono); font-size: clamp(.95rem, 1.25vw, 1.12rem); line-height: 1.9; color: rgba(255, 255, 255, .92); min-height: 7.6em; }
.pii { padding: 2px 7px; border-radius: 7px; background: rgba(237, 161, 0, .2); box-shadow: inset 0 0 0 1px rgba(237, 161, 0, .5); color: #ffd98a; white-space: nowrap; transition: background-color .4s, box-shadow .4s, color .4s; }
.pii.is-safe { background: rgba(98, 80, 214, .35); box-shadow: inset 0 0 0 1px rgba(160, 145, 255, .7); color: #cfc8ff; }
.redact__note { font-size: .9375rem; color: rgba(255, 255, 255, .72); }

.ledger { display: grid; }
.ledger li { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line-strong); }
.ledger li:last-child { border-bottom: 1px solid var(--line-strong); }
.ledger .icon { width: 26px; height: 26px; margin-top: 2px; color: var(--violet); }
.ledger strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.015em; }
.ledger p { margin-top: 4px; color: var(--ink-2); max-width: 34em; }

@media (max-width: 960px) {
	.trust__grid { grid-template-columns: 1fr; }
	.redact { position: relative; top: auto; }
	.seg { grid-template-columns: 1fr; border-radius: 22px; justify-self: stretch; }
}

/* ------------------------------------------------------------------ 14 integrations */
.connect { padding: clamp(72px, 10vw, 150px) 0; background: var(--surface); }
.flow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 1.1fr) minmax(0, 1fr); align-items: center; gap: 0; }
.flow__from, .flow__to { position: relative; z-index: 1; display: grid; gap: 14px; }
.flow__from li, .flow__to li { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px; border-radius: var(--r-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; transition: box-shadow .4s, background-color .4s, transform .5s var(--ease); }
.flow__from .icon { color: var(--blue); }
.flow__to li.is-hit { background: var(--green-tint); box-shadow: inset 0 0 0 1.5px var(--green); transform: translateX(6px); }
.flow__from li.is-hit { background: var(--blue-tint); box-shadow: inset 0 0 0 1.5px var(--blue); }
.flow__wires { position: relative; align-self: stretch; min-height: 100%; }
.flow__wires > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow__wires > svg path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.flow__wires .pulse { stroke: none; }
.flow__hub { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 24px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line); }
.flow__hub .brand__mark { width: 44px; height: 44px; }
.flow__hub.is-hit { animation: hubHit .5s var(--ease); }
@keyframes hubHit { 40% { transform: scale(1.1); } }

@media (max-width: 760px) {
	.flow { grid-template-columns: 1fr; gap: 18px; }
	.flow__wires { height: 96px; min-height: 0; }
	.flow__wires > svg { display: none; }
	.flow__wires::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: var(--line-strong); }
	.flow__to { grid-template-columns: 1fr 1fr; gap: 10px; }
	.flow__to li, .flow__from li { min-height: 52px; padding: 0 16px; font-size: .9375rem; }
}

/* ------------------------------------------------------------------ 15 contact */
.contact { position: relative; padding: clamp(88px, 12vw, 180px) 0; color: #fff; background: #090d1e; overflow: clip; isolation: isolate; }
.contact__art { position: absolute; left: 0; top: -10%; z-index: -2; width: 100%; height: 120%; object-fit: cover; object-position: 50% 70%; transform: translate3d(0, var(--shift, 0px), 0); will-change: transform; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 13, 30, .5) 0%, rgba(9, 13, 30, .15) 45%, rgba(9, 13, 30, .72) 100%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__copy { display: grid; gap: 26px; }
.contact .lede { color: rgba(255, 255, 255, .78); }
.contact__direct { display: grid; gap: 6px; justify-items: start; font-size: .9375rem; color: rgba(255, 255, 255, .65); }
.contact__direct a { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -.03em; color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1.5px; transition: background-size .5s var(--ease); }
.contact__direct a:hover { background-size: 0 1.5px; background-position: 100% 100%; }

.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: rgba(14, 20, 44, .62); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: grid; gap: 8px; }
.form__field span { font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.form__field input, .form__field textarea { width: 100%; padding: 14px 16px; border: 0; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #fff; font: inherit; font-size: 1rem; transition: box-shadow .25s, background-color .25s; }
.form__field textarea { resize: vertical; min-height: 120px; }
.form__field input:focus, .form__field textarea:focus { outline: none; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 2px #8fb6ff; }
.form__field input.is-invalid { box-shadow: inset 0 0 0 2px #ff9d7a; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__status { flex: 1 1 220px; font-size: .9375rem; color: rgba(255, 255, 255, .8); }
.form__status.is-sent { color: #7fe3b8; }
.form__status.is-error { color: #ffb59a; }
.form.is-busy .btn { opacity: .6; pointer-events: none; }
.form.is-done .form__field, .form.is-done .form__row { opacity: .5; }

@media (max-width: 900px) {
	.contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.form__row { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ 16 footer */
.site-footer { padding: clamp(48px, 6vw, 80px) 0 28px; background: var(--bg); font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: start; }
.site-footer__brand { display: grid; gap: 14px; justify-items: start; color: var(--ink-2); }
.site-footer .menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.site-footer a { text-decoration: none; color: var(--ink-2); transition: color .25s; }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand { color: var(--ink); }
.site-footer__contact { display: grid; gap: 10px; justify-items: end; }
.site-footer a.site-footer__email { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }
.site-footer__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; gap: 16px; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 760px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__contact { justify-items: start; }
}

/* ------------------------------------------------------------------ 17 inner pages (blog, pages, search, 404) */
.inner { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) var(--gutter) clamp(64px, 9vw, 120px); }
.inner--narrow { max-width: calc(780px + var(--gutter) * 2); }
.inner__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.inner__head time, .post-card time { font-size: .875rem; color: var(--ink-3); }
.inner__media { margin-bottom: 36px; border-radius: var(--r-lg); overflow: hidden; }
.inner__foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-strong); }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.post-card { display: grid; align-content: start; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; transition: transform .6s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.post-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { display: grid; gap: 10px; padding: 24px; }
.post-card h2 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.02em; }
.post-card h2 a { text-decoration: none; }
.post-card p { color: var(--ink-2); font-size: .9375rem; }

.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { font-size: 1.9rem; line-height: 1.2; letter-spacing: -.03em; margin-top: 2em; }
.prose h3 { font-size: 1.4rem; line-height: 1.25; letter-spacing: -.02em; margin-top: 1.8em; }
.prose a { color: var(--blue-deep); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote { padding-left: 22px; border-left: 3px solid var(--violet); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; letter-spacing: -.015em; }
.prose img, .prose figure { border-radius: var(--r-md); }
.prose figcaption { margin-top: 8px; font-size: .875rem; color: var(--ink-3); }
.prose pre { padding: 20px; border-radius: var(--r-md); background: var(--ink); color: #e7ecff; font-family: var(--font-mono); font-size: .9rem; overflow-x: auto; }
.prose code { font-family: var(--font-mono); font-size: .9em; }
.prose :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-strong); text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); }
.alignwide { margin-inline: clamp(-120px, -8vw, 0px); max-width: none; }
.aligncenter { margin-inline: auto; }
.wp-block-button__link { border-radius: 999px; background: var(--ink); color: #fff; padding: 14px 26px; font-family: var(--font-display); font-weight: 600; text-decoration: none; }

.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 5px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .8125rem; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; }
.nav-links a, .nav-links .current { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); text-decoration: none; font-weight: 500; }
.nav-links .current { background: var(--ink); color: #fff; box-shadow: none; }
.pagination .nav-links { justify-content: center; }

.empty { display: grid; gap: 20px; justify-items: start; font-size: 1.125rem; color: var(--ink-2); }
.search-form { display: flex; gap: 8px; width: min(100%, 460px); }
.search-form label { flex: 1; }
.search-field, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font: inherit; color: var(--ink); }
.search-submit, .comment-form .submit { min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1rem; cursor: pointer; }

.comments { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.comments__title, .comment-reply-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 20px; }
.comments__list { display: grid; gap: 20px; margin-bottom: 40px; }
.comments__list .children { margin: 20px 0 0 28px; display: grid; gap: 20px; }
.comment-body { padding: 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .8125rem; color: var(--ink-3); margin: 4px 0 10px; }
.comment-form { display: grid; gap: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; }

/* ------------------------------------------------------------------ 18 motion helpers */
/* headlines: words rise out of a mask */
.w { display: inline-block; overflow: clip; overflow-clip-margin: .08em; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w__i { display: inline-block; transform: translateY(112%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.is-split-in .w__i { transform: none; }
.js [data-split]:not(.is-split) { visibility: hidden; }

/* hero supporting copy follows the headline */
.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity .8s, transform 1s var(--ease); transition-delay: calc(var(--rise-base, 500ms) + var(--n, 1) * 120ms); }
.js [data-rise="1"] { --n: 1; }
.js [data-rise="2"] { --n: 2; }
.js [data-rise="3"] { --n: 3; }
.js .is-ready [data-rise] { opacity: 1; transform: none; }
.js .hero__stage { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity 1s .35s, transform 1.4s var(--ease) .35s; }
.js .is-ready .hero__stage { opacity: 1; transform: none; }

/* large blocks settle in once */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s, transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ 19 reduced motion */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.hero__art { animation: none; }
	.w__i { transform: none; }
	.js [data-rise], .js .hero__stage, .js [data-reveal] { opacity: 1; transform: none; }
}
