:root {
  color-scheme: light;
  --ink: #171820;
  --muted: #65666c;
  --paper: #f4f3ee;
  --line: #deded8;
  --night: #111218;
  --night-muted: #a4a5b0;
  --accent: #c7f876;
  --violet: #aa91e9;
  --font-sans: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: #101116; background: var(--accent); }
:focus-visible { outline: 3px solid #7a62c0; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 20; top: -100px; left: 16px; padding: 12px 18px; background: var(--accent); color: var(--night); font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-shell { overflow: clip; }

.site-header { position: relative; z-index: 5; min-height: 84px; padding: 0 clamp(24px, 5.4vw, 92px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--night); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 23px; font-weight: 750; letter-spacing: -.065em; white-space: nowrap; }
.brand-period { color: var(--accent); }
.brand-mark { width: 27px; height: 27px; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; transform: rotate(-9deg); flex: none; }
.brand-mark i { display: block; background: var(--accent); border-radius: 50%; }
.brand-mark i:last-child { background: var(--violet); }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3.2vw, 56px); margin-left: 5vw; }
.desktop-nav a { color: #c2c1c8; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover, .header-action:hover { color: var(--accent); }
.header-action { color: #fff; font-size: 13px; font-weight: 650; border: 1px solid rgba(255,255,255,.31); border-radius: 100px; padding: 12px 17px; white-space: nowrap; transition: color .2s ease, border-color .2s ease; }
.header-action:hover { border-color: var(--accent); }
.header-action span { margin-left: 10px; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.language-control select { appearance: none; min-height: 42px; padding: 0 29px 0 13px; border: 1px solid rgba(255,255,255,.31); border-radius: 100px; color: #fff; background: #1b1c23 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center; font-size: 12px; font-weight: 650; cursor: pointer; }
.language-control select:hover { border-color: var(--accent); }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(370px, .9fr); align-items: center; gap: clamp(56px, 6vw, 100px); min-height: 695px; padding: 80px clamp(24px, 5.4vw, 92px) 90px; background: var(--night); color: #fff; }
.hero::before { position: absolute; z-index: -2; content: ""; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 86px 86px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent); }
.hero-light { pointer-events: none; position: absolute; z-index: -1; border-radius: 50%; filter: blur(5px); }
.hero-light-one { width: 650px; height: 650px; top: -360px; right: 7%; background: radial-gradient(circle, rgba(126,96,196,.3) 0%, rgba(126,96,196,.09) 43%, transparent 70%); }
.hero-light-two { width: 720px; height: 550px; bottom: -390px; left: -170px; background: radial-gradient(circle, rgba(198,245,118,.12) 0%, transparent 68%); }
.hero-content { max-width: 740px; }
.eyebrow, .section-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #c8c8d2; margin: 0 0 34px; }
.eyebrow-dot, .status-pulse { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(199,248,118,.12); }
.eyebrow-index { margin-left: 10px; color: #73757f; }
.hero h1 { margin: 0; font-size: clamp(42px, 4.1vw, 58px); line-height: 1.17; letter-spacing: -.045em; font-weight: 650; }
.hero h1 em { font-family: inherit; font-style: normal; font-weight: 500; letter-spacing: -.045em; color: var(--accent); }
.closing-section h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.065em; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 37px; }
.button { min-height: 49px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 32px; border-radius: 100px; font-size: 13px; font-weight: 750; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #101116; }
.button-primary:hover { background: #dcff9f; }
.button-ghost { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-footnote { display: flex; align-items: center; gap: 11px; margin-top: 58px; color: #8e8f9a; font-family: var(--font-mono); font-size: 10px; letter-spacing: .03em; }
.status-pulse { width: 5px; height: 5px; box-shadow: none; }

.hero-console { position: relative; max-width: 550px; width: 100%; margin-left: auto; padding: 31px 33px 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(28,29,37,.9); box-shadow: 0 30px 75px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.hero-console::before { position: absolute; inset: -1px; border-radius: 18px; pointer-events: none; content: ""; background: linear-gradient(120deg, rgba(198,245,118,.25), transparent 30%, transparent 70%, rgba(169,145,233,.23)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; padding: 1px; }
.console-topline { display: flex; align-items: center; gap: 9px; color: var(--accent); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.console-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; color: var(--night); background: var(--accent); font-size: 14px; }
.console-version { margin-left: auto; color: #797b87; }
.hero-console h2 { margin: 38px 0 7px; font-size: clamp(27px, 2.8vw, 42px); font-weight: 620; line-height: 1.1; letter-spacing: -.055em; }
.console-intro { margin: 0; color: #a8a9b4; font-size: 14px; line-height: 1.55; }
.console-steps { list-style: none; padding: 0; margin: 28px 0 25px; border-top: 1px solid rgba(255,255,255,.12); }
.console-steps li { display: flex; gap: 20px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.console-steps li > span { color: var(--accent); font-family: var(--font-mono); font-size: 11px; padding-top: 3px; }
.console-steps strong { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 650; }
.console-steps small, .console-steps code { display: block; color: #a1a2ac; font-size: 11px; line-height: 1.55; }
.console-steps code { font-family: var(--font-mono); overflow-wrap: anywhere; }
.console-base { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; padding: 13px 10px 13px 13px; }
.console-base span { color: #878995; font-family: var(--font-mono); font-size: 9px; letter-spacing: .09em; white-space: nowrap; }
.console-base code { color: #e3e3e7; font-family: var(--font-mono); font-size: 11px; overflow-wrap: anywhere; margin-left: auto; }
.console-base button { flex: none; border: 0; border-radius: 5px; background: #363843; color: #fff; cursor: pointer; font-size: 10px; font-weight: 700; padding: 7px 9px; }
.console-base button:hover { background: #4b4d58; }
.console-link { display: flex; justify-content: space-between; margin-top: 20px; color: var(--accent); font-size: 12px; font-weight: 700; }
.console-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.signal-row { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(24px, 5.4vw, 92px); background: #1b1c23; color: #fff; }
.signal-row > div { display: grid; gap: 11px; padding: 27px 0 31px; border-right: 1px solid rgba(255,255,255,.13); }
.signal-row > div:not(:first-child) { padding-left: clamp(20px, 3.2vw, 56px); }
.signal-row > div:last-child { border: 0; }
.signal-label { color: var(--accent); font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.signal-row strong { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }

.section { padding: 116px clamp(24px, 5.4vw, 92px); }
.section-kicker { margin: 0 0 26px; color: #77767d; }
.section-kicker span { color: #aaaab1; margin-left: 8px; }
.why-section { display: grid; grid-template-columns: 1fr .8fr; gap: 36px 11%; }
.section-lead h2, .connect-heading h2, .protocol-head h2 { margin: 0; font-size: clamp(44px, 5.4vw, 83px); line-height: 1.03; font-weight: 610; letter-spacing: -.075em; }
.section-lead h2 span, .protocol-head h2 span { color: #9999a0; }
.why-copy { align-self: end; max-width: 520px; color: #55565e; font-size: 17px; line-height: 1.67; letter-spacing: -.012em; }
.why-copy p { margin: 0 0 14px; }
.feature-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 39px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-card { position: relative; min-height: 300px; padding: 30px 34px 30px 0; border-right: 1px solid var(--line); }
.feature-card:not(:first-child) { padding-left: 34px; }
.feature-card:last-child { border-right: 0; }
.feature-number { color: #83838a; font-family: var(--font-mono); font-size: 10px; }
.feature-symbol { display: grid; place-items: center; width: 75px; height: 75px; margin: 28px 0 28px; border: 1px solid #d5d5d1; border-radius: 20px; background: #eaeae5; color: #5d4f9e; font-size: 38px; font-weight: 300; }
.feature-card h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.05em; }
.feature-card p { max-width: 330px; margin: 0; color: #67676e; font-size: 14px; line-height: 1.6; }

.connect-section { background: #dedbd9; display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 6% 10%; }
.connect-heading h2 { font-size: clamp(45px, 5vw, 76px); }
.connect-heading > p:last-child { max-width: 360px; margin-top: 30px; color: #626169; font-size: 16px; line-height: 1.6; }
.timeline { border-top: 1px solid #b9b8b8; }
.timeline-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: start; gap: 21px; padding: 31px 0; border-bottom: 1px solid #b9b8b8; }
.timeline-index { color: #6b5ba7; font-family: var(--font-mono); font-size: 12px; font-weight: 700; padding-top: 5px; }
.timeline-item h3 { margin: 0 0 9px; font-size: 22px; font-weight: 650; letter-spacing: -.045em; }
.timeline-item p { max-width: 430px; margin: 0; color: #5f5e66; font-size: 14px; line-height: 1.6; }
.timeline-tag { padding-top: 6px; color: #818088; font-family: var(--font-mono); font-size: 9px; letter-spacing: .03em; white-space: nowrap; }
.connect-section > .text-link { grid-column: 2; justify-self: start; margin-top: -20px; }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: 13px; font-weight: 750; border-bottom: 1px solid currentColor; padding-bottom: 7px; }
.text-link:hover { color: #6d539f; }

.protocol-section { background: #f7f6f2; }
.protocol-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.protocol-head > p { max-width: 390px; margin: 0 0 4px; color: #62636b; font-size: 15px; line-height: 1.6; }
.endpoint-list { margin-top: 54px; border-top: 1px solid var(--line); }
.endpoint { display: grid; grid-template-columns: 76px minmax(250px, 1.15fr) 1fr; align-items: center; gap: 32px; min-height: 78px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.method { display: inline-block; width: max-content; padding: 6px 9px; border-radius: 5px; background: #e0edd0; color: #355b28; font-family: var(--font-mono); font-size: 10px; font-weight: 800; }
.method-post { background: #e9dff7; color: #6348a5; }
.endpoint > code { font-family: var(--font-mono); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.endpoint > span:last-child { color: #797980; font-size: 13px; }
.endpoint > span:last-child code { font-family: var(--font-mono); font-size: 11px; }
.protocol-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 35px; margin-top: 34px; }
.button-dark { background: #1a1b23; color: #fff; }
.button-dark:hover { background: #353643; }

.agent-files-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8%; background: #e9e8e3; }
.agent-files-section h2 { margin: 0; font-size: clamp(44px, 5.4vw, 82px); line-height: 1.04; font-weight: 610; letter-spacing: -.07em; }
.agent-files-section h2 span { color: #85858c; }
.agent-files-section > div:first-child > p:last-child { max-width: 520px; color: #5f6068; font-size: 16px; line-height: 1.65; }
.agent-file-list { align-self: center; border-top: 1px solid #c9c8c4; }
.agent-file-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 99px; padding: 19px 0; border-bottom: 1px solid #c9c8c4; }
.agent-file-list a:hover strong { color: #65489b; }
.agent-file-list strong { font-size: 20px; letter-spacing: -.04em; }
.agent-file-list span { max-width: 230px; color: #686971; font-size: 12px; line-height: 1.5; }
.agent-file-list b { color: #65489b; font-size: 16px; margin-left: 12px; }

.closing-section { position: relative; overflow: hidden; min-height: 485px; padding: 105px clamp(24px, 5.4vw, 92px); background: #271f3f; color: #fff; }
.closing-section::after { position: absolute; content: ""; width: 700px; height: 700px; right: -50px; top: -95px; border-radius: 50%; background: radial-gradient(circle, rgba(148,105,209,.52), rgba(122,95,160,.18) 42%, transparent 70%); pointer-events: none; }
.closing-section .section-kicker { color: #c2afed; }
.closing-section h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(56px, 6.6vw, 104px); font-weight: 620; line-height: 1.02; letter-spacing: -.075em; }
.closing-section > p:not(.section-kicker) { position: relative; z-index: 1; color: #d2c9e4; font-size: 17px; margin: 22px 0 28px; }
.closing-section > div { position: relative; z-index: 1; display: flex; gap: 13px; flex-wrap: wrap; }
.site-footer { min-height: 220px; display: grid; grid-template-columns: 1fr auto; gap: 28px; padding: 48px clamp(24px, 5.4vw, 92px) 35px; background: var(--night); color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; align-self: start; }
.footer-brand .brand-mark { width: 22px; height: 22px; gap: 3px; }
.footer-brand strong { font-size: 19px; letter-spacing: -.06em; }
.footer-brand small { color: #92929c; font-size: 12px; margin-left: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: start; }
.site-footer nav a { color: #b3b3bc; font-size: 12px; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer > p { align-self: end; grid-column: 1 / -1; margin: 25px 0 0; border-top: 1px solid rgba(255,255,255,.13); padding-top: 22px; color: #777883; font-family: var(--font-mono); font-size: 10px; }
.copy-feedback { position: fixed; z-index: 10; bottom: 24px; right: 24px; max-width: min(350px, calc(100vw - 48px)); padding: 12px 17px; border-radius: 9px; color: #fff; background: #353642; box-shadow: 0 12px 35px rgba(0,0,0,.18); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(9px); transition: opacity .2s ease, transform .2s ease; }
.copy-feedback.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); gap: 35px; }
  .hero h1 { font-size: clamp(42px, 4.1vw, 58px); }
  .hero-console { padding: 26px 24px 22px; }
  .console-base { flex-wrap: wrap; }
  .console-base code { order: 3; width: 100%; margin-left: 0; }
}
@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .brand { font-size: 21px; }
  .header-action { font-size: 11px; padding: 10px 12px; }
  .header-tools { gap: 8px; }
  .hero { grid-template-columns: 1fr; min-height: unset; padding-top: 70px; padding-bottom: 55px; gap: 48px; }
  .hero h1 { font-size: clamp(40px, 6.2vw, 52px); }
  .hero-footnote { margin-top: 38px; }
  .hero-console { max-width: none; }
  .signal-row { grid-template-columns: 1fr; padding-top: 10px; padding-bottom: 10px; }
  .signal-row > div, .signal-row > div:not(:first-child) { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); gap: 6px; }
  .signal-row > div:last-child { border-bottom: 0; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .why-section, .connect-section { grid-template-columns: 1fr; }
  .why-copy { max-width: 650px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 16px; }
  .feature-card, .feature-card:not(:first-child) { min-height: 0; padding: 24px 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card:last-child { border-bottom: 0; }
  .feature-symbol { margin: 17px 0; }
  .connect-section { gap: 28px; }
  .connect-section > .text-link { grid-column: 1; margin-top: 0; }
  .protocol-head { display: block; }
  .protocol-head > p { margin: 26px 0 0; }
  .agent-files-section { grid-template-columns: 1fr; gap: 28px; }
  .endpoint { grid-template-columns: 60px minmax(0, 1fr); gap: 8px 15px; }
  .endpoint > span:last-child { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { grid-column: 1; }
}
@media (max-width: 440px) {
  .site-header { gap: 12px; padding-left: 18px; padding-right: 18px; }
  .header-action { display: none; }
  .language-control select { min-height: 38px; }
  .hero h1 { font-size: 40px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-console { padding: 23px 19px 20px; }
  .timeline-item { grid-template-columns: 32px 1fr; gap: 8px 13px; }
  .timeline-tag { grid-column: 2; padding-top: 0; }
  .footer-brand { flex-wrap: wrap; }
  .footer-brand small { width: 100%; margin-left: 0; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
