:root {
  --bg: #0b1020;
  --bg-2: #11182e;
  --panel: #151d36;
  --panel-2: #1b2544;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e8ecf8;
  --muted: #9aa6c7;
  --brand: #3b7bff;
  --brand-2: #7c5cff;
  --accent: #39d5c4;
  --warn: #ffb547;
  --radius: 16px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #8fb3ff; text-decoration: none; }
a:hover { color: #b9cfff; }
code, kbd, pre { font-family: var(--mono); }
code {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  font-size: 0.9em;
}
kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0.05em 0.5em;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom-width: 3px;
  background: #1f2a4d;
  font-size: 0.85em;
  text-align: center;
  color: #fff;
}
pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 12px;
  background: #0a0f1e;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.55;
}
pre code { background: none; border: 0; padding: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.gradient-text {
  background: linear-gradient(90deg, #8fb3ff, #b18cff 55%, #5fe3d3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -- nav ------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 1.1rem; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 550; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* -- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  color: #fff;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px rgba(59, 123, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(59, 123, 255, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; border-radius: 10px; }
.btn small { display: block; font-weight: 500; opacity: 0.8; font-size: 0.78rem; line-height: 1.2; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }

/* -- hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  z-index: -1;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::before { width: 620px; height: 620px; background: #2443b8; top: -220px; left: -160px; }
.hero::after { width: 560px; height: 560px; background: #5a2ca8; top: 40px; right: -200px; animation-delay: -9s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.02fr 1.18fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.07; margin: 0 0 20px; letter-spacing: -0.025em; }
.hero p.lead { font-size: 1.18rem; color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 0.9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }

/* animated scene: PC -> encrypted link -> Mac */
.scene { position: relative; height: 470px; }
.mac {
  position: absolute;
  right: 0;
  top: 0;
  width: 78%;
  animation: float 7s ease-in-out infinite;
}
.mac-screen {
  position: relative;
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(180deg, #2b3350, #1a2038);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mac-screen img { border-radius: 6px; width: 100%; }
.mac-stand { width: 22%; height: 46px; margin: 0 auto; background: linear-gradient(180deg, #303956, #1d2238); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.mac-foot { width: 38%; height: 8px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #252b45; }
.pc {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 46%;
  animation: float 7s ease-in-out infinite;
  animation-delay: -3.5s;
}
.pc-screen {
  border-radius: 10px 10px 0 0;
  padding: 8px;
  background: #1a2140;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}
.pc-screen img { border-radius: 4px; }
.pc-base { height: 12px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #2c3557, #1b2140); margin: 0 -14px; }
@keyframes float { 50% { transform: translateY(-10px); } }

.link-line {
  position: absolute;
  left: 38%;
  bottom: 150px;
  width: 22%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(57, 213, 196, 0.15), rgba(124, 92, 255, 0.4));
  transform: rotate(-24deg);
  transform-origin: left center;
}
.packet {
  position: absolute;
  top: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: travel 2.4s linear infinite;
}
.packet.p2 { animation-delay: -0.8s; background: #9b85ff; box-shadow: 0 0 14px #9b85ff; }
.packet.p3 { animation-delay: -1.6s; }
@keyframes travel { from { left: -6%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 100%; opacity: 0; } }
.lock-badge {
  position: absolute;
  left: 46%;
  bottom: 176px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 46, 0.9);
  border: 1px solid rgba(57, 213, 196, 0.45);
  color: #bff4ec;
  font-size: 0.75rem;
  font-weight: 650;
  animation: pulse 2.6s ease-in-out infinite;
}
.lock-badge svg { width: 14px; height: 14px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(57, 213, 196, 0.08); } }

.remote-cursor {
  position: absolute;
  width: 22px;
  height: 22px;
  top: 30%;
  left: 30%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
  animation: cursor 9s ease-in-out infinite;
}
@keyframes cursor {
  0% { top: 30%; left: 30%; }
  22% { top: 40%; left: 58%; }
  30% { top: 40%; left: 58%; transform: scale(0.85); }
  34% { transform: scale(1); }
  55% { top: 24%; left: 82%; }
  75% { top: 70%; left: 44%; }
  100% { top: 30%; left: 30%; }
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(21, 29, 54, 0.95);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip svg { width: 16px; height: 16px; color: var(--accent); }
.chip-clip { left: 6%; top: 34%; animation: chip 6s ease-in-out infinite; }
.chip-file { left: 18%; top: 14%; animation: chip 6s ease-in-out infinite; animation-delay: -3s; }
@keyframes chip {
  0% { transform: translate(0, 10px); opacity: 0; }
  12% { opacity: 1; transform: translate(0, 0); }
  60% { opacity: 1; transform: translate(150px, -60px); }
  75%, 100% { opacity: 0; transform: translate(190px, -80px); }
}

/* -- sections ------------------------------------------------------------- */
section { padding: 92px 0; position: relative; }
section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -10px; }
.stat {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  text-align: center;
}
.stat b { display: block; font-size: 1.6rem; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.9rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(21, 29, 54, 0.6));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(59, 123, 255, 0.45); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.card h3 { margin: 14px 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59, 123, 255, 0.25), rgba(124, 92, 255, 0.25));
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: #b6c8ff;
}
.icon svg { width: 24px; height: 24px; }
.tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  color: #0b1020;
  background: var(--accent);
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px rgba(59, 123, 255, 0.12);
}
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* gallery */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; }
.shot-stage {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(180deg, #222b4a, #141a31);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}
.shot-stage .dots { display: flex; gap: 7px; padding: 2px 4px 12px; }
.shot-stage .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.shot-stage .dots i:nth-child(2) { background: #febc2e; }
.shot-stage .dots i:nth-child(3) { background: #28c840; }
.shot { display: none; }
.shot.active { display: block; animation: fadeUp 0.45s ease; }
.shot img { margin: 0 auto; border-radius: 8px; cursor: zoom-in; max-height: 640px; width: auto; }
.shot figcaption { text-align: center; color: var(--muted); margin-top: 14px; font-size: 0.95rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
.split p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(57, 213, 196, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339d5c4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* snip -> paste animation */
.paste-demo {
  position: relative;
  height: 360px;
  border-radius: 18px;
  background: linear-gradient(160deg, #172041, #0f1429);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pd-win, .pd-mac {
  position: absolute;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1c2547;
  padding: 12px;
}
.pd-win { left: 6%; top: 12%; width: 42%; height: 52%; }
.pd-mac { right: 6%; bottom: 10%; width: 46%; height: 58%; background: #191c24; }
.pd-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pd-select {
  position: absolute;
  left: 18%;
  top: 34%;
  width: 0;
  height: 0;
  border: 2px dashed var(--accent);
  border-radius: 4px;
  background: rgba(57, 213, 196, 0.1);
  animation: select 7s ease-in-out infinite;
}
@keyframes select {
  0%, 6% { width: 0; height: 0; opacity: 1; }
  24%, 34% { width: 60%; height: 46%; opacity: 1; }
  42%, 100% { width: 60%; height: 46%; opacity: 0; }
}
.pd-thumb {
  position: absolute;
  left: 14%;
  top: 30%;
  width: 22%;
  height: 20%;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b7bff, #7c5cff);
  box-shadow: 0 10px 30px rgba(59, 123, 255, 0.45);
  opacity: 0;
  animation: fly 7s ease-in-out infinite;
}
@keyframes fly {
  0%, 34% { opacity: 0; transform: translate(0, 0) scale(0.9); }
  40% { opacity: 1; transform: translate(0, 0) scale(1); }
  64% { opacity: 1; transform: translate(170%, 170%) scale(0.95); }
  72%, 100% { opacity: 0; transform: translate(185%, 185%) scale(0.85); }
}
.pd-chat {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 56%;
  border-radius: 10px;
  background: #23283a;
  padding: 10px;
}
.pd-pasted {
  width: 52%;
  height: 58%;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b7bff, #7c5cff);
  opacity: 0;
  animation: landed 7s ease-in-out infinite;
}
@keyframes landed { 0%, 66% { opacity: 0; transform: scale(0.9); } 72%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.pd-keys {
  position: absolute;
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.pd-keys.k1 { left: 8%; bottom: 22%; animation: keyflash 7s infinite; }
.pd-keys.k2 { right: 8%; top: 18%; animation: keyflash 7s infinite; animation-delay: 4.5s; }
@keyframes keyflash { 0%, 2% { opacity: 0.3; } 6%, 22% { opacity: 1; } 30%, 100% { opacity: 0.3; } }

/* downloads */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dl {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.dl:hover { transform: translateY(-4px); border-color: rgba(59, 123, 255, 0.5); }
.dl.featured { border-color: rgba(59, 123, 255, 0.55); box-shadow: 0 20px 60px rgba(59, 123, 255, 0.16); }
.dl .os { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.dl .os svg { width: 30px; height: 30px; }
.dl h3 { margin: 0; font-size: 1.25rem; }
.dl .role { color: var(--accent); font-weight: 650; font-size: 0.9rem; margin-bottom: 12px; }
.dl p { color: var(--muted); margin: 0 0 16px; font-size: 0.95rem; }
.dl ul { margin: 0 0 22px; padding-left: 18px; color: var(--muted); font-size: 0.9rem; }
.dl ul li { margin: 4px 0; }
.dl .btn { margin-top: auto; justify-content: center; }
.dl .file { margin-top: 10px; font-size: 0.8rem; color: var(--muted); text-align: center; font-family: var(--mono); }
.release-note {
  margin: 28px auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.note {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 181, 71, 0.3);
  background: rgba(255, 181, 71, 0.06);
  font-size: 0.92rem;
  color: #f3dcb5;
}
.note b { color: #ffd28a; }
.note.info { border-color: rgba(59, 123, 255, 0.35); background: rgba(59, 123, 255, 0.07); color: #cfdcff; }
.note.info b { color: #fff; }

/* security */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sec { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.sec h3 { margin: 0 0 6px; font-size: 1.04rem; }
.sec p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; 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(--muted); font-size: 1.3rem; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* cta + footer */
.cta {
  text-align: center;
  padding: 64px 32px;
  border-radius: 24px;
  background: radial-gradient(circle at 20% 0%, rgba(59, 123, 255, 0.35), transparent 55%),
              radial-gradient(circle at 90% 100%, rgba(124, 92, 255, 0.35), transparent 55%), var(--panel);
  border: 1px solid var(--line);
}
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 12px; }
.cta p { color: var(--muted); margin: 0 0 28px; }
.cta .hero-cta { justify-content: center; margin: 0; }
footer { padding: 44px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 40px;
  background: rgba(5, 8, 18, 0.88);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox.open { display: grid; animation: fadeUp 0.25s ease; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 10px; box-shadow: var(--shadow); }

/* -- manual --------------------------------------------------------------- */
.manual-hero { padding: 64px 0 34px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.manual-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 10px; letter-spacing: -0.02em; }
.manual-hero p { color: var(--muted); margin: 0; max-width: 46em; }
.manual { display: grid; grid-template-columns: 250px 1fr; gap: 56px; padding: 44px 24px 90px; }
.toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 0.92rem; }
.toc b { display: block; margin-bottom: 10px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 12px; border-radius: 8px; color: var(--muted); border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.toc a.active { color: #fff; background: rgba(59, 123, 255, 0.14); border-left-color: var(--brand); }
.doc { min-width: 0; max-width: 820px; }
.doc section { padding: 0 0 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.doc section:last-child { border-bottom: 0; }
.doc h2 { font-size: 1.75rem; margin: 0 0 16px; letter-spacing: -0.015em; scroll-margin-top: 90px; }
.doc h3 { font-size: 1.18rem; margin: 30px 0 10px; }
.doc p, .doc li { color: #c9d2ea; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc figure { margin: 22px 0; }
.doc figure img { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); cursor: zoom-in; }
.doc figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 10px; }
.doc .figs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.doc .note { margin: 18px 0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.93rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); background: rgba(255, 255, 255, 0.04); font-weight: 650; }
td { color: #c9d2ea; }
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.table-wrap table { margin: 0; }

/* -- responsive ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .scene { height: 420px; max-width: 640px; margin: 0 auto; width: 100%; }
  .features, .downloads, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .manual { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    background: rgba(11, 16, 32, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .features, .downloads, .steps, .security-grid, .release-note, .doc .figs { grid-template-columns: 1fr; }
  body { overflow-x: clip; }
  .scene { height: 330px; }
  .chip { display: none; }
  section { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
