/* Sync Stacker website */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/manrope-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --bg: #0a0c10;
  --bg-2: #0d1015;
  --surface: #12151c;
  --surface-2: #181c25;
  --line: #222733;
  --line-2: #2e3441;
  --text: #e9ebf1;
  --muted: #a0a8b6;
  --faint: #6f7887;
  --blue: #5b8cff;
  --blue-deep: #3d6df0;
  --violet: #8b7cf6;
  --teal: #2dd4bf;
  --sky: #38bdf8;
  --amber: #fbbf24;
  --green: #22c55e;
  --red: #f87171;
  --radius: 14px;
  --maxw: 1160px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16.5px/1.62 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; }
a { color: #9fbcff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #c3d4ff; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .5em; color: #f4f5f8; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; color: #f1f3f7; }
small { font-size: 13px; }
::selection { background: rgba(91, 140, 255, .35); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1280px; }
.wrap-narrow { max-width: 840px; }
.center { text-align: center; justify-content: center; }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--text); font: 600 15.5px/1.2 var(--font);
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { border-color: #465066; background: #1d222d; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #6a97ff, var(--blue-deep)); border-color: transparent; color: #fff;
  box-shadow: 0 6px 24px -8px rgba(91, 140, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { background: linear-gradient(180deg, #7ba3ff, #4a78f2); border-color: transparent; }
.btn-lg { padding: 14px 24px; font-size: 16.5px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn .arrow { font-size: 1.25em; line-height: 0; margin-top: -2px; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn.is-off { opacity: .45; pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

.label { font: 600 12.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 16, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 18px/1 var(--display); letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.mark { width: 28px; height: 28px; flex: 0 0 auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-buy { margin-left: 4px; }
.navmenu { display: none; position: relative; }
.navmenu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text); }
.navmenu summary::-webkit-details-marker { display: none; }
.navmenu summary svg { width: 22px; height: 22px; }
.navmenu[open] summary { background: var(--surface-2); }
.navmenu-list {
  position: absolute; right: 0; top: 50px; min-width: 220px; padding: 8px;
  background: #141820; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column;
}
.navmenu-list a { color: var(--text); text-decoration: none; padding: 11px 14px; border-radius: 9px; font-weight: 500; }
.navmenu-list a:hover { background: var(--surface-2); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-buy { margin-left: auto; }
  .navmenu { display: block; }
  .nav-in { gap: 12px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 76px 0 40px; overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(139, 124, 246, .22), transparent 70%),
    radial-gradient(760px 420px at 92% 6%, rgba(45, 212, 191, .14), transparent 70%),
    radial-gradient(900px 500px at 50% 110%, rgba(91, 140, 255, .12), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 96px 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 62%); mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
}
.hero-in { position: relative; text-align: center; }
.eyebrow {
  display: inline-block; margin: 0 0 22px; padding: 7px 14px; line-height: 1.45;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03);
  color: var(--muted); font-size: 13.5px; font-weight: 500;
}
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 auto .32em; max-width: 14em; }
.hl { background: linear-gradient(92deg, #a99cff 0%, #6f9bff 45%, #3ee0c6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 740px; margin: 0 auto; }
.hero-note { margin: 16px 0 0; color: var(--faint); font-size: 14.5px; }
.hero-note strong { color: var(--muted); }

/* ---------- the demo stage ---------- */
.stage {
  position: relative; margin: 52px 0 0; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #14171e, #0f1217);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.stage-main { display: grid; grid-template-columns: minmax(0, 1fr) 256px; }
.tl { min-width: 0; border-right: 1px solid var(--line); }
.tl-head {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line);
  font: 500 12px/1 var(--mono); color: var(--muted); background: #121520;
}
.tl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.tl-name { color: var(--text); }
.tl-stats { color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-tc { margin-left: auto; color: var(--amber); font-size: 13px; letter-spacing: .02em; }
.tl-body { position: relative; height: 318px; transition: height .8s cubic-bezier(.65, 0, .35, 1); }
.tl-nojs { padding: 40px 20px; color: var(--muted); text-align: center; }
.tl-ruler { position: absolute; left: 52px; right: 0; top: 0; height: 24px; border-bottom: 1px solid var(--line); }
.tl-ruler span { position: absolute; top: 5px; transform: translateX(-50%); font: 500 10px/1 var(--mono); color: var(--faint); white-space: nowrap; }
.tl-ruler span:first-child { transform: none; margin-left: 4px; }
.tl-ruler i { position: absolute; bottom: 0; width: 1px; height: 6px; background: var(--line-2); }
.tl-row { position: absolute; left: 0; right: 0; transition: top .8s cubic-bezier(.65, 0, .35, 1), height .8s cubic-bezier(.65, 0, .35, 1), opacity .5s; }
.tl-row::after { content: ""; position: absolute; left: 52px; right: 0; top: 0; bottom: 0; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.tl-th {
  position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 18px;
  display: grid; place-items: center; border-radius: 4px; font: 500 10.5px/1 var(--mono); color: var(--faint);
  border: 1px solid var(--line); background: #151923; transition: background .4s, color .4s, border-color .4s;
}
.tl-row.on .tl-th { color: #fff; background: #2f55b8; border-color: #4a73de; }
.tl-split { position: absolute; left: 0; right: 0; height: 2px; background: #252b37; transition: top .8s cubic-bezier(.65, 0, .35, 1); }
.tl-lanes { position: absolute; left: 52px; right: 0; top: 24px; bottom: 0; transition: opacity .35s; }
.stage.resetting .tl-lanes { opacity: 0; }
.stage.instant .clip, .stage.instant .tl-row, .stage.instant .tl-th, .stage.instant .sync-line, .stage.instant .tl-end, .stage.instant .tl-past, .stage.instant .dead, .stage.instant .tl-split { transition: none !important; }
.tl-end { position: absolute; top: -24px; bottom: 0; width: 0; border-left: 1px dashed rgba(251, 191, 36, .45); transition: left .8s cubic-bezier(.65, 0, .35, 1), opacity .4s; }
.tl-end::after { content: "end"; position: absolute; top: 6px; left: 4px; font: 500 9.5px/1 var(--mono); color: rgba(251, 191, 36, .8); }
.tl-past { position: absolute; top: 0; bottom: 0; right: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .018) 0 6px, transparent 6px 12px); transition: left .8s cubic-bezier(.65, 0, .35, 1); pointer-events: none; }

.clip {
  position: absolute; border-radius: 4px; overflow: hidden;
  transition: left .85s cubic-bezier(.65, 0, .35, 1), top .85s cubic-bezier(.65, 0, .35, 1), height .6s, box-shadow .3s;
  will-change: left, top;
}
.clip-v { background: linear-gradient(180deg, #9384fa, #6d5ee8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.clip-v.cam-B { background: linear-gradient(180deg, #7b8dff, #5068ec); }
.clip-v::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 22px); }
.clip-a { background: rgba(45, 212, 191, .16); border: 1px solid rgba(45, 212, 191, .5); }
.clip-a.cam-B { background: rgba(34, 184, 166, .15); border-color: rgba(34, 184, 166, .5); }
.clip-a.cam-R { background: rgba(56, 189, 248, .14); border-color: rgba(56, 189, 248, .5); }
.clip-a svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.clip-a svg path { stroke: #2dd4bf; stroke-width: 1; vector-effect: non-scaling-stroke; }
.clip-a.cam-B svg path { stroke: #25c2ae; }
.clip-a.cam-R svg path { stroke: #38bdf8; }
.clip-a svg .clap { stroke: #fde68a; }
.clip b {
  position: relative; display: block; padding: 3px 6px 0; font: 500 9.5px/1.1 var(--mono); color: rgba(255, 255, 255, .92);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}
.clip-a b { color: rgba(220, 255, 250, .85); }
.stage[data-state="moving"] .clip { box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .7); }
.sync-line { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 2px dashed var(--amber); opacity: 0; transition: left .85s cubic-bezier(.65, 0, .35, 1), opacity .5s; filter: drop-shadow(0 0 6px rgba(251, 191, 36, .6)); }
.sync-line.on { opacity: .95; }
.dead { position: absolute; top: 0; bottom: 0; opacity: 0; transition: opacity .45s; background: repeating-linear-gradient(-45deg, rgba(248, 113, 113, .16) 0 5px, rgba(248, 113, 113, .04) 5px 10px); border-left: 1px solid rgba(248, 113, 113, .35); border-right: 1px solid rgba(248, 113, 113, .35); }
.dead.on { opacity: 1; }
.dead::after { content: "dead space"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 500 10px/1 var(--mono); color: #fca5a5; background: rgba(10, 12, 16, .8); padding: 3px 6px; border-radius: 4px; white-space: nowrap; }
.dead.narrow::after { display: none; }

/* the panel, as it looks in Premiere */
.pnl { background: #232323; padding: 12px 11px; display: flex; flex-direction: column; gap: 7px; font: 400 11.5px/1.35 var(--font); color: #d9d9d9; min-width: 0; }
.pnl-head { display: flex; align-items: center; gap: 7px; padding: 0 2px 4px; }
.pnl-head .mark { width: 18px; height: 18px; }
.pnl-head b { font: 600 12.5px/1 var(--font); color: #eee; }
.pnl-btn { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid #3a3a3a; border-radius: 6px; background: #2b2b2b; transition: border-color .3s, background .3s, box-shadow .3s; }
.pnl-btn i { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--font); font-style: normal; color: #fff; background: #3b82f6; transition: background .3s; }
.pnl-btn.master { border-color: #16a34a; }
.pnl-btn.master i { background: #16a34a; font-size: 9px; }
.pnl-btn b { display: block; font-weight: 600; font-size: 11.5px; color: #e8e8e8; }
.pnl-btn span { display: block; color: #8f8f8f; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pnl-btn div { min-width: 0; }
.pnl-btn.active { border-color: #5b8cff; background: #30353f; box-shadow: 0 0 0 1px rgba(91, 140, 255, .35), 0 0 18px -4px rgba(91, 140, 255, .6); }
.pnl-btn.master.active { border-color: #22c55e; box-shadow: 0 0 0 1px rgba(34, 197, 94, .35), 0 0 18px -4px rgba(34, 197, 94, .6); }
.pnl-btn.done i { background: #16a34a; }
.pnl-log { flex: 1; min-height: 92px; margin-top: 3px; background: #1a1a1a; border: 1px solid #3a3a3a; border-radius: 6px; padding: 6px 8px; font: 500 9.8px/1.5 var(--mono); color: #c9c9c9; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.pnl-log div { white-space: pre-wrap; overflow-wrap: anywhere; animation: logIn .35s ease-out; }
.pnl-log .ok { color: #4ade80; }
.pnl-log .dim { color: #8f8f8f; }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.stage-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; border-top: 1px solid var(--line); background: #11141b; }
.steps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.steps::-webkit-scrollbar { display: none; }
.steps button {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 13px/1 var(--font); cursor: pointer;
}
.steps button b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #2a3040; color: #cfd6e4; font-size: 11px; }
.steps button:hover { color: #fff; border-color: #465066; }
.steps button[aria-current="true"] { color: #fff; border-color: var(--blue); background: rgba(91, 140, 255, .12); }
.steps button[aria-current="true"] b { background: var(--blue); color: #fff; }
.stage-cap { flex: 1 1 280px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; min-width: 0; }
.stage-cap strong { color: #fff; }
.stage-play { flex: 0 0 auto; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 13px/1 var(--font); cursor: pointer; }
.stage-play:hover { color: #fff; border-color: #465066; }

@media (max-width: 980px) {
  .stage-main { grid-template-columns: minmax(0, 1fr); }
  .tl { border-right: 0; }
  .pnl { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .stage { margin-top: 36px; border-radius: 14px; }
  .tl-head { gap: 8px; padding: 9px 10px; }
  .tl-stats { display: none; }
  .tl-ruler, .tl-lanes, .tl-row::after { left: 40px; }
  .tl-th { left: 4px; width: 30px; font-size: 9.5px; height: 16px; }
  .clip b { display: none; }
  .tl-ruler span { font-size: 9px; }
  .tl-ruler span:nth-of-type(even) { display: none; }
  .eyebrow { font-size: 12.5px; padding: 6px 12px; }
  .dead::after { font-size: 9px; padding: 2px 4px; }
  .stage-bar { padding: 10px; }
}

/* ---------- sections ---------- */
.sec { padding: 96px 0; position: relative; }
.sec-alt { background: var(--bg-2); border-top: 1px solid rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .04); }
.sec-head { max-width: 720px; margin: 0 0 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p:not(.label) { color: var(--muted); font-size: 17.5px; }
@media (max-width: 640px) { .sec { padding: 68px 0; } .sec-head { margin-bottom: 32px; } }

/* problem */
.sec-why { padding-top: 88px; padding-bottom: 40px; }
.why { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.why-copy p { color: var(--muted); font-size: 17px; }
.why-copy p strong { color: #fff; }
.why-fix { color: #dfe6ff !important; font-weight: 500; border-left: 3px solid var(--blue); padding-left: 14px; }
.why-card { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.ba { flex: 1; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); }
.ba-after { border-color: rgba(34, 197, 94, .45); background: linear-gradient(180deg, rgba(34, 197, 94, .07), var(--surface)); }
.ba-label { font: 600 12px/1 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 14px; }
.ba-after .ba-label { color: #4ade80; }
.ba-num { font: 800 30px/1.1 var(--display); color: #fff; margin-bottom: 10px; letter-spacing: -0.02em; }
.ba-num small { font: 500 14px/1 var(--font); color: var(--muted); letter-spacing: 0; }
.ba-sub { color: var(--muted); font-size: 14.5px; margin: 0; }
.ba-arrow { display: grid; place-items: center; color: var(--faint); font-size: 26px; line-height: 1; transform: rotate(90deg); height: 18px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 32px; } }

/* how it works */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.how-card { padding: 16px 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.how-pic { padding: 10px; border-radius: 10px; background: #0b0e13; border: 1px solid rgba(255, 255, 255, .05); margin-bottom: 16px; min-height: 142px; display: flex; align-items: center; }
.diag { display: block; width: 100%; height: auto; }
.how-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.how-card p { color: var(--muted); font-size: 15px; margin: 0; }
.n { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 13px/1 var(--font); letter-spacing: 0; }
@media (max-width: 1100px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .how { grid-template-columns: 1fr; } }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feat svg { width: 40px; height: 40px; padding: 9px; border-radius: 11px; color: #cfd9ff; background: linear-gradient(145deg, rgba(139, 124, 246, .28), rgba(45, 212, 191, .16)); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 16px; }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } .feat { padding: 20px; } }

/* uses */
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.uses li { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.uses b { display: block; font: 700 17px/1.3 var(--display); color: #fff; margin-bottom: 4px; }
.uses span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan-for { color: var(--muted); font-size: 14.5px; min-height: 2.9em; margin-bottom: 12px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.price span { font: 800 42px/1 var(--display); color: #fff; letter-spacing: -0.03em; }
.price small { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; }
.plan li { position: relative; padding-left: 24px; color: #cdd3de; font-size: 14.5px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.plan-best { border-color: rgba(91, 140, 255, .7); background: linear-gradient(180deg, rgba(91, 140, 255, .12), var(--surface) 55%); box-shadow: 0 24px 60px -30px rgba(91, 140, 255, .6); }
.badge { position: absolute; top: -12px; left: 22px; margin: 0; padding: 5px 10px; border-radius: 999px; background: var(--blue); color: #fff; font: 600 12px/1 var(--font); letter-spacing: .02em; }
.plans-fine { max-width: 760px; margin: 30px auto 0; text-align: center; }
.plans-fine p { color: var(--faint); font-size: 14px; margin: 0 0 8px; }
.plans-fine p:first-child { color: var(--muted); font-size: 15px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } .plan-for { min-height: 0; } }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 2px; position: relative; font: 600 17px/1.4 var(--font); color: #f1f3f7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { color: #fff; }
.faq details p { color: var(--muted); margin: -4px 0 22px; padding-right: 30px; }

/* final */
.final { text-align: center; background: radial-gradient(700px 300px at 50% 100%, rgba(91, 140, 255, .16), transparent 70%); border-top: 1px solid rgba(255, 255, 255, .04); }
.final h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.03em; }
.final p { color: var(--muted); font-size: 18px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; background: #080a0d; }
.foot-in { display: grid; gap: 28px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.foot-tag { margin: 0; color: var(--faint); font-size: 14.5px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h2 { font: 600 12.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-cols a { color: var(--muted); text-decoration: none; font-size: 14.5px; overflow-wrap: anywhere; }
.foot-cols a:hover { color: #fff; }
.foot small { display: block; color: var(--faint); font-size: 12.5px; line-height: 1.6; max-width: 900px; }
@media (max-width: 600px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:nth-child(2) { order: 3; grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.page { padding: 64px 0 96px; }
.page-head { max-width: 760px; margin-bottom: 36px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.03em; }
.page-head p:not(.label) { color: var(--muted); font-size: 18px; }
.page-head .updated { color: var(--faint); font-size: 14px; }
.doc { max-width: 760px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.015em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: #c3c9d4; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: 7px; }
.doc li::marker { color: var(--faint); }
.box { padding: 20px 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); margin: 0 0 1.2em; }
.box > :last-child { margin-bottom: 0; }
kbd { font: 500 13px/1 var(--mono); padding: 3px 6px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--surface-2); color: #e5e8ef; }
.copyable { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn { padding: 4px 10px; border-radius: 7px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 13px/1.2 var(--font); cursor: pointer; }
.copy-btn:hover { color: #fff; border-color: #465066; }
.contact-line { color: var(--muted); margin-top: 36px; }

.next { list-style: none; counter-reset: n; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; max-width: 760px; }
.next li { counter-increment: n; position: relative; padding: 22px 22px 20px 72px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.next li::before { content: counter(n); position: absolute; left: 22px; top: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 15px/1 var(--font); }
.next h2 { font-size: 19px; margin-bottom: 6px; }
.next p { color: var(--muted); margin: 0; }

/* download */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
.dl-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); }
.dl-card svg { width: 34px; height: 34px; color: #dfe5f2; }
.dl-card h2 { font-size: 22px; margin: 4px 0 0; }
.dl-req { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; }
.dl-meta { color: var(--faint); font: 500 12.5px/1.4 var(--mono); margin: 0; overflow-wrap: anywhere; }
.dl-version { color: var(--muted); margin: 0 0 22px; }
.dl-state { max-width: 900px; margin-bottom: 22px; }
.dl-state .box { border-color: rgba(251, 191, 36, .45); background: linear-gradient(180deg, rgba(251, 191, 36, .06), var(--surface)); }
@media (max-width: 700px) { .dl { grid-template-columns: 1fr; } .next li { padding-left: 64px; } .next li::before { left: 18px; } }

/* notice (bottom of the screen) */
.notice {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; width: min(560px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
  background: #1a1f2a; border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.notice p { margin: 0; flex: 1; color: var(--text); font-size: 14.5px; }
.notice button { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; font: 500 13.5px/1 var(--font); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; transition-delay: 0s !important; }
}
