/* =====================================================================
   TriggerFlow marketing site — v2 design system
   ===================================================================== */

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

:root {
  color-scheme: light;

  /* Core palette */
  --ink: #0b1410;
  --ink-2: #1f2a24;
  --ink-3: #3b4943;
  --muted: #5f6d66;
  --muted-2: #7b8781;
  --line: rgba(11, 20, 16, 0.08);
  --line-strong: rgba(11, 20, 16, 0.14);

  /* Surfaces */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-tint: #f5f8f3;
  --surface-soft: #f8faf6;
  --surface-dark: #0c1512;
  --surface-dark-2: #13211c;
  --surface-dark-3: #1a2f28;

  /* Accents */
  --accent: #6aae29;
  --accent-strong: #4f9117;
  --accent-soft: rgba(106, 174, 41, 0.14);
  --accent-glow: rgba(106, 174, 41, 0.35);
  --info: #2b7fff;
  --warning: #f4a42a;
  --danger: #e5484d;
  --success: #33d17a;

  /* Type */
  --fs-display: clamp(2.8rem, 5vw, 4.2rem);
  --fs-h1: clamp(2.2rem, 3.6vw, 3.2rem);
  --fs-h2: clamp(1.8rem, 2.8vw, 2.4rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(11, 20, 16, 0.04);
  --shadow-sm: 0 6px 16px rgba(11, 20, 16, 0.06);
  --shadow-md: 0 14px 36px rgba(11, 20, 16, 0.08);
  --shadow-lg: 0 30px 60px rgba(11, 20, 16, 0.12);
  --shadow-accent: 0 18px 40px rgba(106, 174, 41, 0.25);

  /* Spacing scale */
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-28: 112px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

/* =====================================================================
   Layout primitives
   ===================================================================== */

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.container-narrow {
  width: min(860px, 92%);
  margin: 0 auto;
}

.section {
  padding: var(--s-24) 0;
}

.section-sm {
  padding: var(--s-16) 0;
}

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

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

.section--dark {
  background: var(--surface-dark);
  color: #e8efea;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

.section--dark p {
  color: #b9c5be;
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--s-12);
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: var(--fs-h2);
  margin: var(--s-3) 0 var(--s-4);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-head p {
  color: var(--ink-3);
  font-size: 1.05rem;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--fs-eyebrow);
}

.section--dark .eyebrow {
  color: #9ecd6a;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

h1, h2, h3, h4 {
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  margin: 0 0 1em;
}

/* =====================================================================
   Header / nav
   ===================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--ink-3);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}

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

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

/* =====================================================================
   Buttons
   ===================================================================== */

.btn {
  padding: 11px 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  box-shadow: 0 22px 48px rgba(106, 174, 41, 0.32);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

.btn-on-dark {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-arrow::after {
  content: "→";
  transition: transform 0.15s ease;
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* =====================================================================
   Hero
   ===================================================================== */

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(106, 174, 41, 0.12), transparent 60%),
    radial-gradient(900px 300px at -5% 20%, rgba(106, 174, 41, 0.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7faf3 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 20, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 20, 16, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(900px 500px at 50% 0%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 500px at 50% 0%, #000 25%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
}

.hero-copy .highlight {
  background: linear-gradient(120deg, var(--accent-strong), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  font-size: 1.18rem;
  color: var(--ink-3);
  max-width: 560px;
  margin: 0 0 28px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-tag-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-tag-row .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
  display: inline-block;
}

/* =====================================================================
   Fleet dashboard mockup (hero + showcase)
   ===================================================================== */

.mockup {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #ffffff, #f3f7ee);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateX(1deg);
}

.mockup-screenshot {
  display: none;
  width: 100%;
  height: auto;
}

.mockup.has-screenshot .mockup-built {
  display: none;
}

.mockup.has-screenshot .mockup-screenshot {
  display: block;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f2f5ee;
  border-bottom: 1px solid var(--line);
}

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

.mockup-chrome .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6dccf;
}

.mockup-chrome .url {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", monospace;
  text-align: center;
}

.mockup-body {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0;
}

.device-grid {
  padding: 16px;
  background: #fbfdf8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-right: 1px solid var(--line);
}

.device-tile {
  background: #0d1411;
  border-radius: var(--r-md);
  padding: 10px;
  color: #cfd8d3;
  font-size: 0.72rem;
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.device-tile::before {
  content: "";
  position: absolute;
  inset: 28px 10px 28px 10px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, #1b2a24 0%, #122019 100%);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 6px);
  opacity: 0.9;
}

.device-tile .tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  font-weight: 600;
  color: #e7ede9;
}

.device-tile .status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(51, 209, 122, 0.18);
}

.device-tile.warn .status { background: var(--warning); box-shadow: 0 0 0 3px rgba(244, 164, 42, 0.22); }
.device-tile.err .status { background: var(--danger); box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.22); }
.device-tile.idle .status { background: #8795a0; box-shadow: 0 0 0 3px rgba(135, 149, 160, 0.2); }

.device-tile .tile-foot {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
  color: #95a39c;
}

.device-tile .bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.device-tile .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #b8e07d);
  border-radius: 2px;
}

.device-tile.focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.device-tile.warn .bar > span { background: linear-gradient(90deg, var(--warning), #ffd27a); }
.device-tile.err .bar > span { background: linear-gradient(90deg, var(--danger), #ff8b8e); }

.alert-panel {
  padding: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alert-panel .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
}

.alert-panel .panel-head .chip {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.alert-item {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fdfefb;
}

.alert-item .ic {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  font-weight: 700;
}

.alert-item.warn .ic { background: #fff3dc; color: #a2690a; }
.alert-item.err .ic { background: #ffe2e4; color: #a11b1f; }
.alert-item.ok .ic { background: #e1f4d2; color: #3a6e11; }
.alert-item.info .ic { background: #dcebff; color: #1958c9; }

.alert-item .txt {
  font-size: 0.78rem;
  color: var(--ink-2);
  line-height: 1.4;
}

.alert-item .txt strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.alert-item .meta {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.mockup-float {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 10px 12px;
  font-size: 0.78rem;
  color: var(--ink-2);
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.mockup-float.f-1 { top: 14%; left: -18px; }
.mockup-float.f-2 { bottom: 9%; right: -14px; }

.mockup-float .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
}

.mockup-float .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(51, 209, 122, 0.4);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* =====================================================================
   Capability strip
   ===================================================================== */

.cap-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.cap-strip .row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.cap-item {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 500;
}

.cap-item .ic {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  flex-shrink: 0;
}

/* =====================================================================
   Pillars
   ===================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Compact pillar strip (homepage summary) — visual, minimal, with arrows */
.pillars.pillars--compact {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.pillars.pillars--compact .pillar {
  flex: 1 1 260px;
  max-width: 320px;
  padding: 28px 26px;
  background: var(--surface);
  gap: 12px;
}

.pillars.pillars--compact .pillar h3 {
  font-size: 1.35rem;
}

.pillars.pillars--compact .pillar p {
  font-size: 0.96rem;
  color: var(--ink-3);
}

.pillar-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 1.4rem;
  color: var(--accent-strong);
  opacity: 0.5;
  flex-shrink: 0;
  user-select: none;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.pillar-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 1.1rem;
}

.pillar h3 {
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.pillar p {
  color: var(--ink-3);
  margin: 0;
}

.pillar ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar ul li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.pillar ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: radial-gradient(circle at center, var(--accent) 30%, transparent 32%);
}

.pillar-preview {
  margin-top: 8px;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.82rem;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.preview-row strong {
  color: var(--ink);
  font-weight: 600;
}

.mini-bar {
  height: 6px;
  background: #e3ead9;
  border-radius: 3px;
  overflow: hidden;
}

.mini-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

/* =====================================================================
   Dashboard showcase (dark)
   ===================================================================== */

.showcase {
  padding: var(--s-24) 0;
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(106, 174, 41, 0.18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(41, 124, 255, 0.1), transparent 60%),
    var(--surface-dark);
  color: #e8efea;
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(1000px 500px at 50% 100%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(1000px 500px at 50% 100%, #000 20%, transparent 80%);
  pointer-events: none;
}

.showcase .container { position: relative; }

.showcase h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 10px 0 18px;
  max-width: 18ch;
}

.showcase p.lead {
  color: #adb8b2;
  font-size: 1.1rem;
  max-width: 54ch;
  margin: 0;
}

.showcase-grid {
  margin-top: var(--s-12);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase-mockup {
  background: #0a110e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.showcase-mockup .mockup-chrome {
  background: #10201a;
  border-color: rgba(255, 255, 255, 0.06);
}

.showcase-mockup .mockup-chrome .url {
  background: #0b1512;
  border-color: rgba(255, 255, 255, 0.06);
  color: #7e8e87;
}

.showcase-mockup .mockup-body {
  grid-template-columns: 1.5fr 1fr;
  background: #0a110e;
}

.showcase-mockup .device-grid {
  background: #0a110e;
  border-right-color: rgba(255, 255, 255, 0.06);
  grid-template-columns: repeat(3, 1fr);
}

.showcase-mockup .device-tile {
  background: #101e19;
  border-color: rgba(255, 255, 255, 0.08);
  color: #c2d0c9;
}

.showcase-mockup .device-tile::before {
  background: linear-gradient(180deg, #1a2e25 0%, #0f1d17 100%);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 6px);
}

.showcase-mockup .alert-panel {
  background: #0c1814;
}

.showcase-mockup .alert-panel .panel-head {
  color: #fff;
}

.showcase-mockup .alert-panel .panel-head .chip {
  background: rgba(106, 174, 41, 0.18);
  color: #aedd6c;
}

.showcase-mockup .alert-item {
  background: #10201a;
  border-color: rgba(255, 255, 255, 0.06);
}

.showcase-mockup .alert-item .txt { color: #c2d0c9; }
.showcase-mockup .alert-item .txt strong { color: #fff; }
.showcase-mockup .alert-item .meta { color: #7f8d86; }

.showcase-callouts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.callout-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 22px 22px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.callout-item:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 174, 41, 0.4);
}

.callout-item h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.callout-item h4 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(106, 174, 41, 0.18);
  color: #b9e27b;
  font-size: 0.78rem;
  font-weight: 800;
}

.callout-item p {
  margin: 0;
  color: #a6b4ad;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* =====================================================================
   Use case cards
   ===================================================================== */

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.usecase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 220px;
}

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

.usecase-card .badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.usecase-card h3 {
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.usecase-card p {
  color: var(--ink-3);
  margin: 0;
  font-size: 0.95rem;
}

.usecase-card .learn {
  margin-top: auto;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.usecase-card .learn::after {
  content: "→";
  transition: transform 0.15s ease;
}

.usecase-card:hover .learn::after {
  transform: translateX(3px);
}

/* =====================================================================
   Compare row (alternatives)
   ===================================================================== */

.compare {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-col {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-col:last-child {
  border-right: none;
}

.compare-col.featured {
  background: linear-gradient(180deg, #f3f8ec 0%, #ffffff 100%);
  position: relative;
}

.compare-col.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: var(--r-xl);
  pointer-events: none;
}

.compare-col h4 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--ink);
}

.compare-col .muted {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-col li {
  font-size: 0.88rem;
  color: var(--ink-3);
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.compare-col li::before {
  content: "·";
  position: absolute;
  left: 4px;
  top: -4px;
  color: var(--muted-2);
  font-weight: 700;
  font-size: 1.2rem;
}

.compare-col.featured li::before {
  content: "✓";
  color: var(--accent-strong);
  font-size: 0.85rem;
  top: 0;
  font-weight: 800;
}

.compare-col.featured h4 {
  color: var(--accent-strong);
}

/* =====================================================================
   Deployment / pricing preview
   ===================================================================== */

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.deploy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.deploy-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f7faf0 100%);
  box-shadow: var(--shadow-accent);
}

.deploy-card .tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.deploy-card h3 {
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.deploy-card .role {
  color: var(--muted);
  font-size: 0.88rem;
  margin: -6px 0 0;
}

.deploy-card .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 6px 0 0;
  line-height: 1.1;
}

.deploy-card .price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}

.deploy-card ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deploy-card ul li {
  font-size: 0.92rem;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}

.deploy-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 800;
}

.deploy-card .actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deploy-card .actions .btn {
  width: 100%;
}

/* =====================================================================
   Enterprise block
   ===================================================================== */

.ent-block {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(106, 174, 41, 0.18), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, var(--surface-dark-3) 100%);
  border-radius: var(--r-xl);
  padding: 56px 52px;
  color: #e7ede9;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ent-block h2 {
  color: #ffffff;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin: 10px 0 16px;
}

.ent-block p {
  color: #b4c0ba;
  margin: 0 0 8px;
  max-width: 56ch;
}

.ent-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.ent-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 16px 18px;
}

.ent-stat .k {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.ent-stat .d {
  color: #9faaa3;
  font-size: 0.82rem;
  margin-top: 2px;
}

.ent-cta {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.ent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ent-list .row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ent-list .row .ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(106, 174, 41, 0.22);
  color: #b9e27b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.ent-list .row strong {
  color: #ffffff;
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
}

.ent-list .row p {
  margin: 2px 0 0;
  color: #a6b4ad;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* =====================================================================
   Trust / evidence
   ===================================================================== */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

.trust-card .ic {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.trust-card h4 {
  font-size: 1rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.trust-card p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* =====================================================================
   FAQ
   ===================================================================== */

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}

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

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--muted);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 14px 0 0;
  color: var(--ink-3);
}

/* =====================================================================
   CTA band
   ===================================================================== */

.cta-band {
  margin-top: var(--s-12);
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(106, 174, 41, 0.22), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(106, 174, 41, 0.12), transparent 60%),
    linear-gradient(135deg, #0b1410 0%, #1a2a23 100%);
  border-radius: var(--r-xl);
  padding: 48px 52px;
  color: #e8efea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.cta-band p {
  color: #adb8b2;
  margin: 0;
}

.cta-band .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================================================================
   Page hero (subpages)
   ===================================================================== */

.page-hero {
  padding: 80px 0 48px;
  background:
    radial-gradient(900px 320px at 80% 0%, rgba(106, 174, 41, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff, #f7faf3);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  line-height: 1.1;
}

.page-hero .lead {
  color: var(--ink-3);
  font-size: 1.1rem;
  max-width: 64ch;
  margin: 0;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }

.content {
  padding: 60px 0 80px;
}

.content h2 {
  margin: 36px 0 10px;
  font-size: 1.5rem;
}

.content p {
  color: var(--ink-3);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.pill-item {
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
}

.video-embed {
  background: var(--surface-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  margin: 24px 0;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed--coming-soon {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 32px;
  background:
    radial-gradient(900px 320px at 50% 0%, rgba(106, 174, 41, 0.18), transparent 60%),
    linear-gradient(180deg, #101b16 0%, #07100c 100%);
}

.video-embed__content {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  color: #eef6ef;
}

.video-embed__logo {
  width: min(260px, 70%);
  height: auto;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
}

.video-embed__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #10200f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-embed__content p {
  max-width: 42ch;
  margin: 0;
  color: #aebbb3;
}

.callout {
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 22px 0;
  color: var(--ink-2);
}

.related-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.related-links a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-weight: 500;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.related-links a:hover {
  border-color: var(--accent);
  transform: translateX(3px);
}

/* =====================================================================
   Grid helpers
   ===================================================================== */

.grid {
  display: grid;
  gap: 20px;
}

.grid.cards {
  grid-template-columns: repeat(3, 1fr);
}

/* Legacy/compatibility for old card class (sub-pages still use this) */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.card p {
  color: var(--ink-3);
  font-size: 0.95rem;
}

.card-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

/* =====================================================================
   Pricing page
   ===================================================================== */

.pricing-hero {
  padding: 80px 0 32px;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(106, 174, 41, 0.14), transparent 60%),
    linear-gradient(180deg, #ffffff, #f7faf3);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.pricing-hero h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.025em;
  margin: 10px 0 14px;
}

.pricing-hero p {
  color: var(--ink-3);
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0 auto;
}

.billing-toggle {
  display: inline-flex;
  background: #eef3e6;
  border-radius: var(--r-pill);
  padding: 4px;
  margin-top: 28px;
}

.billing-toggle-btn {
  border: none;
  background: transparent;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-3);
  transition: background 0.15s ease, color 0.15s ease;
}

.billing-toggle-btn.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f7faf0 100%);
  box-shadow: var(--shadow-accent);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-tier {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pricing-role {
  color: var(--muted);
  font-size: 0.88rem;
  margin: -6px 0 0;
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}

.pricing-price span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.pricing-desc {
  color: var(--ink-3);
  font-size: 0.95rem;
  margin: 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 6px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  padding-left: 24px;
  position: relative;
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.45;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 800;
}

.pricing-excluded {
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.comparison-table thead th {
  background: var(--surface-tint);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

.comparison-table tbody tr:hover {
  background: var(--surface-soft);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table .feature-group td {
  background: #eef3e6;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.comparison-check {
  color: var(--accent-strong);
  font-weight: 800;
}

.comparison-cross {
  color: #c8d1cb;
}

/* =====================================================================
   Footer
   ===================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 60px;
  color: var(--ink-3);
  background: var(--surface-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-col h5 {
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--ink-3);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

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

.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand p {
  color: var(--ink-3);
  margin: 10px 0 0;
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* =====================================================================
   Chat widget
   ===================================================================== */

.chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 9999;
  transition: transform 0.2s ease;
}

.chat-launcher:hover {
  transform: scale(1.06);
}

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 380px;
  height: 520px;
  background: #ffffff;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  z-index: 9998;
  border: 1px solid var(--line);
}

.chat-panel.open { display: flex; }

.chat-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  padding: 12px 16px;
  border-radius: var(--r-md);
  max-width: 85%;
  font-size: 0.92rem;
  line-height: 1.5;
}

.chat-message.bot {
  background: var(--surface-tint);
  color: var(--ink-2);
  align-self: flex-start;
}

.chat-message.user {
  background: var(--accent);
  color: #ffffff;
  align-self: flex-end;
}

.chat-input-area {
  padding: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-family: inherit;
}

.chat-input:focus {
  outline: none;
  border-color: var(--accent);
}

.chat-send {
  padding: 10px 18px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-weight: 600;
}

/* =====================================================================
   Media slot — first-class video / screenshot container
   (designed so real assets can drop in without structural changes)
   ===================================================================== */

.media-slot {
  position: relative;
  width: 100%;
  border-radius: var(--r-xl);
  background:
    radial-gradient(140% 100% at 50% 0%, #14241e 0%, #0a110e 60%, #070d0b 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 50px 90px -20px rgba(0, 0, 0, 0.45),
    0 2px 0 0 rgba(255, 255, 255, 0.04) inset,
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
  isolation: isolate;
}

.media-slot--light {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7ee 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.media-slot--wide { aspect-ratio: 16 / 9; }
.media-slot--landscape { aspect-ratio: 4 / 3; }
.media-slot--square { aspect-ratio: 1 / 1; }
.media-slot--portrait { aspect-ratio: 4 / 5; }

.media-slot > video,
.media-slot > img,
.media-slot > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  z-index: 2;
}

/* Placeholder pattern shown until real media is inserted */
.media-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1000px 360px at 20% -10%, rgba(106, 174, 41, 0.14), transparent 60%),
    radial-gradient(900px 380px at 110% 110%, rgba(41, 124, 255, 0.08), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  pointer-events: none;
  z-index: 1;
}

.media-slot--light::before {
  background-image:
    radial-gradient(1000px 420px at 20% -10%, rgba(106, 174, 41, 0.12), transparent 60%),
    linear-gradient(rgba(11, 20, 16, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 20, 16, 0.03) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}

/* Subtle corner accent marks on empty slots (premium feel) */
.media-slot::after {
  content: "";
  position: absolute;
  inset: 46px 22px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: calc(var(--r-xl) - 8px);
  pointer-events: none;
  z-index: 1;
}

.media-slot--light::after {
  border-color: rgba(11, 20, 16, 0.06);
}

.media-slot[data-has-media="true"]::after {
  display: none;
}

/* Device-frame chrome around the media */
.media-slot__chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(12, 22, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 3;
  font-size: 0.76rem;
  color: #8ea096;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", monospace;
}

.media-slot--light .media-slot__chrome {
  background: rgba(242, 245, 238, 0.85);
  border-bottom-color: var(--line);
  color: var(--muted);
}

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

.media-slot__chrome .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.media-slot--light .media-slot__chrome .dots span {
  background: #d6dccf;
}

/* Centered label visible only when no media is inserted */
.media-slot__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.media-slot__label .tag {
  display: none; /* hidden by default — caption chip carries the slot id */
}

.media-slot[data-slot$="video"]:not([data-has-media="true"]) .media-slot__label::before {
  content: "Video coming soon";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #10200f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-slot__label .kind {
  color: #e8efea;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.media-slot--light .media-slot__label .kind {
  color: var(--ink);
}

.media-slot__label .hint {
  color: #8a988f;
  font-size: 0.85rem;
  max-width: 38ch;
  line-height: 1.5;
}

.media-slot--light .media-slot__label .hint {
  color: var(--muted);
}

.media-slot__label .play {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow:
    0 10px 24px rgba(106, 174, 41, 0.35),
    0 0 0 6px rgba(106, 174, 41, 0.12),
    0 0 0 14px rgba(106, 174, 41, 0.06);
  margin-bottom: 2px;
  transition: transform 0.2s ease;
}

.media-slot[data-has-media="true"] .media-slot__label,
.media-slot[data-has-media="true"]::before {
  display: none;
}

/* Empty-slot caption chip — ghost, bottom-left, minimal */
.media-slot__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(12, 22, 18, 0.55);
  backdrop-filter: blur(10px);
  color: rgba(213, 224, 217, 0.65);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", monospace;
}

.media-slot[data-has-media="true"] .media-slot__caption {
  display: none;
}

/* =====================================================================
   Hero media area (hosts the hero-video-slot)
   ===================================================================== */

.hero-media {
  position: relative;
}

.hero-media .media-slot {
  border-radius: var(--r-xl);
}

.hero-media .media-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #0c1512 0%, #1a2e25 100%);
  color: #b9e27b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(185, 226, 123, 0.25);
  box-shadow: var(--shadow-md);
}

.hero-media .media-badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(51, 209, 122, 0.25);
}

/* =====================================================================
   Deployment options (3 operational modes, not pricing)
   ===================================================================== */

.deploy-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.deploy-option-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.deploy-option-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 80% -10%, rgba(106, 174, 41, 0.08), transparent 60%);
  pointer-events: none;
}

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

.deploy-option-card .mode-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.deploy-option-card h3 {
  font-size: 1.45rem;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.2;
  position: relative;
}

.deploy-option-card .tagline {
  color: var(--ink-3);
  margin: 0;
  font-size: 0.98rem;
  position: relative;
}

.deploy-option-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
  position: relative;
}

.deploy-option-card dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.deploy-option-card dl > div:first-child {
  border-top: none;
  padding-top: 0;
}

.deploy-option-card dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
}

.deploy-option-card dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.5;
}

.deploy-option-card .actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.deploy-option-card .actions .btn {
  flex: 1 1 auto;
}

.deploy-option-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f7faf0 100%);
  box-shadow: var(--shadow-accent);
}

.deploy-option-card.featured .mode-tag {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
}

/* Small schematic diagram inside each deploy card */
.deploy-diagram {
  position: relative;
  height: 72px;
  border-radius: var(--r-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.deploy-diagram .node {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.deploy-diagram .node .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.deploy-diagram .link {
  flex: 0 0 20px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--muted-2) 0 3px, transparent 3px 6px);
}

.deploy-diagram .cloud {
  background: var(--ink);
  color: #ffffff;
  border: none;
}

.deploy-diagram .cloud .dot {
  background: #b9e27b;
}

.deploy-diagram.with-fleet {
  gap: 4px;
}

.deploy-diagram .device-mini {
  width: 18px;
  height: 14px;
  border-radius: 3px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  position: relative;
}

.deploy-diagram .device-mini::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(180deg, #f0f5e8, #e0ecc9);
  border-radius: 2px;
}

/* =====================================================================
   Showcase row (alternating media + copy)
   ===================================================================== */

.showcase-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-row + .showcase-row {
  margin-top: var(--s-20);
}

.showcase-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.showcase-row.reverse .showcase-copy {
  order: 2;
}

.showcase-row.reverse .showcase-media {
  order: 1;
}

.showcase-copy .eyebrow {
  margin-bottom: 14px;
}

.showcase-copy h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.1rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.showcase-copy .lead {
  color: var(--ink-3);
  font-size: 1.05rem;
  margin: 0 0 18px;
  max-width: 52ch;
}

.showcase-copy ul.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-copy ul.bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.5;
}

.showcase-copy ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent-soft);
  background-image: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.showcase-copy ul.bullets li::after {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 4px;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
}

.showcase-copy .row-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.95rem;
}

.showcase-copy .row-cta::after {
  content: "→";
  transition: transform 0.15s ease;
}

.showcase-copy .row-cta:hover::after {
  transform: translateX(3px);
}

.showcase-stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.showcase-stats .stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
}

.showcase-stats .stat .k {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.showcase-stats .stat .d {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Used when the showcase row sits on a dark section */
.section--dark .showcase-copy h3 { color: #ffffff; }
.section--dark .showcase-copy .lead { color: #b9c5be; }
.section--dark .showcase-copy ul.bullets li { color: #d5e0d9; }
.section--dark .showcase-copy ul.bullets li::after { color: #ffffff; }
.section--dark .showcase-stats .stat { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
.section--dark .showcase-stats .stat .k { color: #ffffff; }
.section--dark .showcase-stats .stat .d { color: #9faaa3; }

/* =====================================================================
   Why-strip (compact "where TriggerFlow fits")
   ===================================================================== */

.why-strip {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 32px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.why-strip h3 {
  font-size: 1.25rem;
  margin: 8px 0 0;
  letter-spacing: -0.01em;
}

.why-strip p {
  color: var(--ink-3);
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.why-strip .why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.why-strip .why-grid .item {
  border-left: 2px solid var(--line);
  padding-left: 16px;
}

.why-strip .why-grid .item .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}

.why-strip .why-grid .item strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.why-strip .why-grid .item p {
  font-size: 0.85rem;
  margin-top: 4px;
  color: var(--ink-3);
}

.why-strip .why-grid .item.highlight {
  border-left-color: var(--accent);
}

.why-strip .why-grid .item.highlight strong {
  color: var(--accent-strong);
}

/* =====================================================================
   Commercial model band (flexible, from-price, demo-led)
   ===================================================================== */

.commercial-band {
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(106, 174, 41, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7faf3 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 48px 48px 40px;
  box-shadow: var(--shadow-sm);
}

.commercial-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.commercial-head .lead {
  color: var(--ink-3);
  font-size: 1.05rem;
  margin: 14px 0 0;
  max-width: 56ch;
}

.commercial-head .from-price {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-xs);
}

.commercial-head .from-price .label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.commercial-head .from-price .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

.commercial-head .from-price .price .num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.commercial-head .from-price .price .unit {
  color: var(--muted);
  font-size: 0.9rem;
}

.commercial-head .from-price small {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.85rem;
}

.commercial-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.commercial-path {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.commercial-path:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

.commercial-path .who {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.commercial-path h4 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.commercial-path .desc {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.95rem;
  line-height: 1.5;
}

.commercial-path .range {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
}

.commercial-path .range .muted {
  color: var(--muted);
  font-weight: 500;
}

.commercial-path ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.commercial-path ul li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.45;
}

.commercial-path ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-strong);
  font-weight: 800;
}

.commercial-path .path-cta {
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.commercial-path .path-cta::after {
  content: "→";
  transition: transform 0.15s ease;
}

.commercial-path:hover .path-cta::after {
  transform: translateX(3px);
}

.commercial-path.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f5fae8 100%);
}

.commercial-foot {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 0.92rem;
}

.commercial-foot .meta {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.commercial-foot .meta span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.commercial-foot .meta .check {
  color: var(--accent-strong);
  font-weight: 800;
}

/* =====================================================================
   Responsive
   ===================================================================== */

/* Prevent layout blowout from long words or wide inline content */
body { overflow-x: hidden; }
.comparison-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Large laptops and smaller (≤1100px) */
@media (max-width: 1100px) {
  .hero { padding: 80px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy .lead { max-width: 620px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 36px; }
  .ent-block { grid-template-columns: 1fr; padding: 44px 36px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-strip .row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .mockup-float.f-1 { left: 12px; }
  .mockup-float.f-2 { right: 12px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
}

/* Tablet (≤1024px) — fine tuning for small laptops and landscape tablets */
@media (max-width: 1024px) {
  :root {
    --s-24: 80px;
    --s-20: 64px;
  }

  .nav { gap: 16px; }
  .nav-links { gap: 20px; font-size: 0.9rem; }

  .compare { grid-template-columns: repeat(2, 1fr); }
  .compare-col:nth-child(2n) { border-right: none; }
  .compare-col { border-bottom: 1px solid var(--line); }
  .compare-col:nth-last-child(-n+2) { border-bottom: none; }

  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .deploy-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card-featured { grid-column: 1 / -1; }

  .deploy-options { grid-template-columns: 1fr; }
  .deploy-option-card { max-width: 680px; margin: 0 auto; width: 100%; }

  .showcase-row,
  .showcase-row.reverse { grid-template-columns: 1fr; gap: 36px; }
  .showcase-row.reverse .showcase-copy,
  .showcase-row.reverse .showcase-media { order: initial; }

  .why-strip { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .why-strip .why-grid { grid-template-columns: repeat(2, 1fr); }

  .commercial-head { grid-template-columns: 1fr; align-items: flex-start; gap: 24px; }
  .commercial-head .from-price { justify-self: start; }
  .commercial-paths { grid-template-columns: 1fr; }
  .commercial-path { max-width: 680px; margin: 0 auto; width: 100%; }
}

/* Tablet portrait & small screens (≤900px) */
@media (max-width: 900px) {
  .nav-links { display: none; }

  .section { padding: var(--s-16) 0; }
  .showcase { padding: var(--s-16) 0; }

  .hero { padding: 64px 0 56px; }
  .hero-copy .lead { font-size: 1.08rem; }

  .pillars { grid-template-columns: 1fr; }
  .pillars.pillars--compact { flex-direction: column; align-items: stretch; }
  .pillars.pillars--compact .pillar { max-width: none; }
  .pillar-arrow { transform: rotate(90deg); padding: 6px 0; opacity: 0.4; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .deploy-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { grid-column: auto; }
  .pricing-card { max-width: 520px; margin: 0 auto; width: 100%; }
  .compare { grid-template-columns: 1fr; }
  .compare-col { border-right: none; border-bottom: 1px solid var(--line); }
  .compare-col:last-child { border-bottom: none; }
  .grid.cards { grid-template-columns: 1fr 1fr; }

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

  .cta-band { padding: 36px 28px; flex-direction: column; align-items: flex-start; }
  .ent-block { padding: 36px 28px; gap: 32px; }
  .ent-cta { width: 100%; }
  .ent-cta .btn { flex: 1 1 auto; min-width: 150px; }

  .chat-panel { width: calc(100vw - 32px); right: 16px; }

  .mockup-body { grid-template-columns: 1fr; }
  .device-grid { border-right: none; border-bottom: 1px solid var(--line); }
  .showcase-mockup .mockup-body { grid-template-columns: 1fr; }
  .showcase-mockup .device-grid { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

  .mockup-float { display: none; }

  .section-head { margin-bottom: var(--s-8); }

  .page-hero { padding: 56px 0 40px; }
  .pricing-hero { padding: 56px 0 28px; }

  .comparison-table { font-size: 0.88rem; }
  .comparison-table th,
  .comparison-table td { padding: 12px 14px; }
}

/* Phone landscape / small tablets (≤768px) */
@media (max-width: 768px) {
  .hero-copy h1 { font-size: clamp(2.4rem, 7vw, 3rem); }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 160px; }

  .cta-band .actions { width: 100%; }
  .cta-band .actions .btn { flex: 1 1 auto; min-width: 150px; }

  .deploy-card, .pillar, .pricing-card, .deploy-option-card, .commercial-path { padding: 28px 24px; }
  .commercial-band { padding: 36px 28px 32px; }
  .showcase-stats { grid-template-columns: 1fr 1fr; }
  .why-strip .why-grid { grid-template-columns: 1fr 1fr; }

  .footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Mobile (≤560px) */
@media (max-width: 560px) {
  .container, .container-narrow { width: min(100%, calc(100% - 32px)); }

  .hero { padding: 48px 0 40px; }
  .hero-copy h1 { font-size: 2.3rem; line-height: 1.06; }
  .hero-copy .lead { font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-tag-row { font-size: 0.82rem; gap: 10px 14px; }

  .nav { padding: 12px 0; gap: 10px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn { padding: 9px 14px; font-size: 0.88rem; }
  .logo img { height: 28px; }

  .usecase-grid { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .cap-strip .row { grid-template-columns: 1fr 1fr; }
  .ent-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }

  .device-grid { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 10px; }
  .device-tile { font-size: 0.68rem; padding: 8px; }

  .cta-band { padding: 32px 22px; border-radius: var(--r-lg); }
  .ent-block { padding: 32px 22px; border-radius: var(--r-lg); }

  .commercial-band { padding: 28px 22px; border-radius: var(--r-lg); }
  .commercial-head .from-price { width: 100%; }
  .deploy-option-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .deploy-option-card dl > div dt { font-size: 0.66rem; }
  .showcase-copy h3 { font-size: clamp(1.6rem, 6vw, 1.95rem); }
  .showcase-stats { grid-template-columns: 1fr; }
  .why-strip { padding: 24px 22px; border-radius: var(--r-lg); }
  .why-strip .why-grid { grid-template-columns: 1fr; }
  .media-slot__label .kind { font-size: 0.95rem; }
  .media-slot__label .hint { font-size: 0.8rem; }

  .showcase h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .section-head h2 { font-size: clamp(1.6rem, 5.5vw, 2rem); }
  .page-hero h1 { font-size: clamp(2rem, 7vw, 2.6rem); }

  .pricing-price { font-size: 2rem; }
  .deploy-card .price { font-size: 1.7rem; }

  .compare-col { padding: 22px 18px; }
  .compare-col.featured::before { border-radius: var(--r-lg); }

  .faq details { padding: 16px 18px; }
  .faq summary { font-size: 0.95rem; }

  .chat-launcher { width: 52px; height: 52px; bottom: 16px; right: 16px; font-size: 20px; }
  .chat-panel { bottom: 80px; right: 16px; width: calc(100vw - 32px); height: min(520px, calc(100vh - 120px)); }
}

/* Very small phones (≤380px) — absolute guardrail */
@media (max-width: 380px) {
  .cap-strip .row { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy h1 { font-size: 2rem; }
  .nav-cta .btn { padding: 8px 12px; font-size: 0.82rem; }
  .logo img { height: 26px; }
}

/* Reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
