:root {
  color-scheme: dark;
  --bg: #080a0d;
  --bg-2: #0e1116;
  --surface: rgba(18, 22, 29, 0.74);
  --surface-strong: rgba(24, 29, 38, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5efe5;
  --muted: #b7afa5;
  --faint: #7c766f;
  --teal: #21b8a3;
  --mint: #88d6bf;
  --gold: #d5a84d;
  --coral: #e06b5f;
  --violet: #9a86ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  font-family: "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(224, 107, 95, 0.15), transparent 28rem),
    radial-gradient(circle at 8% 38%, rgba(33, 184, 163, 0.16), transparent 26rem),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

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

#hero-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.section-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100vw - 28px));
  height: 62px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 13, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 0 0 1px var(--line), 0 10px 28px rgba(33, 184, 163, 0.18);
}

.brand-mark img {
  width: 122%;
  height: 122%;
  object-fit: cover;
  transform: translate(-9%, -9%);
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--faint);
  font-size: 11px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.nav-auth-button,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a,
.nav-auth-button {
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.nav-auth-button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.header-cta {
  padding: 0 16px;
  border: 0;
  background: var(--text);
  color: #0b0c0d;
  cursor: pointer;
  font: inherit;
}

.hero {
  min-height: 100vh;
  padding: 128px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(33, 184, 163, 0.64);
  animation: ping 1.8s infinite;
}

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

h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

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

.button {
  min-width: 138px;
  padding: 0 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -80% -30%;
  transform: translateX(-70%) rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: transform 600ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(70%) rotate(18deg);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  color: #08100f;
  box-shadow: 0 18px 52px rgba(33, 184, 163, 0.26);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-visual {
  perspective: 1200px;
}

.product-frame {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(21, 26, 34, 0.92), rgba(8, 10, 13, 0.84));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  animation: frameFloat 6s ease-in-out infinite;
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 48%, transparent 54%),
    radial-gradient(circle at 72% 25%, rgba(154, 134, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 18% 84%, rgba(213, 168, 77, 0.16), transparent 17rem);
  pointer-events: none;
}

.frame-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.frame-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
}

.frame-top span:nth-child(2) {
  background: var(--gold);
}

.frame-top span:nth-child(3) {
  background: var(--teal);
}

.frame-top strong {
  margin-left: 8px;
  font-weight: 700;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 158px;
  gap: 12px;
  min-height: 514px;
  padding: 12px;
}

.file-rail,
.editor-pane,
.agent-rail,
.agent-node,
.feature-grid article,
.download-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.file-rail {
  padding: 14px 10px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.file-rail b {
  color: var(--mint);
  font-size: 12px;
}

.file-rail span {
  padding: 8px 9px;
  border-radius: 6px;
  color: var(--faint);
  font-size: 11px;
}

.file-rail .active {
  background: rgba(33, 184, 163, 0.14);
  color: var(--text);
}

.editor-pane {
  padding: 20px;
}

.doc-line {
  height: 11px;
  width: 72%;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04));
}

.doc-line.wide {
  width: 92%;
  margin-top: 4px;
}

.doc-line.short {
  width: 48%;
}

.writing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 54px;
  padding: 22px;
  border: 1px solid rgba(33, 184, 163, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(33, 184, 163, 0.14), rgba(154, 134, 255, 0.11));
}

.writing-card small {
  display: block;
  color: var(--mint);
  margin-bottom: 6px;
}

.writing-status {
  min-width: 82px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(33, 184, 163, 0.42);
  border-radius: 999px;
  background: rgba(33, 184, 163, 0.1);
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
}

.writing-status span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(33, 184, 163, 0.58);
  animation: ping 1.6s infinite;
}

.ledger-strip {
  display: grid;
  gap: 10px;
  margin-top: 58px;
}

.ledger-strip span {
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
}

.agent-rail {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}

.agent-rail img {
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.42));
  animation: advisorFloat 3.6s ease-in-out infinite;
}

.speech {
  padding: 13px;
  border-radius: 8px 8px 3px 8px;
  background: rgba(245, 239, 229, 0.1);
}

.speech b,
.speech span {
  display: block;
}

.speech b {
  font-size: 12px;
  margin-bottom: 5px;
}

.speech span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.download-section h2,
.subpage-hero h1 {
  margin-top: 12px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.download-section p,
.subpage-hero p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.agent-section,
.feature-section {
  padding: 108px 0;
}

.agent-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.agent-node {
  min-height: 250px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.agent-node::before {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.agent-node:hover {
  transform: translateY(-8px);
  border-color: rgba(33, 184, 163, 0.44);
  background: rgba(33, 184, 163, 0.08);
}

.agent-node:hover::before {
  transform: scaleX(1);
}

.agent-node span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.agent-node h3,
.feature-grid h3 {
  margin-top: 30px;
  font-size: 21px;
}

.agent-node p,
.feature-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.agent-node.hot {
  background: linear-gradient(145deg, rgba(33, 184, 163, 0.14), rgba(255, 255, 255, 0.04));
}

.agent-node.soft {
  background: linear-gradient(145deg, rgba(213, 168, 77, 0.12), rgba(154, 134, 255, 0.08));
}

.workflow-section {
  padding: 108px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(255, 255, 255, 0.018);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 52px;
  align-items: center;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(var(--teal), var(--gold), var(--coral));
}

.timeline-item {
  position: relative;
  padding: 18px 18px 18px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 10, 13, 0.58);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--teal);
  box-shadow: 0 0 22px rgba(33, 184, 163, 0.46);
}

.timeline-item b,
.timeline-item span {
  display: block;
}

.timeline-item span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.6;
}

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

.feature-grid article {
  min-height: 238px;
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(245, 239, 229, 0.09);
  color: var(--mint);
  font-size: 20px;
}

.download-section {
  margin-top: 24px;
  margin-bottom: 72px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(circle at 10% 20%, rgba(33, 184, 163, 0.22), transparent 18rem),
    radial-gradient(circle at 88% 72%, rgba(224, 107, 95, 0.16), transparent 16rem),
    rgba(255, 255, 255, 0.055);
}

.download-section .download-actions {
  margin: 0;
  flex: 0 0 auto;
}

.subpage {
  min-height: calc(100vh - 88px);
  padding: 132px 0 76px;
}

.subpage-hero {
  max-width: 820px;
  margin-bottom: 36px;
}

.guide-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.guide-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.guide-grid article {
  min-height: 230px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.guide-grid article::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(33, 184, 163, 0.12), transparent 45%, rgba(213, 168, 77, 0.08));
  opacity: 0;
  transition: opacity 220ms ease;
}

.guide-grid article:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.guide-grid span {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.guide-grid h2 {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  font-size: 22px;
}

.guide-grid p {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 22px;
  display: grid;
  gap: 18px;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-label {
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.contact-card h2 {
  margin: 8px 0 0;
  font-size: 24px;
}

.contact-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 54px;
  align-items: start;
}

.auth-panel,
.site-form,
.support-callout,
.feedback-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.auth-panel {
  padding: 18px;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.auth-modal-card {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(33, 184, 163, 0.18), transparent 15rem),
    rgba(13, 16, 21, 0.96);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.56);
  padding: 20px;
}

.auth-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.auth-modal-head h2 {
  margin: 8px 0 0;
  font-size: 28px;
}

.auth-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1;
}

.auth-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.auth-switch button,
#clear-feedback,
#clear-community,
.community-tabs button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.auth-switch button.is-active {
  border-color: rgba(33, 184, 163, 0.46);
  background: rgba(33, 184, 163, 0.14);
  color: var(--text);
}

.site-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.auth-panel .site-form {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-form label {
  display: grid;
  gap: 7px;
}

.site-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 10, 13, 0.68);
  color: var(--text);
  font: inherit;
  outline: none;
}

.site-form input,
.site-form select {
  height: 44px;
  padding: 0 12px;
}

.site-form textarea {
  resize: vertical;
  min-height: 140px;
  padding: 12px;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  border-color: rgba(33, 184, 163, 0.58);
  box-shadow: 0 0 0 3px rgba(33, 184, 163, 0.13);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  color: var(--faint);
  font-size: 13px;
  line-height: 1.6;
}

.form-note.is-error {
  color: var(--coral);
}

.support-callout {
  margin-bottom: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.support-callout h2 {
  margin: 0;
  font-size: 24px;
}

.support-callout p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.support-contact-grid {
  margin-top: 0;
}

.feedback-layout .subpage-hero {
  max-width: 900px;
}

.feedback-board,
.community-board {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.feedback-list,
.community-feed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.feedback-list-head,
.community-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

#clear-feedback,
#clear-community {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.feedback-items,
.community-posts {
  display: grid;
  gap: 10px;
}

.feedback-item,
.feedback-empty {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 10, 13, 0.42);
  padding: 14px;
}

.feedback-item div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--mint);
}

.feedback-item span {
  color: var(--gold);
  white-space: nowrap;
}

.feedback-item p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.feedback-item small,
.feedback-empty {
  display: block;
  margin-top: 10px;
  color: var(--faint);
}

.community-feed-head h2 {
  margin: 5px 0 0;
  font-size: 22px;
}

.community-login-hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(213, 168, 77, 0.34);
  border-radius: 7px;
  background: rgba(213, 168, 77, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.community-login-hint a {
  color: var(--mint);
  font-weight: 800;
  white-space: nowrap;
}

.community-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.community-tabs button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.community-tabs button.is-active {
  border-color: rgba(33, 184, 163, 0.46);
  background: rgba(33, 184, 163, 0.14);
  color: var(--text);
}

.thread-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 10, 13, 0.46);
  padding: 16px;
}

.thread-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.thread-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(33, 184, 163, 0.12);
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
}

.thread-meta small,
.reply-item small {
  color: var(--faint);
}

.thread-card h3 {
  margin-top: 12px;
  font-size: 21px;
}

.thread-card > p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-wrap;
}

.reply-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.reply-item {
  padding: 10px 12px;
  border-left: 2px solid rgba(33, 184, 163, 0.5);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.reply-item strong {
  color: var(--mint);
}

.reply-item p {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.55;
}

.reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.reply-form input {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 10, 13, 0.68);
  color: var(--text);
  padding: 0 10px;
  font: inherit;
}

.reply-form button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(33, 184, 163, 0.46);
  border-radius: 6px;
  background: rgba(33, 184, 163, 0.14);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.reply-form input:disabled,
.reply-form button:disabled,
.site-form input:disabled,
.site-form select:disabled,
.site-form textarea:disabled,
.site-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.site-footer {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 0 0 34px;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 13px;
}

.site-footer a {
  color: var(--mint);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(33, 184, 163, 0.6); }
  75%, 100% { box-shadow: 0 0 0 12px rgba(33, 184, 163, 0); }
}

@keyframes frameFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-12px); }
}

@keyframes advisorFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-8px) rotate(0.8deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 10, 13, 0.94);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(20px);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a,
  .nav-auth-button {
    min-height: 40px;
    justify-content: flex-start;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
  }

  .menu-toggle {
    display: inline-grid;
  }

  .site-header {
    top: 10px;
  }

  .hero,
  .split,
  .auth-layout,
  .feedback-board,
  .community-board {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-visual {
    order: -1;
  }

  .product-frame {
    min-height: 500px;
    transform: none;
  }

  .agent-board,
  .feature-grid,
  .guide-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100vw - 24px, 1180px);
  }

  .site-header {
    width: calc(100vw - 18px);
    gap: 10px;
  }

  .header-cta {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

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

  h1 {
    font-size: 42px;
  }

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

  .agent-board,
  .feature-grid,
  .guide-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .file-rail {
    display: none;
  }

  .agent-rail {
    min-height: 260px;
  }

  .product-frame {
    min-height: auto;
  }

  .agent-section,
  .feature-section,
  .workflow-section {
    padding: 78px 0;
  }

  .subpage {
    padding-top: 112px;
  }

  .download-section {
    padding: 28px;
    margin-top: 76px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}
