/* ==========================================================================
   Picobean landing — /kr/ and /en/
   ========================================================================== */

:root {
    --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
    --font-mono: "Geist Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, var(--font-sans);

    --bg: #ffffff;
    --surface: #f1f3f6;
    --surface-2: #e8ebf0;
    --text: #1d2129;
    --muted: #586070;
    --faint: #8b93a1;
    --line: #e2e5ea;
    --line-soft: #eef0f3;

    --accent: #008cff;
    --accent-text: #0070d6;
    --accent-bright: #5cb6ff;
    --accent-soft: #eaf4ff;
    --accent-line: #b8dbff;
    --brand-gradient: linear-gradient(150deg, #7a5cff 0%, #2a52e0 52%, #1a2f8a 100%);

    --highlight: #008cff;
    --highlight-hover: #1a97ff;
    --orange-gradient: linear-gradient(90deg, #8ecbff 0%, #61b8ff 100%);
    --deep-gradient: #07080b;

    --night: #07080b;
    --night-2: #111318;
    --night-3: #181b22;
    --night-line: rgba(255, 255, 255, 0.1);
    --night-muted: rgba(255, 255, 255, 0.64);
    --night-faint: rgba(255, 255, 255, 0.42);

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

    --person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Ccircle cx='12' cy='8.5' r='4.2'/%3E%3Cpath d='M3.5 22c0-4.8 3.8-7.6 8.5-7.6s8.5 2.8 8.5 7.6z'/%3E%3C/svg%3E");

    /* Finish: elevation, edges and texture. Compose as `box-shadow: var(--ring), var(--shadow-sm)`. */
    --ink: 15, 23, 42;
    --ring: 0 0 0 1px rgba(var(--ink), 0.07);
    --shadow-xs: 0 1px 2px rgba(var(--ink), 0.06);
    --shadow-sm: 0 1px 2px rgba(var(--ink), 0.05), 0 4px 10px -4px rgba(var(--ink), 0.1);
    --shadow-md: 0 1px 2px rgba(var(--ink), 0.04), 0 8px 16px -8px rgba(var(--ink), 0.08), 0 24px 40px -24px rgba(var(--ink), 0.18);
    --shadow-lg: 0 2px 4px rgba(var(--ink), 0.03), 0 16px 32px -16px rgba(var(--ink), 0.1), 0 48px 80px -40px rgba(var(--ink), 0.28);
    --edge-light: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --edge-night: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --grain-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 -1.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 3 0 0 0 -1.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    --dot-grid: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px) 0 0 / 24px 24px;

    --max: 1280px;
    --gutter: clamp(20px, 4vw, 40px);
    --nav-h: 56px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 36px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    word-break: keep-all;
    overflow-wrap: break-word;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

em {
    font-style: normal;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: calc(var(--max) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.mono {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------- Section scaffolding ---------- */

.section {
    padding: clamp(96px, 11vw, 160px) 0;
}

.section--surface {
    background: var(--surface);
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 880px;
    margin: 0 auto clamp(48px, 6vw, 72px);
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px 15px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--ring), var(--shadow-sm);
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.eyebrow:has(.bot, .person-avi) {
    padding-left: 7px;
}

.eyebrow .bot {
    width: 22px;
}

.eyebrow .person-avi {
    width: 24px;
    height: 24px;
}

.section-title {
    font-size: clamp(32px, 4.2vw, 56px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.section-title em {
    font-weight: 750;
    color: var(--text);
    background: linear-gradient(90deg, #4f2ad4 0%, #1a46c8 100%) left bottom / 100% 3px no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-bottom: 0.06em;
}

.section-lede {
    max-width: 640px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.7;
    text-wrap: pretty;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 650;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--icon {
    padding-right: 7px;
}

.btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.25s var(--ease-out);
}

.btn__icon svg {
    width: 16px;
    height: 16px;
}

.btn:hover .btn__icon {
    transform: translateX(2px);
}

.btn--sm {
    height: 40px;
    padding: 0 18px;
    gap: 7px;
    font-size: 14px;
}

.btn__lead {
    flex: none;
    width: 16px;
    height: 16px;
}

.btn__badge {
    display: inline-flex;
    flex: none;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0, 58, 128, 0.22);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.btn--sm .btn__badge {
    height: 18px;
    padding: 0 6px;
    font-size: 10.5px;
}

.btn--accent:has(.btn__badge) {
    gap: 8px;
    padding-left: 8px;
}

.btn--sm.btn--accent:has(.btn__badge) {
    padding-right: 14px;
}

.btn--accent {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 58%, rgba(0, 52, 128, 0.1) 100%), var(--accent);
    background-origin: border-box;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 -1px 0 rgba(0, 58, 128, 0.2), 0 1px 2px rgba(0, 82, 168, 0.4), 0 10px 22px -10px rgba(0, 140, 255, 0.7);
}

.btn--accent:hover {
    background-color: #1a97ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), inset 0 -1px 0 rgba(0, 58, 128, 0.2), 0 2px 4px rgba(0, 82, 168, 0.35), 0 16px 28px -12px rgba(0, 140, 255, 0.8);
}

.btn--accent .btn__icon {
    background: #fff;
    color: var(--accent);
}

.btn--light {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%), #f4f5f8;
    background-origin: border-box;
    color: var(--text);
    box-shadow: var(--ring), var(--shadow-sm);
}

.btn--light:hover {
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(var(--ink), 0.12), var(--shadow-md);
}

.btn--dark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 62%), var(--text);
    background-origin: border-box;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(var(--ink), 0.3), 0 8px 18px -10px rgba(var(--ink), 0.55);
}

.btn--dark:hover {
    background-color: #343944;
}

.btn--outline {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
}

.btn--outline:hover {
    border-color: #b9c0ca;
    background: #fff;
}

.btn__arrow {
    width: 16px;
    height: 16px;
}

/* ---------- Agent mascot ---------- */

.bot {
    --bot-body: #3b4a45;
    --bot-face: #f3e8cd;
    --bot-eye: #2b3632;
    --bot-sprout: #3b4a45;
    display: inline-block;
    flex: none;
    width: 32px;
    height: auto;
    aspect-ratio: 216 / 240;
    overflow: visible;
}

.bot--blue { --bot-body: #1a8cff; --bot-face: #cfe6ff; --bot-eye: #0e2a47; --bot-sprout: #2fb67c; }
.bot--mint { --bot-body: #2bb98b; --bot-face: #d0f2e4; --bot-eye: #0f3b2d; --bot-sprout: #1e8f69; }
.bot--coral { --bot-body: #ff7a66; --bot-face: #ffd9cd; --bot-eye: #4a1f18; --bot-sprout: #2fb67c; }
.bot--sun { --bot-body: #ffc23d; --bot-face: #ffe9a8; --bot-eye: #4a3510; --bot-sprout: #2fb67c; }
.bot--lilac { --bot-body: #9b87f5; --bot-face: #ded6ff; --bot-eye: #2a2257; --bot-sprout: #2fb67c; }

.pb-bot__body {
    fill: var(--bot-body);
}

.pb-bot__face {
    fill: var(--bot-face);
}

.pb-bot__eye {
    fill: var(--bot-eye);
    transform-box: fill-box;
    transform-origin: center;
    animation: bot-blink 6s infinite;
    animation-delay: var(--bot-delay, 0s);
}

.pb-bot__sprout {
    fill: var(--bot-sprout);
    transform-origin: 119px 57px;
    animation: bot-sway 4.6s ease-in-out infinite alternate;
    animation-delay: calc(var(--bot-delay, 0s) * -1.7);
}

.bot-squad {
    display: flex;
    flex: none;
    align-items: flex-end;
    gap: 6px;
}

.bot-squad .bot {
    width: var(--size, 72px);
    animation: bot-hop 3.2s ease-in-out infinite;
    animation-delay: calc(var(--bot-delay, 0s) * -1);
}

/* ---------- Navigation ---------- */

.site-nav {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    z-index: 50;
    width: calc(100% - 24px);
    max-width: calc(var(--max) + var(--gutter) * 2);
    margin-inline: 0;
    border-radius: 0 0 22px 22px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.55);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(var(--ink), 0.04),
        0 10px 28px -14px rgba(var(--ink), 0.22);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    transform: translateX(-50%);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--nav-h);
}

.site-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.pb-logo {
    flex: none;
    fill: currentColor;
}

.site-nav__brand .pb-logo {
    width: 22px;
    height: 22px;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    font-weight: 600;
}

.site-nav__links a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--muted);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__links a:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav__menu {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--ring), var(--shadow-xs);
}

.site-nav__menu span,
.site-nav__menu span::before {
    display: block;
    width: 14px;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.25s var(--ease-out);
}

.site-nav__menu span {
    position: relative;
    transform: translateY(-3px);
}

.site-nav__menu span::before {
    content: "";
    position: absolute;
    top: 6px;
}

.site-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 0 1px rgba(var(--ink), 0.05),
        0 14px 32px -16px rgba(var(--ink), 0.28);
}

.site-nav__panel {
    display: none;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: min(calc(100svh - 24px), 820px);
    margin: 12px;
    padding: calc(var(--nav-h) + 24px) 0;
    border-radius: 28px;
    background: linear-gradient(180deg, #d4e9ff 0%, #e8f3ff 32%, #fbf6ee 68%, #f7ead6 100%);
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grain-ink);
    opacity: 0.05;
    pointer-events: none;
}

.hero__scene {
    --k: 1;
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
}

.hero__scene::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero__glow {
    position: absolute;
    top: -30%;
    left: 50%;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 62%);
    transform: translateX(-50%);
}

.hero__cloud {
    position: absolute;
    width: var(--w);
    height: calc(var(--w) * 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    filter: blur(16px);
    animation: drift 30s ease-in-out infinite alternate;
}

.hero__hill {
    position: absolute;
    bottom: 0;
    left: -2%;
    width: 104%;
    height: var(--h);
    max-width: none;
    filter: drop-shadow(0 -10px 18px rgba(146, 104, 52, 0.1));
}

.hero__hill path {
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.hero__bot {
    position: absolute;
    bottom: var(--y);
    left: var(--x);
    width: calc(var(--s) * var(--k) * 1px);
    filter: drop-shadow(0 8px 8px rgba(104, 72, 28, 0.16));
    rotate: var(--r, 0deg);
    animation: bot-hop 3.6s ease-in-out infinite;
    animation-delay: calc(var(--bot-delay, 0s) * -1);
}

.hero__bot--right {
    left: auto;
    right: var(--x);
}

.hero__bot--sky {
    top: var(--y);
    bottom: auto;
    filter: drop-shadow(0 10px 12px rgba(34, 92, 160, 0.16));
    animation: hero-float 4.8s ease-in-out infinite alternate;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 780px;
    margin-inline: auto;
    padding-inline: var(--gutter);
    text-align: center;
}

.hero__notice {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 5px 14px 5px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--ring), var(--shadow-sm), var(--edge-light);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: box-shadow 0.2s ease, transform 0.2s var(--ease-out);
}

.hero__notice:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(var(--ink), 0.1), var(--shadow-md), var(--edge-light);
}

.hero__notice-tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 12.5px;
    font-weight: 700;
}

.hero__notice svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12em;
    margin: 0;
    width: 100%;
    font-size: clamp(26px, 3.6vw, 48px);
    font-weight: 650;
    line-height: 1.22;
    letter-spacing: -0.045em;
    text-align: center;
}

.hero__title-line {
    display: block;
    white-space: nowrap;
}

.hero__title em {
    position: relative;
    display: inline-block;
    font-weight: 750;
    color: #4a5fc8;
    background: linear-gradient(100deg, #6a50c4 0%, #4a5fc8 17%, #3676c4 34%, #2c8a9e 50%, #6f8ccc 75%, #6a50c4 100%) 0% 50% / 200% 100% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__lead {
    max-width: 34em;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: clamp(16px, 1.25vw, 18px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.02em;
    text-align: center;
    text-wrap: pretty;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.hero__note {
    display: block;
    max-width: 40em;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    text-align: center;
    text-wrap: pretty;
}

.hero__note-ways {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
    vertical-align: middle;
    color: var(--faint);
}

.hero__note-ways span {
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--ring), var(--shadow-xs);
    color: var(--text);
    font-size: 13px;
    font-weight: 650;
}

.hero__note a {
    color: var(--text);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(29, 33, 41, 0.3);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease;
}

.hero__note a:hover {
    text-decoration-color: var(--text);
}

/* Customer logo strip */

.trust {
    padding: 28px 0 0;
}

.trust__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 40px;
}

.trust__label {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px clamp(12px, 3.5vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-logos img {
    width: auto;
    height: clamp(15px, 4.6vw, 23px);
    filter: grayscale(1);
    opacity: 0.75;
}

@media (max-width: 560px) {
    .trust__inner {
        flex-direction: column;
        gap: 14px;
    }
}

/* ---------- Intake ---------- */

.intake-wrap {
    position: relative;
}

.intake-wrap__bot {
    position: absolute;
    top: -76px;
    right: clamp(32px, 7vw, 96px);
    width: 108px;
}

.intake-card {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 4vw, 56px);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.bp-step__q {
    display: block;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 550;
    line-height: 1.35;
    letter-spacing: -0.035em;
}

.bp-step__q-hl {
    font-weight: 750;
    color: var(--text);
    background: linear-gradient(90deg, #4f2ad4, #1a46c8) left bottom / 100% 2px no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-bottom: 0.04em;
}

.goal-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.goal-option {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fafbfc;
    box-shadow: var(--shadow-xs), var(--edge-light);
    text-align: left;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-out);
}

.goal-option:hover {
    border-color: #c9ced6;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.goal-option.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.goal-option__key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 13px;
    transition: inherit;
}

.goal-option.is-selected .goal-option__key {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.goal-option__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

.goal-option__title {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.goal-option__desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.goal-option__kpi {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed #d5dae1;
    font-size: 14px;
    font-weight: 550;
}

.goal-option__kpi-label {
    color: var(--faint);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bp-flow.is-complete .goal-options {
    opacity: 0.5;
    pointer-events: none;
}

.bp-template {
    margin-top: 40px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.bp-template__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 4px;
    color: var(--accent-text);
    font-size: 14px;
    font-weight: 600;
}

.bp-template__title::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.bp-template .bp-step {
    padding: 24px 0;
    border-bottom: 1px solid var(--line-soft);
    animation: step-in 0.4s var(--ease-out);
}

.bp-template .bp-step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.bp-template .bp-step__q {
    font-size: clamp(18px, 1.6vw, 21px);
}

.bp-template .bp-step.is-open:not(.is-active):not(.bp-step--done) {
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.bp-template .bp-step.is-open:not(.is-active):hover {
    opacity: 1;
}

.bp-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.bp-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.bp-choice:hover {
    border-color: var(--text);
}

.bp-choice.is-selected {
    border-color: var(--text);
    background: var(--text);
    color: #fff;
}

.bp-choice img,
.bp-choice svg {
    width: 18px;
    height: 18px;
}

.bp-choice--platform {
    padding-left: 14px;
}

.bp-field {
    display: flex;
    gap: 8px;
    max-width: 560px;
    margin-top: 16px;
}

.bp-input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafbfc;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bp-input::placeholder {
    color: #a3aab6;
}

.bp-input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 140, 255, 0.14);
}

.bp-ok {
    height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: var(--text);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.bp-ok:hover {
    background: var(--accent);
}

.bp-ok:disabled {
    opacity: 0.6;
    cursor: progress;
}

.bp-step--done .bp-step__q {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bp-step--done .bp-step__q::before {
    content: "";
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat,
        #12b76a;
}

.bp-done-copy {
    margin-top: 10px;
    color: var(--muted);
    font-size: 16px;
}

.is-shake {
    animation: shake 0.4s ease;
}

.intake-hint {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
    color: var(--faint);
    font-size: 13px;
}

.intake-hint kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-right: 4px;
    padding: 0 6px;
    border: 1px solid var(--line);
    border-bottom-width: 2px;
    border-radius: 6px;
    background: #fff;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
}

/* ---------- Problem ---------- */

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.pain-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(24px, 2.8vw, 40px);
    border-radius: var(--r-xl);
    background: linear-gradient(180deg, #f6f7f9 0%, #eef0f4 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.04), var(--edge-light);
    container-type: inline-size;
}

.person-avi {
    display: inline-block;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='11.5' y='14' width='3.6' height='8' rx='1.8' fill='%23121212'/%3E%3Crect x='24.9' y='14' width='3.6' height='8' rx='1.8' fill='%23121212'/%3E%3Cpath d='M14.5 27c2.8 3 8.2 3 11 0' fill='none' stroke='%23121212' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat, #ffd9a8;
}

.pain-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e9f3ff 0%, #d3e6ff 100%);
    box-shadow: inset 0 0 0 1px rgba(0, 112, 214, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 4px -2px rgba(0, 82, 168, 0.25);
    color: #1d2129;
}

.pain-icon svg {
    width: 20px;
    height: 20px;
}

.pain-card:nth-child(2) .person-avi {
    background-color: #c9d6ff;
}

.pain-card:nth-child(3) .person-avi {
    background-color: #bfeadb;
}

.ops-compare__label .person-avi,
.eyebrow .person-avi {
    background-color: #e3e6ee;
}

.pain-card__quote {
    /* 100cqi is the card's content width. --quote-fit is the longest quote's width in em
       (KR 12em, EN 13.6em) plus a little slack, so every quote stays on one line. */
    --quote-fit: 12.3;
    font-size: min(30px, calc(100cqi / var(--quote-fit)));
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

:lang(en) .pain-card__quote {
    --quote-fit: 13.9;
}

.pain-card__body {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    text-wrap: pretty;
}

.pain-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ring), var(--shadow-sm);
    color: inherit;
}

.pain-data__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.pain-data__title .bot {
    flex: none;
    width: 28px;
}

.pain-data__stats {
    display: flex;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.pain-data__stats span:not(:last-child)::after {
    content: "·";
    margin: 0 8px;
    color: var(--faint);
    font-weight: 500;
}

/* ---------- Operations ---------- */

.ops-stage {
    position: relative;
    display: flex;
    justify-content: center;
}

.ops-stage__bot {
    position: absolute;
    width: calc(var(--s) * 1px);
    rotate: var(--r, 0deg);
    animation: bot-hop 3.4s ease-in-out infinite;
    animation-delay: calc(var(--bot-delay, 0s) * -1);
}

.ops-board {
    position: relative;
    z-index: 1;
    width: min(100%, 580px);
    padding: 20px;
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--ring), var(--shadow-lg);
}

.ops-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 6px 16px;
    border-bottom: 1px solid var(--line-soft);
}

.ops-board__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.ops-board__title .bot {
    width: 28px;
}

.ops-board__meta {
    color: var(--faint);
    font-size: 13px;
}

.ops-board__list {
    display: grid;
    gap: 2px;
    padding: 10px 0;
}

.ops-task {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 9px 8px;
    border-radius: 18px;
    transition: background-color 0.2s ease;
}

.ops-task:hover {
    background: #f7f8fa;
}

.ops-task__emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f6f7f9 0%, #eceff3 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.05), var(--edge-light);
    font-size: 21px;
    line-height: 1;
}

.ops-task__text {
    min-width: 0;
}

.ops-task__text b,
.ops-task__text small {
    display: block;
}

.ops-task__text b {
    font-size: 15.5px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.ops-task__text small {
    overflow: hidden;
    color: var(--faint);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops-task__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px 0 5px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ops-task__status .bot {
    width: 20px;
}

.ops-task__status--done {
    background: #ecfdf3;
    box-shadow: inset 0 0 0 1px rgba(6, 118, 71, 0.14);
    color: #067647;
}

.ops-task__status--running {
    background: var(--accent-soft);
    box-shadow: inset 0 0 0 1px rgba(0, 112, 214, 0.14);
    color: var(--accent-text);
}

.ops-board__human {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 12px 14px;
    border-radius: 20px;
    background: #fff6ec;
    box-shadow: inset 0 0 0 1px #fde0bd;
}

.ops-board__human .person-avi {
    width: 38px;
    height: 38px;
    background-color: #f2a66f;
}

.ops-board__human p {
    flex: 1;
    min-width: 0;
    color: #9a3412;
    font-size: 14px;
}

.ops-board__human b {
    display: block;
    color: #7c2d12;
    font-size: 15px;
    font-weight: 700;
}

.ops-board__approve {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 62%), var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(var(--ink), 0.3), 0 6px 12px -8px rgba(var(--ink), 0.5);
    color: #fff;
    font-size: 13.5px;
    font-weight: 650;
}

.ops-compare {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
    margin-top: clamp(40px, 5vw, 64px);
}

.ops-compare__card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--ring), var(--shadow-md);
}

.ops-compare__card--after {
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(74, 86, 232, 0.34) 0%, rgba(74, 86, 232, 0) 60%),
        linear-gradient(180deg, #101116 0%, #050506 100%);
    color: #fff;
    background-size: 170% 170%, 100% 100%;
    animation: glow-drift-2 22s ease-in-out infinite alternate;
    box-shadow: var(--edge-night), 0 2px 4px rgba(0, 0, 0, 0.2), 0 32px 60px -32px rgba(8, 10, 30, 0.7);
}

.ops-compare__card--after::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grain-light);
    opacity: 0.07;
    pointer-events: none;
}

.ops-compare__card > * {
    position: relative;
    z-index: 1;
}

.ops-compare__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
}

.ops-compare__label .bot {
    width: 30px;
}

.ops-compare__label .person-avi {
    width: 32px;
    height: 32px;
}

.ops-compare__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ops-compare__stats strong {
    display: block;
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}

.ops-compare__stats span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.ops-compare__card--after .ops-compare__stats span {
    color: rgba(255, 255, 255, 0.86);
}

.ops-compare__note {
    margin-top: auto;
    color: var(--faint);
    font-size: 13px;
}

.ops-compare__card--after .ops-compare__note {
    color: rgba(255, 255, 255, 0.78);
}

.ops-compare__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--ring), var(--shadow-md);
    color: var(--accent);
}

.ops-compare__arrow svg {
    width: 22px;
    height: 22px;
}

/* ---------- Data edge ---------- */

.data-section {
    padding-bottom: clamp(72px, 9vw, 128px);
}

.data-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(32px, 5vw, 72px);
    border-radius: var(--r-xl);
    background: #050506;
    color: #fff;
}

.data-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px) 0 0 / 24px 24px;
}

.data-panel .eyebrow,
.cta__panel .eyebrow {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
}

.data-panel__head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 32px 64px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.data-panel__title {
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.data-panel__title em {
    font-weight: 750;
    color: #fff;
    background: linear-gradient(90deg, #8b6cff 0%, #3d6dff 100%) left bottom / 100% 4px no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-bottom: 0.06em;
}

.data-panel__lede {
    color: var(--night-muted);
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.65;
    text-wrap: pretty;
}

.data-panel__lede strong {
    color: #fff;
    font-weight: 600;
}

.data-panel__stat {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--night-line);
}

.data-panel__stat strong {
    color: #fff;
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, #8b6cff 0%, #3d6dff 100%) left bottom / 100% 4px no-repeat;
    padding-bottom: 0.08em;
}

.data-panel__stat span {
    color: var(--night-muted);
    font-size: 15px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.data-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--night-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    scroll-margin-top: calc(var(--nav-h) + 28px);
}

.data-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 550;
    letter-spacing: -0.03em;
}

.data-card__title .bot {
    width: 30px;
}

.data-card__body {
    margin: 12px 0 28px;
    min-height: 4.8em;
    color: var(--night-muted);
    font-size: 15px;
    line-height: 1.6;
    text-wrap: pretty;
}

.data-ui {
    margin-top: auto;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #0e1015;
    font-size: 12.5px;
}

.data-ui__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--night-faint);
    font-size: 10.5px;
}

.rate-bench__row {
    display: grid;
    grid-template-areas: "label value" "track track";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    margin-bottom: 16px;
}

.rate-bench__label {
    grid-area: label;
    color: var(--night-muted);
}

.rate-bench__track {
    grid-area: track;
    position: relative;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
}

.rate-bench__track i {
    position: absolute;
    inset: 0 calc(100% - var(--to)) 0 var(--from);
    border-radius: 5px;
}

.rate-bench__track .is-ask {
    background: linear-gradient(90deg, #ffa293, #ff7a66);
}

.rate-bench__track .is-deal {
    background: #34d399;
}

.rate-bench__track b {
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: var(--at);
    width: 2px;
    margin-left: -1px;
    border-radius: 1px;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.rate-bench__value {
    grid-area: value;
    color: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.rate-bench__axis {
    display: flex;
    justify-content: space-between;
    margin-top: -6px;
    color: var(--night-faint);
    font-size: 10.5px;
}

.rate-bench__verdict {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--night-line);
    font-size: 13px;
    font-weight: 600;
}

.data-chip {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.14);
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.data-chip--blue {
    background: rgba(0, 140, 255, 0.2);
    color: #8ecbff;
}

.track-record__who {
    display: flex;
    align-items: center;
    gap: 10px;
}

.track-record__who b,
.track-record__who small {
    display: block;
}

.track-record__who b {
    font-size: 14px;
    font-weight: 600;
}

.track-record__who small {
    color: var(--night-faint);
    font-size: 12px;
}

.track-record__who .data-chip {
    margin-left: auto;
}

.track-record__avi {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(145deg, #bfe0ff, #5aaeff);
    color: rgba(0, 0, 0, 0.62);
    font-size: 11px;
    font-weight: 700;
}

.track-record__bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 64px;
    margin: 20px 0 8px;
}

.track-record__bars i {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #7a5cff, rgba(36, 70, 200, 0.4));
}

.track-record__caption {
    color: var(--night-faint);
    font-size: 10.5px;
}

.track-record__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--night-line);
}

.track-record__stats dt {
    color: var(--night-faint);
    font-size: 11.5px;
}

.track-record__stats dd {
    margin-top: 2px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.data-loop__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
}

.data-loop__step {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px 4px 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.data-loop__step .bot {
    width: 18px;
}

.data-loop__arrow {
    color: var(--night-faint);
}

.data-loop__return {
    width: 100%;
    height: auto;
    margin-top: 2px;
    overflow: visible;
}

.data-loop__return path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.32);
    stroke-width: 1.5;
    stroke-dasharray: 4 5;
    animation: loop-flow 1.2s linear infinite;
}

.data-loop__return .data-loop__head {
    stroke-dasharray: none;
    animation: none;
}

.data-loop__caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
}

.data-loop__caption .mono {
    color: var(--night-faint);
    font-size: 10.5px;
    font-weight: 500;
}

/* ---------- Solution ---------- */

.bp-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.bp-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 60px;
    padding: 0 20px 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 16px;
    font-weight: 550;
    letter-spacing: -0.02em;
    text-align: left;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.bp-tab:hover {
    border-color: #b9c0ca;
}

.bp-tab__n {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    transition: inherit;
}

.bp-tab__copy {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.bp-tab__bot {
    width: 24px;
}

.bp-tab__t {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-tab.is-active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.bp-tab.is-active .bp-tab__n {
    background: #fff;
    color: var(--accent);
}

.bp-stage {
    display: grid;
}

.bp-panel {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.6fr);
    grid-template-areas: "copy demo";
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: #fff;
    animation: panel-in 0.5s var(--ease-out);
}

.bp-stage > .bp-panel[hidden] {
    display: grid !important;
    visibility: hidden;
    pointer-events: none;
    animation: none;
}

.bp-stage__copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3.6vw, 52px);
}

.bp-stage__kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 550;
}

.bp-stage__kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.bp-stage__title {
    margin-top: 20px;
    font-size: clamp(24px, 2.3vw, 32px);
    font-weight: 550;
    line-height: 1.28;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.bp-stage__body {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    text-wrap: pretty;
}

.bp-stage__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: auto;
    padding-top: 40px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
}

.bp-stage__link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text);
    color: #fff;
    transition: background-color 0.2s ease, transform 0.25s var(--ease-out);
}

.bp-stage__link span svg {
    width: 14px;
    height: 14px;
}

.bp-stage__link:hover span {
    background: var(--accent);
    transform: translateX(3px);
}

.bp-stage__demo {
    grid-area: demo;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(24px, 3.4vw, 48px);
    border-left: 1px solid var(--line);
    background:
        radial-gradient(rgba(15, 23, 42, 0.09) 1px, transparent 1.3px) 0 0 / 22px 22px,
        #f6f7f9;
}

.bp-stage__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
}

.bp-stage__index {
    color: var(--muted);
}

.bp-stage__nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bp-stage__skip {
    color: var(--muted);
    transition: color 0.2s ease;
}

.bp-stage__skip:hover {
    color: var(--text);
}

/* ---------- Product demos ---------- */

.bp-req {
    --bp-req-line: linear-gradient(90deg, #008cff 0%, #61b8ff 38%, #7f8cff 72%, #008cff 100%);
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 10px;
    max-width: min(560px, 100%);
    margin: 0 auto 30px;
    padding: 7px 18px 7px 7px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 30px -20px rgba(16, 24, 40, 0.5), 0 1px 2px rgba(16, 24, 40, 0.05);
    font-size: 14px;
}

.bp-req::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 1px;
    border-radius: inherit;
    background-image: var(--bp-req-line);
    background-size: 280% 100%;
    animation: bp-req-sweep 2.4s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.bp-req::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 30px;
    background: linear-gradient(rgba(0, 140, 255, 0.5), rgba(0, 140, 255, 0));
}

.bp-req--long {
    align-items: flex-start;
    border-radius: 18px;
}

.bp-req__label {
    flex: none;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.bp-req__term {
    color: #1d2433;
    font-weight: 550;
    line-height: 1.5;
}

.bp-req--long .bp-req__term {
    padding-top: 1px;
}

.bp-agent {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #dce1e8;
    border-radius: 16px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: -0.005em;
    box-shadow: 0 40px 70px -40px rgba(16, 24, 40, 0.4), 0 2px 6px rgba(16, 24, 40, 0.04);
}

.bp-agent__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 54px;
    padding: 0 16px;
    border-bottom: 1px solid #eef0f3;
}

.bp-agent__bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    white-space: nowrap;
}

.bp-agent__app {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #101828;
    font-size: 14px;
    font-weight: 650;
}

.bp-agent__app .bot {
    width: 22px;
}

.bp-agent__crumb {
    color: #344054;
    font-weight: 600;
}

.bp-agent__crumb::before {
    content: "/";
    margin-right: 12px;
    color: #d0d5dd;
    font-weight: 400;
}

.bp-agent__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    color: #98a2b3;
    text-overflow: ellipsis;
}

.bp-agent__meta-icon {
    width: 14px;
    height: 14px;
}

.bp-agent__status {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid #eaecf0;
    border-radius: 999px;
    background: #f9fafb;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.bp-agent__led {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #98a2b3;
}

.bp-agent[data-agent-state="read"] .bp-agent__status,
.bp-agent[data-agent-state="write"] .bp-agent__status {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: var(--accent-text);
}

.bp-agent[data-agent-state="read"] .bp-agent__led,
.bp-agent[data-agent-state="write"] .bp-agent__led {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 140, 255, 0.16);
    animation: pulse 1.1s ease infinite;
}

.bp-agent[data-agent-state="ready"] .bp-agent__status {
    border-color: #abefc6;
    background: #ecfdf3;
    color: #067647;
}

.bp-agent[data-agent-state="ready"] .bp-agent__led {
    background: #12b76a;
}

.bp-agent.is-review[data-agent-state="ready"] .bp-agent__status {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

.bp-agent.is-review[data-agent-state="ready"] .bp-agent__led {
    background: #f79009;
}

.bp-agent.is-armed [data-list-chip]:not(.is-on),
.bp-agent.is-armed [data-list-row]:not(.is-on),
.bp-agent.is-armed [data-collect-row]:not(.is-on) {
    opacity: 0;
    transform: translateY(6px);
}

.bp-agent.is-armed [data-agent-out]:not(.is-on),
.bp-agent.is-armed [data-agent-in]:not(.is-on),
.bp-agent.is-armed [data-agent-draft]:not(.is-writing):not(.is-ready) {
    opacity: 0;
    transform: translateY(8px);
}

.bp-agent.is-armed [data-agent-review]:not(.is-on) {
    opacity: 0;
}

[data-list-chip],
[data-list-row],
[data-collect-row],
[data-agent-out],
[data-agent-in],
[data-agent-draft] {
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out), background-color 0.35s ease, border-color 0.35s ease;
}

.bp-demo-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.bp-demo-summary article {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    background: #fcfcfd;
}

.bp-demo-summary article > span,
.bp-demo-summary article > small {
    display: block;
    overflow: hidden;
    color: #98a2b3;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-demo-summary article > strong {
    display: block;
    margin: 6px 0 4px;
    color: #101828;
    font-size: 22px;
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}

.bp-demo-summary article > strong b {
    font: inherit;
}

.bp-demo-summary article > small.is-positive {
    color: #067647;
    font-weight: 600;
}

/* List-up */

.bp-listup,
.bp-collect {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.bp-listup__criteria {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.bp-listup__criteria-label {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 600;
}

.bp-listup__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bp-listup__filters span {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 12px;
    font-weight: 600;
}

.bp-dset__head,
.bp-dset__row {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(34px, 48px)) 92px;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}

.bp-dset__head,
.bp-ctable__head {
    height: 34px;
    border-top: 1px solid #eaecf0;
    border-bottom: 1px solid #eaecf0;
    color: #98a2b3;
    font-size: 11.5px;
    font-weight: 600;
}

.bp-dset__head span:not(:first-child) {
    text-align: center;
}

.bp-dset__head span:last-child {
    text-align: right;
}

.bp-dset__row {
    min-height: 46px;
    border-bottom: 1px solid #f2f4f7;
}

.bp-dset__row:last-child {
    border-bottom: 0;
}

.bp-dset__row.is-miss.is-on {
    background: #fffafa;
}

.bp-dset__who {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.bp-dset__who::before {
    --avatar: linear-gradient(145deg, #bfe0ff, #5aaeff);
    content: "";
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--person) center 80% / 20px no-repeat, var(--avatar);
}

.bp-dset__row:nth-child(2n) .bp-dset__who::before {
    --avatar: linear-gradient(145deg, #fbcfe8, #ec84b8);
}

.bp-dset__row:nth-child(3n) .bp-dset__who::before {
    --avatar: linear-gradient(145deg, #c7f0d8, #4fc58a);
}

.bp-dset__who > span {
    min-width: 0;
}

.bp-dset__who b,
.bp-dset__who small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-dset__who b {
    color: #101828;
    font-size: 13.5px;
    font-weight: 600;
}

.bp-dset__who small {
    margin-top: 1px;
    color: #98a2b3;
    font-size: 12px;
}

.bp-crit {
    position: relative;
    justify-self: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.bp-crit.is-yes {
    background: #ecfdf3;
    box-shadow: inset 0 0 0 1px #abefc6;
}

.bp-crit.is-yes::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 7.5px;
    width: 4px;
    height: 8px;
    border: solid #079455;
    border-width: 0 1.75px 1.75px 0;
    transform: rotate(45deg);
}

.bp-crit.is-no {
    background: #fff1f2;
    box-shadow: inset 0 0 0 1px #fecdd3;
}

.bp-crit.is-no::before,
.bp-crit.is-no::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 9.1px;
    width: 1.75px;
    height: 8px;
    border-radius: 1px;
    background: #e11d48;
    transform: rotate(45deg);
}

.bp-crit.is-no::after {
    transform: rotate(-45deg);
}

.bp-dset__flag {
    justify-self: end;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.bp-dset__flag.is-match {
    background: #ecfdf3;
    color: #067647;
}

.bp-dset__flag.is-miss {
    background: #fff1f2;
    color: #c01048;
}

/* Negotiation */

.bp-agent__shell {
    display: grid;
    grid-template-columns: 216px minmax(0, 1fr);
}

.bp-camp {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-right: 1px solid #eaecf0;
    background: #f9fafb;
}

.bp-camp__kicker {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 600;
}

.bp-camp__title {
    color: #101828;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.bp-camp__status {
    align-self: flex-start;
    margin-top: 2px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.bp-camp__status.is-review {
    background: #fff4e5;
    color: #c2410c;
}

.bp-camp__dl {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
}

.bp-camp__dl > div {
    padding: 10px 12px;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    background: #fff;
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

.bp-camp__dl dt {
    margin-bottom: 3px;
    color: #98a2b3;
    font-size: 11.5px;
}

.bp-camp__dl dd {
    color: #101828;
    font-size: 13.5px;
    font-weight: 600;
}

.bp-camp__dl > div.is-on {
    border-color: #fed7aa;
    background: #fff7ed;
}

.bp-thread {
    min-width: 0;
    padding: 16px 18px 18px;
}

.bp-thread__hd {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eaecf0;
}

.bp-thread__sub {
    color: #101828;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.bp-thread__meta {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 12px;
}

.bp-msg {
    margin-bottom: 12px;
}

.bp-msg__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.bp-msg__avi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f2f4f7;
    color: #475467;
    font-size: 9.5px;
    font-weight: 700;
}

.bp-msg__bot {
    width: 20px;
}

.bp-msg__name {
    color: #101828;
    font-weight: 650;
}

.bp-msg__time {
    margin-left: auto;
    color: #98a2b3;
    font-size: 11.5px;
}

.bp-msg__body {
    color: #344054;
    font-size: 13.5px;
    line-height: 1.6;
}

.bp-msg--out .bp-msg__body {
    color: #667085;
}

.bp-msg--in {
    padding: 12px 14px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #f9fafb;
}

.bp-msg--in.is-reading {
    border-color: var(--accent-line);
    background: #f4faff;
}

.bp-msg--in mark {
    padding: 0 3px;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    transition: background-color 0.28s ease, color 0.28s ease;
}

.bp-msg--in mark.is-lit {
    background: #fef0c7;
    color: #b54708;
}

.bp-read {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 6px 10px;
    border: 1px solid var(--accent-line);
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 12px;
    font-weight: 600;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bp-read.is-on {
    visibility: visible;
    opacity: 1;
}

.bp-msg--draft {
    margin-bottom: 0;
    padding: 12px 14px;
    border: 1px solid var(--accent-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 30px -20px rgba(0, 140, 255, 0.5);
}

.bp-msg--draft .bp-msg__name {
    color: var(--accent-text);
}

.bp-msg__badge {
    margin-left: auto;
    padding: 2px 9px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #667085;
    font-size: 11.5px;
    font-weight: 650;
}

.bp-msg--draft.is-writing .bp-msg__badge {
    background: var(--accent-soft);
    color: var(--accent-text);
}

.bp-msg--draft.is-ready .bp-msg__badge {
    background: #fff4e5;
    color: #c2410c;
}

.bp-msg__body--compose {
    min-height: 4.8em;
    white-space: pre-line;
}

.bp-msg__body--compose.is-typing::after {
    content: "";
    display: inline-block;
    width: 1.5px;
    height: 1em;
    margin-left: 2px;
    background: var(--accent);
    vertical-align: -2px;
    animation: caret 1s step-end infinite;
}

.bp-review {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 12px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #fff7ed;
    transform: translateY(5px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.bp-review.is-on {
    opacity: 1;
    transform: none;
}

.bp-review__badge {
    color: #c2410c;
    font-size: 12px;
    font-weight: 650;
}

.bp-review__amt {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #9a3412;
    font-size: 12px;
}

.bp-review__amt s {
    opacity: 0.7;
}

.bp-review__amt strong {
    color: #c2410c;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bp-msg__actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bp-msg--draft.is-ready .bp-msg__actions {
    visibility: visible;
    opacity: 1;
}

.bp-msg__btn {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 12.5px;
    font-weight: 600;
}

.bp-msg__btn--pri {
    border-color: #101828;
    background: #101828;
    color: #fff;
}

/* Performance ingest */

.bp-collect__board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 176px;
    gap: 10px;
    margin-bottom: 14px;
}

.bp-chart {
    min-width: 0;
    padding: 14px 14px 10px;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    background: #fcfcfd;
}

.bp-chart__hd {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.bp-chart__title {
    display: block;
    color: #101828;
    font-size: 13.5px;
    font-weight: 650;
}

.bp-chart__sub {
    display: block;
    margin-top: 2px;
    color: #98a2b3;
    font-size: 12px;
}

.bp-chart__legend {
    display: flex;
    flex: none;
    gap: 12px;
    color: #475467;
    font-size: 12px;
}

.bp-chart__key {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bp-chart__key::before {
    content: "";
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.bp-chart__key--views::before { background: var(--accent); }
.bp-chart__key--er::before { background: #12b76a; }
.bp-chart__key--gmv::before { background: #f59e0b; }

.bp-chart__plot svg {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    overflow: visible;
}

.bp-chart__grid {
    stroke: #eaecf0;
    stroke-width: 0.7;
}

.bp-chart__fill {
    opacity: 0;
}

.bp-chart__fill--views { fill: url(#bp-fill-views); }
.bp-chart__fill--gmv { fill: url(#bp-fill-gmv); }

.bp-chart__line {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
}

.bp-chart__line--views { stroke: var(--accent); }
.bp-chart__line--er { stroke: #12b76a; }
.bp-chart__line--gmv { stroke: #f59e0b; }

.bp-chart__dot {
    opacity: 0;
}

.bp-chart__dot--views { fill: var(--accent); }
.bp-chart__dot--er { fill: #12b76a; }
.bp-chart__dot--gmv { fill: #f59e0b; }

.bp-chart.is-on .bp-chart__line {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.2s ease;
}

.bp-chart.is-on .bp-chart__line--er { transition-delay: 0.1s; }
.bp-chart.is-on .bp-chart__line--gmv { transition-delay: 0.2s; }

.bp-chart.is-on .bp-chart__fill {
    opacity: 1;
    transition: opacity 0.7s ease 0.45s;
}

.bp-chart.is-on .bp-chart__dot {
    opacity: 1;
    transition: opacity 0.25s ease 1.15s;
}

.bp-chart__x {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #98a2b3;
    font-family: var(--font-mono);
    font-size: 10.5px;
}

.bp-demo-summary--performance {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.bp-demo-summary--performance article {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 10px 14px;
}

.bp-demo-summary--performance article > strong {
    font-size: 20px;
}

.bp-ctable__head,
.bp-ctable__row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 64px 52px 60px 52px;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
}

.bp-ctable__head span:nth-child(n + 3) {
    text-align: right;
}

.bp-ctable__row {
    min-height: 50px;
    border-bottom: 1px solid #f2f4f7;
}

.bp-ctable__row:last-child {
    border-bottom: 0;
}

.bp-ctable__content {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.bp-ctable__content > span {
    min-width: 0;
}

.bp-ctable__content b,
.bp-ctable__content small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-ctable__content b {
    color: #101828;
    font-size: 13.5px;
    font-weight: 600;
}

.bp-ctable__content small {
    color: #98a2b3;
    font-size: 12px;
}

.bp-ctable__thumb {
    --thumb: linear-gradient(160deg, #bfe0ff, #008cff);
    position: relative;
    flex: 0 0 26px;
    height: 34px;
    border-radius: 6px;
    background: var(--thumb);
}

.bp-ctable__thumb::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
    transform: translate(-50%, -50%);
}

.bp-ctable__row:nth-child(2) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #fbcfe8, #ec4899); }
.bp-ctable__row:nth-child(3) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #c7d2fe, #6366f1); }
.bp-ctable__row:nth-child(4) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #fed7aa, #f97316); }
.bp-ctable__row:nth-child(5) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #bbf7d0, #10b981); }
.bp-ctable__row:nth-child(6) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #fde68a, #f59e0b); }

.bp-ctable__who {
    overflow: hidden;
    color: #475467;
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-ctable__num {
    color: #101828;
    font-size: 13px;
    font-weight: 550;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.bp-ctable__delta {
    font-size: 12.5px;
    font-weight: 650;
    text-align: right;
}

.bp-ctable__delta.is-up {
    color: #067647;
}

/* ---------- Ways to work ---------- */

.ways__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.way-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3.4vw, 48px);
    border-radius: var(--r-xl);
    background: linear-gradient(180deg, #f7f8fa 0%, #eceef2 100%);
    box-shadow: var(--edge-light), 0 24px 48px -32px rgba(0, 0, 0, 0.6);
}

.way-card::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 16px;
    background: #c9ced6;
}

.way-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.way-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 62%), var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(var(--ink), 0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.way-card__crew {
    display: flex;
    align-items: flex-end;
}

.way-card__crew .person-avi {
    width: 46px;
    height: 46px;
    border: 3px solid #f6f7f9;
}

.way-card__crew .person-avi--you {
    background-color: #7cbcff;
}

.way-card__crew .bot {
    width: 48px;
    margin-left: -10px;
}

.way-card__title {
    margin-top: 40px;
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 550;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.way-card__desc {
    max-width: 500px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
    text-wrap: pretty;
}

.way-card__fit {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 28px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--ring), var(--shadow-sm);
    font-size: 15px;
    font-weight: 550;
}

.way-card__fit .mono {
    color: var(--faint);
}

.way-card__list {
    display: grid;
    gap: 12px;
    margin: 28px 0 36px;
}

.way-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.way-card__list svg {
    flex: none;
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--accent-soft);
    box-shadow: inset 0 0 0 1px rgba(0, 112, 214, 0.12);
    color: var(--accent-text);
}

.way-card__cta {
    align-self: flex-start;
    margin-top: auto;
}

.ways__engine {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: 16px;
    padding: 20px 28px;
    border-radius: var(--r-lg);
    background: var(--night);
    color: #fff;
}

.ways__engine-label {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ways__engine-label p {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 18px;
    font-weight: 550;
    letter-spacing: -0.03em;
}

.ways__engine-label .mono {
    color: var(--night-faint);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.bot-squad--sm {
    --size: 36px;
    gap: 2px;
}

.ways__engine-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ways__engine-chips li {
    padding: 7px 13px;
    border: 1px solid var(--night-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13.5px;
    font-weight: 500;
}

/* ---------- FAQ ---------- */

.faq {
    max-width: 880px;
}

.faq__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(36px, 5vw, 56px);
    text-align: center;
}

.faq__contact {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
}

.faq__contact a {
    color: var(--text);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease;
}

.faq__contact a:hover {
    text-decoration-color: var(--text);
}

.faq__list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: 22px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.04), var(--edge-light);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:not([open]):hover {
    background: #eceff3;
}

.faq-item[open] {
    background: #fff;
    box-shadow: var(--ring), var(--shadow-md);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 22px 22px 28px;
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 650;
    letter-spacing: -0.03em;
    list-style: none;
    cursor: pointer;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::after {
    content: "";
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background:
        linear-gradient(currentColor, currentColor) center / 12px 1.75px no-repeat,
        linear-gradient(currentColor, currentColor) center / 1.75px 12px no-repeat,
        #fff;
    box-shadow: var(--ring), var(--shadow-xs);
    transition: transform 0.3s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-q::after {
    background-color: var(--accent);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 10px -4px rgba(0, 140, 255, 0.6);
    transform: rotate(45deg);
}

.faq-a {
    max-width: 700px;
    padding: 0 28px 24px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

/* ---------- Closing CTA ---------- */

.cta {
    padding: 0 0 clamp(16px, 2vw, 24px);
}

.cta__panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(32px, 5vw, 72px);
    border-radius: var(--r-xl);
    background:
        radial-gradient(70% 55% at 100% 0%, rgba(74, 86, 232, 0.3) 0%, rgba(74, 86, 232, 0) 62%),
        radial-gradient(60% 45% at 0% 100%, rgba(0, 140, 255, 0.14) 0%, rgba(0, 140, 255, 0) 60%),
        linear-gradient(180deg, #0e0f14 0%, #050506 100%);
    background-size: 150% 150%, 150% 150%, 100% 100%;
    animation: glow-drift-3 26s ease-in-out infinite alternate;
    box-shadow: var(--edge-night), 0 40px 80px -48px rgba(8, 10, 30, 0.6);
    color: #fff;
}

/* Dot grid fading out from the top-right corner, plus film grain */
.cta__panel::before,
.cta__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.cta__panel::before {
    background: var(--dot-grid);
    -webkit-mask-image: radial-gradient(80% 60% at 100% 0%, #000 0%, transparent 72%);
    mask-image: radial-gradient(80% 60% at 100% 0%, #000 0%, transparent 72%);
}

.cta__panel::after {
    background: var(--grain-light);
    opacity: 0.06;
}

.cta__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.cta__headline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px 48px;
    margin-top: clamp(28px, 3.5vw, 48px);
}

.cta__title {
    font-size: clamp(34px, 4.4vw, 60px);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.cta__title em {
    font-weight: 750;
    color: #fff;
    background: linear-gradient(90deg, #8b6cff 0%, #3d6dff 100%) left bottom / 100% 4px no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-bottom: 0.06em;
}

.cta__ways {
    margin-top: clamp(40px, 5vw, 64px);
}

.cta__panel .ways__engine {
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta__panel .way-card {
    color: var(--text);
}

.cta__panel .way-card::after {
    background: rgba(255, 255, 255, 0.28);
}

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    isolation: isolate;
    margin-top: clamp(16px, 2vw, 24px);
    padding: clamp(72px, 9vw, 120px) 0 40px;
    background:
        radial-gradient(60% 80% at 0% 0%, rgba(74, 86, 232, 0.16) 0%, rgba(74, 86, 232, 0) 60%),
        var(--night);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #fff;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grain-light);
    opacity: 0.05;
    pointer-events: none;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 64px;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 22px);
    font-size: clamp(52px, 7vw, 104px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.06em;
}

.site-footer__brand .pb-logo {
    width: 0.86em;
    height: 0.86em;
}

.site-footer__tagline {
    margin-top: 24px;
    color: var(--night-faint);
    font-size: 15px;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.site-footer__col h2 {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.site-footer__col h2::before {
    content: "/";
    color: var(--night-faint);
}

.site-footer__col ul {
    display: grid;
    gap: 12px;
}

.site-footer__col a {
    color: var(--night-muted);
    font-size: 15px;
    transition: color 0.2s ease;
}

.site-footer__col a:hover {
    color: #fff;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: clamp(64px, 9vw, 120px);
    padding-top: 24px;
    border-top: 1px solid var(--night-line);
    color: var(--night-faint);
}

.lang-switch {
    display: flex;
    gap: 4px;
}

.lang-switch button {
    padding: 6px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--night-faint);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.lang-switch button:hover {
    color: #fff;
}

.lang-switch button[aria-current="true"] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ---------- Motion ---------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Hero copy entrance: each line rises out of a blur, then the accent phrase's gradient sweeps once */
.hero__title-line,
.hero__content > :not(.hero__title) {
    animation: hero-copy-in 1s var(--ease-out) both;
}

.hero__title-line:nth-child(1) { animation-delay: 0.05s; }
.hero__title-line:nth-child(2) { animation-delay: 0.2s; }
.hero__lead { animation-delay: 0.38s; }
.hero__ctas { animation-delay: 0.52s; }
.hero__note { animation-delay: 0.66s; }

.hero__title em {
    animation: hero-gradient-sweep 1.8s var(--ease-out) 0.3s both;
}

@keyframes hero-copy-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
        filter: blur(10px);
    }
}

@keyframes hero-gradient-sweep {
    from { background-position: 100% 50%; }
}

/* Slow drift of the glow layers on dark cards; the last (base) layer stays put */
@keyframes glow-drift-2 {
    from { background-position: 100% 0%, 0 0; }
    to { background-position: 20% 90%, 0 0; }
}

@keyframes glow-drift-3 {
    from { background-position: 100% 0%, 0% 100%, 0 0; }
    to { background-position: 30% 70%, 80% 20%, 0 0; }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@keyframes hero-float {
    from { transform: translateY(-5px); }
    to { transform: translateY(5px); }
}

@keyframes pulse {
    50% { opacity: 0.4; }
}

@keyframes bot-blink {
    0%, 93%, 100% { transform: none; }
    96% { transform: scaleY(0.12); }
}

@keyframes bot-sway {
    from { transform: rotate(-6deg); }
    to { transform: rotate(5deg); }
}

@keyframes drift {
    to { translate: 40px 0; }
}

@keyframes loop-flow {
    to { stroke-dashoffset: -9; }
}

@keyframes bot-hop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes caret {
    50% { opacity: 0; }
}

@keyframes bp-req-sweep {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

@keyframes step-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes panel-in {
    from { opacity: 0.4; }
}

@keyframes shake {
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero__content * {
        animation-delay: 0s !important;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .hero__scene {
        --k: 0.8;
    }

    .bp-panel {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "copy" "demo";
        grid-template-rows: auto 1fr;
    }

    .bp-stage__copy {
        padding-bottom: 8px;
    }

    .bp-stage__link {
        margin-top: 24px;
        padding-top: 0;
    }

    .bp-stage__demo {
        border-left: 0;
        border-top: 1px solid var(--line);
        margin-top: 32px;
    }

    .data-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .data-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        grid-template-rows: auto 1fr;
        column-gap: 40px;
    }

    .data-card .data-ui {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-top: 0;
    }

    .ops-stage__bot {
        width: calc(var(--s) * 0.72px);
    }

    .ops-stage__bot--minor {
        display: none;
    }
}

@media (max-width: 960px) {
    :root {
        --nav-h: 52px;
    }

    .site-nav__links,
    .site-nav__actions .btn {
        display: none;
    }

    .site-nav__menu {
        display: inline-flex;
    }

    .site-nav__panel {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: grid;
        gap: 4px;
        padding: 12px;
        border: 0;
        border-radius: 20px;
        background: #fff;
        color: var(--text);
        box-shadow: var(--ring), var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0.2s;
    }

    .site-nav__panel a:not(.btn) {
        padding: 12px 14px;
        border-radius: 14px;
        font-size: 16px;
        font-weight: 600;
    }

    .site-nav__panel a:not(.btn):hover {
        background: var(--surface);
    }

    .site-nav__panel-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .site-nav__panel-actions > :first-child {
        grid-column: 1 / -1;
    }

    .site-nav.is-open {
        background: rgba(255, 255, 255, 0.78);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        backdrop-filter: blur(24px) saturate(180%);
    }

    .site-nav.is-open .site-nav__panel {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav.is-open .site-nav__menu span {
        transform: rotate(45deg);
    }

    .site-nav.is-open .site-nav__menu span::before {
        top: 0;
        transform: rotate(-90deg);
    }

    .hero {
        min-height: 0;
        justify-content: flex-start;
        padding: calc(var(--nav-h) + 40px) 0 clamp(190px, 22vh, 250px);
    }

    .hero__scene {
        --k: 0.62;
    }

    .goal-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .goal-option {
        flex-direction: row;
        gap: 18px;
    }

    .intake-wrap {
        margin-top: 40px;
    }

    .pain-grid,
    .ways__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pain-card__quote {
        white-space: normal;
        font-size: clamp(26px, 6.2vw, 34px);
        font-weight: 800;
    }

    .ops-compare {
        grid-template-columns: minmax(0, 1fr);
    }

    .ops-compare__arrow {
        rotate: 90deg;
    }

    .data-panel__head {
        grid-template-columns: minmax(0, 1fr);
    }

    .way-card::after {
        display: none;
    }

    .bp-tabs {
        display: flex;
        overflow-x: auto;
        margin: 0 calc(var(--gutter) * -1) 16px;
        padding: 0 var(--gutter);
        scrollbar-width: none;
    }

    .bp-tabs::-webkit-scrollbar {
        display: none;
    }

    .bp-tab {
        flex: none;
    }

    .site-footer__top {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .site-nav {
        top: 0;
        width: calc(100% - 16px);
        border-radius: 0 0 18px 18px;
    }

    .hero {
        margin: 8px;
        border-radius: 22px;
        padding-bottom: 200px;
    }

    .hero__title {
        font-size: clamp(22px, 6.2vw, 32px);
    }

    .hero__scene {
        --k: 0.5;
    }

    .hero__bot--minor,
    .hero__bot--sky {
        display: none;
    }

    .ops-stage__bot {
        display: none;
    }

    .ops-board {
        padding: 14px;
        border-radius: 26px;
    }

    .ops-task {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 8px 4px;
    }

    .ops-task__emoji {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .ops-compare__stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .intake-wrap__bot {
        top: -64px;
        width: 88px;
    }

    .bot-squad .bot {
        width: calc(var(--size, 72px) * 0.68);
    }

    .bot-squad--sm .bot {
        width: var(--size);
    }

    .data-card {
        display: flex;
        padding: 22px;
    }

    .data-card .data-ui {
        margin-top: auto;
    }

    .ways__engine {
        padding: 20px;
    }

    .bp-stage > .bp-panel[hidden] {
        display: none !important;
    }

    .bp-stage__demo {
        padding: 20px 12px;
    }

    .bp-agent {
        font-size: 12px;
    }

    .bp-agent__meta {
        display: none;
    }

    .bp-demo-summary {
        gap: 6px;
    }

    .bp-demo-summary article {
        padding: 10px;
    }

    .bp-demo-summary article > strong {
        font-size: 18px;
    }

    .bp-demo-summary article > small {
        display: none;
    }

    .bp-dset__head,
    .bp-dset__row {
        grid-template-columns: minmax(0, 1fr) repeat(4, 22px) 74px;
        gap: 6px;
        padding: 0 6px;
    }

    .bp-dset__head span:not(:first-child):not(:last-child) {
        font-size: 0;
    }

    .bp-dset__who::before {
        display: none;
    }

    .bp-crit {
        width: 18px;
        height: 18px;
    }

    .bp-crit.is-yes::after {
        top: 4px;
        left: 6.5px;
    }

    .bp-crit.is-no::before,
    .bp-crit.is-no::after {
        top: 5px;
        left: 8.1px;
    }

    .bp-dset__flag {
        padding: 3px 6px;
        font-size: 11px;
    }

    .bp-agent__shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .bp-camp {
        border-right: 0;
        border-bottom: 1px solid #eaecf0;
    }

    .bp-camp__dl {
        grid-template-columns: 1fr 1fr;
    }

    .bp-collect__board {
        grid-template-columns: minmax(0, 1fr);
    }

    .bp-demo-summary--performance {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bp-ctable__head,
    .bp-ctable__row {
        grid-template-columns: minmax(0, 1fr) 54px 44px 52px;
        gap: 8px;
        padding: 0 6px;
    }

    .bp-ctable__head span:nth-child(2),
    .bp-ctable__head span:nth-child(6),
    .bp-ctable__who,
    .bp-ctable__delta {
        display: none;
    }

    .bp-stage__foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__cols {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero__ctas .btn {
        flex: 1 1 100%;
    }

    .goal-option {
        flex-direction: column;
    }

    .faq-q {
        padding-left: 22px;
    }

    .faq-a {
        padding: 0 22px 22px;
    }

    .data-ui__head span + span {
        display: none;
    }

    .data-loop__steps {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 6px;
    }

    .data-loop__arrow,
    .data-loop__return {
        display: none;
    }

    .data-loop__caption {
        margin-top: 14px;
    }
}

/* ---------- Color harmony: blue family + neutrals, green for success only ---------- */

.eyebrow .bot,
.ops-task__status .bot,
.bp-tab .bot,
.ops-compare__label .bot {
    --bot-body: #1a8cff;
    --bot-face: #f3e8cd;
    --bot-eye: #0e2a47;
    --bot-sprout: #2fb67c;
}

.pain-card .person-avi,
.pain-card:nth-child(2) .person-avi,
.pain-card:nth-child(3) .person-avi {
    background-color: #dbeaff;
}

/* operations board */
.ops-board__human {
    background: var(--accent-soft);
    box-shadow: inset 0 0 0 1px var(--accent-line);
}

.ops-board__human .person-avi {
    background-color: #bcd8ff;
}

.ops-board__human p {
    color: var(--muted);
}

.ops-board__human b {
    color: var(--text);
}

/* data panel: one blue accent, no salmon / mint */
.rate-bench__track .is-ask {
    background: rgba(255, 255, 255, 0.3);
}

.rate-bench__track .is-deal {
    background: linear-gradient(90deg, #6a45f0, #2456d6);
}

.data-chip {
    background: rgba(26, 140, 255, 0.2);
    color: #9fd0ff;
}

/* product demo: warm and extra hues folded into blue */
.bp-agent.is-review[data-agent-state="ready"] .bp-agent__status,
.bp-camp__status.is-review,
.bp-msg--draft.is-ready .bp-msg__badge {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: var(--accent-text);
}

.bp-agent.is-review[data-agent-state="ready"] .bp-agent__led {
    background: var(--accent);
}

.bp-camp__dl > div.is-on,
.bp-review {
    border-color: var(--accent-line);
    background: var(--accent-soft);
}

.bp-review__badge,
.bp-review__amt,
.bp-review__amt strong {
    color: var(--accent-text);
}

.bp-msg--in mark.is-lit {
    background: var(--accent-soft);
    color: var(--accent-text);
}

.bp-dset__row.is-miss.is-on {
    background: #f9fafb;
}

.bp-crit.is-no {
    background: #f4f5f7;
    box-shadow: inset 0 0 0 1px #e4e6eb;
}

.bp-crit.is-no::after {
    background: #98a2b3;
}

.bp-dset__flag.is-miss {
    background: #f2f4f7;
    color: #667085;
}

.bp-dset__row:nth-child(2n) .bp-dset__who::before {
    --avatar: linear-gradient(145deg, #d5e7ff, #61b8ff);
}

.bp-dset__row:nth-child(3n) .bp-dset__who::before {
    --avatar: linear-gradient(145deg, #e4e7ec, #98a2b3);
}

.bp-chart__key--er::before { background: #61b8ff; }
.bp-chart__key--gmv::before { background: #005499; }
.bp-chart__line--er { stroke: #61b8ff; }
.bp-chart__line--gmv { stroke: #005499; }
.bp-chart__dot--er { fill: #61b8ff; }
.bp-chart__dot--gmv { fill: #005499; }

.bp-ctable__row:nth-child(2) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #d5e7ff, #61b8ff); }
.bp-ctable__row:nth-child(3) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #e4e7ec, #98a2b3); }
.bp-ctable__row:nth-child(4) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #bfe0ff, #008cff); }
.bp-ctable__row:nth-child(5) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #e4e7ec, #667085); }
.bp-ctable__row:nth-child(6) .bp-ctable__thumb { --thumb: linear-gradient(160deg, #d5e7ff, #005499); }

/* "With Picobean" card: gradient figures with an underline */
.ops-compare__card--after .ops-compare__stats strong {
    display: inline-block;
    padding-bottom: 10px;
    color: #fff;
    font-weight: 700;
    position: relative;
}

.ops-compare__card--after .ops-compare__stats strong::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #7a5cff, #3d6dff);
}

.ops-compare__card--after .ops-compare__stats > div:last-child strong::after {
    background: linear-gradient(90deg, #8b74ff, #5b86ff);
}

/* ---------- Homepage buttons and badges ---------- */

.landing-home :is(.btn, .btn__badge, .site-nav, .site-nav__menu, .site-nav__panel,
    .hero__notice, .hero__note-ways span, .eyebrow, .goal-option,
    .ops-board__approve, .way-card__badge) {
    box-shadow: none;
}

/* ---------- Shared header (every page with .site-nav) ---------- */

.site-nav,
.site-nav.is-scrolled,
.site-nav :is(.btn, .site-nav__menu, .site-nav__panel) {
    box-shadow: none;
}

.site-nav {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.58) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
}

.site-nav.is-scrolled {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.site-nav::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: 0;
    left: 24px;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--ink), 0) 0%, rgba(var(--ink), 0.08) 20%, rgba(var(--ink), 0.08) 80%, rgba(var(--ink), 0) 100%);
    pointer-events: none;
}

.site-nav .btn:hover {
    transform: none;
}

.site-nav .btn--dark {
    background-image: none;
}

.site-nav .btn--accent {
    background: var(--accent-text);
}

.site-nav .btn--accent:hover {
    background-color: #005fb8;
}

.site-nav .btn--light {
    border-color: #c9ced6;
    background: #fff;
}

.site-nav .btn--light:hover {
    border-color: #b9c0ca;
    background: var(--surface);
}

.site-nav :is(.site-nav__menu, .site-nav__panel) {
    border: 1px solid var(--line);
}

.landing-home :is(.btn, .hero__notice, .goal-option):hover {
    transform: none;
}

.landing-home :is(.btn--dark, .ops-board__approve, .way-card__badge) {
    background-image: none;
}

.landing-home .btn--accent {
    background: var(--accent-text);
}

.landing-home .btn--accent:hover {
    background-color: #005fb8;
}

.landing-home .btn__badge {
    color: var(--accent-text);
}

.landing-home .btn--light {
    border-color: #c9ced6;
    background: #fff;
}

.landing-home .btn--light:hover {
    border-color: #b9c0ca;
    background: var(--surface);
}

.landing-home :is(.site-nav__menu, .site-nav__panel,
    .hero__notice, .hero__note-ways span, .eyebrow) {
    border: 1px solid var(--line);
}

.landing-home .hero__notice:hover {
    border-color: #b9c0ca;
    background: #fff;
}

.landing-home .faq-q::after {
    border: 1px solid var(--line);
    box-shadow: none;
}

.landing-home .faq-item[open] .faq-q::after {
    border-color: var(--accent);
    box-shadow: none;
}
