:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #edf2f7;
  --surface-3: #e4ebf3;
  --text: #122033;
  --muted: #607086;
  --border: #d9e1ea;
  --line: var(--border);
  --brand: #0877d9;
  --brand-2: #00a676;
  --brand-soft: rgba(8, 119, 217, 0.10);
  --amber: #d79000;
  --red: #e05252;
  --cyan: #0097a7;
  --shadow: 0 18px 55px rgba(25, 45, 78, 0.14);
  --soft-shadow: 0 10px 28px rgba(25, 45, 78, 0.10);
  --hero-overlay: linear-gradient(90deg, rgba(6, 14, 26, 0.88), rgba(6, 14, 26, 0.64) 44%, rgba(6, 14, 26, 0.26));
  --radius: 8px;
  --max: 1180px;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  --sans: "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121416;
  --surface: #1c1f22;
  --surface-2: #252a2f;
  --surface-3: #30363d;
  --text: #f1f5f9;
  --muted: #9aa8b7;
  --border: #333b45;
  --line: var(--border);
  --brand: #42a5ff;
  --brand-2: #31d18b;
  --brand-soft: rgba(66, 165, 255, 0.12);
  --amber: #f2bb3f;
  --red: #ff6b6b;
  --cyan: #35c9d5;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
  --soft-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  --hero-overlay: linear-gradient(90deg, rgba(9, 13, 18, 0.92), rgba(9, 13, 18, 0.72) 46%, rgba(9, 13, 18, 0.28));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.nav {
  position: relative;
  max-width: var(--max);
  min-height: 82px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-word {
  display: block;
  width: auto;
  height: 46px;
  max-width: none;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-word-dark {
  display: none;
}

:root[data-theme="dark"] .brand-word-light {
  display: none;
}

:root[data-theme="dark"] .brand-word-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.language-toggle,
.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-decoration: none;
  padding: 8px 13px;
  cursor: pointer;
}

.language-toggle,
.theme-toggle {
  min-width: 64px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.is-active,
.language-toggle:hover,
.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--text);
  background: var(--surface-2);
}

.menu-toggle {
  display: none;
}

.development-banner {
  background: color-mix(in srgb, var(--amber) 14%, var(--surface));
  border-bottom: 1px solid color-mix(in srgb, var(--amber) 36%, var(--border));
}

.development-banner .section-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text);
}

.development-banner strong {
  flex: 0 0 auto;
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

.development-banner p {
  margin: 0;
  min-width: 0;
  color: var(--muted);
  text-align: center;
}

.development-banner a {
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.development-banner a:hover {
  color: var(--brand);
}

.hero {
  position: relative;
  min-height: clamp(620px, 76vh, 780px);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.96) 0%, rgba(6, 13, 23, 0.84) 43%, rgba(7, 14, 22, 0.58) 100%),
    linear-gradient(180deg, rgba(66, 165, 255, 0.18), rgba(0, 166, 118, 0.08) 48%, rgba(4, 8, 13, 0.94)),
    #07101a;
  border-bottom: 1px solid var(--border);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 94px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 76px);
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 38%, #000);
}

.hero::after {
  inset: auto 0 0;
  z-index: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 13, 0.84));
}

.hero-product-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-product-stage img {
  position: absolute;
  top: clamp(-8px, 2.5vh, 28px);
  right: max(-34px, 3vw);
  width: min(1180px, 74vw);
  max-width: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: -34px 42px 120px rgba(0, 0, 0, 0.58);
  filter: saturate(1.08) contrast(1.08) brightness(0.72);
  transform: perspective(1280px) rotateY(-14deg) rotateX(2.5deg);
  transform-origin: right center;
}

.hero-product-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 48%, transparent 0 28%, rgba(4, 9, 16, 0.20) 58%, rgba(4, 9, 16, 0.52) 100%),
    linear-gradient(90deg, rgba(4, 9, 16, 0.96) 0%, rgba(4, 9, 16, 0.82) 30%, rgba(4, 9, 16, 0.38) 56%, rgba(4, 9, 16, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.20), rgba(5, 10, 18, 0.44));
}

.hero-inner,
.section-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 22px;
}

.hero-inner {
  padding-top: 84px;
  padding-bottom: 54px;
  position: relative;
  z-index: 1;
}

.hero-main {
  position: relative;
  min-height: 396px;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 650px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 14px;
  color: color-mix(in srgb, var(--brand-2) 82%, #fff);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  font-size: 64px;
  font-weight: 900;
}

.hero-logo-title {
  line-height: 1;
}

.hero-word-logo {
  width: min(213.33px, 49.33vw);
  height: auto;
  max-height: 82.67px;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.26));
}

h2 {
  font-size: 36px;
  font-weight: 850;
}

h3 {
  font-size: 21px;
  font-weight: 800;
}

p {
  margin: 0;
}

.hero-copy {
  margin-top: 20px;
  max-width: min(610px, 100%);
  color: rgba(235, 244, 255, 0.86);
  font-size: 19px;
  overflow-wrap: anywhere;
}

.hero .eyebrow {
  color: #6ff1b3;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  box-shadow: var(--soft-shadow);
}

.btn.primary {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: none;
}

.hero .btn.primary {
  background: linear-gradient(135deg, #0d8eff, #00a676);
  box-shadow: 0 16px 34px rgba(0, 119, 217, 0.32);
}

.hero .btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.btn.subtle {
  background: var(--surface-2);
  box-shadow: none;
}

.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.section {
  border-bottom: 1px solid var(--border);
}

.section.alt {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 540px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.download-card,
.plan-card,
.guide-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.feature-card {
  padding: 22px;
}

.feature-card p,
.guide-step p,
.download-card p,
.plan-card p {
  color: var(--muted);
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 30px;
  align-items: center;
}

.showcase.reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
}

.showcase.reverse .showcase-media {
  order: 2;
}

.showcase-text {
  display: grid;
  gap: 16px;
}

.showcase-text p {
  color: var(--muted);
}

.connection-showcase {
  grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1fr);
  align-items: center;
}

.showcase.reverse.connection-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.56fr);
}

.connection-showcase .showcase-media {
  justify-self: center;
  width: min(100%, 420px);
  min-width: 0;
}

.connection-section {
  display: grid;
  gap: 28px;
}

.connection-head {
  margin-bottom: 0;
}

.connection-channel-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.connection-channel {
  --connection-shot-height: clamp(300px, 51.5vw, 650px);
  --connection-shot-width: clamp(165px, 28.36vw, 358px);
  min-width: 0;
  width: var(--connection-shot-width);
  flex: 0 0 var(--connection-shot-width);
  display: inline-grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#network-debug {
  --connection-shot-width: clamp(168px, 28.84vw, 364px);
}

#bluetooth-debug {
  --connection-shot-width: clamp(166px, 28.43vw, 359px);
}

.conversion-shot .screenshot-frame {
  box-shadow: var(--soft-shadow);
}

.connection-channel .connection-thumb {
  justify-self: center;
  width: 100%;
  max-width: none;
  border: 0;
  background: transparent;
  box-shadow: var(--soft-shadow);
  line-height: 0;
}

.screenshot-frame.wide.connection-thumb img {
  display: block;
  width: 100%;
  max-width: none;
  height: var(--connection-shot-height);
  aspect-ratio: auto;
  object-fit: fill;
  object-position: left top;
  background: transparent;
}

.connection-channel strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.connection-channel span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.data-convert-showcase {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
}

.conversion-gallery {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: center;
}

.conversion-shot {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin: 0;
}

.conversion-composite-stage {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.conversion-result-popover {
  position: absolute;
  z-index: 1;
  right: 2px;
  bottom: clamp(-18px, -3.2vw, -8px);
  width: min(48%, 280px);
  box-shadow: 0 20px 46px rgba(5, 12, 22, 0.32);
}

.conversion-shot figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.conversion-shot figcaption strong {
  color: var(--text);
  font-size: 15px;
}

.conversion-shot figcaption span {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.screenshot-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}

.screenshot-frame picture {
  display: block;
}

.screenshot-frame.contain img {
  object-fit: contain;
  background: #111;
}

.screenshot-frame.wide img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #111;
}

.screenshot-frame.detail img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #050607;
}

.screenshot-frame.detail {
  max-width: 680px;
  margin-inline: auto;
}

.utility-section {
  display: grid;
  gap: 24px;
}

.utility-head {
  margin-bottom: 0;
}

.ansi-showcase-row,
.quick-menu-showcase {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.ansi-showcase-row {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
}

.quick-menu-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 12px 18px;
  padding-top: 4px;
}

.ansi-note-card,
.quick-menu-copy {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, var(--brand-soft));
  box-shadow: var(--soft-shadow);
}

.ansi-note-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ansi-note-card h3,
.quick-menu-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.18;
}

.ansi-note-card p,
.quick-menu-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.ansi-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ansi-chip-row span {
  padding: 7px 9px;
  border-radius: 999px;
  background: #151719;
  font: 850 12px/1 var(--sans);
}

.chip-error {
  color: #ff7077;
}

.chip-warning {
  color: #ffc65b;
}

.chip-ok {
  color: #83ed78;
}

.chip-info {
  color: #56dcff;
}

.chip-boot {
  color: #e17aff;
}

.quick-menu-visual {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.quick-menu-visual .utility-terminal.compact {
  width: 100%;
}

.ansi-terminal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #2a3037;
  border-radius: 8px;
  background: #151719;
  box-shadow: var(--shadow);
}

.ansi-log {
  min-height: 430px;
  padding: 18px 18px 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 16%),
    #151719;
  color: #e8edf5;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.52;
  white-space: nowrap;
}

.ansi-log p {
  margin: 0;
  color: inherit;
}

.ansi-prefix,
.ansi-time {
  color: #4be270;
  font-weight: 800;
}

.ansi-info {
  color: #48d8ff;
  font-weight: 850;
}

.ansi-warning {
  color: #ffbe45;
  font-weight: 850;
}

.ansi-error {
  color: #ff5f67;
  font-weight: 900;
}

.ansi-boot,
.ansi-crc {
  color: #dc71ff;
  font-weight: 850;
}

.ansi-ok {
  color: #7be86d;
  font-weight: 900;
}

.ansi-muted {
  color: #7d8793;
}

.utility-terminal {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #2a3037;
  border-radius: 8px;
  background: #151719;
  box-shadow: var(--shadow);
}

.utility-terminal.compact {
  min-height: 330px;
  background:
    radial-gradient(circle at 78% 42%, rgba(55, 145, 255, 0.16), transparent 34%),
    #151719;
  box-shadow: var(--soft-shadow);
}

.utility-terminal.compact::before {
  content: "";
  position: absolute;
  inset: 46px 0 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(21, 23, 25, 0.18), rgba(21, 23, 25, 0.78) 64%, rgba(21, 23, 25, 0.18)),
    linear-gradient(180deg, transparent, rgba(21, 23, 25, 0.38));
}

.terminal-top {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #252b31;
  color: #d7dee8;
}

.terminal-top button {
  width: 34px;
  height: 28px;
  border: 1px solid #3a424d;
  border-radius: 6px;
  background: #25292e;
  color: #f8fafc;
  font: 800 16px/1 var(--sans);
}

.terminal-body {
  display: grid;
  gap: 8px;
  padding: 20px 18px;
  color: #dbe6f3;
  font-family: var(--mono);
  font-size: 14px;
}

.terminal-body p {
  color: inherit;
}

.terminal-body mark {
  padding: 1px 5px;
  border-radius: 4px;
  color: #101827;
  font: inherit;
}

.menu-demo-body {
  position: relative;
  z-index: 0;
  gap: 11px;
  padding-right: 178px;
  color: rgba(219, 230, 243, 0.58);
  font-size: 12px;
  filter: saturate(0.7);
}

.quick-menu {
  position: absolute;
  top: 58px;
  right: 16px;
  width: 82px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #30363d;
  border-radius: 6px;
  background: #1d2024;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

.utility-terminal.compact .quick-menu {
  top: 64px;
  right: 64px;
  z-index: 3;
  width: 98px;
  gap: 8px;
  padding: 12px;
  border-color: #3d4650;
  background: #1d2024;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.46);
}

.utility-terminal.compact .quick-menu span {
  min-height: 34px;
  background: #30343b;
  color: #f4f8fc;
  font-size: 15px;
  font-weight: 800;
}

.utility-terminal.compact .quick-menu i {
  margin: 2px 0;
}

.quick-menu span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  border-radius: 5px;
  background: #2b2f35;
  color: #ecf2f8;
  font-size: 14px;
}

.quick-menu i {
  display: block;
  height: 1px;
  background: #343b43;
}

.menu-feature-list {
  display: grid;
  gap: 8px;
}

.menu-feature-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 84%, var(--brand-soft));
}

.menu-feature-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand) 16%, var(--surface));
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
}

.menu-feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.toast-card {
  justify-self: start;
  padding: 10px 16px;
  border: 1px solid rgba(0, 166, 118, 0.22);
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand-2) 14%, var(--surface));
  color: var(--brand-2);
  font-weight: 850;
  box-shadow: var(--soft-shadow);
}

.share-chat-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.share-chat-card {
  --chat-accent: var(--brand);
  --chat-accent-soft: color-mix(in srgb, var(--chat-accent) 16%, transparent);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, var(--brand-soft));
  box-shadow: var(--soft-shadow);
}

.share-chat-card.wechat-card {
  --chat-accent: #07c160;
}

.share-chat-card.dingtalk-card {
  --chat-accent: #1677ff;
}

.chat-titlebar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--chat-accent-soft), transparent 62%),
    color-mix(in srgb, var(--surface-2) 74%, transparent);
}

.chat-titlebar span {
  color: var(--text);
  font-weight: 900;
}

.chat-titlebar small {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-thread {
  min-height: 154px;
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 14px;
}

.chat-message {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 88%;
}

.chat-message.outgoing {
  justify-self: end;
  flex-direction: row-reverse;
}

.chat-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--chat-accent) 18%, var(--surface-2));
  color: var(--chat-accent);
  font-size: 12px;
  font-weight: 900;
}

.chat-message p,
.chat-file-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(8, 18, 32, 0.08);
}

.chat-message p {
  padding: 9px 11px;
  font-size: 13px;
  line-height: 1.58;
}

.chat-file-card {
  min-width: 0;
  width: min(245px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

.chat-file-card strong,
.chat-file-card small,
.compose-file-chip strong,
.compose-file-chip small {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-file-card strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.chat-file-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.chat-compose {
  position: relative;
  min-height: 172px;
  padding: 10px 12px 58px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 62%, transparent);
}

.compose-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.compose-tools {
  display: flex;
  align-items: center;
  gap: 11px;
}

.compose-tool {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font: 800 18px/1 var(--sans);
}

.compose-file-chip {
  min-width: 0;
  width: min(338px, 100%);
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
}

.file-sheet-icon {
  position: relative;
  width: 34px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--muted) 42%, var(--line));
  background:
    repeating-linear-gradient(180deg, transparent 0 5px, color-mix(in srgb, var(--muted) 42%, transparent) 5px 6px, transparent 6px 9px),
    color-mix(in srgb, var(--surface) 94%, #fff);
}

.file-sheet-icon::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 11px;
  height: 11px;
  border-left: 1px solid color-mix(in srgb, var(--muted) 42%, var(--line));
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 42%, var(--line));
  background: var(--surface-2);
}

.compose-file-chip strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.compose-file-chip small {
  margin-top: 3px;
  color: var(--text);
  font-size: 13px;
}

.chat-compose button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 88px;
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  padding: 0 14px;
  background: color-mix(in srgb, var(--surface-2) 74%, var(--line));
  color: var(--chat-accent);
  font: 850 13px/1 var(--sans);
}

.bullet-list {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-2);
}

.highlight-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.highlight-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #111827;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}

.sw-red { background: #fca5a5; }
.sw-amber { background: #fde68a; }
.sw-green { background: #86efac; }
.sw-blue { background: #93c5fd; }
.sw-cyan { background: #67e8f9; }
.sw-pink { background: #f9a8d4; }

.support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.support-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 800;
}

.burner-section {
  display: grid;
  gap: 18px;
}

.burner-head {
  margin-bottom: 0;
}

.burner-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.burner-copy {
  align-content: start;
}

.burner-window-bar strong {
  display: block;
  color: #eaf2ff;
}

.burner-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.burner-shot-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  margin: 0;
}

.burner-shot-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
}

.burner-shot-card figcaption strong {
  color: var(--text);
  font-size: 18px;
}

.burner-shot-card figcaption span {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}

.burner-window {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #333b45;
  border-radius: var(--radius);
  background: #191b1d;
  color: #eef5ff;
  box-shadow: var(--shadow);
}

.burner-window-shot {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto auto auto auto 1fr;
  gap: 10px;
  height: 640px;
  padding-bottom: 12px;
  box-shadow: var(--soft-shadow);
}

.burner-window-shot > * {
  min-width: 0;
}

.burner-window-main {
  min-height: 420px;
}

.burner-window-small {
  min-height: 214px;
  box-shadow: var(--soft-shadow);
}

.burner-window-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #252a30;
  background: #1e2023;
}

.burner-window-bar span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #aeb9c7;
  font-size: 13px;
}

.burner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 0;
  color: #c6d2df;
  font-size: 14px;
}

.burner-tabs span {
  padding: 7px 10px;
  border-radius: 5px;
}

.burner-tabs .is-active {
  background: #2b2e34;
  color: #fff;
}

.burner-toolbar {
  display: flex;
  gap: 8px;
  padding: 8px 14px 6px;
}

.burner-toolbar button {
  width: 40px;
  height: 28px;
  border: 0;
  border-radius: 5px;
  background: #303237;
  color: #fff;
  font: 800 16px/1 var(--sans);
}

.burner-table-demo {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 44px;
  margin: 0 14px;
  border: 1px solid #323840;
  font-family: var(--mono);
  font-size: 13px;
}

.burner-table-demo > div {
  min-height: 30px;
  display: flex;
  align-items: center;
  padding: 5px 8px;
  border-bottom: 1px solid #252a30;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.burner-table-demo .head {
  background: #2e2e33;
  color: #eaf2ff;
  font-family: var(--sans);
  font-weight: 800;
}

.burner-table-demo .selected {
  background: #0e4b73;
  color: #fff;
}

.burner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 14px 2px;
}

.burner-form-grid span {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 9px;
  border: 1px solid #3a424b;
  border-radius: 5px;
  background: #202429;
  color: #dce7f3;
  font-size: 13px;
}

.burner-form-grid .is-wide {
  grid-column: 1 / -1;
}

.burner-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 14px 2px;
  color: #d6e0ea;
}

.burner-field-row-shot {
  padding: 10px 14px 2px;
}

.burner-field-row span,
.burner-field-stack span,
.burner-form-grid span {
  min-width: 0;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 9px;
  border: 1px solid #3a424b;
  border-radius: 5px;
  background: #202429;
  color: #dce7f3;
  font-size: 13px;
}

.burner-field-row b,
.burner-field-stack b,
.burner-form-grid b {
  min-width: 0;
  color: #fff;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.burner-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  padding: 0 14px 16px;
}

.burner-checks span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e8f1fb;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.burner-checks span::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--brand);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--brand) 78%, #fff);
  flex: 0 0 auto;
}

.burner-checks-shot {
  padding: 8px 14px 2px;
}

.burner-progress,
.burner-action {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 14px;
  border-radius: 5px;
  background: #242424;
  color: #fff;
  font-size: 13px;
}

.burner-action {
  background: #2d2d2d;
}

.burner-log-box {
  min-height: 160px;
  margin: 0 14px;
  padding: 10px;
  border-radius: 5px;
  background: #1b1d1f;
  color: #9da7b2;
  font-size: 13px;
}

.burner-window-shot .burner-log-box:last-child {
  min-height: 0;
  height: 100%;
}

.burner-window-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.burner-field-stack {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.burner-factory-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.burner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.burner-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow-wrap: anywhere;
}

.burner-card strong {
  display: block;
  margin-bottom: 5px;
}

.burner-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-item {
  display: grid;
  gap: 12px;
}

.compare-label {
  color: var(--muted);
  font-weight: 800;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.module p {
  margin-top: 9px;
  color: var(--muted);
}

.module-accent {
  width: 34px;
  height: 5px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand);
}

.module:nth-child(2n) .module-accent { background: var(--brand-2); }
.module:nth-child(3n) .module-accent { background: var(--amber); }
.module:nth-child(5n) .module-accent { background: var(--cyan); }

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero .section-inner {
  padding-top: 58px;
  padding-bottom: 48px;
}

.page-hero p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.guide-layout > *,
.guide-content,
.guide-step {
  min-width: 0;
}

.guide-nav {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.guide-nav a {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
}

.guide-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.guide-content {
  display: grid;
  gap: 18px;
}

.guide-step {
  padding: 24px;
  scroll-margin-top: 90px;
}

.guide-step h2 {
  font-size: 26px;
}

.guide-step h3 {
  margin: 22px 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.guide-step .screenshot-frame {
  margin-top: 18px;
  box-shadow: none;
}

.step-meta {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand);
  font-weight: 850;
}

.guide-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 14px;
}

.guide-columns h3 {
  margin-top: 0;
}

.guide-table {
  width: 100%;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  background: var(--surface);
}

.guide-table th,
.guide-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.guide-table th {
  width: 158px;
  color: var(--text);
  font-weight: 850;
  background: var(--surface-2);
}

.guide-table td {
  color: var(--muted);
}

.guide-table tr:last-child th,
.guide-table tr:last-child td {
  border-bottom: 0;
}

.guide-table.compact {
  margin-top: 12px;
  font-size: 14px;
}

.guide-table.compact th,
.guide-table.compact td {
  padding: 10px 12px;
}

.number-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding-left: 1.35em;
  color: var(--muted);
}

.number-list li::marker {
  color: var(--brand);
  font-weight: 850;
}

.example-box,
.guide-note {
  margin-top: 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.example-box {
  padding: 16px;
  border-left: 4px solid var(--brand-2);
}

.example-box strong {
  display: block;
  margin-bottom: 8px;
}

.example-box p {
  margin: 0;
}

.guide-note {
  padding: 13px 15px;
  border-left: 4px solid var(--amber);
}

.guide-flow-map {
  display: grid;
  grid-template-columns: minmax(140px, 0.62fr) minmax(220px, 1fr) minmax(160px, 0.72fr);
  gap: 12px;
  margin-top: 18px;
}

.guide-flow-panel {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid #333b45;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
    #171a1d;
  color: #eaf2ff;
  box-shadow: var(--soft-shadow);
}

.guide-flow-panel span {
  color: #91a3b8;
  font-size: 13px;
  font-weight: 800;
}

.guide-flow-panel strong {
  font-size: 24px;
  line-height: 1.1;
}

.guide-flow-panel p {
  margin: 0;
  color: #aeb9c7;
  font-size: 13px;
  line-height: 1.55;
}

.guide-flow-panel.is-main {
  background:
    radial-gradient(circle at 74% 16%, rgba(66, 165, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    #171a1d;
}

.guide-flow-panel.is-tools {
  background:
    radial-gradient(circle at 24% 16%, rgba(0, 166, 118, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    #171a1d;
}

.guide-terminal-demo {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #2a3037;
  border-radius: var(--radius);
  background: #151719;
  box-shadow: var(--soft-shadow);
}

.guide-terminal-demo .terminal-body {
  min-height: 220px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 142, 255, 0.06), transparent 42%),
    #151719;
  white-space: nowrap;
}

.guide-terminal-demo .terminal-body p {
  margin: 0;
}

.guide-command-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #333b45;
  border-radius: var(--radius);
  background: #171a1d;
  box-shadow: var(--soft-shadow);
}

.guide-command-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.15fr) minmax(120px, 0.8fr) 54px 54px 74px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid #2d343c;
  border-radius: 6px;
  background: #202429;
  color: #dce7f3;
  font-size: 13px;
}

.guide-command-row.is-head {
  background: #2a2e34;
  color: #f4f8fc;
  font-weight: 850;
}

.guide-command-row code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #14171a;
  color: #eaf2ff;
}

.guide-command-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-command-row b {
  color: #aeb9c7;
  font-weight: 700;
}

.guide-command-row button {
  min-height: 30px;
  border: 0;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font: 800 13px/1 var(--sans);
}

.guide-burner-demo {
  margin-top: 18px;
}

.guide-burner-demo .burner-window-shot {
  height: auto;
  min-height: 0;
  grid-template-rows: repeat(7, auto);
  padding-bottom: 14px;
}

.guide-burner-demo .burner-checks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(300px, 0.64fr);
  gap: 20px;
  align-items: start;
}

.activation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.activation-page-title {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.activation-card h2 {
  margin-top: 0;
  font-size: 30px;
}

.activation-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.activation-form label {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.activation-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  padding: 12px;
  resize: vertical;
}

.activation-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  padding: 12px;
}

.activation-form input[type="email"]:focus,
.activation-form textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 72%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}

.activation-stage label {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.activation-stage input[type="email"],
.activation-stage textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--border));
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 90%, var(--surface-2));
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 55%, transparent);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.activation-stage textarea {
  min-height: 132px;
  resize: vertical;
}

.activation-stage textarea[readonly] {
  background: color-mix(in srgb, var(--surface-2) 82%, #f4f8ff);
}

.activation-stage input[type="email"]::placeholder,
.activation-stage textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 82%, #7a8597);
}

.activation-stage input[type="email"]:focus,
.activation-stage textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 64%, var(--line));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent),
    inset 0 1px 0 color-mix(in srgb, #ffffff 65%, transparent);
  background: color-mix(in srgb, var(--surface) 95%, #f9fcff);
}

.activation-status {
  margin-top: 0;
}

.notice.activation-status {
  border-left-color: var(--line);
}

.notice.activation-status.is-ok {
  border-left-color: var(--brand-2);
  background: color-mix(in srgb, var(--brand-2) 12%, var(--surface-2));
}

.notice.activation-status.is-error {
  border-left-color: var(--red);
  background: color-mix(in srgb, var(--red) 12%, var(--surface-2));
}

.activation-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--brand-2) 22%, var(--line));
  background: color-mix(in srgb, var(--brand-2) 14%, var(--surface));
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.activation-copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.activation-steps {
  --step-count: 2;
  display: grid;
  grid-template-columns: repeat(var(--step-count), minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 20px;
}

.activation-steps[data-step-count="3"] {
  --step-count: 3;
}

.activation-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 90%, var(--surface-2));
  color: var(--muted);
}

.activation-step-index {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font: 800 12px/1 var(--sans);
}

.activation-step-label {
  font: 700 13px/1.2 var(--sans);
}

.activation-step.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 52%, var(--line));
  background: color-mix(in srgb, var(--brand-soft) 72%, var(--surface));
}

.activation-step.is-active .activation-step-index {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.activation-step.is-done {
  border-color: color-mix(in srgb, var(--brand-2) 48%, var(--line));
  background: color-mix(in srgb, var(--brand-2) 10%, var(--surface));
  color: var(--text);
}

.activation-step.is-done .activation-step-index {
  border-color: var(--brand-2);
  background: var(--brand-2);
  color: #fff;
}

.activation-stage {
  display: none;
}

.activation-stage.is-active {
  display: grid;
  gap: 10px;
  animation: activation-step-in 0.22s ease;
}

@keyframes activation-step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.activation-money {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, var(--surface-2));
}

.activation-money span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.activation-money strong {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}

.activation-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 8px;
}

.activation-pay-option {
  display: grid;
  gap: 4px;
  align-items: start;
  justify-items: start;
  min-height: 72px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, var(--surface-2));
  color: var(--text);
  cursor: pointer;
}

.activation-pay-option:hover {
  border-color: color-mix(in srgb, var(--brand) 44%, var(--line));
}

.activation-pay-option.is-selected {
  border-color: color-mix(in srgb, var(--brand) 58%, var(--line));
  background: color-mix(in srgb, var(--brand-soft) 72%, var(--surface));
}

.activation-pay-option .pay-name {
  font: 800 14px/1.2 var(--sans);
}

.activation-pay-option .pay-tip {
  font: 700 12px/1 var(--sans);
  color: var(--muted);
}

.activation-toast-stack {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9998;
  display: grid;
  gap: 8px;
  max-width: min(360px, calc(100vw - 32px));
}

.activation-toast {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, var(--surface-2));
  color: var(--text);
  font: 700 13px/1.4 var(--sans);
  box-shadow: var(--soft-shadow);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.activation-toast.is-success {
  border-color: color-mix(in srgb, var(--brand-2) 54%, var(--line));
  background: color-mix(in srgb, var(--brand-2) 14%, var(--surface));
}

.activation-toast.is-error {
  border-color: color-mix(in srgb, var(--red) 56%, var(--line));
  background: color-mix(in srgb, var(--red) 12%, var(--surface));
}

.activation-toast.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}

.btn.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.72;
}

.btn.loading::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, currentColor 24%, transparent);
  border-top-color: currentColor;
  animation: activation-btn-spin 0.7s linear infinite;
}

@keyframes activation-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.download-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.download-card,
.plan-card {
  padding: 24px;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.package-card h2 {
  margin-top: 16px;
  font-size: 30px;
}

.package-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.package-type,
.package-size {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.package-type {
  background: color-mix(in srgb, var(--brand) 14%, var(--surface-2));
  color: var(--brand);
}

.package-size {
  background: var(--surface-2);
  color: var(--muted);
}

.package-meta {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.package-meta div {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.package-meta dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.package-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}

.package-card .download-actions {
  margin-top: auto;
  padding-top: 24px;
}

.package-card .btn {
  width: 100%;
}

.package-card .download-source-block {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.package-card .download-source-block .btn {
  flex: 1 1 100%;
  width: 100%;
}

.package-card .download-source-block.has-share-code .btn {
  flex: 0 0 clamp(148px, 50%, 188px);
  width: auto;
  min-width: 0;
  padding-inline: 12px;
  white-space: nowrap;
}

.download-share-code-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 7%, var(--surface-2));
}

.download-share-code-row[hidden] {
  display: none;
}

.download-share-code {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 28px;
  padding: 6px 8px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: text;
}

.download-share-copy {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 9px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.download-share-copy:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 28%, transparent);
  outline-offset: 2px;
}

.download-share-copy[disabled] {
  cursor: default;
  opacity: 0.7;
}

.download-side-card {
  display: grid;
  gap: 12px;
}

.download-side-card .download-actions {
  margin-top: 4px;
}

.channel-status {
  color: var(--text);
  font-weight: 800;
}

.channel-detail {
  color: var(--muted);
  font-size: 14px;
}

.side-heading {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.release-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

.release-table th,
.release-table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.release-table th {
  color: var(--muted);
  font-weight: 700;
}

.release-notes-layout {
  max-width: 1080px;
}

.release-notes-list {
  display: grid;
  gap: 16px;
}

.release-note-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.release-note-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.release-note-head h2 {
  font-size: 28px;
}

.release-note-head p {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.release-note-body {
  display: grid;
  gap: 12px;
  padding: 20px 22px 22px;
}

.release-note-body h3,
.release-note-body h4,
.release-note-body h5 {
  margin-top: 4px;
  color: var(--text);
  font-size: 18px;
}

.release-note-body p {
  color: var(--muted);
}

.release-note-body strong {
  color: var(--text);
  font-weight: 800;
}

.release-note-body code {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--surface-2);
  color: color-mix(in srgb, var(--brand) 60%, var(--text));
  font-family: var(--mono);
  font-size: 0.92em;
}

.release-note-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.release-note-body a:hover {
  color: color-mix(in srgb, var(--brand) 72%, var(--text));
}

.release-note-body .md-color {
  font-weight: 700;
}

.release-note-body .md-color-red {
  color: var(--red);
}

.release-note-body .md-color-orange {
  color: var(--amber);
}

.release-note-body .md-color-green {
  color: var(--brand-2);
}

.release-note-body .md-color-blue {
  color: var(--brand);
}

.release-note-body .md-color-cyan {
  color: var(--cyan);
}

.release-note-body .md-color-purple {
  color: color-mix(in srgb, var(--brand) 45%, #8b5cf6);
}

.release-note-body .md-color-gray {
  color: var(--muted);
}

.release-note-body blockquote {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  border-radius: 10px;
  background: color-mix(in srgb, var(--red) 10%, var(--surface));
}

.release-note-body blockquote p {
  margin: 0;
  color: color-mix(in srgb, var(--red) 76%, var(--text));
  font-weight: 700;
}

.release-note-body blockquote[data-tone="info"] {
  border-left-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
}

.release-note-body blockquote[data-tone="info"] p {
  color: color-mix(in srgb, var(--brand) 70%, var(--text));
}

.release-note-body blockquote[data-tone="warning"] {
  border-left-color: var(--amber);
  background: color-mix(in srgb, var(--amber) 12%, var(--surface));
}

.release-note-body blockquote[data-tone="warning"] p {
  color: color-mix(in srgb, var(--amber) 75%, var(--text));
}

.release-note-body blockquote[data-tone="success"] {
  border-left-color: var(--brand-2);
  background: color-mix(in srgb, var(--brand-2) 12%, var(--surface));
}

.release-note-body blockquote[data-tone="success"] p {
  color: color-mix(in srgb, var(--brand-2) 80%, var(--text));
}

.release-note-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.release-note-body li::marker {
  color: var(--brand);
  font-weight: 850;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price {
  margin: 14px 0;
  font-size: 34px;
  font-weight: 900;
}

.site-footer {
  background: var(--surface);
  color: var(--muted);
}

.site-footer .section-inner {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
}

.footer-meta {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-meta p {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
}

.footer-meta p:not(:first-child) {
  position: relative;
}

.footer-meta p:not(:first-child)::before {
  content: "";
  width: 1px;
  height: 14px;
  background: var(--border);
  flex: 0 0 auto;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--text);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--mono);
}

@media (max-width: 920px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .nav {
    min-height: 72px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-word {
    height: 42px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 38px;
    margin-left: auto;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-weight: 850;
  }

  .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .nav-links a,
  .language-toggle,
  .theme-toggle {
    justify-content: flex-start;
    min-width: 0;
    text-align: left;
    border-radius: 6px;
  }

  .hero {
    min-height: auto;
  }

  .development-banner .section-inner {
    display: grid;
    gap: 6px;
  }

  .hero-inner {
    padding-top: 64px;
  }

  .hero-main {
    min-height: 390px;
  }

  .hero-product-stage img {
    top: 164px;
    right: max(-150px, -8vw);
    width: min(940px, 120vw);
    filter: saturate(1.04) contrast(1.06) brightness(0.62);
    transform: perspective(1080px) rotateY(-10deg) rotateX(2deg);
  }

  .feature-grid,
  .module-grid,
  .compare-grid,
  .plan-grid,
  .burner-gallery,
  .burner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase,
  .showcase.reverse,
  .ansi-showcase-row,
  .quick-menu-showcase,
  .burner-showcase,
  .download-layout,
  .activation-layout,
  .download-grid,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .showcase.reverse .showcase-media {
    order: 0;
  }

  .activation-payment-grid {
    grid-template-columns: 1fr;
  }

  .showcase > .showcase-text,
  .showcase.reverse > .showcase-text,
  .ansi-note-card {
    order: -1;
  }

  .guide-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 620px) {
  .hero-inner,
  .section-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-word-logo {
    width: min(180px, 52vw);
    max-height: 66.67px;
  }

  .hero-copy,
  .page-hero p {
    font-size: 16px;
  }

  .activation-steps {
    grid-template-columns: 1fr;
  }

  .activation-toast-stack {
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .hero-inner {
    padding-top: 50px;
    padding-bottom: 42px;
  }

  .hero-main {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-product-stage img {
    display: none;
  }

  .feature-grid,
  .module-grid,
  .conversion-gallery,
  .compare-grid,
  .plan-grid,
  .download-options,
  .guide-columns,
  .guide-nav,
  .burner-gallery,
  .burner-factory-stack,
  .burner-window-row,
  .burner-checks,
  .burner-field-row,
  .burner-form-grid,
  .burner-grid {
    grid-template-columns: 1fr;
  }

  .connection-channel-grid {
    gap: 8px;
    width: 100%;
    margin-inline: auto;
  }

  .connection-channel {
    --connection-shot-height: clamp(150px, 51vw, 260px);
    --connection-shot-width: clamp(83px, 28.1vw, 143px);
  }

  #network-debug {
    --connection-shot-width: clamp(84px, 28.56vw, 146px);
  }

  #bluetooth-debug {
    --connection-shot-width: clamp(83px, 28.15vw, 144px);
  }

  .screenshot-frame.wide.connection-thumb img {
    height: var(--connection-shot-height);
  }

  .connection-channel {
    gap: 7px;
  }

  .connection-channel strong {
    font-size: 15px;
  }

  .connection-channel span {
    font-size: 11px;
    line-height: 1.45;
  }

  .conversion-result-popover {
    right: 2px;
    bottom: -10px;
    width: min(56%, 280px);
  }

  .burner-window-main {
    min-height: auto;
  }

  .burner-window-shot {
    height: auto;
    min-height: 640px;
  }

  .burner-field-row {
    padding-top: 24px;
  }

  .burner-table-demo {
    grid-template-columns: 78px minmax(0, 1fr) 38px;
    font-size: 12px;
  }

  .section-head {
    display: grid;
  }

  .guide-step {
    padding: 20px 16px;
  }

  .guide-step h2 {
    font-size: 22px;
  }

  .guide-table {
    display: block;
    overflow-x: auto;
  }

  .guide-table th {
    width: 118px;
  }

  .guide-flow-map,
  .guide-command-row {
    grid-template-columns: 1fr;
  }

  .guide-terminal-demo .terminal-body {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .guide-burner-demo .burner-field-row,
  .guide-burner-demo .burner-checks {
    grid-template-columns: 1fr;
  }

  .site-footer .section-inner {
    display: grid;
    gap: 12px;
  }

  .release-note-head {
    display: grid;
  }

  .release-note-head p {
    flex: 1 1 auto;
  }

  .footer-meta {
    gap: 4px 12px;
  }

  .footer-meta p:not(:first-child)::before {
    display: none;
  }

  .utility-terminal {
    min-height: 320px;
  }

  .quick-menu-visual .utility-terminal.compact {
    width: 100%;
  }

  .utility-terminal.compact .quick-menu {
    right: 48px;
  }

  .menu-demo-body {
    padding-right: 150px;
  }

  .ansi-log {
    min-height: 380px;
    padding: 14px 12px 18px;
    font-size: 11px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .share-chat-grid {
    grid-template-columns: 1fr;
  }
}
