/* =====================================================================
   cubeAI Home — Unified Warm Editorial Design System
   Zero inline-style overrides, balanced light & dark surface hierarchy
   ===================================================================== */
:root {
  --bg-hero: #f3eee5;
  --bg-surface: #ffffff;
  --bg-paper: #f7f5f0;
  --bg-warm: #ede9e0;
  --bg-card: #fffefa;
  --bg-card-subtle: #f7f5f0;

  --ink: #222829;
  --ink-2: #525958;
  --muted: #68706e;
  --accent: #b64d2e;
  --accent-hover: #963c22;
  --accent-soft: rgba(182, 77, 46, 0.11);
  --line: #ded9ce;
  --line-strong: #cec7b9;

  --nav-ink: #1e2222;
  --nav-muted: #646a68;
  --nav-paper: rgba(255, 254, 250, 0.78);
  --nav-border: rgba(34, 40, 41, 0.1);
  --menu-paper: #fffefa;

  --shadow-sm: 0 2px 10px rgba(42, 36, 28, 0.04);
  --shadow-md: 0 12px 32px rgba(42, 36, 28, 0.07);
  --shadow-lg: 0 22px 54px rgba(42, 36, 28, 0.1);
}

html[data-theme="dark"] {
  --bg-hero: #201d1a;
  --bg-surface: #181817;
  --bg-paper: #1d1c1a;
  --bg-warm: #22211e;
  --bg-card: #262522;
  --bg-card-subtle: #201f1d;

  --ink: #efece6;
  --ink-2: #cbc6bd;
  --muted: #a6a198;
  --accent: #eb9872;
  --accent-hover: #f3ab89;
  --accent-soft: rgba(235, 152, 114, 0.14);
  --line: #36342f;
  --line-strong: #494640;

  --nav-ink: #f3f1ec;
  --nav-muted: #a8a39b;
  --nav-paper: rgba(28, 27, 25, 0.8);
  --nav-border: rgba(255, 255, 255, 0.11);
  --menu-paper: #242320;

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.48);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  overflow: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.design-icon {
  width: 1em;
  height: 1em;
  display: block;
}

/* =====================================================================
   Header & Floating Pill Navigation
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  pointer-events: none;
  color: var(--nav-ink);
}

.header-wrap {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
  pointer-events: auto;
  transition: max-width 0.55s cubic-bezier(0.16, 1, 0.3, 1), padding 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-bar {
  height: 68px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.35s ease,
              box-shadow 0.35s ease,
              border-radius 0.45s ease;
}

.is-scrolled .header-wrap {
  max-width: 960px;
  padding: 12px 16px 0;
}

.is-scrolled .header-bar {
  height: 52px;
  padding: 0 14px 0 16px;
  border-radius: 16px;
  background: var(--nav-paper);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--nav-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand:hover img {
  transform: scale(1.06);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-link {
  padding: 7px 11px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--nav-muted);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover {
  color: var(--nav-ink);
  background: var(--nav-border);
}

.nav-divider {
  width: 1px;
  height: 16px;
  margin: 0 4px;
  background: var(--nav-border);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--nav-ink);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.icon-button::-webkit-details-marker {
  display: none;
}

.icon-button:hover {
  background: var(--nav-border);
  color: var(--accent);
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.moon-icon,
.menu-icon-close {
  display: none;
}

html[data-theme="dark"] .sun-icon {
  display: none;
}

html[data-theme="dark"] .moon-icon {
  display: block;
}

.mobile-open .menu-icon-open {
  display: none;
}

.mobile-open .menu-icon-close {
  display: block;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

html[data-theme="dark"] .nav-cta {
  color: #1c1816;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.header-menu {
  position: relative;
}

.menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 148px;
  padding: 6px;
  border-radius: 12px;
  background: var(--menu-paper);
  border: 1px solid var(--nav-border);
  box-shadow: var(--shadow-md);
  color: var(--nav-ink);
}

.menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font: 500 13px/1.4 inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.menu button:hover {
  background: var(--nav-border);
}

.menu button[aria-pressed="true"] {
  color: var(--accent);
  font-weight: 600;
}

.menu button[aria-pressed="true"]::after {
  content: "✓";
  margin-left: 12px;
}

.mobile-toggle {
  display: none;
}

.mobile-drawer {
  margin-top: 8px;
  padding: 14px;
  border-radius: 16px;
  background: var(--menu-paper);
  border: 1px solid var(--nav-border);
  box-shadow: var(--shadow-lg);
}

.mobile-nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.mobile-nav-links a:hover {
  background: var(--nav-border);
  color: var(--ink);
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.mobile-btn-primary,
.mobile-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-btn-primary {
  background: var(--accent);
  color: #ffffff;
}

html[data-theme="dark"] .mobile-btn-primary {
  color: #1c1816;
}

.mobile-btn-secondary {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}

/* =====================================================================
   Shared Section Primitives & Buttons
   ===================================================================== */
.section {
  position: relative;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-surface {
  background: var(--bg-surface);
}

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

.section-warm {
  background: var(--bg-warm);
}

.section-header {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-header-center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.section-lead {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(182, 77, 46, 0.22);
}

html[data-theme="dark"] .btn-primary {
  color: #1c1816;
  box-shadow: 0 8px 22px rgba(235, 152, 114, 0.18);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.22s ease,
              box-shadow 0.22s ease;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
  }
}

.icon-badge {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
}

.icon-terra {
  background: rgba(182, 77, 46, 0.12);
  color: #b64d2e;
}

.icon-sage {
  background: rgba(47, 125, 109, 0.12);
  color: #2f7d6d;
}

.icon-indigo {
  background: rgba(75, 97, 166, 0.12);
  color: #4b61a6;
}

.icon-amber {
  background: rgba(186, 120, 32, 0.13);
  color: #a76815;
}

html[data-theme="dark"] .icon-terra {
  background: rgba(235, 152, 114, 0.14);
  color: #eb9872;
}

html[data-theme="dark"] .icon-sage {
  background: rgba(92, 184, 165, 0.14);
  color: #6bc4b2;
}

html[data-theme="dark"] .icon-indigo {
  background: rgba(139, 163, 248, 0.15);
  color: #9bb1f9;
}

html[data-theme="dark"] .icon-amber {
  background: rgba(240, 181, 88, 0.15);
  color: #f0b558;
}

/* Custom Clean Check Lists */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.check-list-single {
  grid-template-columns: 1fr;
  gap: 9px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 7.5px;
  width: 6px;
  height: 3.5px;
  border-left: 1.7px solid var(--accent);
  border-bottom: 1.7px solid var(--accent);
  transform: rotate(-45deg);
}

/* Ambient Background Drift */
.ambient {
  isolation: isolate;
  overflow: hidden;
  --ambient-state: paused;
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  animation-play-state: var(--ambient-state);
}

.ambient::before {
  width: 860px;
  height: 860px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at center, transparent 0 48px, rgba(190, 117, 90, 0.12) 49px 50px, transparent 51px 82px);
  animation: field-drift 16s ease-in-out infinite alternate;
}

.ambient::after {
  width: 600px;
  height: 600px;
  left: -300px;
  bottom: -360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 87, 0.28), transparent 68%);
  animation: field-drift 12s ease-in-out infinite alternate-reverse;
}

html[data-theme="dark"] .ambient::before {
  opacity: 0.45;
}

html[data-theme="dark"] .ambient::after {
  opacity: 0.25;
}

@keyframes field-drift {
  from { transform: translate3d(-32px, -14px, 0) scale(0.95); }
  to { transform: translate3d(44px, 36px, 0) scale(1.06); }
}

/* =====================================================================
   Hero Section
   ===================================================================== */
.hero {
  position: relative;
  padding: 124px 0 64px;
  background: var(--bg-hero);
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 32px 44px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

.hero-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-line > span {
  display: inline-block;
}

.hero-subtitle {
  margin-top: 18px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-products {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

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

/* Connection Orbit Visual */
.connection-scene {
  position: relative;
  height: 390px;
  width: 100%;
  max-width: 450px;
  justify-self: center;
  isolation: isolate;
}

.connection-scene::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 247, 237, 0.95) 0%, rgba(229, 204, 185, 0.52) 48%, transparent 72%);
  z-index: -1;
}

html[data-theme="dark"] .connection-scene::before {
  background: radial-gradient(circle, rgba(235, 152, 114, 0.16) 0%, rgba(92, 184, 165, 0.08) 50%, transparent 72%);
}

.connection-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--bg-card);
  color: var(--accent);
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(127, 76, 50, 0.14);
}

html[data-theme="dark"] .connection-core {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.connection-core img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.connection-core strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(185, 111, 73, 0.28);
  border-radius: 50%;
  animation: orbit-turn 14s linear infinite;
  animation-play-state: var(--ambient-state);
}

.orbit-one {
  width: 224px;
  height: 224px;
  margin: -112px 0 0 -112px;
}

.orbit-two {
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  animation-duration: 20s;
  animation-direction: reverse;
  border-style: dashed;
  border-color: rgba(146, 124, 98, 0.34);
}

.orbit-three {
  width: 368px;
  height: 368px;
  margin: -184px 0 0 -184px;
  animation-duration: 28s;
  border-color: rgba(185, 111, 73, 0.18);
}

.orbit i {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  left: 50%;
  top: -5.5px;
  margin-left: -5.5px;
  background: #bc5635;
  box-shadow: 0 0 0 6px rgba(188, 86, 53, 0.14);
}

.orbit-two i {
  background: #3d7d6e;
  box-shadow: 0 0 0 6px rgba(61, 125, 110, 0.16);
}

.orbit-three i {
  width: 8px;
  height: 8px;
  top: -4px;
  margin-left: -4px;
  background: #b38a5a;
  box-shadow: 0 0 0 5px rgba(179, 138, 90, 0.14);
}

@keyframes orbit-turn {
  to { transform: rotate(360deg); }
}

.connection-node {
  position: absolute;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.connection-node b {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.3;
}

.connection-node small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.node-web { top: 24px; left: 16px; }
.node-desktop { right: 4px; top: 158px; }
.node-code { bottom: 26px; left: 26px; }

/* Hero Trust Cards */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.hero-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-card) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.hero-card-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
}

.hero-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

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

/* =====================================================================
   Features Section
   ===================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 30px 28px;
  background: var(--bg-card-subtle);
}

.feature-card h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 700;
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* =====================================================================
   Account Pool Section (Caption & 4 Highlight Metrics)
   ===================================================================== */
.pool-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.pool-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.pool-metric {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.pool-metric strong {
  display: block;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.pool-metric h3 {
  margin: 10px 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.pool-metric p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* =====================================================================
   FAQ Section
   ===================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.faq-card {
  padding: 28px 30px;
}

.faq-num {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.faq-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.faq-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.faq-banner {
  margin-top: 28px;
  padding: 22px 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.faq-banner strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 2px;
}

.faq-banner span {
  font-size: 14px;
  color: var(--muted);
}

/* =====================================================================
   Scenarios Section
   ===================================================================== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scenario-card {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.scenario-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.scenario-head h3 {
  font-size: 19.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.scenario-head p {
  font-size: 14px;
  color: var(--muted);
}

.scenario-card .check-list {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* =====================================================================
   Capability Section (Deep Forest Slate Contrast)
   ===================================================================== */
.capability-section {
  background: #1f2d2b;
  color: #f4f1ea;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .capability-section {
  background: #151e1c;
}

.capability-section::before {
  opacity: 0.18;
  right: auto;
  left: -420px;
  top: -220px;
  background: repeating-radial-gradient(circle, transparent 0 64px, rgba(183, 204, 185, 0.45) 65px 66px, transparent 67px 106px);
}

.capability-section::after {
  left: auto;
  right: -280px;
  bottom: -320px;
  background: radial-gradient(circle, rgba(217, 137, 87, 0.3), transparent 68%);
}

.capability-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.capability-aside {
  position: sticky;
  top: 96px;
}

.capability-aside .section-header {
  margin-bottom: 28px;
}

.capability-aside .eyebrow {
  color: #e6b497;
}

.capability-aside h2 {
  color: #f7f4ec;
}

.capability-aside .section-lead {
  color: #b7c2be;
}

.conversation-demo {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-caption {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #9cb0a9;
}

.demo-question {
  padding: 11px 14px;
  border-radius: 12px 12px 2px 12px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  line-height: 1.65;
  color: #f0ece3;
}

.demo-answer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-answer-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: #e6b497;
  margin-bottom: 10px;
}

.demo-answer-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6bc4b2;
}

.demo-response {
  height: 36px;
}

.demo-response i {
  display: block;
  width: 92%;
  height: 4px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: rgba(196, 214, 198, 0.72);
  transform-origin: left;
  animation: response-line 7s ease-out infinite;
  animation-play-state: var(--ambient-state);
}

.demo-response i:nth-child(2) {
  width: 76%;
  animation-delay: 0.3s;
}

.demo-response i:nth-child(3) {
  width: 48%;
  animation-delay: 0.6s;
}

@keyframes response-line {
  0%, 10% { transform: scaleX(0); opacity: 0; }
  30%, 84% { transform: scaleX(1); opacity: 0.85; }
  100% { transform: scaleX(1); opacity: 0; }
}

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

.cap-card {
  padding: 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
  .cap-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(230, 180, 151, 0.35);
    transform: translateY(-2px);
  }
}

.cap-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(230, 180, 151, 0.14);
  color: #e6b497;
  font-size: 21px;
}

.cap-card h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 700;
  color: #f7f4ec;
}

.cap-card p {
  font-size: 14px;
  color: #b7c2be;
  margin-bottom: 20px;
}

.check-list-dark {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.check-list-dark li {
  color: #e4e2da;
}

.check-list-dark li::before {
  background: rgba(230, 180, 151, 0.16);
  box-shadow: inset 0 0 0 1px rgba(230, 180, 151, 0.32);
}

.check-list-dark li::after {
  border-color: #e6b497;
}

/* =====================================================================
   Advantages & Impact Sections
   ===================================================================== */
.four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.advantage-card {
  padding: 26px 24px;
  background: var(--bg-card-subtle);
  display: flex;
  flex-direction: column;
}

.advantage-card h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 18.5px;
  font-weight: 700;
}

.advantage-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.advantage-card .check-list {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.impact-card {
  padding: 26px 24px;
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
}

.impact-num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
  opacity: 0.85;
}

.impact-card h3 {
  margin-top: 16px;
  margin-bottom: 6px;
  font-size: 18.5px;
  font-weight: 700;
}

.impact-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.impact-card .check-list {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* =====================================================================
   Closing Section & Pelican Showcase
   ===================================================================== */
.closing-section {
  text-align: center;
  background: var(--bg-hero);
  border-bottom: 0;
}

.closing-content {
  max-width: 960px;
  margin: 0 auto;
}

.closing-content h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.closing-lead {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
}

.pelican-showcase {
  margin: 34px auto 0;
  max-width: 900px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pelican-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-card-subtle);
  font-size: 12px;
  color: var(--muted);
}

.pelican-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pelican-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.pelican-dots i:first-child {
  background: var(--accent);
  opacity: 0.7;
}

.pelican-title {
  font-weight: 600;
  color: var(--ink);
}

.pelican-hint {
  font-size: 11px;
  color: var(--muted);
}

.pelican-film {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #eaf3fe;
  transition: filter 0.25s ease;
}

html[data-theme="dark"] .pelican-film {
  filter: brightness(0.88) contrast(1.03);
}

.closing-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  padding: 44px 0 32px;
  background: #181816;
  color: #a6a298;
  border-top: 1px solid #2b2a26;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid #292824;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #f3efe7;
  font-size: 17px;
  font-weight: 700;
}

.footer-logo img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 13.5px;
  color: #949087;
  max-width: 420px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13.5px;
}

.footer-links a {
  color: #b7b3a9;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #eb9872;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 13px;
  color: #7d7971;
}

/* =====================================================================
   Scroll Reveal & Reduced Motion
   ===================================================================== */
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
}

.motion-paused .reveal {
  animation: none !important;
}

.reveal {
  animation: content-arrive 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes content-arrive {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient::before,
  .ambient::after,
  .orbit,
  .reveal,
  .demo-response i {
    animation: none !important;
  }
  .btn, .card, .cap-card, .header-wrap, .header-bar, .brand img, .nav-cta {
    transition: none !important;
  }
  .card:hover, .cap-card:hover, .btn:hover, .nav-cta:hover {
    transform: none !important;
  }
}

/* =====================================================================
   Responsive Breakpoints
   ===================================================================== */
@media (max-width: 1024px) {
  .nav-center {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-products,
  .hero-actions {
    justify-content: center;
  }

  .connection-scene {
    height: 350px;
    max-width: 410px;
  }

  .orbit-three {
    width: 340px;
    height: 340px;
    margin: -170px 0 0 -170px;
  }

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

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

  .capability-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .capability-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

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

  .faq-grid,
  .scenario-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .container {
    padding: 0 18px;
  }

  .header-wrap {
    padding: 0 14px;
  }

  .is-scrolled .header-wrap {
    padding: 10px 10px 0;
  }

  .section {
    padding: 58px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .hero {
    padding: 96px 0 44px;
  }

  .hero h1 {
    font-size: clamp(28px, 8.2vw, 42px);
  }

  .hero-subtitle {
    font-size: 14.5px;
  }

  .product-pill {
    font-size: 12.5px;
    padding: 5px 11px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 14px;
  }

  .connection-scene {
    height: 286px;
    max-width: 316px;
  }

  .connection-core {
    width: 86px;
    height: 86px;
    border-radius: 20px;
  }

  .connection-core img {
    width: 30px;
    height: 30px;
  }

  .connection-core strong {
    font-size: 14px;
  }

  .orbit-one {
    width: 164px;
    height: 164px;
    margin: -82px 0 0 -82px;
  }

  .orbit-two {
    width: 226px;
    height: 226px;
    margin: -113px 0 0 -113px;
  }

  .orbit-three {
    width: 280px;
    height: 280px;
    margin: -140px 0 0 -140px;
  }

  .connection-node {
    padding: 8px 11px;
  }

  .connection-node b {
    font-size: 12px;
  }

  .connection-node small {
    font-size: 10px;
  }

  .node-web { top: 8px; left: 2px; }
  .node-desktop { right: 0; top: 118px; }
  .node-code { bottom: 10px; left: 8px; }

  .hero-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-card {
    padding: 18px;
  }

  .feature-card,
  .faq-card,
  .scenario-card,
  .cap-card,
  .advantage-card,
  .impact-card {
    padding: 22px 20px;
  }

  .pool-metrics,
  .four-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pool-metric {
    padding: 18px 20px;
  }

  .pool-metric strong {
    font-size: 22px;
  }

  .pool-caption {
    text-align: left;
    font-size: 12px;
  }

  .faq-banner {
    padding: 18px 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .check-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pelican-hint {
    display: none;
  }

  .closing-actions .btn {
    flex: 1 1 130px;
  }

  .footer-inner {
    gap: 20px;
    padding-bottom: 20px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 10px 12px;
  }
}
