:root {
  --bg: #eef0f5;
  --surface: #f6f7fa;
  --navy: #121a3a;
  --navy-2: #0b1230;
  --muted: #9ba6c2;          /* grey-blue headline words */
  --text-2: #4a5470;
  --text-3: #6b748f;
  --line: rgba(18, 26, 58, .06);
  --indigo: #3822fb;         /* logo colour */
  --grad: linear-gradient(90deg, #5d8ff7 0%, #6e74f6 30%, #8f63f2 52%, #d26ad8 76%, #f59a5f 100%);
  --pad: clamp(20px, 3vw, 48px);
  --nav-h: 80px;
  --radius: 28px;
  --tile: 120px;
  --gap: 5px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--navy);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }
h1 b, h2 b { font-weight: inherit; color: var(--navy); }
h1 em, h2 em { font-style: normal; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 500; font-size: 18px; border-radius: 999px; height: 62px; padding: 0 40px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  cursor: pointer; white-space: nowrap; border: 0;
}
.btn:hover { transform: translateY(-2px); }
/* primary button uses the logo gradient: blue → violet → pink → orange */
.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #1575fb 0%, #4459f1 22%, #7f41e9 44%, #bb3de1 64%, #df4094 82%, #fc6b4a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -2px 6px rgba(60,10,90,.25),
              0 20px 32px -14px rgba(120,60,230,.6), 0 6px 12px -6px rgba(200,60,140,.35);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, filter .25s;
}
.btn-primary:hover { filter: brightness(1.08) saturate(1.1); }
.final .btn-primary { box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 20px 34px -12px rgba(40,10,120,.55); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn-ghost { color: var(--navy); background: rgba(255,255,255,.55); border: 1.5px solid rgba(18,26,58,.14); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: #fff; }
.btn-light { color: var(--navy); background: #fff; box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }

/* ---------- nav ---------- */
/* full-width frosted-glass bar — always has its own surface */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 80px;
  display: flex; align-items: center; gap: 30px; padding: 0 var(--pad);
  border-radius: 0;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border: 0; border-bottom: 1px solid rgba(18,26,58,.07);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(18,26,58,.04), 0 14px 34px -22px rgba(30,30,90,.35);
  transition: background .3s, box-shadow .3s;
}
/* once you scroll: a little more opaque, a little more lift */
.nav.solid {
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(18,26,58,.06), 0 18px 40px -20px rgba(30,30,90,.45);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: clamp(26px, 3.4vw, 52px); margin-left: auto; font-size: 17px; color: var(--text-3); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.nav-links .nav-trial { display: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn {
  display: none; height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.5); border: 1.5px solid rgba(18,26,58,.16); color: var(--navy); font-size: 17px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 720px; overflow: hidden;
  display: flex; flex-direction: column;
  background:
    radial-gradient(38% 45% at 8% 6%, rgba(93,143,247,.13), transparent 70%),
    radial-gradient(34% 40% at 96% 10%, rgba(214,106,220,.10), transparent 70%),
    radial-gradient(120% 70% at 60% 0%, #fbfbfd 0%, var(--surface) 45%, var(--bg) 100%);
}
.grid-lines { display: none;
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(var(--tile) + var(--gap)) 100%;
  background-position: var(--lines-x, 0) 0;   /* line up with the tile columns */
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 30%, #000 60%, transparent 85%);
          mask-image: linear-gradient(to bottom, transparent 8%, #000 30%, #000 60%, transparent 85%);
}
.hero-copy { order: 1; position: relative; z-index: 3; flex-shrink: 0; padding: calc(var(--nav-h) + 6vh) var(--pad) 2.5vh; }
/* two columns: wording on the left, glass icon visual on the right */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 4vw, 70px); max-width: 1320px; margin: 0 auto; }

.hero-visual { position: relative; height: min(46vh, 420px); display: grid; place-items: center; }
.hv-glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; filter: blur(40px); opacity: .55;
  background: radial-gradient(circle, rgba(93,143,247,.7), rgba(143,99,242,.45) 45%, rgba(245,154,95,.25) 70%, transparent 75%); }
.hv-tile {
  position: relative; width: min(30vh, 250px); aspect-ratio: 1; border-radius: 26%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(255,255,255,.85), rgba(255,255,255,.45));
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, inset 0 -12px 30px rgba(255,255,255,.4), 0 40px 70px -34px rgba(70,40,200,.55);
}
.hv-tile .ele { width: 72%; height: auto; display: block; border-radius: 22%; box-shadow: 0 18px 40px -16px rgba(120,60,230,.65); overflow: visible; }
/* the elephant itself: ear flaps, trunk curls, eye blinks, head nods */
.ele .e-body, .ele .e-ear, .ele .e-trunk, .ele .e-eye { transform-box: view-box; }
.ele .e-body { transform-origin: 250px 360px; animation: eNod 6s ease-in-out infinite; }
.ele .e-ear { transform-origin: 196px 178px; animation: eEar 4.2s ease-in-out infinite; }
.ele .e-trunk { transform-origin: 222px 300px; animation: eTrunk 5s ease-in-out infinite; }
.ele .e-eye { transform-origin: 297px 178px; animation: eBlink 4.6s ease-in-out infinite; }
@keyframes eNod { 0%, 100% { transform: rotate(0) } 30% { transform: rotate(-2.2deg) } 65% { transform: rotate(1.4deg) } }
@keyframes eEar { 0%, 55%, 100% { transform: rotate(0) scaleX(1) } 15% { transform: rotate(-9deg) scaleX(.94) } 30% { transform: rotate(3deg) scaleX(1.02) } 42% { transform: rotate(-4deg) } }
@keyframes eTrunk { 0%, 100% { transform: rotate(0) } 35% { transform: rotate(14deg) } 60% { transform: rotate(-5deg) } 80% { transform: rotate(3deg) } }
@keyframes eBlink { 0%, 90%, 100% { transform: scaleY(1) } 94% { transform: scaleY(.1) } }
.hv-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 16px 10px 10px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--navy);
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 32px -20px rgba(30,30,90,.45);
}
.hv-chip i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff;
  background: linear-gradient(135deg, #1575fb, #7f41e9 55%, #df4094); }
.hv-chip.c1 { top: 6%; left: 2%; }
.hv-chip.c2 { top: 22%; right: 0; }
.hv-chip.c3 { bottom: 22%; left: 0; }
.hv-chip.c4 { bottom: 5%; right: 4%; }

/* ---- hero elephant animation (desktop only; the visual is hidden below 1100px) ---- */
@property --ring-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.hv-stage { position: relative; display: grid; place-items: center; transform-style: preserve-3d;
  transform: perspective(900px) rotateX(calc(var(--my, 0) * -9deg)) rotateY(calc(var(--mx, 0) * 11deg));
  transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hv-tile { position: relative; overflow: hidden; animation: hvFloat 6s ease-in-out infinite; }
@keyframes hvFloat { 0%, 100% { translate: 0 0 } 50% { translate: 0 -12px } }
/* light reflection sweeping across the glass every few seconds */
.hv-tile::after { content: ''; position: absolute; inset: -20%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.75) 50%, transparent 62%);
  transform: translateX(-120%); animation: hvShine 5.5s ease-in-out infinite 1.2s; }
@keyframes hvShine { 0% { transform: translateX(-120%) } 28%, 100% { transform: translateX(120%) } }
/* rotating gradient scan ring around the tile */
.hv-ring { position: absolute; width: calc(min(30vh, 250px) + 44px); aspect-ratio: 1; border-radius: 30%; padding: 2.5px;
  background: conic-gradient(from var(--ring-a), transparent 0 50%, rgba(21,117,251,.9) 66%, rgba(127,65,233,.95) 80%, rgba(223,64,148,.9) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 10px rgba(127,65,233,.55)); animation: hvRing 7s linear infinite, hvFloat 6s ease-in-out infinite; }
@keyframes hvRing { to { --ring-a: 360deg } }
.hv-glow { animation: hvGlow 6s ease-in-out infinite; }
@keyframes hvGlow { 0%, 100% { opacity: .5; scale: 1 } 50% { opacity: .7; scale: 1.06 } }
/* labels drift on their own rhythm and shift a little with the mouse for depth */
.hv-chip { animation: hvChip 7s ease-in-out infinite; translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px); transition: translate .5s cubic-bezier(.2,.8,.2,1); }
.hv-chip.c2 { animation-delay: -1.8s; } .hv-chip.c3 { animation-delay: -3.5s; } .hv-chip.c4 { animation-delay: -5.2s; }
@keyframes hvChip { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.loaded .hero-visual.reveal { transition-delay: .12s; }

/* glass stats bar centred on the two coloured rows at the bottom of the hero */
.hero-stats {
  position: absolute; z-index: 3; left: 50%; width: min(1320px, calc(100% - 2 * var(--pad)));
  bottom: calc(var(--tile) + var(--gap) / 2 - var(--hs-h, 120px) / 2);
  transform: translateX(-50%); height: var(--hs-h, 120px);
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
  border-radius: 28px;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 30px 60px -30px rgba(40,20,140,.55);
}
.hero-stats.reveal { transform: translate(-50%, 14px); }
.loaded .hero-stats.reveal { transform: translateX(-50%); transition-delay: .16s; }
.hero-stats .hs-tiles { display: none; }
.hs { padding: 0 clamp(18px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 4px; }
.hs b { font-size: clamp(24px, 2.3vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--navy); white-space: nowrap; }
.hs span { font-size: clamp(13px, 1vw, 15px); color: var(--text-2); }
.hero-copy h1 { font-weight: 500; letter-spacing: -.035em; line-height: 1.04; font-size: min(5.4vw, 10.5vh); margin-bottom: 3.4vh; margin-left: -.04em; }
.hero-copy h1 .line { display: flex; align-items: center; flex-wrap: wrap; column-gap: .24em; }
/* description on the left, buttons on the right — uses the full width */
.hero-sub { display: flex; flex-direction: column; align-items: flex-start; gap: 4.2vh; }
.lead { font-size: clamp(17px, 1.55vw, 23px); line-height: 1.45; color: var(--navy); opacity: .85; max-width: 640px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* always-on gradient toggle in the headline (decorative, not clickable) */
.toggle {
  position: relative; display: inline-block; width: 1.42em; height: .8em; border-radius: 999px; border: 0;
  background: var(--grad); margin-left: .12em; flex-shrink: 0;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.18), inset 0 -2px 4px rgba(255,255,255,.35), 0 10px 22px -10px rgba(120,80,240,.7);
  transition: background .4s, box-shadow .4s, transform .2s;
}
.toggle i {
  position: absolute; top: .07em; left: calc(100% - .73em); width: .66em; height: .66em; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #f4f4f8 60%, #dcdce6 100%);
  box-shadow: 0 4px 10px rgba(30,20,90,.35), inset 0 -2px 3px rgba(0,0,0,.08), 4px 0 10px -2px rgba(245,154,95,.55);
  transition: left .45s cubic-bezier(.4,1.4,.5,1);
}

/* ---------- frosted glass tiles ---------- */
.tiles {
  position: relative; z-index: 1; flex: 1 1 0; min-height: calc(var(--tile) * 2.4);
  display: grid; gap: var(--gap); align-content: start;
  grid-template-columns: repeat(var(--cols, 12), var(--tile)); grid-auto-rows: var(--tile);
  overflow: hidden; isolation: isolate; contain: paint;
  transition: filter .6s, opacity .6s;
}
.tiles::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 70% at 12% 85%, rgba(93,143,247,.95), transparent 70%),
    radial-gradient(35% 60% at 45% 90%, rgba(56,34,251,.55), transparent 70%),
    radial-gradient(35% 70% at 80% 70%, rgba(214,106,220,.85), transparent 70%),
    radial-gradient(25% 60% at 100% 95%, rgba(245,154,95,.9), transparent 70%),
    var(--grad);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent var(--fade, 0%), rgba(0,0,0,.55) calc(var(--fade, 0%) + 9%), #000 calc(var(--fade, 0%) + 22%));
          mask-image: linear-gradient(to bottom, transparent 0%, transparent var(--fade, 0%), rgba(0,0,0,.55) calc(var(--fade, 0%) + 9%), #000 calc(var(--fade, 0%) + 22%));
}
.tile {
  position: relative; border-radius: 20px;
  background: radial-gradient(120% 90% at 25% 15%, rgba(255,255,255,.5), transparent 60%), rgba(255,255,255,.18);
  box-shadow: inset 0 1px 1.5px rgba(255,255,255,.9), inset 0 0 26px rgba(255,255,255,.35);
}
.tile.faint { background: radial-gradient(120% 90% at 25% 15%, rgba(255,255,255,.5), transparent 60%), rgba(255,255,255,.5); }
/* near-white glass slots that fill the space above the colour */
.tile.ghost {
  background: linear-gradient(160deg, rgba(255,255,255,.8), rgba(248,249,252,.55));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.6), 0 8px 20px -16px rgba(40,30,140,.16);
}
.tile.color::after {
  content: ''; position: absolute; width: 9px; height: 9px; left: -7px; top: -7px; z-index: 3;
  background: rgba(78,96,255,.75); border-radius: 2px; transform: rotate(45deg) scale(.8);
  box-shadow: 0 0 8px rgba(120,130,255,.8);
}
.tiles-band { position: absolute; inset: 80px 0 0 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center; padding: 0 var(--edge, 16px) var(--edge, 16px); overflow: hidden; }
.tiles-band .tiles { flex: none; min-height: 0; }

/* full-colour tile grid used inside cards */
.tiles.mini { position: absolute; inset: 0; min-height: 0; --tile: 96px; --gap: 4px; padding: 4px; z-index: 0; }
.tiles.mini::before { -webkit-mask-image: none; mask-image: none; }
.tiles.mini .tile { border-radius: 16px; }

/* load-in reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s cubic-bezier(.2,.8,.2,1); }
.loaded .reveal { opacity: 1; transform: none; }
.loaded .hero-sub.reveal { transition-delay: .08s; }

/* ---------- sections ---------- */
.wrap { width: min(1240px, 100% - 2 * var(--pad)); margin: 0 auto; }
.section { padding: 48px 0; }
.eyebrow { font-size: 14px; text-transform: uppercase; letter-spacing: .18em; color: #7a84a0; margin-bottom: 18px; font-weight: 500; }
.section-title { font-size: clamp(38px, 5vw, 74px); line-height: 1.03; letter-spacing: -.04em; font-weight: 500; margin-bottom: 36px; max-width: 920px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.in-view { opacity: 0; transform: translateY(16px); transition: opacity .45s ease-out, transform .45s cubic-bezier(.2,.8,.2,1); }
.in-view.seen { opacity: 1; transform: none; }

.card {
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.7));
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 60px -40px rgba(30,30,90,.35);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 40px 70px -40px rgba(56,34,251,.4); }


/* steps */
/* ---- How it works: animated timeline ---- */
.flow { position: relative; }
.flow-rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; height: 46px; }
.rail-track { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 50%; height: 3px; transform: translateY(-50%);
  border-radius: 999px; background: rgba(18,26,58,.08); overflow: hidden; }
.rail-fill { display: block; height: 100%; width: var(--fill, 0%); border-radius: inherit;
  background: linear-gradient(90deg, #1575fb, #7f41e9 50%, #df4094); transition: width 1.1s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 12px rgba(127,65,233,.6); }
.node {
  position: relative; z-index: 1; justify-self: center; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: 17px; color: var(--text-3);
  background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 10px 24px -14px rgba(30,30,90,.5); transition: color .4s, background .4s, box-shadow .4s, transform .4s;
}
.node.done, .node.active { color: #fff; background: linear-gradient(135deg, #1575fb, #7f41e9 55%, #df4094); }
.node.active { transform: scale(1.12); box-shadow: 0 0 0 7px rgba(127,65,233,.15), 0 14px 28px -10px rgba(127,65,233,.7); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 14px; display: flex; flex-direction: column; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.step.active { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 2px rgba(127,65,233,.28), 0 40px 70px -36px rgba(56,34,251,.5); }
.step-body { padding: 22px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.step-tag { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 10px; }
.step p { font-size: 16px; line-height: 1.5; color: var(--text-2); margin-bottom: 22px; }

/* step visuals share a glass "screen" */
.sv { position: relative; height: 214px; border-radius: 20px; padding: 20px; overflow: hidden;
  background: linear-gradient(160deg, #f5f3ff, #eef2ff 55%, #fdf2f8);
  border: 1px solid rgba(127,65,233,.1); }

/* 1 · URL being typed */
.sv-url { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.url-bar { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 24px -16px rgba(30,30,90,.45); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--navy); }
.lock { width: 16px; height: 16px; fill: none; stroke: #16a34a; stroke-width: 2; flex-shrink: 0; }
.caret { width: 2px; height: 18px; background: #7f41e9; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0 } }
.url-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.url-go { flex-shrink: 0; padding: 10px 22px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 500;
  background: linear-gradient(90deg, #1575fb, #7f41e9 55%, #df4094); box-shadow: 0 10px 22px -10px rgba(127,65,233,.7); transition: transform .3s; }
.step.pressed .url-go { animation: press .5s ease; }
@keyframes press { 40% { transform: scale(.92) } 100% { transform: scale(1) } }
.url-note { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-3); margin: 0 !important; }
.url-note i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }

/* 2 · AI activity log */
.log-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.ai-badge { font-size: 11px; font-weight: 700; color: #fff; padding: 4px 8px; border-radius: 8px; background: linear-gradient(135deg, #1575fb, #7f41e9 55%, #df4094); }
.ai-log { display: grid; gap: 7px; }
.ai-log li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2);
  padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.75); opacity: .35; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.ai-log li i { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(127,65,233,.25); }
.ai-log li.run { opacity: 1; transform: none; }
.ai-log li.run i { border-color: rgba(127,65,233,.2); border-top-color: #7f41e9; animation: spin .7s linear infinite; }
.ai-log li.ok { opacity: 1; transform: none; color: var(--navy); }
.ai-log li.ok i { border: 0; background: #22c55e; position: relative; }
.ai-log li.ok i::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg) } }

/* 3 · mini dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: #15803d; background: rgba(34,197,94,.14); padding: 4px 9px; border-radius: 999px; }
.dash-live i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.dash-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; height: 62px; margin-bottom: 12px; }
.db { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.db i { width: 100%; height: 8px; opacity: .3; border-radius: 8px 8px 4px 4px; transition: height .8s cubic-bezier(.3,1.3,.5,1), opacity .4s; }
.db b { font-size: 10.5px; font-weight: 500; color: var(--text-3); }
.db.crit i { background: linear-gradient(180deg, #ff5a7a, #ff3d6e); }
.db.high i { background: linear-gradient(180deg, #ffa063, #ff7a3d); }
.db.med i { background: linear-gradient(180deg, #f7c948, #f5b300); }
.db.low i { background: linear-gradient(180deg, #7aa2ff, #5d8ff7); }
.step.grown .db i { height: calc(var(--v) * 46px); opacity: 1; }
.step.grown .db:nth-child(2) i { transition-delay: .1s } .step.grown .db:nth-child(3) i { transition-delay: .2s } .step.grown .db:nth-child(4) i { transition-delay: .3s }
.dash-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--navy);
  padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.8); margin-top: 6px; opacity: .35; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.step.grown .dash-row { opacity: 1; transform: none; }
.step.grown .dash-row.r2 { transition-delay: .35s; }
.st { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.st.open { color: #be123c; background: rgba(255,61,110,.12); }
.st.fixed { color: #15803d; background: rgba(34,197,94,.14); }

.chip { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 500; color: var(--indigo); background: rgba(56,34,251,.08); padding: 7px 12px; border-radius: 999px; }

.stat-row { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 30px 60px -40px rgba(30,30,90,.3); }
.stat { padding: 30px 32px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid rgba(18,26,58,.07); }
.stat b { font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.stat span { font-size: 15px; color: var(--text-3); }

/* evidence split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.split .section-title { font-size: clamp(34px, 3.8vw, 58px); margin-bottom: 34px; }
.tile-card { position: relative; overflow: hidden; border-radius: 34px; min-height: 520px; box-shadow: 0 50px 90px -50px rgba(56,34,251,.6); }
.tile-card::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(28,14,110,.55) 0%, rgba(28,14,110,.1) 50%, rgba(28,14,110,.2) 100%); }
.tile-card-body { position: absolute; inset: 0; z-index: 3; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.tc-label { display: block; font-size: 15px; opacity: .9; margin-bottom: 14px; text-shadow: 0 2px 10px rgba(40,10,120,.3); }
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-chips span { font-size: 15px; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(12px); }
.tile-card-body p { font-size: 19px; line-height: 1.45; max-width: 420px; text-shadow: 0 2px 14px rgba(40,10,120,.35); }


.ticks { display: grid; gap: 18px; margin-bottom: 40px; }
.ticks li { position: relative; padding-left: 38px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.ticks li b { color: var(--navy); font-weight: 500; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--grad); }

/* assessments */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 36px; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; font-weight: 500; color: var(--text-3); margin-bottom: 22px; }
.price { font-size: 16px; color: var(--text-3); margin-bottom: 14px; }
.price b { font-size: 54px; letter-spacing: -.045em; color: var(--navy); font-weight: 600; margin-right: 6px; }
.plan-desc { font-size: 16px; line-height: 1.5; color: var(--text-2); margin-bottom: 28px; min-height: 48px; }
.plan ul { display: grid; gap: 13px; margin-bottom: 36px; font-size: 16px; }
.plan li { display: flex; gap: 11px; align-items: center; }
.plan li::before { content: '✓'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(56,34,251,.1); color: var(--indigo); font-size: 12px; flex-shrink: 0; }
.plan .btn { margin-top: auto; height: 54px; }
.plan.featured { background: linear-gradient(180deg, #222c58, var(--navy-2)); color: #fff; border-color: transparent; transform: translateY(-14px); box-shadow: 0 40px 80px -36px rgba(11,18,48,.8); }
.plan.featured:hover { transform: translateY(-20px); }
.plan.featured h3, .plan.featured .price, .plan.featured .plan-desc { color: rgba(255,255,255,.75); }
.plan.featured .price b { color: #fff; }
.plan.featured li::before { background: rgba(255,255,255,.14); color: #fff; }
.tag { position: absolute; top: 30px; right: 30px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }

/* final */
.final { padding: 40px 0 56px; }
.final-inner {
  position: relative; overflow: hidden; border-radius: 40px; min-height: 460px;
  display: grid; place-items: center; text-align: center; padding: 60px var(--pad);
  box-shadow: 0 50px 90px -50px rgba(56,34,251,.6);
}
.final-inner::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 50%, rgba(28,14,110,.42), rgba(28,14,110,.12) 70%); }
.final-copy { position: relative; z-index: 3; color: #fff; }
.final h2 { font-size: clamp(38px, 4.8vw, 72px); line-height: 1.03; letter-spacing: -.04em; font-weight: 500; margin-bottom: 18px; text-shadow: 0 6px 30px rgba(40,10,120,.3); }
.final-copy p { font-size: 18px; opacity: .9; margin-bottom: 36px; }

.footer { padding: 0 0 36px; color: var(--text-3); font-size: 15px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; border-top: 1px solid rgba(18,26,58,.08); padding-top: 34px; }
.footer .logo img { height: 36px; }
/* anchor links land below the fixed header, not under it */
section[id] { scroll-margin-top: 80px; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--navy); }

/* ---------- small screens ---------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-copy h1 { font-size: min(7.4vw, 11vh); }
  .hero-stats { --hs-h: 170px; grid-template-columns: 1fr 1fr; row-gap: 14px; padding: 16px 0; }
}
@media (max-width: 900px) {
  :root { --nav-h: 70px; }
  .nav { height: 70px; padding: 0 16px; }
  .tiles-band { top: 70px; }
  .nav-cta .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); right: 12px; left: 12px;
    flex-direction: column; gap: 4px; padding: 10px; border-radius: 22px;
    background: rgba(255,255,255,.94); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(30,30,90,.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-radius: 14px; }
  .nav-links a:hover { background: var(--bg); }
  .logo img { height: 34px; }
  .hero { height: auto; min-height: 0; }
  .hero-copy { padding: calc(var(--nav-h) + 44px) var(--pad) 44px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding-bottom: calc((var(--tile) + var(--gap)) * 3 + 12px); }
  .hero-copy h1 { font-size: 9.4vw; }
  .btn { height: 56px; padding: 0 30px; font-size: 17px; }
  .section { padding: 36px 0; }
  .steps, .price-grid, .split { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(18,26,58,.07); }
  .tile-card { min-height: 420px; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-6px); }
}
/* ---- Evidence: live evidence viewer ---- */
.ev-split { grid-template-columns: 1.15fr .85fr; }
.ev-frame { min-height: 0; padding: 34px; }
.ev-frame::after { background: linear-gradient(160deg, rgba(28,14,110,.12), rgba(28,14,110,.28)); }
.ev {
  position: relative; z-index: 3; border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -40px rgba(20,8,90,.75);
}
.ev-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(18,26,58,.06); background: rgba(246,247,251,.9); }
.ev-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.ev-chrome i:nth-child(2) { background: #febc2e; } .ev-chrome i:nth-child(3) { background: #28c840; }
.ev-chrome span { margin-left: 10px; font-size: 12px; color: var(--text-3); }
.ev-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px 16px; }
.ev-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.sev-badge { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #fff; padding: 4px 10px; border-radius: 999px; background: linear-gradient(90deg, #ff3d6e, #ff5a4e); }
.ai-ok { font-size: 12px; font-weight: 500; color: #15803d; background: rgba(34,197,94,.14); padding: 4px 10px; border-radius: 999px; }
.ev-title h3 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 4px; }
.ev-title code, .ev-reason code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text-3); }
/* CVSS score ring fills when the section comes into view */
.cvss { position: relative; width: 78px; height: 78px; flex-shrink: 0; display: grid; place-items: center; }
.cvss svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cvss circle { fill: none; stroke: rgba(255,61,110,.12); stroke-width: 4.5; }
.cvss .arc { stroke: #ff3d6e; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1) .3s; }
.ev-frame.seen .cvss .arc { stroke-dashoffset: calc(100 - var(--score) * 100); }
.cvss b { font-size: 22px; font-weight: 700; line-height: 1; margin-top: -8px; color: var(--navy); }
.cvss span { position: absolute; bottom: 17px; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; color: var(--text-3); }
/* tabs with an auto-advance progress underline */
.ev-tabs { display: flex; gap: 4px; padding: 0 16px; border-bottom: 1px solid rgba(18,26,58,.07); }
.ev-tabs button { position: relative; border: 0; background: none; cursor: pointer; padding: 12px 10px; font-size: 14px; font-weight: 500; color: var(--text-3); transition: color .25s; }
.ev-tabs button:hover { color: var(--navy); }
.ev-tabs button.on { color: var(--navy); }
.ev-tabs button i { position: absolute; left: 6px; right: 6px; bottom: -1px; height: 2px; border-radius: 2px; background: rgba(18,26,58,.06); overflow: hidden; opacity: 0; }
.ev-tabs button.on i { opacity: 1; }
.ev-tabs button i::after { content: ''; position: absolute; inset: 0; width: 100%; background: linear-gradient(90deg, #1575fb, #7f41e9 55%, #df4094); }
.ev.auto .ev-tabs button.on i::after { width: 0; animation: tabFill var(--tab-ms, 3800ms) linear forwards; }
@keyframes tabFill { to { width: 100% } }
.ev-panels { position: relative; height: 200px; }
.ev-panel { position: absolute; inset: 0; margin: 0; padding: 18px 22px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; pointer-events: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.75; color: #33405e; white-space: pre-wrap; word-break: break-word; overflow: auto; }
.ev-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.ev-panel mark { color: #be123c; background: rgba(255,61,110,.12); border-radius: 4px; padding: 1px 3px; }
.c-m { color: #7f41e9; font-weight: 600; } .c-k { color: #1575fb; } .c-c { color: #8a94ad; }
.ev-panel del { color: #be123c; background: rgba(255,61,110,.08); text-decoration: line-through; text-decoration-color: rgba(190,18,60,.5); padding: 0 4px; border-radius: 4px; }
.ev-panel ins { color: #15803d; background: rgba(34,197,94,.12); text-decoration: none; padding: 0 4px; border-radius: 4px; }
.ev-reason { font-family: inherit; font-size: 14.5px; line-height: 1.45; white-space: normal; display: grid; gap: 11px; align-content: start; }
.ev-reason p { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--text-2); opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.ev-reason.on p { opacity: 1; transform: none; }
.ev-reason.on p:nth-child(2) { transition-delay: .3s } .ev-reason.on p:nth-child(3) { transition-delay: .6s } .ev-reason.on p:nth-child(4) { transition-delay: .9s }
.ev-reason b { color: var(--navy); font-weight: 600; }
.rs { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; background: #22c55e; margin-top: 1px; }

/* right-hand points, synced with the tabs */
.ev-points { display: grid; gap: 8px; margin-bottom: 30px; }
.ev-pt { display: flex; gap: 16px; align-items: flex-start; text-align: left; cursor: pointer; font: inherit; color: var(--text-2);
  padding: 14px 16px; border-radius: 18px; border: 1px solid transparent; background: transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.ev-pt b { display: block; font-size: 17px; font-weight: 500; color: var(--navy); margin-bottom: 3px; }
.ev-pt > span:last-child { font-size: 15px; line-height: 1.5; }
.pt-n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--text-3);
  background: rgba(18,26,58,.05); transition: background .3s, color .3s; }
.ev-pt:hover { background: rgba(255,255,255,.55); }
.ev-pt.on { background: rgba(255,255,255,.85); border-color: rgba(255,255,255,.95); box-shadow: 0 0 0 2px rgba(127,65,233,.16), 0 20px 40px -28px rgba(56,34,251,.45); }
.ev-pt.on .pt-n { color: #fff; background: linear-gradient(135deg, #1575fb, #7f41e9 55%, #df4094); }

/* gradient icon chip (coverage) */
.f-icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 40px;
  background: var(--grad); background-size: 300% 100%;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.6), 0 12px 24px -12px rgba(120,80,240,.7);
}
.f-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* ---- Coverage: bento grid with an AI sweep ---- */
.cov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cov { padding: 28px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.cov.span2 { grid-column: span 2; }
.cov-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.cov .f-icon { margin-bottom: 0; transition: transform .4s cubic-bezier(.3,1.5,.5,1), box-shadow .4s; }
.cov h3 { font-size: 23px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 8px; }
.cov p { font-size: 15.5px; line-height: 1.5; color: var(--text-2); margin-bottom: 18px; max-width: 520px; }
.cov-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.cov-tags span {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2);
  padding: 7px 12px; border-radius: 999px; background: rgba(18,26,58,.045); border: 1px solid rgba(18,26,58,.05);
  transition: background .3s, color .3s, border-color .3s;
}
.cov-tags span::before { content: '✓'; width: 0; overflow: hidden; font-size: 11px; transition: width .25s; }
.cov-tags span.lit { color: #4c1d95; background: rgba(127,65,233,.1); border-color: rgba(127,65,233,.22); }
.cov-tags span.lit::before { width: 10px; }
/* status pill: queued → scanning → covered */
.cov-status { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; color: var(--text-3); background: rgba(18,26,58,.05); white-space: nowrap; }
.cov-status em { font-style: normal; display: none; }
.cov-status .s1 { display: inline; }
.cov.scanning .cov-status { color: #6b4ce6; background: rgba(127,65,233,.12); }
.cov.scanning .cov-status .s1, .cov.covered .cov-status .s1 { display: none; }
.cov.scanning .cov-status .s2 { display: inline; }
.cov.covered .cov-status { color: #15803d; background: rgba(34,197,94,.14); }
.cov.covered .cov-status .s3 { display: inline; }
.cov.scanning { box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 2px rgba(127,65,233,.32), 0 40px 70px -40px rgba(56,34,251,.45); }
.cov.scanning .f-icon { transform: scale(1.08) rotate(-4deg); box-shadow: inset 0 1px 1px rgba(255,255,255,.6), 0 16px 30px -10px rgba(120,80,240,.85); }
/* icons draw in when the tile appears */
.cov .f-icon svg * { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1) .2s; }
.cov.seen .f-icon svg * { stroke-dashoffset: 0; }
.cov:nth-child(2) .f-icon, .cov:nth-child(5) .f-icon { background-position: 50% 0; }
.cov:nth-child(3) .f-icon, .cov:nth-child(6) .f-icon { background-position: 100% 0; }

/* OWASP strip */
.owasp { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 18px 24px; border-radius: 22px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 24px 50px -40px rgba(30,30,90,.35); }
.owasp-label b { display: block; font-size: 16px; font-weight: 600; color: var(--navy); }
.owasp-label span { font-size: 14px; color: var(--text-3); }
.owasp-ids { display: flex; flex-wrap: wrap; gap: 6px; }
.owasp-ids span { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; padding: 7px 10px; border-radius: 10px; cursor: default;
  color: var(--text-3); background: rgba(18,26,58,.05); transition: color .3s, background .3s, transform .3s; }
.owasp-ids span.lit { color: #fff; background: linear-gradient(135deg, #1575fb, #7f41e9 55%, #df4094); transform: translateY(-2px); }

/* ---- Why Vapptrix: comparison ---- */
.cmp { border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 30px 60px -40px rgba(30,30,90,.35); }
.cmp-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.15fr; }
.cmp-row + .cmp-row { border-top: 1px solid rgba(18,26,58,.06); }
.cmp-row > span { display: flex; align-items: center; gap: 10px; padding: 18px 22px; font-size: 15px; line-height: 1.35; color: var(--text-2); }
.cmp-feat { font-weight: 500; color: var(--navy) !important; }
.cmp-head > span { font-size: 14px; font-weight: 600; color: var(--text-3); padding-top: 22px; padding-bottom: 22px; }
.cmp-us { position: relative; color: var(--navy) !important; font-weight: 500;
  background: linear-gradient(180deg, rgba(21,117,251,.06), rgba(127,65,233,.08) 50%, rgba(223,64,148,.06)); }
.cmp-head .cmp-us { color: var(--navy) !important; font-size: 16px; }
.cmp-head .cmp-us img { width: 28px; height: 28px; border-radius: 8px; }
/* gradient edges down the Vapptrix column */
.cmp-us::before, .cmp-us::after { content: ''; position: absolute; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, #1575fb, #7f41e9 50%, #df4094); opacity: .55; }
.cmp-us::before { left: 0; } .cmp-us::after { right: 0; }
.mk { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; }
.mk.yes { color: #fff; background: linear-gradient(135deg, #1575fb, #7f41e9 55%, #df4094); }
.mk.yes::after { content: '✓'; }
.mk.mid { color: #b45309; background: rgba(245,179,0,.18); }
.mk.mid::after { content: '~'; font-size: 14px; }
.mk.no { color: #be123c; background: rgba(255,61,110,.12); }
.mk.no::after { content: '✕'; font-size: 10px; }
/* Vapptrix ticks pop in one by one when the table appears */
.cmp .cmp-us .mk { transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.cmp.seen .cmp-us .mk { transform: scale(1); }
.cmp.seen .cmp-row:nth-child(3) .cmp-us .mk { transition-delay: .12s } .cmp.seen .cmp-row:nth-child(4) .cmp-us .mk { transition-delay: .24s }
.cmp.seen .cmp-row:nth-child(5) .cmp-us .mk { transition-delay: .36s } .cmp.seen .cmp-row:nth-child(6) .cmp-us .mk { transition-delay: .48s }
.cmp.seen .cmp-row:nth-child(7) .cmp-us .mk { transition-delay: .6s }

/* ---- FAQ ---- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro .section-title { font-size: clamp(36px, 4vw, 60px); margin-bottom: 18px; }
.faq-sub { font-size: 17px; line-height: 1.5; color: var(--text-2); margin-bottom: 30px; max-width: 420px; }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: 20px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 20px 40px -32px rgba(30,30,90,.4); transition: box-shadow .3s, background .3s; }
.faq[open] { background: #fff; box-shadow: 0 0 0 2px rgba(127,65,233,.18), 0 26px 50px -30px rgba(56,34,251,.4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 24px; font-size: 17.5px; font-weight: 500; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; font-weight: 400; color: #7f41e9; background: rgba(127,65,233,.1); transition: transform .3s, background .3s, color .3s; }
.faq[open] summary::after { transform: rotate(45deg); color: #fff; background: linear-gradient(135deg, #1575fb, #7f41e9 55%, #df4094); }
.faq p { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.faq p a { color: #7f41e9; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  /* hero: stacked full-width buttons, stats card sized to its content on the colour rows */
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .lead { font-size: 16.5px; }
  .hero-stats {
    height: auto; bottom: 16px; width: calc(100% - 24px);
    grid-template-columns: 1fr 1fr; row-gap: 0; padding: 6px 0; border-radius: 22px;
  }
  .hs { padding: 14px 16px; }
  .hs b { font-size: 22px; }
  .hs span { font-size: 12.5px; line-height: 1.35; }

      
  /* sections & cards: tighter */
  .section { padding: 32px 0; }
  .section-title { font-size: clamp(32px, 9vw, 44px); margin-bottom: 24px; }
  .eyebrow { margin-bottom: 12px; font-size: 12.5px; }
  .card, .plan { padding: 24px; }
  .step { min-height: 0; }
  .flow { padding-left: 40px; }
  .flow-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 30px; height: auto; margin: 0; display: block; }
  .rail-track { left: 50%; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; transform: translateX(-50%); }
  .rail-fill { width: 100%; height: var(--fill, 0%); transition: height 1.1s cubic-bezier(.4,0,.2,1); }
  .node { position: absolute; left: 0; width: 30px; height: 30px; font-size: 13px; }
  .node[data-n="0"] { top: 20px; } .node[data-n="1"] { top: calc(50% - 15px); } .node[data-n="2"] { bottom: 20px; }
  .step { padding: 10px; }
  .sv { height: 204px; padding: 16px; }
  .step-body { padding: 16px 12px 12px; }
  .f-icon { width: 50px; height: 50px; }
  .step h3 { font-size: 21px; }
  .steps, .price-grid { gap: 14px; }
  .split { gap: 24px; }
  .tile-card { min-height: 340px; border-radius: 26px; }
  .tile-card-body { padding: 24px; }
  .tile-card-body p { font-size: 16px; }

  .ticks { gap: 14px; margin-bottom: 28px; }
  .ticks li { font-size: 16px; }
  .plan .btn { width: 100%; }
  .price b { font-size: 44px; }
  .tag { top: 24px; right: 24px; }
  .final { padding: 24px 0 36px; }
  .final-inner { min-height: 340px; border-radius: 28px; padding: 40px 20px; }
  .final-copy p { font-size: 15.5px; }
  .ev-split { grid-template-columns: 1fr; }
  .ev-frame { padding: 12px; }
  .ev-head { padding: 16px 16px 12px; }
  .ev-title h3 { font-size: 20px; }
  .cvss { width: 64px; height: 64px; } .cvss b { font-size: 18px; } .cvss span { bottom: 12px; }
  .ev-tabs { padding: 0 8px; overflow-x: auto; } .ev-tabs button { padding: 11px 8px; font-size: 13px; white-space: nowrap; }
  .ev-panels { height: 230px; }
  .ev-panel { padding: 14px 16px; font-size: 12px; }
  .ev-reason { font-size: 13.5px; }
  .ev-pt { padding: 12px; }
  .cov-grid { grid-template-columns: 1fr; gap: 14px; }
  .cov.span2 { grid-column: auto; }
  .cov { padding: 22px; }
  .cov h3 { font-size: 20px; }
  .cov-tags span { font-size: 12.5px; padding: 6px 10px; }
  .owasp { padding: 16px; }
  /* comparison: each row stacks — feature on top, three options below */
  .cmp-head { display: none !important; }
  .cmp-row { grid-template-columns: 1fr; padding: 14px 0; }
  .cmp-row > span { padding: 6px 18px; font-size: 14.5px; }
  .cmp-feat { font-size: 16px; padding-bottom: 8px !important; }
  .cmp-row > span[data-l]::before { content: attr(data-l); flex: 0 0 96px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
  .cmp-us[data-l]::before { color: #7f41e9; }
  .cmp-us { margin: 4px 12px 0; border-radius: 12px; padding: 10px 12px !important; }
  .cmp-us::after { display: none; }
  .cmp-us::before { position: static; width: auto; background: none; opacity: 1; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .faq summary { padding: 18px; font-size: 16px; }
  .faq p { padding: 0 18px 18px; font-size: 15px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 26px; }
  .footer nav { gap: 18px; }
}
@media (max-width: 380px) {
  .hero-copy h1 { font-size: 10vw; }
  }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- phones: compact pass (overrides) ---------- */
@media (max-width: 900px) {
  /* menu: full-width frosted panel with big tap targets */
  .menu-btn { gap: 8px; padding: 0 16px; }
  .menu-btn::before { content: ''; width: 16px; height: 10px; background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: transform .25s; }
  .menu-btn[aria-expanded="true"]::before { content: '✕'; width: auto; height: auto; background: none; font-size: 13px; line-height: 1; }
  .nav-links {
    display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 18px; border-radius: 0 0 24px 24px;
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -20px rgba(30,30,90,.35); border-top: 1px solid rgba(18,26,58,.06);
    opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility 0s .22s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .22s ease, transform .22s ease; }
  .nav-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 6px; border-radius: 0;
    font-size: 18px; font-weight: 500; color: var(--navy); border-bottom: 1px solid rgba(18,26,58,.07); }
  .nav-links a:not(.btn)::after { content: '→'; color: #7f41e9; font-size: 16px; }
  .nav-links a:hover { background: none; }
  .nav-links .nav-trial { display: flex; justify-content: center; margin-top: 16px; height: 54px; border: 0; color: #fff; }
  .nav-links .nav-trial::after { content: none; }

  /* hero: no empty band — copy, then the stats card right below on the colour rows */
  .hero { padding-bottom: 0; }
  .hero-copy { padding: calc(var(--nav-h) + 28px) var(--pad) 22px; }
  .lead { margin-bottom: 22px; }
  .hero-actions { flex-direction: row; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; width: auto; height: 52px; padding: 0 12px; font-size: 15.5px; }
  .hero-stats { position: relative; left: auto; bottom: auto; transform: none !important; order: 2;
    width: auto; margin: 0 12px 16px; }
  .hero-stats.reveal { transform: none; }
  .hs { padding: 12px 14px; }
  .hs b { font-size: 20px; }

  /* tighter rhythm everywhere */
  .section { padding: 22px 0; }
  .section-title { margin-bottom: 18px; }
  .eyebrow { margin-bottom: 8px; }
  .card, .plan { padding: 20px; }
  .cov { padding: 20px; } .cov-top { margin-bottom: 14px; } .cov p { margin-bottom: 14px; }
  .step-body { padding: 14px 10px 10px; } .step p { margin-bottom: 14px; }
  .steps, .cov-grid, .price-grid, .faq-list { gap: 12px; }
  .ev-points { margin-bottom: 20px; } .ev-pt { padding: 10px; }
  .plan h3 { margin-bottom: 12px; } .plan-desc { margin-bottom: 18px; min-height: 0; } .plan ul { margin-bottom: 22px; }
  .final { padding: 16px 0 28px; } .final-inner { min-height: 300px; }
  .faq-sub { margin-bottom: 20px; }

  /* comparison: compact one-line labels, Vapptrix row carries the elephant icon */
  .cmp-row { padding: 10px 0; }
  .cmp-row > span { padding: 5px 14px; gap: 8px; font-size: 14px; }
  .cmp-feat { font-size: 15.5px; padding-bottom: 6px !important; }
  .cmp-row > span[data-l]::before { flex: 0 0 72px; font-size: 11px; letter-spacing: .05em; }
  .cmp-us { margin: 4px 10px 0; padding: 9px 10px !important; }
  .cmp-us[data-l]::before { padding-left: 22px; min-height: 16px; display: flex; align-items: center;
    background: url(img/vapptrix-icon-64.png) left center / 16px 16px no-repeat; }
}

/* phones: plain hero background; stats become a self-contained gradient-tile card */
@media (max-width: 900px) {
  .hero .tiles-band { display: none; }
  .hero h1 em { color: #8d97b6; }
  .hero { padding-bottom: 6px; }
  .hero-stats {
    overflow: hidden; margin: 0 16px 18px; border-radius: 24px; border: 0; background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: 0 30px 60px -28px rgba(56,34,251,.6);
  }
  .hero-stats .hs-tiles { display: grid; position: absolute; inset: 0; z-index: 0; }
  .hero-stats::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(160deg, rgba(28,14,110,.38), rgba(28,14,110,.5)); }
  .hero-stats .hs-tiles .tile { box-shadow: none; background: radial-gradient(120% 90% at 25% 15%, rgba(255,255,255,.22), transparent 60%), rgba(255,255,255,.08); }
  .hero-stats .hs-tiles .tile.color::after { display: none; }
  .hs { position: relative; z-index: 2; }
  .hs b { color: #fff; }
  .hs span { color: rgba(255,255,255,.86); }
}

/* ---------- performance ---------- */
/* skip rendering of below-the-fold sections until they are near the viewport */
.section, .final { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* looping animations pause while their section is off-screen (toggled in script.js) */
.anim-off, .anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }
