/* kpx-group.com/showcases: same look as the main site (white, zinc greys, indigo accent) */
:root {
  --ink: #09090b;
  --ink-2: #3f3f46;
  --ink-3: #71717a;
  --line: #e4e4e7;
  --soft: #f4f4f5;
  --accent: #4f39f6;
  --accent-dark: #432dd7;
  --accent-soft: #eef2ff;
  --bg: #fff;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-3); }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { text-decoration: none; font-size: 1.15rem; letter-spacing: -.01em; }
.brand strong { font-weight: 800; }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.top-nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 999px; white-space: nowrap; transition: background .15s; }
.btn:hover { background: var(--accent-dark); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn.small { padding: 8px 16px; font-size: .9rem; }

/* hero */
.hero { padding: 88px 0 56px; background: radial-gradient(70% 90% at 85% 0%, var(--accent-soft) 0%, transparent 70%); }
.kicker { margin: 0 0 12px; color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -.035em; max-width: 16ch; }
.lead { margin: 20px 0 0; max-width: 60ch; color: var(--ink-2); font-size: 1.15rem; }
.perks { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; list-style: none; }
.perks li { background: var(--soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }

/* product groups */
.group { padding: 56px 0 8px; }
.group h2 { margin: 0; font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -.02em; }
.group-sub { margin: 6px 0 24px; color: var(--ink-3); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); background: var(--soft); }
.card .body { padding: 22px 24px 26px; }
.level { margin: 0 0 4px; color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.card h3 { margin: 0 0 12px; font-size: 1.3rem; letter-spacing: -.01em; }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.card li { margin: 5px 0; }
.card li::marker { color: var(--accent); }
.cards.one { grid-template-columns: 1fr; }
.card.wide { display: grid; grid-template-columns: 1.25fr 1fr; }
.card.wide img { height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
.card.wide .body { align-self: center; padding: 28px 32px; }

/* call to action */
.cta { padding: 64px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--ink); color: #fafafa; border-radius: 28px; padding: 40px 44px; }
.cta h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; }
.cta p { margin: 0; color: #d4d4d8; max-width: 58ch; }

.foot { padding: 8px 0 48px; font-size: .9rem; color: var(--ink-2); }
.foot p { margin: 4px 0; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .card.wide { grid-template-columns: 1fr; }
  .card.wide img { border-right: 0; border-bottom: 1px solid var(--line); height: auto; }
  .card.wide .body { padding: 22px 24px 26px; }
  .cta-in { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}
@media (max-width: 640px) {
  .top-nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero { padding: 56px 0 36px; }
  .lead { font-size: 1.05rem; }
}

/* live demos */
.note { margin: 14px 0 0; max-width: 60ch; color: var(--ink-3); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.btn.ghost { background: var(--accent-soft); color: #3730a3; }
.btn.ghost:hover { background: #e0e7ff; }
