@font-face {
    font-family: 'Google Sans Flex';
    src: url('../fonts/google-sans-flex/GoogleSansFlex-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #05070b;
    --bg-elevated: #09101a;
    --bg-card: #0c1420;
    --text: #f4f7ff;
    --text-secondary: #a7b4c8;
    --text-tertiary: #718097;
    --accent: #45a2ff;
    --accent-bright: #1680ff;
    --accent-soft: #bfe4ff;
    --amber: #f1ac3f;
    --border: rgba(167, 196, 230, 0.16);
    --border-strong: rgba(118, 184, 255, 0.3);
    --surface: rgba(8, 14, 23, 0.74);
    --surface-strong: rgba(10, 20, 34, 0.92);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    --font-display: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    --max-w: 1260px;
}

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.v4-page {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% 9%, rgba(36, 109, 178, 0.09), transparent 30%),
        linear-gradient(145deg, #090a0d 0%, #030508 54%, #0b1017 100%);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
}

body.v4-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(93, 153, 211, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93, 153, 211, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 80%, transparent);
}

::selection {
    background: rgba(70, 158, 255, 0.82);
    color: #fff;
}

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

button,
textarea,
input {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.03;
    text-wrap: balance;
}

.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;
}

.v4-shell {
    position: relative;
    width: min(var(--max-w), calc(100% - 64px));
    margin: 0 auto;
}

.v4-section {
    position: relative;
    padding: clamp(96px, 10vw, 150px) 0;
    border-top: 1px solid rgba(179, 215, 255, 0.1);
}

.v4-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(46, 126, 205, 0.06), transparent 38%);
}

.v4-section-heading {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin-bottom: clamp(50px, 6vw, 82px);
}

.v4-section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.v4-section-heading--left {
    max-width: 760px;
}

.v4-section-heading h2,
.v4-final h2 {
    color: var(--text);
    font-size: clamp(48px, 6.3vw, 86px);
}

.v4-section-heading h2 span,
.v4-final h2 span,
.agent-code h2 span {
    color: transparent;
    background: linear-gradient(105deg, #d9f2ff 2%, #6cb0fb 52%, #176fe4 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.v4-section-heading > p:last-child {
    max-width: 720px;
    margin-top: 22px;
    color: var(--text-secondary);
    font-size: clamp(17px, 1.55vw, 20px);
    line-height: 1.65;
}

.v4-section-heading--center > p:last-child {
    margin-right: auto;
    margin-left: auto;
}

.v4-kicker,
.v4-number {
    color: var(--amber);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
}

.v4-kicker {
    margin-bottom: 18px;
}

.v4-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.v4-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 54px;
    padding: 0 26px;
    border: 1px solid var(--border);
    border-radius: 9px;
    font-weight: 700;
    line-height: 1;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.v4-button:hover,
.v4-button:focus-visible {
    transform: translateY(-2px);
}

.v4-button--primary {
    border-color: rgba(132, 198, 255, 0.62);
    background: linear-gradient(110deg, #9ed2ff 0%, #4d9ef7 55%, #176ee7 100%);
    box-shadow: 0 12px 44px rgba(15, 113, 232, 0.2), inset 0 1px rgba(255, 255, 255, 0.62);
    color: #07111e;
}

.v4-button--primary:hover,
.v4-button--primary:focus-visible {
    box-shadow: 0 16px 52px rgba(15, 113, 232, 0.3), inset 0 1px rgba(255, 255, 255, 0.72);
}

.v4-button--secondary {
    background: rgba(8, 15, 25, 0.7);
    color: var(--text);
}

.v4-button--secondary:hover,
.v4-button--secondary:focus-visible {
    border-color: var(--border-strong);
    background: rgba(20, 38, 61, 0.74);
}

/* Hero */
.v4-hero {
    position: relative;
    min-height: min(940px, 100svh);
    padding: 72px 0 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(179, 215, 255, 0.14);
    isolation: isolate;
}

.v4-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 32%;
    background: linear-gradient(to bottom, transparent, rgba(7, 11, 18, 0.62));
}

.v4-hero__inner {
    z-index: 2;
    display: flex;
    min-height: calc(min(940px, 100svh) - 72px);
    padding: clamp(116px, 13vh, 160px) 0 110px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.v4-hero__brand {
    width: 150px;
    height: auto;
    margin-bottom: 34px;
}

.v4-hero h1 {
    max-width: 1040px;
    padding: 0 0.035em 0.09em 0;
    color: var(--text);
    font-size: clamp(60px, 7.6vw, 112px);
    line-height: 0.99;
}

.v4-hero h1 span {
    color: transparent;
    background: linear-gradient(105deg, #d9f2ff 0%, #88c1ff 46%, #217cf2 82%, #0f5fd5 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.v4-hero__copy {
    max-width: 730px;
    margin-top: 30px;
    color: rgba(231, 239, 251, 0.78);
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.62;
}

.v4-hero .v4-actions {
    margin-top: 38px;
}

.v4-trust {
    display: flex;
    align-items: center;
    max-width: 650px;
    gap: 15px;
    margin-top: 32px;
    color: var(--text-tertiary);
    font-size: 13px;
    line-height: 1.5;
}

.v4-eu-stars {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: rgba(0, 52, 153, 0.5);
    box-shadow: inset 0 0 0 1px rgba(89, 151, 255, 0.36), 0 0 20px rgba(22, 111, 242, 0.16);
}

.v4-eu-stars span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px;
    color: #ffd33d;
    font-size: 5px;
    line-height: 5px;
    text-align: center;
    transform: rotate(calc(var(--star) * 30deg)) translateY(-11px) rotate(calc(var(--star) * -30deg));
}

.v4-hero__atmosphere {
    position: absolute;
    inset: 72px 0 0;
    z-index: -2;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 76% 54%, rgba(46, 132, 222, 0.16), transparent 28%),
        radial-gradient(ellipse at 58% 65%, rgba(230, 155, 48, 0.08), transparent 20%),
        linear-gradient(to bottom, rgba(3, 5, 8, 0.2), rgba(3, 6, 10, 0.8));
}

.v4-hero__sunrise {
    position: absolute;
    left: 69%;
    bottom: 122px;
    z-index: 1;
    width: min(1050px, 82vw);
    height: 260px;
    border-radius: 50%;
    opacity: 0.78;
    transform: translateX(-50%);
    filter: blur(62px);
    background:
        radial-gradient(ellipse at 50% 84%, rgba(255, 252, 218, 0.74) 0%, rgba(255, 224, 139, 0.54) 25%, rgba(255, 171, 69, 0.34) 51%, rgba(255, 123, 38, 0.12) 70%, transparent 100%),
        radial-gradient(ellipse at 50% 88%, rgba(112, 193, 255, 0.26) 0%, rgba(37, 129, 232, 0.12) 48%, transparent 78%);
}

.v4-hero__planet {
    position: absolute;
    left: 69%;
    bottom: -720px;
    z-index: 3;
    width: min(1920px, 154vw);
    height: 870px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: #05080d;
    box-shadow:
        inset 0 2px 18px rgba(255, 255, 244, 0.58),
        0 -7px 52px 2px rgba(255, 247, 204, 0.34),
        0 -18px 84px 4px rgba(255, 174, 67, 0.28),
        0 -28px 110px rgba(46, 139, 237, 0.12);
}

/* Benefits */
.v4-anyone {
    background: linear-gradient(180deg, rgba(9, 18, 29, 0.55), rgba(4, 7, 11, 0.18));
}

.v4-benefit-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.v4-benefit-card {
    position: relative;
    min-height: 348px;
    padding: 34px 30px 36px;
    overflow: hidden;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(16, 27, 43, 0.7), rgba(5, 9, 15, 0.54));
    transition: background-color 180ms ease, transform 180ms ease;
}

.v4-benefit-card::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -74px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 124, 232, 0.16), transparent 70%);
}

.v4-benefit-card:hover {
    z-index: 2;
    background: linear-gradient(145deg, rgba(21, 38, 61, 0.84), rgba(7, 12, 20, 0.72));
    transform: translateY(-3px);
}

.v4-benefit-icon {
    position: relative;
    width: 44px;
    height: 48px;
    margin-bottom: 58px;
    color: var(--amber);
    border: 1px solid rgba(241, 172, 63, 0.76);
    clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
}

.v4-benefit-icon span,
.v4-benefit-icon span::before,
.v4-benefit-icon span::after {
    position: absolute;
    content: '';
    background: currentColor;
}

.v4-benefit-icon--prompt span {
    top: 20px;
    left: 11px;
    width: 21px;
    height: 2px;
}

.v4-benefit-icon--prompt span::before,
.v4-benefit-icon--prompt span::after {
    top: -5px;
    width: 2px;
    height: 12px;
}

.v4-benefit-icon--prompt span::before { left: 5px; transform: rotate(45deg); }
.v4-benefit-icon--prompt span::after { right: 5px; transform: rotate(-45deg); }

.v4-benefit-icon--team span {
    top: 12px;
    left: 16px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.v4-benefit-icon--team span::before {
    top: 13px;
    left: -5px;
    width: 20px;
    height: 10px;
    border-radius: 12px 12px 3px 3px;
}

.v4-benefit-icon--scale span {
    top: 14px;
    left: 12px;
    width: 20px;
    height: 2px;
    transform: rotate(-45deg);
}

.v4-benefit-icon--scale span::after {
    top: -5px;
    right: -1px;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    background: transparent;
}

.v4-benefit-icon--shield span {
    top: 10px;
    left: 12px;
    width: 19px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 10px 10px 14px 14px;
    background: transparent;
}

.v4-benefit-icon--shield span::after {
    top: 6px;
    left: 4px;
    width: 8px;
    height: 4px;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    background: transparent;
    transform: rotate(-45deg);
}

.v4-benefit-card .v4-number {
    margin-bottom: 16px;
}

.v4-benefit-card h3 {
    margin-bottom: 17px;
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.1;
}

.v4-benefit-card > p:last-child {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Division of work */
.v4-handoff__flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.v4-handoff__flow article {
    min-height: 254px;
    padding: 34px 22px 40px;
}

.v4-handoff__flow article:first-child { padding-left: 0; }
.v4-handoff__flow article:last-child { padding-right: 0; }

.v4-handoff__step {
    display: block;
    margin-bottom: 42px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 12px;
}

.v4-handoff__flow h3 {
    margin-bottom: 15px;
    font-size: clamp(24px, 2.5vw, 34px);
}

.v4-handoff__flow p {
    max-width: 320px;
    color: var(--text-secondary);
}

.v4-handoff__connector {
    display: flex;
    align-items: center;
    color: var(--amber);
    font-size: 27px;
}

/* Comparison */
.v4-comparison {
    background: linear-gradient(180deg, rgba(5, 9, 14, 0.25), rgba(7, 16, 27, 0.55));
}

.v4-comparison__table {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(3, 7, 12, 0.62);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.18);
}

.v4-comparison__row {
    display: grid;
    grid-template-columns: minmax(160px, 0.75fr) repeat(3, minmax(0, 1fr));
}

.v4-comparison__row + .v4-comparison__row {
    border-top: 1px solid var(--border);
}

.v4-comparison__row > div {
    position: relative;
    display: flex;
    min-height: 82px;
    padding: 20px 22px;
    align-items: center;
    color: rgba(219, 229, 243, 0.76);
    font-size: 14px;
    line-height: 1.5;
}

.v4-comparison__row > div + div {
    border-left: 1px solid var(--border);
}

.v4-comparison__head > div {
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.v4-comparison__head strong {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 21px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.v4-comparison__head span:not(.sr-only) {
    margin-top: 5px;
    color: var(--text-tertiary);
    font-size: 12px;
}

.v4-comparison__label {
    color: var(--text) !important;
    font-weight: 700;
}

.v4-comparison__row .is-fluxzero {
    background: linear-gradient(110deg, rgba(20, 78, 142, 0.2), rgba(15, 45, 82, 0.42));
    color: #87c7ff;
}

.v4-comparison__head .is-fluxzero {
    border-top: 2px solid var(--accent);
}

.v4-comparison__head .is-fluxzero strong {
    color: #80c3ff;
}

.v4-check {
    display: inline-flex;
    width: 19px;
    height: 19px;
    margin-right: 9px;
    flex: 0 0 19px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(86, 167, 250, 0.68);
    border-radius: 50%;
    background: rgba(38, 119, 207, 0.2);
    font-size: 10px;
}

.v4-comparison__action {
    display: flex;
    margin-top: 30px;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    text-align: center;
}

.v4-comparison__action p {
    color: var(--text-tertiary);
    font-size: 12px;
}

/* Proof */
.v4-proof__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(6, 12, 20, 0.62);
}

.v4-proof__stats article {
    min-height: 222px;
    padding: 42px 36px;
}

.v4-proof__stats article + article {
    border-left: 1px solid var(--border);
}

.v4-proof__stats strong {
    display: block;
    color: transparent;
    background: linear-gradient(105deg, #d4efff 0%, #5bafff 70%, #1c72e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-family: var(--font-display);
    font-size: clamp(46px, 5vw, 72px);
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.v4-proof__stats span {
    display: block;
    margin-top: 10px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 13px;
}

.v4-proof__stats p {
    margin-top: 26px;
    color: var(--text-secondary);
    font-size: 14px;
}

.v4-proof__logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 56px;
    align-items: center;
    gap: 34px;
}

.v4-proof__logos a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    opacity: 0.54;
    filter: grayscale(1);
    transition: opacity 160ms ease, filter 160ms ease;
}

.v4-proof__logos a:hover,
.v4-proof__logos a:focus-visible {
    opacity: 0.95;
    filter: none;
}

.v4-proof__logos img {
    width: auto;
    max-width: 150px;
    max-height: 35px;
}

/* Agent bridge */
.v4-agent-bridge {
    padding: clamp(72px, 8vw, 106px) 0;
    background:
        radial-gradient(circle at 75% 50%, rgba(32, 118, 218, 0.18), transparent 32%),
        linear-gradient(100deg, rgba(10, 21, 35, 0.85), rgba(4, 8, 13, 0.62));
}

.v4-agent-bridge__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.v4-agent-bridge h2 {
    font-size: clamp(43px, 5vw, 70px);
}

.v4-agent-bridge p:not(.v4-kicker) {
    max-width: 650px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 17px;
}

/* FAQ */
.v4-faq__layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
    gap: 90px;
}

.v4-faq__layout .v4-section-heading {
    margin-bottom: 0;
}

.v4-faq__layout .v4-section-heading a {
    color: #77bdff;
}

.v4-faq__list {
    border-top: 1px solid var(--border);
}

.v4-faq details {
    border-bottom: 1px solid var(--border);
}

.v4-faq summary {
    display: flex;
    min-height: 78px;
    padding: 22px 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--text);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    list-style: none;
}

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

.v4-faq summary span {
    color: var(--accent);
    font-size: 23px;
    font-weight: 400;
    transition: transform 150ms ease;
}

.v4-faq details[open] summary span {
    transform: rotate(45deg);
}

.v4-faq details > p {
    max-width: 690px;
    padding: 0 45px 26px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

/* Final */
.v4-final {
    position: relative;
    padding: clamp(120px, 15vw, 210px) 0;
    overflow: hidden;
    border-top: 1px solid rgba(179, 215, 255, 0.1);
    text-align: center;
}

.v4-final::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -45%;
    width: min(920px, 90vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28, 112, 219, 0.27), transparent 65%);
    transform: translateX(-50%);
}

.v4-final img {
    width: 138px;
    height: auto;
    margin-bottom: 32px;
}

.v4-final h2 {
    position: relative;
}

.v4-final p {
    position: relative;
    max-width: 650px;
    margin: 22px auto 0;
    color: var(--text-secondary);
    font-size: 18px;
}

.v4-final .v4-actions {
    position: relative;
    margin-top: 34px;
    justify-content: center;
}

/* Agent page */
.v4-agent-page {
    background: #030507;
}

.agent-hero {
    position: relative;
    min-height: 820px;
    padding: 72px 0 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.agent-hero::before {
    content: '';
    position: absolute;
    inset: 72px 0 0;
    background:
        radial-gradient(circle at 72% 44%, rgba(26, 122, 235, 0.14), transparent 28%),
        linear-gradient(rgba(61, 127, 196, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 127, 196, 0.028) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.agent-hero__grid {
    display: grid;
    min-height: 748px;
    padding: 110px 0 90px;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: clamp(50px, 7vw, 100px);
}

.agent-hero h1 {
    font-size: clamp(54px, 6.2vw, 90px);
}

.agent-hero h1 span {
    color: transparent;
    background: linear-gradient(105deg, #d3ecff 0%, #6ab1ff 48%, #1e73e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.agent-hero__copy > p {
    max-width: 690px;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 18px;
}

.agent-instruction {
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: rgba(3, 8, 14, 0.88);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.agent-instruction__bar {
    display: flex;
    min-height: 46px;
    padding: 0 12px 0 18px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 11px;
}

.agent-instruction__bar button {
    padding: 8px 13px;
    border: 1px solid rgba(73, 157, 241, 0.52);
    border-radius: 5px;
    background: rgba(30, 112, 201, 0.12);
    color: #82c4ff;
    cursor: pointer;
}

.agent-instruction__code {
    padding: 22px;
    overflow: auto;
    color: #d3e0f2;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.agent-instruction__status {
    min-height: 0;
    color: #79d9c2;
    font-family: var(--font-mono);
    font-size: 11px;
}

.agent-instruction__status:not(:empty) {
    min-height: 32px;
    padding: 0 22px 12px;
}

.agent-map {
    position: relative;
    display: grid;
    grid-template-columns: 0.8fr 0.95fr 1.2fr;
    align-items: center;
    gap: 34px;
}

.agent-map::before,
.agent-map::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(88, 166, 246, 0.66) 0 4px, transparent 4px 8px);
}

.agent-map::before { left: 19%; width: 23%; }
.agent-map::after { right: 24%; width: 18%; }

.agent-map__inputs,
.agent-map__platform {
    display: grid;
    gap: 15px;
}

.agent-map__inputs span,
.agent-map__platform span {
    position: relative;
    padding: 9px 11px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: rgba(5, 11, 18, 0.86);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 10px;
}

.agent-map__inputs span::after,
.agent-map__platform span::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 9px currentColor;
    transform: translateY(-50%);
}

.agent-map__inputs span::after { right: -21px; }
.agent-map__platform span::before { left: -21px; background: var(--accent); }

.agent-map__core {
    position: relative;
    z-index: 2;
    display: flex;
    aspect-ratio: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(85, 169, 255, 0.7);
    background: linear-gradient(145deg, rgba(25, 93, 164, 0.46), rgba(7, 17, 30, 0.92));
    clip-path: polygon(50% 0, 92% 23%, 92% 77%, 50% 100%, 8% 77%, 8% 23%);
    box-shadow: 0 0 46px rgba(31, 125, 227, 0.22);
}

.agent-map__core strong {
    color: #85c7ff;
    font-family: var(--font-display);
    font-size: 46px;
    line-height: 1;
}

.agent-map__core small {
    margin-top: 7px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 9px;
}

.agent-section-heading {
    max-width: 880px;
}

.agent-capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.agent-capability-grid article {
    min-height: 330px;
    padding: 36px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(4, 8, 13, 0.56);
}

.agent-capability-grid h3 {
    margin-top: 16px;
    color: #70b9ff;
    font-family: var(--font-body);
    font-size: clamp(24px, 2.7vw, 34px);
    font-weight: 400;
    letter-spacing: -0.03em;
}

.agent-capability-grid article > p:nth-of-type(2) {
    max-width: 560px;
    margin-top: 15px;
    color: var(--text-secondary);
}

.agent-capability__flow {
    display: flex;
    margin-top: 42px;
    align-items: center;
    gap: 8px;
}

.agent-capability__flow span {
    flex: 1 1 auto;
    padding: 8px 6px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: #9fb1c8;
    font-family: var(--font-mono);
    font-size: 9px;
    text-align: center;
}

.agent-capability__flow i {
    color: var(--amber);
    font-family: var(--font-mono);
    font-size: 11px;
    font-style: normal;
}

.agent-code {
    background: linear-gradient(110deg, rgba(7, 16, 27, 0.8), rgba(3, 6, 10, 0.6));
}

.agent-code__layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 90px;
}

.agent-code h2 {
    font-size: clamp(45px, 5vw, 70px);
}

.agent-code__layout > div > p:not(.v4-kicker) {
    max-width: 570px;
    margin-top: 22px;
    color: var(--text-secondary);
    font-size: 17px;
}

.agent-code__layout > div > a {
    display: inline-flex;
    margin-top: 28px;
    gap: 10px;
    color: #78bdff;
    font-weight: 700;
}

.agent-code__sample {
    margin: 0;
    padding: clamp(28px, 4vw, 54px);
    overflow: auto;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #050910;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
    color: #dce7f5;
    font-family: var(--font-mono);
    font-size: clamp(12px, 1.3vw, 15px);
    line-height: 1.9;
    white-space: pre-wrap;
}

.agent-sources {
    display: flex;
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 9px 18px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 10px;
}

.agent-sources p {
    width: 100%;
}

.agent-sources a {
    color: #7da7d2;
}

.agent-sources a:hover,
.agent-sources a:focus-visible {
    color: #9fd2ff;
}

.agent-links {
    padding-top: 70px;
    padding-bottom: 90px;
}

.agent-links__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.agent-links__grid a {
    position: relative;
    display: flex;
    min-height: 132px;
    padding: 27px 30px;
    flex-direction: column;
    justify-content: center;
    background: rgba(7, 13, 21, 0.64);
    transition: background-color 160ms ease;
}

.agent-links__grid a + a {
    border-left: 1px solid var(--border);
}

.agent-links__grid a:hover,
.agent-links__grid a:focus-visible {
    background: rgba(16, 38, 62, 0.76);
}

.agent-links__grid span {
    color: var(--amber);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.agent-links__grid strong {
    margin-top: 9px;
    padding-right: 34px;
    color: var(--text);
    font-size: 17px;
}

.agent-links__grid i {
    position: absolute;
    right: 28px;
    bottom: 27px;
    color: var(--accent);
    font-size: 22px;
    font-style: normal;
}

@media (max-width: 1050px) {
    .v4-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v4-benefit-card {
        min-height: 310px;
    }

    .v4-comparison__row > div {
        padding: 18px 16px;
        font-size: 12.5px;
    }

    .v4-comparison__head strong {
        font-size: 18px;
    }

    .agent-hero__grid {
        grid-template-columns: 1fr;
    }

    .agent-map {
        max-width: 680px;
        margin: 20px auto 0;
    }
}

@media (max-width: 860px) {
    .v4-shell {
        width: min(var(--max-w), calc(100% - 40px));
    }

    .v4-hero {
        min-height: 820px;
    }

    .v4-hero__inner {
        min-height: 748px;
        padding-top: 90px;
    }

    .v4-handoff__flow {
        grid-template-columns: 1fr;
    }

    .v4-handoff__flow article,
    .v4-handoff__flow article:first-child,
    .v4-handoff__flow article:last-child {
        min-height: auto;
        padding: 30px 0;
    }

    .v4-handoff__step {
        margin-bottom: 18px;
    }

    .v4-handoff__connector {
        height: 28px;
        transform: rotate(90deg);
        transform-origin: left center;
    }

    .v4-comparison__table {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .v4-comparison__head {
        display: none;
    }

    .v4-comparison__row:not(.v4-comparison__head) {
        display: grid;
        margin-bottom: 18px;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 10px;
        grid-template-columns: 1fr;
        background: rgba(4, 9, 15, 0.7);
    }

    .v4-comparison__row + .v4-comparison__row {
        border-top: 1px solid var(--border);
    }

    .v4-comparison__row > div,
    .v4-comparison__row > div + div {
        min-height: 0;
        padding: 17px 20px;
        border-top: 1px solid var(--border);
        border-left: 0;
        font-size: 14px;
    }

    .v4-comparison__row .v4-comparison__label {
        border-top: 0;
        background: rgba(255, 255, 255, 0.02);
        font-size: 16px;
    }

    .v4-comparison__row > div[role='cell']::before {
        content: attr(data-label);
        width: 145px;
        flex: 0 0 145px;
        color: var(--text-tertiary);
        font-family: var(--font-mono);
        font-size: 9px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .v4-proof__stats {
        grid-template-columns: 1fr;
    }

    .v4-proof__stats article + article {
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .v4-agent-bridge__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .v4-faq__layout {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .agent-capability-grid,
    .agent-code__layout {
        grid-template-columns: 1fr;
    }

    .agent-code__layout {
        gap: 50px;
    }

    .agent-links__grid {
        grid-template-columns: 1fr;
    }

    .agent-links__grid a + a {
        border-top: 1px solid var(--border);
        border-left: 0;
    }
}

@media (max-width: 600px) {
    body.v4-page {
        font-size: 15px;
    }

    .v4-shell {
        width: calc(100% - 32px);
    }

    .v4-section {
        padding: 82px 0;
    }

    .v4-section-heading {
        margin-bottom: 42px;
    }

    .v4-section-heading h2,
    .v4-final h2 {
        font-size: clamp(41px, 12vw, 58px);
    }

    .v4-section-heading > p:last-child {
        margin-top: 18px;
        font-size: 16px;
    }

    .v4-hero {
        min-height: 790px;
        padding-top: 58px;
    }

    .v4-hero__inner {
        min-height: 732px;
        padding: 76px 0 70px;
        justify-content: center;
    }

    .v4-hero__brand {
        width: 128px;
        margin-bottom: 28px;
    }

    .v4-hero h1 {
        width: 100%;
        font-size: clamp(48px, 14.7vw, 68px);
        line-height: 1.02;
    }

    .v4-hero h1 br {
        display: none;
    }

    .v4-hero__copy {
        margin-top: 24px;
        font-size: 17px;
    }

    .v4-hero .v4-actions {
        width: 100%;
        margin-top: 30px;
    }

    .v4-button {
        min-height: 50px;
        padding: 0 20px;
        gap: 16px;
        font-size: 14px;
    }

    .v4-trust {
        align-items: flex-start;
        font-size: 11px;
    }

    .v4-hero__atmosphere {
        inset: 58px 0 0;
    }

    .v4-benefit-grid {
        grid-template-columns: 1fr;
    }

    .v4-benefit-card {
        min-height: 0;
        padding: 28px 24px 34px;
    }

    .v4-benefit-icon {
        margin-bottom: 38px;
    }

    .v4-proof__stats article {
        min-height: 190px;
        padding: 34px 26px;
    }

    .v4-proof__logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }

    .v4-proof__logos a:last-child {
        grid-column: 1 / -1;
    }

    .v4-final {
        padding: 110px 0;
    }

    .v4-faq details > p {
        padding-right: 0;
    }

    .agent-hero {
        min-height: 0;
        padding-top: 58px;
    }

    .agent-hero__grid {
        min-height: 0;
        padding: 86px 0 74px;
        gap: 60px;
    }

    .agent-hero h1 {
        font-size: clamp(44px, 13vw, 60px);
    }

    .agent-instruction__code {
        padding: 18px;
        font-size: 10px;
    }

    .agent-map {
        width: 100%;
        grid-template-columns: 0.8fr 0.9fr 1.2fr;
        gap: 15px;
    }

    .agent-map::before,
    .agent-map::after,
    .agent-map__inputs span::after,
    .agent-map__platform span::before {
        display: none;
    }

    .agent-map__inputs span,
    .agent-map__platform span {
        padding: 7px 5px;
        font-size: 7px;
    }

    .agent-map__core strong {
        font-size: 29px;
    }

    .agent-map__core small {
        font-size: 6px;
    }

    .agent-capability-grid {
        grid-template-columns: 1fr;
    }

    .agent-capability-grid article {
        min-height: 0;
        padding: 28px 22px 32px;
    }

    .agent-capability__flow {
        margin-top: 32px;
        gap: 4px;
    }

    .agent-capability__flow span {
        padding: 7px 3px;
        font-size: 7px;
    }

    .agent-code__sample {
        padding: 24px 18px;
        font-size: 10px;
    }

    .v4-comparison__row > div[role='cell'] {
        display: grid;
        grid-template-columns: 112px 1fr;
    }

    .v4-comparison__row > div[role='cell']::before {
        width: auto;
        flex-basis: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
