body.landing-page {
  color-scheme: dark;
  --bg: #191b1e;
  --bg-card: #1d2024;
  --bg-elevated: #24272c;
  --border: #34383f;
  --border-hover: #515761;
  --text: #e4e6e9;
  --text-secondary: #a2a8b1;
  --text-muted: #858c95;
  --orange-400: #e59a62;
  --orange-500: #c46a2d;
  --orange-600: #a95326;
  --orange-700: #863f20;
  --gradient: #c46a2d;
  --gradient-subtle: #2b211a;
  --glow: none;
  --radius: 3px;
  --radius-sm: 3px;
  --max-width: 1320px;
  --nav-height: 52px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 13px/1.55 Inter, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
.landing-page::before,
.landing-page .hero-orb,
.landing-page .hero-glow,
.landing-page .dot-grid,
.landing-page .features-orb,
.landing-page .bento-corners,
.landing-page .cta-bg-glow,
.landing-page .cta-floating-icons,
.landing-page .cta-mask { display: none; }
.landing-page :is(*, *::before, *::after) { box-sizing: border-box; }
.landing-page :is(a, button):focus-visible { outline: 2px solid #c46a2d; outline-offset: 3px; }
.landing-page .container { width: min(calc(100% - 48px), 1320px); max-width: 1320px; margin: 0 auto; padding: 0; }
.landing-page .navbar { height: 52px; background: #1d2024; border-bottom: 1px solid var(--border); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.landing-page .navbar:hover { border-color: var(--border); }
.landing-page .navbar .container { width: min(calc(100% - 48px), 1320px); }
.landing-page .navbar-brand { gap: 8px; color: var(--text); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.landing-page .navbar-brand img { width: 20px; height: 20px; border-radius: 3px !important; }
.landing-page .navbar-brand span,
.landing-page .footer-brand .logo span { background: none; -webkit-background-clip: border-box; -webkit-text-fill-color: currentColor; background-clip: border-box; }
.landing-page .navbar-links { gap: 4px; }
.landing-page .navbar-links a { min-height: 32px; display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 3px; color: var(--text-secondary); font-size: 12px; transition: background .12s, color .12s; }
.landing-page .navbar-links a:hover { background: var(--bg-elevated); color: var(--text); }
.landing-page .navbar-links .nav-cta { padding: 6px 10px !important; border: 1px solid #745034; background: transparent !important; color: var(--text) !important; font-weight: 500 !important; border-radius: 8px !important; transform: none !important; }
.landing-page .navbar-links .nav-cta:hover { border-color: #a95a2e; background: #2b211a !important; color: #fff !important; }
.landing-page .nav-toggle { z-index: 102; }
.landing-page .nav-toggle span { background: var(--text); }
.landing-page .hero { min-height: 0; align-items: stretch; padding: 52px 0 40px; border-bottom: 1px solid var(--border); overflow: visible; }
.landing-page .hero .container { width: min(calc(100% - 48px), 1320px); grid-template-columns: minmax(0, 1fr); align-items: center; justify-items: start; gap: 0; padding: 0; text-align: left; }
.landing-page .hero-text { width: 100%; max-width: 1040px; min-width: 0; }

.landing-page .hero h1 { max-width: 570px; margin: 0 0 14px; color: var(--text); font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.12; letter-spacing: -.045em; }
.landing-page .gradient-text { background: none !important; color: #dc8a4d !important; -webkit-text-fill-color: currentColor !important; }
.landing-page .hero .hero-accent { color: #dc8a4d; }
.landing-page .hero p { max-width: 500px; margin: 0 0 22px; color: var(--text-secondary); font-size: 14px; line-height: 1.65; }
.landing-page .hero-buttons { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.landing-page .btn { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 3px; box-shadow: none; font-size: 12px; font-weight: 500; transition: background .12s, border-color .12s, color .12s; }
.landing-page .btn:hover { transform: none; box-shadow: none; }
.landing-page .btn-primary { border-color: #a95326; background: #a95326; color: #fff4ea; }
.landing-page .btn-primary:hover { border-color: #c46a2d; background: #c46a2d; color: #fff; }
.landing-page .btn-outline { background: var(--bg-card); color: var(--text); }
.landing-page .btn-outline:hover { border-color: #555d68; background: var(--bg-elevated); color: var(--text); }

.landing-page section:not(.hero) { position: relative; padding: 58px 0; border-bottom: 1px solid var(--border); }
.landing-page .features::before,
.landing-page .monitor::before,
.landing-page .arch::before { display: none; }
.landing-page .section-header { max-width: 760px; margin: 0 0 24px; text-align: left; }
.landing-page .section-header h2 { margin: 0 0 6px; color: var(--text); font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.035em; }
.landing-page .section-header p { color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.landing-page .bento-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.landing-page .bento-card { border: 1px solid var(--border); border-radius: 3px; background: var(--bg-card); box-shadow: none; transition: border-color .12s, background .12s; }
.landing-page .bento-card::before { display: none; }
.landing-page .bento-card:hover { border-color: #515761; background: #202328; box-shadow: none; }
.landing-page .bento-card-inner { padding: 16px; }
.landing-page .bento-corners { opacity: .25; }
.landing-page .bento-feature-row { gap: 10px; padding: 10px; border: 1px solid #30343a; border-radius: 3px; background: #202328; transition: border-color .12s, background .12s; }
.landing-page .bento-feature-row:hover { border-color: #515761; background: #24272c; transform: none; }
.landing-page .bento-feature-row .feat-icon { width: 30px; height: 30px; border: 1px solid #59402e; border-radius: 3px; background: #30231b; }
.landing-page .bento-feature-row .feat-icon svg { color: #dc8a4d; }
.landing-page .bento-feature-row .feat-text h4 { color: var(--text); font-size: 11px; font-weight: 500; }
.landing-page .bento-feature-row .feat-text p { color: var(--text-secondary); font-size: 10px; }
.landing-page .audio-float-card { display: none; }
.landing-page .demo-cluster { padding: 12px; border: 1px solid #34383f; border-radius: 3px; background: #191b1e; box-shadow: none; }
.landing-page .demo-cluster.drag-over { border-color: #9b5b32; background: #282019; box-shadow: inset 0 0 0 1px #9b5b32; }
.landing-page .demo-cluster-header { margin-bottom: 9px; }
.landing-page .demo-cluster-header h4 { color: var(--text); font-size: 11px; font-weight: 500; }
.landing-page .demo-cluster-header h4 svg,
.landing-page .demo-service svg { color: #bc875f; }
.landing-page .demo-cluster-header .notif-pill { width: 24px; height: 24px; border-radius: 3px; }
.landing-page .demo-cluster-header .notif-pill.active { border-color: #415449; background: #26332b; color: #b4d2bd; }
.landing-page .demo-service { padding: 7px 9px; border: 1px solid var(--border); border-radius: 3px; background: #24272c; color: var(--text-secondary); font-size: 10px; }
.landing-page .demo-service:hover { transform: none; border-color: #555d68; box-shadow: none; }
.landing-page .demo-config-cluster { padding: 11px; border: 1px solid var(--border); border-radius: 3px; background: #202328; }
.landing-page .demo-config-cluster h5 { color: var(--text); font-size: 11px; }
.landing-page .demo-config-item { padding: 4px 7px; border-radius: 3px; background: #24272c; color: var(--text-secondary); font-size: 9px; }
.landing-page .demo-config-item.enabled { border-color: #415449; background: #26332b; color: #b4d2bd; }
.landing-page .monitor-grid { border: 1px solid var(--border); border-radius: 3px; background: var(--bg-card); box-shadow: none; }
.landing-page .monitor-chart linearGradient stop { stop-color: #c46a2d !important; stop-opacity: .3 !important; }
.landing-page .monitor-chart .chart-line { stroke: #c46a2d; filter: none; }
.landing-page .monitor-chart .chart-fill { fill: #c46a2d; opacity: .08; }
.landing-page .monitor-chart .chart-dot { fill: #c46a2d; filter: none; animation: none; }
.landing-page .monitor-chart animate { display: none; }
.landing-page .monitor-alerts { display: none; }
.landing-page .arch-flow-wrap { border: 1px solid var(--border); border-radius: 3px; background: var(--bg-card); padding: 12px 0; }
.landing-page .arch-flow pattern circle { fill: #8a5a3b !important; opacity: .08 !important; }
.landing-page .arch-flow .edge-path { stroke: #514236 !important; }
.landing-page .arch-flow .edge-flow { stroke: #c27840 !important; opacity: .55 !important; animation: none; }
.landing-page .arch-flow .group-rect { stroke: #865332 !important; fill: #26201b !important; rx: 3; ry: 3; }
.landing-page .arch-flow rect[fill="none"] { stroke: #865332 !important; }
.landing-page .arch-flow .group-label,
.landing-page .arch-flow .engine-label { fill: #e59a62 !important; }
.landing-page .arch-flow .svc-node { fill: #202328 !important; stroke: #504338 !important; filter: none; rx: 3; ry: 3; stroke-dasharray: none; }
.landing-page .arch-flow text { fill: #c4cad2 !important; }
.landing-page .arch-flow .status-ok { fill: #9fc5aa !important; }
.landing-page .arch-flow .status-warning { fill: #c68a53 !important; }
.landing-page .arch-flow .status-active,
.landing-page .arch-flow .engine-pulse { fill: #d27a3e !important; }
.landing-page .arch-legend-item:nth-child(1) .swatch { border-color: #706254 !important; background: #2b2926 !important; }
.landing-page .arch-legend-item:nth-child(2) .swatch { border-color: #865332 !important; background: #30241c !important; }
.landing-page .arch-legend-item:nth-child(3) .swatch { border-color: #68513e !important; background: #2a241f !important; }
.landing-page .cta { padding-top: 58px; padding-bottom: 58px; border: 0; }
.landing-page .cta-card { max-width: 100%; padding: 28px; border: 1px solid var(--border); border-radius: 3px; background: var(--bg-card); box-shadow: none; }
.landing-page .cta-card::before { display: none; }
.landing-page .cta-content { max-width: 640px; margin: 0 auto; text-align: center; }
.landing-page .cta-content h2 { color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.landing-page .cta-content p { margin: 8px 0 18px; color: var(--text-secondary); font-size: 12px; }
.landing-page .cta-content .hero-buttons { justify-content: center; }
.landing-page footer { padding: 28px 0 18px; border-top: 1px solid var(--border); background: #191b1e; }
.landing-page .footer-grid { gap: 24px; margin-bottom: 22px; }
.landing-page .footer-brand .logo { gap: 8px; color: var(--text); font-size: 11px; letter-spacing: .1em; }
.landing-page .footer-brand .logo img { width: 20px; height: 20px; border-radius: 3px !important; }
.landing-page .footer-brand p { max-width: 280px; color: var(--text-secondary); font-size: 11px; line-height: 1.6; }
.landing-page .footer-column h3 { margin-bottom: 9px; color: var(--text-muted); font-size: 9px; letter-spacing: .1em; }
.landing-page .footer-column ul { gap: 6px; }
.landing-page .footer-column a { color: var(--text-secondary); font-size: 11px; }
.landing-page .footer-column a:hover { color: var(--text); }
.landing-page .footer-bottom { padding-top: 12px; border-top: 1px solid #2b2e33; color: var(--text-muted); font-size: 10px; }
.landing-page .toast { bottom: 20px; max-width: calc(100vw - 32px); padding: 10px 12px; border: 1px solid var(--border); border-radius: 3px; background: #24272c; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); color: var(--text); }
.landing-page .toast svg { color: #9fc5aa; }
.landing-page .reveal,
.landing-page .reveal.visible { opacity: 1; transform: none; transition: none; }
@media (max-width: 900px) {
  .landing-page .hero .container { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .landing-page .hero-visual { max-width: 720px; width: 100%; margin: 0 auto; }
  .landing-page .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-page .bento-workspace,
  .landing-page .bento-config { grid-column: 1 / -1; }
  .landing-page .bento-feat-top,
  .landing-page .bento-feat-bot { grid-column: auto; }
  .landing-page .bento-config-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .landing-page .container,
  .landing-page .hero .container,
  .landing-page .navbar .container { width: calc(100% - 32px); }
  .landing-page .navbar-links { top: 52px; right: -100%; width: min(280px, 88vw); height: calc(100dvh - 52px); flex-direction: column; align-items: stretch; padding: 12px; border-top: 1px solid var(--border); background: #1d2024; backdrop-filter: none; }
  .landing-page .navbar-links.open { right: 0; }
  .landing-page .navbar-links a { width: 100%; }
  .landing-page .nav-toggle { display: flex; }
  .landing-page .hero { padding-top: 52px; }
  .landing-page .hero .container { padding: 24px 0 0; }
  .landing-page section:not(.hero) { padding: 42px 0; }
  .landing-page .section-header { margin-bottom: 18px; }
  .landing-page .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-page .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .landing-page .hero h1 { font-size: clamp(30px, 9vw, 38px); }
  .landing-page .hero-buttons { align-items: stretch; }
  .landing-page .hero-buttons .btn { flex: 1 1 150px; }

  .landing-page .bento-grid { grid-template-columns: minmax(0, 1fr); }
  .landing-page .bento-workspace,
  .landing-page .bento-config,
  .landing-page .bento-feat-top,
  .landing-page .bento-feat-bot { grid-column: 1; }
  .landing-page .bento-config-grid { grid-template-columns: minmax(0, 1fr); }
  .landing-page .arch-flow { margin-left: 0; }
  .landing-page .cta-card { padding: 22px 14px; }
  .landing-page .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .landing-page .footer-brand { grid-column: 1 / -1; }
  .landing-page .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-page *, .landing-page *::before, .landing-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Give the public landing page a little more warmth and visual flow than the app shell. */
body.landing-page {
  --radius: 14px;
  --radius-sm: 8px;
}
.landing-page .navbar-links a,
.landing-page .navbar-links .nav-cta { border-radius: 8px !important; }
.landing-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(860px, 100svh);
  align-items: center;
  padding-top: 68px;
  padding-bottom: 56px;
  border-bottom: 0;
  background: #191b1e;
}
.landing-page .hero-linework {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .34;
}
.landing-page .hero-linework svg {
  position: absolute;
  top: -9%;
  right: -4vw;
  width: min(100vw, 1440px);
  height: 118%;
}
.landing-page .hero-linework path {
  fill: none;
  stroke: #915832;
  stroke-width: 1;
  opacity: .58;
  vector-effect: non-scaling-stroke;
}
.landing-page .hero-linework .flow-node {
  fill: #c46a2d;
  opacity: .68;
}
.landing-page .hero .container { position: relative; z-index: 1; gap: clamp(36px, 6vw, 82px); }
.landing-page .hero-tag { padding: 6px 10px; border-radius: 999px; background: #2b211a; }
.landing-page .hero h1 { max-width: 980px; margin: 0 0 22px; font-size: clamp(54px, 8.5vw, 112px); line-height: .98; letter-spacing: -.07em; font-weight: 600; }
.landing-page .hero .hero-accent { color: #dc8a4d; }
.landing-page .hero p { max-width: 650px; margin-bottom: 30px; font-size: 16px; line-height: 1.7; }
.landing-page .hero-buttons { gap: 12px; }
.landing-page .hero-buttons .btn { min-height: 46px; padding: 11px 18px; border-radius: 8px; }
.landing-page .hero-buttons .btn { min-height: 42px; padding: 9px 15px; border-radius: 8px; }
.landing-page .btn-primary { background: #a95326; border-color: #a95326; color: #fff4ea; }
.landing-page .btn-primary:hover { background: #c46a2d; border-color: #c46a2d; color: #fff; }
.landing-page .btn-outline { background: rgba(29, 32, 36, .72); border-color: #4a5059; border-radius: 8px; }
.landing-page .btn-outline:hover { background: #282c32; border-color: #69727e; }

.landing-page section:not(.hero) { padding-top: 72px; padding-bottom: 72px; border-bottom: 0; }
.landing-page .features { background: #1b1d21; }
.landing-page .section-header { margin-bottom: 30px; }
.landing-page .section-header h2 { font-size: clamp(24px, 3vw, 34px); }
.landing-page .section-header p { max-width: 620px; font-size: 13px; }
.landing-page .bento-grid { gap: 14px; }
.landing-page .bento-card { border-radius: 14px; }
.landing-page .bento-card-inner { padding: 20px; }
.landing-page .bento-feature-row { padding: 12px; border-radius: 9px; }
.landing-page .bento-feature-row .feat-icon { border-radius: 8px; }
.landing-page .demo-cluster { padding: 14px; border-radius: 10px; }
.landing-page .demo-cluster-header .notif-pill { border-radius: 6px; }
.landing-page .demo-service { border-radius: 7px; }
.landing-page .demo-config-cluster { border-radius: 9px; }
.landing-page .demo-config-item { border-radius: 999px; }
.landing-page .monitor-grid { border-radius: 14px; }
.landing-page .arch-flow-wrap { border-radius: 14px; }
.landing-page .cta-card { padding: 36px; border-radius: 16px; background: #1f2227; }
.landing-page .cta-content .btn { border-radius: 8px; }
.landing-page .toast { border-radius: 8px; }
@media (max-width: 900px) {
  .landing-page .hero { min-height: 0; padding-top: 96px; padding-bottom: 64px; }
  .landing-page .hero .container { gap: 0; }
}
@media (max-width: 520px) {
  .landing-page .hero { padding-top: 78px; padding-bottom: 48px; }
  .landing-page .hero-linework { opacity: .18; }
  .landing-page .hero-linework svg { width: 112vw; }
  .landing-page .hero h1 { font-size: clamp(34px, 10.5vw, 50px); line-height: 1.03; }
  .landing-page .hero p { font-size: 14px; }
  .landing-page .hero-buttons .btn { flex: 1 1 150px; }
  .landing-page section:not(.hero) { padding-top: 46px; padding-bottom: 46px; }
  .landing-page .bento-card { border-radius: 11px; }
  .landing-page .cta-card { padding: 24px 16px; border-radius: 12px; }
}
