:root {
  --bg: #f5faf7;
  --bg-deep: #edf7f1;
  --surface: #ffffff;
  --surface-soft: #f3faf6;
  --ink: #0d2118;
  --ink-soft: #263d31;
  --muted: #61756a;
  --muted-light: #82958a;
  --line: #dfece4;
  --line-strong: #c9dfd1;
  --accent: #0f9f6e;
  --accent-dark: #047857;
  --accent-deep: #064e3b;
  --accent-soft: #e1f7ec;
  --mint: #d7f5e4;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(13, 44, 29, 0.04);
  --shadow: 0 18px 50px rgba(15, 58, 37, 0.08);
  --shadow-lg: 0 30px 90px rgba(9, 48, 30, 0.14);
  --container: 1180px;
  --header-h: 74px;
  --font:
    'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui,
    sans-serif;
  --mono: 'SFMono-Regular', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 88, 55, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 88, 55, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 62%);
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  color: var(--ink);
  background: var(--mint);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent-dark);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(245, 250, 247, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 30px rgba(13, 44, 29, 0.04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(15, 159, 110, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 520;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.16s ease;
}

.main-nav a:not(.nav-github)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  transition: right 0.2s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  right: 0;
}

.main-nav .nav-github {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
}

.nav-github svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.66);
}

.theme-switch button {
  min-height: 25px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}

.theme-switch button:hover {
  color: var(--ink);
}

.theme-switch button[aria-pressed='true'] {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 3px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 580;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--accent-dark);
  box-shadow: 0 8px 20px rgba(4, 120, 87, 0.18);
}

.btn-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 12px 28px rgba(4, 120, 87, 0.24);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.66);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.btn-light {
  color: var(--accent-deep);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(2, 34, 20, 0.16);
}

.btn-light:hover {
  background: #f0fff7;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.09);
}

.btn-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12.5px;
}

.btn-lg {
  min-height: 50px;
  padding: 0 22px;
  font-size: 14px;
  border-radius: 11px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 560;
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s ease;
}

.text-link:hover {
  border-bottom-color: var(--accent);
}

.text-link span {
  font-size: 12px;
}

/* Hero */

.hero {
  position: relative;
  padding: 78px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 14%, rgba(28, 190, 126, 0.13), transparent 30%),
    radial-gradient(circle at 8% 42%, rgba(157, 233, 195, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 55%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  right: -12%;
  top: 8%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(15, 159, 110, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(15, 159, 110, 0.035),
    0 0 0 140px rgba(15, 159, 110, 0.025);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.eyebrow > span {
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.hero h1 em {
  color: var(--accent-dark);
  font-style: normal;
}

.hero-lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero-visual {
  position: relative;
  padding: 18px 0 34px;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(15, 159, 110, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  inset: -30px -20px 20px 20px;
}

.orbit-two {
  inset: 40px 40px -10px -30px;
  border-color: rgba(15, 159, 110, 0.08);
}

.shot-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 44, 29, 0.12);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: perspective(1100px) rotateY(-2.5deg) rotateX(1.2deg);
  transition: transform 0.4s ease;
}

.hero-visual:hover .shot-window {
  transform: perspective(1100px) rotateY(0) rotateX(0);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid #e7f0ea;
  color: #6f8478;
  background: #fbfdfc;
  font-size: 9px;
}

.shot-dots {
  display: inline-flex;
  gap: 4px;
}

.shot-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d4e4da;
}

.shot-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #0d9c6c;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.shot-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #10b981;
}

.shot-window > img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
  object-position: top left;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 35px rgba(13, 44, 29, 0.12);
  backdrop-filter: blur(12px);
}

.float-card-a {
  left: -24px;
  bottom: 26px;
}

.float-card-b {
  right: -14px;
  top: 54px;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.float-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-card span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.float-card strong {
  font-size: 11px;
  font-weight: 600;
}

.float-card small {
  color: var(--muted-light);
  font-size: 9px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}

.stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats strong {
  color: var(--accent-dark);
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.stats span {
  color: var(--muted);
  font-size: 11px;
}

/* Sections */

.section {
  padding: 104px 0;
}

.section-tinted {
  border-top: 1px solid rgba(223, 236, 228, 0.7);
  border-bottom: 1px solid rgba(223, 236, 228, 0.7);
  background:
    radial-gradient(circle at 90% 0%, rgba(15, 159, 110, 0.06), transparent 26%),
    var(--surface-soft);
}

.section-head {
  max-width: 700px;
  margin-bottom: 52px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 640;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.section-head > p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 246px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 11px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(15, 159, 110, 0.14);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.feature-tag {
  margin-top: auto;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Showcase */

.showcase-main {
  margin: 0;
}

.showcase-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.showcase-main .showcase-frame img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
}

.showcase-main figcaption,
.showcase-small figcaption {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 4px 0;
}

.caption-index {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.8;
}

.showcase-main figcaption span:last-child,
.showcase-small figcaption span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.showcase-main figcaption strong,
.showcase-small figcaption strong {
  font-size: 13px;
  font-weight: 600;
}

.showcase-main figcaption small,
.showcase-small figcaption small {
  color: var(--muted);
  font-size: 11px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  margin-top: 42px;
}

.showcase-small {
  margin: 0;
}

.showcase-small .showcase-frame {
  height: 420px;
}

.showcase-small .showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.showcase-small:first-child .showcase-frame img {
  object-position: top center;
}

/* Download */

.download-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 48px;
  overflow: hidden;
  padding: 58px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 92% 10%, rgba(94, 234, 174, 0.22), transparent 32%),
    radial-gradient(circle at 4% 88%, rgba(15, 159, 110, 0.28), transparent 34%),
    linear-gradient(135deg, #073d2b 0%, #06553a 52%, #064d3a 100%);
  box-shadow: 0 30px 80px rgba(4, 60, 39, 0.18);
}

.download-panel::before {
  content: '';
  position: absolute;
  right: -12%;
  top: -48%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(255, 255, 255, 0.035),
    0 0 0 120px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.eyebrow-light {
  color: #a7f3d0;
}

.eyebrow-light > span {
  background: #6ee7b7;
}

.download-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 640;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.download-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 18px 0 0;
  color: rgba(236, 253, 245, 0.72);
  font-size: 13px;
  line-height: 1.85;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.download-note {
  margin-top: 18px !important;
  color: rgba(209, 250, 229, 0.52) !important;
  font-size: 10px !important;
}

.download-methods {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.method-card {
  padding: 18px 18px 17px;
  border: 1px solid rgba(167, 243, 208, 0.16);
  border-radius: 12px;
  background: rgba(2, 35, 23, 0.26);
  backdrop-filter: blur(10px);
}

.method-label {
  display: block;
  margin-bottom: 7px;
  color: #6ee7b7;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.method-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.method-card p {
  margin: 5px 0 12px;
  color: rgba(209, 250, 229, 0.62);
  font-size: 11px;
  line-height: 1.7;
}

.method-card .text-link {
  color: #a7f3d0;
  font-size: 11px;
}

.mini-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(0, 20, 12, 0.32);
}

.mini-code code {
  min-width: 0;
  overflow: hidden;
  color: #d1fae5;
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-code .copy-btn {
  flex: none;
  min-height: 22px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: #a7f3d0;
  background: transparent;
  font-size: 8px;
  cursor: pointer;
}

/* Getting started */

.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 76px;
  align-items: start;
}

.start-intro {
  position: sticky;
  top: calc(var(--header-h) + 34px);
}

.start-intro h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.start-intro > p:not(.eyebrow) {
  max-width: 420px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.requirement-box {
  margin: 30px 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.requirement-title {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.requirement-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirement-box li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.requirement-box li:first-child {
  border-top: 0;
}

.requirement-box li span {
  color: var(--muted);
}

.requirement-box li em {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
}

.steps {
  position: relative;
  display: flex;
  flex-direction: column;
}

.steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--line);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 34px;
}

.step:last-child {
  padding-bottom: 0;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-dark);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
}

.step-body {
  padding-top: 3px;
}

.step-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 620;
}

.step-body > p {
  margin: 7px 0 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.step-body code {
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 10px;
}

.code-block {
  position: relative;
  overflow: hidden;
  border: 1px solid #153428;
  border-radius: 10px;
  background: #0c2018;
  box-shadow: 0 12px 30px rgba(4, 36, 23, 0.12);
}

.code-block pre {
  margin: 0;
  padding: 15px 70px 15px 16px;
  overflow-x: auto;
  color: #d1fae5;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.75;
  tab-size: 2;
}

.code-block code {
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid #2a4b3a;
  border-radius: 5px;
  color: #a7f3d0;
  background: #123126;
  font-family: var(--mono);
  font-size: 8px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.copy-btn:hover {
  border-color: #4ade80;
  background: #173e2d;
}

.copy-btn.copied {
  color: #062a1b;
  background: #6ee7b7;
  border-color: #6ee7b7;
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 560;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.faq-item summary span::before,
.faq-item summary span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 1px;
  width: 12px;
  height: 1.5px;
  background: var(--muted);
  transition: transform 0.18s ease;
}

.faq-item summary span::after {
  transform: rotate(90deg);
}

.faq-item[open] summary span::after {
  transform: rotate(0deg);
}

.faq-item p {
  max-width: 680px;
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}

.faq-item p code {
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 10px;
}

/* Footer */

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-brand strong {
  font-size: 12px;
  font-weight: 650;
}

.footer-brand small {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.13em;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.footer-dev,
.footer-powered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.footer-dev span,
.footer-powered span {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}

.footer-dev strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.footer-dev a {
  color: var(--accent-dark);
}

.footer-powered a {
  color: var(--muted);
}

.footer-dev a:hover,
.footer-powered a:hover {
  color: var(--accent-dark);
}

.footer-powered b {
  color: var(--line-strong);
  font-weight: 400;
}

.footer-copy {
  margin: 0 0 0 auto;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 8px;
}

/* Standard theme */

[data-theme='standard'] {
  --bg: #f4f7fb;
  --bg-deep: #eaf0f7;
  --surface-soft: #f7f9fc;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --muted-light: #98a2b3;
  --line: #e4e9f0;
  --line-strong: #cfd8e5;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-deep: #1e3a8a;
  --accent-soft: #e8f0ff;
  --mint: #dbeafe;
  --radiant: #2563eb;
  --dire: #ef4444;
}

[data-theme='standard'] body::before {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
}

[data-theme='standard'] .site-header {
  background: rgba(244, 247, 251, 0.76);
}

[data-theme='standard'] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
}

[data-theme='standard'] .brand-mark {
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.18);
}

[data-theme='standard'] .hero-bg {
  background:
    radial-gradient(circle at 82% 14%, rgba(37, 99, 235, 0.13), transparent 30%),
    radial-gradient(circle at 8% 42%, rgba(147, 197, 253, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent 55%);
}

[data-theme='standard'] .hero-bg::after {
  border-color: rgba(37, 99, 235, 0.12);
  box-shadow:
    0 0 0 70px rgba(37, 99, 235, 0.035),
    0 0 0 140px rgba(37, 99, 235, 0.025);
}

[data-theme='standard'] .visual-orbit {
  border-color: rgba(37, 99, 235, 0.16);
}

[data-theme='standard'] .orbit-two {
  border-color: rgba(37, 99, 235, 0.08);
}

[data-theme='standard'] .feature-icon {
  border-color: rgba(37, 99, 235, 0.14);
}

[data-theme='standard'] .shot-live {
  color: #2563eb;
}

[data-theme='standard'] .shot-live i {
  background: #3b82f6;
}

[data-theme='standard'] .download-panel {
  background:
    radial-gradient(circle at 92% 10%, rgba(96, 165, 250, 0.22), transparent 32%),
    radial-gradient(circle at 4% 88%, rgba(37, 99, 235, 0.28), transparent 34%),
    linear-gradient(135deg, #0b1220 0%, #111c31 52%, #172554 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
}

[data-theme='standard'] .eyebrow-light {
  color: #bfdbfe;
}

[data-theme='standard'] .eyebrow-light > span {
  background: #60a5fa;
}

[data-theme='standard'] .download-copy > p:not(.eyebrow) {
  color: rgba(219, 234, 254, 0.72);
}

[data-theme='standard'] .download-note {
  color: rgba(191, 219, 254, 0.52) !important;
}

[data-theme='standard'] .method-card {
  border-color: rgba(147, 197, 253, 0.16);
  background: rgba(2, 6, 23, 0.28);
}

[data-theme='standard'] .method-label {
  color: #93c5fd;
}

[data-theme='standard'] .method-card p {
  color: rgba(219, 234, 254, 0.6);
}

[data-theme='standard'] .method-card .text-link {
  color: #bfdbfe;
}

[data-theme='standard'] .mini-code {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.24);
}

[data-theme='standard'] .mini-code code {
  color: #dbeafe;
}

[data-theme='standard'] .mini-code .copy-btn {
  color: #bfdbfe;
  border-color: rgba(255, 255, 255, 0.16);
}

[data-theme='standard'] .code-block {
  border-color: #1e293b;
  background: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

[data-theme='standard'] .code-block pre {
  color: #dbeafe;
}

[data-theme='standard'] .copy-btn {
  border-color: #334155;
  color: #bfdbfe;
  background: #1e293b;
}

[data-theme='standard'] .copy-btn:hover {
  border-color: #60a5fa;
  background: #243449;
}

[data-theme='standard'] .copy-btn.copied {
  color: #0f172a;
  background: #93c5fd;
  border-color: #93c5fd;
}

[data-theme='standard'] .theme-switch {
  background: rgba(255, 255, 255, 0.7);
}

/* Motion */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .hero-inner {
    gap: 38px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .float-card-a {
    left: -8px;
  }

  .float-card-b {
    right: -4px;
  }

  .download-panel {
    padding: 44px;
    gap: 34px;
  }

  .start-layout,
  .faq-layout {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 30px rgba(13, 44, 29, 0.06);
  }

  .nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .theme-switch {
    padding: 2px;
  }

  .theme-switch button {
    min-height: 23px;
    padding: 0 6px;
    font-size: 8.5px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    max-width: 760px;
    padding-bottom: 20px;
  }

  .stats {
    margin-top: 48px;
  }

  .stats > div {
    padding: 0 18px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .start-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .start-intro {
    position: static;
  }

  .download-panel {
    padding: 36px;
  }

  .section {
    padding: 80px 0;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-note {
    order: 3;
    flex-basis: 100%;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 66px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand-text small {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .hero h1 {
    font-size: clamp(34px, 9.6vw, 46px);
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    gap: 11px 16px;
    font-size: 10.5px;
  }

  .float-card-a {
    left: -4px;
    bottom: 16px;
  }

  .float-card-b {
    right: -4px;
    top: 36px;
  }

  .float-card {
    padding: 8px 9px;
    gap: 7px;
  }

  .float-icon {
    width: 27px;
    height: 27px;
  }

  .float-card strong {
    font-size: 9.5px;
  }

  .float-card small {
    font-size: 7.5px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
    margin-top: 38px;
  }

  .stats > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stats strong {
    font-size: 22px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .section-head > p:last-child {
    font-size: 13px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
    padding: 22px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 30px;
  }

  .showcase-small .showcase-frame {
    height: 300px;
  }

  .showcase-main .showcase-frame img {
    max-height: 400px;
  }

  .showcase-main figcaption,
  .showcase-small figcaption {
    padding-top: 12px;
  }

  .download-section {
    padding: 20px 0;
  }

  .download-panel {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .download-copy h2 {
    font-size: 32px;
  }

  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .download-actions .btn {
    width: 100%;
  }

  .download-methods {
    gap: 8px;
  }

  .method-card {
    padding: 15px;
  }

  .start-intro h2 {
    font-size: 40px;
  }

  .step {
    gap: 12px;
  }

  .steps::before {
    left: 18px;
  }

  .code-block pre {
    padding-right: 60px;
    font-size: 9.5px;
  }

  .faq-layout {
    gap: 28px;
  }

  .faq-item summary {
    font-size: 13px;
  }

  .footer-inner {
    align-items: flex-start;
    gap: 14px;
  }

  .footer-links {
    flex-basis: 100%;
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    gap: 14px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .footer-copy {
    margin-left: 0;
  }
}
