/* ==========================================================================
   企友 QIYOU · ABOX 官方网站
   Design language: bright editorial — ivory paper, emerald ink, fresh green
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --ink: #0b3027;
    --ink-2: #0c3a2e;
    --ink-3: #14503b;
    --paper: #ffffff;
    --paper-2: #eef8f1;
    --paper-3: #dcf0e4;
    --text: #14211b;
    --muted: #5a6a61;
    --muted-dark: #b9d8c9;
    --line: rgba(20, 33, 27, 0.12);
    --line-strong: rgba(20, 33, 27, 0.24);
    --line-dark: rgba(255, 255, 255, 0.13);
    --brand: #0b7a4b;
    --brand-core: #0b7a4b;
    --brand-vivid: #2fbf71;
    --brand-bright: #8bebc0;
    --brand-deep: #0b3b2e;
    --brand-soft: #e6f8ee;
    --lime: #d8f36a;
    --blue: #0b7a4b;
    --violet: #0b3b2e;
    --signal: #0b7a4b;
    --grad: linear-gradient(115deg, #2fbf71 0%, #0b7a4b 55%, #0b3b2e 100%);
    --font-sans: 'HarmonyOS Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'SFMono-Regular', 'SF Mono', 'JetBrains Mono', 'Cascadia Mono', Consolas, 'Liberation Mono', monospace;
    --container: 1240px;
    --gutter: clamp(20px, 5vw, 56px);
    --header-h: 76px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --shadow-1: 0 1px 2px rgba(11, 48, 39, 0.05), 0 18px 44px rgba(11, 48, 39, 0.08);
    --shadow-2: 0 2px 4px rgba(11, 48, 39, 0.06), 0 32px 80px rgba(11, 48, 39, 0.16);
}

/* Dark surfaces keep the brighter mint tint for legibility */
.phone,
.site-footer,
.cta,
.panel-dark,
.caps-code,
.mini-code,
.deploy-row.is-featured {
    --brand: var(--brand-bright);
    --signal: var(--brand-bright);
    --blue: #8bebc0;
    --violet: #4fbf8f;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body.nav-open {
    overflow: hidden;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
    margin: 0;
}
ul,
ol {
    padding: 0;
    list-style: none;
}
img,
svg {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}
button {
    background: none;
    border: 0;
    cursor: pointer;
}
::selection {
    background: var(--brand-core);
    color: #ffffff;
}
:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 2px;
}
.dark :focus-visible,
.site-header :focus-visible {
    outline-color: var(--signal);
}

/* ---------- Helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.dark {
    background: var(--ink);
    color: var(--paper);
}
.dark .muted,
.dark .section-lead {
    color: var(--muted-dark);
}
.mono {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.muted {
    color: var(--muted);
}
.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--brand-core);
    color: #ffffff;
    font-weight: 700;
    border-radius: 3px;
}
.skip-link:focus {
    top: 16px;
}
.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;
}
.u-hide-sm {
    display: initial;
}

/* ---------- Type ---------- */
.display {
    font-size: clamp(2.6rem, 5.6vw, 4.9rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 800;
}
.section-title {
    font-size: clamp(1.8rem, 3.1vw, 2.65rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    font-weight: 800;
}
.section-lead {
    max-width: 62ch;
    margin-top: 20px;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.9;
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.dark .eyebrow {
    color: var(--muted-dark);
}
.eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--signal);
    flex: none;
}
.eyebrow .idx {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--brand);
    font-weight: 600;
}
.dark .eyebrow .idx {
    color: var(--signal);
}

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
    white-space: nowrap;
}
.btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-1);
}
.btn:hover svg {
    transform: translateX(3px);
}
.btn:active {
    transform: translateY(0);
}
.btn-signal {
    --btn-bg: #0c844c;
    --btn-fg: #ffffff;
}
.btn-signal:hover {
    box-shadow: 0 14px 36px rgba(12, 132, 76, 0.28);
}
.cta .btn-signal {
    --btn-bg: var(--lime);
    --btn-fg: var(--ink);
}
.cta .btn-signal:hover {
    box-shadow: 0 14px 36px rgba(216, 243, 106, 0.25);
}
.btn-ghost {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    border-color: var(--line-strong);
}
.dark .btn-ghost {
    --btn-fg: var(--paper);
    border-color: rgba(255, 255, 255, 0.24);
}
.btn-ghost:hover {
    background: rgba(11, 122, 75, 0.06);
}
.dark .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
}
.cta .btn-ghost {
    --btn-fg: #ffffff;
    border-color: rgba(255, 255, 255, 0.42);
}
.cta .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.62);
}
.cta .eyebrow {
    color: rgba(255, 255, 255, 0.88);
}
.cta .eyebrow .idx {
    color: var(--lime);
}
.btn-sm {
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
}
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 6px;
    transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-link:hover {
    gap: 16px;
    border-color: var(--brand);
}
.btn-link svg {
    width: 15px;
    height: 15px;
}
.dark .btn-link {
    border-color: rgba(255, 255, 255, 0.3);
}
.dark .btn-link:hover {
    border-color: var(--signal);
}

/* ---------- Back to top ---------- */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 80px;
    z-index: 80;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(11, 122, 75, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand);
    box-shadow: 0 6px 18px rgba(11, 48, 39, 0.1);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease),
        border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), visibility 0.3s;
}
.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.to-top:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(11, 122, 75, 0.25);
}
.to-top svg {
    width: 18px;
    height: 18px;
}
@media (max-width: 620px) {
    .to-top {
        right: 23px;
        bottom: 78px;
        width: 42px;
        height: 42px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .to-top {
        transition: none;
    }
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    top: calc(var(--header-h) + 16px);
    left: 50%;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(420px, calc(100vw - 40px));
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: var(--brand);
    box-shadow: 0 12px 32px rgba(11, 122, 75, 0.28);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.toast svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: #ffffff;
}
@media (max-width: 620px) {
    .toast {
        top: calc(var(--header-h) + 12px);
        font-size: 13px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .toast {
        transition: none;
    }
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 90;
    height: var(--header-h);
    display: flex;
    align-items: center;
    color: var(--text);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 0;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: background 0.4s var(--ease);
}
.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(11, 122, 75, 0.14) 12%,
        rgba(11, 122, 75, 0.2) 50%,
        rgba(11, 122, 75, 0.14) 88%,
        transparent 100%
    );
    pointer-events: none;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}
.brand-logo {
    display: block;
    width: auto;
    height: 52px;
}
.site-footer .brand-logo {
    height: 58px;
}
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}
.nav a {
    position: relative;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--muted);
    transition: color 0.25s var(--ease);
}
.nav a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: var(--brand-vivid);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav a:hover,
.nav a[aria-current='page'] {
    color: var(--text);
}
.nav a:hover::after,
.nav a[aria-current='page']::after {
    transform: scaleX(1);
}
.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}
.link-console {
    font-size: 13px;
    color: var(--muted);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-console:hover {
    color: var(--text);
    border-color: var(--line-strong);
}
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
}
.nav-mobile-actions {
    display: none;
}
.nav-toggle span {
    position: relative;
    width: 18px;
    height: 2px;
    background: var(--text);
    transition: background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s var(--ease);
}
.nav-toggle span::before {
    top: -6px;
}
.nav-toggle span::after {
    top: 6px;
}
.nav-open .nav-toggle span {
    background: transparent;
}
.nav-open .nav-toggle span::before {
    transform: translateY(6px) rotate(45deg);
}
.nav-open .nav-toggle span::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 0;
    background: var(--paper);
    color: var(--text);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(11, 122, 75, 0.14) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 10%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 10%, transparent 72%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 900px;
    height: 900px;
    right: -240px;
    top: -380px;
    background: radial-gradient(circle, rgba(47, 191, 113, 0.18), rgba(47, 191, 113, 0) 62%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    padding-bottom: clamp(40px, 4.5vw, 64px);
}
.hero-copy .eyebrow {
    margin-bottom: 20px;
}
.hero-copy .eyebrow .idx {
    color: var(--brand);
}
.hero h1 {
    font-size: clamp(2.2rem, 3.5vw, 3.05rem);
    line-height: 1.3;
    letter-spacing: -0.018em;
    font-weight: 800;
}
.hero h1 .accent {
    position: relative;
    white-space: nowrap;
    color: var(--brand);
}
.hero h1 .accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.03em;
    height: 0.1em;
    background: var(--lime);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    animation: draw-underline 0.9s var(--ease) 0.7s forwards;
}
.hero-lead {
    margin-top: 22px;
    max-width: 46ch;
    color: var(--muted);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.9;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}
.hero-foot {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.hero-foot span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-foot span::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--brand-vivid);
    opacity: 0.9;
}
@keyframes draw-underline {
    to {
        transform: scaleX(1);
    }
}

/* ---------- Hero stage (product mockup) ---------- */
.stage {
    position: relative;
    container-type: inline-size;
    width: 100%;
    padding-bottom: 12%;
}
.app-window {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.82;
    font-size: clamp(6.5px, 1.7cqw, 11.5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(16, 62, 47, 0.97), rgba(8, 34, 26, 0.99));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 50px 110px rgba(0, 0, 0, 0.6), 0 0 80px rgba(31, 107, 79, 0.12);
    overflow: hidden;
    animation: stage-in 1s var(--ease) 0.15s both;
}
@keyframes stage-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.985);
    }
}
.app-bar {
    display: flex;
    align-items: center;
    gap: 1.4em;
    height: 4.4em;
    padding: 0 1.6em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.02);
}
.app-dots {
    display: flex;
    gap: 0.5em;
}
.app-dots i {
    width: 0.7em;
    height: 0.7em;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}
.app-dots i:nth-child(1) {
    background: rgba(255, 107, 107, 0.8);
}
.app-dots i:nth-child(2) {
    background: rgba(255, 196, 87, 0.8);
}
.app-dots i:nth-child(3) {
    background: rgba(110, 226, 140, 0.8);
}
.app-title {
    font-family: var(--font-sans);
    font-size: 1.05em;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #5a6a61;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--font-sans);
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--signal);
    white-space: nowrap;
}
.app-live i {
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
    background: var(--signal);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(125, 216, 176, 0.5);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 0.5em rgba(125, 216, 176, 0);
    }
}
.canvas {
    position: relative;
    height: calc(100% - 4.4em);
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 0.6px, transparent 0.6px);
    background-size: 2.4em 2.4em;
    background-position: 1.2em 1.2em;
}
.wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.wires path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}
.wires circle {
    fill: rgba(125, 216, 176, 0.9);
}
.node {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4em;
    padding: 0.9em 1.1em;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.6em;
    background: linear-gradient(165deg, rgba(20, 70, 54, 0.96), rgba(10, 42, 32, 0.96));
    box-shadow: 0 0.8em 1.8em rgba(0, 0, 0, 0.35);
}
.node .n-kind {
    font-family: var(--font-sans);
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.6em;
}
.node .n-kind::before {
    content: '';
    width: 0.55em;
    height: 0.55em;
    background: var(--blue);
    flex: none;
}
.node .n-title {
    font-size: 1.35em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
}
.node .n-sub {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}
.node.is-active {
    border-color: rgba(125, 216, 176, 0.55);
    box-shadow: 0 0 0 1px rgba(125, 216, 176, 0.25), 0 0.8em 2em rgba(0, 0, 0, 0.45), 0 0 3em rgba(125, 216, 176, 0.08);
}
.node.is-active .n-kind::before {
    background: var(--signal);
}
.node-voice {
    background: linear-gradient(160deg, rgba(22, 92, 68, 0.55), rgba(20, 22, 28, 0.95));
}
.node-voice .wave-mini {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 1.6em;
    margin-top: 0.2em;
}
.wave-mini i {
    width: 2px;
    border-radius: 1px;
    background: var(--signal);
    opacity: 0.85;
    animation: wave 1.2s ease-in-out infinite;
}
@keyframes wave {
    0%,
    100% {
        height: 22%;
    }
    50% {
        height: 100%;
    }
}
.node-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.25em 0.6em;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2em;
    font-size: 0.88em;
    color: rgba(255, 255, 255, 0.66);
    width: fit-content;
}
.node-chip b {
    color: var(--signal);
    font-weight: 500;
}
.n-start {
    left: 4%;
    top: 5%;
    width: 26%;
    height: 11%;
    flex-direction: row;
    align-items: center;
    gap: 0.7em;
    padding: 0.6em 1em;
}
.n-start .dot {
    width: 1.4em;
    height: 1.4em;
    border-radius: 50%;
    border: 1px solid rgba(125, 216, 176, 0.55);
    display: grid;
    place-items: center;
}
.n-start .dot::before {
    content: '';
    width: 0.5em;
    height: 0.5em;
    background: var(--signal);
    border-radius: 50%;
}
.n-start .n-title {
    font-size: 1.1em;
}
.n-intent {
    left: 4%;
    top: 22%;
    width: 41%;
    height: 21%;
}
.n-kb {
    left: 4%;
    top: 56%;
    width: 41%;
    height: 16%;
}
.n-branch {
    left: 55%;
    top: 22%;
    width: 41%;
    height: 17%;
}
.n-voice {
    left: 55%;
    top: 46%;
    width: 41%;
    height: 23%;
}
.float-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: rgba(27, 23, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 3px;
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(246, 242, 235, 0.8);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    z-index: 4;
}
.float-tag i {
    width: 5px;
    height: 5px;
    background: var(--signal);
    border-radius: 50%;
}
.tag-a {
    left: -3%;
    top: -3.5%;
}
.tag-b {
    right: 4%;
    top: -6%;
    color: var(--signal);
    border-color: rgba(125, 216, 176, 0.4);
}
.call-card {
    position: absolute;
    right: 0;
    bottom: -2%;
    width: 44%;
    z-index: 5;
    padding: 1.4em 1.5em;
    font-size: clamp(6.5px, 1.64cqw, 11px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(11, 42, 32, 0.97);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}
.call-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    font-family: var(--font-sans);
    font-size: 0.95em;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.55);
}
.call-head b {
    font-family: var(--font-mono);
    font-size: 0.85em;
    letter-spacing: 0.1em;
    color: var(--signal);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}
.call-head b::before {
    content: '';
    width: 0.55em;
    height: 0.55em;
    background: var(--signal);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.call-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 3em;
    margin: 1.1em 0 1.2em;
}
.call-wave i {
    flex: 1;
    border-radius: 1px;
    background: linear-gradient(180deg, var(--signal), rgba(125, 216, 176, 0.25));
    animation: wave 1.1s ease-in-out infinite;
}
.call-wave i:nth-child(3n) {
    animation-duration: 0.9s;
}
.call-wave i:nth-child(4n) {
    animation-duration: 1.45s;
}
.call-wave i:nth-child(5n) {
    animation-duration: 1.7s;
}
.call-wave i:nth-child(2n) {
    animation-delay: -0.32s;
}
.call-line {
    display: flex;
    gap: 0.8em;
    align-items: flex-start;
    font-size: 1em;
    line-height: 1.65;
    margin-bottom: 0.8em;
}
.call-line span {
    flex: none;
    font-family: var(--font-sans);
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.35);
    padding-top: 0.2em;
}
.call-line p {
    color: rgba(255, 255, 255, 0.82);
}
.call-line.ai p {
    color: rgba(125, 216, 176, 0.9);
}
.call-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6em;
    margin-top: 1.2em;
    padding-top: 1em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.call-metrics span {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.82em;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 0.3em;
}
.call-metrics strong {
    font-size: 1.2em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- Trust strip ---------- */
.trust-strip {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
}
.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.trust-item {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 26px 28px;
    border-left: 1px solid var(--line);
}
.trust-item:first-child {
    border-left: 0;
    padding-left: 0;
}
.trust-item strong {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--brand);
    line-height: 1;
}
.trust-item span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* ---------- Sections ---------- */
.section {
    position: relative;
    padding: clamp(72px, 9vw, 128px) 0;
}
.section-page-top {
    padding-top: calc(var(--header-h) + clamp(44px, 5vw, 76px));
    padding-bottom: 0;
}
.section-page-top + .section {
    padding-top: clamp(48px, 5vw, 72px);
}
.section[id] {
    scroll-margin-top: calc(var(--header-h) + 56px);
}
.section-paper2 {
    background: var(--paper);
}
.section-ink {
    background: var(--ink);
    color: var(--paper);
}
.section-head {
    max-width: 860px;
}
.section-head .eyebrow {
    margin-bottom: 22px;
}
.section-head-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(24px, 6vw, 80px);
    align-items: end;
    max-width: none;
}
.section-head-split .section-lead {
    margin-top: 0;
    padding-bottom: 6px;
}

/* ---------- Statement ---------- */
.statement {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(28px, 6vw, 88px);
    align-items: start;
}
.statement-quote {
    font-size: clamp(1.65rem, 2.9vw, 2.45rem);
    line-height: 1.35;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.statement-quote em {
    font-style: normal;
    color: var(--brand);
}
.statement-body p {
    color: var(--muted);
    font-size: clamp(0.98rem, 1.15vw, 1.06rem);
    line-height: 1.95;
}
.statement-body p + p {
    margin-top: 18px;
}
.statement-body .sig {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}
.statement-body .sig::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--brand);
}

/* ---------- Pillars ---------- */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: clamp(48px, 6vw, 72px);
    border-top: 1px solid var(--line);
}
.pillar {
    position: relative;
    padding: 32px 26px 8px 0;
    border-right: 1px solid var(--line);
}
.pillar:last-child {
    border-right: 0;
}
.pillar + .pillar {
    padding-left: 26px;
}
.pillar-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--brand);
}
.pillar h3 {
    margin-top: 22px;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.pillar p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}
.pillar .pillar-mark {
    position: absolute;
    right: 22px;
    top: 26px;
    width: 26px;
    height: 26px;
    color: rgba(32, 28, 27, 0.36);
}
.pillar:hover .pillar-mark {
    color: var(--brand);
}
.pillar-mark {
    transition: color 0.3s var(--ease);
}

/* ---------- Capability grid ---------- */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: clamp(44px, 5vw, 64px);
    background: var(--line);
    border: 1px solid var(--line);
}
.cap {
    position: relative;
    background: var(--paper-2);
    padding: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 300px;
    min-width: 0;
    transition: background 0.35s var(--ease);
}
.cap:hover {
    background: var(--paper);
}
.cap-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.cap-idx {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--muted);
}
.cap-ico {
    width: 36px;
    height: 36px;
    color: var(--brand);
}
.cap h3 {
    font-size: clamp(1.15rem, 1.6vw, 1.38rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.cap p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.85;
    max-width: 46ch;
}
.cap-visual {
    margin-top: auto;
    padding-top: 10px;
    min-width: 0;
}
.cap-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
}
.cap-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease);
}
.cap:hover .cap-link svg {
    transform: translateX(4px);
}

/* mini flow */
.mini-flow {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    overflow: hidden;
}
.mini-flow .mf-node {
    flex: none;
    padding: 7px 11px;
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    color: var(--text);
    white-space: nowrap;
}
.mini-flow .mf-node.active {
    background: var(--ink);
    color: var(--brand-bright);
    border-color: var(--ink);
}
.mini-flow .mf-link {
    flex: 1;
    height: 1px;
    min-width: 18px;
    background: var(--line-strong);
    position: relative;
}
.mini-flow .mf-link::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 5px;
    height: 5px;
    border-top: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
    transform: rotate(45deg);
}
/* mini wave */
.mini-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 42px;
}
.mini-wave i {
    width: 3px;
    border-radius: 2px;
    background: var(--brand);
    opacity: 0.85;
}
/* mini doc */
.mini-doc {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 14px 16px;
}
.mini-doc .md-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.06em;
    color: var(--muted);
    padding: 5px 0;
}
.mini-doc .md-bar {
    height: 4px;
    background: var(--line);
    flex: 1;
}
.mini-doc .md-hit {
    padding: 6px 10px;
    background: rgba(125, 216, 176, 0.35);
    border-left: 2px solid var(--ink);
    color: var(--text);
    margin-top: 6px;
}
/* mini code */
.mini-code {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--ink);
    color: rgba(246, 242, 235, 0.75);
    padding: 16px 18px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    line-height: 1.85;
    overflow: hidden;
}
.mini-code .c-key {
    color: #e7c4a4;
}
.mini-code .c-str {
    color: var(--signal);
}
.mini-code .c-com {
    color: rgba(246, 242, 235, 0.35);
}

/* ---------- Voice section ---------- */
.voice-section {
    position: relative;
    overflow: hidden;
    background: var(--paper);
    color: var(--text);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.voice-section::before {
    content: '';
    position: absolute;
    width: 720px;
    height: 720px;
    right: -200px;
    bottom: -320px;
    background: radial-gradient(circle, rgba(47, 191, 113, 0.16), transparent 65%);
    pointer-events: none;
}
.voice-head {
    position: relative;
    max-width: 940px;
    margin-bottom: clamp(36px, 4vw, 56px);
}
.voice-head .eyebrow {
    margin-bottom: 24px;
}
.voice-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}
.voice-points {
    margin-top: 40px;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}
.voice-point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.voice-point .vp-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--brand);
    padding-top: 4px;
}
.voice-point h3 {
    font-size: 1.02rem;
    font-weight: 600;
}
.voice-point p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}
.phone {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(170deg, rgba(16, 62, 47, 0.94), rgba(8, 34, 26, 0.97));
    border-radius: 8px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}
.phone-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(246, 242, 235, 0.5);
}
.phone-head .live {
    color: var(--signal);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.phone-head .live::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--signal);
    animation: pulse 2s infinite;
}
.phone-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 64px;
    margin: 22px 0;
}
.phone-wave i {
    flex: 1;
    border-radius: 1px;
    background: linear-gradient(180deg, var(--signal), rgba(125, 216, 176, 0.2));
    animation: wave 1.3s ease-in-out infinite;
}
.phone-wave i:nth-child(3n) {
    animation-duration: 1s;
}
.phone-wave i:nth-child(4n) {
    animation-duration: 1.7s;
}
.phone-wave i:nth-child(5n) {
    animation-duration: 2s;
}
.phone-wave i:nth-child(2n) {
    animation-delay: -0.4s;
}
.transcript {
    display: grid;
    gap: 12px;
}
.t-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.t-line .who {
    flex: none;
    width: 34px;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(246, 242, 235, 0.35);
    padding-top: 5px;
}
.t-bubble {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(246, 242, 235, 0.85);
    border-radius: 2px;
}
.t-line.ai .t-bubble {
    background: rgba(125, 216, 176, 0.1);
    border-color: rgba(125, 216, 176, 0.32);
    color: #dcf7e9;
}
.t-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.t-chip {
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(246, 242, 235, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 4px 9px;
    border-radius: 2px;
}
.t-chip b {
    color: var(--signal);
    font-weight: 500;
}

/* ---------- Scenario accordion ---------- */
.scenario-list {
    margin-top: clamp(36px, 5vw, 56px);
    border-top: 1px solid var(--line);
}
.scenario {
    border-bottom: 1px solid var(--line);
}
.scenario-head {
    display: grid;
    grid-template-columns: 64px 1fr auto 40px;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 26px 4px;
    text-align: left;
    transition: padding 0.35s var(--ease);
}
.scenario-head:hover {
    padding-left: 14px;
}
.s-idx {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--muted);
}
.s-title {
    font-size: clamp(1.1rem, 1.9vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}
.s-tag {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 4px 10px;
    white-space: nowrap;
}
.s-toggle {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background 0.3s var(--ease), transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.s-toggle::before,
.s-toggle::after {
    content: '';
    position: absolute;
    width: 11px;
    height: 1px;
    background: currentColor;
    grid-area: 1 / 1;
}
.s-toggle::after {
    transform: rotate(90deg);
    transition: transform 0.35s var(--ease);
}
.scenario-head[aria-expanded='true'] .s-toggle {
    background: var(--ink);
    color: var(--brand-bright);
    border-color: var(--ink);
}
.scenario-head[aria-expanded='true'] .s-toggle::after {
    transform: rotate(0deg);
}
.scenario-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease);
}
.scenario-body > div {
    overflow: hidden;
}
.scenario.is-open .scenario-body {
    grid-template-rows: 1fr;
}
.scenario-inner {
    display: grid;
    grid-template-columns: 64px 1fr 1fr;
    gap: 20px;
    padding: 0 4px 34px;
}
.scenario-desc {
    grid-column: 2 / 3;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    max-width: 52ch;
}
.scenario-points {
    display: grid;
    gap: 10px;
    align-content: start;
}
.scenario-points li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.7;
}
.scenario-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 1px;
    background: var(--brand);
}
.scenario-out {
    grid-column: 2 / 4;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    font-size: 13.5px;
    color: var(--muted);
}
.scenario-out b {
    color: var(--text);
    font-weight: 600;
}

/* ---------- Deployment ---------- */
.deploy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: clamp(40px, 5vw, 60px);
}
.deploy-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 28px 26px;
    border: 1px solid var(--line);
    background: var(--paper);
    min-height: 300px;
    transition: border-color 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.deploy-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-1);
}
.deploy-card.featured {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.deploy-tag {
    display: inline-flex;
    width: fit-content;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--signal);
    padding: 4px 9px;
    margin-bottom: 20px;
}
.deploy-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
}
.deploy-card > p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
    flex: 1;
}
.deploy-card.featured > p {
    color: var(--muted-dark);
}
.deploy-list {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 9px;
}
.deploy-card.featured .deploy-list {
    border-color: rgba(255, 255, 255, 0.14);
}
.deploy-list li {
    position: relative;
    padding-left: 16px;
    font-size: 13px;
    color: var(--muted);
}
.deploy-card.featured .deploy-list li {
    color: var(--muted-dark);
}
.deploy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 1px;
    background: var(--brand);
}
.deploy-card.featured .deploy-list li::before {
    background: var(--signal);
}

/* ---------- Journey ---------- */
.journey {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: clamp(40px, 5vw, 60px);
    counter-reset: step;
}
.journey-step {
    position: relative;
    padding: 28px 30px 28px 0;
    border-top: 1px solid var(--line-strong);
}
.journey-step + .journey-step {
    padding-left: 30px;
    border-left: 1px solid var(--line);
}
.journey-step .js-num {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--brand);
}
.journey-step h3 {
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 700;
}
.journey-step p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    max-width: 34ch;
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 10vw, 128px) 0;
    background: #0b7a4b;
    color: #ffffff;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse 60% 90% at 80% 50%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 90% at 80% 50%, #000, transparent 70%);
}
.cta::after {
    content: '';
    position: absolute;
    width: 640px;
    height: 640px;
    right: 8%;
    top: -30%;
    background: radial-gradient(circle, rgba(216, 243, 106, 0.18), transparent 62%);
}
.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 40px;
    align-items: end;
}
.cta h2 {
    font-size: clamp(1.95rem, 3.6vw, 2.9rem);
    line-height: 1.2;
    letter-spacing: -0.022em;
    font-weight: 800;
    color: #ffffff;
}
.cta p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.86);
    max-width: 46ch;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--brand-deep);
    color: var(--paper);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(52px, 6vw, 76px) 0 28px;
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand .brand {
    margin-bottom: 22px;
}
.footer-brand p {
    max-width: 34ch;
    color: rgba(246, 242, 235, 0.62);
    font-size: 14px;
    line-height: 1.85;
}
.footer-brand .footer-domain {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--signal);
}
.footer-brand .footer-domain::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--signal);
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: rgba(246, 242, 235, 0.5);
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 13.5px;
    color: rgba(246, 242, 235, 0.8);
    transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-col a:hover {
    color: var(--signal);
    transform: translateX(3px);
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.02em;
    color: rgba(246, 242, 235, 0.48);
}
.footer-icp {
    color: inherit;
    white-space: nowrap;
    transition: color 0.25s var(--ease);
}
.footer-icp:hover {
    color: rgba(246, 242, 235, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Interior page hero ---------- */
.page-hero {
    padding: calc(var(--header-h) + clamp(52px, 6vw, 88px)) 0 clamp(44px, 5vw, 64px);
    border-bottom: 1px solid var(--line);
}
.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(28px, 6vw, 80px);
    align-items: end;
}
.page-hero h1 {
    font-size: clamp(1.95rem, 3.4vw, 2.9rem);
    line-height: 1.3;
    letter-spacing: -0.018em;
    font-weight: 800;
    margin-top: 22px;
}
.page-hero .section-lead {
    max-width: 54ch;
}
.contact-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}
.contact-hero-grid .section-lead {
    max-width: 44ch;
    margin-top: 0;
}
.page-hero-meta {
    padding-bottom: 6px;
    display: grid;
    gap: 16px;
}
.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
}
.meta-row span:first-child {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.meta-row span:last-child {
    text-align: right;
    font-weight: 500;
}

/* ---------- Subnav ---------- */
.subnav {
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 0;
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}
.subnav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(11, 122, 75, 0.1) 12%,
        rgba(11, 122, 75, 0.16) 50%,
        rgba(11, 122, 75, 0.1) 88%,
        transparent 100%
    );
    pointer-events: none;
}
.subnav-inner {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar {
    display: none;
}
.subnav a {
    flex: none;
    padding: 16px 16px;
    font-size: 13.5px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.subnav a:first-child {
    padding-left: 0;
}
.subnav a:hover {
    color: var(--text);
}
.subnav a.is-active {
    color: var(--text);
    border-bottom-color: var(--brand);
}

/* ---------- Feature blocks ---------- */
.feature {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 7vw, 96px);
    align-items: center;
    padding: clamp(64px, 8vw, 104px) 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 56px);
}
.feature:last-of-type {
    border-bottom: 0;
}
.feature.reverse .feature-copy {
    order: 2;
}
.feature.reverse .feature-visual {
    order: 1;
}
.feature h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    line-height: 1.24;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin-top: 18px;
}
.feature .eyebrow {
    margin-bottom: 0;
}
.feature-lead {
    margin-top: 18px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.9;
}
.feature-list {
    margin-top: 28px;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}
.feature-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
}
.feature-list li strong {
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
}
.feature-list .fl-idx {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--brand);
    padding-top: 4px;
}
.feature-visual {
    position: relative;
}
.panel {
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-1);
}
.panel-dark {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--ink-2);
    color: var(--paper);
    box-shadow: var(--shadow-2);
}
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.panel-dark .panel-head {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(246, 242, 235, 0.45);
}
.panel-body {
    padding: 22px;
}
.mock-nodes {
    display: grid;
    gap: 12px;
}
.mock-node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: var(--paper-2);
    font-size: 13px;
    position: relative;
}
.mock-node + .mock-node::before {
    content: '';
    position: absolute;
    left: 28px;
    top: -13px;
    width: 1px;
    height: 12px;
    background: var(--line-strong);
}
.mock-node .mn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    flex: none;
}
.mock-node .mn-kind {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
}
.mock-node.is-live {
    border-color: rgba(31, 107, 79, 0.45);
    background: rgba(31, 107, 79, 0.06);
}
.mock-node.is-live .mn-dot {
    background: var(--signal);
    box-shadow: 0 0 0 4px rgba(125, 216, 176, 0.3);
    animation: pulse 2.4s infinite;
}
.mock-chat {
    display: grid;
    gap: 10px;
}
.mock-bubble {
    max-width: 86%;
    padding: 10px 13px;
    font-size: 13px;
    line-height: 1.7;
    border: 1px solid var(--line);
    background: var(--paper);
}
.mock-bubble.ai {
    justify-self: start;
    background: rgba(31, 107, 79, 0.06);
    border-color: rgba(31, 107, 79, 0.22);
}
.mock-bubble.user {
    justify-self: end;
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.mock-note {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mock-note span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border: 1px solid var(--line);
    color: var(--muted);
}
.mock-note span b {
    color: var(--brand);
    font-weight: 500;
}
/* tree */
.tree {
    display: grid;
    gap: 2px;
    font-size: 12.5px;
}
.tree-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid transparent;
}
.tree-row:hover {
    border-color: var(--line);
    background: var(--paper);
}
.tree-row .tr-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3fbf7f;
    flex: none;
}
.tree-row .tr-status.warn {
    background: #e0a13c;
}
.tree-row .tr-status.err {
    background: #e05c5c;
}
.tree-row .tr-time {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--muted);
}
.tree-row.lvl-1 {
    padding-left: 30px;
}
.tree-row.lvl-2 {
    padding-left: 50px;
    color: var(--muted);
}
/* doc chunks */
.chunks {
    display: grid;
    gap: 8px;
}
.chunk {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 12.5px;
}
.chunk .ch-n {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--muted);
}
.chunk .ch-bar {
    height: 4px;
    background: var(--line);
    width: 100%;
}
.chunk.hit {
    border-color: rgba(31, 107, 79, 0.3);
    background: rgba(31, 107, 79, 0.05);
}
.chunk.hit .ch-bar {
    background: linear-gradient(90deg, var(--brand), var(--violet));
}
.chunk .ch-score {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--brand);
}

/* ---------- Solutions page ---------- */
.solution {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(28px, 6vw, 80px);
    padding: clamp(56px, 7vw, 88px) 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 56px);
}
.solution:last-of-type {
    border-bottom: 0;
}
.sol-id {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--brand);
}
.solution h2 {
    margin-top: 16px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    font-weight: 800;
}
.sol-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.sol-tags span {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.08em;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 4px 9px;
}
.solution-body p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.95;
}
.solution-body p + p {
    margin-top: 14px;
}
.solution-points {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 28px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}
.solution-points li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 13.5px;
    line-height: 1.7;
}
.solution-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 1px;
    background: var(--brand);
}
.sol-quote {
    margin-top: 24px;
    padding: 18px 20px;
    background: var(--paper-2);
    border-left: 2px solid var(--ink);
}
.sol-quote p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text);
    font-style: normal;
}
.sol-quote span {
    display: block;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
}
.sol-outcome {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}
.sol-outcome div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.sol-outcome strong {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--brand);
}
.sol-outcome span {
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- About ---------- */
.manifesto {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.45;
    letter-spacing: -0.02em;
    font-weight: 700;
    max-width: 22ch;
}
.manifesto span {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--brand);
    text-decoration-thickness: 0.14em;
    text-underline-offset: 0.22em;
    text-decoration-skip-ink: none;
}
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 7vw, 96px);
    align-items: start;
}
.about-body p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 2;
}
.about-body p + p {
    margin-top: 18px;
}
.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: clamp(44px, 5vw, 64px);
}
.principle {
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--paper);
}
.principle .p-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--brand);
}
.principle h3 {
    margin-top: 20px;
    font-size: 1.15rem;
    font-weight: 700;
}
.principle p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
}
.about-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 7vw, 96px);
}
.stage-list {
    border-top: 1px solid var(--line);
}
.stage-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.stage-item .st-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--brand);
    padding-top: 4px;
}
.stage-item h3 {
    font-size: 1rem;
    font-weight: 600;
}
.stage-item p {
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}
.form-card {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: clamp(24px, 3.5vw, 40px);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.field {
    display: grid;
    gap: 8px;
}
.field.full {
    grid-column: 1 / -1;
}
.field label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
}
.field label .req {
    color: var(--brand);
    margin-left: 2px;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    border-radius: 2px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
    appearance: none;
}
.field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.7;
}
.field input::placeholder,
.field textarea::placeholder {
    color: #717277;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(31, 107, 79, 0.12);
}
.field select {
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: #c33;
    box-shadow: 0 0 0 3px rgba(204, 51, 51, 0.1);
}
.field-error {
    font-size: 12px;
    color: #b3261e;
    min-height: 0;
}
.form-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.form-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}
.form-status {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(63, 191, 127, 0.4);
    background: rgba(63, 191, 127, 0.08);
    font-size: 13px;
    color: #1d6b47;
    display: none;
}
.form-status.is-visible {
    display: block;
}
.contact-aside {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}
.contact-channel {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.contact-channel span {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-channel h3 {
    margin-top: 8px;
    font-size: 1.05rem;
    font-weight: 600;
}
.contact-channel p {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.8;
}
.contact-channel a {
    color: var(--brand);
    border-bottom: 1px solid rgba(31, 107, 79, 0.3);
}
.faq {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}
.faq details {
    border-bottom: 1px solid var(--line);
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: '+';
    font-family: var(--font-mono);
    color: var(--muted);
    transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
    transform: rotate(45deg);
}
.faq details p {
    padding: 0 0 18px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.85;
    max-width: 58ch;
}

/* ---------- Reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--d, 0ms);
}
[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .stage {
        max-width: 640px;
    }
    .app-window {
        transform: none;
    }
    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillar {
        border-bottom: 1px solid var(--line);
        padding-bottom: 28px;
    }
    .pillar:nth-child(2) {
        border-right: 0;
    }
    .pillar:nth-child(3) {
        padding-left: 0;
    }
    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-item:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }
    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .voice-grid,
    .statement,
    .about-grid,
    .about-split,
    .contact-grid,
    .cta-inner,
    .feature,
    .solution {
        grid-template-columns: 1fr;
    }
    .feature.reverse .feature-copy,
    .feature.reverse .feature-visual {
        order: initial;
    }
    .about-grid {
        gap: 40px;
    }
    .cta-actions {
        justify-content: flex-start;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .page-hero-grid {
        grid-template-columns: 1fr;
    }
    .deploy-grid {
        grid-template-columns: 1fr;
    }
    .deploy-card {
        min-height: 0;
    }
    .principle {
        padding: 24px;
    }
    .principles {
        grid-template-columns: 1fr;
    }
    .journey {
        grid-template-columns: 1fr;
    }
    .journey-step {
        padding: 22px 0;
        border-left: 0 !important;
        border-bottom: 1px solid var(--line);
    }
    .journey-step + .journey-step {
        padding-left: 0;
    }
    .solution-points {
        grid-template-columns: 1fr;
    }
    .manifesto {
        max-width: none;
    }
}

@media (max-width: 860px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px var(--gutter) 36px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
        overflow-y: auto;
    }
    .nav > a {
        padding: 16px 0;
        font-size: 17px;
        border-bottom: 1px solid var(--line);
    }
    .nav a::after {
        display: none;
    }
    .nav-open .nav {
        opacity: 1;
        transform: none;
        visibility: visible;
    }
    .nav-mobile-actions {
        display: grid;
        gap: 12px;
        margin-top: auto;
        padding-top: 28px;
    }
    .nav-console-link {
        font-size: 14px;
        color: var(--muted);
        text-align: center;
        padding: 10px;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .link-console {
        display: none;
    }
    .header-inner {
        gap: 20px;
    }
    .header-actions .btn {
        display: none;
    }
    .section-head-split {
        grid-template-columns: 1fr;
    }
    .section-head-split .section-lead {
        margin-top: 18px;
    }
    .cap-grid {
        grid-template-columns: 1fr;
    }
    .cap {
        min-height: 0;
    }
    .scenario-head {
        grid-template-columns: 40px 1fr 34px;
        gap: 14px;
    }
    .s-tag {
        display: none;
    }
    .scenario-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-left: 54px;
    }
    .scenario-desc,
    .scenario-out {
        grid-column: 1 / -1;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-brand p {
        max-width: none;
    }
    .hero-foot {
        gap: 8px 16px;
    }
}

@media (max-width: 620px) {
    :root {
        --header-h: 66px;
    }
    .brand-logo {
        height: 42px;
    }
    .site-footer .brand-logo {
        height: 50px;
    }
    .hero {
        padding-top: calc(var(--header-h) + 40px);
    }
    .hero-actions .btn {
        flex: 1 1 100%;
    }
    .hero-foot span {
        font-size: 9.5px;
    }
    .stage {
        padding-bottom: 20%;
    }
    .call-card {
        right: -2%;
        bottom: -8%;
        width: 58%;
        padding: 1.2em;
    }
    .tag-a {
        left: 0;
    }
    .tag-b {
        right: 0;
    }
    .trust-item {
        padding: 20px 16px;
    }
    .trust-item strong {
        font-size: 1.2rem;
    }
    .pillar-grid {
        grid-template-columns: 1fr;
    }
    .pillar {
        border-right: 0;
        padding: 24px 0;
    }
    .pillar + .pillar {
        padding-left: 0;
    }
    .pillar .pillar-mark {
        right: 0;
    }
    .section {
        padding: 64px 0;
    }
    .scenario-head:hover {
        padding-left: 4px;
    }
    .scenario-inner {
        padding-left: 0;
    }
    .footer-cols {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    .u-hide-sm {
        display: none;
    }
    .page-hero {
        padding-top: calc(var(--header-h) + 40px);
    }
    .feature {
        padding: 56px 0;
    }
    .solution {
        padding: 48px 0;
    }
    .contact-channel h3 {
        font-size: 1rem;
    }
}

/* ---------- Product page extras ---------- */
.mock-code {
    margin: 0 0 18px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.9;
    color: rgba(246, 242, 235, 0.82);
    white-space: pre-wrap;
    word-break: break-word;
}
.mock-code .c-key {
    color: #e7c4a4;
}
.mock-code .c-str {
    color: var(--signal);
}
.mock-code .c-com {
    color: rgba(246, 242, 235, 0.4);
}
.endpoints {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.endpoint {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    color: rgba(246, 242, 235, 0.75);
}
.endpoint b {
    color: var(--signal);
    font-weight: 500;
}
.endpoint em {
    font-style: normal;
    color: rgba(246, 242, 235, 0.4);
    font-size: 9.5px;
    text-align: right;
}
.chain {
    display: flex;
    align-items: stretch;
}
.chain-node {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--paper-2);
    display: grid;
    gap: 4px;
    align-content: start;
}
.chain-node span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    color: var(--muted);
}
.chain-node strong {
    font-size: 13px;
    font-weight: 600;
}
.chain-node em {
    font-style: normal;
    font-size: 11px;
    color: var(--muted);
}
.chain-node.is-live {
    border-color: rgba(31, 107, 79, 0.4);
    background: rgba(31, 107, 79, 0.06);
}
.chain-node.is-live strong {
    color: var(--brand);
}
.chain-link {
    position: relative;
    flex: none;
    width: 20px;
    align-self: center;
    height: 1px;
    background: var(--line-strong);
}
.chain-link::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 5px;
    height: 5px;
    border-top: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
    transform: rotate(45deg);
}
.chip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: clamp(36px, 4vw, 52px);
    background: var(--line);
    border: 1px solid var(--line);
}
.chip-cell {
    background: var(--paper);
    padding: 18px 20px;
    transition: background 0.3s var(--ease);
}
.chip-cell:hover {
    background: var(--paper-2);
}
.chip-cell strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}
.chip-cell span {
    display: block;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--muted);
}

@media (max-width: 860px) {
    .chip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 861px) {
    .chip-cell:nth-last-child(2),
    .chip-cell:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 620px) {
    .chain {
        flex-direction: column;
    }
    .chain-link {
        width: 1px;
        height: 14px;
        margin: 0 auto;
        background: var(--line-strong);
    }
    .chain-link::after {
        top: auto;
        bottom: 0;
        right: -2px;
        transform: rotate(135deg);
    }
    .endpoint {
        grid-template-columns: 44px 1fr;
    }
    .endpoint em {
        display: none;
    }
}

/* ---------- Home: statement ---------- */
.home-statement {
    padding-top: clamp(68px, 8vw, 108px);
}
.statement-head {
    display: block;
    padding-bottom: clamp(36px, 4.4vw, 56px);
    border-bottom: 1px solid var(--line);
}
.statement-head .eyebrow {
    padding-top: 0;
    margin-bottom: 26px;
}
.statement-quote {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.3;
    letter-spacing: -0.022em;
    font-weight: 800;
    max-width: none;
}
.statement-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 5vw, 72px);
    padding: clamp(28px, 4vw, 44px) 0 clamp(44px, 5vw, 64px);
}
.statement-row p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.95;
}
.statement-row > p {
    grid-column: auto;
}
.statement-row > div {
    grid-column: auto;
}
.statement-sig {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted) !important;
}
.statement-sig::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--brand);
}
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-strong);
}
.pillar {
    position: relative;
    padding: 26px 26px 30px 0;
    border-right: 1px solid var(--line);
    transition: background 0.35s var(--ease);
}
.pillar:last-child {
    border-right: 0;
    padding-right: 0;
}
.pillar + .pillar {
    padding-left: 26px;
}
.pillar-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--brand);
}
.pillar h3 {
    margin-top: 40px;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}
.pillar p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13.8px;
    line-height: 1.85;
}
.pillar::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--signal);
    transition: width 0.45s var(--ease);
}
.pillar:hover::after {
    width: 100%;
}
.pillar:hover h3 {
    color: var(--ink);
}

/* ---------- Home: capabilities showcase ---------- */
.home-caps {
    background: var(--paper);
}
.caps-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: end;
}
.caps-head .section-lead {
    margin-top: 0;
}
.caps-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(20px, 3vw, 40px);
    margin-top: clamp(36px, 4.4vw, 56px);
    align-items: stretch;
}
.caps-left {
    display: flex;
    flex-direction: column;
}
.caps-tabs {
    display: grid;
    border-top: 1px solid var(--line-strong);
}
.caps-tab {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px 4px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    transition: padding 0.35s var(--ease), color 0.3s var(--ease);
}
.caps-tab:hover {
    padding-left: 10px;
}
.ct-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--muted);
}
.ct-body {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.ct-body strong {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.ct-body em {
    font-style: normal;
    font-size: 12.5px;
    color: var(--muted);
}
.ct-arrow {
    width: 16px;
    height: 16px;
    color: var(--line-strong);
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.caps-tab.is-active {
    padding-left: 10px;
    background: rgba(31, 107, 79, 0.035);
    box-shadow: inset 2px 0 0 var(--brand);
}
.caps-tab.is-active .ct-num {
    color: var(--brand);
}
.caps-tab.is-active .ct-arrow {
    color: var(--brand);
    transform: translateX(3px);
}
.caps-tab.is-active .ct-body strong {
    color: var(--ink);
}
.caps-panels {
    position: relative;
}
.caps-panel {
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-1);
    display: flex;
    flex-direction: column;
    min-height: 560px;
}
.caps-panel[hidden] {
    display: none;
}
.caps-panel.is-active {
    animation: panel-in 0.5s var(--ease) both;
}
@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}
.caps-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.cp-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
}
.cp-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-core);
    box-shadow: 0 0 0 3px rgba(31, 107, 79, 0.16);
}
.caps-panel-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(18px, 2.4vw, 26px);
    flex: 1;
    min-height: 0;
}
.caps-panel-foot {
    display: grid;
    gap: 14px;
    padding: 18px clamp(18px, 2.4vw, 26px) 22px;
    border-top: 1px solid var(--line);
    background: rgba(32, 28, 27, 0.015);
}
.caps-panel-foot p {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--muted);
}
.caps-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
}
.caps-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease);
}
.caps-link:hover svg {
    transform: translateX(4px);
}

.caps-note {
    margin-top: auto;
    padding-top: 28px;
    display: grid;
    gap: 8px;
}
.caps-note span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.caps-note p {
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--muted);
}
.caps-note a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand);
}
.caps-note svg {
    width: 13px;
    height: 13px;
    transition: transform 0.3s var(--ease);
}
.caps-note a:hover svg {
    transform: translateX(4px);
}

/* flow demo */
.flow-demo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 156px;
    gap: 16px;
    align-items: start;
}
.fd-chain {
    display: grid;
    gap: 10px;
}
.fd-node {
    position: relative;
    display: grid;
    gap: 3px;
    padding: 11px 14px 11px 44px;
    border: 1px solid var(--line);
    background: var(--paper-2);
}
.fd-node::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--paper);
}
.fd-node::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 100%;
    width: 1px;
    height: 10px;
    background: var(--line-strong);
}
.fd-node:last-child::after {
    display: none;
}
.fd-node span {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.fd-node strong {
    font-size: 13.5px;
    font-weight: 600;
}
.fd-node em {
    font-style: normal;
    font-size: 11.5px;
    color: var(--muted);
}
.fd-node.is-active {
    border-color: rgba(31, 107, 79, 0.34);
    background: rgba(31, 107, 79, 0.05);
}
.fd-node.is-active::before {
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(31, 107, 79, 0.14);
}
.fd-aside {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 2px 0 0 14px;
    border-top: 0;
    border-left: 1px dashed var(--line);
}
.fd-chip {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.06em;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 4px 8px;
    background: var(--paper);
}
.fd-stamp {
    width: 100%;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.06em;
    color: #1d6b47;
    background: rgba(63, 191, 127, 0.12);
    border: 1px solid rgba(63, 191, 127, 0.32);
    padding: 4px 8px;
}

/* voice demo */
.voice-demo {
    display: grid;
    gap: 18px;
}
.vd-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 46px;
}
.vd-wave i {
    flex: 1;
    border-radius: 1px;
    background: linear-gradient(180deg, var(--brand), rgba(31, 107, 79, 0.18));
    animation: wave 1.4s ease-in-out infinite;
}
.vd-wave i:nth-child(3n) {
    animation-duration: 1.05s;
}
.vd-wave i:nth-child(4n) {
    animation-duration: 1.9s;
}
.vd-wave i:nth-child(2n) {
    animation-delay: -0.4s;
}
.vd-bubbles {
    display: grid;
    gap: 9px;
}
.vd-b {
    max-width: 88%;
    padding: 10px 13px;
    font-size: 13px;
    line-height: 1.7;
    border: 1px solid var(--line);
}
.vd-user {
    justify-self: end;
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.vd-ai {
    justify-self: start;
    background: rgba(31, 107, 79, 0.06);
    border-color: rgba(31, 107, 79, 0.24);
}
.vd-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}
.vd-metrics span {
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 4px 8px;
}
.vd-metrics b {
    color: var(--brand);
    font-weight: 500;
}

/* kb demo */
.kb-demo {
    display: grid;
    gap: 16px;
}
.kb-list {
    display: grid;
    gap: 7px;
}
.kb-row {
    display: grid;
    grid-template-columns: 52px 1fr 34px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--muted);
}
.kb-row i {
    display: block;
    height: 4px;
    background: var(--line-strong);
    border-radius: 2px;
}
.kb-row em {
    font-style: normal;
    text-align: right;
}
.kb-row.is-hit {
    border-color: rgba(31, 107, 79, 0.32);
    background: rgba(31, 107, 79, 0.05);
    color: var(--text);
}
.kb-row.is-hit i {
    background: linear-gradient(90deg, var(--blue), var(--violet));
}
.kb-row.is-hit em {
    color: var(--brand);
}
.kb-cite {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-left: 2px solid var(--brand);
    background: var(--paper-2);
}
.kb-cite span {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.kb-cite p {
    flex: 1;
    font-size: 13px;
    line-height: 1.7;
}
.kb-cite b {
    font-size: 11px;
    font-weight: 600;
    color: #1d6b47;
}

/* code demo */
.caps-code {
    margin: 0 0 16px;
    padding: 16px 18px;
    background: var(--ink);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    line-height: 1.95;
    color: rgba(246, 242, 235, 0.82);
    overflow-x: auto;
}
.caps-code .c-key {
    color: #e7c4a4;
}
.caps-code .c-str {
    color: var(--signal);
}
.caps-code .c-com {
    color: rgba(246, 242, 235, 0.4);
}
.caps-endpoints {
    display: grid;
    border-top: 1px solid var(--line);
}
.caps-endpoints div {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--muted);
}
.caps-endpoints b {
    color: var(--brand);
    font-weight: 500;
}
.caps-endpoints em {
    font-style: normal;
    text-align: right;
}

.scenarios-foot {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

/* ---------- Home: deploy rows ---------- */
.deploy-rows {
    margin-top: clamp(36px, 4.4vw, 52px);
    border-top: 1px solid var(--line-strong);
}
.deploy-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1.15fr) minmax(0, 0.85fr) 46px;
    gap: clamp(18px, 3vw, 40px);
    align-items: start;
    padding: clamp(22px, 3vw, 32px) 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.deploy-row:hover {
    padding-left: 14px;
}
.dr-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dr-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--muted);
}
.dr-tag {
    display: inline-flex;
    width: fit-content;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 8px;
    border: 1px solid var(--line-strong);
    color: var(--text);
}
.dr-title h3 {
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}
.dr-title p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
    max-width: 44ch;
}
.dr-points {
    display: grid;
    gap: 8px;
    align-content: start;
    padding-top: 4px;
}
.dr-points li {
    position: relative;
    padding-left: 16px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}
.dr-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 1px;
    background: var(--brand);
}
.dr-arrow {
    justify-self: end;
    align-self: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.dr-arrow svg {
    width: 14px;
    height: 14px;
}
.deploy-row:hover .dr-arrow {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--brand-bright);
}
.deploy-row.is-featured {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    padding-inline: clamp(16px, 2.4vw, 28px);
    margin-inline: calc(-1 * clamp(16px, 2.4vw, 28px));
}
.deploy-row.is-featured .dr-title h3 {
    color: var(--paper);
}
.deploy-row.is-featured .dr-title p,
.deploy-row.is-featured .dr-points li,
.deploy-row.is-featured .dr-num {
    color: var(--muted-dark);
}
.deploy-row.is-featured .dr-tag {
    background: var(--brand-core);
    border-color: var(--brand-core);
    color: #ffffff;
}
.deploy-row.is-featured .dr-points li::before {
    background: var(--signal);
}
.deploy-row.is-featured .dr-arrow {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--paper);
}
.deploy-row.is-featured:hover .dr-arrow {
    background: var(--signal);
    border-color: var(--signal);
    color: var(--ink);
}

/* ---------- Home: journey ---------- */
.journey {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: clamp(36px, 4.4vw, 52px);
    border-top: 1px solid var(--line-strong);
}
.journey-step {
    position: relative;
    padding: 28px 34px 34px 0;
    overflow: hidden;
}
.journey-step + .journey-step {
    padding-left: 34px;
    border-left: 1px solid var(--line);
}
.js-ghost {
    position: absolute;
    right: 18px;
    top: 6px;
    font-family: var(--font-mono);
    font-size: 78px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
    color: rgba(32, 28, 27, 0.05);
    pointer-events: none;
}
.js-num {
    position: relative;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--brand);
}
.journey-step h3 {
    position: relative;
    margin-top: 22px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}
.journey-step p {
    position: relative;
    margin-top: 10px;
    font-size: 13.8px;
    line-height: 1.85;
    color: var(--muted);
    max-width: 32ch;
}

/* ---------- Home: CTA watermark ---------- */
.cta-watermark {
    position: absolute;
    right: -2%;
    bottom: -14%;
    font-family: var(--font-mono);
    font-size: clamp(9rem, 26vw, 24rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.07);
    pointer-events: none;
    user-select: none;
}

@media (max-width: 1080px) {
    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .caps-note {
        display: none;
    }
    .pillar {
        border-bottom: 1px solid var(--line);
    }
    .pillar:nth-child(2n) {
        border-right: 0;
        padding-right: 0;
    }
    .pillar:nth-child(2n + 1) {
        padding-left: 0;
    }
    .pillar:nth-child(n + 3) {
        border-bottom: 0;
    }
    .caps-panel {
        min-height: 0;
    }
    .caps-panel-body {
        min-height: 0;
    }
    .flow-demo {
        grid-template-columns: 1fr;
    }
    .fd-aside {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px 0 0;
        border-left: 0;
        border-top: 1px dashed var(--line);
    }
    .fd-chip,
    .fd-stamp {
        width: auto;
    }
}

/* ---------- Home responsive ---------- */
@media (max-width: 1080px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .statement-head,
    .statement-row {
        grid-template-columns: 1fr;
    }
    .statement-row > p,
    .statement-row > div {
        grid-column: auto;
    }
    .statement-quote {
        max-width: none;
    }
    .caps-head,
    .caps-showcase {
        grid-template-columns: 1fr;
    }
    .caps-panel-body {
        min-height: 0;
    }
    .deploy-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .dr-arrow {
        display: none;
    }
    .journey {
        grid-template-columns: 1fr;
    }
    .journey-step,
    .journey-step + .journey-step {
        padding: 24px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 860px) {
    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillar {
        border-bottom: 1px solid var(--line);
        padding-bottom: 24px;
    }
    .pillar:nth-child(2n) {
        border-right: 0;
        padding-right: 0;
    }
    .pillar:nth-child(2n + 1) {
        padding-left: 0;
    }
    .pillar:nth-child(n + 3) {
        border-bottom: 0;
    }
}

@media (max-width: 620px) {
    .hero h1 {
        font-size: clamp(2rem, 8.5vw, 2.6rem);
    }
    .cta-watermark {
        display: none;
    }
    .js-ghost {
        font-size: 58px;
    }
    .caps-tab {
        gap: 12px;
    }
    .ct-body em {
        display: none;
    }
}

/* ---------- Home: light hero product window ---------- */
.hero .app-window {
    border: 1px solid rgba(11, 122, 75, 0.18);
    background: linear-gradient(165deg, #ffffff 0%, #f7fbf8 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 30px 70px rgba(11, 48, 39, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.hero .app-bar {
    border-bottom: 1px solid rgba(11, 122, 75, 0.12);
    background: rgba(230, 248, 238, 0.6);
}
.hero .app-dots i {
    background: rgba(11, 122, 75, 0.18);
}
.hero .app-dots i:nth-child(1) {
    background: #ff8a80;
}
.hero .app-dots i:nth-child(2) {
    background: #ffcf6b;
}
.hero .app-dots i:nth-child(3) {
    background: #2fbf71;
}
.hero .app-title {
    color: #5a6a61;
}
.hero .app-live {
    color: var(--brand);
}
.hero .app-live i {
    background: var(--brand-vivid);
}
.hero .canvas {
    background-image: radial-gradient(rgba(11, 122, 75, 0.16) 0.6px, transparent 0.6px);
}
.hero .wires path {
    stroke: rgba(11, 122, 75, 0.2);
}
.hero .wires circle {
    fill: rgba(47, 191, 113, 0.8);
}
.hero .wires-glow rect {
    fill: var(--brand-vivid);
    opacity: 0.9;
    filter: drop-shadow(0 0 2.5px rgba(47, 191, 113, 0.55));
}
.hero .node {
    border: 1px solid rgba(20, 33, 27, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(11, 48, 39, 0.07);
}
.hero .node .n-kind {
    color: #6b7b72;
}
.hero .node .n-kind::before {
    background: var(--brand-vivid);
}
.hero .node .n-title {
    color: #14211b;
}
.hero .node .n-sub {
    color: #6b7b72;
}
.hero .node-chip {
    border-color: rgba(11, 122, 75, 0.2);
    background: rgba(230, 248, 238, 0.85);
    color: var(--brand);
}
.hero .node-chip b {
    color: var(--brand);
}
.hero .node.is-active {
    border-color: rgba(47, 191, 113, 0.45);
    background: #f0fcf5;
    box-shadow: 0 0 0 1px rgba(47, 191, 113, 0.12), 0 12px 30px rgba(11, 48, 39, 0.1);
}
.hero .node.is-active .n-kind::before {
    background: var(--brand-vivid);
}
.hero .node-voice {
    background: linear-gradient(160deg, #ffffff 0%, #eaf9f0 100%);
}
.hero .wave-mini i {
    background: var(--brand-vivid);
}
.hero .n-start .dot {
    border-color: rgba(47, 191, 113, 0.5);
}
.hero .n-start .dot::before {
    background: var(--brand-vivid);
}
.hero .float-tag {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(11, 122, 75, 0.18);
    color: var(--brand);
    box-shadow: 0 8px 24px rgba(11, 48, 39, 0.1);
}
.hero .float-tag i {
    background: var(--brand-vivid);
}
.hero .tag-b {
    color: var(--brand);
    border-color: rgba(11, 122, 75, 0.24);
}
.hero .call-card {
    border: 1px solid rgba(11, 122, 75, 0.18);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 50px rgba(11, 48, 39, 0.16);
}
.hero .call-head {
    color: #6b7b72;
}
.hero .call-head b {
    color: var(--brand);
}
.hero .call-head b::before {
    background: var(--brand-vivid);
}
.hero .call-wave i {
    background: linear-gradient(180deg, var(--brand), rgba(47, 191, 113, 0.3));
}
.hero .call-line span {
    color: #8a978f;
}
.hero .call-line p {
    color: #24352c;
}
.hero .call-line.ai {
    padding: 0.55em 0.7em;
    border: 1px solid rgba(47, 191, 113, 0.22);
    border-radius: 6px;
    background: #f0fbf5;
}
.hero .call-line.ai p {
    color: var(--brand);
}
.hero .call-metrics {
    border-top-color: rgba(11, 122, 75, 0.14);
}
.hero .call-metrics span {
    color: #8a978f;
}
.hero .call-metrics strong {
    color: #14211b;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
    .hero h1 .accent::after {
        transform: scaleX(1);
    }
    .hero .wires-glow {
        display: none;
    }
}
