:root {
  color-scheme: dark;
  --ink: #f2f5fb;
  --muted: #9caabd;
  --quiet: #748399;
  --blue: #8ab7ff;
  --mint: #8df0c9;
  --dark: #080d14;
  --surface: #101823;
  --line: #ffffff12;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--dark); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.preview-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; }
h1, h2, h3, p, figure { margin: 0; }
::selection { color: #fff; background: #387c8e99; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon.small { width: 16px; height: 16px; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 16px; background: var(--mint); color: var(--dark); border-radius: 8px; transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }

/* Navigation stays available while the page moves underneath it. */
.site-header { position: sticky; top: 0; z-index: 10; background: #080d14de; border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: background .25s; }
.site-header.is-scrolled { background: #080d14f2; }
.navigation { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 650; letter-spacing: -.035em; white-space: nowrap; }
.brand img { border-radius: 10px; box-shadow: 0 4px 16px #0004; }
.brand span { font-size: 15px; }
.brand .brand-short { display: none; }
.brand small { padding-left: 13px; border-left: 1px solid #ffffff26; color: var(--quiet); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-links a, .language-switch, .nav-github { color: var(--muted); font-size: 12px; font-weight: 550; transition: color .2s, background .2s, border-color .2s; }
.nav-links a { position: relative; padding-block: 13px; }
.nav-links a::after { content: ""; position: absolute; bottom: 4px; left: 0; right: 0; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a[aria-current="location"] { color: var(--ink); }
.nav-links a[aria-current="location"]::after { transform: scaleX(1); }
.nav-links a:hover, .language-switch:hover, .nav-github:hover { color: #fff; }
.language-switch { padding: 9px 12px; white-space: nowrap; border: 1px solid #ffffff14; border-radius: 7px; }
.language-switch:hover { border-color: #ffffff30; background: #ffffff05; }
.nav-github { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; }
.nav-github > svg:first-child { width: 19px; height: 19px; }
.nav-github .small { transform: rotate(-45deg); }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, #5698ff, var(--mint)); transform: scaleX(var(--read-progress, 0)); transform-origin: left; }

/* A CSS-only light field keeps the hero lightweight. */
.hero-shell { position: relative; isolation: isolate; overflow: hidden; }
.hero-ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora { position: absolute; width: 850px; height: 750px; border-radius: 50%; filter: blur(48px); opacity: .88; }
.aurora-blue { top: 110px; left: calc(50% - 840px); background: radial-gradient(ellipse, #376cbba3 0, #164d724d 38%, transparent 68%); }
.aurora-mint { top: 230px; left: calc(50% + 50px); width: 700px; background: radial-gradient(ellipse, #338b758c 0, #164d5040 38%, transparent 68%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(#9cbbe207 1px, transparent 1px), linear-gradient(90deg, #9cbbe207 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 68%); mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 68%); }
.orbit-field { position: absolute; top: 45px; left: 50%; width: max(1400px, 125%); height: 1100px; transform: translateX(-50%); overflow: visible; }
.orbit-track { stroke: #86b4e523; stroke-width: 1; }
.orbit-track-mint { stroke: #89d9c51a; }
.orbit-beam { stroke-width: 2; stroke-linecap: round; stroke-dasharray: 8 92; stroke-dashoffset: 20; filter: drop-shadow(0 0 5px #85caffaa); }
.orbit-beam-mint { stroke-dasharray: 5 95; stroke-dashoffset: 62; filter: drop-shadow(0 0 5px #8de5be99); }
.hero { padding-top: 75px; padding-bottom: 48px; text-align: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 550; letter-spacing: .06em; }
.hero-eyebrow { padding: 8px 13px; color: #bac9d7; border: 1px solid #a3d7e21f; border-radius: 100px; background: #17252c66; box-shadow: inset 0 1px 0 #ffffff06; }
.status-dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px #8df0c944; }
h1 { margin-top: 25px; font-size: clamp(62px, 7.3vw, 100px); line-height: 1.12; font-weight: 730; letter-spacing: -.055em; text-wrap: balance; }
.title-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.title-word { display: inline-block; }
.title-accent { color: #93d9e8; background: linear-gradient(105deg, #83b0ff 0%, #b1eaff 28%, #85f2bb 52%, #8db8ff 78%, #a5e9d3 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 580px; margin: 24px auto 0; color: var(--muted); font-size: 16px; line-height: 1.9; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 30px; }
.button { position: relative; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 650; white-space: nowrap; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0); }
.button-primary { color: #10211e; background: #9aefcf; border-color: #b1ffe3; box-shadow: 0 0 0 4px #9aefcf08, 0 5px 28px #72dfaf15, inset 0 1px 0 #ffffff66; }
.button-primary:hover { background: #b4f9df; box-shadow: 0 0 0 5px #9aefcf0c, 0 8px 40px #72dfaf29; }
.button-primary .button-arrow { width: 16px; margin-left: 9px; }
.button-ghost { color: #d7e1ed; border-color: #ffffff23; background: #ffffff03; }
.button-ghost:hover { background: #ffffff09; border-color: #ffffff40; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; color: var(--quiet); font-size: 11px; }
.meta-divider { width: 3px; height: 3px; border-radius: 50%; background: #64748a; }

.product-figure { position: relative; width: min(100%, 1020px); min-width: 0; margin: 62px auto 0; scroll-margin-top: 106px; }
.preview-label { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 22px; color: #8294a7; font: 9px var(--mono); letter-spacing: .17em; }
.preview-label > span { width: 45px; height: 1px; background: #a5d3e426; }
.product-halo { position: absolute; inset: 6% -12% 10%; z-index: -1; background: radial-gradient(ellipse at 25% 35%, #366cad4d, transparent 55%), radial-gradient(ellipse at 80% 60%, #2c8c752b, transparent 60%); filter: blur(55px); pointer-events: none; }
.screenshot-trigger { display: block; position: relative; border-radius: 21px; transform: perspective(1600px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .35s ease-out, box-shadow .35s; box-shadow: 0 0 0 1px #a6c9e85c, 0 0 0 7px #b6deff05, 0 28px 85px #0008; cursor: zoom-in; }
.screenshot-trigger:hover { box-shadow: 0 0 0 1px #a6c9e887, 0 0 0 7px #b6deff08, 0 30px 95px #0009; }
.product-stage { position: relative; transform: perspective(1400px) translateY(var(--stage-lift, 0px)) rotateX(var(--stage-angle, 0deg)) scale(var(--stage-scale, 1)); transform-origin: 50% 0%; }
.product-screenshot { width: 100%; height: auto; border-radius: inherit; }
.preview-hint { position: absolute; right: 18px; bottom: 17px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #ffffff30; border-radius: 8px; color: #edf7ff; background: #132330ee; font-size: 11px; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; pointer-events: none; }
.screenshot-trigger:hover .preview-hint, .screenshot-trigger:focus-visible .preview-hint { opacity: 1; transform: translateY(0); }
.product-figure figcaption { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; color: #7e8e9f; font-size: 10px; }
.product-figure figcaption .status-dot { width: 4px; height: 4px; opacity: .7; }
.capability-strip { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 28px 0 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-strip li { display: flex; align-items: center; justify-content: center; gap: 10px; color: #98a8bc; font-size: 12px; }
.capability-strip li + li { border-left: 1px solid #ffffff0f; }
.capability-strip .icon { width: 17px; height: 17px; color: #7ca89d; }

/* Feature illustrations are decorative; the product above is a real screenshot. */
.section { padding: 116px 0; scroll-margin-top: 76px; }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; color: #89b6ad; font: 10px var(--mono); font-weight: 550; letter-spacing: .15em; }
.section-kicker::before { content: ""; width: 14px; height: 1px; background: #89b6ad77; }
.section h2, .final-card h2 { margin-top: 19px; font-size: clamp(36px, 4vw, 52px); line-height: 1.28; font-weight: 680; letter-spacing: -.045em; text-wrap: balance; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-intro > p { max-width: 340px; padding-bottom: 7px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.feature-item { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-width: 0; min-height: 365px; padding: 30px 28px 0; border: 1px solid #ffffff12; border-radius: 17px; background: linear-gradient(155deg, #16202b80, #0e151d); transition: border-color .3s, background .3s, translate .3s; }
.feature-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), #9ac7fd0e, transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.feature-item:hover { translate: 0 -5px; border-color: #9ecbc43f; }
.feature-item:hover::before { opacity: 1; }
.feature-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 25px; border: 1px solid #9fc1ff23; border-radius: 11px; box-shadow: inset 0 1px 0 #ffffff08; }
.feature-icon .icon { width: 21px; height: 21px; }
.feature-icon.blue { background: #4a83d714; color: #8bb8f7; }
.feature-icon.cyan { background: #56bcc914; color: #89ccd9; border-color: #89ccd926; }
.feature-icon.mint { background: #75c9a914; color: #a1dcc3; border-color: #a1dcc326; }
.feature-number { position: absolute; right: 25px; top: 47px; color: #74849a; font: 9px var(--mono); letter-spacing: .06em; }
.feature-item h3 { font-size: 19px; letter-spacing: -.025em; line-height: 1.5; }
.feature-item p { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.feature-art { margin-top: auto; min-height: 122px; padding-top: 24px; display: flex; align-items: center; justify-content: center; }
.switch-art { gap: 10px; }
.switch-token { padding: 12px 16px; border: 1px solid #ffffff19; border-radius: 8px; background: #182333; color: #becbdd; font: 12px var(--mono); box-shadow: 0 8px 20px #0002; transition: border-color .3s, color .3s, transform .3s; }
.switch-token:first-child { border-color: #85b6ff44; color: #9fc6ff; }
.switch-connection { position: relative; color: #7599a9; }
.switch-signal { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #b8ffdd; box-shadow: 0 0 12px #8df0c9; opacity: 0; pointer-events: none; }
.feature-item:hover .switch-token:last-child { border-color: #94edc96b; color: #a7edce; transform: translateY(-3px); }
.usage-art { display: grid; grid-template-columns: 1fr; justify-content: stretch; width: 100%; align-content: center; gap: 10px; padding: 25px 8px 18px; }
.usage-art > span { position: relative; display: block; height: 6px; background: #ffffff0a; border-radius: 100px; overflow: hidden; }
.usage-art i { display: block; position: absolute; right: 0; width: 78%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #76a7ed, #a3d4f2); transform-origin: right; transition: transform .7s; }
.usage-art > span:nth-child(2) i { width: 56%; background: linear-gradient(90deg, #6499a8, #9bdcc7); }
.usage-art > span:nth-child(3) i { width: 34%; background: #6b92a3; }
.feature-item:hover .usage-art i { transform: scaleX(.86); }
.keyboard-art { gap: 10px; perspective: 500px; }
.keycap { display: grid; place-items: center; width: 44px; height: 46px; border: 1px solid #7283964d; border-bottom-width: 4px; border-radius: 9px; background: linear-gradient(140deg, #263541, #18212b); color: #b3c3ce; font: 16px var(--mono); box-shadow: 0 12px 16px #0003; transform: rotateX(15deg); transition: transform .3s, border-color .3s; }
.command-key { width: 54px; font-size: 29px; color: #a5ddc5; }
.feature-item:hover .command-key { transform: rotateX(15deg) translateY(3px); border-color: #a0dfc969; }

.workflow { position: relative; border-block: 1px solid #ffffff08; background: linear-gradient(110deg, #0e161e, #0a1018 65%); }
.workflow-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: center; }
.workflow-copy > p { max-width: 365px; margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.text-link, .local-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; color: #a9dcca; font-size: 12px; font-weight: 550; line-height: 1.7; }
.text-link:hover, .local-link:hover { color: #d0ffed; }
.text-link .icon, .local-link .icon { transition: transform .2s; }
.text-link:hover .icon, .local-link:hover .icon { transform: translateX(4px); }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; bottom: 40px; left: 24px; width: 1px; background: linear-gradient(#80cfb44d, #5482ba3d, #ffffff05); }
.step { position: relative; display: grid; grid-template-columns: 50px 1fr 22px; gap: 22px; align-items: start; padding: 26px 0; }
.step-number { position: relative; display: grid; place-items: center; height: 50px; border: 1px solid #ffffff18; border-radius: 50%; background: #0e1822; color: #a4c6bb; font: 12px var(--mono); }
.step h3 { padding-top: 3px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.step-icon { width: 18px; height: 18px; margin-top: 8px; color: #758d9d; }

.local-section { padding-top: 100px; padding-bottom: 24px; }
.local-card { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid #87aeae29; border-radius: 22px; background: radial-gradient(ellipse at 100% 0, #1d434438, transparent 65%), linear-gradient(125deg, #131d28, #101a21); }
.local-copy { padding: 59px 0 59px 54px; }
.local-copy h2 { font-size: clamp(34px, 3.5vw, 46px); }
.local-copy > p { max-width: 365px; margin-top: 23px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.local-visual { display: flex; align-items: center; padding: 55px 48px 55px 40px; }
.file-window { width: 100%; border: 1px solid #a4b9cf2b; border-radius: 12px; background: #0a1119; box-shadow: 0 16px 40px #0003; transform: rotate(-2deg); transition: transform .4s; }
.local-card:hover .file-window { transform: rotate(0); }
.file-window-top { display: flex; align-items: center; gap: 6px; min-height: 39px; padding: 0 15px; border-bottom: 1px solid #ffffff0c; }
.file-window-top > span { width: 7px; height: 7px; border-radius: 50%; background: #4b5c6a; }
.file-window-top > span:first-child { background: #bf7576; }
.file-window-top > span:nth-child(2) { background: #b69b61; }
.file-window-top > span:nth-child(3) { background: #639785; }
.file-window-top small { margin-left: 10px; color: #7d8d9f; font: 9px var(--mono); }
.file-tree { display: grid; gap: 18px; padding: 29px 23px; color: #cad9e5; font: 12px var(--mono); }
.folder-icon { color: var(--mint); }
.tree-child { padding-left: 8px; }
.tree-child > span { color: #44586b; }
.tree-child em { display: block; padding-top: 5px; padding-left: 37px; color: #73889b; font-family: var(--font); font-size: 10px; font-style: normal; }
.file-window > p { display: flex; align-items: start; gap: 8px; padding: 14px 18px; border-top: 1px solid #ffffff0e; color: #7d93a4; font-size: 10px; line-height: 1.7; }
.file-window > p .icon { width: 14px; height: 14px; margin-top: 2px; color: #8cb8aa; }

.faq { padding-block: 100px; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq h2 { font-size: clamp(33px, 3.2vw, 43px); }
.faq-intro { margin-top: 21px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.faq-list { border-top: 1px solid #ffffff16; min-width: 0; }
.faq-list details { border-bottom: 1px solid #ffffff16; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 77px; padding: 21px 0; cursor: pointer; list-style: none; color: #ced8e4; font-size: 14px; font-weight: 550; line-height: 1.7; transition: color .2s; }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--mint); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { flex: none; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #ffffff16; border-radius: 50%; color: #8c9caa; font-size: 18px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-answer { padding: 0 0 25px; color: var(--muted); font-size: 12px; line-height: 1.95; }
.faq-list details[open] .faq-answer { animation: answer-in .25s ease-out; }
.faq-answer p + p, .faq-answer .code-block + p { margin-top: 13px; }
.faq-answer a { color: #a0d6c5; text-decoration: underline; text-underline-offset: 3px; }
.code-block { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding: 13px 12px; border: 1px solid #ffffff18; border-radius: 8px; background: #ffffff03; }
.code-block code { min-width: 0; flex: 1; overflow-wrap: anywhere; color: #b5d6c9; font: 10px/1.9 var(--mono); }
.copy-button { display: inline-flex; align-items: center; gap: 5px; flex: none; min-height: 34px; padding: 5px 9px; border: 1px solid #ffffff1f; border-radius: 6px; color: #a9c8bf; background: #ffffff05; cursor: pointer; font-size: 10px; }
.copy-button:hover { background: #ffffff0b; }
.copy-button .icon { width: 13px; height: 13px; }
.copy-status { display: block; min-height: 0; color: #a5dbbd; font-size: 11px; }
.copy-status:not(:empty) { margin-top: 6px; }

.final-section { padding: 0 0 90px; }
.final-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 27px; padding: 62px 36px; border: 1px solid #8fb4c624; border-radius: 22px; background: radial-gradient(ellipse at 50% 110%, #27625a33, transparent 70%), #101a24; text-align: center; }
.final-card::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 150px; width: 800px; height: 500px; border: 1px solid #a0d8d313; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 80px #a0d8d303, 0 0 0 160px #a0d8d302; pointer-events: none; }
.final-icon { border-radius: 17px; box-shadow: 0 0 45px #398b9e33; }
.final-card h2 { margin-top: 15px; font-size: clamp(30px, 3.8vw, 46px); }
.final-card p { margin-top: 15px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.site-footer { border-top: 1px solid #ffffff0d; background: #070b11; }
.footer-main { display: flex; justify-content: space-between; gap: 30px; padding-top: 42px; padding-bottom: 38px; }
.footer-brand { font-size: 13px; color: #c5ceda; }
.footer-brand img { border-radius: 8px; }
.footer-main p { margin-top: 14px; color: var(--quiet); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: start; gap: 28px; padding-top: 8px; color: #8a9aaf; font-size: 11px; }
.footer-links a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid #ffffff0c; color: #6f8095; font-size: 10px; line-height: 1.8; }

.preview-dialog { width: min(1200px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; margin: auto; border: 1px solid #8ba9b845; border-radius: 16px; background: #0e1620; color: var(--ink); box-shadow: 0 30px 130px #0009; }
.preview-dialog::backdrop { background: #04080ef2; }
.preview-dialog-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 18px; background: #0e1620f5; border-bottom: 1px solid var(--line); z-index: 1; }
.preview-dialog-bar p { font-size: 13px; font-weight: 550; }
.preview-close { display: grid; place-items: center; width: 36px; height: 36px; background: #ffffff06; border: 1px solid #ffffff15; border-radius: 8px; color: var(--muted); cursor: pointer; }
.preview-close:hover { color: #fff; background: #ffffff12; }
.preview-dialog > img { width: 100%; height: auto; }
.preview-dialog-caption { padding: 14px 18px; color: var(--muted); font-size: 11px; }

[data-reveal] { --reveal-delay: 0ms; }
.reveal-pending { opacity: 0; transform: translateY(44px); }
.reveal-visible { animation: reveal-in .85s both cubic-bezier(.16, 1, .3, 1); animation-delay: var(--reveal-delay); }
.feature-item:nth-child(2) { --reveal-delay: 120ms; }
.feature-item:nth-child(3) { --reveal-delay: 240ms; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aurora-drift { from { transform: translate3d(-100px, -45px, 0) scale(.9); } to { transform: translate3d(120px, 65px, 0) scale(1.16); } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* Visible motion: entrance, scroll-driven product, then small feature demonstrations. */
.motion-toggle { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 7px 10px; border: 1px solid #8df0c92b; border-radius: 7px; background: #8df0c909; color: #a6d5c4; font-size: 11px; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { border-color: #8df0c97a; color: #dcfff2; }
.motion-toggle[aria-pressed="false"] { color: var(--muted); border-color: #ffffff23; background: #ffffff04; }
.motion-toggle .icon { width: 13px; height: 13px; }
[data-motion-scene] { --scene-play-state: paused; }
[data-motion-scene].is-in-view { --scene-play-state: running; }
.page-inactive [data-motion-scene] { --scene-play-state: paused; }
html[data-motion="on"] .aurora { animation: aurora-drift 9s ease-in-out infinite alternate; }
html[data-motion="on"] .aurora-mint { animation-delay: -4.5s; animation-duration: 11s; }
html[data-motion="on"] .orbit-beam { animation: orbit-travel 7s linear infinite; }
html[data-motion="on"] .orbit-beam-mint { animation-duration: 10s; animation-delay: -3s; animation-direction: reverse; }
html[data-motion="on"] .hero-eyebrow { animation: hero-arrive .7s cubic-bezier(.16, 1, .3, 1) both; }
html[data-motion="on"] .title-word { animation: title-arrive 1s cubic-bezier(.16, 1, .3, 1) .12s both; }
html[data-motion="on"] .title-word.title-accent { animation: title-arrive 1.05s cubic-bezier(.16, 1, .3, 1) .28s both, accent-flow 6s ease-in-out 1.3s infinite alternate; }
html[data-motion="on"] .hero-description { animation: hero-arrive .85s cubic-bezier(.16, 1, .3, 1) .42s both; }
html[data-motion="on"] .hero-actions { animation: hero-arrive .85s cubic-bezier(.16, 1, .3, 1) .56s both; }
html[data-motion="on"] .hero-meta { animation: hero-arrive .85s cubic-bezier(.16, 1, .3, 1) .7s both; }
html[data-motion="on"] .preview-label { animation: hero-arrive .85s cubic-bezier(.16, 1, .3, 1) .8s both; }
.button-primary { overflow: hidden; }
.button-primary::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -45%; width: 35%; background: linear-gradient(90deg, transparent, #ffffff66, transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
html[data-motion="on"] .button-primary::after { animation: button-sheen 5.5s ease-in-out 1.4s infinite; animation-play-state: var(--scene-play-state, running); }
html[data-motion="on"] .switch-token { animation: account-cycle 6s ease-in-out infinite; animation-play-state: var(--scene-play-state); }
html[data-motion="on"] .switch-token:last-child { animation-delay: -3s; }
html[data-motion="on"] .switch-signal { animation: switch-transfer 3s ease-in-out infinite alternate; animation-play-state: var(--scene-play-state); }
html[data-motion="on"] .usage-art i { animation: quota-cycle 5.5s cubic-bezier(.4, 0, .2, 1) infinite; animation-play-state: var(--scene-play-state); }
html[data-motion="on"] .usage-art > span:nth-child(2) i { animation-delay: -.7s; }
html[data-motion="on"] .usage-art > span:nth-child(3) i { animation-delay: -1.4s; }
html[data-motion="on"] .keycap { animation: key-tap 4.8s ease-in-out infinite; animation-play-state: var(--scene-play-state); }
html[data-motion="on"] .keycap:nth-child(3) { animation-delay: -3.2s; }
html[data-motion="on"] .keycap:nth-child(4) { animation-delay: -1.6s; }
html[data-motion="on"] .command-key { animation-name: command-hold; }
.steps::after { content: ""; position: absolute; top: 40px; bottom: 45px; left: 24px; width: 1px; background: linear-gradient(transparent, #a1f1d1); transform: scaleY(0); transform-origin: top; pointer-events: none; }
html[data-motion="on"] .steps::after { animation: workflow-line 6.6s ease-in-out infinite; animation-play-state: var(--scene-play-state); }
html[data-motion="on"] .step-number { z-index: 1; animation: step-pulse 6.6s ease-in-out infinite; animation-play-state: var(--scene-play-state); }
html[data-motion="on"] .step:nth-child(2) .step-number { animation-delay: -4.4s; }
html[data-motion="on"] .step:nth-child(3) .step-number { animation-delay: -2.2s; }
.hero-shell.motion-paused *, .hero-shell.motion-paused *::after, .page-inactive *, .page-inactive *::after { animation-play-state: paused !important; }

@keyframes title-arrive { from { opacity: 0; transform: translateY(105%) rotateX(12deg); filter: blur(7px); } to { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); } }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes accent-flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes orbit-travel { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes button-sheen { 0%, 5% { opacity: 0; transform: translateX(0) skewX(-18deg); } 12% { opacity: .9; } 38%, 100% { opacity: 0; transform: translateX(460%) skewX(-18deg); } }
@keyframes account-cycle { 0%, 8%, 40%, 100% { transform: translateY(-4px); color: #d0f3eb; border-color: #93e4c77a; box-shadow: 0 3px 24px #73dbb323; } 50%, 90% { transform: translateY(2px); color: #8294a9; border-color: #ffffff18; box-shadow: 0 6px 15px #0002; } }
@keyframes switch-transfer { 0%, 15% { opacity: 0; transform: translate(-28px, -50%); } 28%, 72% { opacity: 1; } 85%, 100% { opacity: 0; transform: translate(24px, -50%); } }
@keyframes quota-cycle { 0%, 100% { transform: scaleX(.28); } 25%, 36% { transform: scaleX(1); } 80% { transform: scaleX(.45); } }
@keyframes key-tap { 0%, 4%, 26%, 100% { transform: rotateX(15deg) translateY(0); border-color: #7283964d; color: #b3c3ce; box-shadow: 0 12px 16px #0003; } 9%, 19% { transform: rotateX(15deg) translateY(6px); border-color: #a0ebc9a8; color: #c5ffe2; box-shadow: 0 2px 8px #8df0c92b; } }
@keyframes command-hold { 0%, 82%, 100% { transform: rotateX(15deg) translateY(0); border-color: #7283964d; } 8%, 72% { transform: rotateX(15deg) translateY(5px); border-color: #a0ebc9a8; box-shadow: 0 2px 12px #8df0c92b; } }
@keyframes workflow-line { 0%, 8% { transform: scaleY(0); opacity: 0; } 15% { opacity: 1; } 75% { transform: scaleY(1); opacity: 1; } 90%, 100% { transform: scaleY(1); opacity: 0; } }
@keyframes step-pulse { 0%, 7%, 33%, 100% { color: #a4c6bb; border-color: #ffffff18; box-shadow: none; } 13%, 23% { color: #c9ffe8; border-color: #91e3c69c; box-shadow: 0 0 24px #7aeac01f; } }

html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] .reveal-pending { opacity: 1; transform: none; }
html[data-motion="off"] .product-stage, html[data-motion="off"] .screenshot-trigger { transform: none; }
html[data-motion="off"] .file-window { transform: none; }

@media (max-width: 1120px) {
  .navigation { gap: 18px; }
  .motion-toggle span { display: none; }
  .motion-toggle { width: 34px; padding: 7px; }
  .brand small { display: none; }
  .nav-links { gap: 23px; }
  .workflow-layout, .faq-layout { gap: 65px; }
  .feature-item { padding-inline: 23px; }
  .feature-item h3 { font-size: 17px; }
  .switch-token { padding-inline: 12px; font-size: 11px; }
  .local-copy { padding-left: 40px; }
  .local-visual { padding-right: 35px; padding-left: 30px; }
}
@media (max-width: 860px) {
  .container { width: calc(100% - 48px); }
  .navigation { min-height: 70px; gap: 20px; }
  .nav-links { display: none; }
  .language-switch { margin-left: auto; }
  .hero { padding-top: 66px; }
  h1 { font-size: clamp(54px, 8.8vw, 76px); }
  .hero-description { max-width: 540px; font-size: 15px; }
  .product-figure { margin-top: 55px; }
  .section { padding-block: 84px; }
  .section-intro { align-items: start; }
  .section-intro > p { max-width: 270px; padding-top: 38px; }
  .section h2 { font-size: 36px; }
  .feature-grid { gap: 12px; }
  .feature-item { padding: 25px 19px 0; }
  .feature-number { top: 40px; right: 18px; font-size: 8px; }
  .feature-item p { font-size: 12px; }
  .feature-art { min-height: 100px; }
  .switch-art { gap: 6px; }
  .switch-token { padding: 10px 8px; font-size: 9px; }
  .switch-connection .icon { width: 16px; }
  .keyboard-art { gap: 6px; }
  .keycap { width: 32px; height: 38px; }
  .command-key { width: 39px; font-size: 25px; }
  .workflow-layout, .faq-layout { gap: 40px; }
  .step { gap: 15px; grid-template-columns: 50px 1fr; }
  .step-icon { display: none; }
  .local-section { padding-bottom: 8px; }
  .local-card { grid-template-columns: 1fr; }
  .local-copy { padding: 42px 42px 0; }
  .local-copy > p { max-width: 560px; }
  .local-visual { padding: 35px 42px 42px; }
  .file-window { transform: none; }
  .tree-child em { display: inline; padding: 0; float: right; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  .container { width: calc(100% - 36px); }
  .navigation { min-height: 64px; gap: 13px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .brand span { font-size: 13px; }
  .nav-github span, .nav-github .small { display: none; }
  .language-switch { font-size: 11px; padding: 8px 10px; }
  .hero { padding-top: 51px; padding-bottom: 32px; }
  .hero-eyebrow { font-size: 10px; }
  h1 { margin-top: 26px; font-size: clamp(48px, 10.5vw, 66px); line-height: 1.16; }
  .hero-description { max-width: 440px; font-size: 14px; line-height: 1.9; margin-top: 20px; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .button { min-height: 49px; padding-inline: 17px; font-size: 12px; }
  .button-primary .button-arrow { margin-left: 3px; }
  .hero-meta { font-size: 10px; gap: 10px; }
  .product-figure { margin-top: 42px; scroll-margin-top: 88px; }
  .preview-label { font-size: 8px; gap: 10px; margin-bottom: 18px; }
  .preview-label > span { width: 24px; }
  .screenshot-trigger { border-radius: 11px; transform: none; }
  .preview-hint { right: 9px; bottom: 9px; padding: 7px 9px; font-size: 9px; }
  .product-figure figcaption { margin-top: 17px; font-size: 9px; }
  .aurora { width: 600px; height: 600px; filter: blur(35px); }
  .orbit-field { width: 1050px; height: 900px; top: 20px; }
  .aurora-blue { top: 120px; left: calc(50% - 450px); }
  .aurora-mint { top: 100px; left: calc(50% - 160px); }
  .capability-strip { grid-template-columns: repeat(2, 1fr); row-gap: 21px; padding-block: 24px; }
  .capability-strip li { font-size: 10px; gap: 8px; }
  .capability-strip li:nth-child(3) { border-left: 0; }
  .capability-strip .icon { width: 15px; height: 15px; }
  .section { padding-block: 67px; }
  .section-kicker { font-size: 9px; }
  .section h2 { margin-top: 17px; font-size: 34px; }
  .section-intro { display: block; }
  .section-intro > p { max-width: 440px; margin-top: 19px; padding: 0; font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 32px; }
  .feature-item { min-height: 315px; padding: 27px 26px 0; }
  .feature-number { top: 45px; right: 26px; font-size: 9px; }
  .feature-icon { margin-bottom: 22px; }
  .feature-item h3 { font-size: 19px; }
  .feature-item p { font-size: 13px; }
  .feature-art { min-height: 108px; }
  .switch-art { gap: 20px; }
  .switch-token { padding: 13px 23px; font-size: 12px; }
  .usage-art { padding-inline: 14px; }
  .keyboard-art { gap: 12px; }
  .keycap { width: 45px; height: 46px; }
  .command-key { width: 55px; font-size: 28px; }
  .workflow-layout, .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .step { grid-template-columns: 50px 1fr 20px; padding-block: 23px; }
  .step-icon { display: block; }
  .local-section { padding-bottom: 10px; }
  .local-card { border-radius: 16px; }
  .local-copy { padding: 32px 25px 0; }
  .local-visual { padding: 28px 24px 30px; }
  .file-tree { padding-inline: 17px; font-size: 11px; }
  .tree-child em { display: block; float: none; padding-top: 5px; padding-left: 34px; font-size: 9px; }
  .file-window > p { padding-inline: 14px; font-size: 9px; }
  .faq-list summary { font-size: 13px; min-height: 72px; }
  .final-section { padding-bottom: 60px; }
  .final-card { padding: 40px 24px; gap: 24px; border-radius: 16px; }
  .final-card h2 { font-size: 29px; }
  .final-icon { width: 55px; height: 55px; border-radius: 15px; }
  .footer-main, .footer-bottom { flex-direction: column; }
  .footer-links { gap: 26px; }
  .footer-bottom { gap: 9px; }
  .preview-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 11px; }
  .preview-dialog-bar { padding: 10px 12px; }
  .preview-dialog-caption { font-size: 10px; padding: 13px 12px; }
}
@media (max-width: 430px) {
  .brand .brand-full { display: none; }
  .brand .brand-short { display: inline; font-size: 17px; letter-spacing: -.02em; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { padding-inline: 15px; gap: 8px; }
  .hero-actions .button-arrow { display: none; }
}
@media (max-width: 350px) {
  h1 { font-size: 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-meta { gap: 7px; font-size: 9px; }
  .code-block { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) { scroll-behavior: auto; }
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { animation: none !important; transition: none !important; }
  html:not([data-motion="on"]) .reveal-pending { opacity: 1; transform: none; }
  html:not([data-motion="on"]) .product-stage, html:not([data-motion="on"]) .screenshot-trigger { transform: none; }
  html:not([data-motion="on"]) .feature-item:hover, html:not([data-motion="on"]) .button:hover { translate: none; transform: none; }
  html:not([data-motion="on"]) .file-window { transform: none; }
}
