/* ==========================================================================
   bigcrm.app - landing page (light)
   Soft gradient mesh on white, motion kept from the dark version.
   ========================================================================== */

:root {
  --paper:      #ffffff;
  --paper-2:    #f6f7fb;
  --paper-3:    #eef0f7;
  --line:       #e4e7f0;
  --line-2:     #d7dbe8;
  --text:       #10132a;
  --muted:      #555c75;
  --faint:      #878da3;

  --brand:      #5b5bd6;
  --brand-2:    #8b5cf6;
  --pink:       #ec4899;
  --teal:       #14b8a6;
  --amber:      #f59e0b;

  --radius:     14px;
  --radius-lg:  22px;
  --shell:      1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 700; }
p { margin: 0; }

.shell { width: min(var(--shell), 100% - 40px); margin-inline: auto; }

.h1 { font-size: clamp(38px, 6.2vw, 74px); }
.h2 { font-size: clamp(30px, 4.2vw, 50px); }
.h3 { font-size: clamp(20px, 2.2vw, 27px); }
.lead { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.grad {
  background: linear-gradient(100deg, var(--brand), var(--brand-2), var(--pink), var(--brand));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-slide 9s linear infinite;
}
@keyframes grad-slide { to { background-position: 300% 0; } }

/* --------------------------------------------------------------- buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font: inherit; font-size: 15.5px; font-weight: 650; line-height: 1;
  background: var(--brand); color: #fff; cursor: pointer; white-space: nowrap;
  transition: transform .16s cubic-bezier(.2,.8,.3,1), box-shadow .16s, background .16s;
  box-shadow: 0 10px 24px -10px rgba(91, 91, 214, .8);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(91, 91, 214, .85); }
.btn:active { transform: translateY(0); }
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.4) 50%, transparent 80%);
  transform: translateX(-120%);
}
.btn:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn--ghost {
  background: #fff; color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); background: #fff; }
.btn--on-grad { background: #fff; color: var(--brand); box-shadow: 0 10px 28px -10px rgba(0,0,0,.35); }
.btn--outline-light {
  background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4);
}
.btn--outline-light:hover { background: rgba(255,255,255,.22); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0; transition: background .25s, box-shadow .25s, padding .25s;
}
.nav.is-stuck {
  padding: 10px 0;
  /* Was .85. The blur softens an image, it does not hide dark text on white,
     and the hero cards scroll under here. At .96 a diff against the same page
     with everything below the bar hidden shows a worst-case 3/255 difference
     inside the bar, i.e. nothing, while the frosted look survives. */
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px -18px rgba(16,19,42,.5);
}

/* Safari before 18 and Firefox without the flag ignore backdrop-filter, and
   then .96 alone is what stands between the bar and the content. Make it solid
   there rather than leave a translucent strip. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.is-stuck { background: #fff; }
}
.nav__inner { display: flex; align-items: center; gap: 28px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 17px; }
.mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0;
  box-shadow: 0 6px 18px -6px rgba(139, 92, 246, .8);
}
.nav__links { display: flex; gap: 26px; margin-left: 10px; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; position: relative; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__spacer { flex: 1; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.nav__drawer {
  display: none; flex-direction: column; gap: 4px; margin-top: 14px; padding: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(16,19,42,.3);
}
.nav__drawer a { padding: 11px 10px; border-radius: 9px; font-weight: 550; }
.nav__drawer a:hover { background: var(--paper-2); }
.nav__drawer.open { display: flex; }

/* The bar is fixed, so clicking a nav link parked the section's top edge 54px
   underneath it and ate the section's top padding. Offset the jump targets. */
#features, #how, #build, #custom, #contact { scroll-margin-top: 78px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 150px 0 100px; background: var(--paper); }

/* Backdrop photograph. multiply drops the paper-white of the shot to nothing on
   a white page, so only the grey light bands survive; opacity alone would have
   left a dull grey film over the whole hero. The mask keeps it away from the
   headline and fades it out before the section ends. */
.hero__photo {
  position: absolute; inset: 0; pointer-events: none;
  background-image: image-set(url('/img/hero-light-1400.webp') 1x, url('/img/hero-light-2400.webp') 2x);
  background-size: cover; background-position: center top; background-repeat: no-repeat;
  mix-blend-mode: multiply; opacity: .55; filter: grayscale(1) contrast(1.04);
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 88%);
}
@media (max-width: 760px) { .hero__photo { opacity: .38; } }

/* Pastel blobs - the same drift as before, dialled down for a white page. */
.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.blob--1 { width: 640px; height: 640px; background: #a5b4fc; opacity: .55; top: -240px; left: -180px; animation: drift-1 22s ease-in-out infinite; }
.blob--2 { width: 540px; height: 540px; background: #d8b4fe; opacity: .5;  top: -120px; right: -160px; animation: drift-2 26s ease-in-out infinite; }
.blob--3 { width: 460px; height: 460px; background: #fbcfe8; opacity: .45; bottom: -200px; left: 34%; animation: drift-3 30s ease-in-out infinite; }
@keyframes drift-1 { 50% { transform: translate(90px, 70px) scale(1.12); } }
@keyframes drift-2 { 50% { transform: translate(-80px, 100px) scale(1.08); } }
@keyframes drift-3 { 50% { transform: translate(60px, -70px) scale(1.15); } }

.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: linear-gradient(rgba(16,19,42,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(16,19,42,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 40%, #000 25%, transparent 72%);
}
.hero__inner { position: relative; z-index: 2; text-align: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 8px; border-radius: 999px; margin-bottom: 26px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
  box-shadow: 0 6px 18px -12px rgba(16,19,42,.5);
}
.pill b { background: var(--brand); color: #fff; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }

.hero .h1 { max-width: 16ch; margin-inline: auto; }
.hero__lead { max-width: 58ch; margin: 22px auto 0; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero__points { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero__points span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.hero__points svg { color: var(--teal); flex-shrink: 0; }

/* Rotating word. Only one line is ever mid-flight - see landing.js. */
.rotator { display: inline-grid; vertical-align: bottom; text-align: center; }
.rotator > span {
  grid-area: 1 / 1; opacity: 0;
  transform: translateY(0.42em) rotateX(-55deg);
  transition: opacity .34s ease, transform .34s cubic-bezier(.2,.9,.3,1);
  white-space: nowrap;
}
.rotator > span.on  { opacity: 1; transform: none; }
.rotator > span.out { opacity: 0; transform: translateY(-0.42em) rotateX(55deg); }

/* background-clip: text paints the gradient through the glyphs of the element
   that carries it. Here .grad sat on the container while every word carried a
   rotateX transform, which composites each word into its own layer: the
   container's clipped gradient never reached them and the words are
   color: transparent, so the rotating word painted 0 pixels. Give each word
   its own gradient, on the same element as the transform. */
.rotator.grad {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  animation: none;
}
.rotator.grad > span {
  background: linear-gradient(100deg, var(--brand), var(--brand-2), var(--pink), var(--brand));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: grad-slide 9s linear infinite;
}

/* ----------------------------------------------------------- app mockup */
.mock-wrap { position: relative; z-index: 2; margin-top: 62px; perspective: 1600px; }
.mock {
  position: relative; margin-inline: auto; max-width: 1000px;
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -45px rgba(16,19,42,.5), 0 0 0 1px rgba(16,19,42,.03);
  transform: rotateX(var(--rx, 7deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.mock__url {
  flex: 1; text-align: center; font-size: 12px; color: var(--faint);
  background: #fff; border-radius: 7px; padding: 5px 12px; border: 1px solid var(--line);
  max-width: 300px; margin-inline: auto;
}

.float {
  position: absolute; z-index: 3; background: #fff; border-radius: 14px; padding: 13px 16px;
  box-shadow: 0 24px 48px -20px rgba(16,19,42,.38), 0 0 0 1px var(--line);
  font-size: 13px; display: flex; align-items: center; gap: 11px;
  animation: bob 5.5s ease-in-out infinite;
}
.float--a { top: -4%;  left: -4%;  animation-delay: .2s; }
.float--b { top: 34%;  right: -5%; animation-delay: 1.4s; }
.float--c { bottom: -5%; left: -2%; animation-delay: 2.6s; }
@keyframes bob { 50% { transform: translateY(-13px); } }
.float__icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }

/* --------------------------------------------------------------- marquee */
.marquee { overflow: hidden; padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 14.5px; font-weight: 550; color: var(--muted);
}
.chip s { color: var(--faint); opacity: .85; }

/* -------------------------------------------------------------- sections */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section__head .lead { margin-top: 16px; }

/* ---------------------------------------------------------- module cards */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module {
  position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .2s cubic-bezier(.2,.8,.3,1), box-shadow .2s, border-color .2s;
}
.module::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .25s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91,91,214,.1), transparent 65%);
}
.module:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(16,19,42,.3); border-color: transparent; }
.module:hover::before { opacity: 1; }
.module__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.module h3 { font-size: 19px; margin-bottom: 9px; }
.module p { font-size: 14.5px; line-height: 1.62; color: var(--muted); }

/* ----------------------------------------------------------- tab feature */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.tab-btn {
  position: relative; overflow: hidden;
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: color .2s, border-color .2s;
}
.tab-btn.on { color: var(--text); border-color: var(--brand); }
.tab-btn__fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(91,91,214,.14), rgba(139,92,246,.14)); }
.tab-btn.on .tab-btn__fill { animation: fill var(--dwell, 7s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

.panels { position: relative; min-height: 400px; }
.panel {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 46px; align-items: center;
  opacity: 0; visibility: hidden; position: absolute; inset: 0;
  transform: translateY(14px); transition: opacity .4s, transform .4s;
}
.panel.on { opacity: 1; visibility: visible; position: relative; transform: none; }
.panel h3 { margin-bottom: 14px; }
.panel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.panel li { display: flex; gap: 11px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.panel li svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }

.screen { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(16,19,42,.42); }
.screen__top { padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; }
.screen__body { padding: 16px; }

/* --------------------------------------------------------- sticky steps */
.steps { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.steps__list { display: grid; gap: 14px; }
.step { padding: 22px 24px; border-radius: var(--radius-lg); cursor: pointer; border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.step.on { background: #fff; border-color: var(--line); box-shadow: 0 16px 36px -26px rgba(16,19,42,.4); }
.step__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--paper-3); color: var(--muted); margin-bottom: 12px; transition: background .25s, color .25s; }
.step.on .step__n { background: var(--brand); color: #fff; }
.step h3 { font-size: 18px; margin-bottom: 7px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.steps__stage { position: sticky; top: 110px; }

/* ---------------------------------------------------- capability tiles */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cap {
  padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cap:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(16,19,42,.32); border-color: var(--brand); }
.cap__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; background: var(--paper-2); color: var(--brand); }
.cap h4 { margin: 0 0 7px; font-size: 15.5px; font-weight: 680; letter-spacing: -.01em; }
.cap p { font-size: 13.5px; line-height: 1.58; color: var(--muted); }

/* ------------------------------------------------------------------ stats */
.stats-band {
  border-radius: 28px; padding: clamp(40px, 5vw, 60px) 30px;
  background: linear-gradient(135deg, #5b5bd6, #7c3aed 50%, #db2777);
  color: #fff; position: relative; overflow: hidden;
}
.stats-band::after {
  content: ''; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.12), transparent 30%);
  animation: spin 16s linear infinite;
}
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat__n { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__l { font-size: 14.5px; color: rgba(255,255,255,.82); margin-top: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- pricing */
.custom-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.custom-point { padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.custom-point:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -32px rgba(16,19,42,.35); }
.custom-point__n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #ecebfb; color: var(--brand); font-weight: 800; font-size: 15px; margin-bottom: 16px; }
.custom-point h3 { font-size: 17px; margin: 0 0 9px; letter-spacing: -.01em; }
.custom-point p { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin: 0; }

/* ----------------------------------------------------------- contact form */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 30px 60px -40px rgba(16,19,42,.4); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line-2);
  font: inherit; font-size: 15px; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(91,91,214,.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
/* Bots fill this; humans never see it. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--faint); margin-top: 12px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 11px; font-size: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg--ok { background: #e3f6ee; color: #0b7a55; }
.form-msg--err { background: #fdeaea; color: #b91c1c; }
.contact__points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contact__points li { display: flex; gap: 12px; }
.contact__points svg { flex-shrink: 0; color: var(--brand); margin-top: 2px; }
.contact__points b { display: block; font-size: 15px; margin-bottom: 3px; }
.contact__points span { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ------------------------------------------------------------------- cta */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(46px, 6vw, 78px) 30px; color: #fff; text-align: center;
  background-color: #6d28d9;
  background-image:
    linear-gradient(135deg, rgba(79,70,229,.58), rgba(124,58,237,.46) 45%, rgba(219,39,119,.55)),
    linear-gradient(rgba(10,10,28,.3), rgba(10,10,28,.3)),
    url('/img/team-wide-1400.webp');
  background-image:
    linear-gradient(135deg, rgba(79,70,229,.58), rgba(124,58,237,.46) 45%, rgba(219,39,119,.55)),
    linear-gradient(rgba(10,10,28,.3), rgba(10,10,28,.3)),
    image-set(url('/img/team-wide-1400.webp') 1x, url('/img/team-wide-2400.webp') 2x);
  background-size: cover, cover, cover; background-position: center, center, center 42%; background-repeat: no-repeat;
  text-shadow: 0 1px 14px rgba(10,10,28,.3); }
.cta::after { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.16), transparent 30%); animation: spin 14s linear infinite; }
.cta > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); color: var(--muted); padding: 60px 0 34px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
.footer h4 { color: var(--text); font-size: 14px; margin: 0 0 14px; font-weight: 650; }
.footer a { display: block; padding: 6px 0; font-size: 14.5px; }
.footer a:hover { color: var(--brand); }
.footer .nav__brand { display: inline-flex; padding: 0; font-size: 17px; }
.footer__bottom a { display: inline; padding: 0; }
.footer__bottom > span { white-space: nowrap; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* --------------------------------------------------------- scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in[data-delay="1"] { transition-delay: .09s; }
.reveal.in[data-delay="2"] { transition-delay: .18s; }
.reveal.in[data-delay="3"] { transition-delay: .27s; }
.reveal.in[data-delay="4"] { transition-delay: .36s; }
.reveal.in[data-delay="5"] { transition-delay: .45s; }

/* ------------------------------------------------- miniature UI elements */
.row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.row:last-child { border-bottom: 0; }
.tag { padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.tag--green { background: #e3f6ee; color: #0e9f6e; }
.tag--amber { background: #fdf1e0; color: #d97706; }
.tag--red   { background: #fdeaea; color: #dc2626; }
.tag--grey  { background: #eef0f5; color: #6b7280; }
.tag--blue  { background: #e8ecfd; color: #4f46e5; }
.kan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kan__col { background: var(--paper-2); border-radius: 11px; padding: 9px; }
.kan__h { font-size: 11px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: flex; justify-content: space-between; }
.kan__card { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px; margin-bottom: 7px; font-size: 12px; box-shadow: 0 2px 5px rgba(16,19,42,.05); }
.kan__card b { display: block; font-size: 12.5px; margin-bottom: 4px; }
.kan__card span { color: var(--faint); font-size: 11px; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1080px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__actions .hide-sm { display: none; }
  .modules, .custom-points { grid-template-columns: 1fr; }
  .panel, .steps, .contact { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps__stage { position: static; }
  .float { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 118px 0 74px; }
  .kan, .caps, .grid-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
