/* MultiCamViewer website. Generated pages share this file; see Tools/build_site.py. */
:root {
  --bg: #ffffff; --bg-soft: #f5f5f7; --bg-card: #ffffff; --fg: #1d1d1f; --muted: #6e6e73; --faint: #86868b;
  --line: rgba(0, 0, 0, .09); --line-strong: rgba(0, 0, 0, .14);
  --accent: #0a66ff; --accent-hover: #0057e0; --accent-soft: rgba(10, 102, 255, .09); --green: #1f9d55;
  --shadow-lg: 0 50px 120px -30px rgba(15, 25, 60, .35), 0 18px 40px -20px rgba(15, 25, 60, .25);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --track-tight: -.026em; --track: -.015em;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --bg-soft: #0f0f11; --bg-card: #161618; --fg: #f5f5f7; --muted: #a1a1a6; --faint: #7c7c82;
    --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .16);
    --accent: #3b8bff; --accent-hover: #5a9dff; --accent-soft: rgba(59, 139, 255, .14); --green: #34c759;
    --shadow-lg: 0 50px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
    color-scheme: dark;
  }
}

/* Scripts with their own typography: no negative tracking, fonts that cover them, roomier lines. */
:lang(ar), :lang(fa), :lang(ur) { --font: "SF Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif; --font-display: var(--font) }
:lang(ur) { --font: "Noto Nastaliq Urdu", "SF Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif }
:lang(he) { --font: "SF Hebrew", "Arial Hebrew", "Noto Sans Hebrew", Arial, sans-serif; --font-display: var(--font) }
:lang(hi) { --font: "Kohinoor Devanagari", "Noto Sans Devanagari", "Nirmala UI", sans-serif; --font-display: var(--font) }
:lang(th) { --font: "Thonburi", "Noto Sans Thai", "Leelawadee UI", sans-serif; --font-display: var(--font) }
:lang(ja) { --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; --font-display: var(--font) }
:lang(ko) { --font: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; --font-display: var(--font) }
:lang(zh-CN) { --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; --font-display: var(--font) }
:lang(zh-TW) { --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; --font-display: var(--font) }
:lang(ar), :lang(fa), :lang(ur), :lang(he), :lang(hi), :lang(th), :lang(ja), :lang(ko), :lang(zh-CN), :lang(zh-TW) { --track-tight: 0; --track: 0 }
:lang(ur) body { line-height: 1.9 }
:lang(ur) h1, :lang(ur) h2 { line-height: 1.75 }
:lang(ur) .card h3, :lang(ur) .faq summary, :lang(ur) .steps h3 { line-height: 1.8 }
:lang(hi) h1, :lang(hi) h2, :lang(th) h1, :lang(th) h2, :lang(ar) h1, :lang(fa) h1 { line-height: 1.25 }

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { transition: none !important; animation: none !important } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden }
a { color: inherit }
img { max-width: 100%; display: block }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .2s }
.nav.scrolled { border-bottom-color: var(--line) }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: var(--track); text-decoration: none; white-space: nowrap }
.brand img { width: 28px; height: 28px; border-radius: 7px }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; font-size: 14px }
.nav-links a { color: var(--muted); text-decoration: none; transition: color .15s; white-space: nowrap }
.nav-links a:hover { color: var(--fg) }
.nav-end { display: flex; align-items: center; gap: 10px }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding-inline: 22px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s, box-shadow .15s; border: 0; cursor: pointer }
.btn svg { width: 18px; height: 18px; flex: none }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent) }
.btn-primary:hover { background: var(--accent-hover) }
.btn-primary:active { transform: scale(.98) }
.btn-ghost { color: var(--accent); background: transparent; padding-inline: 14px }
.btn-ghost:hover { background: var(--accent-soft) }
.btn-sm { height: 34px; padding-inline: 16px; font-size: 14px }

/* ---------- Language menu ---------- */
.lang { position: relative }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding-inline: 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--fg); font: 500 14px/1 var(--font); cursor: pointer; transition: background .15s, border-color .15s }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--bg-soft) }
.lang-btn svg { width: 16px; height: 16px; flex: none; color: var(--muted) }
.lang-btn .chev { width: 10px; height: 10px; transition: transform .2s }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg) }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); width: min(520px, calc(100vw - 32px)); padding: 8px; border-radius: 16px; background: color-mix(in srgb, var(--bg-card) 94%, transparent); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .28), 0 2px 8px rgba(0, 0, 0, .06); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility 0s .16s }
[dir="rtl"] .lang-menu { transform-origin: top left }
.lang-menu.open { opacity: 1; transform: none; visibility: visible; transition: opacity .16s ease, transform .16s ease }
.lang-menu h2 { font: 600 12px/1 var(--font); letter-spacing: .02em; text-transform: uppercase; color: var(--faint); margin: 8px 10px 10px }
.lang-menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; text-decoration: none; font-size: 14px; line-height: 1.25; outline-offset: -2px }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--accent-soft) }
.lang-menu a .n { font-weight: 500; flex: 1; min-width: 0 }
.lang-menu a .e { color: var(--faint); font-size: 12px; white-space: nowrap }
.lang-menu a[aria-current="true"] { background: var(--accent); color: #fff }
.lang-menu a[aria-current="true"] .e { color: rgba(255, 255, 255, .75) }
@media (max-width: 560px) { .lang-menu ul { grid-template-columns: minmax(0, 1fr) } .lang-menu { max-height: 70vh; overflow-y: auto } }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding-block: 72px 0; overflow: hidden }
.hero::before { content: ""; position: absolute; inset: -10% -20% auto; height: 900px; background: radial-gradient(50% 45% at 50% 60%, var(--accent-soft), transparent 70%); pointer-events: none; z-index: -1 }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--muted); text-decoration: none; transition: border-color .15s, background .15s }
[dir="rtl"] .eyebrow { padding: 6px 6px 6px 14px }
.eyebrow:hover { background: var(--bg-soft) }
.eyebrow b { white-space: nowrap; flex: none; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px }
h1 { font: 700 clamp(44px, 7.4vw, 88px)/1.02 var(--font-display); letter-spacing: var(--track-tight); margin: 22px auto 0; max-width: 15ch; text-wrap: balance }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent), #7b61ff); -webkit-background-clip: text; background-clip: text; color: transparent }
.lede { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.45; color: var(--muted); max-width: 40em; margin: 22px auto 0; text-wrap: balance }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 34px }
.meta { margin-top: 16px; font-size: 14px; color: var(--faint) }

/* ---------- Mac window (static mock of the real app) ---------- */
.stage { position: relative; margin: 64px auto 0; max-width: 1080px; padding-inline: 4px }
.win { direction: ltr; text-align: left; border-radius: 12px; overflow: hidden; background: #1c1c1e; box-shadow: var(--shadow-lg); border: 1px solid rgba(0, 0, 0, .35); color: #f5f5f7; font: 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: 0 }
.win:lang(ar), .win:lang(fa), .win:lang(ur), .win:lang(he) { font-family: var(--font) }
.tb { display: flex; align-items: center; gap: 10px; height: 52px; padding-inline: 16px; background: #2c2c2e; border-bottom: 1px solid #000 }
.lights { display: flex; gap: 8px; margin-inline-end: 8px } .lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57 } .lights i:nth-child(2) { background: #febc2e } .lights i:nth-child(3) { background: #28c840 }
.tb .t { font-weight: 700; font-size: 14px; margin-inline-end: auto }
.tb .ic { display: grid; place-items: center; width: 30px; height: 28px; border-radius: 7px; color: #d1d1d6 }
.tb .ic svg { width: 16px; height: 16px }
.tb .grp { display: flex; align-items: center; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .06) }
.tb .seg { display: flex; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .07) }
.tb .seg span { min-width: 28px; height: 24px; display: grid; place-items: center; border-radius: 6px; font-size: 12px; font-weight: 600; color: #d1d1d6; padding-inline: 6px }
.tb .seg span.on { background: #636366; color: #fff }
.tb .pg { color: #8e8e93; font-size: 12px; padding-inline: 4px; font-variant-numeric: tabular-nums }
.tb .hd { height: 26px; padding-inline: 11px; border-radius: 13px; background: #0a84ff; color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center }
.wb { display: grid; grid-template-columns: 216px minmax(0, 1fr) }
.sb { background: #252527; border-right: 1px solid #000; padding: 10px 8px; font-size: 13px }
.sb .row { display: flex; align-items: center; gap: 7px; height: 26px; padding-inline: 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; color: #e5e5ea }
.sb .row svg { width: 15px; height: 15px; color: #0a84ff; flex: none }
.sb .row .dis { width: 9px; height: 9px; color: #8e8e93; margin-inline-end: -2px }
.sb .row.in { padding-inline-start: 26px }
.sb .row.sel { background: #0a84ff; color: #fff } .sb .row.sel svg { color: #fff }
.sb .gap { height: 6px }
.gridv { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 2px; background: #000 }
.tile { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111 }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.06) brightness(.96) }
.tile.ir img { filter: grayscale(1) contrast(1.15) brightness(1.05) }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 26%, transparent 70%, rgba(0, 0, 0, .45)); pointer-events: none }
.tile .osd { position: absolute; top: 6px; left: 8px; z-index: 1; font: 500 10px/1.2 var(--mono); color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); font-variant-numeric: tabular-nums; letter-spacing: 0 }
.tile .lbl { position: absolute; bottom: 6px; left: 8px; right: 8px; z-index: 1; font-weight: 600; font-size: 12px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tile.sel { outline: 2px solid #0a84ff; outline-offset: -2px; z-index: 1 }
.call { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(28, 28, 30, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); white-space: nowrap; font-size: 13px }
.call .bell { width: 16px; height: 16px; color: #fff; flex: none }
.call b { font-weight: 600 }
.call .b { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding-inline: 10px; border-radius: 7px; background: rgba(255, 255, 255, .12); font-weight: 500; font-size: 12px }
.call .b.go { background: #30d158; color: #fff }
.call .b svg { width: 12px; height: 12px }
.reflect { height: 70px; margin: 0 6% ; background: radial-gradient(50% 100% at 50% 0, rgba(0, 0, 0, .18), transparent 70%); filter: blur(10px) }
@media (prefers-color-scheme: dark) { .reflect { background: radial-gradient(50% 100% at 50% 0, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%) } }

/* ---------- Sections ---------- */
section { padding-block: 120px 0 }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px }
.kicker { color: var(--accent); font-weight: 600; font-size: 15px; margin: 0 0 12px }
h2 { font: 700 clamp(32px, 4.6vw, 54px)/1.06 var(--font-display); letter-spacing: var(--track-tight); margin: 0; text-wrap: balance }
.sec-head p { color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); margin: 16px 0 0; text-wrap: balance }

/* Brand strip */
.brands { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 44px; margin-top: 96px; color: var(--faint) }
.brands p { width: 100%; text-align: center; margin: 0 0 6px; font-size: 14px }
.brands span { font: 700 21px/1 var(--font-display); letter-spacing: -.01em; color: var(--muted); opacity: .85; direction: ltr }
.brands span small { font-weight: 500; font-size: 13px; color: var(--faint); margin-inline-start: 6px; letter-spacing: 0 }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px }
.card { position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; min-height: 330px }
.card.wide { grid-column: span 3 }
.card h3 { font: 650 21px/1.2 var(--font-display); font-weight: 600; letter-spacing: var(--track); margin: 0 }
.card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5 }
.card .vis { margin-top: auto; padding-top: 22px }
@media (max-width: 980px) { .card, .card.wide { grid-column: span 3 } }
@media (max-width: 680px) { .bento { grid-template-columns: minmax(0, 1fr) } .card, .card.wide { grid-column: auto; min-height: 0 } }

/* Mini UI used in the cards */
.mini { direction: ltr; text-align: left; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); font-size: 13px; overflow: hidden }
.mini .r { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line) }
.mini .r:first-child { border-top: 0 }
.mini .r svg { width: 17px; height: 17px; color: var(--accent); flex: none }
.mini .r .nm { font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.mini .r .ty { color: var(--faint); font-size: 12px; white-space: nowrap }
.mini .r .ip { color: var(--faint); font: 12px var(--mono) }
.mini .r .add { font-size: 12px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 999px; padding: 4px 11px }
.mini .r .ok { font-size: 12px; color: var(--green); font-weight: 600; display: inline-flex; gap: 4px; align-items: center }
.mini .r .ok svg { width: 13px; height: 13px; color: var(--green) }
.mini .r.sel { background: var(--accent-soft) }

.tl { padding: 16px 16px 14px }
.tl .bar { position: relative; height: 34px; border-radius: 8px; background: color-mix(in srgb, var(--fg) 6%, transparent); overflow: hidden }
.tl .bar i { position: absolute; top: 6px; bottom: 6px; background: color-mix(in srgb, #34c759 70%, var(--bg-card)); border-radius: 3px }
.tl .bar i.m { background: #ff9f0a; top: 3px; bottom: 3px }
.tl .bar b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--fg); border-radius: 2px }
.tl .bar b::before { content: ""; position: absolute; top: 0; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--fg) }
.tl .ticks { display: flex; justify-content: space-between; margin-top: 8px; font: 11px var(--mono); color: var(--faint) }
.tl .legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--muted) }
.tl .legend span { display: inline-flex; align-items: center; gap: 6px }
.tl .legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #34c759 }
.tl .legend span.m::before { background: #ff9f0a }

.ring { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #1c1c1e; color: #fff; border-color: rgba(255, 255, 255, .08) }
.ring .who { display: flex; align-items: center; gap: 12px }
.ring .av { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none }
.ring .av img { width: 100%; height: 100%; object-fit: cover }
.ring .who b { display: block; font-size: 14px }
.ring .who span { font-size: 12px; color: #a1a1a6 }
.ring .acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.ring .acts span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden }
.ring .acts span.go { background: #30d158 }
.ring .acts span.no { background: #ff453a }
.ring .acts svg { width: 13px; height: 13px; flex: none }

.p2p { padding: 16px; display: grid; gap: 12px }
.p2p .fld { display: grid; gap: 6px }
.p2p label { font-size: 12px; color: var(--faint) }
.p2p .in { height: 36px; display: flex; align-items: center; padding-inline: 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg); font: 14px var(--mono); letter-spacing: .04em }
.p2p .in .cur { width: 1.5px; height: 18px; background: var(--accent); margin-inline-start: 2px; animation: blink 1.1s steps(1) infinite }
@keyframes blink { 50% { opacity: 0 } }
.p2p .st { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); font-weight: 600 }
.p2p .st svg { width: 15px; height: 15px }

.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--line); font-size: 13px; font-weight: 500; white-space: nowrap }
.chips span kbd { font: 600 11px var(--font); color: var(--faint); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; direction: ltr }
.chips span svg { width: 15px; height: 15px; color: var(--accent) }

.lock { display: grid; place-items: center; height: 150px }
.lock .orb { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 90%, #fff), #5b4dff); box-shadow: 0 20px 40px -14px color-mix(in srgb, var(--accent) 70%, transparent) }
.lock .orb svg { width: 42px; height: 42px; color: #fff }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s }
.steps li { counter-increment: s; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft) }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fg); color: var(--bg); font-weight: 700; font-size: 16px; margin-bottom: 18px }
.steps h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: var(--track) }
.steps p { margin: 0; color: var(--muted); font-size: 16px }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr) } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: var(--track) }
.faq summary::-webkit-details-marker { display: none }
.faq summary .pm { position: relative; width: 14px; height: 14px; flex: none }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; border-radius: 2px; background: var(--muted); transition: transform .25s }
.faq summary .pm::after { transform: rotate(90deg) }
.faq details[open] summary .pm::after { transform: rotate(0) }
.faq details p { margin: -6px 4px 24px; color: var(--muted); font-size: 16px; max-width: 64ch }

/* Final call to action */
.final { margin-top: 140px; border-radius: 32px; padding: clamp(48px, 7vw, 88px) 24px; text-align: center; color: #fff; background: radial-gradient(70% 90% at 50% 0%, #1d3f8f 0%, #0b1530 55%, #05070d 100%); position: relative; overflow: hidden }
.final::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 50% 100%, rgba(123, 97, 255, .35), transparent 70%); pointer-events: none }
.final > * { position: relative; z-index: 1 }
.final img { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6) }
.final h2 { color: #fff }
.final p { color: rgba(255, 255, 255, .72); font-size: 18px; margin: 16px auto 32px; max-width: 34em }
.final .btn-primary { background: #fff; color: #0b1530; box-shadow: none } .final .btn-primary:hover { background: #e8eefc }
.final .meta { color: rgba(255, 255, 255, .55) }

/* Footer */
footer { margin-top: 90px; padding-block: 36px 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint) }
footer .top { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px }
footer a { color: var(--muted); text-decoration: none } footer a:hover { color: var(--fg) }
footer .langs { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 14px }
footer .langs a { color: var(--faint) }

/* Reveal on scroll (only when JS runs and motion is fine) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1) }
.js .rv.in { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none } }

/* Small screens */
@media (max-width: 900px) { .nav-links { display: none } .nav .wrap { gap: 12px } .nav-end { margin-inline-start: auto } }
@media (max-width: 860px) {
  .wb { grid-template-columns: minmax(0, 1fr) } .sb { display: none }
  .tb .hide-s { display: none }
  .call { top: 8px; font-size: 12px } .call .b:not(.go) { display: none }
}
@media (max-width: 560px) {
  .hero { padding-top: 48px } section { padding-top: 88px }
  .gridv { grid-template-columns: repeat(2, minmax(0, 1fr)) } .gridv .tile:nth-child(n+8) { display: none }
  .tb { gap: 6px; padding-inline: 12px } .tb .t { font-size: 13px } .tb .hide-xs { display: none }
  .nav .btn-sm { display: none }
  .call { display: none }
}

/* The product shot is above the fold: a short entrance instead of a scroll reveal. */
.stage { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .15s both }
@keyframes rise { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: none } }

/* Headline: the highlighted half always on its own line. CJK lines are measured in characters, not "ch". */
h1 em { display: block }
:lang(ja) h1, :lang(ko) h1, :lang(zh-CN) h1, :lang(zh-TW) h1 { max-width: none; font-size: clamp(36px, 6.6vw, 80px); line-height: 1.15; word-break: auto-phrase }
:lang(ja) h2, :lang(ko) h2, :lang(zh-CN) h2, :lang(zh-TW) h2 { word-break: auto-phrase; line-height: 1.25 }
:lang(ko) h1, :lang(ko) h2, :lang(ko) .lede { word-break: keep-all }
