/* ShowSyncRemote site: the same tokens as the app (black, green, blue, red, white). */
:root {
  --bg: #000000;
  --panel: #0a0a0a;
  --panel-2: #111111;
  --line: #1f1f1f;
  --line-2: #2c2c2c;
  --text: #f4f4f4;
  --muted: #8c8c8c;
  --dim: #5a5a5a;
  --green: #00e676;
  --green-dim: rgba(0, 230, 118, 0.14);
  --red: #ff2a2a;
  --red-dim: rgba(255, 42, 42, 0.14);
  --blue: #2f7bff;
  --blue-dim: rgba(47, 123, 255, 0.14);
  --sans: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }  /* keep the proportion when the column shrinks */
code { font-family: var(--mono); font-size: .9em; background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 800; margin-top: 18px; }
h1 em { font-style: normal; color: var(--green); }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 750; margin: 10px 0 18px; max-width: 900px; }
h3 { font-size: 18px; font-weight: 700; }
.lead { font-size: 19px; color: #cfcfcf; max-width: 640px; }
.lead.narrow { max-width: 820px; }
.lead b { color: var(--text); }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
       border-radius: 6px; padding: 13px 22px; font-weight: 650; letter-spacing: .03em; text-decoration: none; transition: border-color .15s, box-shadow .15s; cursor: pointer; font-family: inherit; font-size: 15px; }
.btn:hover { border-color: #555; }
.btn.go { background: var(--green); color: #000; border-color: var(--green); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.btn.go:hover { box-shadow: 0 0 28px rgba(0, 230, 118, .45); }
.btn.small { padding: 8px 14px; font-size: 12px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }

/* ---------- top bar (like the app) ---------- */
.top { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 24px;
       background: rgba(0, 0, 0, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand .word { font-weight: 800; letter-spacing: .26em; font-size: 15px; }
.brand .sub { font-size: 10px; letter-spacing: .3em; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.brand .sub i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
nav { display: flex; gap: 22px; margin-left: auto; }
nav a { text-decoration: none; font-size: 14px; color: var(--muted); }
nav a:hover, nav a.on { color: var(--text); }
.menu { display: none; background: none; border: 1px solid var(--line-2); border-radius: 6px; width: 40px; height: 36px; padding: 9px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.menu span { display: block; height: 2px; background: var(--text); border-radius: 1px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; background: radial-gradient(1100px 500px at 75% 20%, rgba(0, 230, 118, .07), transparent 60%), radial-gradient(800px 400px at 10% 90%, rgba(47, 123, 255, .06), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.tally { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(0, 230, 118, .5); background: var(--green-dim); border-radius: 8px; padding: 8px 14px; }
.tally i { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.tally b { letter-spacing: .14em; font-size: 13px; }
.tally span { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--panel); box-shadow: 0 30px 80px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02); cursor: zoom-in; }
.hero-shot { box-shadow: 0 30px 90px rgba(0, 0, 0, .9), 0 0 60px rgba(0, 230, 118, .12); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stats div { border-top: 1px solid var(--line-2); padding-top: 16px; }
.stats b { display: block; font-family: var(--mono); font-size: 30px; color: var(--green); }
.stats span { font-size: 13px; color: var(--muted); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 16px; margin-top: 36px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.feats { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
section.alt .card { background: #050505; }
.card p { color: #bdbdbd; margin: 10px 0 0; font-size: 15px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; border: 1px solid; }
.ico.green { color: var(--green); border-color: rgba(0, 230, 118, .5); background: var(--green-dim); }
.ico.blue { color: #8fb6ff; border-color: rgba(47, 123, 255, .6); background: var(--blue-dim); }
.ico.white { color: #fff; border-color: #555; background: rgba(255, 255, 255, .06); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot.blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.dot.red { background: var(--red); box-shadow: 0 0 8px var(--red); }
.dot.white { background: #fff; }

/* ---------- how it works ---------- */
.flow { display: grid; grid-template-columns: 1fr 90px 1.1fr 90px 1fr; align-items: center; margin: 40px 0 8px; }
.flow .node { border: 1px solid rgba(0, 230, 118, .45); border-radius: 10px; padding: 18px; background: #050505; text-align: center; }
.flow .node.hub { border-color: var(--green); box-shadow: 0 0 40px rgba(0, 230, 118, .15); }
.flow .node b { display: block; font-family: var(--mono); font-size: 17px; margin-top: 8px; }
.flow .node small { color: var(--muted); font-size: 12px; }
.role { font-size: 10px; letter-spacing: .16em; border: 1px solid #fff; border-radius: 3px; padding: 2px 7px; font-weight: 700; }
.role.red { border-color: var(--red); color: #ff8a8a; }
.flow .link { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 10px); opacity: .55; animation: flow 1.2s linear infinite; background-size: 20px 2px; }
.flow .link span { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-size: 10px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
@keyframes flow { to { background-position: 20px 0; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--line); border-radius: 10px; background: #050505; color: #c9c9c9; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
                    background: var(--green); color: #000; font-weight: 800; font-family: var(--mono); }
.steps li b { color: var(--text); }

/* ---------- tutorials ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 24px; }
.tabs button { background: transparent; border: 1px solid var(--line-2); color: var(--muted); border-radius: 20px; padding: 8px 16px; font-family: inherit; font-size: 14px; cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button.on { border-color: var(--green); color: var(--green); background: var(--green-dim); }
.tut { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: start; }
.tut h3 { font-size: 24px; margin-bottom: 6px; }
.tut ol { padding-left: 20px; color: #c9c9c9; }
.tut ol li { margin: 10px 0; }
.tut ol li b { color: var(--text); }
.tut .tip { border-left: 3px solid var(--blue); background: var(--blue-dim); padding: 12px 14px; border-radius: 0 8px 8px 0; font-size: 14px; color: #dfe9ff; margin-top: 18px; }
.tut .pics { display: grid; gap: 16px; }
.tut figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); background: #050505; }
.tut .shot.small { max-width: 460px; }

/* ---------- videos ---------- */
.video { padding: 0; overflow: hidden; }
.video .frame { aspect-ratio: 16 / 9; background: #050505 center / cover no-repeat; display: grid; place-items: center; border-bottom: 1px solid var(--line); position: relative; }
.video .frame iframe, .video .frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .frame.wait::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .72); }
.video .soon { position: relative; background: rgba(0, 0, 0, .6); font-size: 11px; letter-spacing: .2em; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 4px; padding: 6px 12px; text-transform: uppercase; }
.video .body { padding: 18px 20px 22px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #050505; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-family: var(--mono); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 20px; color: #c3c3c3; }

/* ---------- changelog ---------- */
.timeline { margin-top: 32px; border-left: 1px solid var(--line-2); padding-left: 28px; display: grid; gap: 26px; max-width: 900px; }
.rel { position: relative; }
.rel::before { content: ""; position: absolute; left: -34px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); border: 2px solid var(--bg); }
.rel.cur::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.rel .head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.rel .head b { font-family: var(--mono); font-size: 18px; }
.rel .head span { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.rel .now { font-size: 10px; letter-spacing: .14em; color: #000; background: var(--green); border-radius: 3px; padding: 2px 7px; font-weight: 800; font-family: var(--sans) !important; }
.rel ul { margin: 8px 0 0; padding-left: 18px; color: #c3c3c3; }
.rel ul li { margin: 4px 0; }
.more { margin-top: 18px; }

/* ---------- download ---------- */
.dl { margin-top: 32px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; border: 1px solid rgba(0, 230, 118, .45); border-radius: 12px; padding: 28px; background: #050505; box-shadow: 0 0 60px rgba(0, 230, 118, .08); }
.dl .ver b { font-family: var(--mono); font-size: 34px; color: var(--green); }
.dl .ver span { display: block; color: var(--muted); font-size: 14px; }
.news { padding-left: 18px; color: #c9c9c9; }
.news li { margin: 6px 0; }
.dl-side { display: flex; flex-direction: column; gap: 10px; }
.dl-side .btn { width: 100%; }
.sha { font-family: var(--mono); font-size: 11px; color: var(--muted); word-break: break-all; border: 1px solid var(--line); border-radius: 6px; padding: 10px; background: #000; }
.sha:empty { display: none; }

footer { border-top: 1px solid var(--line); padding: 28px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- lightbox ---------- */
#zoom { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .92); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
#zoom.on { display: grid; }
#zoom img { width: auto; max-width: 100%; max-height: 92vh; border: 1px solid var(--line-2); border-radius: 8px; }
#zoom button { position: absolute; top: 16px; right: 20px; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 6px; width: 40px; height: 40px; font-size: 22px; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .tut, .dl { grid-template-columns: 1fr; }
  .cards.three, .cards.feats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow .link { height: 40px; width: 2px; margin: 0 auto; background: repeating-linear-gradient(180deg, #fff 0 4px, transparent 4px 10px); }
  .flow .link span { top: 50%; left: 14px; transform: translateY(-50%); }
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: #000; border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .menu { display: flex; margin-left: auto; }
  #top-dl { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top { padding: 0 16px; }
  section { padding: 64px 0; }
  .cards.three, .cards.feats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .lead { font-size: 17px; }
  .dl { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .flow .link { animation: none; } }
