/* ==========================================================================
   SupplyHub — bright & vibrant
   White ground, bold violet → pink → orange brand gradient, and one colour
   per service. Short copy, big rounded images, lots of air.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --bg:        #FFFFFF;
  --bg-soft:   #FAF7FF;
  --bg-warm:   #FFF8F3;
  --ink:       #1A1033;
  --ink-2:     #4A4466;
  --muted:     #736E8F;
  --line:      #ECE7F6;

  --violet:    #7C3AED;
  --pink:      #EC4899;
  --orange:    #F97316;
  --yellow:    #FACC15;
  --sky:       #0EA5E9;
  --teal:      #14B8A6;
  --green:     #22C55E;
  --blue:      #3B82F6;

  /* text-safe brand gradient: every stop keeps 3:1 or better on white */
  --grad-text:  linear-gradient(100deg, #7C3AED 0%, #DB2777 55%, #EA580C 100%);
  --grad-brand: linear-gradient(120deg, #6D28D9 0%, #DB2777 55%, #EA580C 100%);
  --grad-btn:   linear-gradient(120deg, #7C3AED 0%, #DB2777 100%);
  --grad-sun:   linear-gradient(120deg, #F97316 0%, #FACC15 100%);
  --grad-sky:   linear-gradient(120deg, #0EA5E9 0%, #6366F1 100%);
  --grad-mint:  linear-gradient(120deg, #10B981 0%, #0EA5E9 100%);
  --grad-berry: linear-gradient(120deg, #EC4899 0%, #8B5CF6 100%);

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-sm: 0 4px 14px -6px rgba(26, 16, 51, 0.12);
  --shadow:    0 18px 48px -18px rgba(26, 16, 51, 0.22);
  --shadow-lg: 0 34px 80px -30px rgba(76, 29, 149, 0.35);

  --wrap: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* one colour family per service — components read --c, --c2, --ci, --tint */
.c-violet { --c: #7C3AED; --c2: #C084FC; --ci: #5B21B6; --tint: #F3EEFF; --grad: linear-gradient(120deg, #8B5CF6 0%, #6366F1 100%); }
.c-pink   { --c: #EC4899; --c2: #F9A8D4; --ci: #BE185D; --tint: #FDEFF6; --grad: var(--grad-berry); }
.c-orange { --c: #F97316; --c2: #FDBA74; --ci: #C2410C; --tint: #FFF1E6; --grad: var(--grad-sun); }
.c-yellow { --c: #EAB308; --c2: #FDE047; --ci: #A16207; --tint: #FEF8DC; --grad: var(--grad-sun); }
.c-sky    { --c: #0EA5E9; --c2: #7DD3FC; --ci: #0369A1; --tint: #E8F6FE; --grad: var(--grad-sky); }
.c-teal   { --c: #14B8A6; --c2: #5EEAD4; --ci: #0F766E; --tint: #E6FAF6; --grad: var(--grad-mint); }
.c-green  { --c: #22C55E; --c2: #86EFAC; --ci: #15803D; --tint: #EAFBF0; --grad: var(--grad-mint); }
.c-blue   { --c: #3B82F6; --c2: #93C5FD; --ci: #1D4ED8; --tint: #EDF3FF; --grad: var(--grad-sky); }

/* ------------------------------------------------------------ foundation */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* height:auto keeps the width/height attributes from stretching an image —
   they only reserve space while it loads */
img { max-width: 100%; height: auto; display: block; }
/* every inline icon gets a sensible size unless its container sets one */
svg { flex: none; width: 1.2em; height: 1.2em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.12; letter-spacing: -0.028em; font-weight: 800; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
h4 { font-size: 1.08rem; letter-spacing: -0.01em; }
p  { margin: 0 0 14px; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: #F9D0E8; }

/* decorative blobs behind images may poke past the screen edge; clip them
   here (clip, unlike hidden, does not create a scroll container) */
main { overflow-x: clip; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 110px); position: relative; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }

/* the gradient word inside a headline */
.hl {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 54ch; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 0;
  font-weight: 700; font-size: 15.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 12px 28px -12px rgba(219, 39, 119, .65); }
.btn-primary:hover { box-shadow: 0 18px 36px -14px rgba(219, 39, 119, .75); }
.btn-light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-sm); }
.btn-light:hover { box-shadow: inset 0 0 0 1.5px #D9D0EE, var(--shadow); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 12px 28px -14px rgba(0,0,0,.35); }
.btn-ghost-white { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-ghost-white:hover { background: rgba(255,255,255,.24); }
.btn-lg { padding: 17px 32px; font-size: 16.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ci, var(--violet)); }
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-pill);
  background: var(--tint, #F3EEFF);
  color: var(--ci, var(--violet));
  font-size: 13.5px; font-weight: 700;
  margin-bottom: 18px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--violet)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--violet)) 22%, transparent); }
.badge.no-dot::before { display: none; }
.badge svg { width: 16px; height: 16px; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head .lead { margin-inline: auto; }

/* icon in a soft coloured square */
.ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--tint, #F3EEFF);
  color: var(--c, var(--violet));
  margin-bottom: 16px;
}
.ico svg { width: 26px; height: 26px; }
.ico-grad { background: var(--grad, var(--grad-btn)); color: #fff; box-shadow: 0 10px 22px -10px var(--c, var(--violet)); }
.ico-sm { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px; }
.ico-sm svg { width: 21px; height: 21px; }

/* --------------------------------------------------------------- header */
.head {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s;
}
.head.stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(26,16,51,.25); }
.head .wrap { display: flex; align-items: center; gap: 22px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.logo img { width: 38px; height: 38px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 13px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav a[aria-current="page"] { background: #F3EEFF; color: var(--violet); }
.head .btn { padding: 11px 20px; font-size: 14.5px; }
.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 14px;
  border: 0; background: var(--bg-soft); color: var(--ink);
  cursor: pointer; place-items: center;
}
.burger svg { width: 22px; height: 22px; }
.burger .x, .menu-open .burger .m { display: none; }
.menu-open .burger .x { display: block; }

.drawer {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49;
  background: #fff;
  padding: 18px 20px 40px;
  display: none; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.menu-open { overflow: hidden; }
.menu-open .drawer { display: flex; }
.drawer a:not(.btn) {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 16px;
  font-size: 18px; font-weight: 700;
}
.drawer a:not(.btn):hover, .drawer a[aria-current="page"] { background: var(--bg-soft); }
.drawer .ico { margin: 0; width: 42px; height: 42px; border-radius: 12px; }
.drawer .ico svg { width: 21px; height: 21px; }
.drawer .btn { margin-top: 14px; }

/* ------------------------------------------------------ home hero slider */
.hero { position: relative; overflow: hidden; padding-bottom: 36px; }
.hero-track { display: grid; }
/* slides share one grid cell, so the tallest one sets the height */
.slide {
  grid-area: 1 / 1;
  position: relative; isolation: isolate;
  padding-block: clamp(36px, 6vw, 72px) 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}
.slide.is-active { opacity: 1; visibility: visible; }
/* a soft colour wash that changes with each slide */
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
  background:
    radial-gradient(40% 55% at 88% 20%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%),
    radial-gradient(38% 50% at 70% 95%, color-mix(in srgb, var(--c2) 40%, transparent), transparent 70%),
    radial-gradient(30% 40% at 4% 10%, color-mix(in srgb, var(--c2) 26%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1, .hero .h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.hero h1, .hero .h1 { margin-bottom: 18px; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); margin-bottom: 30px; }

.slide-copy > * { opacity: 0; transform: translateY(18px); }
.slide.is-active .slide-copy > * { animation: rise .7s var(--ease) forwards; }
.slide.is-active .slide-copy > :nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide-copy > :nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.media { position: relative; }
.media-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-lg);
  background: var(--tint, #F3EEFF);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.slide .media-frame img { transform: scale(1.08); transition: transform 7s ease-out; }
.slide.is-active .media-frame img { transform: scale(1); }
/* a gradient blob peeking out from behind the image */
.media::before {
  content: ""; position: absolute; z-index: -1;
  width: 62%; aspect-ratio: 1;
  right: -7%; top: -9%;
  border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%;
  background: var(--grad, var(--grad-brand));
  opacity: .9;
}
.media::after {
  content: ""; position: absolute; z-index: -1;
  width: 120px; height: 120px; left: -22px; bottom: -26px;
  background-image: radial-gradient(var(--c, var(--violet)) 2.2px, transparent 2.6px);
  background-size: 16px 16px;
  opacity: .45;
}

/* floating status chips over an image */
.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 14px; font-weight: 700; color: var(--ink);
  white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.chip .ico { width: 34px; height: 34px; border-radius: 10px; margin: 0; }
.chip .ico svg { width: 18px; height: 18px; }
.chip-tl { top: 8%; left: -6%; }
.chip-br { bottom: 9%; right: -5%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.hero-controls { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.arrow-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-sm);
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.arrow-btn:hover { transform: scale(1.06); box-shadow: inset 0 0 0 1.5px #D9D0EE, var(--shadow); }
.arrow-btn svg { width: 20px; height: 20px; }
.dots { display: flex; gap: 8px; }
.dot {
  width: 12px; height: 12px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: #E3DCF2; cursor: pointer; position: relative; overflow: hidden;
  transition: width .4s var(--ease), background .3s;
}
.dot[aria-selected="true"] { width: 46px; background: #E9E1F7; }
.dot .fill { position: absolute; inset: 0; width: 0; background: var(--grad-btn); border-radius: inherit; }
.dot[aria-selected="true"] .fill { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.paused .dot[aria-selected="true"] .fill { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.slide-count { margin-left: auto; font-weight: 700; color: var(--muted); font-size: 14px; }
.slide-count b { color: var(--ink); }

/* ---------------------------------------------------------------- marquee */
.marquee { overflow: hidden; padding-block: 18px; background: var(--ink); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; }
.marquee span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- service cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1.5px var(--line);
  padding: 26px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card-lift:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px transparent, var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; }

.svc { padding: 12px; display: flex; flex-direction: column; }
.svc-img { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-body { padding: 0 14px 14px; display: flex; flex-direction: column; flex: 1; }
.svc .ico { margin: -27px 0 14px; position: relative; border: 4px solid #fff; width: 60px; height: 60px; box-sizing: content-box; }
.svc p { flex: 1; margin-bottom: 16px; }

/* soft coloured tile, used for feature lists */
.tile { border-radius: var(--r-md); padding: 22px; background: var(--tint); transition: transform .3s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile .ico { background: #fff; }
.tile h4 { margin-bottom: 4px; }
.tile p { font-size: 14.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 24px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: calc(100% / var(--n, 3) / 2); right: calc(100% / var(--n, 3) / 2);
  border-top: 3px dashed #E2D8F5;
}
.step { text-align: center; position: relative; }
.step-num {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 18px;
  background: var(--grad, var(--grad-btn)); color: #fff;
  font-size: 24px; font-weight: 800;
  box-shadow: 0 0 0 8px #fff, 0 14px 30px -12px var(--c, var(--violet));
  position: relative;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { font-size: 15.5px; max-width: 28ch; margin-inline: auto; }

/* ------------------------------------------------------------- split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip .media { order: 2; }

.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 38px; font-weight: 600; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--tint, #EAFBF0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.ticks.two { grid-template-columns: 1fr 1fr; }
.ticks.cross li::before {
  background: #FDEFF2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E11D48' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* -------------------------------------------------------- gradient bands */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  background: var(--grad-brand);
  color: #fff;
  padding: clamp(36px, 6vw, 72px);
}
.band::before, .band::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.band::before { width: 420px; height: 420px; right: -120px; top: -160px; }
.band::after  { width: 260px; height: 260px; left: 38%; bottom: -170px; background: rgba(250, 204, 21, .22); }
.band h2, .band h3 { color: #fff; }
/* white cards inside a band go back to dark text */
.band .card, .band .card h3 { color: var(--ink); }
.band .card p { color: var(--ink-2); }
.hl-sun { background: linear-gradient(100deg, #FDE68A, #FDBA74); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band p { color: rgba(255, 255, 255, .88); }
.band .badge { background: rgba(255, 255, 255, .18); color: #fff; }
.band .badge::before { background: var(--yellow); box-shadow: 0 0 0 4px rgba(250, 204, 21, .3); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  font-weight: 700; font-size: 14.5px; color: #fff;
}
.pill svg { width: 18px; height: 18px; }
.pill-light { background: var(--tint); color: var(--ci); box-shadow: none; }

/* browser-style frame around a product screenshot */
.browser {
  border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 90px -30px rgba(26, 16, 51, .55);
}
.browser-bar { display: flex; gap: 7px; align-items: center; padding: 12px 16px; background: #F4F1FA; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FB7185; }
.browser-bar i:nth-child(2) { background: #FBBF24; }
.browser-bar i:nth-child(3) { background: #34D399; }
.browser img { width: 100%; }
.tilt { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transition: transform .6s var(--ease); }
.tilt:hover { transform: none; }

/* ---------------------------------------------------------- image gallery */
.gallery-wrap { position: relative; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 420px);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  /* room below for the card shadows, which a scroll box would otherwise clip */
  padding: 6px 4px 48px; margin-bottom: -30px; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
  font-weight: 700; font-size: 15px;
}
.gallery figcaption .ico { width: 34px; height: 34px; border-radius: 10px; margin: 0; }
.gallery figcaption .ico svg { width: 18px; height: 18px; }
.gallery-nav { display: flex; gap: 10px; justify-content: flex-end; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.head-row h2 { margin: 0; }

/* ------------------------------------------------------------ page heroes */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(40px, 6vw, 80px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
  background:
    radial-gradient(38% 60% at 92% 12%, color-mix(in srgb, var(--c, var(--violet)) 22%, transparent), transparent 70%),
    radial-gradient(30% 50% at 0% 100%, color-mix(in srgb, var(--c2, var(--pink)) 30%, transparent), transparent 70%);
}
.page-hero .split { grid-template-columns: 1.05fr 1fr; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--violet); }
.crumbs svg { width: 14px; height: 14px; opacity: .55; }

/* ------------------------------------------------------------------ tabs */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-pill); border: 0;
  background: #fff; color: var(--ink-2); font-weight: 700; font-size: 15px;
  box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: all .25s var(--ease);
}
.tab svg { width: 18px; height: 18px; color: var(--c); }
.tab:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px #D9D0EE; }
.tab[aria-selected="true"] { background: var(--c); color: #fff; box-shadow: 0 10px 24px -12px var(--c); }
.tab[aria-selected="true"] svg { color: #fff; }
.panel { display: none; }
.panel.is-active { display: block; animation: rise .5s var(--ease) both; }
.panel-card { border-radius: var(--r-xl); background: var(--tint); padding: clamp(24px, 4vw, 48px); }
.panel-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
/* the tick squares would vanish into a tinted panel, so give them a white chip */
.panel-card .ticks li::before { background-color: #fff; }

/* --------------------------------------------------------------- shots */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot { margin: 0; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot-phone img { object-fit: contain; object-position: center; padding-block: 8px; background: linear-gradient(135deg, #F3EEFF, #FDEFF6); }
.shot figcaption { padding: 11px 14px; font-weight: 700; font-size: 14px; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: rgba(26, 16, 51, .86); backdrop-filter: blur(6px); }
.lightbox.open { display: grid; }
.lightbox img { max-height: 82vh; border-radius: 16px; box-shadow: var(--shadow-lg); }
.lightbox p { color: #fff; text-align: center; margin-top: 14px; font-weight: 600; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------ priority / price */
.prio { border-radius: var(--r-lg); padding: 24px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; overflow: hidden; }
.prio::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); }
.prio .tag { display: inline-block; padding: 5px 12px; border-radius: var(--r-pill); background: var(--tint); color: var(--ci); font-weight: 800; font-size: 13px; margin-bottom: 12px; }
.prio small { display: block; margin-top: 12px; font-weight: 700; color: var(--muted); font-size: 13px; }

.price { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-top { background: var(--grad); color: #fff; padding: 22px 24px; }
.price-top small { display: block; font-weight: 700; opacity: .9; font-size: 13px; letter-spacing: .02em; }
.price-top strong { display: block; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.2; }
.price-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.price-body .ticks { margin: 0 0 22px; gap: 10px; flex: 1; }
.price-body .ticks li { font-size: 15px; font-weight: 600; }

/* "good to know" chips */
.facts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fact { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: 15px; }
.fact .ico { margin: 0; width: 36px; height: 36px; border-radius: 10px; }
.fact .ico svg { width: 18px; height: 18px; }

/* before → after flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.flow-list { display: grid; gap: 12px; }
.flow-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; }
.flow-item .ico { margin: 0; width: 38px; height: 38px; border-radius: 11px; }
.flow-item .ico svg { width: 19px; height: 19px; }
.flow-arrow { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-btn); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.flow-arrow svg { width: 28px; height: 28px; }
.flow-result { border-radius: var(--r-lg); padding: 28px; background: var(--grad-brand); color: #fff; text-align: center; }
.flow-result h3 { color: #fff; font-size: 1.6rem; margin: 6px 0; }
.flow-result p { color: rgba(255,255,255,.9); }

/* --------------------------------------------------------------- CTA */
.cta { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.cta img { width: 100%; max-width: 320px; margin-left: auto; border-radius: 32px; transform: rotate(4deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }

/* --------------------------------------------------------------- form */
.form-card { border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow), inset 0 0 0 1.5px var(--line); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--bg-soft);
  font: inherit; font-size: 15.5px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; cursor: pointer; padding-right: 44px; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px #EDE4FF; }
.field .err { color: #E11D48; font-size: 13px; font-weight: 600; margin: 6px 0 0; }
.field.invalid input { border-color: #E11D48; }
.form-msg { border-radius: var(--r-lg); padding: 26px; margin-bottom: 18px; }
.form-msg.ok { background: #EAFBF0; }
.form-msg.fail { background: #FDEFF2; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--tint); font-weight: 700; }
.contact-line .ico { margin: 0; background: #fff; }
.contact-line small { display: block; color: var(--ci); font-size: 13px; }

/* --------------------------------------------------------------- footer */
.foot { background: var(--ink); color: #CFC9E6; margin-top: clamp(64px, 8vw, 110px); position: relative; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad-brand); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr .8fr 1.3fr; gap: 36px; padding-block: 64px 44px; }
.foot .logo { color: #fff; margin-bottom: 14px; }
.foot p { color: #B6AFD3; font-size: 15px; }
.foot-h { color: #fff; font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.foot-col a { display: block; color: #B6AFD3; padding: 5px 0; font-size: 15px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #9E97BE; }

/* --------------------------------------------------------------- reveal */
/* hidden only once the script has marked the page, so no-JS stays visible */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

.center { text-align: center; }
.mt-lg { margin-top: clamp(48px, 7vw, 84px); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--violet); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0; font-weight: 700; }
.skip:focus { left: 0; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .nav, .head .btn { display: none; }
  .steps-6 { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .steps-6::before { display: none; }
  .burger { display: grid; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  body { font-size: 16px; }
  .hero-grid, .split, .page-hero .split, .cta { grid-template-columns: 1fr; }
  .split.flip .media { order: 0; }
  .hero .media, .page-hero .media { order: -1; }
  .media-frame { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
  .chip { font-size: 12.5px; padding: 8px 12px 8px 8px; }
  .chip .ico { width: 28px; height: 28px; }
  .chip-tl { left: 10px; top: 10px; }
  .chip-br { right: 10px; bottom: 10px; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .ticks.two { grid-template-columns: 1fr; }
  .shots, .shots-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-6 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); margin: 0 auto; }
  .form-grid { grid-template-columns: 1fr; }
  .cta img { margin: 0 auto; max-width: 220px; }
  .tilt { transform: none; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-block: 4px 20px; margin-bottom: 18px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .g4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .media::before { width: 70%; right: -10%; }
  .chip-br { display: none; }
  .slide-count { display: none; }
  .band { border-radius: var(--r-lg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .slide-copy > * { opacity: 1; transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* three-up screenshot strip */
.shots-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .shots-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shots.shots-3 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ products dropdown */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 10px 9px 13px; border: 0; border-radius: var(--r-pill);
  background: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-drop-btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { background: var(--bg-soft); color: var(--ink); }
.nav-drop.is-current .nav-drop-btn { background: #F3EEFF; color: var(--violet); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 60;
  width: 300px; padding: 8px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 24px 60px -20px rgba(26, 16, 51, .35), inset 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
/* an invisible bridge, so the pointer can cross the gap without the menu closing */
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop.open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
@media (hover: hover) {
  .nav-drop:hover .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-drop:hover .nav-drop-btn svg { transform: rotate(180deg); }
}
.nav .nav-menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: none; color: var(--ink); }
.nav .nav-menu a:hover, .nav .nav-menu a[aria-current="page"] { background: var(--tint); color: var(--ink); }
.nav-menu .ico { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.nav-menu .ico svg { width: 21px; height: 21px; }
.nav-menu strong { display: block; font-size: 15px; line-height: 1.3; }
.nav-menu small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.35; }

.drawer-label { margin: 12px 14px 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drawer a.sub { padding-left: 24px; }

/* ----------------------------------------------------------- product cards */
.product { display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media {
  position: relative; isolation: isolate; overflow: hidden;
  --pm-pad: clamp(16px, 3vw, 32px);
  aspect-ratio: 32 / 25; padding: var(--pm-pad);
  display: grid; place-items: center; background: var(--grad);
}
.product-media::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .18); right: -18%; top: -30%; }
.product-media .browser { width: 100%; }
/* a square illustration, as tall as the frame allows: positioned against the
   frame itself, because a percentage height inside the grid box doesn't resolve */
.product-media > img {
  position: absolute; top: var(--pm-pad); left: 50%; transform: translateX(-50%);
  height: calc(100% - 2 * var(--pm-pad)); width: auto; aspect-ratio: 1;
  max-width: calc(100% - 2 * var(--pm-pad)); object-fit: cover;
  border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.product-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; flex: 1; }
.product-body .ico { margin: -60px 0 14px; width: 60px; height: 60px; box-sizing: content-box; border: 4px solid #fff; position: relative; z-index: 1; }
.product-body h3 { font-size: 1.75rem; margin-bottom: 8px; }
.product-body .pills { margin: 18px 0 26px; }
.product-body .btn-row { margin-top: auto; }

/* five across, for the industry use cases */
.g5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .g5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .g5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .g5 { grid-template-columns: 1fr; } }

/* spam trap: off-screen for people, still present for bots that fill every field */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
