/* roktop web design tokens — aligned with product client */
:root {
  --bg: #FFFFFF;
  --bg-subtle: #F7F8FA;
  --hero-bg: #080B14;
  --accent: #4F8CFF;
  --accent-hover: #3D7AEA;
  --accent-soft: rgba(79, 140, 255, 0.10);
  --fg: #1A1C1E;
  --muted: #667085;
  --border: #E6E8ED;
  --online: #16A34A;
  --offline: #98A2B3;
  --danger: #C5221F;
  --radius-card: 18px;
  --radius-btn: 12px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.04);
  --shadow-card-hover: 0 4px 12px rgba(16, 24, 40, 0.08);
  --ease: 180ms ease;
  --header-h: 72px;

  --color-primary: var(--accent);
  --color-primary-hover: var(--accent-hover);
  --color-bg: var(--bg);
  --color-surface: rgba(255, 255, 255, 0.86);
  --color-surface-solid: var(--bg);
  --color-surface-alt: var(--bg-subtle);
  --color-text: var(--fg);
  --color-muted: var(--muted);
  --color-border: var(--border);
  --color-accent: var(--accent);
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max-width: 1280px;
  --section-gap: 112px;
  --glow: rgba(79, 140, 255, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
}

.ms {
  font-family: "Material Symbols Outlined", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  display: inline-block;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  text-transform: none;
  white-space: nowrap;
  user-select: none;
}

.ico-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
}

h1, h2, .section-title, .hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(16, 24, 40, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

.logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
  justify-self: start;
  grid-column: 1;
  color: var(--color-text);
  text-decoration: none;
}

.logo:hover { opacity: 0.85; color: var(--color-text); }

.logo-mark {
  flex-shrink: 0;
  display: block;
  height: 32px;
  width: 32px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--color-text);
  text-align: left;
  text-transform: lowercase;
}

.logo-cn {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  line-height: 1;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: center;
  grid-column: 2;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-desktop a {
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.nav-desktop a.active,
.nav-desktop a:hover,
.nav-desktop a[aria-current="true"],
.nav-desktop a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-desktop a.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border-bottom: none;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
}

.nav-desktop a.nav-cta:hover,
.nav-desktop a.nav-cta.active,
.nav-desktop a.nav-cta[aria-current="page"] {
  background: var(--accent-hover);
  border-bottom: none;
  color: #fff !important;
}

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  color: var(--color-muted);
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 4px;
  user-select: none;
}
.nav-dropdown.active .nav-dropdown-trigger,
.nav-dropdown-trigger:hover,
.nav-dropdown:focus-within .nav-dropdown-trigger { color: var(--color-primary); }
.nav-chevron { font-size: 0.7rem; transition: transform .15s; }
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0;
  z-index: 200;
}
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel { display: block; }
.nav-dropdown-menu {
  min-width: 200px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  padding: 8px 0;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--color-text);
  font-size: 0.875rem;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: #eff6ff; color: var(--color-primary); }

.nav-mobile-label {
  padding: 16px 0 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-mobile-sub { padding-left: 12px !important; font-size: 0.9rem !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  justify-self: end;
  grid-column: 3;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0;
  border-top: 1px solid transparent;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: max-height 200ms ease, opacity 200ms ease, transform 200ms ease, padding 200ms ease, border-color 200ms ease;
}

.nav-mobile.open {
  max-height: 80vh;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  padding: 16px 0;
  border-top-color: var(--color-border);
}
.nav-mobile a { padding: 10px 0; color: var(--color-text); transition: color var(--ease); }
.nav-mobile a[aria-current="true"],
.nav-mobile a[aria-current="page"],
.nav-mobile a:hover { color: var(--accent); }

/* Buttons — primary / secondary / ghost / on-dark */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  min-height: 40px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-primary:active { background: #3368d6; border-color: #3368d6; color: #fff; }

.btn-secondary {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover { background: var(--accent-soft); color: var(--accent-hover); }
.btn-secondary:active { background: rgba(79, 140, 255, 0.16); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--bg-subtle); color: var(--fg); }
.btn-ghost:active { background: var(--border); }

.btn-on-dark {
  background: transparent;
  color: #f3f5f9;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-on-dark:active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn-sm { padding: 6px 14px; font-size: 0.875rem; min-height: 32px; }

/* Hero — full-bleed atmospheric scene */
.hero {
  padding: 72px 0 64px;
  text-align: center;
  background: linear-gradient(165deg, #e8f1fc 0%, #f3f7fc 45%, #ffffff 100%);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  margin: 0 0 16px;
  line-height: 1.25;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 28px;
  max-width: 36rem;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-brand {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.hero-scene {
  position: relative;
  text-align: left;
  overflow: hidden;
  padding: 64px 0 72px;
}

.hero-scene-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 30%, rgba(26, 86, 219, 0.12), transparent 55%),
    linear-gradient(165deg, #e8f1fc 0%, #f7fafc 50%, #ffffff 100%);
  pointer-events: none;
}

.hero-scene-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy .subtitle { margin-bottom: 28px; }
.hero-copy .hero-actions { justify-content: flex-start; }
.hero-platforms {
  margin: 20px 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.hero-visual { display: flex; justify-content: center; }
.hero-illust {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(26, 86, 219, 0.12);
}

.platform-icons {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Sections */
.section { padding: var(--section-gap) 0; }
.section-title {
  text-align: center;
  font-size: 1.75rem;
  margin: 0 0 12px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card, .pricing-card, .scenario-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.feature-card:hover, .pricing-card:hover, .scenario-card:hover, .day-card:hover, .product-cap-card:hover, .trust-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(79, 140, 255, 0.3);
}
.feature-card:focus-visible, .pricing-card:focus-visible, .scenario-card:focus-visible, .day-card:focus-visible, .product-cap-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.feature-card .icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { margin: 0 0 8px; }
.feature-card p { color: var(--color-muted); margin: 0 0 12px; font-size: 0.95rem; }
.feature-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-highlights li {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.feature-card a.stretched { display: block; color: inherit; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.pricing-card h3 { margin: 0 0 8px; }
.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 12px 0;
}
.pricing-card .price small { font-size: 1rem; font-weight: 400; color: var(--color-muted); }

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.pricing-card li { padding: 6px 0; border-bottom: 1px solid var(--color-border); }
.pricing-card li:last-child { border-bottom: none; }

.pricing-badge {
  display: inline-block;
  background: #dbeafe;
  color: var(--color-primary);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.notice-box {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin: 32px 0;
}
.notice-box h3, .notice-box h4 { margin: 0 0 8px; }
.notice-box ol { margin: 0; padding-left: 20px; color: var(--color-muted); }

/* Assistant spotlight */
.spotlight {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.spotlight ul { padding-left: 20px; color: var(--color-muted); }
.spotlight-visual {
  background: #1e293b;
  border-radius: var(--radius-card);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Trust bar */
.trust-bar {
  text-align: center;
  padding: 40px 0;
  color: var(--color-muted);
}
.trust-bar strong { color: var(--color-text); }

/* Product anchors */
.product-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}
.product-section:last-child { border-bottom: none; }
.product-section h2 { margin-top: 0; }
.product-section p { color: var(--color-muted); max-width: 720px; }

.anchor-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: sticky;
  top: 64px;
  background: var(--color-bg);
  padding: 12px 0;
  z-index: 10;
}
.anchor-nav a {
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.875rem;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin: 0 auto;
}

.section-alt { background: linear-gradient(180deg, #eef4fb 0%, var(--color-bg) 100%); }
.section-lead {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

.story-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 16px;
}
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.story-row-reverse .story-row-copy { order: 2; }
.story-row-reverse .story-row-visual { order: 1; }
.story-row-copy h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 12px;
}
.story-row-copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.product-hero-section { padding-bottom: 24px; }
.product-hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.product-hero-actions { margin-top: 24px; margin-bottom: 8px; }
.product-badge {
  display: inline-block;
  background: #dbeafe;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.product-badge-muted {
  background: #f1f5f9;
  color: var(--color-muted);
}
.robo-hero-illust,
.robo-hero-photo {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  background: #e8edf4;
}
.robo-hero-photo { max-width: 560px; }
.robo-page .section-title,
.robo-page .section-lead {
  text-align: left;
}
.robo-page .section-lead {
  max-width: 40rem;
  margin: 0 0 8px;
}
.robo-scene-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 24px;
}
.robo-scene-block .product-section-copy,
.robo-scene-block .product-section-visual {
  min-width: 0;
  max-width: 100%;
}
.robo-scene-block .product-section-visual {
  display: block;
  overflow: hidden;
}
.robo-scene-illust {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: #e8edf4;
}
.robo-spec-heading {
  margin: 48px 0 12px;
  font-size: 1.25rem;
}
.robo-spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  max-width: none;
}
.robo-spec-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.robo-spec-list .product-tech-head {
  margin-bottom: 0;
  flex: 0 0 4em;
}
.robo-spec-list .product-tech-desc {
  margin: 0;
  flex: 1 1 auto;
}
.robo-does-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 32px 0 8px;
  align-items: stretch;
}
.robo-does-card {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.robo-does-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.robo-does-card figcaption {
  padding: 12px 10px 14px;
}
.robo-does-card strong { display: block; margin-bottom: 4px; font-size: 0.9rem; }
.robo-does-card span {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
}
.pricing-robo {
  margin-top: 56px;
  padding-top: 8px;
  scroll-margin-top: 88px;
}
.pricing-robo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
.robo-spec-list .product-tech-desc { margin-left: 0; }
.pricing-robo-card {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.pricing-robo-card .btn { margin-top: 16px; }
.pricing-robo .product-tech-list { margin-top: 8px; }
.pricing-robo-kicker {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.pricing-robo-schedule {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--color-text);
}
.pricing-robo-reserve {
  margin: 10px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #e85d04;
  line-height: 1.6;
}
.robo-device-card { width: 100%; max-width: 420px; }
.robo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 40px 0 32px;
  counter-reset: robo-step;
}
.robo-steps li {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  counter-increment: robo-step;
}
.robo-steps li::before {
  content: counter(robo-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}
.robo-steps strong { display: block; margin-bottom: 8px; }
.robo-steps p { margin: 0; color: var(--color-muted); font-size: 0.95rem; }
.robo-roadmap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}
.roadmap-now { border-color: var(--color-primary); }
.product-lead { max-width: 40rem; font-size: 1.1rem; }
.product-story {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin: 0 0 16px;
}
.product-audience {
  margin: 16px 0;
  font-size: 0.95rem;
}
.tech-details {
  margin-top: 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--color-surface);
}
.tech-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.tech-details[open] summary { margin-bottom: 12px; color: var(--color-text); }

.scenario-story {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0 0 12px;
  line-height: 1.55;
}
.scenario-card-story .scene-illust { margin-bottom: 16px; }

.enterprise-card h3 { margin-top: 0; }
.enterprise-card p { color: var(--color-muted); }

.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card-featured {
  border: 2px solid var(--color-primary);
}
.pricing-card-muted { opacity: 0.92; }

.pricing-accordion {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  margin: 32px 0;
}
.pricing-accordion summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
}
.pricing-accordion-body { padding-top: 16px; }

.product-list {
  color: var(--color-muted);
  padding-left: 20px;
  max-width: 720px;
}
.product-tech-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--color-text);
}
.product-tech-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  max-width: 720px;
}
.product-tech-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.product-tech-list li:last-child { border-bottom: none; }
.product-tech-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.product-tech-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  width: 1.5rem;
  text-align: center;
}
.product-tech-head strong {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}
.product-tech-desc {
  margin: 0 0 0 2.5rem;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.55;
}
.product-note {
  background: #f1f5f9;
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  font-size: 0.9rem;
  max-width: 720px;
}
.product-section-enterprise {
  background: #f8fafc;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  border-radius: var(--radius-card);
}

/* Partner tabs */
.partner-tabs {
  display: flex;
  gap: 8px;
  margin: 32px 0 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0;
}
.partner-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 20px;
  margin-bottom: -1px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
}
.partner-tab:hover { color: var(--color-primary); }
.partner-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.partner-panel[hidden] { display: none; }

/* Download ToDesk-style platform row */
.download-page .download-hero {
  text-align: center;
  margin-bottom: 40px;
}
.download-platforms {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.download-platform {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 20px;
  border-radius: var(--radius-card);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .15s;
  position: relative;
  cursor: pointer;
}
a.download-platform:hover,
a.download-platform:focus-visible {
  border-color: var(--color-primary);
  background: #eff6ff;
  color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(26, 86, 219, .15);
  transform: translateY(-2px);
}
.download-platform-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.download-platform-icon {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 12px;
  transition: transform .2s;
}
a.download-platform:hover .download-platform-icon { transform: scale(1.08); }
.download-platform-name {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: inherit;
}
.download-platform-version {
  font-size: 0.85rem;
  color: var(--color-muted);
  transition: color .2s;
}
a.download-platform:hover .download-platform-version { color: var(--color-primary); }
.download-platform-action {
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
a.download-platform:hover .download-platform-action {
  opacity: 1;
  transform: translateY(0);
}
.download-platform.is-recommended {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(26, 86, 219, .12);
}
.download-platform.is-recommended::after {
  content: '推荐';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
}
.download-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.download-meta-card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 20px;
  border: 1px solid var(--color-border);
}
.download-meta-card h3 { margin: 0 0 8px; font-size: 1rem; }
.download-meta-info {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin: 0 0 12px;
}
.download-card-notes {
  font-size: 0.85rem;
}
.download-card-notes summary { cursor: pointer; color: var(--color-primary); }
.download-card-notes .release-notes {
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
}
.download-faq { margin-top: 24px; }
.download-faq p:last-child { margin-bottom: 0; }

/* Legacy download grid (unused) */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.download-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: box-shadow .15s, border-color .15s;
}
.download-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-color: #bfdbfe;
}
.download-card-icon { font-size: 3rem; line-height: 1; margin-bottom: 16px; }
.download-card-title { margin: 0 0 8px; font-size: 1.25rem; }
.download-card-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0 0 4px;
  line-height: 1.5;
}
.download-card-date {
  color: var(--color-muted);
  font-size: 0.8rem;
  margin: 0 0 20px;
}
.download-card-hint { font-size: 0.8rem; color: var(--color-muted); }
.download-card-btn { width: 100%; margin-top: auto; }
.download-card-notes {
  width: 100%;
  margin-top: 16px;
  text-align: left;
  font-size: 0.85rem;
}
.download-card-notes summary { cursor: pointer; color: var(--color-primary); }
.download-card-notes .release-notes {
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
}
.download-faq { margin-top: 48px; }
.download-faq p:last-child { margin-bottom: 0; }

.download-card.is-recommended {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(26, 86, 219, .12);
}
.download-card.is-recommended::before {
  content: '推荐';
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Enterprise pages */
.page-enterprise { background: #f1f5f9; }
.enterprise-page .section-lead { max-width: 640px; }
.enterprise-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #dbeafe;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.enterprise-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 0 0;
  background: transparent;
}
.breadcrumb {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--color-muted); }
.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.data-table th { background: var(--color-bg); }

/* Scenario tabs */
.scenario-tabs, .partner-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.scenario-tab, .partner-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 20px;
  margin-bottom: -1px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
}
.scenario-tab:hover, .partner-tab:hover { color: var(--color-primary); }
.scenario-tab.active, .partner-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.scenario-panel { display: none; }
.scenario-panel.active { display: block; }

.scenario-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.scenario-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.scenario-icon {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.scenario-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.scenario-card li { padding: 4px 0; }
.scenario-card > a { font-size: 0.9rem; font-weight: 500; }

/* Scene illustrations (replace terminal mocks) */
.scene-illust {
  margin: 0;
  width: 100%;
}
.scene-illust-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #e8f1fc;
  box-shadow: 0 12px 32px rgba(26, 86, 219, 0.08);
}
.scene-illust-cap {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.4;
}
.feature-card .scene-illust { margin: 12px 0 16px; }
.feature-card-scene h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.feature-card .icon { display: none; }

.product-section-split {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 48px;
  align-items: center;
}
.product-section-reverse {
  grid-template-columns: minmax(320px, 460px) 1fr;
}
.product-section-reverse .product-section-copy { order: 2; }
.product-section-reverse .product-section-visual { order: 1; }
.product-section-copy { min-width: 0; }
.product-section-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}
.product-section-visual .scene-illust {
  width: 100%;
  max-width: 480px;
}
.product-enterprise-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
  max-width: 720px;
}
.partner-panel[hidden] { display: none; }

/* Docs hub */
.docs-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.docs-hub-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.docs-hub-partner {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.docs-hub-card h2 { margin-top: 0; font-size: 1.25rem; }
.docs-hub-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.docs-hub-links li { margin-bottom: 8px; }
.docs-hub-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--color-text);
}
.docs-hub-links a:hover { background: #eff6ff; color: var(--color-primary); }
.doc-sidebar-partner { margin-top: 24px; }
.doc-audience-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 4px;
  margin: 0 0 12px;
}

/* Download legacy row (unused) */
.download-row {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.download-row-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.download-row-header .icon { font-size: 2.5rem; }
.download-row-header h3 { margin: 0; }

.download-meta { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 16px; }

.download-empty {
  color: var(--color-muted);
  font-style: italic;
}

.release-notes {
  background: var(--color-bg);
  border-radius: var(--radius-btn);
  padding: 16px;
  margin: 16px 0;
  font-size: 0.9rem;
}
.release-notes.collapsed { max-height: 80px; overflow: hidden; }

.history-list {
  margin-top: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}
.history-list summary { cursor: pointer; color: var(--color-primary); }
.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

/* Docs */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 40px 0 80px;
}

.doc-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}
.doc-sidebar h4 { margin: 0 0 12px; font-size: 0.875rem; color: var(--color-muted); }
.doc-sidebar ul { list-style: none; padding: 0; margin: 0; }
.doc-sidebar li { margin-bottom: 4px; }
.doc-sidebar a {
  display: block;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--color-text);
  font-size: 0.9rem;
}
.doc-sidebar a.active,
.doc-sidebar a:hover { background: #eff6ff; color: var(--color-primary); }

.markdown-body h1 { font-size: 2rem; margin-top: 0; }
.markdown-body h2 { margin-top: 2em; border-bottom: 1px solid var(--color-border); padding-bottom: 8px; }
.markdown-body img {
  display: block;
  max-width: min(100%, 640px);
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  margin: 0.75rem 0 1.5rem;
  background: linear-gradient(160deg, #e8f0fe 0%, #f8fafc 100%);
}
.markdown-body code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.markdown-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 16px;
  border-radius: var(--radius-btn);
  overflow-x: auto;
}

/* About · 布颜石 brand philosophy */
.brand-philosophy-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.brand-philosophy-section h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}
.brand-philosophy-intro {
  margin: 0 0 28px;
  color: var(--color-muted);
  max-width: 40em;
  line-height: 1.7;
}
.brand-philosophy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.brand-philosophy-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface-solid);
  box-shadow: var(--shadow-card);
}
.brand-philosophy-card h3 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}
.brand-philosophy-lead {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--color-text);
}
.brand-philosophy-card p:last-child {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.brand-philosophy-note {
  margin: 20px 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}
@media (max-width: 900px) {
  .brand-philosophy { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--color-surface-alt);
  color: var(--color-muted);
  padding: 48px 0 24px;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  max-width: none;
}
.footer-brand-mark {
  flex-shrink: 0;
  display: block;
  width: 40px;
  height: 40px;
}
.footer-brand-text {
  min-width: 0;
}
.footer-brand-en {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.footer-brand-cn {
  margin: 6px 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--color-muted);
}
.footer-brand-tagline {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: var(--color-text); margin: 0 0 12px; font-size: 0.9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--color-muted); font-size: 0.875rem; }
.footer-grid a:hover { color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* Admin */
.admin-layout { min-height: 100vh; background: var(--color-bg); }
.admin-nav {
  background: #1e293b;
  color: #fff;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 56px;
}
.admin-nav a { color: #94a3b8; }
.admin-nav a.active, .admin-nav a:hover { color: #fff; }
.admin-content { max-width: 1000px; margin: 0 auto; padding: 32px 24px; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.admin-table th, .admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.admin-table th { background: var(--color-bg); font-weight: 600; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 4px; font-size: 0.875rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-group textarea { min-height: 120px; resize: vertical; }

.login-box {
  max-width: 400px;
  margin: 80px auto;
  background: var(--color-surface);
  padding: 32px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

.cta-section {
  text-align: center;
  padding: 60px 0;
  background: var(--color-surface);
}

.footer-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.footer-grid-4 {
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, 1fr);
}

.dual-entry-grid .dual-entry-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.dual-entry-cta {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.together-teaser {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 32px 40px;
  border-radius: var(--radius-btn);
  background:
    linear-gradient(135deg, rgba(26, 86, 219, 0.08), rgba(26, 86, 219, 0.02)),
    var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color .15s, box-shadow .15s;
}
.together-teaser:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.08);
}
.together-teaser h2 { margin: 0 0 8px; }
.together-teaser p { margin: 0 0 12px; color: var(--color-muted); }
.together-teaser span { color: var(--color-primary); font-weight: 600; }

@media (max-width: 1024px) {
  .nav-desktop, .header-inner .btn-primary { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile { display: flex; }
}

@media (max-width: 768px) {
  .spotlight { grid-template-columns: 1fr; padding: 24px; }
  .docs-layout { grid-template-columns: 1fr; }
  .doc-sidebar { position: static; }
  .hero { padding: 48px 0 40px; }
  .hero-scene { padding: 40px 0 48px; text-align: center; }
  .hero-scene-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .hero-actions { justify-content: center; }
  .hero-copy .subtitle { margin-left: auto; margin-right: auto; }
  .hero-visual { margin-top: 8px; }
  .story-row,
  .story-row-reverse { grid-template-columns: 1fr; }
  .story-row-reverse .story-row-copy,
  .story-row-reverse .story-row-visual { order: unset; }
  .card-grid-2, .pricing-grid-2 { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .download-platforms { gap: 16px; }
  .download-platform { flex: 1 1 calc(50% - 16px); min-width: 140px; }
  .download-meta-grid { grid-template-columns: 1fr; }
  .footer-grid-3,
  .footer-grid-4 { grid-template-columns: 1fr; }
  .dual-entry-grid { grid-template-columns: 1fr; }
  .together-teaser { padding: 24px; }
  .partner-tabs, .scenario-tabs { flex-wrap: wrap; }
  .docs-hub-grid { grid-template-columns: 1fr; }
  .product-section-split,
  .product-section-reverse,
  .product-hero-split { grid-template-columns: 1fr; }
  .product-section-reverse .product-section-copy,
  .product-section-reverse .product-section-visual { order: unset; }
  .product-section-visual { margin-top: 8px; }
  .robo-steps { grid-template-columns: 1fr 1fr; }
  .robo-scene-block { grid-template-columns: 1fr; }
  .robo-does-row { flex-wrap: wrap; }
  .robo-does-card { flex: 1 1 calc(33.333% - 12px); }
  .robo-spec-list { grid-template-columns: 1fr; }
  .product-enterprise-showcase { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1280px) {
  .nav-desktop { gap: 10px; }
  .nav-desktop a { font-size: 0.8rem; }
}

@media (max-width: 1100px) {
  .nav-desktop { gap: 8px; }
  .nav-desktop a { font-size: 0.76rem; }
}

@media (max-width: 560px) {
  .robo-steps { grid-template-columns: 1fr; }
  .robo-does-card { flex: 1 1 calc(50% - 12px); }
}

/* ========== V2 Personal Hub ========== */
.btn-lg { padding: 14px 28px; font-size: 1.05rem; min-height: 48px; }

.feature-card, .pricing-card, .scenario-card, .notice-box, .download-platform, .day-card, .device-center, .ai-prompt, .ai-tasks, .why-panel, .trust-list li, .space-node {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.pricing-card-featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.cta-section {
  background: linear-gradient(180deg, transparent, rgba(79, 140, 255, 0.08));
  text-align: center;
  padding: 72px 0;
}

.site-footer {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
}

.nav-mobile {
  background: #fff;
}

.nav-mobile.open {
  border-bottom: 1px solid var(--color-border);
}

.home-v2, .home-v3 { overflow: hidden; }

.home-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
  background: var(--hero-bg);
  color: #f3f5f9;
}

.home-hero .home-subtitle,
.home-hero .home-platforms {
  color: #9aa3b5;
}

.home-hero .btn-on-dark {
  color: #f3f5f9;
  border-color: rgba(255, 255, 255, 0.28);
}

.home-hero .btn-on-dark:hover {
  color: #fff;
  border-color: var(--color-primary);
}

.home-hero-glow {
  position: absolute;
  inset: 18% 28% auto;
  height: 280px;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.7;
}

.home-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-ladder {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.hero-ladder-1 {
  font-size: 1.05rem;
  color: #c5cce0;
}

.hero-ladder-2 {
  font-size: 0.95rem;
  color: #aeb6c9;
  padding-left: 1.35em;
}

.hero-ladder-3 {
  font-size: 0.88rem;
  color: #8bb6ff;
  padding-left: 2.7em;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.85rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.home-subtitle {
  margin: 24px 0 0;
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 36em;
}

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

.home-platforms {
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.home-hero-visual {
  display: flex;
  justify-content: center;
}

.home-hero-visual picture {
  display: block;
  width: min(480px, 100%);
}

.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.home-v3 > section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.home-section { padding: var(--section-gap) 0; }
.home-section-alt { background: var(--color-surface-alt); }

.home-section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-section-title-center {
  text-align: center;
}

.product-cap-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-cap-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface-solid);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.product-cap-card:hover {
  color: inherit;
}

.product-cap-card .ico-chip {
  margin-bottom: 16px;
}

.product-cap-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.product-cap-card p {
  margin: 0;
  color: var(--color-muted);
  flex: 1;
}

.cap-more {
  margin-top: 20px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: transform var(--ease);
}

.product-cap-card:hover .cap-more {
  transform: translateX(4px);
}

.capability-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--color-text);
}

.capability-points li {
  position: relative;
  padding-left: 1.1em;
}

.capability-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.home-lead {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 34em;
}

.home-lead-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.why-compare {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}

.why-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--color-surface-solid);
}

.why-panel h3 { margin: 0 0 16px; font-size: 1.1rem; }
.why-panel ul { margin: 0; padding-left: 1.1em; color: var(--color-muted); }
.why-panel-after { border-color: rgba(79, 140, 255, 0.35); }
.why-brand { margin: 16px 0 0; color: var(--color-primary); font-weight: 700; }
.why-arrow {
  align-self: center;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.device-center {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  background: var(--color-surface-solid);
}

.device-center-head {
  font-weight: 600;
  margin-bottom: 16px;
}

.device-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.device-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin: 0 -4px;
  border-radius: 12px;
  color: var(--color-text);
  transition: background var(--ease);
}

.device-list li + li {
  margin-top: 4px;
}

.device-list li:hover {
  background: var(--bg-subtle);
}

.device-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.device-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.device-list li small {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.device-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--online);
  white-space: nowrap;
}

.device-status.is-offline {
  color: var(--offline);
}

.device-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  animation: devicePulse 1.4s ease-in-out infinite;
}

.device-status.is-offline .device-dot {
  background: var(--offline);
  animation: none;
  box-shadow: none;
}

@keyframes devicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(110, 231, 168, 0); }
}

.space-flow {
  margin: 48px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.space-node {
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-solid);
}

.space-node-hub {
  border-color: rgba(79, 140, 255, 0.5);
  color: var(--color-primary);
  font-weight: 700;
}

.space-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.space-points {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  color: var(--color-muted);
}

.space-photo {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.space-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ai-split {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.ai-photo {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ai-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ai-demo {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-prompt, .ai-tasks {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--color-surface-solid);
}

.ai-label {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-prompt-text {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.ai-tasks ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ai-tasks li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  color: var(--fg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.ai-tasks li .ms {
  color: var(--accent);
  font-size: 20px;
}

.ai-tasks.is-visible li,
.ai-tasks li.is-visible {
  opacity: 1;
  transform: none;
}

.scenario-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.day-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.day-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.day-card-media {
  position: relative;
  height: 148px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.day-card-media picture {
  display: block;
  height: 100%;
}

.day-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.day-card-body {
  padding: 18px 20px 22px;
}

.day-time {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 11, 20, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.day-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.day-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.day-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-primary);
}

.home-cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.home-platforms-light {
  color: var(--color-muted);
}

.scenario-card {
  padding: 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface-solid);
}

.scenario-card-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 280px;
  color: #fff;
}

.scenario-card-photo picture,
.scenario-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 200ms ease;
}

.scenario-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 11, 20, 0.08) 20%, rgba(8, 11, 20, 0.82) 100%);
}

.scenario-card-copy {
  position: relative;
  z-index: 2;
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.scenario-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.scenario-card p {
  margin: 0;
  color: var(--color-muted);
}

.scenario-card-photo h3 { color: #fff; }
.scenario-card-photo p { color: rgba(243, 245, 249, 0.88); }
.scenario-card-photo:hover img {
  transform: translateY(-4px) scale(1.03);
}

.icon-pills {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.icon-pills-left {
  justify-content: flex-start;
}

.icon-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--fg);
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.icon-pills .ms {
  color: var(--accent);
  font-size: 18px;
}

.cap-matrix {
  margin: 48px auto 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  text-align: center;
}

.cap-item, .cap-core {
  padding: 28px 16px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: var(--color-surface-solid);
}

.cap-core {
  grid-column: 2;
  grid-row: 2;
  border-color: rgba(79, 140, 255, 0.55);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 0 40px var(--glow);
}

.cap-item:nth-child(1) { grid-column: 2; grid-row: 1; }
.cap-item:nth-child(2) { grid-column: 1; grid-row: 2; }
.cap-item:nth-child(4) { grid-column: 3; grid-row: 2; }
.cap-item:nth-child(5) { grid-column: 2; grid-row: 3; }

.trust-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface-solid);
}

.trust-list span { color: var(--color-muted); }

.home-cta-section {
  text-align: center;
  background: var(--hero-bg);
  color: #f3f5f9;
}
.home-cta-section .home-section-title { color: #f3f5f9; }
.home-cta-inner .home-section-title { margin-bottom: 28px; }
.home-cta-note a:not(.btn) { color: var(--color-muted); }
.home-cta-note a:not(.btn):hover { color: var(--color-primary); }
.home-platforms-on-dark { color: #9aa3b5; }

.upgrade-path {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 36px;
  color: var(--color-muted);
  flex-wrap: wrap;
}
.upgrade-arrow { color: var(--color-primary); }
.pricing-tagline {
  color: var(--color-muted);
  min-height: auto;
  margin: 0 0 8px;
}
.pricing-price {
  margin: 4px 0 8px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.pricing-price span {
  margin-left: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.pricing-perks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.pricing-perks li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-perks li:last-child { border-bottom: none; }
.pricing-card {
  position: relative;
  padding: 28px;
}
.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 0;
}
.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover), 0 0 0 1px var(--accent);
}
.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.pricing-card .btn { margin-top: 16px; }

@media (max-width: 1100px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .day-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .home-hero-inner,
  .home-split,
  .ai-demo,
  .ai-split,
  .why-compare,
  .scenario-grid,
  .scenario-grid-4,
  .day-grid,
  .product-cap-grid,
  .trust-list,
  .pricing-grid-3,
  .pricing-grid-4,
  .pricing-robo-grid {
    grid-template-columns: 1fr;
  }
  .why-arrow { display: none; }
  .cap-matrix {
    grid-template-columns: 1fr 1fr;
  }
  .cap-item:nth-child(1),
  .cap-item:nth-child(2),
  .cap-item:nth-child(4),
  .cap-item:nth-child(5),
  .cap-core {
    grid-column: auto;
    grid-row: auto;
  }
}

#membership .home-cta-note { margin-top: 28px; }
#membership .pricing-grid { margin-top: 8px; }

@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;
    scroll-behavior: auto !important;
  }
  .device-dot { animation: none; }
  .ai-tasks li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scenario-card-photo:hover img {
    transform: none;
  }
}

/* Header account + member center */
.header-account {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.header-login-link {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}
.header-login-link:hover { color: var(--color-primary); border-color: var(--color-primary); }
.header-account-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  max-width: 96px;
}
.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #eef3ff;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-avatar-ico { width: 18px; height: 18px; display: block; }
.header-nickname {
  max-width: 96px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-account-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 148px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(20, 40, 80, 0.12);
  padding: 6px;
  z-index: 20;
}
/* Bridge the gap between avatar and menu so :hover is not lost on the way down. */
.header-account-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}
.header-account:hover .header-account-menu,
.header-account:focus-within .header-account-menu,
.header-account.is-open .header-account-menu { display: block; }
.header-account-menu a,
.header-account-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--color-text);
  font-size: 0.9rem;
  cursor: pointer;
}
.header-account-menu a:hover,
.header-account-menu button:hover { background: #f4f7ff; color: var(--color-primary); }

.account-wrap {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 56vh;
  width: 100%;
  padding: 24px 24px 48px;
}
.account-wrap--login { grid-template-columns: 1fr; max-width: 440px; }
.account-sidebar {
  border-right: 1px solid var(--color-border);
  padding: 8px 20px 8px 0;
}
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--color-muted);
  font-weight: 500;
}
.account-nav a:hover,
.account-nav a.active { background: #eef3ff; color: var(--color-primary); }
.account-main { padding: 8px 0 8px 28px; min-width: 0; }
.account-wrap--login .account-main { padding-left: 0; }
.account-page-title { margin: 0 0 20px; font-size: 1.6rem; }
.account-home .pricing-card .btn { margin-top: 12px; }
.account-panel, .account-login { padding: 20px 22px; }
.account-btn-auto {
  width: auto;
  align-self: flex-start;
  display: inline-flex;
}
.account-btn-block {
  width: 100%;
  display: flex;
  box-sizing: border-box;
}
.account-robo-lead {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.account-robo-hl {
  color: #e85d04;
  font-weight: 700;
}
.account-field { margin: 0 0 14px; display: block; }
.account-field span { display: block; margin-bottom: 6px; color: var(--color-muted); font-size: 0.9rem; }
.account-field input.rch-amt::-webkit-inner-spin-button,
.account-field input.rch-amt::-webkit-outer-spin-button {
  opacity: 1;
  height: 28px;
  cursor: pointer;
}
.account-field input[type="text"],
.account-field input[type="password"],
.account-field input[type="email"],
.account-field input[type="number"],
.account-field input:not([type]) {
  width: 100%;
  max-width: 100%;
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.auth-tab-body { display: flex; flex-direction: column; width: 100%; }
.auth-tab-title { margin: 0 0 16px; font-size: 1.35rem; font-weight: 700; }
.auth-mode-tabs {
  display: flex;
  gap: 1.75rem;
  align-items: flex-end;
  border-bottom: 1px solid var(--color-border);
  margin: 0 0 1.25rem;
}
.auth-mode-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin: 0 0 -1px;
  padding: 0.55rem 0.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}
.auth-mode-tab.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.login-links { margin: 14px 0 0; font-size: 0.9rem; }
.login-links-sep { color: var(--color-muted); }
.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--color-primary);
  cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }
.wechat-login-panel { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wechat-qr-host {
  width: 300px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.wechat-qr-host img { width: 220px; height: 220px; display: block; }
.wechat-qr-frame { width: 300px; height: 400px; border: 0; display: block; background: #fff; }
.wechat-login-hint { margin: 0; text-align: center; }
.wechat-login-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.account-err { color: #c0392b; font-size: 0.9rem; min-height: 1.2em; margin: 0 0 10px; }
.as-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
  text-align: left;
  cursor: pointer;
}
.as-tile-static { cursor: default; }
.as-tile-label { display: block; font-weight: 600; }
.as-tile-value, .as-tile-desc { display: block; color: var(--color-muted); font-size: 0.9rem; margin-top: 4px; }
.space-plan-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.space-plan-card {
  text-align: left;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
}
.space-plan-card--on { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.15); }
.space-plan-title { margin: 0 0 6px; font-size: 1.05rem; }
.space-plan-price { color: var(--color-primary); font-weight: 700; }
.space-plan-pitch { color: var(--color-muted); font-size: 0.88rem; margin: 0 0 8px; }
.space-plan-perks { margin: 0; padding-left: 18px; font-size: 0.88rem; }
.space-plan-hint { color: var(--color-primary); font-size: 0.82rem; margin: 8px 0 0; }
.assistant-billing-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  margin: 16px 0 8px;
  width: 100%;
}
.assistant-billing-tab {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.assistant-billing-tab.on { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.billing-save-hint {
  font-size: 0.72em;
  font-weight: 700;
  color: #e85d04;
  letter-spacing: 0;
}
.assistant-billing-tab.on .billing-save-hint { color: #ffe08a; }
.billing-check-row { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; font-size: 0.92rem; }
.billing-qr-host img { width: 220px; height: 220px; border-radius: 12px; }
.account-order-table { width: 100%; border-collapse: collapse; }
.account-order-table th, .account-order-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.robo-buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0 20px; }
.robo-buy-col { padding: 18px 20px; }
.robo-feat-list { margin: 0; padding-left: 18px; line-height: 1.7; }
.robo-shop { padding: 18px 20px; }
.robo-shop-links { display: flex; gap: 12px; margin-top: 12px; }
.robo-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  color: #fff !important;
}
.robo-shop-btn--pdd { background: #e02e24; }
.robo-shop-btn--tb { background: #ff5000; }
.recharge-hint { color: var(--color-muted); font-size: 0.9rem; margin: 12px 0 0; }
.mbr-recharge-embed {
  margin: 12px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.mbr-recharge-embed[hidden] { display: none; }
.mbr-recharge-embed h2 { font-size: 1.05rem; margin: 0 0 12px; }

.account-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}
.account-modal {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}
.account-modal h2 { margin: 0 0 14px; font-size: 1.15rem; }
.account-modal--terms {
  max-width: 640px;
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
}
.account-terms-body {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 200px;
  max-height: 60vh;
  padding: 4px 4px 12px;
  font-size: 0.92rem;
  line-height: 1.65;
}
.account-terms-body h1 { font-size: 1.2rem; }
.account-terms-body h2 { font-size: 1.05rem; margin-top: 1.2em; }

@media (max-width: 1024px) {
  .header-account { margin-right: 40px; }
}

@media (max-width: 768px) {
  .header-account { margin-right: 40px; }
  .account-wrap, .account-wrap--login { grid-template-columns: 1fr; padding: 16px; }
  .account-sidebar { border-right: 0; border-bottom: 1px solid var(--color-border); padding: 0 0 12px; }
  .account-nav { flex-direction: row; flex-wrap: wrap; }
  .account-main { padding: 16px 0 0; }
  .space-plan-overview, .robo-buy-grid { grid-template-columns: 1fr; }
}


