:root {
  color-scheme: dark;
  --canvas: #0b0d10;
  --canvas-soft: #0f1216;
  --surface: #14171c;
  --surface-raised: #191d23;
  --surface-strong: #20242b;
  --ink: #f5f7fa;
  --ink-soft: #c4cbd3;
  --muted: #89939f;
  --faint: #7d8793;
  --line: rgba(230, 238, 247, 0.11);
  --line-strong: rgba(230, 238, 247, 0.18);
  --blue: #4aa3ff;
  --blue-soft: #9ed0ff;
  --green: #4dd18b;
  --violet: #9d8cff;
  --amber: #f2bf5e;
  --cyan: #55c8d5;
  --danger: #ff746a;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34), 0 2px 8px rgba(0, 0, 0, 0.24);
  --shell: min(1200px, calc(100vw - 48px));
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 83% 11%, rgba(74, 163, 255, 0.07), transparent 27rem),
    var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 36%);
  content: "";
  pointer-events: none;
}

::selection { background: rgba(74, 163, 255, 0.32); color: #fff; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { display: block; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 136px 0; }
.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; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--canvas); font-weight: 700; transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 4px; }

.reveal { opacity: 1; transform: none; transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal[data-reveal-ready] { opacity: 0; transform: translateY(22px); }
.reveal[data-visible] { opacity: 1; transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header[data-scrolled] {
  border-color: var(--line);
  background: rgba(11, 13, 16, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; fill: rgba(74, 163, 255, 0.09); stroke: var(--blue-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy > span { font-size: 15px; font-weight: 760; letter-spacing: -0.02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.11em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 30px; color: #b7bec7; font-size: 13px; font-weight: 600; }
.site-nav a { position: relative; padding: 10px 0; transition: color 160ms ease; }
.site-nav a:not(.nav-action)::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; transform: scaleX(0); background: var(--blue); content: ""; transition: transform 160ms ease; transform-origin: right; }
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav .nav-action { margin-left: 4px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.035); color: var(--ink); }
.site-nav .nav-action:hover { border-color: rgba(74, 163, 255, 0.55); background: rgba(74, 163, 255, 0.08); }
.menu-button { display: none; }

.hero { position: relative; min-height: 860px; padding: 176px 0 102px; }
.hero::after { position: absolute; top: 0; right: 0; width: 1px; height: 100%; background: linear-gradient(transparent, rgba(255, 255, 255, 0.08), transparent); content: ""; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr); align-items: center; gap: 74px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 42px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 23px; color: var(--blue-soft); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow > span { width: 22px; height: 1px; background: currentColor; }
.hero h1 { max-width: 690px; margin: 0; font-size: clamp(48px, 5.2vw, 76px); font-weight: 720; letter-spacing: -0.065em; line-height: 1.08; }
.hero h1 em { color: var(--blue-soft); font-style: normal; }
.hero-lede { max-width: 590px; margin: 31px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 39px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 720; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #edf6ff; color: #0c141d; box-shadow: 0 10px 30px rgba(74, 163, 255, 0.13); }
.button-primary:hover { background: #fff; }
.button-secondary { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.025); color: var(--ink); }
.button-secondary:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.055); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px 25px; margin: 34px 0 0; padding: 0; color: var(--muted); font-size: 12px; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 6px; }
.hero-facts svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.console-stage { position: relative; min-width: 0; perspective: 1000px; }
.console-glow { position: absolute; inset: 9% -8% 7% 15%; border-radius: 50%; background: rgba(74, 163, 255, 0.08); filter: blur(70px); }
.console-window { position: relative; overflow: hidden; border: 1px solid rgba(226, 234, 244, 0.17); border-radius: 21px; background: #15181d; box-shadow: var(--shadow); transform: rotateY(-2.4deg) rotateX(0.8deg); transform-origin: left center; }
.console-window::after { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px rgba(255, 255, 255, 0.08); content: ""; pointer-events: none; }
.window-bar { display: flex; height: 50px; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: #1b1e23; }
.window-brand { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.mini-mark { position: relative; display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border: 1px solid rgba(74, 163, 255, 0.35); border-radius: 6px; }
.mini-mark i { position: absolute; width: 5px; height: 5px; border: 1px solid var(--blue-soft); transform: rotate(30deg); }
.mini-mark i:nth-child(1) { transform: translate(-3px, -2px) rotate(30deg); }
.mini-mark i:nth-child(2) { transform: translate(3px, -2px) rotate(30deg); }
.mini-mark i:nth-child(3) { transform: translate(0, 3px) rotate(30deg); }
.window-meta { display: flex; align-items: center; gap: 6px; color: #7e8894; font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; }
.window-meta > span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(77, 209, 139, 0.1); }
.console-body { display: grid; min-height: 468px; grid-template-columns: 124px 1fr; }
.console-sidebar { padding: 23px 11px; border-right: 1px solid rgba(255, 255, 255, 0.06); background: #121418; }
.side-group { display: grid; gap: 4px; margin-bottom: 26px; }
.side-group small { padding: 0 8px 6px; color: #7a8490; font-size: 7px; letter-spacing: 0.11em; text-transform: uppercase; }
.side-group span { display: flex; height: 29px; align-items: center; gap: 8px; padding: 0 8px; border-radius: 7px; color: #7f8994; font-size: 8px; }
.side-group span > i { width: 10px; height: 10px; border: 1px solid #626d78; border-radius: 3px; }
.side-group .active { background: rgba(74, 163, 255, 0.12); color: #d7ebff; }
.side-group .active > i { border-color: var(--blue); background: rgba(74, 163, 255, 0.2); }
.console-main { min-width: 0; padding: 25px 25px 23px; background: #171a1f; }
.console-title { display: flex; align-items: center; justify-content: space-between; }
.console-title > div { display: grid; gap: 3px; }
.console-title small { color: #8a95a0; font-size: 8px; }
.console-title strong { font-size: 15px; letter-spacing: -0.02em; }
.health { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid rgba(77, 209, 139, 0.16); border-radius: 999px; background: rgba(77, 209, 139, 0.06); color: #95e3bb; font-size: 7px; }
.health i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: health-pulse 2.5s ease-in-out infinite; }
@keyframes health-pulse { 50% { box-shadow: 0 0 0 5px rgba(77, 209, 139, 0.06); } }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 19px; }
.metric-grid article { display: grid; min-width: 0; min-height: 82px; align-content: center; padding: 11px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; background: #1d2026; }
.metric-grid small { color: #8a95a0; font-size: 7px; }
.metric-grid strong { margin-top: 1px; font-family: var(--font-mono); font-size: 18px; letter-spacing: -0.06em; }
.metric-grid span { overflow: hidden; margin-top: 1px; color: #7d8792; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.runtime-card { margin-top: 9px; padding: 12px 14px 15px; border: 1px solid rgba(255, 255, 255, 0.075); border-radius: 11px; background: #1d2026; }
.runtime-head { display: flex; align-items: center; justify-content: space-between; font-size: 8px; }
.runtime-head span { color: #7d8792; font-family: var(--font-mono); font-size: 6px; text-transform: uppercase; }
.runtime-flow { display: flex; min-height: 61px; align-items: center; justify-content: center; gap: 10px; }
.flow-node { display: inline-flex; height: 27px; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 7px; background: #242830; color: #c7ced6; font-size: 7px; }
.gateway-node { border-color: rgba(74, 163, 255, 0.35); background: rgba(74, 163, 255, 0.12); color: #c6e2ff; }
.runtime-flow > i { position: relative; width: 26px; height: 1px; background: #3d4651; }
.runtime-flow > i b { position: absolute; top: -2px; right: -1px; width: 5px; height: 5px; border-top: 1px solid #75818e; border-right: 1px solid #75818e; transform: rotate(45deg); }
.flow-stack { display: grid; gap: 3px; }
.flow-stack span { min-width: 49px; padding: 2px 6px; border: 1px solid rgba(255, 255, 255, 0.075); border-radius: 4px; color: #8e98a3; font-family: var(--font-mono); font-size: 5px; text-align: center; }
.service-list { margin-top: 9px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; }
.service-list > div { display: grid; height: 31px; grid-template-columns: 1fr 42px 44px; align-items: center; padding: 0 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.055); color: #9ba4ae; font-size: 6px; }
.service-list > div:last-child { border-bottom: 0; }
.service-list span { display: flex; align-items: center; gap: 6px; }
.service-list i { width: 5px; height: 5px; border-radius: 50%; }
.status-green { background: var(--green); }
.service-list b { color: #94dfb8; font-weight: 500; }
.service-list em { color: #7a8590; font-style: normal; text-align: right; }
.console-caption { display: flex; align-items: center; gap: 10px; margin: 17px 0 0 21px; color: #87929d; font-size: 11px; }
.console-caption span { color: var(--blue); font-family: var(--font-mono); }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); }
.trust-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 32px; }
.trust-inner > span { color: var(--faint); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.11em; text-transform: uppercase; }
.trust-items { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 30px; }
.trust-items b { color: #828c97; font-family: var(--font-mono); font-size: 10px; font-weight: 500; }

.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading h2, .architecture-copy h2, .security-intro h2, .closing-copy h2 { margin: 0; font-size: clamp(38px, 4.2vw, 58px); font-weight: 680; letter-spacing: -0.055em; line-height: 1.16; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr); align-items: end; gap: 80px; margin-bottom: 70px; }
.split-heading > p { max-width: 500px; margin: 0 0 7px; color: var(--muted); line-height: 1.9; }
.problem { background: var(--canvas-soft); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.problem-item { position: relative; min-height: 300px; padding: 35px 38px 32px 0; border-right: 1px solid var(--line); }
.problem-item + .problem-item { padding-left: 38px; }
.problem-item:last-child { border-right: 0; padding-right: 0; }
.problem-item > span { color: #7d8792; font-family: var(--font-mono); font-size: 10px; }
.problem-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-top: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.018); }
.problem-icon svg { width: 22px; height: 22px; fill: none; stroke: #a7b0ba; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.problem-item h3 { margin: 24px 0 10px; font-size: 19px; letter-spacing: -0.03em; }
.problem-item p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

.capabilities { position: relative; }
.center-heading { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.center-heading .eyebrow { justify-content: center; }
.center-heading > p:last-child { max-width: 570px; margin: 22px auto 0; color: var(--muted); line-height: 1.8; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.capability-card { position: relative; min-height: 350px; overflow: hidden; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #12151a; box-shadow: inset 0 1px rgba(255, 255, 255, 0.025); }
.capability-card::after { position: absolute; right: -60px; bottom: -90px; width: 180px; height: 180px; border: 1px solid rgba(255, 255, 255, 0.035); border-radius: 50%; content: ""; }
.capability-wide { display: grid; min-height: 440px; grid-column: 1 / -1; grid-template-columns: 0.85fr 1.15fr; gap: 60px; padding: 42px; background: #14181e; }
.card-copy { align-self: center; }
.card-index { display: block; color: #7d8792; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; }
.capability-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-top: 42px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.025); }
.capability-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.capability-icon.blue { border-color: rgba(74, 163, 255, 0.24); background: rgba(74, 163, 255, 0.08); color: var(--blue-soft); }
.capability-icon.green { border-color: rgba(77, 209, 139, 0.22); background: rgba(77, 209, 139, 0.07); color: #89e1b4; }
.capability-icon.violet { border-color: rgba(157, 140, 255, 0.22); background: rgba(157, 140, 255, 0.07); color: #c0b6ff; }
.capability-icon.amber { border-color: rgba(242, 191, 94, 0.22); background: rgba(242, 191, 94, 0.07); color: #f5d18a; }
.capability-icon.cyan { border-color: rgba(85, 200, 213, 0.22); background: rgba(85, 200, 213, 0.07); color: #91dce4; }
.capability-icon.slate { color: #b7c0ca; }
.capability-card h3 { margin: 24px 0 11px; font-size: 23px; letter-spacing: -0.035em; line-height: 1.3; }
.capability-card p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.capability-card ul { display: flex; flex-wrap: wrap; gap: 8px 19px; margin: 26px 0 0; padding: 0; color: #aeb7c0; font-size: 11px; list-style: none; }
.capability-card li::before { margin-right: 7px; color: var(--blue); content: "+"; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.mini-tags span { padding: 5px 8px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 6px; background: rgba(255, 255, 255, 0.018); color: #8a95a0; font-family: var(--font-mono); font-size: 8px; }
.gateway-visual { position: relative; align-self: center; min-height: 340px; border: 1px solid rgba(255, 255, 255, 0.065); border-radius: 15px; background: #101318; }
.gateway-visual::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px); background-size: 34px 34px; content: ""; mask-image: radial-gradient(circle, #000 10%, transparent 74%); }
.gateway-visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(74, 163, 255, 0.25); stroke-width: 1; stroke-dasharray: 4 5; }
.gateway-core { position: absolute; top: 50%; left: 42%; z-index: 2; display: grid; width: 118px; height: 100px; place-content: center; border: 1px solid rgba(74, 163, 255, 0.36); border-radius: 16px; background: #192431; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35); transform: translate(-50%, -50%); }
.gateway-core small { color: #91a9c0; font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.15em; }
.gateway-core strong { font-size: 16px; }
.gateway-core span { display: flex; align-items: center; gap: 5px; margin-top: 8px; color: #81d9ad; font-family: var(--font-mono); font-size: 7px; }
.gateway-core span i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.gateway-orbit { position: absolute; z-index: 2; display: grid; width: 126px; min-height: 53px; grid-template-columns: 11px 1fr; align-items: center; column-gap: 8px; padding: 9px 11px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 10px; background: #1b1f25; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.gateway-orbit > i { width: 8px; height: 8px; grid-row: span 2; border: 2px solid currentColor; border-radius: 3px; }
.gateway-orbit span { color: #bcc4cc; font-size: 8px; }
.gateway-orbit b { color: #87929d; font-family: var(--font-mono); font-size: 6px; font-weight: 500; }
.orbit-model { top: 15%; right: 7%; color: var(--blue); }
.orbit-mcp { top: 42%; right: 2%; color: var(--green); }
.orbit-agent { right: 9%; bottom: 12%; color: var(--violet); }

.architecture { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--canvas-soft); }
.architecture-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; align-items: center; gap: 84px; }
.architecture-copy > p:not(.eyebrow) { margin: 28px 0 0; color: var(--muted); line-height: 1.9; }
.architecture-notes { display: grid; gap: 18px; margin-top: 43px; }
.architecture-notes > div { display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 13px; }
.architecture-notes span { padding-top: 3px; color: var(--blue); font-family: var(--font-mono); font-size: 9px; }
.architecture-notes p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.architecture-notes strong { display: block; margin-bottom: 2px; color: var(--ink-soft); font-size: 14px; }
.architecture-board { position: relative; min-height: 610px; padding: 26px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: #12151a; box-shadow: var(--shadow); }
.architecture-board::before { position: absolute; inset: 0; background-image: radial-gradient(circle at 50% 43%, rgba(74, 163, 255, 0.09), transparent 37%), linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px); background-size: auto, 42px 42px, 42px 42px; content: ""; }
.board-label { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; color: #818c97; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
.board-label span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: #82909e; }
.arch-source { position: relative; z-index: 2; display: flex; width: 220px; min-height: 66px; align-items: center; gap: 13px; margin: 37px auto 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: #191d23; }
.source-icon { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 9px; }
.source-icon svg { width: 19px; height: 19px; fill: none; stroke: #aab4be; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.arch-source > div:last-child { display: grid; }
.arch-source small, .arch-targets small { color: #818c97; font-family: var(--font-mono); font-size: 7px; text-transform: uppercase; }
.arch-source strong { font-size: 10px; }
.arch-line { position: relative; z-index: 2; width: 1px; height: 55px; margin: 0 auto; background: linear-gradient(var(--blue), rgba(74, 163, 255, 0.25)); }
.arch-line span { position: absolute; top: 19px; left: 13px; width: max-content; color: #8798a9; font-family: var(--font-mono); font-size: 6px; }
.arch-line i { position: absolute; right: -3px; bottom: 0; width: 7px; height: 7px; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); transform: rotate(45deg); }
.arch-gateway { position: relative; z-index: 2; display: flex; min-height: 100px; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid rgba(74, 163, 255, 0.34); border-radius: 15px; background: #18222d; box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28); }
.arch-brand { display: flex; align-items: center; gap: 12px; }
.arch-brand > div { display: grid; }
.arch-brand small { color: #91a9c1; font-family: var(--font-mono); font-size: 7px; text-transform: uppercase; }
.arch-brand strong { font-size: 12px; }
.gateway-policies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.gateway-policies span { padding: 5px 8px; border: 1px solid rgba(74, 163, 255, 0.13); border-radius: 5px; background: rgba(74, 163, 255, 0.055); color: #9ab3cb; font-family: var(--font-mono); font-size: 6px; text-align: center; text-transform: uppercase; }
.arch-branches { position: relative; z-index: 1; display: grid; height: 57px; grid-template-columns: repeat(4, 1fr); margin: 0 9%; }
.arch-branches::before { position: absolute; top: 28px; right: 12.5%; left: 12.5%; height: 1px; background: #344251; content: ""; }
.arch-branches i { position: relative; }
.arch-branches i::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #344251; content: ""; }
.arch-targets { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.arch-targets > div { position: relative; display: grid; min-width: 0; min-height: 104px; align-content: center; padding: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #1a1e24; }
.target-dot { position: absolute; top: 10px; right: 10px; width: 5px; height: 5px; border-radius: 50%; }
.blue-dot { background: var(--blue); }.green-dot { background: var(--green); }.violet-dot { background: var(--violet); }.cyan-dot { background: var(--cyan); }
.arch-targets strong { margin-top: 2px; font-size: 11px; }
.arch-targets em { overflow: hidden; margin-top: 6px; color: #85909b; font-family: var(--font-mono); font-size: 6px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.board-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin-top: 26px; color: #7d8893; font-family: var(--font-mono); font-size: 7px; }
.board-footer span:first-child { display: flex; align-items: center; gap: 7px; }
.board-footer i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }

.security { background: var(--canvas); }
.security-panel { position: relative; display: grid; grid-template-columns: 0.84fr 1.16fr; gap: 80px; padding: 70px; overflow: hidden; border: 1px solid rgba(242, 191, 94, 0.18); border-radius: var(--radius-xl); background: #14171b; }
.security-panel::after { position: absolute; top: -180px; left: -160px; width: 430px; height: 430px; border: 1px solid rgba(242, 191, 94, 0.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(242, 191, 94, 0.018), 0 0 0 140px rgba(242, 191, 94, 0.01); content: ""; pointer-events: none; }
.security-intro { position: relative; z-index: 2; }
.security-symbol { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 38px; border: 1px solid rgba(242, 191, 94, 0.3); border-radius: 16px; background: rgba(242, 191, 94, 0.06); }
.security-symbol svg { width: 30px; height: 30px; fill: none; stroke: #f2cf8c; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.security-intro .eyebrow { color: #f2cf8c; }
.security-intro h2 { font-size: clamp(36px, 3.8vw, 52px); }
.security-intro > p:last-child { margin: 26px 0 0; color: var(--muted); line-height: 1.9; }
.security-list { position: relative; z-index: 2; display: grid; align-content: center; }
.security-list article { display: grid; grid-template-columns: 36px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.security-list article:first-child { padding-top: 0; }
.security-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.security-list article > span { padding-top: 4px; color: #c5a66d; font-family: var(--font-mono); font-size: 9px; }
.security-list h3 { margin: 0 0 5px; font-size: 16px; letter-spacing: -0.02em; }
.security-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.deploy { padding-top: 126px; background: var(--canvas-soft); }
.deploy-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.deploy-steps li { position: relative; padding: 30px 48px 0 0; border-top: 1px solid var(--line); }
.deploy-steps li + li { padding-left: 48px; }
.step-number { color: #828d98; font-family: var(--font-mono); font-size: 10px; }
.step-line { position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--blue); transition: width 800ms 180ms ease; }
.reveal[data-visible] .step-line { width: 46%; }
.step-line i { position: absolute; top: -3px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(74, 163, 255, 0.08); }
.step-icon { display: grid; width: 45px; height: 45px; place-items: center; margin-top: 42px; border: 1px solid var(--line); border-radius: 12px; background: #15191e; }
.step-icon svg { width: 22px; height: 22px; fill: none; stroke: #a9b3bd; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.deploy-steps h3 { margin: 22px 0 8px; font-size: 19px; letter-spacing: -0.025em; }
.deploy-steps p { min-height: 70px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.deploy-steps code { display: inline-flex; margin-top: 22px; padding: 7px 9px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 6px; background: #111419; color: #82909e; font-family: var(--font-mono); font-size: 8px; }

.closing { padding: 28px 0 120px; background: var(--canvas-soft); }
.closing-panel { position: relative; min-height: 520px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-xl); background: #101318; }
.closing-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(circle at 75% 50%, #000, transparent 55%); }
.closing-panel::before, .closing-panel::after { position: absolute; border: 1px solid rgba(74, 163, 255, 0.15); border-radius: 50%; content: ""; }
.closing-panel::before { top: -105px; right: -75px; width: 560px; height: 560px; box-shadow: 0 0 0 74px rgba(74, 163, 255, 0.025), 0 0 0 148px rgba(74, 163, 255, 0.012); }
.closing-panel::after { top: 50%; right: 172px; width: 13px; height: 13px; background: var(--blue); box-shadow: 0 0 35px 9px rgba(74, 163, 255, 0.22); transform: translateY(-50%); }
.closing-copy { position: relative; z-index: 2; max-width: 720px; padding: 72px; }
.closing-mark { position: absolute; top: 72px; right: -405px; display: grid; width: 112px; height: 112px; grid-template-columns: repeat(2, 1fr); gap: 8px; transform: rotate(45deg); }
.closing-mark i { border: 1px solid rgba(158, 208, 255, 0.34); border-radius: 10px; background: rgba(74, 163, 255, 0.05); }
.closing-mark i:nth-child(2), .closing-mark i:nth-child(3) { background: rgba(74, 163, 255, 0.11); }
.closing-copy > p:not(.eyebrow) { max-width: 610px; margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.closing-actions { display: flex; align-items: center; gap: 22px; margin-top: 35px; }
.closing-actions > span { color: #85909b; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; }

.site-footer { border-top: 1px solid var(--line); background: #090b0d; }
.footer-inner { display: grid; min-height: 170px; grid-template-columns: 1fr auto; align-items: center; }
.footer-brand { align-self: end; margin-bottom: 12px; }
.footer-inner > p { align-self: end; margin: 0 0 17px; color: #828d98; font-size: 12px; text-align: right; }
.footer-meta { display: flex; grid-column: 1 / -1; align-self: start; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: #7d8792; font-family: var(--font-mono); font-size: 8px; text-transform: uppercase; }

@media (max-width: 1080px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 780px; padding-bottom: 0; }
  .console-stage { max-width: 760px; }
  .architecture-grid { grid-template-columns: 1fr; }
  .architecture-copy { max-width: 720px; }
  .architecture-board { width: 100%; max-width: 780px; }
  .security-panel { gap: 52px; padding: 56px; }
  .closing-mark { right: -260px; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 40px, 760px); }
  .section { padding: 106px 0; }
  .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .problem-grid { grid-template-columns: 1fr; }
  .console-glow { right: 0; }
  .problem-item, .problem-item + .problem-item { min-height: 0; padding: 31px 0 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-item:last-child { border-bottom: 0; }
  .problem-icon { margin-top: 26px; }
  .capability-wide { grid-template-columns: 1fr; gap: 35px; }
  .gateway-visual { min-height: 330px; }
  .security-panel { grid-template-columns: 1fr; }
  .security-intro { max-width: 650px; }
  .deploy-steps { grid-template-columns: 1fr; gap: 44px; }
  .deploy-steps li, .deploy-steps li + li { padding: 26px 0 0; }
  .deploy-steps p { min-height: 0; max-width: 620px; }
  .closing-mark { display: none; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 32px); }
  html { scroll-padding-top: 82px; }
  body[data-menu-open] { overflow: hidden; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 33px; height: 33px; }
  .menu-button { position: relative; z-index: 102; display: grid; width: 44px; height: 44px; padding: 0; place-content: center; gap: 6px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); }
  .menu-button span:not(.sr-only) { display: block; width: 20px; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-button[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 101; display: flex; width: 100%; height: 100vh; min-height: 100dvh; padding: 112px 24px 32px; flex-direction: column; align-items: stretch; gap: 0; background: #0b0d10; opacity: 0; visibility: hidden; transition: opacity 180ms ease, visibility 180ms ease; }
  .site-nav[data-open] { opacity: 1; visibility: visible; }
  .site-nav a { padding: 17px 8px; border-bottom: 1px solid var(--line); font-size: 20px; }
  .site-nav .nav-action { margin: 24px 0 0; padding: 13px 16px; text-align: center; }
  .hero { padding: 136px 0 76px; }
  .hero-grid { gap: 48px; }
  .hero h1 { font-size: clamp(43px, 12.4vw, 62px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 10px 18px; }
  .console-window { border-radius: 15px; transform: none; }
  .window-bar { height: 44px; }
  .console-body { min-height: 390px; grid-template-columns: 74px 1fr; }
  .console-sidebar { padding: 16px 7px; }
  .side-group { margin-bottom: 17px; }
  .side-group small { padding-left: 3px; }
  .side-group span { height: 26px; gap: 5px; padding: 0 4px; font-size: 6px; }
  .side-group span > i { width: 8px; height: 8px; }
  .console-main { padding: 18px 13px; }
  .console-title strong { font-size: 12px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid article:last-child { display: none; }
  .runtime-flow { gap: 5px; }
  .flow-node { padding-inline: 7px; }
  .runtime-flow > i { width: 13px; }
  .service-list > div { grid-template-columns: 1fr 30px; }
  .service-list em { display: none; }
  .console-caption { margin-left: 4px; }
  .trust-inner { padding: 22px 0; align-items: flex-start; flex-direction: column; gap: 16px; }
  .trust-items { justify-content: flex-start; gap: 14px 22px; }
  .section { padding: 88px 0; }
  .section-heading h2, .architecture-copy h2, .security-intro h2, .closing-copy h2 { font-size: 38px; }
  .split-heading { margin-bottom: 46px; }
  .center-heading { margin-bottom: 48px; text-align: left; }
  .center-heading .eyebrow { justify-content: flex-start; }
  .center-heading > p:last-child { margin-left: 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-wide { min-height: 0; grid-column: auto; padding: 30px; }
  .capability-card { min-height: 325px; padding: 30px; }
  .capability-icon { margin-top: 34px; }
  .gateway-visual { min-height: 325px; margin: 0 -6px; }
  .gateway-core { left: 35%; }
  .gateway-orbit { width: 112px; }
  .orbit-model { right: 4%; }
  .orbit-mcp { right: 0; }
  .orbit-agent { right: 5%; }
  .architecture-grid { gap: 54px; }
  .architecture-board { min-height: 570px; padding: 20px 14px; border-radius: 18px; }
  .arch-source { margin-top: 31px; }
  .arch-gateway { padding: 16px; }
  .gateway-policies { display: none; }
  .arch-brand { margin-inline: auto; }
  .arch-targets { gap: 5px; }
  .arch-targets > div { min-height: 90px; padding: 8px; }
  .arch-targets em { display: none; }
  .board-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .security-panel { gap: 47px; padding: 36px 26px; border-radius: 20px; }
  .security-symbol { margin-bottom: 30px; }
  .security-list article { gap: 10px; }
  .deploy { padding-top: 82px; }
  .closing { padding-bottom: 80px; }
  .closing-panel { min-height: 510px; }
  .closing-panel::before { right: -340px; }
  .closing-panel::after { display: none; }
  .closing-copy { padding: 50px 28px; }
  .closing-actions { align-items: flex-start; flex-direction: column; }
  .footer-inner { min-height: 190px; grid-template-columns: 1fr; align-content: center; }
  .footer-brand, .footer-inner > p { align-self: auto; margin: 0 0 16px; text-align: left; }
}

@media (max-width: 390px) {
  .console-body { grid-template-columns: 64px 1fr; }
  .console-main { padding-inline: 10px; }
  .metric-grid article { padding: 9px; }
  .gateway-visual { min-height: 310px; }
  .gateway-core { width: 100px; left: 32%; }
  .gateway-orbit { width: 105px; }
  .arch-targets strong { font-size: 9px; }
  .closing-copy { padding-inline: 24px; }
}

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