/* hanye official — Fleet Console 2026 */
:root {
  --ink: #12151a;
  --ink-2: #2a3038;
  --muted: #5c6570;
  --faint: #8b949e;
  --line: #d5dbe3;
  --bg: #eef1f4;
  --bg-elev: #f7f8fa;
  --surface: #ffffff;
  --signal: #0d9488;
  --signal-soft: rgba(13, 148, 136, 0.12);
  --copper: #c45c26;
  --ok: #15803d;
  --warn: #b45309;

  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Syne", "Chakra Petch", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, monospace;

  --wrap: min(1120px, calc(100% - 40px));
  --header-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap { width: var(--wrap); margin: 0 auto; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(238, 241, 244, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-solid {
  background: rgba(247, 248, 250, 0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  width: var(--wrap);
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo-mark {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-mark::after {
  content: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(18, 21, 26, 0.05);
}

/* 活动导航：流光 + 微光 */
.site-nav a.nav-act {
  position: relative;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(
    110deg,
    #0f766e 0%,
    #14b8a6 18%,
    #fde68a 36%,
    #fb923c 52%,
    #14b8a6 68%,
    #0f766e 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: nav-act-shine 2.4s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 6px rgba(20, 184, 166, 0.55)) drop-shadow(0 0 14px rgba(253, 230, 138, 0.35));
}
.site-nav a.nav-act:hover,
.site-nav a.nav-act[aria-current="page"] {
  background: linear-gradient(
    110deg,
    #0f766e 0%,
    #5eead4 20%,
    #fff7ed 40%,
    #fdba74 55%,
    #5eead4 75%,
    #0f766e 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(20, 184, 166, 0.75)) drop-shadow(0 0 18px rgba(251, 146, 60, 0.45));
}
.site-nav a.nav-act::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #fde68a, #14b8a6, transparent);
  opacity: 0.85;
  animation: nav-act-underline 2.4s ease-in-out infinite;
}
.site-header:not(.is-solid) .site-nav a.nav-act {
  filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.7)) drop-shadow(0 0 16px rgba(253, 230, 138, 0.45));
}

@keyframes nav-act-shine {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}
@keyframes nav-act-underline {
  0%, 100% { opacity: 0.35; transform: scaleX(0.7); }
  50% { opacity: 1; transform: scaleX(1); }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.header-cta:hover { background: var(--copper); }

.header-demo {
  margin-left: 8px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(20, 24, 28, 0.18);
  cursor: pointer;
}
.header-demo:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.header-dl {
  position: relative;
  z-index: 50;
  margin-left: 8px;
}

/* 演示站提示弹窗 */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.demo-modal[hidden] { display: none !important; }
.demo-modal.is-open {
  display: flex !important;
}
.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 20, 0.55);
}
.demo-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 28px 24px 22px;
  background: #f4f6f8;
  border: 1px solid rgba(20, 24, 28, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}
.demo-modal-title {
  margin: 0 0 14px;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}
.demo-modal-creds {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}
.demo-modal-warn {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}
.demo-modal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
}
.demo-modal-links .btn {
  text-align: center;
  justify-content: center;
}
.demo-modal-link-secondary {
  border: 1px solid rgba(20, 24, 28, 0.16);
}
.demo-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.header-dl-toggle {
  border: 0;
  cursor: pointer;
  gap: 6px;
}
.header-dl-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.85;
}
.header-dl-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 260px;
  padding: 8px;
  border-radius: 12px;
  background: #12141a;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
}
.header-dl-menu[hidden] { display: none !important; }
.header-dl-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #e8eaed !important;
  text-decoration: none;
}
.header-dl-menu a:hover {
  background: rgba(61, 139, 253, 0.18);
}
.header-dl-menu strong {
  font-size: 0.92rem;
}
.header-dl-menu span {
  font-size: 0.75rem;
  color: #9aa0a6;
  line-height: 1.35;
}
.header-dl.is-open .header-dl-menu { display: flex !important; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--copper); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  background: #0a0c10;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  will-change: transform;
}
.hero.is-ready .hero-bg img { transition: transform 0.8s var(--ease); }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 12, 16, 0.35) 0%, rgba(10, 12, 16, 0.55) 45%, rgba(10, 12, 16, 0.92) 100%),
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(13, 148, 136, 0.18), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: 48px 0 64px;
  max-width: 640px;
  align-self: flex-start;
  margin-left: max(20px, calc((100% - min(1120px, calc(100% - 40px))) / 2));
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: #fff;
}
.hero-slogan {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
  max-width: 36em;
}
.smart-download { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.btn-download {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 220px;
  padding: 14px 22px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s;
}
.btn-download:hover {
  background: var(--copper);
  color: #fff;
}
.btn-download-label { font-weight: 700; font-size: 1.05rem; }
.btn-download-sub { font-size: 0.8rem; opacity: 0.7; }
.smart-arch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.smart-arch a {
  padding: 6px 12px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, border-color 0.2s;
}
.smart-arch a.is-preferred,
.smart-arch a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}
.smart-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.smart-hint a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— Inner page hero —— */
.page-hero {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 148, 136, 0.06), transparent 70%),
    var(--bg-elev);
}
.page-hero-inner { max-width: 40rem; }
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
  margin: 8px 0 12px;
}
.page-hero-meta {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--faint);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* —— Home activity strip —— */
.home-act-strip {
  display: block;
  position: relative;
  margin: 0;
  padding: 18px 0;
  background: linear-gradient(90deg, #0f766e 0%, #134e4a 48%, #9a3412 100%);
  color: #fff;
  overflow: hidden;
}
.home-act-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 85% 50%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}
.home-act-strip-inner {
  position: relative;
  width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.home-act-strip-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 4px;
}
.home-act-strip-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.home-act-strip-sub {
  font-size: 0.88rem;
  opacity: 0.88;
  margin-top: 2px;
}
.home-act-strip-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #134e4a;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s var(--ease);
}
.home-act-strip:hover .home-act-strip-cta {
  transform: translateX(3px);
}

/* —— Home entry cards —— */
.home-links {
  padding: 48px 0 72px;
  background: var(--bg);
}
.home-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.home-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.home-link:hover {
  border-color: var(--signal);
  transform: translateY(-2px);
}
.home-link-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 700;
}
.home-link strong {
  font-size: 1.05rem;
  color: var(--ink);
}
.home-link span:last-child {
  font-size: 0.85rem;
  color: var(--muted);
}

/* —— Sections —— */
.section {
  padding: 88px 0;
  position: relative;
}
.section-head {
  max-width: 36rem;
  margin-bottom: 40px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
}

/* —— Proof / capability merge —— */
.proof {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.proof-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.proof-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.proof-item:last-child { border-bottom: none; }
.proof-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--signal-soft);
  color: var(--signal);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}
.proof-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.proof-item p { color: var(--muted); font-size: 0.92rem; }
.proof-shots {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proof-shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.proof-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.proof-shot figcaption {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.ability-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ability-cell {
  background: var(--surface);
  padding: 22px 20px;
}
.ability-cell h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.ability-cell p { font-size: 0.85rem; color: var(--muted); }

/* —— Showcase / alerts —— */
.showcase {
  background: var(--ink);
  color: #fff;
  padding: 0;
}
.showcase-stage {
  position: relative;
  min-height: 420px;
}
.showcase-stage img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.55;
}
.showcase-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 48px 0;
}
.showcase-copy .wrap { width: var(--wrap); }
.showcase-copy .section-eyebrow { color: #5eead4; }
.showcase-copy .section-title { color: #fff; }
.showcase-copy .section-lead { color: rgba(255, 255, 255, 0.72); max-width: 36em; }
.channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.channel-row span {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* —— Brands marquee —— */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 0;
  margin: 0 0 40px;
}
.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--faint);
  text-transform: uppercase;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.brand-grid li {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--muted);
}
.brand-grid li.brand-more {
  border-style: dashed;
  color: var(--faint);
}
.mode-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mode-item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mode-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 8px;
}
.mode-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.mode-item p { font-size: 0.88rem; color: var(--muted); }

/* —— Features —— */
.features { background: var(--bg-elev); }
.feat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.feat-filter {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.feat-filter.active,
.feat-filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feat-card {
  text-align: left;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, transform 0.2s var(--ease);
  cursor: pointer;
}
.feat-card:hover {
  border-color: var(--signal);
  transform: translateY(-2px);
}
.feat-card.is-hidden { display: none; }
.feat-card-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
}
.feat-card-title {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
}
.feat-card-ver { font-size: 0.75rem; color: var(--faint); font-family: var(--font-mono); }
.feat-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-card-more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.feat-modal[hidden] { display: none !important; }
.feat-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.feat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 21, 26, 0.55);
}
.feat-modal-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.feat-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  color: var(--muted);
}
.feat-modal-meta {
  font-size: 0.75rem;
  color: var(--signal);
  font-weight: 600;
  margin-bottom: 8px;
}
.feat-modal-panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 16px;
}
.feat-modal-body {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}
.feat-modal-body h4 { color: var(--ink); margin: 16px 0 8px; }
.feat-modal-body ul { padding-left: 1.2em; list-style: disc; margin: 8px 0; }
.feat-modal-body li { margin: 4px 0; }

/* —— Ops: deploy + backend —— */
.ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.deploy-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}
.deploy-points li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 2px solid var(--signal);
}
.deploy-points strong { color: var(--ink); font-size: 0.95rem; }
.deploy-points span { color: var(--muted); font-size: 0.88rem; }
.code-block {
  background: var(--ink);
  color: #c8d0d8;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre-wrap;
}
.backend-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.backend-tab {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--muted);
}
.backend-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.backend-panel { display: none; }
.backend-panel.active { display: block; }
.backend-panel figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.backend-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.backend-panel figcaption {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.backend-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.backend-feature {
  padding: 14px;
  background: var(--bg-elev);
  border-radius: var(--radius-sm);
}
.backend-feature h4 {
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.backend-feature p { font-size: 0.82rem; color: var(--muted); }

/* —— Trust merge —— */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
.trust-story h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.trust-story p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.trust-values { display: flex; flex-direction: column; gap: 16px; }
.value-item h4 {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.value-item p { font-size: 0.85rem; color: var(--muted); }
.honesty-panel,
.security-list {
  padding: 18px;
  background: var(--bg-elev);
  border-radius: var(--radius);
}
.honesty-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.ok-dot, .warn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.ok-dot { background: var(--ok); }
.warn-dot { background: var(--warn); }
.honesty-panel ul { display: flex; flex-direction: column; gap: 8px; }
.honesty-panel li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 12px;
  border-left: 2px solid var(--line);
}
.security-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.security-list li {
  font-size: 0.9rem;
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.security-list li:last-child { border-bottom: none; }

/* —— Download —— */
.download { background: var(--bg); }
.stats-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.stats-inline > div {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.stats-inline .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.stats-inline .num em { font-style: normal; color: var(--signal); }
.stats-inline .label { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

.os-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.os-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.os-chip[aria-selected="true"] {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}
.os-chip-icon { font-size: 1rem; }

.dl-smart-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.dl-smart-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.dl-smart-desc { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }
.dl-smart-banner .btn-primary {
  background: #fff;
  color: var(--ink);
  flex-shrink: 0;
}
.dl-smart-banner .btn-primary:hover {
  background: var(--copper);
  color: #fff;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.platform-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color 0.2s;
}
.platform-card.is-recommended { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.platform-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.platform-icon { font-size: 1.4rem; }
.platform-head h3 { font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.platform-note { font-size: 0.8rem; color: var(--muted); }
.arch-list { display: flex; flex-direction: column; gap: 8px; }
.arch-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.arch-name { display: block; font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.arch-desc { display: block; font-size: 0.78rem; color: var(--muted); }
.arch-dl {
  flex-shrink: 0;
  padding: 6px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}
.arch-dl:hover { background: var(--copper); }

.market-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 22px;
  background: var(--signal-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(13, 148, 136, 0.25);
}
.market-cta h3 { color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.market-cta p { color: var(--muted); font-size: 0.9rem; }

.oss-repos { margin-top: 28px; text-align: center; }
.oss-repos-label { font-size: 0.8rem; color: var(--faint); margin-bottom: 10px; }
.oss-repo-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.oss-repo {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--ink-2);
  background: var(--surface);
}
.oss-repo:hover { border-color: var(--ink); }
.oss-note { margin-top: 10px; font-size: 0.8rem; color: var(--faint); }

/* —— Roadmap —— */
.timeline {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.timeline-item {
  position: relative;
  padding: 18px 18px 18px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline-dot {
  position: absolute;
  left: 12px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
}
.timeline-item.done .timeline-dot { background: var(--ok); }
.timeline-item.planned .timeline-dot { background: var(--faint); }
.timeline-date { font-size: 0.75rem; color: var(--faint); margin-bottom: 4px; }
.timeline-item h3 { font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
.timeline-item > p { font-size: 0.88rem; color: var(--muted); }
.timeline-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--signal-soft);
  color: var(--signal);
}
.timeline-tag.done { background: rgba(21, 128, 61, 0.12); color: var(--ok); }
.timeline-tag.planned { background: rgba(139, 148, 158, 0.15); color: var(--muted); }

/* —— FAQ (legacy hooks; page-faq overrides in product.css) —— */
.faq-item.is-hidden { display: none !important; }

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 6px;
}
.footer-meta { font-size: 0.85rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
  align-content: start;
}
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* —— Compare page —— */
.compare-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(13, 148, 136, 0.12), transparent 55%),
    var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
.compare-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}
.compare-meta { font-size: 0.8rem; color: var(--faint); margin-top: 12px; }
.doc-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.75;
}
.doc-body h1, .doc-body h2, .doc-body h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 1.6em 0 0.6em;
}
.doc-body h2 { font-size: 1.35rem; }
.doc-body h3 { font-size: 1.1rem; }
.doc-body p { margin: 0.75em 0; color: var(--muted); }
.doc-body ul, .doc-body ol { padding-left: 1.25em; margin: 0.75em 0; list-style: disc; }
.doc-body li { margin: 0.35em 0; color: var(--muted); }
.doc-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25em 0;
  font-size: 0.88rem;
  overflow-x: auto;
  display: block;
}
.doc-body th, .doc-body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.doc-body th { background: var(--bg-elev); color: var(--ink); font-weight: 700; }
.doc-body code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-elev);
  padding: 1px 5px;
  border-radius: 4px;
}
.doc-empty { color: var(--faint); }

/* —— Reveal motion —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

.hero-content > * {
  animation: hero-rise 0.7s var(--ease) both;
}
.hero-brand { animation-delay: 0.05s; }
.hero-slogan { animation-delay: 0.12s; }
.hero-lead { animation-delay: 0.2s; }
.smart-download { animation-delay: 0.28s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal],
  .hero-content > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .marquee-track { animation: none; }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .home-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-grid,
  .ops-grid,
  .trust-grid,
  .platform-grid,
  .feat-grid,
  .mode-row,
  .ability-strip {
    grid-template-columns: 1fr;
  }
  .stats-inline { grid-template-columns: repeat(2, 1fr); }
  .backend-features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .dl-smart-banner { flex-direction: column; align-items: flex-start; }
  .market-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .header-demo { margin-left: auto; }
  .header-dl { margin-left: 8px; }
  .header-dl-menu {
    right: 0;
    left: auto;
    min-width: min(280px, calc(100vw - 32px));
  }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 4px;
  }
  .site-nav.open { display: flex; }
  .header-cta { margin-left: 0; }
  .hero-content { margin-left: 20px; margin-right: 20px; width: auto; padding-bottom: 48px; }
  .section { padding: 64px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .home-links-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 20px; }
}
