@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --ink: #0d1320;
  --ink-soft: #3a4355;
  --muted: #6b7689;
  --faint: #98a1b3;
  --soft: #f4f6fb;
  --soft-2: #eef1f8;
  --panel: #ffffff;
  --line: #e6e9f0;
  --line-soft: #eef0f6;

  --accent: #4f63ff;
  --accent-strong: #3346e0;
  --accent-ink: #2536c0;
  --accent-100: #eef0ff;
  --accent-200: #dfe3ff;
  --accent-glow: rgba(79, 99, 255, 0.35);

  --cyan: #19b8c8;
  --green: #16a06a;
  --amber: #e0901a;
  --navy: #0a1020;
  --navy-2: #0f1830;

  --radius-xs: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 8px rgba(15, 24, 48, 0.06);
  --shadow: 0 18px 40px -18px rgba(31, 44, 92, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(31, 44, 92, 0.45);
  --shadow-accent: 0 22px 50px -20px rgba(79, 99, 255, 0.5);

  --maxw: 1240px;

  font-family: "Plus Jakarta Sans", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* subtle grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Noto Sans TC", system-ui, sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  left: 16px;
}

:focus-visible {
  outline: 3px solid var(--accent-glow);
  outline-offset: 2px;
  border-radius: 6px;
}

.shell {
  width: min(100% - 8vw, var(--maxw));
  margin-inline: auto;
}

.accent-text {
  background: linear-gradient(100deg, var(--accent) 10%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding: 0 max(4vw, calc((100vw - var(--maxw)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(247, 249, 253, 0);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(247, 249, 253, 0.78);
  backdrop-filter: blur(20px) saturate(150%);
  border-color: rgba(214, 220, 232, 0.8);
  box-shadow: 0 10px 30px -24px rgba(31, 44, 92, 0.5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark,
.mini-logo {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  background: linear-gradient(140deg, var(--accent) 0%, #6a5bff 55%, var(--cyan) 120%);
  box-shadow: var(--shadow-accent);
}
.brand-mark {
  width: 44px;
  height: 44px;
  font-size: 15px;
}

/* SVG brand logo (replaces the old text "CW" mark) */
.brand-logo {
  display: inline-flex;
  flex: none;
}
.brand-logo img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow-accent);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 45%);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}
.brand strong {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.01em;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 600;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  gap: 14px;
}
.ghost-link {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.ghost-link:hover {
  color: var(--accent-strong);
}

/* ============================================================
   Buttons
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    background 0.25s ease,
    filter 0.2s ease;
}
.button svg {
  width: 18px;
  height: 18px;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0) scale(0.985);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #5a4dff 70%);
  box-shadow: var(--shadow-accent);
}
.button.primary:hover {
  box-shadow: 0 26px 56px -18px rgba(79, 99, 255, 0.62);
  filter: brightness(1.05);
}

.button.secondary {
  color: var(--accent-ink);
  background: var(--panel);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.button.secondary:hover {
  border-color: var(--accent-200);
  background: var(--accent-100);
}

.button.ghost-dark {
  color: #eaf0ff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}
.button.ghost-dark:hover {
  background: rgba(255, 255, 255, 0.13);
}

.button.small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}
.button.full {
  width: 100%;
}
.button .arrow {
  transition: transform 0.25s ease;
}
.button:hover .arrow {
  transform: translateX(3px);
}

/* ============================================================
   Hero
   ============================================================ */
.product-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 8vw, 120px);
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(79, 99, 255, 0.16), transparent 55%),
    radial-gradient(90% 80% at -5% 10%, rgba(25, 184, 200, 0.12), transparent 50%),
    linear-gradient(180deg, #f7f9ff, var(--soft));
}
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 99, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 99, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(75% 70% at 50% 30%, #000 30%, transparent 80%);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.orb.a {
  width: 360px;
  height: 360px;
  top: -80px;
  right: 6%;
  background: rgba(79, 99, 255, 0.4);
}
.orb.b {
  width: 300px;
  height: 300px;
  bottom: -60px;
  left: -40px;
  background: rgba(25, 184, 200, 0.32);
  animation-delay: -5s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -28px) scale(1.07); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--accent-200);
  border-radius: 999px;
  color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.status-pill.dark {
  color: #cfe0ff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}
.pulse {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--green);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(40px, 5.4vw, 70px);
  font-weight: 800;
  line-height: 1.03;
}
.hero-lede {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}
.avatar-stack {
  display: inline-flex;
}
.avatar-stack img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  border: 2px solid var(--soft);
  margin-left: -8px;
}
.avatar-stack img:first-child {
  margin-left: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 40px 0 0;
}
.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}
.hero-metrics dt {
  font-family: "Sora", sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* product preview */
.product-preview {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(220, 226, 240, 0.9);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: rise 12s ease-in-out infinite;
}
@keyframes rise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(120deg, #131c33, #0d1426);
}
.toolbar-dots {
  display: flex;
  gap: 7px;
}
.toolbar-dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff5f57;
}
.toolbar-dots span:nth-child(2) { background: #febc2e; }
.toolbar-dots span:nth-child(3) { background: #28c840; }
.preview-toolbar strong {
  font-size: 13px;
  font-weight: 600;
}
.sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.preview-toolbar .sync-badge {
  margin-left: auto;
  color: #aef5c6;
  background: rgba(40, 200, 100, 0.16);
}
.preview-toolbar .sync-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #28c840;
  box-shadow: 0 0 0 3px rgba(40, 200, 100, 0.25);
}

.preview-shell {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 500px;
}
.preview-sidebar {
  padding: 20px 18px;
  color: #c4cee0;
  background: linear-gradient(180deg, #0e1626, #0b1120);
}
.mini-logo {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  font-size: 13px;
}
.preview-sidebar b {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.preview-sidebar p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 5px 0;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 13px;
  transition: background 0.2s ease;
}
.preview-sidebar p::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.5;
}
.preview-sidebar .selected {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #5a4dff);
}
.preview-sidebar .selected::before {
  opacity: 1;
}

.preview-main {
  padding: 20px;
  background: #f6f8fd;
}
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.preview-top small {
  color: var(--muted);
  font-size: 12px;
}
.preview-top strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}
.preview-top > span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green);
  background: #dff5ea;
  font-size: 12px;
  font-weight: 700;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 12px;
}
.preview-grid article {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.preview-grid small {
  color: var(--muted);
  font-size: 11.5px;
}
.preview-grid b {
  display: block;
  margin: 8px 0 2px;
  font-family: "Sora", sans-serif;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
}
.preview-grid span {
  color: var(--muted);
  font-size: 11.5px;
}
.assistant-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  margin-top: 12px;
  padding: 17px;
  border: 1px solid var(--accent-200);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, var(--accent-100));
}
.assistant-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #5a4dff);
}
.assistant-card b {
  font-size: 14px;
}
.assistant-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.source-chips span {
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--accent-200);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 600;
}

/* ============================================================
   Logo / industry strip (marquee)
   ============================================================ */
.logo-strip {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: #fff;
}
.logo-strip::before,
.logo-strip::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12%;
  height: 100%;
  z-index: 2;
}
.logo-strip::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}
.logo-strip::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent);
}
.marquee {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 32s linear infinite;
}
.logo-strip:hover .marquee {
  animation-play-state: paused;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}
.marquee span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0.55;
}
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: clamp(64px, 8vw, 110px) 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.section h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.1;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.split-section {
  background: #fff;
}
.split-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-media .float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  animation: rise 9s ease-in-out infinite;
}
.float-tag .dot {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-size: 12px;
}
.float-tag.tl { top: 18px; left: 18px; }
.float-tag.br { bottom: 18px; right: 18px; animation-delay: -3s; }
.float-tag.br .dot { background: var(--accent); }

.split-copy p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}
.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.check-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--accent);
}

/* capability cards (asymmetric) */
.capability-section {
  background: linear-gradient(180deg, var(--soft), #fff);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 99, 255, 0.1), transparent 60%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-200);
  box-shadow: var(--shadow);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-card.span-3 { grid-column: span 3; }
.feature-card.span-2 { grid-column: span 2; }
.feature-card.wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
.feature-card.wide .card-media {
  flex: none;
  width: 44%;
  align-self: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 200px;
}
.feature-card.wide .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.icon-box {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(140deg, #1a2438, #0f1626);
  box-shadow: var(--shadow-sm);
}
.icon-box svg {
  width: 24px;
  height: 24px;
}
.icon-box.accent { background: linear-gradient(140deg, var(--accent), #5a4dff); }
.icon-box.green { background: linear-gradient(140deg, var(--green), #0e8f5d); }
.icon-box.amber { background: linear-gradient(140deg, var(--amber), #c5780a); }
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 14px;
}
.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.feature-card:hover .card-link svg {
  transform: translateX(4px);
}

/* use cases */
.usecase-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.usecase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(79, 99, 255, 0.28), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(25, 184, 200, 0.2), transparent 55%);
}
.usecase-section .shell {
  position: relative;
}
.usecase-section .eyebrow {
  color: #9db4ff;
}
.usecase-section h2 {
  color: #fff;
}
.usecase-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.usecase-board article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}
.usecase-board article:hover {
  transform: translateY(-6px);
  border-color: rgba(157, 180, 255, 0.5);
}
.usecase-board .uc-img {
  position: absolute;
  inset: 0;
}
.usecase-board .uc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 0.6s ease, opacity 0.3s ease;
}
.usecase-board article:hover .uc-img img {
  transform: scale(1.06);
  opacity: 0.62;
}
.usecase-board .uc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.2), rgba(10, 16, 32, 0.94));
}
.usecase-board .uc-body {
  position: relative;
  padding: 26px;
}
.usecase-board .num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #cdd9ff;
  background: rgba(79, 99, 255, 0.22);
  border: 1px solid rgba(157, 180, 255, 0.3);
  font-family: "Sora", sans-serif;
  font-weight: 700;
}
.usecase-board h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 8px;
}
.usecase-board p {
  color: #b9c4da;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* metrics band */
.metrics-band {
  background: #fff;
}
.metrics-band .shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.metric-tile {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--soft));
}
.metric-tile .num {
  font-family: "Sora", sans-serif;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.metric-tile .num small {
  font-size: 0.5em;
  color: var(--accent);
  margin-left: 2px;
}
.metric-tile p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* security */
.security-section {
  background: linear-gradient(180deg, #fff, var(--soft));
}
.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.security-section > div p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}
.security-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.security-steps div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.security-steps div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.security-steps .s-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-100);
}
.security-steps .s-icon svg {
  width: 22px;
  height: 22px;
}
.security-steps b {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 16px;
}
.security-steps span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

/* testimonial */
.testimonial-section {
  background: #fff;
}
.testimonial-wall {
  columns: 3;
  column-gap: 18px;
}
.quote-card {
  break-inside: avoid;
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--soft));
}
.quote-card.feature {
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  border-color: transparent;
  color: #fff;
}
.quote-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.quote-card.feature p {
  color: #e7ecf7;
  font-size: 19px;
}
.quote-mark {
  font-family: "Sora", sans-serif;
  font-size: 44px;
  line-height: 0.6;
  color: var(--accent);
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.quote-author img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.quote-author b {
  display: block;
  font-size: 14px;
}
.quote-author span {
  color: var(--muted);
  font-size: 12.5px;
}
.quote-card.feature .quote-author span {
  color: #9fb0cf;
}

/* plans */
.plans {
  background: linear-gradient(180deg, var(--soft), #eef1f8);
}
.plan-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.plan-card .tier {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan-card h3 {
  margin: 12px 0 6px;
  font-size: 26px;
}
.plan-price {
  font-family: "Sora", sans-serif;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 18px;
}
.plan-card > p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.plan-card ul {
  display: grid;
  gap: 11px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.plan-card li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.plan-card li svg {
  flex: none;
  width: 19px;
  height: 19px;
  color: var(--accent);
}
.plan-card .button {
  margin-top: auto;
}
.plan-card.highlighted {
  border-color: transparent;
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.plan-card.highlighted .tier { color: #9db4ff; }
.plan-card.highlighted > p { color: #b9c4da; }
.plan-card.highlighted .plan-price { color: #c8d2e6; }
.plan-card.highlighted li { color: #dbe2f0; }
.plan-card.highlighted li svg { color: #9db4ff; }
.plan-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 12px;
  border-radius: 9px;
  background: linear-gradient(120deg, var(--accent), #5a4dff);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* CTA */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(10, 16, 32, 0.92), rgba(15, 24, 48, 0.85)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2000&q=80") center/cover fixed;
}
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 70% 30%, rgba(79, 99, 255, 0.3), transparent 60%);
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.cta-inner h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 18px;
}
.cta-inner p {
  color: #c7d0e2;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* footer */
.footer {
  background: var(--navy);
  color: #aab4c8;
  padding: 64px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand strong { color: #fff; }
.footer .brand small { color: #8b97ad; }
.footer-about {
  margin: 18px 0 0;
  max-width: 38ch;
  color: #8b97ad;
  font-size: 14px;
  line-height: 1.7;
}
.footer-col h4 {
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  margin-bottom: 11px;
  color: #aab4c8;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13px;
  color: #8b97ad;
}
.footer-bottom .legal {
  display: flex;
  gap: 20px;
}

/* ============================================================
   Login page
   ============================================================ */
.login-body {
  min-height: 100dvh;
  background: var(--navy);
}
.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 26px;
  min-height: 100dvh;
  padding: 26px;
}
.login-story {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    linear-gradient(150deg, rgba(10, 16, 32, 0.78), rgba(13, 20, 40, 0.92)),
    url("https://images.unsplash.com/photo-1639762681485-074b7f938ba0?auto=format&fit=crop&w=1600&q=80") center/cover;
}
.login-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 90% 10%, rgba(79, 99, 255, 0.32), transparent 60%);
  pointer-events: none;
}
.login-story > * {
  position: relative;
  z-index: 1;
}
.login-story .brand small { color: #c1cbe0; }
.login-hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
}
.login-hero-copy p {
  max-width: 48ch;
  color: #c7d0e2;
  font-size: 16.5px;
  line-height: 1.75;
}
.login-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.login-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #e7ecf7;
  font-size: 13px;
  font-weight: 600;
}
.login-proof span svg {
  width: 16px;
  height: 16px;
  color: #9db4ff;
}
.login-panel {
  align-self: center;
  width: 100%;
  padding: 38px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.panel-kicker {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--accent-100);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}
.login-panel h2 {
  margin: 16px 0 8px;
  font-size: 32px;
  font-weight: 800;
}
.login-panel > p {
  color: var(--muted);
}
form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input {
  min-height: 50px;
  padding: 0 15px;
}
textarea {
  min-height: 200px;
  padding: 14px;
  resize: vertical;
  line-height: 1.7;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.field-error {
  color: #d4453a;
  font-size: 12.5px;
  font-weight: 600;
  min-height: 16px;
}
.form-alert {
  margin: 2px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdeceb;
  border: 1px solid #f3c9c6;
  color: #b42318;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.form-alert[hidden] {
  display: none;
}
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.form-row a {
  color: var(--accent-strong);
  font-weight: 600;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--ink-soft);
}
.check-row input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--accent);
}
.login-note {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding: 15px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}
.login-note b {
  color: var(--ink);
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.back-home:hover { color: var(--accent-strong); }

/* ============================================================
   App / dashboard
   ============================================================ */
.app-body {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100dvh;
  background: var(--soft);
}
.app-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  padding: 22px 18px;
  color: #fff;
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
}
.brand.compact { margin-bottom: 30px; }
.app-sidebar .brand small { color: #9aa6bd; }
.side-nav {
  display: grid;
  gap: 6px;
}
.side-label {
  margin: 8px 12px;
  color: #6f7d96;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: #c0cadd;
  text-align: left;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.2s ease, color 0.2s ease;
}
.side-link svg {
  width: 19px;
  height: 19px;
  opacity: 0.8;
}
.side-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.side-link.active {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #5a4dff);
  box-shadow: var(--shadow-accent);
}
.side-link.active svg { opacity: 1; }
.tenant-box {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}
.tenant-box small { color: #9aa6bd; font-size: 11.5px; }
.tenant-box b { font-family: "Sora", sans-serif; }
.tenant-box span { color: #9db4ff; font-size: 12px; }

.workspace {
  padding: 28px clamp(20px, 3vw, 40px);
  max-width: 1400px;
}
.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.workspace-header h1 {
  margin: 4px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.icon-button:hover { border-color: var(--accent-200); color: var(--accent); }
.icon-button svg { width: 20px; height: 20px; }

.ops-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 30px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(13, 20, 40, 0.9), rgba(20, 30, 58, 0.78)),
    url("https://images.unsplash.com/photo-1639322537228-f710d846310a?auto=format&fit=crop&w=1600&q=80") center/cover;
}
.ops-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 80% 0%, rgba(79, 99, 255, 0.35), transparent 60%);
}
.ops-banner > div { position: relative; z-index: 1; }
.ops-banner .sync-badge {
  color: #aef5c6;
  background: rgba(40, 200, 100, 0.18);
}
.ops-banner .sync-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #28c840;
}
.ops-banner h2 { margin: 14px 0 6px; font-size: 24px; }
.ops-banner p { margin: 0; color: #c7d0e2; }
.ops-score {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 999px;
  background: conic-gradient(var(--green) 0% 96%, rgba(255, 255, 255, 0.15) 96% 100%);
}
.ops-score::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: var(--navy);
}
.ops-score b {
  position: relative;
  font-family: "Sora", sans-serif;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
}
.ops-score span { position: relative; font-size: 11px; color: #c7d0e2; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stats-row div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stats-row div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.stats-row b {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}
.stats-row span { color: var(--muted); font-size: 13px; }

.view { display: none; }
.view.active {
  display: block;
  animation: fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(320px, 410px) minmax(0, 1fr) 270px;
  gap: 16px;
  align-items: start;
}
.tool-panel,
.result-panel,
.insight-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.panel-title h2, .panel-title h3 { margin: 0; font-size: 18px; }
.panel-title span {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.tool-panel p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.answer-output {
  min-height: 320px;
  padding: 20px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 14.5px;
  white-space: pre-line;
}
.answer-output.loading {
  color: var(--muted);
}
.insight-panel {
  display: grid;
  gap: 14px;
}
.insight-panel h3 { margin: 0; font-size: 16px; }
.mini-stat {
  padding: 16px;
  border-radius: 14px;
  background: var(--soft);
}
.mini-stat b {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}
.mini-stat span { color: var(--muted); font-size: 12.5px; }
.source-stack,
.audit-list,
.route-bars {
  display: grid;
  gap: 9px;
}
.source-stack span,
.audit-list span {
  padding: 11px 13px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}
.governance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.governance-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.governance-grid h2 { font-size: 19px; margin-bottom: 8px; }
.governance-grid p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.progress-line {
  overflow: hidden;
  height: 10px;
  margin: 22px 0 10px;
  border-radius: 999px;
  background: var(--soft-2);
}
.progress-line span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}
.route-bars span {
  display: block;
  min-width: max-content;
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), #5a4dff);
  font-size: 12.5px;
  font-weight: 700;
}
.route-bars span:nth-child(2) { background: linear-gradient(90deg, var(--cyan), #13a3b1); }
.route-bars span:nth-child(3) { background: linear-gradient(90deg, var(--amber), #c5780a); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .hero-inner,
  .split-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.span-3,
  .feature-card.span-2,
  .feature-card.wide { grid-column: span 3; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .insight-panel { grid-column: 1 / -1; }
  .testimonial-wall { columns: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.span-3,
  .feature-card.span-2,
  .feature-card.wide { grid-column: auto; }
  .feature-card.wide { flex-direction: column; align-items: stretch; }
  .feature-card.wide .card-media { width: 100%; min-height: 200px; }
  .usecase-board,
  .metrics-band .shell,
  .plan-row { grid-template-columns: 1fr; }
  .login-shell { grid-template-columns: 1fr; }
  .login-story { min-height: 380px; }
  .app-body { grid-template-columns: 1fr; }
  .app-sidebar {
    position: relative;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .side-nav {
    grid-auto-flow: column;
    margin-left: auto;
  }
  .side-label { display: none; }
  .tenant-box { display: none; }
}

@media (max-width: 680px) {
  .nav-actions .ghost-link { display: none; }
  .hero-metrics,
  .preview-grid,
  .stats-row,
  .security-steps,
  .governance-grid,
  .work-grid { grid-template-columns: 1fr; }
  .testimonial-wall { columns: 1; }
  .metrics-band .shell { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .ops-banner,
  .workspace-header { flex-direction: column; align-items: flex-start; }
  .side-nav { grid-auto-flow: row; width: 100%; }
}
