/* ============================================================
   daDetective - Design System
   Brand: Helvetica Neue / Noir #13233D / Blue #3A4F99
          Bright Blue #5090FE / Accent Orange #FE5E32
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --noir: #13233D;
  --noir-2: #0d1a2e;
  --blue: #3A4F99;
  --blue-bright: #5090FE;
  --orange: #FE5E32;
  --orange-dark: #ef4a1d;
  --off-white: #FBFBFB;
  --grey-100: #F4F6FA;
  --grey-200: #E9EDF4;
  --grey-300: #DDDDDD;
  --grey-400: #C3CAD6;
  --ink: #13233D;
  --ink-60: #465267;
  --ink-45: #6b7688;
  --white: #ffffff;
  --line: #e7ebf2;

  --grad-noir: linear-gradient(160deg, #1a2c4d 0%, #13233D 55%, #0d1a2e 100%);
  --grad-blue: linear-gradient(150deg, #4a63bd 0%, #3A4F99 60%, #2c3d7e 100%);
  --grad-brand: linear-gradient(135deg, #5090FE 0%, #3A4F99 100%);
  --grad-orange: linear-gradient(135deg, #ff7a54 0%, #FE5E32 100%);

  --shadow-sm: 0 1px 2px rgba(19,35,61,.06), 0 1px 3px rgba(19,35,61,.05);
  --shadow-md: 0 10px 30px -12px rgba(19,35,61,.18);
  --shadow-lg: 0 30px 60px -20px rgba(19,35,61,.28);
  --shadow-blue: 0 24px 60px -20px rgba(58,79,153,.45);
  --shadow-orange: 0 12px 30px -8px rgba(254,94,50,.45);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --pill: 999px;

  --container: 1200px;
  --container-wide: 1320px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul { list-style: none; padding: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
h4 { font-size: 1.12rem; }
p { color: var(--ink-60); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-bright);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue-bright); border-radius: 2px; }
.eyebrow.center::after { content: ""; width: 22px; height: 2px; background: var(--blue-bright); border-radius: 2px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-60); line-height: 1.6; }
.hl { color: var(--blue-bright); }
.hl-o { color: var(--orange); }

/* hand-drawn brand circle highlight (from bento) */
.circle-hl { position: relative; white-space: nowrap; color: var(--ink); isolation: isolate; }
.circle-hl svg { position: absolute; left: -8%; top: -14%; width: 116%; height: 128%; pointer-events: none; overflow: visible; z-index: -1; }
.circle-hl svg path { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 720; stroke-dashoffset: 720; }
.circle-hl.drawn svg path { transition: stroke-dashoffset 1s var(--ease); stroke-dashoffset: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.wide { max-width: var(--container-wide); }
.container.narrow { max-width: 860px; }
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 14px 0 16px; }
.dark { background: var(--grad-noir); color: #eaf0fb; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark p { color: #b9c6dd; }
.dark .lead { color: #cdd8ec; }
.tint { background: var(--off-white); }
.tint-2 { background: var(--grey-100); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: var(--pill);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; cursor: pointer; border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(254,94,50,.55); }
.btn-blue { background: var(--blue-bright); color: #fff; box-shadow: 0 12px 30px -10px rgba(80,144,254,.5); }
.btn-blue:hover { background: #3f7ff0; transform: translateY(-2px); }
.btn-dark { background: var(--noir); color: #fff; }
.btn-dark:hover { background: #1e3358; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--grey-300); }
.btn-outline:hover { border-color: var(--noir); background: var(--noir); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 12px; }
.btn-ghost:hover { color: var(--blue); }
.dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.28); }
.dark .btn-outline:hover { background: #fff; color: var(--noir); border-color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-arrow svg { transition: transform .25s var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }

.textlink { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue); }
.textlink svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }
.dark .textlink { color: var(--blue-bright); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav-inner { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); border-bottom-color: var(--line); box-shadow: 0 4px 24px -18px rgba(19,35,61,.5); }
.nav.solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(16px); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; color: var(--noir); flex-shrink: 0; }
.brand svg { height: 40px; width: auto; }
.brand img { height: 46px; width: auto; }
.brand .logo-white { display: none; }
.nav.on-dark:not(.scrolled) .brand .logo-blue { display: none; }
.nav.on-dark:not(.scrolled) .brand .logo-white { display: block; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--noir); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 300; font-weight: 700; }
.skip-link:focus { left: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 15px; border-radius: var(--pill); font-weight: 600; font-size: .96rem; color: var(--ink); transition: background .18s, color .18s; }
.nav-links a:hover { background: var(--grey-100); color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login { font-weight: 700; padding: 11px 22px; border-radius: var(--pill); border: 2px solid var(--grey-300); color: var(--noir); transition: .2s var(--ease); }
.nav-login:hover { border-color: var(--noir); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; color: var(--noir); }
.nav-toggle svg { width: 26px; height: 26px; }

/* transparent nav over dark hero */
.nav.on-dark:not(.scrolled) .brand { color: #fff; }
.nav.on-dark:not(.scrolled) .nav-links a { color: #dbe4f5; }
.nav.on-dark:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav.on-dark:not(.scrolled) .nav-login { color: #fff; border-color: rgba(255,255,255,.35); }
.nav.on-dark:not(.scrolled) .nav-login:hover { border-color: #fff; }
.nav.on-dark:not(.scrolled) .nav-toggle { color: #fff; }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--grad-noir); color: #fff;
  transform: translateY(-100%); transition: transform .45s var(--ease); padding: calc(var(--nav-h) + 20px) 24px 40px; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-size: 1.5rem; font-weight: 700; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .mm-cta { margin-top: 28px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 60px); padding-bottom: 90px; overflow: hidden; background: var(--grad-noir); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--glass-pattern); background-size: 46px; opacity: .16; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.95) 30%); mask-image: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.95) 30%); }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -160px; background: radial-gradient(circle, rgba(80,144,254,.55), transparent 62%); filter: blur(20px); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero .circle-hl { color: #fff; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.3); }
.hero .btn-outline:hover { background: #fff; color: var(--noir); border-color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin: 22px 0 20px; }
.hero .lead { color: #c6d2e8; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: #cdd8ec; }
.hero-badge svg { width: 20px; height: 20px; color: var(--blue-bright); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pill-tag { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 10px; border-radius: var(--pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .86rem; font-weight: 600; color: #dbe6fb; }
.pill-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #46e6a3; box-shadow: 0 0 0 4px rgba(70,230,163,.22); }

/* ---------- Search demo (product mock) ---------- */
.demo-card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); }
.demo-window { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--grey-100); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--grey-300); }
.demo-dots i:nth-child(1){ background:#ff5f57;} .demo-dots i:nth-child(2){ background:#febc2e;} .demo-dots i:nth-child(3){ background:#28c840;}
.demo-url { flex: 1; text-align: center; font-size: .78rem; color: var(--ink-45); font-weight: 600; }
.demo-body { padding: 18px; }
.search-field { display: flex; align-items: center; gap: 12px; border: 2px solid var(--blue-bright); border-radius: 20px; padding: 14px 18px; box-shadow: 0 0 0 5px rgba(80,144,254,.12); min-height: 84px; }
.search-field svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.search-typed { font-size: 1.02rem; font-weight: 500; color: var(--ink); line-height: 1.45; }
.search-caret { display: inline-block; width: 2px; height: 1.15em; background: var(--orange); margin-left: 1px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-meta { display: flex; align-items: center; justify-content: space-between; margin: 16px 2px 12px; font-size: .82rem; font-weight: 600; color: var(--ink-45); }
.search-meta b { color: var(--blue); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.result-grid .r { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--grey-200); opacity: 0; transform: scale(.9) translateY(6px); }
.result-grid .r.show { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.result-grid .r img { width: 100%; height: 100%; object-fit: cover; }
.result-grid .r .score { position: absolute; top: 6px; right: 6px; background: rgba(19,35,61,.82); color: #fff; font-size: .62rem; font-weight: 700; padding: 3px 6px; border-radius: 6px; }
.result-grid .r.video::after { content: ""; position: absolute; left: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.55); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 58% center; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.demo-chip { font-size: .8rem; font-weight: 600; padding: 7px 13px; border-radius: var(--pill); background: var(--grey-100); color: var(--ink-60); border: 1px solid var(--line); transition: .18s; cursor: pointer; }
.demo-chip:hover { background: #fff; color: var(--blue); border-color: var(--blue-bright); }
.demo-chip.active { background: var(--noir); color: #fff; border-color: var(--noir); }
.demo-float { position: absolute; z-index: 3; pointer-events: none; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 15px; display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .9rem; color: var(--noir); }
.demo-float svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: #fff; }
.demo-float.f1 { top: -22px; right: -18px; }
.demo-float.f1 svg { background: var(--grad-brand); }
.demo-float.f2 { bottom: 205px; left: -34px; }
.demo-float.f2 svg { background: var(--grad-brand); }
.demo-float small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-45); }

/* ---------- Logo strip ---------- */
.logostrip { padding: 40px 0 20px; }
.logostrip p { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 26px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 48px; }
.logo-row span { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: #97a2b5; opacity: .9; }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ico { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: var(--grad-brand); color: #fff; }
.card .ico.orange { background: var(--grad-brand); }
.card .ico.noir { background: var(--grad-brand); }
.card .ico svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .98rem; }
.card.dark { background: var(--noir); border-color: rgba(255,255,255,.08); }
.card.dark:hover { box-shadow: var(--shadow-blue); }

/* feature: big split rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row.rev .feature-media { order: -1; }
.feature-media { position: relative; }
.feature-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.feature-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); background: rgba(80,144,254,.1); padding: 7px 14px; border-radius: var(--pill); margin-bottom: 18px; white-space: nowrap; }
.feature-tag svg { width: 16px; height: 16px; flex-shrink: 0; }
.feature-list { display: grid; gap: 14px; margin-top: 24px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.feature-list li svg { width: 22px; height: 22px; color: var(--blue-bright); flex-shrink: 0; margin-top: 2px; }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat .n { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat.o .n { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin-top: 10px; font-weight: 600; font-size: .95rem; }
.dark .stat p { color: #b9c6dd; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; }
.step .num { width: 44px; height: 44px; border-radius: 13px; background: var(--noir); color: #fff; font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.step:nth-child(2) .num { background: var(--blue); }
.step:nth-child(3) .num { background: var(--blue-bright); }
.step h3 { margin-bottom: 10px; }

/* ---------- Video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--noir); box-shadow: var(--shadow-md); aspect-ratio: 16/10; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; opacity: .9; }
.video-card:hover img { transform: scale(1.06); opacity: .75; }
.video-card .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-card .play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: transform .25s var(--ease), background .2s; }
.video-card .play span svg { width: 24px; height: 24px; color: var(--noir); margin-left: 3px; }
.video-card:hover .play span { transform: scale(1.12); background: #fff; }
.video-card .vtitle { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-weight: 700; font-size: 1rem;
  background: linear-gradient(transparent, rgba(9,16,30,.9)); }
.video-card .vtitle small { display: block; font-size: .78rem; font-weight: 600; opacity: .75; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7,13,26,.9); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-inner { width: min(1000px, 100%); aspect-ratio: 16/9; position: relative; }
.lightbox-inner iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: -46px; right: 0; color: #fff; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255,255,255,.26); }

/* ---------- Before / After slider ---------- */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); user-select: none; aspect-ratio: 1/1; max-width: 520px; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after-wrap { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.ba .after-wrap img { width: auto; height: 100%; max-width: none; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); cursor: ew-resize; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.ba .handle .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; color: var(--noir); }
.ba .handle .knob svg { width: 22px; height: 22px; }
.ba .tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: var(--pill); font-size: .76rem; font-weight: 700; color: #fff; }
.ba .tag.b { right: 14px; background: rgba(19,35,61,.8); }
.ba .tag.a { left: 14px; background: var(--orange); }

/* ---------- Comparison table ---------- */
.compare { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff; }
.compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.compare-row > div { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.compare-row:last-child > div { border-bottom: none; }
.compare-head > div { font-weight: 800; font-size: 1.02rem; }
.compare-head .c-dam { background: var(--grey-100); color: var(--ink-60); justify-content: center; }
.compare-head .c-dase { background: var(--grad-noir); color: #fff; justify-content: center; position: relative; }
.compare-head .c-dase small { position: absolute; top: 8px; right: 12px; background: var(--orange); color: #fff; font-size: .64rem; padding: 2px 8px; border-radius: var(--pill); letter-spacing: .04em; }
.compare-row .c-feat { font-weight: 700; color: var(--ink); }
.compare-row .c-dam { background: #fdfdfe; color: var(--ink-45); justify-content: center; text-align: center; }
.compare-row .c-dase { background: rgba(80,144,254,.05); justify-content: center; text-align: center; font-weight: 600; color: var(--ink); }
.compare-row .c-dam svg, .compare-row .c-dase svg { width: 22px; height: 22px; flex-shrink: 0; }
.compare-row .c-dam svg { color: #b06a6a; } .compare-row .c-dase svg { color: var(--blue-bright); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.pop { border: 2px solid var(--blue-bright); box-shadow: var(--shadow-blue); }
.price-card.pop::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 16px; border-radius: var(--pill); letter-spacing: .03em; }
.price-card h3 { margin-bottom: 6px; }
.price-card .desc { font-size: .92rem; color: var(--ink-45); min-height: 44px; }
.price-card .amt { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 6px; }
.price-card .amt .cur { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.price-card .amt .val { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.price-card .amt .per { font-size: .95rem; color: var(--ink-45); font-weight: 600; }
.price-card ul { display: grid; gap: 13px; margin: 24px 0 28px; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink); }
.price-card ul li svg { width: 20px; height: 20px; color: var(--blue-bright); flex-shrink: 0; margin-top: 2px; }
.price-card .btn { margin-top: auto; }

/* ---------- ROI calculator ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.roi-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.roi-field { margin-bottom: 26px; }
.roi-field:last-child { margin-bottom: 0; }
.roi-field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 12px; }
.roi-field label span { color: var(--blue); font-size: 1.15rem; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: var(--pill); background: var(--grey-200); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); cursor: pointer; box-shadow: 0 4px 12px -2px rgba(254,94,50,.6); border: 3px solid #fff; }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); cursor: pointer; border: 3px solid #fff; }
.roi-out { background: var(--grad-noir); color: #fff; border-radius: var(--radius-lg); padding: 40px; text-align: center; position: relative; overflow: hidden; }
.roi-out::before { content: none; }
.roi-out .rlabel { position: relative; font-size: .9rem; font-weight: 600; color: #b9c6dd; text-transform: uppercase; letter-spacing: .1em; }
.roi-out .rbig { position: relative; font-size: clamp(3rem,6vw,4.4rem); font-weight: 800; letter-spacing: -.03em; margin: 12px 0; background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.roi-out .rsub { position: relative; color: #cdd8ec; }
.roi-out .rrow { position: relative; display: flex; justify-content: space-around; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.roi-out .rrow .n { font-size: 1.7rem; font-weight: 800; color: #fff; }
.roi-out .rrow small { color: #9fb0cc; font-size: .82rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote-card .stars { display: flex; gap: 3px; color: var(--orange); margin-bottom: 16px; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.12rem; font-weight: 500; color: var(--ink); line-height: 1.5; letter-spacing: -.01em; }
.quote-card .who { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.quote-card .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-card .who b { display: block; font-size: .96rem; }
.quote-card .who span { font-size: .85rem; color: var(--ink-45); }
.quote-lg blockquote { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }

/* ---------- Industries ---------- */
.ind-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; box-shadow: var(--shadow-md); }
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ind-card:hover img { transform: scale(1.06); }
.ind-card .ov { position: relative; z-index: 2; padding: 28px; color: #fff; width: 100%; background: linear-gradient(transparent, rgba(9,16,30,.92)); }
.ind-card .ov h3 { color: #fff; margin-bottom: 6px; }
.ind-card .ov p { color: #cdd8ec; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--grad-noir); color: #fff; padding: clamp(48px,7vw,80px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--glass-pattern); background-size: 42px; opacity: .16; }
.cta-band::after { content: ""; position: absolute; width: 480px; height: 480px; left: -140px; bottom: -220px; background: radial-gradient(circle, rgba(254,94,50,.4), transparent 62%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #cdd8ec; max-width: 620px; margin: 16px auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--grey-300); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(80,144,254,.14); }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--ink-45); margin-top: 8px; text-align: center; }
.form-success { display: none; text-align: center; padding: 20px; }
.form-success.show { display: block; }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: rgba(80,144,254,.12); color: var(--blue-bright); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .ok svg { width: 32px; height: 32px; }
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* onboarding timeline */
.timeline { display: grid; gap: 8px; }
.tl-step { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; }
.tl-step .tl-n { width: 38px; height: 38px; border-radius: 50%; background: rgba(80,144,254,.12); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-step h4 { margin-bottom: 3px; }
.tl-step p { font-size: .92rem; }
.dark .tl-step .tl-n { background: rgba(80,144,254,.2); color: var(--blue-bright); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.faq-q .ic { width: 30px; height: 30px; border-radius: 50%; background: var(--grey-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .25s var(--ease); }
.faq-q .ic svg { width: 18px; height: 18px; color: var(--blue); }
.faq-item.open .faq-q .ic { background: var(--noir); transform: rotate(45deg); }
.faq-item.open .faq-q .ic svg { color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding-bottom: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--noir-2); color: #a9b6cf; padding: 72px 0 32px; position: relative; }
.footer::before { content: ""; position: absolute; inset: 0; background-image: var(--glass-pattern); background-size: 50px; opacity: .12; pointer-events: none; }
.footer .container { position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand svg { height: 42px; color: #fff; margin-bottom: 18px; }
.footer-brand p { color: #93a2bd; max-width: 300px; font-size: .95rem; }
.footer-col h5 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-col a { display: block; padding: 7px 0; color: #a9b6cf; font-size: .96rem; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; font-size: .88rem; color: #7e8da8; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: #cdd8ec; transition: .2s; }
.footer-social a:hover { background: var(--blue-bright); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: calc(var(--nav-h) + 70px) 0 60px; background: var(--grad-noir); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--glass-pattern); background-size: 46px; opacity: .16; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 16px 0 18px; max-width: 800px; }
.page-hero .lead { color: #c6d2e8; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #9fb0cc; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .08s; }
[data-reveal].d2 { transition-delay: .16s; }
[data-reveal].d3 { transition-delay: .24s; }
[data-reveal].d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); border: 0; }
.badge-soft { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--pill); font-weight: 700; font-size: .82rem; background: rgba(80,144,254,.1); color: var(--blue); }
.badge-soft.g { background: rgba(58,79,153,.12); color: var(--blue); }
.badge-soft.o { background: rgba(19,35,61,.06); color: var(--noir); }
.badge-soft.more { background: transparent; color: var(--ink-45); font-weight: 600; font-style: italic; padding-inline: 6px; }
.maxw-680 { max-width: 680px; }
.glass-bg { background-image: var(--glass-pattern); }

/* pattern token (magnifying-glass motif) */
:root {
  --glass-pattern: url("../img/pattern-glass.png");
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-grid .demo-card { max-width: 560px; }
  .roi { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .nav-login { display: none; }
  .nav-toggle { display: flex; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.rev .feature-media { order: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .compare-row { grid-template-columns: 1.3fr .85fr .85fr; }
  .compare-row > div { padding: 15px 12px; font-size: .9rem; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .demo-float.f2 { display: none; }
  .demo-float.f1 { right: -6px; }
  .logo-row { gap: 18px 28px; }
  .logo-row span { font-size: 1.1rem; }
}


/* ---------- Art direction refinements (Anna) ---------- */
/* Problem-list markers stay muted, not brand blue */
.feature-list.neg li svg { color: #c07a7a; }

/* Magnifying-glass motif behind navy sections, subtle with a fade */
section.dark { overflow: hidden; }
section.dark::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--glass-pattern);
  background-size: 44px;
  opacity: .2;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.95) 30%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.95) 30%);
  pointer-events: none;
}
section.dark > .container { position: relative; z-index: 1; }

/* ---------- Interior page components ---------- */
/* long-form legal / prose */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-60); font-size: 1rem; line-height: 1.75; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose .lede { font-size: 1.1rem; color: var(--ink); }

/* download / resource cards */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dl-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.dl-card .dl-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center; color: #fff; }
.dl-card .dl-ico svg { width: 22px; height: 22px; }
.dl-card b { display: block; font-size: 1rem; color: var(--ink); letter-spacing: -.01em; }
.dl-card span { font-size: .88rem; color: var(--ink-45); }
.dl-card .dl-arrow { margin-left: auto; color: var(--blue); flex-shrink: 0; transition: transform .25s var(--ease); }
.dl-card .dl-arrow svg { width: 20px; height: 20px; }
.dl-card:hover .dl-arrow { transform: translateX(4px); }

/* numbered instruction steps */
.numsteps { counter-reset: ns; display: grid; gap: 4px; }
.numsteps li { position: relative; counter-increment: ns; padding: 16px 0 16px 58px; border-bottom: 1px solid var(--line); color: var(--ink); }
.numsteps li:last-child { border-bottom: none; }
.numsteps li::before { content: counter(ns); position: absolute; left: 0; top: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; font-weight: 800; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.numsteps li b { color: var(--ink); }
.numsteps li small { display: block; margin-top: 4px; color: var(--ink-45); font-size: .9rem; }

/* provider chips */
.providers { display: flex; flex-wrap: wrap; gap: 10px; }
.providers span { padding: 9px 16px; border-radius: var(--pill); background: rgba(80,144,254,.09);
  color: var(--blue); font-weight: 600; font-size: .92rem; border: 1px solid rgba(80,144,254,.16); }

/* callout */
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius);
  background: rgba(80,144,254,.07); border: 1px solid rgba(80,144,254,.18); }
.callout .c-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center; color: #fff; }
.callout .c-ico svg { width: 20px; height: 20px; }
.callout p { margin: 0; font-size: .97rem; }
.callout.warn { background: rgba(254,94,50,.06); border-color: rgba(254,94,50,.2); }
.callout.warn .c-ico { background: var(--grad-orange); }

@media (max-width: 860px) {
  .dl-grid { grid-template-columns: 1fr; }
}
