/* ==========================================================================
   Krishgen Biosystems — hand-written theme stylesheet.
   Ported 1:1 from the approved Lovable design tokens (Remix of Light theme
   of Krishgen Elevate). No framework, no build step — plain CSS custom
   properties + semantic classes, chosen for page-speed and zero bloat.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  --radius: 0.625rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);

  --brand: oklch(0.5271 0.2192 30.2);
  --brand-foreground: oklch(0.99 0 0);
  --ink: oklch(0.97 0.002 60);
  --ink-soft: oklch(0.93 0.003 60);
  --ink-foreground: oklch(0.22 0.01 39.5);
  --neutral-soft: oklch(0.9679 0.0033 60);
  --neutral-line: oklch(0.9137 0.0035 60);
  --brand-tint: oklch(0.9756 0.0104 30.2);

  --background: oklch(1 0 0);
  --foreground: oklch(0.1738 0.0086 39.5);
  --muted-foreground: oklch(0.505 0.008 45);
  --border: oklch(0.9137 0.0035 60);

  --shadow-color: oklch(0.17 0.01 39 / 0.55);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset ---------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 1rem;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { letter-spacing: -0.022em; line-height: 1.1; font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Layout utilities -----------------------------------------------------*/
.kg-container {
  width: 100%;
  margin-inline: auto;
  max-width: 80rem;
  padding-inline: 1.25rem;
}
@media (min-width: 1024px) { .kg-container { padding-inline: 2.5rem; } }

.kg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.kg-eyebrow__rule { width: 1.5rem; height: 1px; background: var(--brand); display: inline-block; }
.kg-eyebrow--dark { color: color-mix(in oklab, var(--ink-foreground) 70%, transparent); }
.kg-eyebrow--muted { color: color-mix(in oklab, var(--ink-foreground) 45%, transparent); }

.kg-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(.22,1,.36,1), transform 600ms cubic-bezier(.22,1,.36,1);
}
.kg-reveal.is-visible, html.no-js .kg-reveal { opacity: 1; transform: none; }

.kg-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink-foreground) 7%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink-foreground) 7%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
}

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

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding-inline: 1.5rem;
  border-radius: var(--radius-md);
  font-size: .875rem; font-weight: 600;
  transition: transform .3s, background-color .3s, border-color .3s, color .3s;
}
.btn-primary { background: var(--brand); color: var(--brand-foreground); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border: 1px solid color-mix(in oklab, var(--ink-foreground) 25%, transparent); color: var(--ink-foreground); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light { border: 1px solid var(--border); color: var(--foreground); }
.btn-outline-light:hover { border-color: var(--brand); color: var(--brand); }
.arrow-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; transition: color .3s; }
.arrow-link:hover { color: var(--brand); }
.arrow-link__arrow { transition: transform .3s; }
.arrow-link:hover .arrow-link__arrow { transform: translateX(4px); }

/* ---- Section heading ---------------------------------------------------*/
.section-heading {
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 640px) {
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-heading--center { flex-direction: column; align-items: center; text-align: center; }
}
.section-heading__body { max-width: 42rem; min-width: 0; }
.section-heading--center .section-heading__body { margin-inline: auto; }
.section-heading__title { margin-top: 1rem; font-size: 1.875rem; font-weight: 700; }
.section-heading__title--dark { color: var(--ink-foreground); }
@media (min-width: 640px) { .section-heading__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-heading__title { font-size: 2.75rem; line-height: 1.08; } }
.section-heading__intro { margin-top: 1rem; font-size: 1rem; line-height: 1.6; color: var(--muted-foreground); }
.section-heading__intro--dark { color: color-mix(in oklab, var(--ink-foreground) 70%, transparent); }
.section-heading__action { flex-shrink: 0; }

/* ---- Section spacing helpers -------------------------------------------*/
.section { padding-block: 5rem; }
@media (min-width: 1024px) { .section { padding-block: 7rem; } }
.section--sm { padding-block: 4rem; }
@media (min-width: 1024px) { .section--sm { padding-block: 5rem; } }
.bg-ink { background: var(--ink); position: relative; overflow: hidden; }
.bg-ink-soft { background: var(--ink-soft); }
.bg-tint { background: var(--brand-tint); }
.bg-neutral-soft { background: var(--neutral-soft); }
.bg-surface { background: var(--background); }
.section-border { border-bottom: 1px solid var(--border); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  transition: background-color .5s;
}
.site-header.is-scrolled { background: color-mix(in oklab, var(--ink) 95%, transparent); backdrop-filter: blur(10px); }

.utility-bar { display: none; border-bottom: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent); }
@media (min-width: 1024px) { .utility-bar { display: block; } }
.utility-bar__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 2.25rem; font-size: .7rem; color: color-mix(in oklab, var(--ink-foreground) 60%, transparent);
}
.utility-bar__right { display: flex; align-items: center; gap: 1.25rem; }
.utility-bar__quote {
  display: inline-flex; align-items: center; gap: .375rem;
  border-radius: 999px; border: 1px solid color-mix(in oklab, var(--brand) 60%, transparent);
  background: color-mix(in oklab, var(--brand) 10%, transparent);
  padding: .25rem .75rem; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--brand);
  transition: background-color .3s, color .3s;
}
.utility-bar__quote:hover { background: var(--brand); color: var(--brand-foreground); }

.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  height: 4rem;
}
@media (min-width: 1024px) { .header-row { height: 5rem; gap: 1rem; } }

.logo { display: flex; min-width: 0; align-items: center; gap: .75rem; }
.logo__mark {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 8px;
  background: var(--brand); color: var(--brand-foreground); font-weight: 800;
}
.logo__text { min-width: 0; line-height: 1.1; }
.logo__name { display: block; font-size: .95rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo__sub { display: block; margin-top: .2rem; font-size: .6rem; font-weight: 600; letter-spacing: .22em; color: color-mix(in oklab, var(--ink-foreground) 55%, transparent); white-space: nowrap; }

.primary-nav { display: none; }
@media (min-width: 1024px) {
  .primary-nav { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; justify-content: center; gap: .125rem; }
}
.primary-nav__item { position: relative; }
.primary-nav__link {
  position: relative; white-space: nowrap; border-radius: 6px; padding: .5rem;
  font-size: .78rem; font-weight: 500; color: color-mix(in oklab, var(--ink-foreground) 80%, transparent);
  transition: color .3s;
}
.primary-nav__link:hover, .primary-nav__link.is-open { color: var(--ink-foreground); }
.primary-nav__link::after {
  content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .25rem; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.primary-nav__link:hover::after, .primary-nav__link.is-open::after { transform: scaleX(1); }
.primary-nav__caret { margin-left: .375rem; font-size: .6rem; }

.header-actions { display: flex; flex-shrink: 0; align-items: center; justify-content: flex-end; gap: .5rem; }
@media (min-width: 1024px) { .header-actions { gap: .75rem; } }
.header-search { display: none; height: 2.75rem; width: 10rem; }
@media (min-width: 1280px) { .header-search { display: block; } }
.header-contact-btn { display: none; }
@media (min-width: 1024px) { .header-contact-btn { display: inline-flex; } }
.menu-toggle {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 8px; border: 1px solid color-mix(in oklab, var(--ink-foreground) 15%, transparent);
  color: var(--ink-foreground);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Search field */
.search-field { position: relative; width: 100%; }
.search-field__box {
  display: flex; align-items: center; gap: .5rem; height: 100%;
  border-radius: 8px; border: 1px solid color-mix(in oklab, var(--ink-foreground) 15%, transparent);
  background: color-mix(in oklab, var(--ink-foreground) 5%, transparent);
  padding-inline: .75rem; transition: border-color .3s, background-color .3s;
}
.search-field__box:focus-within { border-color: var(--brand); background: color-mix(in oklab, var(--ink-foreground) 10%, transparent); }
.search-field__icon { color: color-mix(in oklab, var(--ink-foreground) 50%, transparent); }
.search-field__input {
  height: 2.75rem; width: 100%; background: transparent; border: none; outline: none;
  font-size: .875rem; color: var(--ink-foreground);
}
.search-field__input::placeholder { color: color-mix(in oklab, var(--ink-foreground) 45%, transparent); }
.search-field__popover {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 50; margin-top: .5rem;
  border-radius: 10px; border: 1px solid var(--border); background: var(--background);
  padding: .75rem; box-shadow: 0 20px 40px -20px var(--shadow-color);
}
.search-field__popover-title { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
.search-field__popover-item {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  border-radius: 6px; padding: .5rem; text-align: left; font-size: .875rem; color: var(--foreground);
}
.search-field__popover-item:hover { background: var(--neutral-soft); }

/* Mega menu */
.mega-menu {
  position: absolute; inset-inline: 0; top: 100%; z-index: 40; display: none;
  overflow: hidden; border-top: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent);
  background: var(--ink); max-height: 0; opacity: 0;
  transition: max-height .5s, opacity .5s;
}
@media (min-width: 1024px) { .mega-menu { display: block; } }
.mega-menu.is-open { max-height: 34rem; opacity: 1; }
.mega-menu__grid { display: grid; gap: 2.5rem; padding-block: 2.5rem; grid-template-columns: repeat(3, minmax(0,1fr)) 18rem; }
.mega-menu__list { margin-top: 1rem; }
.mega-menu__list li + li { margin-top: .125rem; }
.mega-menu__link {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  border-radius: 6px; padding: .5rem; font-size: .875rem;
  color: color-mix(in oklab, var(--ink-foreground) 75%, transparent);
  transition: background-color .3s, color .3s;
}
.mega-menu__link:hover { background: color-mix(in oklab, var(--ink-foreground) 5%, transparent); color: var(--ink-foreground); }
.mega-menu__aside {
  border-radius: 12px; border: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent);
  background: var(--ink-soft); padding: 1.5rem;
}
.mega-menu__aside p { margin-top: .75rem; font-size: .875rem; line-height: 1.6; color: color-mix(in oklab, var(--ink-foreground) 75%, transparent); }
.mega-menu__aside a { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--brand); }

/* Mobile menu */
.mobile-menu { overflow: hidden; max-height: 0; border-top: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent); background: var(--ink); transition: max-height .4s; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-menu.is-open { max-height: 44rem; overflow-y: auto; }
.mobile-menu__inner { padding-block: 1.25rem; }
.mobile-menu__inner > * + * { margin-top: .25rem; }
.mobile-nav-group { border-bottom: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent); }
.mobile-nav-group__toggle {
  display: flex; width: 100%; min-height: 2.75rem; align-items: center; justify-content: space-between;
  padding-block: .75rem; text-align: left; font-size: .95rem; font-weight: 600; color: var(--ink-foreground);
}
.mobile-nav-group__caret { color: var(--brand); transition: transform .3s; }
.mobile-nav-group__toggle[aria-expanded="true"] .mobile-nav-group__caret { transform: rotate(45deg); }
.mobile-nav-group__panel { overflow: hidden; max-height: 0; transition: max-height .3s; }
.mobile-nav-group__panel.is-open { max-height: 30rem; }
.mobile-nav-group__panel a { display: flex; min-height: 2.75rem; align-items: center; font-size: .875rem; color: color-mix(in oklab, var(--ink-foreground) 70%, transparent); }
.mobile-nav-link {
  display: flex; min-height: 2.75rem; align-items: center;
  border-bottom: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent);
  font-size: .95rem; font-weight: 600; color: var(--ink-foreground);
}
.mobile-menu__cta { margin-top: 1rem; display: flex; min-height: 2.75rem; align-items: center; justify-content: center; border-radius: 8px; background: var(--brand); padding-inline: 1rem; font-size: .875rem; font-weight: 600; color: var(--brand-foreground); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(to right, var(--ink), color-mix(in oklab, var(--ink) 85%, transparent), color-mix(in oklab, var(--ink) 25%, transparent)); }
.hero__inner { position: relative; padding-block: 5rem; }
@media (min-width: 1024px) { .hero__inner { padding-block: 8rem; } }
.hero__content { max-width: 48rem; }
.hero__title { margin-top: 1.5rem; font-size: 2.25rem; font-weight: 800; color: var(--ink-foreground); }
@media (min-width: 640px) { .hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 4rem; line-height: 1.03; } }
.hero__subtext { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: color-mix(in oklab, var(--ink-foreground) 75%, transparent); }
@media (min-width: 1024px) { .hero__subtext { font-size: 1.125rem; } }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__stats { margin-top: 4rem; border-top: 1px solid color-mix(in oklab, var(--ink-foreground) 12%, transparent); padding-top: 2rem; }
.hero__stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
@media (min-width: 640px) { .hero__stats-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.hero__stat-value { font-size: 1.25rem; font-weight: 700; color: var(--ink-foreground); }
@media (min-width: 1024px) { .hero__stat-value { font-size: 1.5rem; } }
.hero__stat-label { margin-top: .25rem; font-size: .75rem; line-height: 1.3; color: color-mix(in oklab, var(--ink-foreground) 55%, transparent); }

/* ==========================================================================
   Value pillars
   ========================================================================== */
.value-pillars__grid {
  display: grid; grid-template-columns: 1fr; gap: 1px; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--border); background: var(--border);
}
@media (min-width: 640px) { .value-pillars__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .value-pillars__grid { grid-template-columns: repeat(5, minmax(0,1fr)); } }
.value-pillars__item { background: var(--background); padding: 1.5rem; transition: background-color .3s; }
.value-pillars__item:hover { background: var(--brand-tint); }
.value-pillars__num { font-size: .7rem; font-weight: 700; letter-spacing: .18em; color: var(--brand); }
.value-pillars__title { margin-top: 1rem; font-size: 1rem; font-weight: 600; }
.value-pillars__note { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.value-pillars__rule { margin-top: 1.25rem; display: block; height: 2px; width: 2rem; background: var(--brand); transition: transform .5s; transform-origin: left; }
.value-pillars__item:hover .value-pillars__rule { transform: scaleX(2.5); }

/* ==========================================================================
   Company overview
   ========================================================================== */
.overview__grid { position: relative; display: grid; gap: 3.5rem; padding-block: 5rem; }
@media (min-width: 1024px) { .overview__grid { grid-template-columns: 1.1fr 1fr; padding-block: 7rem; } }
.overview__stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
.overview__stat { min-width: 0; border-left: 1px solid color-mix(in oklab, var(--ink-foreground) 15%, transparent); padding-left: 1.25rem; }
.overview__stat-value { font-size: 1.875rem; font-weight: 800; color: var(--ink-foreground); }
@media (min-width: 1024px) { .overview__stat-value { font-size: 2.25rem; } }
.overview__stat-value .suffix { color: var(--brand); }
.overview__stat-label { margin-top: .5rem; font-size: .875rem; color: color-mix(in oklab, var(--ink-foreground) 60%, transparent); }
.overview__panel { border-radius: 12px; border: 1px solid color-mix(in oklab, var(--ink-foreground) 12%, transparent); background: var(--ink-soft); padding: 1.75rem; }
.overview__panel + .overview__panel { margin-top: 2rem; }
.overview__tag-list { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.overview__tag { border-radius: 6px; border: 1px solid color-mix(in oklab, var(--ink-foreground) 12%, transparent); padding: .375rem .75rem; font-size: .75rem; color: color-mix(in oklab, var(--ink-foreground) 80%, transparent); }
.overview__reg-list { margin-top: 1rem; }
.overview__reg-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent); padding-block: .75rem; }
.overview__reg-row:last-child { border-bottom: 0; padding-bottom: 0; }
.overview__reg-code { font-size: .875rem; font-weight: 600; color: var(--ink-foreground); }
.overview__reg-label { text-align: right; font-size: .75rem; color: color-mix(in oklab, var(--ink-foreground) 55%, transparent); }

/* ==========================================================================
   Card grids (categories / featured products / events / promotions)
   ========================================================================== */
.card-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card-grid--2 { }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .card-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.tile-card { display: flex; height: 100%; flex-direction: column; overflow: hidden; border-radius: 10px; border: 1px solid var(--border); background: var(--background); transition: transform .5s, border-color .5s, box-shadow .5s; }
.tile-card:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--brand) 40%, transparent); box-shadow: 0 18px 40px -24px var(--shadow-color); }
.tile-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--neutral-soft); }
.tile-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.tile-card:hover .tile-card__media img { transform: scale(1.04); }
.tile-card__bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.tile-card:hover .tile-card__bar { transform: scaleX(1); }
.tile-card__body { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.25rem; }
.tile-card__title { min-width: 0; font-size: .95rem; font-weight: 600; }
.tile-card__arrow { flex-shrink: 0; color: var(--brand); opacity: 0; transition: opacity .3s, transform .3s; }
.tile-card:hover .tile-card__arrow { opacity: 1; transform: translateX(4px); }

.product-card { display: flex; height: 100%; flex-direction: column; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--background); transition: transform .5s, box-shadow .5s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -30px var(--shadow-color); }
.product-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .7s; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--ink) 85%, transparent), color-mix(in oklab, var(--ink) 25%, transparent), transparent); }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.product-card__rule { height: 2px; width: 2.5rem; background: var(--brand); transition: width .5s; }
.product-card:hover .product-card__rule { width: 4rem; }
.product-card__title { margin-top: 1.25rem; font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.product-card__desc { margin-top: .75rem; flex: 1; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.product-card__cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--brand); }
.product-card:hover .product-card__cta .arrow-link__arrow { transform: translateX(4px); }

/* ==========================================================================
   Applications / list grids
   ========================================================================== */
.app-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1px; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--border); }
@media (min-width: 640px) { .app-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .app-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.app-card { background: var(--background); padding: 1.75rem; transition: background-color .3s; }
.app-card:hover { background: var(--neutral-soft); }
.app-card__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.app-card__title { min-width: 0; font-size: 1rem; font-weight: 600; }
.app-card__arrow { flex-shrink: 0; color: var(--brand); transition: transform .3s; }
.app-card:hover .app-card__arrow { transform: translateX(4px); }
.app-card__note { margin-top: .75rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }

/* ==========================================================================
   Why Krishgen accordion
   ========================================================================== */
.why-grid { position: relative; display: grid; gap: 3.5rem; padding-block: 5rem; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: .9fr 1.1fr; padding-block: 7rem; } }
.why-list { border-top: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent); }
.why-item + .why-item { border-top: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent); }
.why-item__toggle { display: flex; width: 100%; align-items: center; gap: 1.25rem; padding-block: 1.25rem; text-align: left; }
.why-item__num { flex-shrink: 0; font-size: .75rem; font-weight: 700; color: color-mix(in oklab, var(--ink-foreground) 35%, transparent); transition: color .3s; }
.why-item.is-active .why-item__num { color: var(--brand); }
.why-item__body { min-width: 0; flex: 1; }
.why-item__title { display: block; font-size: 1.125rem; font-weight: 600; color: color-mix(in oklab, var(--ink-foreground) 60%, transparent); transition: color .3s; }
.why-item.is-active .why-item__title { color: var(--ink-foreground); }
.why-item__panel { overflow: hidden; max-height: 0; transition: max-height .5s, opacity .5s; opacity: 0; }
.why-item.is-active .why-item__panel { max-height: 8rem; opacity: 1; }
.why-item__note { margin-top: .5rem; font-size: .875rem; color: color-mix(in oklab, var(--ink-foreground) 60%, transparent); }
.why-item__arrow { flex-shrink: 0; color: var(--brand); opacity: .4; transition: transform .3s, opacity .3s; }
.why-item.is-active .why-item__arrow { opacity: 1; transform: translateX(4px); }

/* ==========================================================================
   Logo tiles (partners / customers)
   ========================================================================== */
.logo-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .logo-grid--6 { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (min-width: 1024px) { .logo-grid--7 { grid-template-columns: repeat(7, minmax(0,1fr)); } }
.logo-tile { display: grid; height: 6rem; place-items: center; border-radius: 8px; border: 1px solid var(--border); background: var(--background); padding: 1rem; transition: transform .4s, border-color .4s, box-shadow .4s; }
.logo-tile:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--brand) 40%, transparent); box-shadow: 0 14px 30px -22px var(--shadow-color); }
.logo-tile--dark { border-color: color-mix(in oklab, var(--ink-foreground) 10%, transparent); }
.logo-tile img { max-height: 3rem; width: auto; max-width: 100%; object-fit: contain; opacity: .7; filter: grayscale(1); transition: opacity .5s, filter .5s; }
.logo-tile:hover img { opacity: 1; filter: grayscale(0); }
.show-more-wrap { margin-top: 2rem; display: flex; justify-content: center; }

/* ==========================================================================
   Quality / certifications
   ========================================================================== */
.cert-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .cert-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .cert-grid { grid-template-columns: repeat(5, minmax(0,1fr)); } }
.cert-card { height: 100%; border-radius: 10px; border: 1px solid var(--border); background: var(--background); padding: 1.5rem; transition: transform .5s, border-color .5s; }
.cert-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--brand) 40%, transparent); }
.cert-card__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 8px; background: var(--brand-tint); color: var(--brand); font-weight: 700; }
.cert-card__code { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; }
.cert-card__label { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }

/* ==========================================================================
   Resources
   ========================================================================== */
.resource-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1px; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--border); }
@media (min-width: 640px) { .resource-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .resource-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.resource-card { display: flex; height: 100%; flex-direction: column; background: var(--background); padding: 1.75rem; transition: background-color .3s; }
.resource-card:hover { background: var(--brand-tint); }
.resource-card__num { font-size: .7rem; font-weight: 700; letter-spacing: .18em; color: var(--brand); }
.resource-card__title { margin-top: 1rem; font-size: 1rem; font-weight: 600; }
.resource-card__note { margin-top: .5rem; flex: 1; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.resource-card__arrow { margin-top: 1.5rem; color: var(--brand); transition: transform .3s; }
.resource-card:hover .resource-card__arrow { transform: translateX(4px); }

/* ==========================================================================
   Events
   ========================================================================== */
.event-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .event-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.event-card { display: flex; height: 100%; flex-direction: column; overflow: hidden; border-radius: 10px; border: 1px solid var(--border); background: var(--background); transition: transform .5s, box-shadow .5s; }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px -30px var(--shadow-color); }
.event-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--neutral-soft); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.event-card:hover .event-card__media img { transform: scale(1.03); }
.event-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.event-card__title { margin-top: .75rem; font-size: 1.125rem; font-weight: 600; }
.event-card__loc { margin-top: .5rem; flex: 1; font-size: .875rem; color: var(--muted-foreground); }
.event-card__cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--foreground); transition: color .3s; }
.event-card:hover .event-card__cta { color: var(--brand); }
.event-card--placeholder { display: flex; height: 100%; flex-direction: column; justify-content: center; border-radius: 10px; border: 1px dashed var(--border); background: var(--neutral-soft); padding: 1.5rem; text-align: center; }
.event-card--placeholder p:first-child { font-size: .875rem; font-weight: 600; }
.event-card--placeholder p:last-child { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }

/* ==========================================================================
   Promotions
   ========================================================================== */
.promo-grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .promo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.promo-card { position: relative; display: flex; height: 100%; flex-direction: column; overflow: hidden; border-radius: 10px; border: 1px solid var(--border); background: var(--background); padding: 1.75rem; transition: transform .5s, border-color .5s; }
.promo-card:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--brand) 50%, transparent); }
.promo-card__bar { position: absolute; inset-block: 0; left: 0; width: 3px; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform .5s; }
.promo-card:hover .promo-card__bar { transform: scaleY(1); }
.promo-card__badge { display: inline-flex; width: fit-content; border-radius: 6px; background: var(--brand); padding: .25rem .625rem; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-foreground); }
.promo-card__title { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.promo-card__desc { margin-top: .5rem; flex: 1; font-size: .875rem; color: var(--muted-foreground); }
.promo-card__cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--brand); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; align-items: center; gap: 3.5rem; padding-block: 5rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, minmax(0,1fr)); padding-block: 7rem; } }
.about-grid__copy { order: 2; }
.about-grid__media { order: 1; }
@media (min-width: 1024px) { .about-grid__copy { order: 1; } .about-grid__media { order: 2; } }
.about-facts { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.about-fact { border-left: 2px solid var(--brand); padding-left: 1rem; }
.about-fact__value { font-size: 1.125rem; font-weight: 700; }
.about-fact__label { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }
.about-grid__media img { overflow: hidden; border-radius: 12px; border: 1px solid var(--border); max-height: 32rem; width: 100%; object-fit: cover; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta { position: relative; overflow: hidden; background: var(--ink); }
.final-cta__inner { position: relative; padding-block: 5rem; text-align: center; }
@media (min-width: 1024px) { .final-cta__inner { padding-block: 7rem; } }
.final-cta__content { margin-inline: auto; max-width: 48rem; }
.final-cta__title { margin-top: 1.25rem; font-size: 1.875rem; font-weight: 700; color: var(--ink-foreground); }
@media (min-width: 640px) { .final-cta__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .final-cta__title { font-size: 3rem; line-height: 1.08; } }
.final-cta__subtext { margin-top: 1.25rem; font-size: 1rem; color: color-mix(in oklab, var(--ink-foreground) 70%, transparent); }
.final-cta__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); }
.footer__top { display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.2fr 2.6fr; padding-block: 5rem; } }
.footer__brand { min-width: 0; }
.footer__brand-row { display: flex; min-width: 0; align-items: center; gap: .75rem; }
.footer__brand-name { display: block; font-size: .875rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink-foreground); }
.footer__brand-since { display: block; margin-top: .25rem; font-size: .65rem; letter-spacing: .18em; color: color-mix(in oklab, var(--ink-foreground) 50%, transparent); }
.footer__tagline { margin-top: 1.5rem; max-width: 24rem; font-size: .875rem; line-height: 1.6; color: color-mix(in oklab, var(--ink-foreground) 60%, transparent); }

.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
@media (min-width: 640px) { .footer__cols { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .footer__cols { grid-template-columns: repeat(5, minmax(0,1fr)); } }
.footer__col { min-width: 0; }
.footer__col-title { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in oklab, var(--ink-foreground) 45%, transparent); }
.footer__col-list { margin-top: 1rem; }
.footer__col-list li + li { margin-top: .625rem; }
.footer__col-list a { font-size: .875rem; color: color-mix(in oklab, var(--ink-foreground) 70%, transparent); transition: color .3s; }
.footer__col-list a:hover { color: var(--brand); }
.footer__col-text { margin-top: 1rem; font-size: .8rem; line-height: 1.6; color: color-mix(in oklab, var(--ink-foreground) 65%, transparent); }
.footer__col-cta { margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--brand); }
.footer__contact-item + .footer__contact-item { margin-top: .75rem; }
.footer__contact-label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in oklab, var(--ink-foreground) 40%, transparent); }
.footer__contact-value { margin-top: .25rem; font-size: .875rem; color: color-mix(in oklab, var(--ink-foreground) 70%, transparent); }

.footer__certs { margin-top: 3.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; border-top: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent); padding-top: 2rem; }
.footer__cert-badge { border-radius: 6px; border: 1px solid color-mix(in oklab, var(--ink-foreground) 15%, transparent); padding: .375rem .75rem; font-size: .7rem; font-weight: 600; letter-spacing: .02em; color: color-mix(in oklab, var(--ink-foreground) 70%, transparent); }

.footer__bottom { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid color-mix(in oklab, var(--ink-foreground) 10%, transparent); padding-top: 1.5rem; font-size: .75rem; color: color-mix(in oklab, var(--ink-foreground) 45%, transparent); }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 2rem; } }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__legal a:hover, .footer__social a:hover { color: var(--brand); }
.footer__social { display: flex; gap: 1rem; }

.mobile-sticky-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; border-top: 1px solid var(--border); background: color-mix(in oklab, var(--background) 95%, transparent); backdrop-filter: blur(6px); padding: .75rem; }
@media (min-width: 1024px) { .mobile-sticky-cta { display: none; } }
.mobile-sticky-cta__row { display: flex; gap: .75rem; }
.mobile-sticky-cta__row a { flex: 1 1 0%; display: flex; min-height: 2.75rem; align-items: center; justify-content: center; border-radius: 8px; font-size: .875rem; font-weight: 600; }

main { display: block; }
.has-mobile-cta { padding-bottom: 5rem; }
@media (min-width: 1024px) { .has-mobile-cta { padding-bottom: 0; } }
