:root {
  --blue: #2563eb;
  --blue-bright: #4f86ff;
  --blue-deep: #0f2c6e;
  --ink: #0b101d;
  --muted: #5a657a;
  --line: #e3e8f2;
  --paper: #f5f7fb;
  --white: #ffffff;
  --header-height: 74px;
  --shell: min(1180px, calc(100% - 48px));
  color-scheme: light;
  font-family:
    "HarmonyOS Sans SC", "HarmonyOS Sans", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
}

a[href],
button:not(:disabled),
summary {
  cursor: pointer;
}

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 220ms ease,
    color 220ms ease,
    height 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(11, 16, 29, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}

.site-header.is-scrolled .brand-tagline {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 560;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  opacity: 0.88;
  transition: opacity 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  opacity: 1;
}

.main-nav a[aria-current="page"] {
  font-weight: 700;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-consult {
  min-height: 44px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 650;
  opacity: 0.88;
}

.header-consult:hover {
  opacity: 1;
}

.header-consult svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 680;
  transition: transform 180ms ease, background 200ms ease, color 200ms ease;
}

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

.site-header.is-scrolled .header-cta {
  color: #fff;
  background: var(--ink);
}

.mobile-nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 12px;
  align-items: center;
  gap: 6px;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.site-header.is-scrolled .mobile-nav-toggle {
  background: var(--paper);
  border-color: var(--line);
}

.mobile-nav-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* Heroes */
.portal-hero,
.product-hero {
  position: relative;
  min-height: min(860px, 100svh);
  padding: calc(var(--header-height) + 56px) 0 76px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.portal-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(59, 130, 246, 0.36), transparent 34%),
    radial-gradient(circle at 16% 84%, rgba(56, 189, 248, 0.18), transparent 30%),
    linear-gradient(145deg, #060f26 0%, #0b2154 54%, #103278 100%);
}

.portal-hero::before,
.product-hero-dev::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 38%, #000 32%, transparent 84%);
  pointer-events: none;
}

.product-hero-ecom {
  background: #0b152d;
}

.product-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.product-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.product-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 40, 0.97) 0%, rgba(10, 27, 64, 0.88) 44%, rgba(10, 27, 64, 0.28) 80%),
    linear-gradient(0deg, rgba(6, 14, 34, 0.52), transparent 50%);
}

.product-hero-kefu {
  background:
    radial-gradient(circle at 80% 24%, rgba(56, 189, 248, 0.24), transparent 32%),
    radial-gradient(circle at 72% 74%, rgba(59, 130, 246, 0.3), transparent 36%),
    linear-gradient(140deg, #071936 0%, #0e2e5c 54%, #154584 100%);
}

.product-hero-dev {
  background:
    radial-gradient(circle at 84% 20%, rgba(99, 102, 241, 0.34), transparent 34%),
    radial-gradient(circle at 18% 80%, rgba(14, 165, 233, 0.2), transparent 30%),
    linear-gradient(145deg, #070d1f 0%, #101e46 56%, #172e69 100%);
}

.eyebrow-pill {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  color: #c4d7ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 660;
  letter-spacing: 0.05em;
}

.portal-hero h1,
.product-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 5.8vw, 82px);
  font-weight: 770;
  line-height: 1.06;
  letter-spacing: -0.048em;
}

.hero-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.8;
}

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

.hero-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
}

/* Portal Cards */
.portal-cards {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portal-card {
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  color: #fff;
  background: rgba(10, 24, 58, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(2, 9, 28, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  background: rgba(16, 39, 92, 0.76);
  border-color: rgba(154, 186, 255, 0.54);
}

.portal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-badge {
  padding: 5px 11px;
  color: #dbe7ff;
  background: rgba(59, 130, 246, 0.24);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.portal-index {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.portal-card h2 {
  margin: 16px 0 0;
  font-size: 26px;
  font-weight: 730;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.portal-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.75;
}

.portal-tags {
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.portal-tags li {
  padding: 4px 10px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 13px;
}

.portal-card-actions {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Buttons */
.btn-solid-blue,
.btn-outline-ink,
.btn-solid-white,
.btn-outline-white,
.portal-btn-primary,
.portal-btn-ghost {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 680;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.portal-btn-primary,
.btn-solid-white {
  color: var(--ink);
  background: #fff;
}

.portal-btn-primary:hover,
.btn-solid-white:hover {
  background: #e6efff;
  transform: translateY(-2px);
}

.portal-btn-ghost,
.btn-outline-white {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
}

.portal-btn-ghost:hover,
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.54);
  transform: translateY(-2px);
}

.btn-solid-blue {
  color: #fff;
  background: var(--blue);
}

.btn-solid-blue:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-outline-ink {
  color: var(--ink);
  background: #fff;
  border-color: #cfd8e8;
}

.btn-outline-ink:hover {
  color: var(--blue-deep);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* Sections & Kickers */
.section {
  padding: 112px 0;
  background: #fff;
}

.section-alt {
  background: var(--paper);
}

.section-tint {
  background: #edf2ff;
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(59, 130, 246, 0.26), transparent 34%),
    linear-gradient(145deg, #071330, #0d255c 64%, #113278);
}

.section-kicker {
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
}

.section-kicker span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.section-kicker p {
  margin: 0;
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
}

.section-kicker-light span {
  color: #93c5fd;
}

.section-header {
  padding-top: 54px;
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 52px;
  align-items: end;
}

.section-header h2,
.section-title {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-kicker + .section-title {
  padding-top: 54px;
  margin-bottom: 48px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.74);
}

/* Showcases & Mock Windows */
.showcase-stack {
  display: grid;
  gap: 28px;
}

.showcase-panel {
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.showcase-panel-dark {
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%, rgba(59, 130, 246, 0.28), transparent 36%),
    linear-gradient(145deg, #08183e, #0f2d6d 68%, #153c88);
  border-color: rgba(59, 130, 246, 0.28);
}

.showcase-eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 740;
  letter-spacing: 0.08em;
}

.showcase-panel-dark .showcase-eyebrow {
  color: #93c5fd;
}

.showcase-copy h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.showcase-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.showcase-panel-dark .showcase-lead {
  color: rgba(255, 255, 255, 0.78);
}

.showcase-points {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  list-style: none;
}

.showcase-points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.65;
}

.showcase-points li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.showcase-panel-dark .showcase-points li::before {
  background: #93c5fd;
}

.showcase-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ui-window {
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dfef;
  border-radius: 18px;
  box-shadow: 0 22px 52px rgba(10, 26, 68, 0.12);
}

.ui-window-bar {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #edf3fc;
  border-bottom: 1px solid #dce5f4;
  color: #465574;
  font-size: 13px;
  font-weight: 660;
}

.ui-dots {
  display: inline-flex;
  gap: 6px;
}

.ui-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b8c6e0;
}

.ui-dots i:first-child {
  background: #92a7cf;
}

.ui-window-body {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.ui-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ui-kpi {
  padding: 14px;
  background: var(--paper);
  border-radius: 14px;
}

.ui-kpi small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.ui-kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.ui-chat-user {
  justify-self: end;
  max-width: 88%;
  padding: 10px 14px;
  color: #163a7a;
  background: #e8f0ff;
  border-radius: 14px 14px 4px 14px;
  font-size: 14px;
  line-height: 1.6;
}

.ui-chat-ai {
  padding: 14px 16px;
  background: #f6f8fc;
  border: 1px solid #e3eaf6;
  border-radius: 14px 14px 14px 4px;
  font-size: 14px;
  line-height: 1.65;
}

.ui-chat-ai strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-deep);
  font-size: 13px;
}

.ui-pill-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ui-pill {
  padding: 3px 9px;
  color: #3f5378;
  background: #e8eef9;
  border-radius: 6px;
  font-size: 13px;
}

.ui-code-block {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  color: #dbe7ff;
  background: #0c1730;
  border-radius: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
}

p code,
li code {
  padding: 2px 7px;
  color: var(--blue-deep);
  background: #eef2ff;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

/* Grids & Cards */
.four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.glass-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
}

.glass-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.14);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.glass-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.glass-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.feature-card {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #b7ccf8;
  box-shadow: 0 16px 36px rgba(15, 44, 110, 0.08);
}

.feature-index {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #4f86ff, var(--blue));
  border-radius: 11px;
  font-size: 13px;
  font-weight: 760;
}

.feature-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-points {
  margin: 18px 0 0;
  padding: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 14px;
  color: #3d485c;
  font-size: 13px;
}

.feature-points li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

.step-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 18px;
}

.step-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.step-card h3 {
  margin: 12px 0 10px;
  font-size: 21px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.access-card {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid #d6e0f5;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(15, 44, 110, 0.06);
}

.access-card small {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.access-card h3 {
  margin: 8px 0 10px;
  font-size: 24px;
}

.access-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.access-links {
  display: grid;
  gap: 10px;
}

/* Interactive Demo Tabs */
.demo-tabs {
  margin: 0 0 20px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #e4ecfc;
  border-radius: 14px;
}

.demo-tabs button {
  min-height: 44px;
  padding: 8px 20px;
  color: #415273;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 660;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.demo-tabs button[aria-selected="true"] {
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 44, 110, 0.12);
}

.demo-stage {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5dfef;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(12, 30, 74, 0.08);
}

.demo-panel {
  padding: clamp(24px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.26fr);
  gap: clamp(24px, 4.5vw, 56px);
  align-items: center;
}

.demo-panel[hidden] {
  display: none !important;
}

.demo-panel-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.025em;
}

.demo-panel-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.demo-panel-copy ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: #3c485e;
  font-size: 14px;
  line-height: 1.9;
}

.timeline-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  color: var(--blue-deep);
  font-size: 14px;
}

.timeline-list strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.timeline-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Subscription Tiers */
.tier-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.tier-card-featured {
  border-color: var(--blue);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.14);
}

.tier-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  color: var(--blue-deep);
  background: #eef2ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.tier-card h3 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.tier-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.tier-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #3c485e;
  font-size: 14px;
  line-height: 1.85;
}

/* Desktop Downloads */
.desktop-download-box {
  margin-top: 36px;
  max-width: 820px;
  display: grid;
  gap: 14px;
}

.desktop-download-status {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.desktop-platform {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.desktop-platform summary {
  min-height: 62px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  font-size: 16px;
}

.desktop-platform summary::-webkit-details-marker {
  display: none;
}

.desktop-platform-icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.desktop-platform-min {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.desktop-current-badge {
  padding: 3px 9px;
  color: var(--blue-deep);
  background: #eef2ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

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

.desktop-download-list li {
  min-height: 54px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
}

.desktop-download-list strong {
  font-size: 15px;
}

.desktop-download-list small {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.desktop-download-link {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  background: #eef2ff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 660;
}

.desktop-download-link:hover {
  color: #fff;
  background: var(--blue);
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  min-height: 74px;
  padding: 18px 44px 18px 0;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 660;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 840px;
  margin: -4px 0 0;
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* Consultation & Footer */
.consultation {
  color: #fff;
  background: var(--ink);
}

.consultation-inner {
  width: var(--shell);
  margin-inline: auto;
  padding: 68px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 64px;
}

.consultation-eyebrow {
  margin: 0 0 12px;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.consultation h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.consultation-intro {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.consultation-qrcode {
  margin: 0;
  padding: 12px 12px 10px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  background: #fff;
  border-radius: 22px;
}

.consultation-qrcode img {
  width: 184px;
  height: 184px;
  display: block;
}

.consultation-qrcode figcaption {
  font-size: 13px;
  font-weight: 650;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  width: var(--shell);
  min-height: 108px;
  margin-inline: auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.footer-brand small {
  color: var(--muted);
  font-size: 13px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-weight: 560;
}

.footer-links a:hover,
.footer-company:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-copyright {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Consult Fallback Dialog */
.consult-dialog {
  width: min(370px, calc(100% - 32px));
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(4, 11, 29, 0.34);
  text-align: center;
}

.consult-dialog::backdrop {
  background: rgba(4, 11, 29, 0.52);
  backdrop-filter: blur(6px);
}

.consult-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
}

.consult-dialog > p {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.consult-dialog h2 {
  margin: 10px auto 20px;
  font-size: 24px;
}

.consult-dialog > img {
  width: 210px;
  height: 210px;
  display: block;
  margin-inline: auto;
}

.consult-dialog-hint {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* Legal Pages */
.legal-page {
  background: var(--paper);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px max(24px, calc((100vw - 920px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.legal-header .brand-tagline {
  color: var(--muted);
}

.legal-back {
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
}

.legal-main {
  width: min(880px, calc(100% - 36px));
  margin: 48px auto 72px;
  padding: clamp(28px, 5vw, 56px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.legal-main h1 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-content section {
  margin-top: 34px;
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  color: #3e495d;
  font-size: 15px;
  line-height: 1.85;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms cubic-bezier(0.2, 0.75, 0.25, 1), transform 640ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

@media (max-width: 980px) {
  .site-header {
    padding-inline: 16px;
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .header-consult {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    gap: 8px;
  }

  .site-header.is-menu-open .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    display: grid;
    gap: 4px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(10, 24, 56, 0.14);
  }

  .site-header.is-menu-open .main-nav a {
    min-height: 44px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    font-size: 15px;
  }

  .site-header.is-menu-open .main-nav a[aria-current="page"] {
    color: var(--blue-deep);
    background: #eef2ff;
  }

  .site-header.is-menu-open .main-nav a::after {
    display: none;
  }

  .portal-cards,
  .three-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-split,
  .section-header,
  .showcase-panel,
  .demo-panel,
  .consultation-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-header,
  .section-kicker + .section-title {
    padding-top: 38px;
  }

  .consultation-inner {
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
    --shell: calc(100% - 32px);
  }

  .brand-tagline {
    display: none;
  }

  .portal-hero,
  .product-hero {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 52px;
  }

  .section {
    padding: 76px 0;
  }

  .four-grid,
  .showcase-points,
  .feature-points,
  .ui-kpi-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-info {
    justify-content: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
