@charset "UTF-8";

:root {
  color-scheme: dark;
  --paper: #11151c;
  --ink: #edf0f5;
  --muted: #aab8cc;
  --red: #fb6567;
  --line: #364253;
  --dark: #11151c;
  --panel: #1d2531;
  --blue: #8aade0;
  --green: #a2cfb3;
  --surface: #171d26;
  --raised: #242e3c;
}

body { background: var(--paper); }
.site-header { background: rgb(17 21 28 / 96%); }
.brand > span { color: var(--red); }
.brand b { color: var(--ink); }
.nav-cta { background: var(--raised); color: var(--ink); border: 1px solid var(--line); }
.nav-cta:hover { background: #354459; }
.hero-description { color: #c4cfdf; }
.hero-grid { grid-template-columns: .82fr 1.18fr; gap: 42px; min-height: 620px; }
.hero h1 { font-size: clamp(49px, 4.65vw, 70px); }
.primary-link { background: var(--red); color: #11151c; box-shadow: none; }
.primary-link:hover { background: #ff8587; }
.skip-link { background: var(--raised); color: var(--ink); }
.hero-product { margin: 0; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 28px 70px -32px #000b; overflow: hidden; }
.capture-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); }
.capture-label > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.capture-label i, .capture-gallery-head > span i { display: inline-block; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.capture-button { display: block; position: relative; width: 100%; min-width: 0; padding: 0; border: 0; background: #10141b; color: var(--ink); text-align: left; overflow: hidden; }
.capture-button img { display: block; width: 100%; height: auto; }
.capture-button:focus-visible { outline-offset: -4px; z-index: 1; }
.capture-open { position: absolute; right: 16px; bottom: 16px; padding: 10px 13px; background: #1d2531; border: 1px solid #50627b; border-radius: 5px; font-size: 11px; color: #d8e5f6; box-shadow: 0 3px 10px #0007; }
.capture-button:hover .capture-open { background: #304159; border-color: #8aade0; }
.hero-product figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px; padding: 17px 18px; font-size: 11px; border-top: 1px solid var(--line); color: #c4cfdf; }
.hero-product figcaption small { font-size: 10px; color: var(--muted); }

.capture-gallery { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); overflow: hidden; }
.capture-gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.capture-tabs { display: flex; gap: 6px; }
.capture-tabs button { background: transparent; border: 1px solid transparent; padding: 10px 16px; border-radius: 5px; color: var(--muted); font-size: 12px; }
.capture-tabs button:hover { background: var(--raised); color: var(--ink); }
.capture-tabs button[aria-pressed="true"] { color: #d3e4fd; border-color: #506984; background: #293c53; }
.capture-gallery-head > span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.gallery-picture { aspect-ratio: 16 / 11; }
.gallery-picture img { height: 100%; object-fit: contain; }
.capture-gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 18px 22px; border-top: 1px solid var(--line); }
.capture-gallery-caption p { color: #c4cfdf; margin: 0; font-size: 12px; line-height: 1.8; }
.capture-gallery-caption > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.try-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; margin: 64px 0 22px; }
.try-heading h3 { font-size: 26px; letter-spacing: -.6px; margin: 0; }
.try-heading p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.demo-switcher { background: var(--surface); border: 1px solid var(--line); }
.demo-switcher button[aria-selected="true"] { background: #304159; color: #d8e7fb; }
.demo-caption p { color: #c4cfdf; }
.feature-story { gap: 80px; grid-template-columns: .8fr 1.2fr; }
.feedback-story { grid-template-columns: 1.2fr .8fr; }
.feature-capture { min-width: 0; margin: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; overflow: hidden; }
.feature-capture figcaption { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.owner-panel-capture { background: var(--surface); }
.owner-panel-capture > .capture-button { background: var(--surface); padding: 32px 40px; }
.owner-panel-capture img { width: 300px; max-width: 100%; margin-inline: auto; border-radius: 8px; }
.owner-panel-capture .capture-open { bottom: 16px; right: 16px; }
.text-link { border-color: #71849d; }

.connect { background: var(--surface); color: var(--ink); }
.connect .section-index, .connection-note { border-color: var(--line); }
.connect .section-index .en-label, .connect-heading p, .connection-note p, .deployment-note { color: var(--muted); }
.map-center { background: var(--raised); border-color: #50627b; transform: none; }
.map-node > svg { stroke: #c4cfdf; }
.map-node p, .map-line > span { color: var(--muted); }
.map-line i { background: #536780; }
.map-line i:before, .map-line i:after { background: var(--blue); }
.toast { background: var(--raised); color: var(--ink); border-color: #647a98; }
.site-footer a:last-child, .faq-list p a { color: #b9d2f4; }

#capture-dialog { width: min(1400px, calc(100vw - 48px)); padding: 0; max-height: calc(100dvh - 48px); background: var(--surface); overflow: hidden; }
.capture-dialog-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; }
.capture-dialog-head .en-label { font-size: 8px; color: var(--muted); }
.capture-dialog-head h2 { margin: 8px 0 0; font-size: 18px; letter-spacing: -.3px; }
.capture-scroll { max-height: calc(100dvh - 226px); overflow: auto; background: #10141b; overscroll-behavior: contain; border-block: 1px solid var(--line); }
.capture-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
.capture-scroll img { width: 100%; max-width: 100%; height: auto; display: block; margin-inline: auto; }
.capture-scroll.is-original img { max-width: none; }
.capture-dialog-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 24px; }
.capture-dialog-foot > span { font-size: 11px; color: var(--muted); }
.capture-dialog-foot button { font-size: 12px; min-height: 44px; padding-inline: 18px; }

@media (min-width: 1600px) {
  .hero h1 { font-size: 73px; }
}
@media (max-width: 1200px) {
  .hero-grid { gap: 30px; min-height: 550px; }
  .hero h1 { font-size: 51px; }
  .hero-description { font-size: 16px; }
  .capture-label { padding-inline: 14px; font-size: 10px; }
  .hero-product figcaption { padding-inline: 14px; }
  .feature-story { gap: 55px; }
}
@media (max-width: 960px) {
  .hero-grid { gap: 25px; grid-template-columns: .9fr 1.1fr; min-height: 500px; }
  .hero h1 { font-size: 41px; }
  .hero-description { font-size: 14px; }
  .capture-label > span:last-child { display: none; }
  .feature-story { gap: 38px; }
  .capture-gallery-caption { gap: 20px; padding: 16px; }
  .capture-gallery-caption > span { white-space: normal; max-width: 140px; }
  .try-heading { align-items: flex-start; margin-top: 45px; }
  .try-heading p { max-width: 43%; font-size: 11px; }
  .owner-panel-capture > .capture-button { padding-inline: 25px; }
}
@media (max-width: 700px) {
  .hero-grid { gap: 28px; min-height: 0; }
  .hero h1 { font-size: clamp(42px, 8.3vw, 59px); }
  .hero-description { font-size: 15px; }
  .hero-product { width: 100%; margin-bottom: 28px; }
  .capture-label { padding: 13px 14px; font-size: 10px; }
  .capture-open { right: 10px; bottom: 10px; font-size: 10px; padding: 9px 10px; }
  .hero-product figcaption { padding: 13px 14px; font-size: 10px; }
  .hero-product figcaption small { font-size: 9px; }
  .capture-gallery-head { display: block; padding: 11px 10px; }
  .capture-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .capture-tabs button { padding: 10px 6px; font-size: 11px; }
  .capture-gallery-head > span { margin: 11px 4px 2px; font-size: 9px; }
  .capture-gallery-caption { display: block; padding: 14px; }
  .capture-gallery-caption p { font-size: 11px; }
  .capture-gallery-caption > span { display: block; margin-top: 9px; max-width: none; font-size: 9px; }
  .try-heading { display: block; margin: 35px 0 18px; }
  .try-heading h3 { font-size: 24px; }
  .try-heading p { max-width: none; font-size: 11px; margin-top: 12px; }
  .feature-story, .feedback-story { grid-template-columns: 1fr; gap: 28px; }
  .owner-panel-capture > .capture-button { padding: 24px 28px 62px; }
  .feature-capture figcaption { padding: 13px 14px; font-size: 10px; }
  #capture-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); }
  .capture-dialog-head { padding: 15px 14px; gap: 5px; }
  .capture-dialog-head h2 { font-size: 15px; line-height: 1.6; }
  .capture-dialog-head .en-label { font-size: 6px; letter-spacing: .8px; }
  .capture-scroll { max-height: calc(100dvh - 216px); }
  .capture-dialog-foot { padding: 12px 14px; gap: 8px; }
  .capture-dialog-foot > span { font-size: 9px; }
  .capture-dialog-foot button { font-size: 11px; padding-inline: 12px; }
}

@media print {
  :root { color-scheme: light; --paper: white; --ink: black; --muted: #444; --line: #ccc; --red: #b92730; }
  body, .connect { color: black; background: white; }
  .hero-description, .capture-gallery-caption p, .try-heading p { color: #444; }
  .capture-label, .capture-gallery-head, .capture-open, .try-heading { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: 0; }
  .hero-product, .capture-gallery, .feature-capture { box-shadow: none; }
}
