/* =========================================================
   怡途 PMS — official website
   Palette: deep space violet, primary #5a4b9b
   ========================================================= */

:root {
  --violet-900: #241b43;
  --violet-800: #34285f;
  --violet-700: #46377f;
  --violet-600: #5a4b9b;
  --violet-500: #7665c9;
  --violet-400: #9a8cf0;
  --violet-300: #c3b8ff;
  --violet-200: #ded8ff;

  --mint: #67e8c8;
  --amber: #f3c77a;
  --sky: #7cc7ff;

  --bg: #07050d;
  --bg-soft: #0d0a17;
  --panel: rgba(18, 14, 31, 0.78);
  --panel-solid: #120e1f;
  --ink: #f4f1ff;
  --muted: #b3abcc;
  --faint: #8a82aa;

  --line: rgba(154, 140, 240, 0.15);
  --line-strong: rgba(154, 140, 240, 0.32);

  --radius: 18px;
  --radius-lg: 26px;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --container: 1180px;
  color-scheme: dark;
}

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

html {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(1100px 760px at 86% -8%, rgba(90, 75, 155, 0.3), transparent 62%),
    radial-gradient(860px 680px at -6% 22%, rgba(90, 75, 155, 0.16), transparent 58%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(154, 140, 240, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 140, 240, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 78%);
}

::selection {
  background: rgba(154, 140, 240, 0.4);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0712;
}

::-webkit-scrollbar-thumb {
  background: var(--violet-800);
  border-radius: 999px;
  border: 2px solid #0a0712;
}

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

button {
  font: inherit;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--violet-200);
  color: #140f24;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* ---------- background layers ---------- */

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(118, 101, 201, 0.16) 0%, transparent 62%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow.is-active {
    opacity: 1;
  }
}

/* ---------- layout utilities ---------- */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: clamp(84px, 9vw, 132px) 0;
}

.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--violet-300);
  text-transform: uppercase;
}

.eyebrow.center {
  justify-content: center;
}

.pulse {
  position: relative;
  margin-top: 0.42em;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(103, 232, 200, 0.55);
  animation: pulse 2.8s ease-out infinite;
}

.grad {
  white-space: nowrap;
  background: linear-gradient(102deg, #e7e1ff 0%, #b7aaff 38%, #8b78ee 68%, #67e8c8 118%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(135deg, #6c59b4 0%, #5a4b9b 62%, #4a3c83 100%);
  box-shadow:
    0 14px 34px -14px rgba(90, 75, 155, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.22) 48%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 20px 44px -14px rgba(90, 75, 155, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn .icon {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(195, 184, 255, 0.5);
  background: rgba(154, 140, 240, 0.09);
  box-shadow: 0 14px 30px -18px rgba(90, 75, 155, 0.8);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  translate: 0 22px;
  transition:
    opacity 0.75s ease,
    translate 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-in {
  opacity: 1;
  translate: none;
}

.js .card-grid .reveal:nth-child(2),
.js .bento .reveal:nth-child(2) {
  transition-delay: 0.07s;
}

.js .card-grid .reveal:nth-child(3),
.js .bento .reveal:nth-child(3) {
  transition-delay: 0.14s;
}

.js .card-grid .reveal:nth-child(4) {
  transition-delay: 0.06s;
}

.js .card-grid .reveal:nth-child(5) {
  transition-delay: 0.13s;
}

.js .card-grid .reveal:nth-child(6) {
  transition-delay: 0.2s;
}

.js .bento .reveal:nth-child(4) {
  transition-delay: 0.21s;
}

.js .bento .reveal:nth-child(5) {
  transition-delay: 0.06s;
}

.js .bento .reveal:nth-child(6) {
  transition-delay: 0.13s;
}

.js .bento .reveal:nth-child(7) {
  transition-delay: 0.2s;
}

.js .bento .reveal:nth-child(8) {
  transition-delay: 0.27s;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 5, 13, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(195, 184, 255, 0.32);
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(154, 140, 240, 0.28), rgba(90, 75, 155, 0.22)),
    #110d1e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 22px -12px rgba(90, 75, 155, 0.9);
  color: var(--violet-200);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-text strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand-text em {
  font-style: normal;
  color: var(--violet-300);
}

.brand-text small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.17em;
  color: var(--faint);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--violet-300), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

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

.nav-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid rgba(195, 184, 255, 0.3);
  border-radius: 999px;
  background: rgba(154, 140, 240, 0.14);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-login:hover {
  border-color: rgba(195, 184, 255, 0.52);
  background: rgba(154, 140, 240, 0.2);
  box-shadow: 0 12px 26px -18px rgba(90, 75, 155, 0.9);
  color: var(--ink);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(154, 140, 240, 0.09);
  color: var(--ink);
}

.theme-toggle .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease;
}

.theme-toggle:hover .icon {
  transform: rotate(18deg);
}

.theme-toggle .theme-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .theme-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .theme-moon {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--violet-200);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Just above the mobile breakpoint the header gets tight: tighten the gaps so
   the five nav labels and both account buttons stay on one row. */
@media (min-width: 901px) and (max-width: 1080px) {
  .nav {
    gap: 16px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-login,
  .nav-trial {
    white-space: nowrap;
  }

  .nav-login {
    padding: 7px 12px;
  }

  .nav-trial {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 158px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 54px;
  align-items: center;
}

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

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 4.85vw, 4.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-lede {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

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

.hero-actions .btn {
  min-height: 50px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 0.78rem;
}

.dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(103, 232, 200, 0.7);
}

/* ---------- hero console ---------- */

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.orbit {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(154, 140, 240, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-a {
  width: 610px;
  height: 610px;
  animation: orbit 26s linear infinite;
}

.orbit-b {
  width: 830px;
  height: 830px;
  border-color: rgba(154, 140, 240, 0.07);
  animation: orbit 42s linear infinite reverse;
}

.orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-300);
  box-shadow: 0 0 16px 5px rgba(154, 140, 240, 0.55);
}

@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.console {
  position: relative;
  width: 100%;
  max-width: 560px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(28, 22, 48, 0.94), rgba(11, 8, 20, 0.97)) padding-box,
    linear-gradient(140deg, rgba(195, 184, 255, 0.55), rgba(103, 232, 200, 0.12) 45%, rgba(90, 75, 155, 0.45)) border-box;
  box-shadow:
    0 45px 110px -35px rgba(90, 75, 155, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2.5deg);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(154, 140, 240, 0.13);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(195, 184, 255, 0.24);
}

.window-dots i:nth-child(1) {
  background: rgba(243, 199, 122, 0.5);
}

.window-dots i:nth-child(2) {
  background: rgba(154, 140, 240, 0.5);
}

.window-dots i:nth-child(3) {
  background: rgba(103, 232, 200, 0.5);
}

.console-title {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.console-tag {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.console-body {
  padding: 16px;
}

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

.kpi {
  position: relative;
  padding: 11px 12px 10px;
  border: 1px solid rgba(154, 140, 240, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.024);
}

.kpi > span:first-child {
  display: block;
  color: var(--faint);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
}

.kpi strong {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 3px;
  color: #f0edff;
  font-family: var(--font-mono);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.kpi strong small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
}

.kpi em {
  position: absolute;
  top: 11px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-style: normal;
  letter-spacing: 0.02em;
}

.kpi .up {
  color: var(--mint);
}

.kpi .flat {
  color: var(--faint);
}

.chart-card {
  margin-top: 9px;
  padding: 12px 12px 6px;
  border: 1px solid rgba(154, 140, 240, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.66rem;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.legend i {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mint), var(--violet-300));
}

.chart {
  width: 100%;
  height: auto;
  margin-top: 6px;
  overflow: visible;
}

.js .reveal .chart-line {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
}

.js .reveal.is-in .chart-line {
  animation: draw-line 1.8s 0.25s ease forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

.ai-insight {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(154, 140, 240, 0.2);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(90, 75, 155, 0.28), rgba(103, 232, 200, 0.055));
}

.ai-badge {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border: 1px solid rgba(103, 232, 200, 0.32);
  border-radius: 8px;
  background: rgba(103, 232, 200, 0.11);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  animation: badge-glow 4s ease-in-out infinite;
}

@keyframes badge-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(103, 232, 200, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(103, 232, 200, 0.22);
  }
}

.ai-insight-copy {
  min-width: 0;
}

.ai-insight-copy strong {
  display: block;
  color: #e9e4ff;
  font-size: 0.7rem;
  font-weight: 600;
}

.ai-insight-copy span {
  display: block;
  margin-top: 1px;
  color: var(--faint);
  font-size: 0.6rem;
}

.mini-btn {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid rgba(103, 232, 200, 0.28);
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.58rem;
}

.float-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(15, 11, 27, 0.88);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}

.float-chip b {
  display: block;
  color: #e5dfff;
  font-size: 0.7rem;
  font-weight: 600;
}

.float-chip span {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 0.58rem;
}

.chip-a {
  top: -10px;
  right: -14px;
}

.chip-b {
  bottom: -44px;
  left: 12px;
  animation-delay: -3.2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ---------- stats ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(154, 140, 240, 0.035), transparent);
}

.stat {
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--violet-200);
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat strong small {
  color: var(--faint);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
}

.stat > span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- section headings ---------- */

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head h2,
.ai-copy h2,
.security-head h2 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

.section-head > p:last-child,
.section-lede,
.security-head > p {
  max-width: 640px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

/* ---------- cards ---------- */

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 27px 25px 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(25, 20, 43, 0.82), rgba(11, 8, 20, 0.9));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 60px -34px rgba(90, 75, 155, 0.75);
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(154, 140, 240, 0.15), transparent 66%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.glow-card:hover::before {
  opacity: 1;
}

.glow-card > * {
  position: relative;
  z-index: 1;
}

.card-index {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(154, 140, 240, 0.26);
  border-radius: 12px;
  background: rgba(90, 75, 155, 0.18);
  color: var(--violet-300);
}

.card-icon .icon {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin: 22px 0 9px;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.78;
}

/* ---------- AI section ---------- */

.ai-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 560px at 82% 18%, rgba(90, 75, 155, 0.24), transparent 62%),
    linear-gradient(180deg, rgba(13, 10, 23, 0.72), rgba(13, 10, 23, 0.38));
}

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: start;
}

.ai-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.ai-copy .section-lede {
  margin-top: 4px;
}

.steps {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-no {
  padding-top: 2px;
  color: var(--violet-300);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.72;
}

.ai-visual {
  display: grid;
  gap: 14px;
}

.panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(28, 22, 50, 0.9), rgba(10, 8, 18, 0.95));
  box-shadow: 0 34px 80px -42px rgba(0, 0, 0, 0.9);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.panel-kicker {
  display: block;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
}

.panel-head strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 600;
}

.panel-tag {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.matrix-wrap {
  position: relative;
  padding: 6px 0 20px 16px;
}

.matrix {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.cell {
  aspect-ratio: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 6px;
  background: rgba(154, 140, 240, var(--a));
}

.cell.l1 {
  --a: 0.05;
}

.cell.l2 {
  --a: 0.11;
}

.cell.l3 {
  --a: 0.2;
}

.cell.l4 {
  --a: 0.34;
}

.cell.l5 {
  --a: 0.52;
}

.hot-spot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: calc(40% + 4px);
  height: calc(40% + 4px);
  border: 1px solid rgba(103, 232, 200, 0.58);
  border-radius: 10px;
  background: rgba(103, 232, 200, 0.035);
  box-shadow: inset 0 0 26px rgba(103, 232, 200, 0.09), 0 0 20px rgba(103, 232, 200, 0.09);
  pointer-events: none;
}

.axis-y,
.axis-x {
  position: absolute;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
}

.axis-y {
  top: 50%;
  left: -14px;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.axis-x {
  right: 0;
  bottom: 0;
}

.segments {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.segments li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-top: 1px solid rgba(154, 140, 240, 0.1);
}

.segments li:first-child {
  border-top: 0;
}

.seg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.seg-dot.mint {
  background: var(--mint);
  box-shadow: 0 0 12px rgba(103, 232, 200, 0.6);
}

.seg-dot.violet {
  background: var(--violet-400);
  box-shadow: 0 0 12px rgba(154, 140, 240, 0.5);
}

.seg-dot.amber {
  background: var(--amber);
  box-shadow: 0 0 12px rgba(243, 199, 122, 0.45);
}

.seg-dot.blue {
  background: var(--sky);
  box-shadow: 0 0 12px rgba(124, 199, 255, 0.45);
}

.segments strong {
  display: block;
  color: #e7e2fc;
  font-size: 0.76rem;
  font-weight: 500;
}

.segments span {
  display: block;
  margin-top: 1px;
  color: var(--faint);
  font-size: 0.64rem;
}

.seg-bar {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.seg-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet-500), var(--violet-300));
}

.segments li:first-child .seg-bar b {
  background: linear-gradient(90deg, var(--violet-400), var(--mint));
}

.panel-note {
  margin: 14px 0 0;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.05em;
  text-align: right;
}

.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 12, 28, 0.66);
}

.journey::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 140, 240, 0.5), rgba(103, 232, 200, 0.5), transparent);
}

.journey-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.journey-dot {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto 10px;
  border: 1px solid rgba(103, 232, 200, 0.7);
  border-radius: 50%;
  background: #0d0a17;
  box-shadow: 0 0 12px rgba(103, 232, 200, 0.35);
}

.journey-step b {
  display: block;
  color: #ded8f7;
  font-size: 0.68rem;
  font-weight: 500;
}

.journey-step small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 0.58rem;
}

/* ---------- bento modules ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 205px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(23, 18, 40, 0.8), rgba(10, 8, 18, 0.92));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.module:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 54px -34px rgba(90, 75, 155, 0.7);
}

.span-2 {
  grid-column: span 2;
}

.module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.module-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(154, 140, 240, 0.24);
  border-radius: 11px;
  background: rgba(90, 75, 155, 0.15);
  color: var(--violet-300);
}

.module-icon .icon {
  width: 20px;
  height: 20px;
}

.module-no {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.module h3 {
  margin: 17px 0 7px;
  font-size: 1.04rem;
  font-weight: 600;
}

.module p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.72;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}

.module-tags span {
  padding: 3px 8px;
  border: 1px solid rgba(154, 140, 240, 0.14);
  border-radius: 999px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.03em;
}

/* ---------- scenarios ---------- */

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

.scenario {
  position: relative;
  padding: 29px 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(24, 19, 41, 0.8), rgba(10, 8, 18, 0.92));
}

.scenario::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 140, 240, 0.75), transparent);
}

.scenario-kicker {
  color: var(--violet-300);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scenario h3 {
  margin: 13px 0 19px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.scenario ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.scenario li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--violet-400);
  box-shadow: 0 0 10px rgba(154, 140, 240, 0.45);
}

/* ---------- security ---------- */

.security-section {
  padding-top: 0;
}

.security-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 340px at 8% 10%, rgba(90, 75, 155, 0.2), transparent 64%),
    linear-gradient(160deg, rgba(22, 17, 38, 0.9), rgba(9, 7, 16, 0.94));
}

.security-head h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
}

.security-head > p {
  font-size: 0.9rem;
}

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

.security-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.security-item:nth-child(-n + 2) {
  border-top: 0;
  padding-top: 0;
}

.security-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 1px solid rgba(154, 140, 240, 0.22);
  border-radius: 9px;
  background: rgba(90, 75, 155, 0.12);
  color: var(--violet-300);
}

.security-icon .icon {
  width: 18px;
  height: 18px;
}

.security-item h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.security-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* ---------- CTA ---------- */

.cta-section {
  padding-top: 0;
}

.cta-card {
  position: relative;
  padding: clamp(54px, 8vw, 96px) 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(90, 75, 155, 0.36), transparent 68%),
    linear-gradient(180deg, rgba(24, 19, 42, 0.92), rgba(9, 7, 16, 0.97));
  text-align: center;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 140, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 140, 240, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000, transparent 75%);
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  width: 520px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 140, 240, 0.3), transparent 64%);
  filter: blur(24px);
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-card > *:not(.cta-glow) {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  max-width: 820px;
  margin: 18px auto 16px;
  font-size: clamp(2rem, 4.3vw, 3.55rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.cta-card > p:not(.eyebrow, .cta-note) {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.96rem;
}

.center-actions {
  justify-content: center;
  margin-top: 30px;
}

.cta-note {
  margin-top: 18px;
  color: var(--faint);
  font-size: 0.72rem;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(6, 4, 11, 0.75);
}

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

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand > p {
  max-width: 300px;
  color: var(--faint);
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: #d8d2ef;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-col a,
.footer-note {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-note {
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.7rem;
}

/* ---------- motion preferences ---------- */

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(103, 232, 200, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(103, 232, 200, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(103, 232, 200, 0);
  }
}

@media (forced-colors: active) {
  .grad {
    color: CanvasText;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    translate: none;
  }

  .js .reveal .chart-line {
    stroke-dashoffset: 0;
  }

  .cursor-glow {
    display: none;
  }
}

/* ---------- responsive ---------- */

@media (min-width: 1200px) {
  .orbit {
    display: block;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    gap: 32px;
  }

  .float-chip {
    display: none;
  }

  .ai-grid {
    gap: 42px;
  }
}

@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }

  .nav {
    gap: 16px;
  }

  .nav-links {
    position: fixed;
    top: calc(86px + env(safe-area-inset-top, 0px));
    left: 20px;
    right: 20px;
    z-index: 99;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(11, 8, 20, 0.97);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 11px 12px;
    border-radius: 9px;
    font-size: 0.92rem;
  }

  .nav-links a:hover {
    background: rgba(154, 140, 240, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy h1 {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 0;
  }

  .console {
    max-width: 620px;
    transform: none;
  }

  .float-chip {
    display: none;
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 64px;
  }

  .stat {
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-top: 0;
  }

  .stat:nth-child(odd) {
    border-left: 0;
  }

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

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .security-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .security-grid {
    gap: 0 24px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 74px 0;
  }

  .nav {
    height: 70px;
  }

  .nav-actions {
    gap: 10px;
  }

  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-mark svg {
    width: 23px;
    height: 23px;
  }

  .nav-links {
    top: calc(78px + env(safe-area-inset-top, 0px));
    left: 16px;
    right: 16px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 2.9rem);
    letter-spacing: -0.03em;
  }

  .hero-lede {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 8px 16px;
  }

  .console-body {
    padding: 11px;
  }

  .console-top {
    padding: 0 12px;
  }

  .kpi {
    padding: 9px 10px;
  }

  .kpi strong {
    font-size: 1.22rem;
  }

  .kpi em {
    display: none;
  }

  .chart-card {
    padding: 10px 8px 4px;
  }

  .chart-labels {
    display: none;
  }

  .ai-insight {
    padding: 9px 10px;
  }

  .ai-insight-copy span {
    font-size: 0.56rem;
  }

  .mini-btn {
    display: none;
  }

  .stat {
    padding: 20px 16px;
  }

  .stat > span {
    font-size: 0.72rem;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2,
  .ai-copy h2,
  .security-head h2 {
    font-size: clamp(1.5rem, 7.2vw, 2.2rem);
  }

  .card-grid,
  .bento {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: span 1;
  }

  .card {
    min-height: 0;
  }

  .module {
    min-height: 0;
  }

  .panel {
    padding: 18px;
  }

  .matrix-wrap {
    padding-left: 14px;
  }

  .segments li {
    grid-template-columns: 8px minmax(0, 1fr) 44px;
  }

  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 8px;
  }

  .journey::before {
    display: none;
  }

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

  .security-item:nth-child(2) {
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }

  .cta-card {
    padding-left: 18px;
    padding-right: 18px;
    border-radius: 22px;
  }

  .cta-card h2 {
    font-size: clamp(1.55rem, 7.6vw, 2.6rem);
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 440px) {
  .nav-login {
    display: none;
  }

  .hero-meta li {
    font-size: 0.72rem;
  }
}

/* ---------- product screenshots ---------- */

.shots-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.shots-head .section-head {
  margin-bottom: 0;
}

.shots-badge {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.shots-badge-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(103, 232, 200, 0.12);
}

.shots-badge strong {
  display: block;
  color: var(--violet-200);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.shots-badge div > span {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.shot-tabs {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.js .shot-tabs {
  display: flex;
}

.shot-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.shot-tab .icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}

.shot-tab:hover {
  border-color: var(--line-strong);
  background: rgba(154, 140, 240, 0.08);
  color: var(--ink);
}

.shot-tab.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #6c59b4 0%, #5a4b9b 60%, #4a3c83 100%);
  box-shadow: 0 12px 28px -16px rgba(90, 75, 155, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
}

.shot-tab:focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: 3px;
}

.shot-stage {
  position: relative;
}

.shot-glow {
  position: absolute;
  inset: -6% 4% auto;
  z-index: 0;
  height: 58%;
  background: radial-gradient(58% 100% at 50% 0%, rgba(90, 75, 155, 0.5), transparent 72%);
  filter: blur(48px);
  opacity: 0.7;
  pointer-events: none;
}

.shot-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-solid);
  box-shadow: 0 44px 100px -46px rgba(4, 2, 10, 0.92);
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.shot-url {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  padding: 5px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.shot-url-host {
  color: var(--muted);
}

.shot-url-path {
  overflow: hidden;
  color: var(--faint);
  text-overflow: ellipsis;
}

.shot-tag {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.shot-panel {
  margin: 0;
}

.shot-panel[hidden] {
  display: none;
}

html:not(.js) .shot-panel[hidden] {
  display: block;
}

html:not(.js) .shot-panel + .shot-panel {
  border-top: 1px solid var(--line-strong);
}

.js .shot-panel:not([hidden]) {
  animation: shot-in 0.36s ease both;
}

@keyframes shot-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shot-panel:focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: -2px;
}

.shot-clip {
  background: #f5f3f8;
}

.shot-clip img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-panel figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--line);
  background: var(--panel-solid);
}

.shot-cap-kicker {
  flex: 0 0 auto;
  color: var(--violet-300);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shot-panel figcaption p {
  flex: 1 1 auto;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.shot-open {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: var(--violet-300);
  font-size: 0.72rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.shot-open:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.shot-open .icon {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}

@media (max-width: 900px) {
  .shots-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .shot-tabs {
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .shot-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Fade the edge that still has tabs behind it, so the strip reads as scrollable. */
  .shot-tabs.has-overflow {
    --fade-left: 0px;
    --fade-right: 0px;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--fade-left),
      #000 calc(100% - var(--fade-right)),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--fade-left),
      #000 calc(100% - var(--fade-right)),
      transparent 100%
    );
  }

  .shot-tabs.has-overflow.is-scrolled {
    --fade-left: 16px;
  }

  .shot-tabs.has-overflow:not(.is-scroll-end) {
    --fade-right: 16px;
  }

  .shot-tab {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .shot-frame {
    border-radius: 16px;
  }

  .shot-chrome {
    height: 40px;
    gap: 10px;
    padding: 0 12px;
  }

  .shot-url {
    padding: 4px 9px;
    font-size: 0.55rem;
  }

  .shot-tag {
    display: none;
  }

  .shot-panel figcaption {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 12px 14px 14px;
  }

  .shot-cap-kicker {
    width: 100%;
  }

  .shot-panel figcaption p {
    flex: 1 1 100%;
    font-size: 0.76rem;
  }

  .shot-open {
    margin-left: auto;
  }
}

/* ---------- about / definition ---------- */

.about-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 44px 64px;
  padding: clamp(30px, 4.4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(90, 75, 155, 0.22), transparent 58%),
    linear-gradient(160deg, rgba(20, 16, 35, 0.96), rgba(12, 9, 22, 0.92));
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(195, 184, 255, 0.45), transparent);
}

.about-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.about-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-copy .about-lede {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.04rem;
}

.about-copy .about-updated {
  margin-top: 22px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

.about-facts {
  align-self: center;
  margin: 0;
  border-top: 1px solid var(--line);
}

.about-facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.about-facts dt {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.about-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 44px 72px;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(104px + env(safe-area-inset-top, 0px));
}

.faq-head h2 {
  margin: 14px 0 18px;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

.faq-head > p {
  max-width: 340px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--violet-300);
  font-size: 0.88rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.faq-cta:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.faq-cta .icon {
  width: 16px;
  height: 16px;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2px;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.faq-item summary:hover h3 {
  color: var(--violet-200);
}

.faq-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.faq-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-item[open] .faq-icon {
  border-color: var(--line-strong);
  color: var(--violet-300);
  transform: rotate(180deg);
}

.faq-item[open] summary {
  padding-bottom: 10px;
}

.faq-answer {
  padding: 0 48px 22px 2px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .about-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-facts {
    align-self: start;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-head {
    position: static;
  }

  .faq-head > p {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .about-panel {
    border-radius: 20px;
  }

  .about-facts > div {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding: 13px 0;
  }

  .faq-item summary {
    padding: 17px 0;
  }

  .faq-answer {
    padding-right: 8px;
  }
}

/* =========================================================
   Light theme
   Toggled by data-theme="light" on <html>.
   ========================================================= */

[data-theme="light"] {
  --violet-200: #3a2f66;
  --violet-300: #4f4189;
  --violet-400: #6a59b5;
  --violet-500: #5a4b9b;
  --violet-800: #cfc6e5;

  --mint: #0b7a63;
  --amber: #b8791f;
  --sky: #2f7fbf;

  --bg: #f6f3fb;
  --bg-soft: #efebf7;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --ink: #191428;
  --muted: #5b5472;
  --faint: #655d7d;

  --line: rgba(90, 75, 155, 0.16);
  --line-strong: rgba(90, 75, 155, 0.32);

  color-scheme: light;
}

[data-theme="light"] body {
  background:
    radial-gradient(1100px 760px at 86% -8%, rgba(90, 75, 155, 0.16), transparent 62%),
    radial-gradient(860px 680px at -6% 22%, rgba(118, 101, 201, 0.1), transparent 58%),
    var(--bg);
}

[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(90, 75, 155, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 75, 155, 0.05) 1px, transparent 1px);
}

[data-theme="light"] ::selection {
  background: rgba(90, 75, 155, 0.2);
  color: var(--ink);
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: #eee9f7;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #cfc6e5;
  border-color: #eee9f7;
}

[data-theme="light"] .skip-link {
  background: #5a4b9b;
  color: #fff;
}

[data-theme="light"] #particles {
  opacity: 0.55;
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(90, 75, 155, 0.12) 0%, transparent 62%);
}

[data-theme="light"] .grad {
  background-image: linear-gradient(102deg, #2c2352 0%, #5a4b9b 38%, #7665c9 68%, #0f8f74 118%);
}

[data-theme="light"] .site-header.is-scrolled {
  background: rgba(248, 246, 252, 0.86);
}

[data-theme="light"] .brand-mark {
  border-color: rgba(90, 75, 155, 0.28);
  background:
    linear-gradient(145deg, rgba(90, 75, 155, 0.16), rgba(90, 75, 155, 0.05)),
    #ffffff;
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 22px -12px rgba(90, 75, 155, 0.45);
  color: var(--violet-300);
}

[data-theme="light"] .theme-toggle {
  background: rgba(90, 75, 155, 0.04);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(90, 75, 155, 0.1);
}

[data-theme="light"] .nav-toggle {
  background: rgba(90, 75, 155, 0.04);
}

[data-theme="light"] .nav-login {
  border-color: rgba(90, 75, 155, 0.28);
  background: rgba(90, 75, 155, 0.07);
  color: var(--violet-300);
}

[data-theme="light"] .nav-login:hover {
  border-color: rgba(90, 75, 155, 0.5);
  background: rgba(90, 75, 155, 0.12);
  box-shadow: 0 12px 26px -18px rgba(90, 75, 155, 0.35);
  color: var(--violet-500);
}

[data-theme="light"] .btn-ghost {
  border-color: rgba(90, 75, 155, 0.3);
  background: rgba(90, 75, 155, 0.05);
  color: var(--ink);
}

[data-theme="light"] .btn-ghost:hover {
  border-color: rgba(90, 75, 155, 0.5);
  background: rgba(90, 75, 155, 0.1);
  box-shadow: 0 14px 30px -18px rgba(90, 75, 155, 0.35);
}

[data-theme="light"] .orbit {
  border-color: rgba(90, 75, 155, 0.16);
}

[data-theme="light"] .orbit-b {
  border-color: rgba(90, 75, 155, 0.09);
}

[data-theme="light"] .orbit::after {
  background: var(--violet-400);
  box-shadow: 0 0 16px 5px rgba(90, 75, 155, 0.3);
}

[data-theme="light"] .console {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(246, 242, 253, 0.96)) padding-box,
    linear-gradient(140deg, rgba(90, 75, 155, 0.45), rgba(15, 143, 116, 0.18) 45%, rgba(90, 75, 155, 0.35)) border-box;
  box-shadow:
    0 45px 110px -40px rgba(70, 55, 127, 0.35),
    inset 0 1px 0 #ffffff;
}

[data-theme="light"] .console-top {
  border-bottom-color: rgba(90, 75, 155, 0.14);
}

[data-theme="light"] .window-dots i {
  background: rgba(90, 75, 155, 0.24);
}

[data-theme="light"] .window-dots i:nth-child(1) {
  background: rgba(184, 121, 31, 0.55);
}

[data-theme="light"] .window-dots i:nth-child(2) {
  background: rgba(90, 75, 155, 0.5);
}

[data-theme="light"] .window-dots i:nth-child(3) {
  background: rgba(15, 143, 116, 0.55);
}

[data-theme="light"] .kpi {
  border-color: rgba(90, 75, 155, 0.14);
  background: rgba(90, 75, 155, 0.035);
}

[data-theme="light"] .kpi strong {
  color: var(--ink);
}

[data-theme="light"] .chart-card {
  border-color: rgba(90, 75, 155, 0.14);
  background: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .chart .grid line {
  stroke: rgba(90, 75, 155, 0.14);
}

[data-theme="light"] #areaFill stop:first-child {
  stop-color: #7665c9;
  stop-opacity: 0.2;
}

[data-theme="light"] #areaFill stop:last-child {
  stop-color: #7665c9;
  stop-opacity: 0;
}

[data-theme="light"] #lineStroke stop:nth-child(1) {
  stop-color: #0f8f74;
}

[data-theme="light"] #lineStroke stop:nth-child(2) {
  stop-color: #5a4b9b;
}

[data-theme="light"] #lineStroke stop:nth-child(3) {
  stop-color: #3a2f66;
}

[data-theme="light"] .chart circle {
  fill: #ffffff;
  stroke: #5a4b9b;
}

[data-theme="light"] .chart-peak {
  fill: #4f4189;
}

[data-theme="light"] .chart-labels {
  fill: #655d7d;
}

[data-theme="light"] .ai-insight {
  border-color: rgba(15, 143, 116, 0.25);
  background: linear-gradient(100deg, rgba(90, 75, 155, 0.12), rgba(15, 143, 116, 0.07));
}

[data-theme="light"] .ai-insight-copy strong {
  color: var(--ink);
}

[data-theme="light"] .ai-badge {
  border-color: rgba(15, 143, 116, 0.35);
  background: rgba(15, 143, 116, 0.1);
}

[data-theme="light"] .mini-btn {
  border-color: rgba(15, 143, 116, 0.35);
}

[data-theme="light"] .float-chip {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px -22px rgba(70, 55, 127, 0.4);
}

[data-theme="light"] .float-chip b {
  color: var(--ink);
}

[data-theme="light"] .dot {
  box-shadow: 0 0 10px rgba(15, 143, 116, 0.45);
}

[data-theme="light"] .stat-strip {
  background: linear-gradient(180deg, rgba(90, 75, 155, 0.05), transparent);
}

[data-theme="light"] .card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(248, 245, 255, 0.9));
  box-shadow: inset 0 1px 0 #ffffff;
}

[data-theme="light"] .card:hover {
  box-shadow: 0 26px 60px -38px rgba(70, 55, 127, 0.4);
}

[data-theme="light"] .glow-card::before {
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(90, 75, 155, 0.12), transparent 66%);
}

[data-theme="light"] .card-icon {
  border-color: rgba(90, 75, 155, 0.24);
  background: rgba(90, 75, 155, 0.1);
}

[data-theme="light"] .ai-section {
  background:
    radial-gradient(900px 560px at 82% 18%, rgba(90, 75, 155, 0.13), transparent 62%),
    linear-gradient(180deg, rgba(240, 236, 249, 0.85), rgba(246, 243, 251, 0.5));
}

[data-theme="light"] .panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 253, 0.95));
  box-shadow: 0 34px 80px -46px rgba(70, 55, 127, 0.4);
}

[data-theme="light"] .cell {
  border-color: rgba(90, 75, 155, 0.06);
  background: rgba(90, 75, 155, var(--a));
}

[data-theme="light"] .cell.l1 {
  --a: 0.06;
}

[data-theme="light"] .cell.l2 {
  --a: 0.13;
}

[data-theme="light"] .cell.l3 {
  --a: 0.22;
}

[data-theme="light"] .cell.l4 {
  --a: 0.36;
}

[data-theme="light"] .cell.l5 {
  --a: 0.52;
}

[data-theme="light"] .hot-spot {
  border-color: rgba(15, 143, 116, 0.55);
  background: rgba(15, 143, 116, 0.05);
  box-shadow: inset 0 0 26px rgba(15, 143, 116, 0.08), 0 0 20px rgba(15, 143, 116, 0.08);
}

[data-theme="light"] .segments li {
  border-top-color: rgba(90, 75, 155, 0.12);
}

[data-theme="light"] .segments strong {
  color: var(--ink);
}

[data-theme="light"] .seg-dot.mint {
  box-shadow: 0 0 12px rgba(15, 143, 116, 0.35);
}

[data-theme="light"] .seg-dot.violet {
  box-shadow: 0 0 12px rgba(90, 75, 155, 0.3);
}

[data-theme="light"] .seg-dot.amber {
  box-shadow: 0 0 12px rgba(184, 121, 31, 0.3);
}

[data-theme="light"] .seg-dot.blue {
  box-shadow: 0 0 12px rgba(47, 127, 191, 0.3);
}

[data-theme="light"] .seg-bar {
  background: rgba(90, 75, 155, 0.12);
}

[data-theme="light"] .journey {
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .journey::before {
  background: linear-gradient(90deg, transparent, rgba(90, 75, 155, 0.4), rgba(15, 143, 116, 0.4), transparent);
}

[data-theme="light"] .journey-dot {
  background: #ffffff;
  border-color: rgba(15, 143, 116, 0.65);
  box-shadow: 0 0 12px rgba(15, 143, 116, 0.25);
}

[data-theme="light"] .journey-step b {
  color: var(--ink);
}

[data-theme="light"] .module {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(247, 244, 253, 0.9));
  box-shadow: inset 0 1px 0 #ffffff;
}

[data-theme="light"] .module:hover {
  box-shadow: 0 24px 54px -38px rgba(70, 55, 127, 0.4);
}

[data-theme="light"] .module-icon {
  border-color: rgba(90, 75, 155, 0.24);
  background: rgba(90, 75, 155, 0.1);
}

[data-theme="light"] .module-tags span {
  border-color: rgba(90, 75, 155, 0.18);
}

[data-theme="light"] .scenario {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(247, 244, 253, 0.9));
  box-shadow: inset 0 1px 0 #ffffff;
}

[data-theme="light"] .scenario::before {
  background: linear-gradient(90deg, transparent, rgba(90, 75, 155, 0.5), transparent);
}

[data-theme="light"] .scenario li::before {
  box-shadow: 0 0 10px rgba(90, 75, 155, 0.3);
}

[data-theme="light"] .shots-badge {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 #ffffff;
}

[data-theme="light"] .shots-badge strong {
  color: var(--violet-500);
}

[data-theme="light"] .shots-badge-dot {
  box-shadow: 0 0 0 4px rgba(11, 122, 99, 0.1);
}

[data-theme="light"] .shot-tab {
  background: rgba(255, 255, 255, 0.66);
}

[data-theme="light"] .shot-tab:hover {
  background: #ffffff;
  border-color: var(--line-strong);
}

[data-theme="light"] .shot-tab.is-active,
[data-theme="light"] .shot-tab.is-active:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #6c59b4 0%, #5a4b9b 60%, #4a3c83 100%);
  color: #fff;
}

[data-theme="light"] .shot-glow {
  opacity: 0.4;
  background: radial-gradient(58% 100% at 50% 0%, rgba(90, 75, 155, 0.32), transparent 72%);
}

[data-theme="light"] .shot-frame {
  box-shadow: 0 40px 90px -50px rgba(58, 47, 102, 0.45);
}

[data-theme="light"] .shot-chrome {
  background: #efebf7;
}

[data-theme="light"] .shot-url {
  background: #ffffff;
}

[data-theme="light"] .shot-open:hover {
  color: var(--violet-500);
}

[data-theme="light"] .about-panel {
  border-color: rgba(90, 75, 155, 0.16);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(90, 75, 155, 0.09), transparent 58%),
    linear-gradient(160deg, #ffffff, #f8f5fd);
  box-shadow: 0 28px 70px -52px rgba(58, 47, 102, 0.55);
}

[data-theme="light"] .about-panel::before {
  background: linear-gradient(90deg, transparent, rgba(90, 75, 155, 0.32), transparent);
}

[data-theme="light"] .faq-icon {
  background: rgba(90, 75, 155, 0.04);
}

[data-theme="light"] .faq-item summary:hover h3 {
  color: var(--violet-500);
}

[data-theme="light"] .faq-cta:hover {
  color: var(--violet-500);
}

[data-theme="light"] .security-panel {
  background:
    radial-gradient(620px 340px at 8% 10%, rgba(90, 75, 155, 0.12), transparent 64%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 253, 0.92));
}

[data-theme="light"] .security-icon {
  border-color: rgba(90, 75, 155, 0.22);
  background: rgba(90, 75, 155, 0.08);
}

[data-theme="light"] .cta-card {
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(90, 75, 155, 0.18), transparent 68%),
    linear-gradient(180deg, rgba(250, 248, 255, 0.98), rgba(242, 238, 251, 0.96));
}

[data-theme="light"] .cta-card::before {
  background-image:
    linear-gradient(rgba(90, 75, 155, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 75, 155, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .cta-glow {
  background: radial-gradient(circle, rgba(90, 75, 155, 0.16), transparent 64%);
}

[data-theme="light"] .site-footer {
  background: rgba(240, 236, 248, 0.8);
}

[data-theme="light"] .footer-col h4 {
  color: var(--ink);
}

@media (max-width: 900px) {
  [data-theme="light"] .nav-links {
    background: rgba(252, 250, 255, 0.97);
    box-shadow: 0 30px 60px -28px rgba(60, 45, 110, 0.25);
  }

  [data-theme="light"] .nav-links a:hover {
    background: rgba(90, 75, 155, 0.07);
  }
}

/* Header fits on narrow phones: drop the text login first, then the trial button. */
@media (max-width: 560px) {
  .nav-login {
    display: none;
  }
}

@media (max-width: 400px) {
  .nav-actions .nav-trial {
    display: none;
  }
}
