/* devani-site-styles:{"backgroundColor":"","textColor":"","fontFamily":"","baseFontSize":"","headingFontFamily":"","headingColor":"","linkColor":"","containerMaxWidth":"","customCss":""} */

/* neura-site-styles:{"backgroundColor":"#ffffff","textColor":"#0B1220","fontFamily":"'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif","baseFontSize":"17px","headingFontFamily":"'Anton', 'Open Sans', sans-serif","headingColor":"#0B1220","linkColor":"#1478DC","containerMaxWidth":"1200px","customCss":""} */

:root {
  /* JPH Group brand */
  --jph-green: #28A028;
  --jph-green-deep: #1F8520;
  --jph-blue: #1478DC;
  --jph-blue-deep: #0F5FB8;
  --jph-ink: #0B1220;

  /* Mapped to vs-* tokens so existing component CSS inherits brand */
  --vs-page-bg: #ffffff;
  --vs-page-gradient: none;
  --vs-surface: #ffffff;
  --vs-panel: #ffffff;
  --vs-border: rgba(11, 18, 32, 0.10);
  --vs-border-strong: rgba(11, 18, 32, 0.18);
  --vs-text: #0B1220;
  --vs-text-muted: #4F5460;
  --vs-text-soft: #8A8F98;
  --vs-highlight: #1478DC;
  --vs-highlight-soft: rgba(20, 120, 220, 0.10);
  --vs-accent: #0B1220;
  --vs-chip-bg: #E8F4E8;
  --vs-chip-text: #1F8520;
  --vs-badge-bg: rgba(40, 160, 40, 0.12);
  --vs-badge-border: rgba(40, 160, 40, 0.32);
  --vs-shadow-soft: 0 24px 60px -30px rgba(11, 18, 32, 0.18);
  --vs-shadow-lift: 0 14px 32px rgba(11, 18, 32, 0.10);
  --vs-radius: 12px;
  --vs-radius-lg: 18px;
  --vs-font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --vs-heading-font: 'Anton', 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--vs-heading-font);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--vs-accent);
  line-height: 1.1;
  font-weight: 400;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--vs-font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--vs-text);
  background: var(--vs-page-gradient), var(--vs-page-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--vs-highlight);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.75;
}

main {
  display: block;
}

/* ============================================================
   Dark-section safety net (added 2026-05-25).
   Any section painted with the dark ink brand background gets
   light text by default, so headings/paragraphs can never end
   up dark-on-dark even when an inline color override is missed.
   Covers sections set via the --jph-ink variable or its hex.
   ============================================================ */
section[style*="--jph-ink"],
section[style*="#0B1220"],
section[style*="#0b1220"],
.section--dark {
  color: #ffffff;
}

section[style*="--jph-ink"] h1,
section[style*="--jph-ink"] h2,
section[style*="--jph-ink"] h3,
section[style*="--jph-ink"] h4,
section[style*="--jph-ink"] h5,
section[style*="--jph-ink"] h6,
section[style*="#0B1220"] h1,
section[style*="#0B1220"] h2,
section[style*="#0B1220"] h3,
section[style*="#0B1220"] h4,
section[style*="#0B1220"] h5,
section[style*="#0B1220"] h6,
section[style*="#0b1220"] h1,
section[style*="#0b1220"] h2,
section[style*="#0b1220"] h3,
section[style*="#0b1220"] h4,
section[style*="#0b1220"] h5,
section[style*="#0b1220"] h6,
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: #ffffff;
}

/* Header */
.vs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px clamp(16px, 3vw, 48px);
  z-index: 100;
}

.vs-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid var(--vs-border);
  border-radius: 4px;
  padding: 14px clamp(24px, 3vw, 40px);
  box-shadow: 0 6px 18px rgba(11, 18, 32, 0.06);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

/* Brand slider (manual) */
.brand-slider {
  position: relative;
}

.brand-slider__viewport {
  overflow: hidden;
}

.brand-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.brand-slider__track::-webkit-scrollbar {
  display: none;
}

.brand-slider__item {
  flex: 0 0 20%;
  scroll-snap-align: start;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(16px, 2vw, 28px);
  box-sizing: border-box;
}

.brand-slider__item img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-slider__text {
  font-family: var(--vs-heading-font);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--jph-ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
}

.brand-slider__controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(20px, 3vw, 32px);
}

.brand-slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid var(--vs-border);
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jph-ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.brand-slider__btn:hover {
  background: var(--jph-ink);
  color: #fff;
  border-color: var(--jph-ink);
}

.brand-slider__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .brand-slider__item { flex-basis: 25%; }
}
@media (max-width: 768px) {
  .brand-slider__item { flex-basis: 33.3333%; }
}
@media (max-width: 540px) {
  .brand-slider__item { flex-basis: 50%; }
}

.vs-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--vs-accent);
  font-size: 16px;
}

.vs-logo__icon {
  height: 60px;
  width: auto;
  display: block;
}

.vs-logo__word {
  display: none;
}

.vs-header__toggle {
  display: none;
}

.vs-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4.5vw, 64px);
}

.vs-nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vs-text);
  transition: color 0.2s ease;
}

.vs-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--jph-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.vs-nav__link:hover {
  color: var(--jph-green-deep);
  opacity: 1;
}

.vs-nav__link:hover::after,
.vs-nav__link.active::after {
  transform: scaleX(1);
}

.vs-nav__link.active {
  color: var(--jph-green-deep);
}

.vs-header__cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--jph-green) 0%, var(--jph-green-deep) 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px -14px rgba(31, 133, 32, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.vs-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -16px rgba(31, 133, 32, 0.55);
  filter: brightness(1.05);
}

.vs-btn--ghost {
  background: transparent;
  color: var(--jph-blue-deep);
  border: 2px solid var(--jph-blue);
  box-shadow: none;
}

.vs-btn--ghost:hover {
  background: rgba(20, 120, 220, 0.08);
  transform: translateY(-1px);
  filter: none;
}

/* Sections */
.section {
  position: relative;
  padding: clamp(90px, 12vw, 160px) clamp(20px, 6vw, 96px);
}

.section--compact {
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(60px, 9vw, 120px);
}

.section--hero {
  padding-top: clamp(120px, 16vw, 200px);
  padding-bottom: clamp(90px, 14vw, 160px);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-orb {
  position: absolute;
  inset: -20% -32% auto auto;
  width: clamp(420px, 50vw, 620px);
  height: clamp(420px, 50vw, 620px);
  background: radial-gradient(circle at 30% 30%, rgba(134, 182, 255, 0.32), rgba(255, 255, 255, 0));
  filter: blur(0px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.tagline {
  font-size: clamp(20px, 3vw, 24px);
  color: var(--vs-text-muted);
  max-width: 720px;
  margin: 18px 0 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vs-highlight);
  background: var(--vs-badge-bg);
  border: 1px solid var(--vs-badge-border);
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--vs-chip-bg);
  color: var(--vs-chip-text);
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(46, 50, 163, 0.18);
}

.surface {
  background: var(--vs-surface);
  border-radius: var(--vs-radius-lg);
  border: 1px solid var(--vs-border);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--vs-shadow-soft);
}

.stat {
  display: grid;
  gap: 6px;
}

.stat__value {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--vs-accent);
}

.stat__label {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vs-text-soft);
}

.grid-2 {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--vs-surface);
  border-radius: var(--vs-radius);
  border: 1px solid var(--vs-border);
  padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--vs-shadow-soft);
  display: grid;
  gap: 14px;
}

.card h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--vs-accent);
}

.card p {
  margin: 0;
  color: var(--vs-text-muted);
}

.list {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--vs-text-muted);
  font-size: 16px;
}

.list li {
  line-height: 1.5;
}

blockquote.surface {
  text-align: left;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 241, 255, 0.92));
}

blockquote p {
  color: var(--vs-accent);
}

blockquote footer {
  color: var(--vs-text-muted);
}

/* Hero layout */
.hero-grid {
  display: grid;
  position: relative;
  z-index: 1;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.hero-copy {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-meta {
  display: grid;
  gap: 16px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 20px;
}

/* Builder preview */
.builder-preview {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(238, 242, 255, 1));
  border-radius: 28px;
  border: 1px solid rgba(79, 70, 229, 0.14);
  box-shadow: 0 42px 70px -32px rgba(67, 56, 202, 0.32);
  overflow: hidden;
  display: grid;
}

.builder-preview__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(67, 56, 202, 0.12);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--vs-text-muted);
}

.builder-preview__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.builder-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vs-text-soft);
}

.builder-preview__dot.is-red {
  background: #f87171;
}

.builder-preview__dot.is-amber {
  background: #fbbf24;
}

.builder-preview__dot.is-green {
  background: #4ade80;
}

.builder-preview__crumb {
  font-weight: 600;
  color: var(--vs-accent);
}

.builder-preview__status {
  font-size: 12px;
  color: var(--vs-text-soft);
}

.builder-preview__body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 280px;
  background: rgba(245, 247, 255, 0.6);
}

.builder-preview__sidebar {
  background: rgba(239, 242, 255, 0.9);
  border-right: 1px solid rgba(67, 56, 202, 0.12);
  padding: 20px 18px;
  display: grid;
  gap: 20px;
}

.builder-preview__sidebar h4 {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--vs-accent);
}

.builder-preview__menu {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.builder-preview__menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(67, 56, 202, 0.08);
  border: 1px solid rgba(67, 56, 202, 0.14);
  color: var(--vs-accent);
  font-weight: 600;
}

.builder-preview__badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--vs-text-soft);
}

.builder-preview__canvas {
  padding: 26px 30px;
  display: grid;
  gap: 18px;
}

.builder-preview__section {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px -35px rgba(17, 24, 39, 0.22);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.builder-preview__module {
  border-radius: 18px;
  border: 1px dashed rgba(67, 56, 202, 0.28);
  padding: 18px;
  background: rgba(248, 249, 255, 0.8);
  display: grid;
  gap: 10px;
}

.builder-preview__module--hero {
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.16), rgba(209, 213, 255, 0.3));
  border: none;
  color: var(--vs-accent);
}

.builder-preview__module h5 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.builder-preview__module p {
  margin: 0;
  font-size: 14px;
  color: var(--vs-text-muted);
}

.builder-preview__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.18);
  color: var(--vs-highlight);
  font-size: 13px;
  font-weight: 600;
}

/* Code block */
.code-block {
  margin: 0;
  padding: 26px 30px;
  border-radius: var(--vs-radius);
  background: #111827;
  color: #f9fafb;
  font-family: 'JetBrains Mono', 'Fira Code', 'SFMono-Regular', monospace;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 28px 60px -30px rgba(17, 24, 39, 0.4);
  overflow-x: auto;
}

.token-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

/* Footer */
.vs-footer {
  margin-top: clamp(60px, 10vw, 140px);
  padding: clamp(70px, 10vw, 130px) clamp(24px, 6vw, 96px) clamp(40px, 8vw, 80px);
  background: var(--vs-surface);
  border-top: 1px solid var(--vs-border);
}

.vs-footer__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: start;
}

.vs-logo--footer {
  gap: 12px;
  margin-bottom: 18px;
}

.vs-logo--footer .vs-logo__icon {
  height: 44px;
}

.vs-footer__title {
  font-family: var(--vs-heading-font);
  font-weight: 400;
}

.vs-footer__lead {
  margin: 18px 0 12px;
  color: var(--vs-text);
}

.vs-footer__meta {
  color: var(--vs-text-muted);
  font-size: 14px;
}

.vs-footer__title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--vs-accent);
  margin-bottom: 14px;
}

.vs-footer__link {
  display: block;
  margin-bottom: 10px;
  color: var(--vs-text-muted);
  font-size: 15px;
  line-height: 1.4;
}

.vs-footer__link:hover {
  color: var(--vs-highlight);
}

.vs-footer__copy {
  margin: 0 0 14px;
  color: var(--vs-text-muted);
  font-size: 15px;
}

.vs-footer__form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vs-footer__form input {
  flex: 1 1 220px;
  border-radius: 999px;
  border: 1px solid var(--vs-border);
  padding: 12px 18px;
  font-family: inherit;
  font-size: 15px;
  background: #f9fafb;
}

.vs-footer__form input:focus {
  outline: none;
  border-color: rgba(20, 120, 220, 0.5);
  box-shadow: 0 0 0 3px rgba(20, 120, 220, 0.16);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .vs-header {
    padding: 10px clamp(12px, 3vw, 24px);
  }
  .vs-header__bar {
    flex-wrap: wrap;
    padding: 10px 14px 10px 16px;
    gap: 12px;
  }
  .vs-logo__icon {
    height: 40px;
  }
  .vs-header__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 36px;
    padding: 9px 8px;
    background: transparent;
    border: 1px solid var(--vs-border);
    border-radius: 6px;
    cursor: pointer;
    order: 2;
    margin-left: auto;
  }
  .vs-header__toggle span {
    display: block;
    height: 2px;
    background: var(--jph-ink);
    border-radius: 1px;
  }
  .vs-nav {
    display: none;
    order: 4;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin: 6px -14px -10px;
    padding: 4px 14px 8px;
    border-top: 1px solid var(--vs-border);
  }
  .vs-nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--vs-border);
    font-size: 13px;
  }
  .vs-nav__link:last-child {
    border-bottom: none;
  }
  .vs-header__cta {
    order: 3;
    display: none;
  }
  body.nav-open .vs-nav,
  body.nav-open .vs-header__cta {
    display: flex;
  }
  body.nav-open .vs-header__cta {
    width: 100%;
    order: 5;
    margin-top: 6px;
  }
  body.nav-open .vs-header__cta .vs-btn {
    flex: 1;
    justify-content: center;
  }

  .vs-footer__form {
    flex-direction: column;
    align-items: stretch;
  }
  .vs-footer__grid {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    gap: 12px;
  }
  .hero-grid {
    gap: 36px;
  }
}

/* ============================================================
   Canonical Devani nav-item class alias (added 2026-05-22).
   {{nav_items}} placeholder emits `.nav-link` — alias all the
   existing `.vs-nav__link` styles to it so the DB-managed nav
   renders with the same visual as the old hand-rolled foreach.
   ============================================================ */
.vs-nav .nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vs-text);
  transition: color 0.2s ease;
  text-decoration: none;
}
.vs-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--jph-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.vs-nav .nav-link:hover {
  color: var(--jph-green-deep);
  opacity: 1;
}
.vs-nav .nav-link:hover::after,
.vs-nav .nav-link.active::after {
  transform: scaleX(1);
}
.vs-nav .nav-link.active {
  color: var(--jph-green-deep);
}
