:root {
  color-scheme: dark;
  --bg: #070709;
  --surface: #111115;
  --surface-2: #18181e;
  --surface-hover: #1f1f27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #9898a3;
  --subtle: #6b6b76;
  --blue: #0a84ff;
  --blue-hover: #3b9bff;
  --blue-soft: rgba(10, 132, 255, 0.14);
  --green: #30d158;
  --green-soft: rgba(48, 209, 88, 0.14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(960px 520px at 78% -10%, rgba(10, 132, 255, 0.13), transparent 65%),
    radial-gradient(720px 420px at 10% 12%, rgba(94, 92, 230, 0.08), transparent 65%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.shell {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 60;
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 7, 9, 0.78);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f1f26, #2e2e38);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.brand small {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-links a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.header-links a:hover,
.header-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.header-links a.nav-cta {
  margin-left: 6px;
  padding: 7px 15px;
  background: var(--text);
  color: #070709;
  font-weight: 600;
}
.header-links a.nav-cta:hover { background: #ffffff; color: #070709; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  flex-shrink: 0;
}
.lang-btn {
  padding: 4px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color .15s ease, color .15s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--surface-hover); border-color: rgba(255, 255, 255, 0.28); }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(10, 132, 255, 0.25);
}
.btn.primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 6px 22px rgba(10, 132, 255, 0.36);
}
.btn.full { width: 100%; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.96fr);
  gap: 44px;
  align-items: center;
  padding: 68px 0 64px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  margin-bottom: 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero h1 span {
  background: linear-gradient(135deg, #ffffff 25%, #7fc0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 18px 0 26px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.hero-lead strong { color: var(--text); font-weight: 500; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.tool-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.tool-pills-label {
  font-size: 12px;
  color: var(--subtle);
  margin-right: 2px;
}
.tool-pill {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  color: var(--muted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-metrics strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-metrics span {
  font-size: 12px;
  color: var(--subtle);
}

/* Terminal / Node Card */
.node-panel {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 50% 56%, rgba(48, 53, 64, 0.60), transparent 55%),
    linear-gradient(135deg, #181a1f, #111215);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.node-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.win-dots i:nth-child(1) { background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }
.node-id {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.node-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
}

.node-photo {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: #141418;
}

.node-body { padding: 18px; }
.node-spec-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.node-kv {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.node-kv span { display: block; font-size: 11px; color: var(--subtle); }
.node-kv strong { font-size: 13px; font-weight: 600; color: var(--text); }

.node-term {
  margin: 0;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #08080b;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: #c9d1d9;
  overflow-x: auto;
}
.node-term .dim { color: #6e7681; }
.node-term .ok { color: var(--green); }
.node-term .cmd { color: #79c0ff; }
.term-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 4px;
  vertical-align: -2px;
  background: #79c0ff;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

.node-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.section-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.section-sub {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 580px;
}

/* Billing Switcher */
.cycle-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.cycle-btn {
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: background-color .15s ease, color .15s ease;
}
.cycle-btn:hover { color: var(--text); }
.cycle-btn.is-active {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.cycle-btn em {
  font-style: normal;
  margin-left: 4px;
  font-size: 11px;
  color: var(--green);
}

/* Pricing / Machine Grid */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.machine {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.machine:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.machine.featured {
  border-color: rgba(10, 132, 255, 0.55);
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.08) 0%, var(--surface) 48%);
  box-shadow: 0 14px 36px rgba(10, 132, 255, 0.08);
}

.machine-thumb {
  margin: -24px -24px 18px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
  padding: 8px 12px;
  position: relative;
}
.machine-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.machine:hover .machine-thumb img {
  transform: scale(1.03);
}

.machine-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.machine-top h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.badge {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.badge.blue {
  border-color: rgba(10, 132, 255, 0.45);
  background: var(--blue-soft);
  color: #7cc0ff;
}

.machine-desc {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
  min-height: 42px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-row strong {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price-row span {
  font-size: 13px;
  color: var(--muted);
}
.price-sub {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--subtle);
}

.spec {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.spec li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.spec span { color: var(--muted); white-space: nowrap; }
.spec strong { color: var(--text); font-weight: 500; text-align: right; }

.machine .btn { margin-top: auto; }

.table-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--subtle);
}

/* Latency & Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}
.panel-box {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.panel-box h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}
.panel-box .panel-desc {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
}

.latency-list {
  display: grid;
  gap: 12px;
}
.latency-row {
  display: grid;
  grid-template-columns: 96px 1fr 64px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.latency-city { color: var(--text); font-weight: 500; }
.latency-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.latency-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #5eead4);
}
.latency-bar.slow i {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}
.latency-val {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
}
.latency-val.slow { color: #f59e0b; }

.diff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.diff-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
}
.diff-list span { color: var(--muted); }
.diff-list strong { color: var(--text); font-weight: 500; text-align: right; }

/* Bento Grid */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.bento-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}
.bento-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.bento-num {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
}
.bento-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.bento-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.steps li span {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
}
.steps strong { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.steps p { margin: 0; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.faq details {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .15s ease;
}
.faq details[open] {
  border-color: var(--line-strong);
}
.faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 18px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; color: var(--blue); }
.faq details p { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
}
.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-card.is-highlighted {
  border-color: rgba(10, 132, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.16);
}
.contact-card h3 { margin: 0 0 14px; font-size: 18px; font-weight: 600; }
.contact-card dl { margin: 0; }
.contact-card dl > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.contact-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-card dt { color: var(--muted); }
.contact-card dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.contact-card code {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0b0b0e;
  font-family: var(--mono);
  font-size: 13px;
}
.mini-copy {
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
}
.mini-copy:hover { background: var(--surface-hover); }

#tpl-card {
  display: flex;
  flex-direction: column;
}
.tpl-box {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #08080b;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #d0d7de;
  white-space: pre-wrap;
  overflow-x: auto;
  flex: 1;
}
.tpl-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-book {
  width: 100%;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
}
.tpl-hint {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--subtle);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 36px;
  color: var(--subtle);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 48px 0 40px; }
  .machine-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 28px); }
  .brand small { display: none; }
  .header-links {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .header-links::-webkit-scrollbar { display: none; }
  .header-links a {
    padding: 5px 9px;
    font-size: 13px;
  }
  .header-links a.nav-cta { margin-left: 2px; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .machine, .btn, .bento-card, .machine-thumb img { transition: none; }
  .term-cursor { animation: none; }
}

/* onmini showcase */
:root {

  --f-mono: var(--mono);

  --line-2: rgba(255,255,255,0.08);

  --text-2: #c9d1d9;

  --text-3: #8b949e;

  --ice: #9ecbff;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --mac-top-1:#565e6a;

  --mac-top-2:#363e49;

  --mac-top-3:#202833;

  --mac-top-4:#444f5c;

  --mac-side-1:#303b48;

  --mac-side-2:#3e4b5a;

  --mac-side-3:#566372;

  --mac-side-4:#657485;

  --mac-side-5:#455363;

  --mac-side-6:#293646;

  --mac-side-7:#1c2735;

  --mac-side-8:#354457;

  --mac-rim-1:#8da2bb;

  --mac-rim-2:#e5eef9;

  --mac-rim-3:#b1c5df;

  --mac-rim-4:#7f96b1;

  --mac-mark-1:#c5d0df;

  --mac-mark-2:#9eacbe;

  --mac-mark-3:#dce5f0;

  --mac-top-border:#8294a9;

  --mac-bottom-border:#697b90;

  --mac-socket-rim:#66768a;

  --mac-halo:#5278aa;

  --mac-top-2:#dce1e5;

  --mac-top-3:#c4cbd1;

  --mac-top-4:#e0e4e7;

  --mac-side-1:#969fa8;

  --mac-side-2:#b0b8bf;

  --mac-side-3:#c4cbd1;

  --mac-side-4:#d1d7dc;

  --mac-side-5:#b8c0c8;

  --mac-side-6:#929ca6;

  --mac-side-7:#7c8792;

  --mac-side-8:#939da7;

  --mac-rim-1:#e2e7eb;

  --mac-rim-2:#fff;

  --mac-rim-3:#e0e5e9;

  --mac-rim-4:#a7b1bb;

  --mac-mark-1:#626b74;

  --mac-mark-2:#424b54;

  --mac-mark-3:#707983;

  --mac-top-border:#aeb9c3;

  --mac-bottom-border:#66727e;

  --mac-socket-rim:#d3d9df;

  --mac-halo:#a7b9ca;

}

@keyframes mh-flow{to{stroke-dashoffset:-11}}

@keyframes mh-ring{from{transform:scale(.6);opacity:.9}to{transform:scale(3.2);opacity:0}}

@keyframes mh-pulse{50%{transform:scale(.62)}}

@keyframes mh-code{0%{transform:scaleX(0)}7%,82%{transform:scaleX(1)}92%,100%{transform:scaleX(0)}}

@keyframes blink{50%{opacity:0}}

@keyframes pal-type{to{width:6ch}}

@keyframes mh-agent-tick{0%,6%{transform:rotate(42deg) scale(0)}12%,90%{transform:rotate(42deg) scale(1)}96%,100%{transform:rotate(42deg) scale(0)}}

@keyframes mh-agent-tick2{0%,26%{transform:rotate(42deg) scale(0)}32%,90%{transform:rotate(42deg) scale(1)}96%,100%{transform:rotate(42deg) scale(0)}}

@keyframes mh-agent-tick3{0%,46%{transform:rotate(42deg) scale(0)}52%,90%{transform:rotate(42deg) scale(1)}96%,100%{transform:rotate(42deg) scale(0)}}

@keyframes mh-agent-text{0%,6%{color:var(--text-3)}12%,90%{color:var(--text)}96%,100%{color:var(--text-3)}}

@keyframes mh-agent-text2{0%,26%{color:var(--text-3)}32%,90%{color:var(--text)}96%,100%{color:var(--text-3)}}

@keyframes mh-agent-text3{0%,46%{color:var(--text-3)}52%,90%{color:var(--text)}96%,100%{color:var(--text-3)}}

/* ---------- 机器与规格 ---------- */
/* 机器 + 虚线引出的小卡片。整块按 1000×640 的比例缩放，卡片里的字号跟着容器宽度走 */
.mh-stage {position:relative;width:min(1180px,calc(100% - 32px));margin:clamp(32px,4vw,48px) auto 0;aspect-ratio:1000/640;container-type:inline-size}

.mh-mini {position:absolute;left:23%;top:25%;width:54%;height:auto;overflow:visible}

.mh-lines {position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;opacity:0;transition:opacity 1s .5s}

.mh-stage.in .mh-lines {opacity:1}

.mh-lines path {fill:none;stroke:rgba(158,203,255,.5);stroke-width:1.4;stroke-dasharray:5 6;vector-effect:non-scaling-stroke;animation:mh-flow 1.1s linear infinite}

.mh-dots circle {fill:var(--ice)}

.mh-dots .mh-ring {fill:none;stroke:var(--ice);stroke-width:1.2;transform-box:fill-box;transform-origin:center;animation:mh-ring 2.4s ease-out infinite}

.mh-dots .mh-run {fill:#fff;filter:drop-shadow(0 0 4px #9ecbff)}

.mh-card {position:absolute;display:flex;flex-direction:column;font-size:clamp(9px,1.25cqw,15px);background:rgba(16,16,19,.92);border:1px solid var(--line-2);border-radius:1.1em;overflow:hidden;box-shadow:0 30px 80px -30px rgba(0,0,0,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;transform:translateY(1.2em) scale(.97);transition:opacity .9s var(--ease),transform 1.1s var(--ease)}

.mh-stage.in .mh-card {opacity:1;transform:none}

.mh-stage.in .mh-card:nth-of-type(2) {transition-delay:.25s}

.mh-stage.in .mh-card:nth-of-type(3) {transition-delay:.4s}

.mh-bar {display:flex;align-items:center;gap:.4em;padding:.6em .8em;border-bottom:1px solid var(--line);font-family:var(--f-mono);font-size:.8em;color:var(--text-2)}

.mh-bar i {width:.6em;height:.6em;border-radius:50%;background:#3a3a3e}

.mh-bar span {margin-left:.4em}

.mh-foot {margin-top:auto;padding:.55em .9em .65em;font-size:.8em;color:var(--text-3);border-top:1px solid var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.mh-foot b {color:var(--text);font-weight:600;margin-right:.5em}

/* Claude Code 卡 */
.mh-cc {display:grid;grid-template-columns:6em minmax(0,1fr);gap:.5em;align-items:center;padding:.6em .8em}

.pal-bot.mini {width:6em;filter:drop-shadow(0 .3em .8em rgba(217,119,87,.35))}

.mh-term {font-family:var(--f-mono);font-size:.76em;line-height:1.65;color:var(--text-2);min-height:5em}

.mh-term p {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:1.65em}

.mh-term .l1 {color:var(--text)}

.mh-term .l1::before {content:"> ";color:#d97757}

.mh-term .l2 {color:#d97757}

.mh-term .l3 {color:var(--green)}

.mh-term .typing::after {content:"";display:inline-block;width:.5em;height:1em;margin-left:.1em;background:#d97757;vertical-align:-.15em;animation:blink 1.1s steps(1) infinite}

/* ChatGPT 卡 */
.mh-chat {display:grid;gap:.6em;padding:.75em .8em;min-height:8.6em;align-content:start}

.mh-u {justify-self:end;max-width:88%;background:#2a2a2e;color:var(--text);font-size:.82em;padding:.35em .8em;border-radius:1em 1em .3em 1em;white-space:nowrap;opacity:0;transform:translateY(.5em) scale(.94);transform-origin:right bottom;transition:opacity .35s,transform .5s var(--ease)}

.mh-chat.ask .mh-u {opacity:1;transform:none}

.mh-ai {display:grid;grid-template-columns:1.3em minmax(0,1fr);gap:.55em;align-items:start}

.mh-orb {width:1.05em;height:1.05em;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff,#9ecbff 45%,#7f8cff);opacity:0;transition:opacity .3s}

.mh-chat.think .mh-orb,.mh-chat.say .mh-orb {opacity:1}

.mh-chat.think .mh-orb {animation:mh-pulse .8s ease-in-out infinite}

.mh-txt {display:grid;gap:.48em;padding-top:.28em}

.mh-txt b {display:block;height:.5em;border-radius:.25em;background:rgba(255,255,255,.2);width:0;transition:width .7s var(--ease)}

.mh-chat.say .mh-txt b {width:var(--w)}

.mh-chat.say .mh-txt b:nth-child(2) {transition-delay:.45s}

.mh-chat.say .mh-txt b:nth-child(3) {transition-delay:.9s}

.mh-chat.say .mh-txt b:nth-child(4) {transition-delay:1.3s}

/* 开发卡：代码一段段写出来，过一会儿擦掉重写 */
.mh-code {display:grid;gap:.5em;padding:.75em .8em;font-family:var(--f-mono);font-size:.72em}

.mh-code p {display:flex;align-items:center;gap:.45em;min-height:.9em}

.mh-code em {font-style:normal;color:var(--text-3);width:1.1em;text-align:right;flex:none}

.mh-code b {flex:none;height:.62em;border-radius:.2em;background:var(--c);width:var(--w);transform-origin:left;transform:scaleX(0);animation:mh-code 7s var(--ease) infinite;animation-delay:var(--t)}

.mh-caret {width:.12em;height:1em;background:var(--text);animation:blink 1s steps(1) infinite}

/* 手机上放不下环绕的布局：机器在上，四张卡片在下面排成一列，不画虚线 */
@media (max-width: 760px) {
  .mh-stage {aspect-ratio:auto;container-type:normal;display:grid;gap:12px}
  .mh-mini {position:static;width:min(300px,84%);margin:0 auto 4px}
  .mh-lines {display:none}
  .mh-card {position:static !important;left:auto !important;top:auto !important;width:100% !important;font-size:14px}
}

.pal-bot {width:clamp(116px,12.5vw,150px);height:auto;overflow:visible;filter:drop-shadow(0 8px 22px rgba(217,119,87,.4));cursor:pointer;-webkit-tap-highlight-color:transparent}

.pal-term {display:inline-flex;align-items:center;gap:.5em;font-family:var(--f-mono);font-size:13px;color:var(--text-3);padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line)}

.pal-term b {display:inline-block;overflow:hidden;white-space:nowrap;width:6ch;color:#d97757;font-weight:500}

.js .pal-term b {width:0}

.js .pal.in .pal-term b {animation:pal-type .9s steps(6) .7s forwards}

.pal-term i {width:.55em;height:1.1em;margin-left:-.35em;background:#d97757;animation:blink 1.1s steps(1) infinite}

/* ---------- 机器：第四张卡片，个人 Agent ---------- */
.mh-stage.in .mh-card:nth-of-type(4) {transition-delay:.55s}

.mh-live {margin-left:auto;font-style:normal;font-size:.9em;color:var(--green)}

.mh-agent {display:grid;gap:.62em;padding:.8em .9em;font-size:.82em;color:var(--text-2)}

.mh-agent p {display:flex;align-items:center;gap:.6em;white-space:nowrap;overflow:hidden}

.mh-agent span {overflow:hidden;text-overflow:ellipsis;color:var(--text-3);animation:mh-agent-text 8s linear infinite}

.mh-agent i {flex:none;position:relative;width:1em;height:1em;border-radius:50%;border:1px solid var(--line-2)}

.mh-agent i::after {content:"";position:absolute;left:30%;top:10%;width:28%;height:55%;border:solid var(--green);border-width:0 .13em .13em 0;transform:rotate(42deg) scale(0);transform-origin:center;animation:mh-agent-tick 8s var(--ease) infinite}

.mh-agent p:last-child i {border-style:dashed}

.mh-agent p:last-child i::after {display:none}

.mh-agent p:last-child span {animation:none}

/* 三条任务共用一个 8 秒循环，按顺序打勾，最后一起清空重来 */
.mh-agent p:nth-child(2) i::after {animation-name:mh-agent-tick2}

.mh-agent p:nth-child(2) span {animation-name:mh-agent-text2}

.mh-agent p:nth-child(3) i::after {animation-name:mh-agent-tick3}

.mh-agent p:nth-child(3) span {animation-name:mh-agent-text3}

@media (prefers-reduced-motion: reduce) {
  .mh-dots .mh-run,.bn-net .pkt {display:none}
  .mh-agent span,.mh-agent i::after {animation:none}
}

.mh-stage {width:min(1116px,calc(100% - 32px));padding-bottom:16px}
/* Inquiry Modal */
.modal-backdrop[hidden] { display: none; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-dialog {
  width: min(540px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: #121318;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.modal-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.modal-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.modal-close:hover { color: var(--text); border-color: var(--line-strong); }

.inquiry-form { display: grid; gap: 14px; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--muted); font-weight: 500; }
.field em { font-style: normal; color: #ff6961; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #0a0b0e;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.16);
}
.form-status {
  margin: 0;
  min-height: 20px;
  font-size: 13px;
  color: var(--green);
}
.form-status.is-error { color: #ff6961; }
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr; }
}
