@font-face {
  font-family: "Smiley Sans";
  src: url("assets/fonts/smiley-sans.woff2") format("woff2");
  font-style: oblique;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f4f7f1;
  --muted: #a7aea6;
  --surface: #090b0a;
  --surface-raised: #111512;
  --surface-soft: #171c18;
  --line: #2b322c;
  --signal: #d8ff3e;
  --signal-deep: #99c800;
  --cyan: #5dd8ff;
  --warning: #ffaf68;
  --radius: 14px;
  --page: min(1180px, calc(100vw - 48px));
  font: 100%/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "PingFang SC", "Helvetica Neue", sans-serif;
  background: var(--surface);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 5%, rgba(24, 83, 104, 0.18), transparent 31rem),
    var(--surface);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: var(--page);
  height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  background: rgba(9, 11, 10, 0.78);
  backdrop-filter: blur(24px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
}

.brand-mark span {
  position: absolute;
  width: 8px;
  height: 18px;
  border-radius: 6px;
  background: var(--signal);
}

.brand-mark span:first-child {
  transform: rotate(0deg);
}

.brand-mark span:nth-child(2) {
  transform: rotate(60deg);
}

.brand-mark span:nth-child(3) {
  transform: rotate(120deg);
}

nav {
  justify-self: center;
  display: flex;
  gap: 1.5rem;
}

nav a,
.header-action {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
}

nav a:hover,
.header-action:hover {
  color: var(--ink);
}

.header-action {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.hero {
  width: var(--page);
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 1.04fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: center;
  padding: 5.5rem 0 6.5rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.7rem;
  font-family: "Smiley Sans", "PingFang SC", sans-serif;
  font-style: oblique;
  font-weight: 400;
  font-size: clamp(3rem, 5.2vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 span {
  color: var(--signal);
}

.hero-lede {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  background: var(--signal);
  color: #111500;
  font-weight: 780;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(124, 161, 0, 0.2);
}

.primary-action:active,
.agent-terminal button:active,
.workspace-tree button:active,
.file-button:active {
  transform: scale(0.97);
}

.text-action {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.secondary-action:hover {
  border-color: var(--muted);
  background: var(--surface-raised);
}

.download-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.truth-strip {
  display: flex;
  gap: 2rem;
  margin: 3rem 0 0;
}

.download-requirements {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.truth-strip div {
  display: grid;
  gap: 0.1rem;
}

.truth-strip dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.truth-strip dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.live-stage {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(21, 26, 22, 0.96), rgba(10, 13, 11, 0.98));
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38);
}

.stage-toolbar {
  height: 58px;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.stage-device {
  margin-left: auto;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(216, 255, 62, 0.08);
}

.stage-core {
  position: relative;
  height: 290px;
  display: grid;
  place-items: center;
}

.core-sphere {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, #b4eeff 0, #27a6d4 22%, #063b5e 62%, #031821 100%);
  box-shadow:
    0 0 46px rgba(60, 197, 255, 0.3),
    inset -18px -20px 36px rgba(0, 0, 0, 0.48);
  animation: core-breathe 3.2s ease-in-out infinite alternate;
}

.core-orbit {
  position: absolute;
  width: 220px;
  height: 94px;
  border: 1px solid rgba(93, 216, 255, 0.42);
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(18deg);
}

.orbit-two {
  transform: rotate(-48deg);
}

.task-track {
  width: calc(100% - 3rem);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.task-track li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.task-track strong {
  font-size: 0.72rem;
}

.task-track .complete strong {
  color: var(--signal);
}

.task-track .active {
  color: var(--ink);
}

.task-track .active strong {
  color: var(--cyan);
}

.permission-line {
  position: absolute;
  inset: auto 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.permission-line strong {
  color: var(--ink);
}

.proof-band {
  min-height: 360px;
  display: grid;
  align-content: center;
  background: var(--signal);
  color: #101400;
  padding: 5rem max(24px, calc((100vw - 1180px) / 2));
}

.proof-band p {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 820;
}

.proof-band p:first-child {
  opacity: 0.48;
}

.agent-section,
.start-section,
.install-section,
.api-section,
.wechat-section,
.image-section,
.devices-section,
.capabilities-section,
.privacy-section,
.downloads-section,
.support-section,
.faq-section,
.release-section,
.closing {
  width: var(--page);
  margin: 0 auto;
  padding: 8rem 0;
}

.install-section,
.api-section,
.downloads-section {
  border-top: 1px solid var(--line);
}

.manual-section {
  width: min(1180px, calc(100% - 40px));
  margin: 130px auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.3fr);
  gap: clamp(44px, 8vw, 112px);
  align-items: start;
}

.manual-heading {
  position: sticky;
  top: 110px;
}

.manual-kicker {
  color: var(--signal);
  font: 700 0.72rem/1.2 var(--mono);
  letter-spacing: 0.14em;
}

.manual-heading h2 {
  max-width: 8ch;
  margin: 14px 0 20px;
  font-size: clamp(2.9rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.manual-heading > p:not(.manual-kicker) {
  max-width: 38rem;
  color: var(--muted);
}

.bookmark-action {
  display: inline-flex;
  margin-top: 28px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--signal) 54%, transparent);
  color: var(--signal);
  text-decoration: none;
  font: 700 0.82rem/1.2 var(--mono);
}

.manual-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.manual-timeline li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}

.manual-timeline li > span {
  color: var(--signal);
  font: 700 0.78rem/1.2 var(--mono);
}

.manual-timeline h3 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.manual-timeline p {
  margin: 8px 0 0;
  color: var(--muted);
}

.manual-timeline strong {
  display: inline-block;
  margin-right: 12px;
  color: var(--text);
}

.manual-note {
  grid-column: 2;
  margin-top: -72px;
  padding: 22px 24px;
  border-left: 3px solid var(--signal);
  background: color-mix(in srgb, var(--signal) 8%, transparent);
}

.manual-note strong {
  font-family: var(--mono);
  color: var(--signal);
}

.manual-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.install-console {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #101511, #0b0e0c);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.install-summary {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.install-summary div {
  display: grid;
  gap: 0.15rem;
}

.install-summary span,
.install-summary b,
.install-pipeline strong,
.install-pipeline em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.install-summary b {
  color: var(--signal);
}

.install-pipeline {
  margin: 0;
  padding: 0 1.5rem;
  list-style: none;
}

.install-pipeline li {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr 12rem 10rem;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.install-pipeline .done strong,
.install-pipeline .done em {
  color: var(--signal);
}

.install-pipeline .running strong,
.install-pipeline .running em {
  color: var(--cyan);
}

.install-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
}

.install-rules p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.install-rules strong {
  color: var(--ink);
}

.api-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.api-copy h2 {
  margin-bottom: 1.5rem;
}

.api-copy > p {
  color: var(--muted);
}

.api-steps {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.api-steps li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.api-steps span,
.api-disclosure {
  color: var(--muted);
  font-size: 0.82rem;
}

.api-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101411;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.4);
}

.api-window-bar,
.api-test-row {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.api-window-bar span:last-child {
  text-align: right;
}

.api-window-bar strong {
  color: var(--ink);
}

.provider-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1.25rem;
}

.provider-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0a0d0b;
  color: var(--muted);
  cursor: pointer;
}

.provider-button:hover,
.provider-button.is-selected {
  border-color: rgba(216, 255, 62, 0.5);
  background: rgba(216, 255, 62, 0.08);
  color: var(--signal);
}

.api-field {
  min-height: 74px;
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: center;
  gap: 1rem;
  margin: 0 1.25rem;
  border-top: 1px solid var(--line);
}

.api-field span {
  color: var(--muted);
  font-size: 0.8rem;
}

.api-field code {
  overflow-wrap: anywhere;
  color: var(--ink);
}

.api-test-row {
  grid-template-columns: auto 1fr auto;
  margin-top: 0.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.api-test-row p {
  margin: 0;
}

.api-test-row button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  background: var(--signal);
  color: #111500;
  font-weight: 760;
  cursor: pointer;
}

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

.download-item {
  min-height: 164px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.download-item h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.35rem;
}

.download-item p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
}

.platform-mark {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 740;
}

.download-item > strong {
  color: var(--muted);
  font-size: 0.78rem;
}

.featured-download {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr) auto;
}

.featured-download dl {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.featured-download dl div {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.6rem;
}

.featured-download dt,
.featured-download dd {
  margin: 0;
  font-size: 0.78rem;
}

.featured-download dt {
  color: var(--muted);
}

.start-track {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.start-track li {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 118px;
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--signal);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.8rem;
}

.start-track h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.start-track p {
  margin: 0;
  color: var(--muted);
}

.start-track strong {
  color: var(--cyan);
  font-size: 0.78rem;
  white-space: nowrap;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

h2 {
  margin-bottom: 0;
  font-family: "Smiley Sans", "PingFang SC", sans-serif;
  font-style: oblique;
  font-weight: 400;
  font-size: clamp(2.3rem, 4.5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-intro p,
.wechat-copy > p,
.image-copy > p,
.closing > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.agent-workbench {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.workspace-tree {
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--line);
  background: #0c0f0d;
}

.workspace-name {
  margin-bottom: 1rem;
  font-size: 0.86rem;
  font-weight: 760;
}

.workspace-tree button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 0.7rem 0.9rem 0.7rem 1.5rem;
  text-align: left;
  cursor: pointer;
}

.workspace-tree button:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.locked-path {
  margin-top: 1.2rem;
  padding: 0.8rem;
  border-top: 1px solid var(--line);
  color: #747b75;
  font-size: 0.75rem;
}

.agent-terminal {
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 2rem;
}

.terminal-output {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  color: #d8ded8;
  white-space: pre-wrap;
}

.terminal-label {
  color: var(--signal);
  font-weight: 720;
}

.agent-terminal label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.command-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.command-row input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #080a09;
  color: var(--ink);
  padding: 0.85rem 1rem;
}

.agent-terminal button {
  border: 0;
  border-radius: 10px;
  background: var(--signal);
  color: #111500;
  padding: 0.75rem 1rem;
  font-weight: 780;
  cursor: pointer;
}

.command-help {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.wechat-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  align-items: center;
  border-top: 1px solid var(--line);
}

.wechat-copy h2,
.image-copy h2 {
  margin-bottom: 1.5rem;
}

.wechat-action {
  margin-top: 1.8rem;
}

.wechat-result {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.wechat-live {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(93, 216, 255, 0.09), transparent 42%),
    #0d110e;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

.wechat-live::after {
  content: "";
  position: absolute;
  inset: 58px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.55;
  animation: window-scan 4.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.wechat-live-bar,
.wechat-permission {
  min-height: 58px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.wechat-live-bar {
  border-bottom: 1px solid var(--line);
}

.wechat-live-bar strong,
.wechat-permission strong {
  margin-left: auto;
  color: var(--ink);
}

.wechat-transcript {
  min-height: 300px;
  padding: 4.2rem 2rem 2rem;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.wechat-transcript p {
  width: fit-content;
  max-width: 82%;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 4px 14px 14px 14px;
  background: var(--surface-soft);
  color: #dce2dc;
}

.wechat-transcript p:nth-child(2) {
  margin-left: auto;
  border-radius: 14px 4px 14px 14px;
  background: #1d271b;
}

.wechat-transcript p.recognized {
  margin-top: 1.5rem;
  border: 1px solid rgba(93, 216, 255, 0.24);
  background: rgba(93, 216, 255, 0.07);
}

.wechat-transcript span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
}

.wechat-permission {
  border-top: 1px solid var(--line);
}

@keyframes window-scan {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.55; }
  72% { opacity: 0.45; }
  100% { transform: translateY(300px); opacity: 0; }
}

.image-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 6rem;
  align-items: center;
  border-top: 1px solid var(--line);
}

.image-signal {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(93, 216, 255, 0.15), transparent 46%),
    var(--surface-raised);
}

.subject {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(93, 216, 255, 0.45);
}

.subject::after {
  position: absolute;
  bottom: -2.4rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.human {
  width: 116px;
  height: 220px;
  border-radius: 58px 58px 36px 36px;
}

.human::after {
  content: "人物主体";
}

.human span {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 70px 0 18px rgba(93, 216, 255, 0.65);
}

.dog {
  width: 155px;
  height: 125px;
  border-radius: 56px 56px 42px 42px;
}

.dog::after {
  content: "动物主体";
}

.dog span {
  width: 72px;
  height: 64px;
  border-radius: 48% 48% 44% 44%;
  background: var(--signal);
  box-shadow: -32px -22px 0 -18px var(--signal), 32px -22px 0 -18px var(--signal);
}

.separation {
  width: 1px;
  height: 280px;
  background: linear-gradient(transparent, var(--line), transparent);
}

.image-copy ul {
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.image-copy li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.image-copy strong {
  color: var(--ink);
}

.devices-section {
  border-top: 1px solid var(--line);
}

.devices-section > h2 {
  max-width: 820px;
  margin-bottom: 4rem;
}

.device-comparison {
  display: grid;
  grid-template-columns: 1fr 100px 0.72fr;
  align-items: center;
}

.device {
  margin: 0;
}

.device h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.8rem;
}

.device > p {
  max-width: 32rem;
  color: var(--muted);
}

.device > strong {
  color: var(--signal);
  font-size: 0.86rem;
}

.device-screen {
  min-height: 330px;
  display: grid;
  place-items: center;
  border: 10px solid #242a25;
  border-radius: 16px;
  background: #050706;
}

.device-screen p,
.phone-frame p {
  align-self: end;
  color: var(--muted);
  font-size: 0.76rem;
}

.screen-orb,
.phone-orb {
  align-self: end;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #c8f5ff, #128ab7 35%, #042c45 72%);
  box-shadow: 0 0 48px rgba(93, 216, 255, 0.28);
}

.phone-frame {
  width: 210px;
  min-height: 390px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 8px solid #242a25;
  border-radius: 42px;
  background: #050706;
}

.phone-orb {
  width: 74px;
  height: 74px;
}

.device-link {
  display: grid;
  place-items: center;
}

.device-link span {
  width: 70px;
  height: 1px;
  background: var(--signal);
}

.capabilities-section,
.privacy-section,
.support-section,
.faq-section,
.release-section {
  border-top: 1px solid var(--line);
}

.capability-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.capability-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  text-align: left;
}

.capability-table th,
.capability-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.capability-table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.capability-table tbody th {
  color: var(--ink);
  font-size: 0.9rem;
}

.capability-table td {
  color: var(--muted);
  font-size: 0.84rem;
}

.capability-table tbody tr:last-child th,
.capability-table tbody tr:last-child td {
  border-bottom: 0;
}

.available,
.network {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(216, 255, 62, 0.24);
  border-radius: 999px;
  color: var(--signal);
  white-space: nowrap;
}

.network {
  border-color: rgba(255, 175, 104, 0.28);
  color: var(--warning);
}

.table-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.privacy-section {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.privacy-heading {
  position: sticky;
  top: 112px;
  align-self: start;
}

.privacy-heading p {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.permission-ledger {
  margin: 0;
  border-top: 1px solid var(--line);
}

.permission-ledger > div {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr auto;
  gap: 1.2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.permission-ledger dt {
  font-weight: 760;
}

.permission-ledger dd {
  margin: 0;
  color: var(--muted);
}

.permission-ledger span {
  align-self: start;
  color: var(--cyan);
  font-size: 0.74rem;
  white-space: nowrap;
}

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

.recovery-list details,
.faq-list details {
  border-bottom: 1px solid var(--line);
}

.recovery-list summary,
.faq-list summary {
  min-height: 76px;
  display: grid;
  align-items: center;
  cursor: pointer;
  font-weight: 720;
}

.recovery-list summary {
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.recovery-list summary strong {
  color: var(--cyan);
  font-size: 0.78rem;
}

.recovery-list details p,
.faq-list details p {
  max-width: 780px;
  padding: 0 2.2rem 1.5rem 0;
  margin: 0;
  color: var(--muted);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.faq-list summary {
  grid-template-columns: 1fr;
}

.release-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  column-gap: clamp(3rem, 8vw, 8rem);
}

.release-copy > p:not(.release-status) {
  margin-top: 1.5rem;
  color: var(--muted);
}

.release-status {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 720;
}

.release-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.release-facts > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.release-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.release-facts dd {
  margin: 0;
}

.release-facts code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--cyan);
  font-size: 0.72rem;
}

.checksum-row button {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.checksum-row button:hover {
  border-color: var(--cyan);
}

.copy-status {
  grid-column: 2;
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: var(--signal);
  font-size: 0.78rem;
}

.closing {
  min-height: 650px;
  display: grid;
  align-content: center;
  justify-items: start;
}

.closing h2 {
  max-width: 920px;
  color: var(--signal);
}

.closing > p {
  max-width: 660px;
  margin: 1.8rem 0 2rem;
}

footer {
  width: var(--page);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer a {
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

@keyframes core-breathe {
  from { transform: scale(0.96); filter: saturate(0.9); }
  to { transform: scale(1.04); filter: saturate(1.15); }
}

@media (max-width: 960px) {
  nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

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

  .live-stage {
    min-height: 540px;
  }

  .section-intro,
  .api-section,
  .wechat-section,
  .image-section,
  .privacy-section,
  .faq-section,
  .release-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .privacy-heading {
    position: static;
  }

  .copy-status {
    grid-column: 1;
  }

  .device-comparison {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .install-rules {
    grid-template-columns: 1fr;
  }

  .download-item,
  .featured-download {
    grid-template-columns: 1fr auto;
  }

  .download-item > div:first-child,
  .featured-download > div:first-child {
    grid-column: 1 / -1;
  }

  .device-link {
    display: none;
  }
}

@media (max-width: 760px) {
  .manual-section {
    grid-template-columns: 1fr;
    margin: 88px auto;
  }

  .manual-heading {
    position: static;
  }

  .manual-note {
    grid-column: 1;
    margin-top: 0;
  }

  .manual-timeline li {
    grid-template-columns: 46px 1fr;
  }
  :root {
    --page: min(100% - 32px, 680px);
  }

  .site-header {
    height: 64px;
  }

  .header-action {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 4rem 0 5rem;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
    text-wrap: wrap;
  }

  .hero-actions,
  .truth-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .truth-strip {
    gap: 1rem;
  }

  .live-stage {
    min-height: 590px;
  }

  .proof-band {
    min-height: 310px;
  }

  .agent-section,
  .start-section,
  .install-section,
  .api-section,
  .wechat-section,
  .image-section,
  .devices-section,
  .capabilities-section,
  .privacy-section,
  .downloads-section,
  .support-section,
  .faq-section,
  .release-section,
  .closing {
    padding: 5rem 0;
  }

  .start-track li {
    grid-template-columns: 2.2rem 1fr;
    padding: 1.2rem 0;
  }

  .start-track strong {
    grid-column: 2;
  }

  .install-summary {
    grid-template-columns: auto 1fr;
  }

  .install-summary b {
    grid-column: 2;
  }

  .install-pipeline li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 1rem 0;
  }

  .provider-switch {
    grid-template-columns: 1fr;
  }

  .api-field {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem 0;
  }

  .api-test-row {
    grid-template-columns: auto 1fr;
    padding: 1rem 1.25rem;
  }

  .api-test-row button {
    grid-column: 2;
    justify-self: start;
  }

  .download-item,
  .featured-download {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .download-item > div:first-child,
  .featured-download > div:first-child {
    grid-column: auto;
  }

  .download-item .primary-action,
  .download-item .secondary-action {
    justify-self: start;
  }

  .agent-workbench {
    grid-template-columns: 1fr;
  }

  .workspace-tree {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .agent-terminal {
    min-height: 390px;
    padding: 1.2rem;
  }

  .image-signal {
    min-height: 390px;
    gap: 2rem;
  }

  .human {
    width: 90px;
    height: 180px;
  }

  .dog {
    width: 125px;
  }

  .phone-frame {
    margin-left: 0;
  }

  .permission-ledger > div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .recovery-list summary {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 1rem 0;
  }

  .release-facts > div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .checksum-row button {
    justify-self: start;
    margin-top: 0.35rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }
}

@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;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--surface);
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #d4d9d4;
    --line: #687069;
  }
}
