:root {
  color-scheme: light;
  --ink: #142741;
  --muted: #506279;
  --blue: #174ccb;
  --line: #d3dfeb;
  --ice: #eef4fb;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--ice);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
body { line-height: 1.6; }
.wrap { width: min(1240px, calc(100% - 10vw)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid #457aee; outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
.sr-only, .layout-picker input, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; top: 8px; left: 16px; z-index: 2; background: white; }
.masthead, .brand, nav, footer, .hero-actions, figcaption, .layout-picker, .layout-picker label span {
  display: flex;
  align-items: center;
}
.masthead { min-height: 83px; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { gap: 9px; font-size: 1.52rem; font-weight: 730; line-height: 1; letter-spacing: -.045em; }
.brand img { width: 38px; height: 38px; }
.brand, nav a, .hero-actions a, footer a { text-decoration: none; }
nav { gap: clamp(12px, 2.7vw, 42px); font-size: .93rem; font-weight: 580; }
nav a, footer a { padding-block: 10px; }
.language-switch { display: inline-flex; align-items: center; gap: 10px; border-left: 1px solid var(--line); padding-left: 14px; white-space: nowrap; }
.language-switch [aria-current] { color: var(--muted); font-weight: 400; }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4%; align-items: center; padding-block: clamp(64px, 7.3vw, 112px); }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(34px, 3.75vw, 59px); line-height: 1.22; letter-spacing: -.055em; font-weight: 760; }
h2 { font-size: clamp(28px, 2.75vw, 40px); line-height: 1.28; letter-spacing: -.045em; }
h3 { font-size: 1.3rem; line-height: 1.4; letter-spacing: -.025em; }
.intro { max-width: 23em; margin-block: 24px 29px; color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.8; }
.hero-actions { gap: 24px; font-weight: 650; font-size: 15px; flex-wrap: wrap; }
.primary { display: inline-flex; align-items: center; gap: 18px; padding: 12px 19px; background: var(--blue); color: white; border-radius: 9px; }
.primary:hover { background: #113da5; color: white; }
.quiet { color: var(--blue); padding-block: 10px; }
.availability { margin-top: 16px; font-size: 13px; color: var(--muted); }

.demo { min-width: 0; }
.stage {
  padding: clamp(12px, 1.5vw, 23px);
  border: 1px solid #c7d9eb;
  border-radius: 18px;
  background-color: #dceaf8;
  background-image: radial-gradient(#a7c4e1 0.8px, transparent 0.9px);
  background-size: 9px 9px;
}
.canvas { --split-x: 67%; --split-y: 50%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 3px 12px #25497024; background: #faf7ef; }
.feed { position: absolute; overflow: hidden; }
.feed img { width: 100%; height: 100%; display: block; object-fit: cover; }
.slide-feed { inset: 0; }
.camera-feed { width: 35%; aspect-ratio: 16 / 10; bottom: var(--camera-bottom, 4%); left: var(--camera-left, 2.5%); border-radius: 8px; border: 2px solid white; box-shadow: 0 2px 9px #172a3a33; }
.demo.can-move-camera .camera-feed { cursor: grab; touch-action: none; user-select: none; }
.demo.can-move-camera .camera-feed.is-dragging { cursor: grabbing; }
.camera-feed:focus-visible { outline-offset: -4px; }
.drag-hint, .split-hint, .presenter-feed, .split-divider,
.demo.can-move-camera .layout-hint,
.demo.can-resize-split:has(input[value="split"]:checked) .layout-hint { display: none; }
.demo.can-move-camera .drag-hint { display: inline; }
.demo.can-resize-split:has(input[value="split"]:checked) .split-hint { display: inline; }
.source { position: absolute; top: 8px; left: 8px; padding: 2px 8px; background: #fff; border-radius: 4px; color: #2e3f53; font-size: clamp(10px, .84vw, 13px); font-weight: 600; }
/* 用单选框直接驱动画面布局，离线打开页面也可用键盘切换。 */
/* 并排模式中，右列分成上下两窗，分隔线共享窗口边界的百分比。 */
.demo:has(input[value="split"]:checked) .slide-feed { right: calc(100% - var(--split-x)); }
.demo:has(input[value="split"]:checked) .presenter-feed { display: block; inset: 0 0 calc(100% - var(--split-y)) var(--split-x); }
.demo:has(input[value="split"]:checked) .camera-feed { inset: var(--split-y) 0 0 var(--split-x); width: auto; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.demo:has(input[value="split"]:checked) .feed { background: #14171b; }
.demo:has(input[value="split"]:checked) .feed img { object-fit: contain; }
.demo:has(input[value="split"]:checked) .source { max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo.can-resize-split:has(input[value="split"]:checked) .split-divider { display: block; }
.split-divider { position: absolute; touch-action: none; }
.split-divider-x { inset: 0 auto 0 var(--split-x); width: 20px; transform: translateX(-50%); cursor: col-resize; background: linear-gradient(90deg, transparent 9px, #8095af 9px 11px, transparent 11px); }
.split-divider-y { inset: var(--split-y) 0 auto calc(var(--split-x) + 10px); height: 20px; transform: translateY(-50%); cursor: row-resize; background: linear-gradient(transparent 9px, #8095af 9px 11px, transparent 11px); }
.split-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 24px; transform: translate(-50%, -50%); border-radius: 4px; background: #eef4fb; box-shadow: 0 0 0 1px #142741; }
.split-divider-y::before { content: ""; position: absolute; top: 9px; left: -10px; width: 10px; height: 2px; background: #8095af; pointer-events: none; }
.split-divider-y::after { width: 24px; height: 6px; }
.split-divider:is(:hover, :active, :focus-visible)::after { background: #4d8aff; }
figcaption { justify-content: space-between; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.layout-picker { flex-shrink: 0; gap: 2px; border: 1px solid #b9cbdc; padding: 2px; border-radius: 8px; }
.layout-picker label { position: relative; cursor: pointer; }
.layout-picker label span { gap: 7px; justify-content: center; min-height: 34px; padding: 2px 10px; border-radius: 5px; }
.layout-picker input:checked + span { background: var(--ink); color: white; }
.layout-picker input:focus-visible + span { outline: 3px solid #457aee; outline-offset: 2px; }
.layout-picker i { width: 16px; height: 11px; position: relative; display: block; border: 1px solid currentColor; border-radius: 2px; }
.pip-icon::after { content: ""; position: absolute; right: 1px; bottom: 1px; height: 4px; width: 6px; background: currentColor; }
.split-icon::after { content: ""; position: absolute; left: 50%; inset-block: 0; width: 1px; background: currentColor; }

.flow { background: #fff; padding-block: clamp(46px, 5vw, 78px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; padding: 0; margin-top: 38px; list-style: none; counter-reset: step; }
.steps li { border-top: 1px solid var(--line); padding-top: 14px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 14px; letter-spacing: .04em; color: var(--blue); font-weight: 700; margin-bottom: 14px; }
.steps p, .devices p, .device-list dd, .answers p { margin-top: 9px; color: var(--muted); line-height: 1.8; }
.devices, .faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 9%; padding-block: clamp(52px, 6vw, 88px); }
.devices p { max-width: 23em; }
.device-list > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; border-top: 1px solid #c9d6e4; padding-block: 17px; }
.device-list dt { font-weight: 650; }
.device-list dd { margin: 0; }
.device-list a { display: block; width: fit-content; color: var(--blue); font-size: .9rem; }
.pricing { background: var(--ink); color: #f6faff; padding-block: clamp(48px, 5.5vw, 82px); }
.price-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 9%; align-items: center; }
.price { font-size: clamp(66px, 6vw, 90px); line-height: 1.15; letter-spacing: -.065em; font-weight: 650; margin-block: 12px; }
.price span { font-size: .52em; vertical-align: .45em; }
.price small { font-size: 16px; letter-spacing: .04em; font-weight: 500; }
.pricing p:not(.price), .terms span { color: #c4d3e6; }
.terms { padding: 0; list-style: none; }
.terms li { border-top: 1px solid #44566e; padding-block: 15px; }
.terms strong, .terms span { display: block; }
.terms span { margin-top: 3px; }
.faq { background: var(--ice); }
.answers details { border-top: 1px solid #c9d6e4; }
.answers summary { cursor: pointer; padding-block: 15px; font-weight: 600; }
.answers summary::marker { color: var(--blue); }
.answers p { margin: 0 0 18px; }
footer { justify-content: space-between; border-top: 1px solid var(--line); padding-block: 22px; color: var(--muted); font-size: 14px; }
footer > span { font-size: 18px; font-weight: 700; letter-spacing: -.035em; color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 3%; }
  .device-list > div { display: block; }
  .device-list dd { margin-top: 5px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .masthead { min-height: 66px; }
  .brand { font-size: 20px; gap: 4px; }
  .brand img { width: 30px; height: 30px; }
  nav { font-size: 13px; }
  .hero, .devices, .faq, .price-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-block: 46px 38px; }
  h1 { font-size: clamp(33px, 6.8vw, 48px); }
  .intro { margin-block: 18px 22px; }
  .availability { margin-top: 10px; }
  .source { top: 5px; left: 5px; }
  .steps { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  .steps li::before { float: left; margin: 4px 13px 0 0; }
  .steps p { margin-top: 7px; }
  .devices, .faq { padding-block: 46px; }
  .device-list > div:last-child, .terms li:last-child { padding-bottom: 0; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  nav { gap: 8px; }
  .layout-picker label span { padding-inline: 7px; }
}
@media (max-width: 420px) {
  figcaption { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .masthead { flex-wrap: wrap; padding-top: 12px; column-gap: 14px; }
  .masthead nav { flex-wrap: wrap; column-gap: 14px; row-gap: 0; }
  .language-switch { gap: 7px; padding-left: 10px; }
}
