/* NGKsSystems design system — workshop / machine-room, not SaaS glow */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ngks-bg: #141210;
  --ngks-surface: #1c1916;
  --ngks-border: rgba(232, 220, 196, 0.12);
  --ngks-border-hover: rgba(232, 220, 196, 0.28);
  --ngks-text: #f3efe6;
  --ngks-muted: #b7b0a4;
  --ngks-subtle: #7d776c;
  --ngks-max: 72rem;
  --ngks-narrow: 48rem;
  --ngks-accent: #e8a54b;
  --ngks-accent-2: #d4c4a8;
  --ngks-accent-3: #c47a3a;
  --ngks-glow: transparent;
  --ngks-glow-2: transparent;
  --ngks-font: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --ngks-display: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --ngks-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ngks-radius: 0.35rem;
}

body.ngks-theme {
  font-family: var(--ngks-font) !important;
  background: var(--ngks-bg) !important;
  color: var(--ngks-text);
}

.ngks-theme [data-bg-layer] { display: none !important; }

.ngks-theme header[data-kit] {
  background: rgba(20, 18, 16, 0.94) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ngks-border);
  box-shadow: none;
}
.ngks-theme header[data-kit]::before {
  display: none;
}
.ngks-theme header[data-kit] {
  position: sticky;
  top: 0;
  z-index: 50;
}

.ngks-site-header-inner {
  max-width: var(--ngks-max);
  margin: 0 auto;
  padding: 0 1rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ngks-site-header-inner { padding: 0 1.5rem; }
}

.ngks-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.ngks-brand:hover { opacity: 0.92; }

.ngks-brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--ngks-radius);
  background: rgba(232, 220, 196, 0.06);
  border: 1px solid var(--ngks-border);
  box-shadow: none;
}
.ngks-brand-mark img {
  height: 1.1rem;
  width: auto;
  opacity: 0.95;
}

.ngks-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.ngks-brand-name {
  font-family: var(--ngks-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ngks-brand-tag {
  font-family: var(--ngks-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ngks-accent);
  opacity: 0.95;
}

.ngks-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ngks-nav-link {
  position: relative;
  padding: 0.4rem 0.55rem;
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ngks-muted);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.ngks-nav-link:hover {
  color: var(--ngks-text);
  background: transparent;
}
.ngks-nav-link.is-active {
  color: var(--ngks-text);
  background: transparent;
}
.ngks-nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--ngks-accent);
}

.ngks-nav-cta {
  padding: 0.45rem 0.9rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  box-shadow: none;
  border: none;
}
.ngks-nav-cta:hover {
  box-shadow: none;
}

/* Homepage hero — desk lamp + Windows chrome (specific, not abstract) */
.ngks-hero {
  position: relative;
  min-height: min(86vh, 44rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: none;
  padding-bottom: 3.5rem;
  background:
    radial-gradient(ellipse 55% 70% at 8% 0%, rgba(255, 214, 150, 0.2), transparent 58%),
    linear-gradient(180deg, #1a1612 0%, #100e0c 55%, #0a0908 100%);
}
.ngks-hero-lamp {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 210, 140, 0.09) 0%, transparent 38%),
    radial-gradient(ellipse 42% 55% at 0% 0%, rgba(232, 165, 75, 0.18), transparent 70%);
}
.ngks-hero-grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ngks-hero-stamps {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.ngks-hero-stamp {
  position: absolute;
  margin: 0;
  padding: 0.45rem 0.7rem 0.35rem;
  font-family: var(--ngks-mono);
  font-size: var(--stamp-size, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  color: rgba(196, 72, 48, var(--stamp-ink, 0.55));
  border: 3px double rgba(196, 72, 48, var(--stamp-border, 0.5));
  border-radius: 0.12rem;
  transform: rotate(var(--stamp-rot, -8deg));
  opacity: 0;
  animation: ngks-hero-stamp 0.5s cubic-bezier(0.2, 1.15, 0.4, 1) var(--stamp-delay, 0.45s) both;
  box-shadow: inset 0 0 0 1px rgba(196, 72, 48, 0.15);
  text-shadow: 0 0 1px rgba(120, 40, 24, 0.3);
  user-select: none;
  white-space: nowrap;
}
.ngks-stamp-owned {
  top: 36%;
  right: max(1.5rem, 9vw);
  --stamp-rot: -11deg;
  --stamp-size: clamp(1.35rem, 3.2vw, 2rem);
  --stamp-ink: 0.72;
  --stamp-border: 0.65;
  --stamp-opacity: 0.9;
  --stamp-delay: 0.45s;
}
.ngks-stamp-local {
  top: 14%;
  right: 28%;
  --stamp-rot: 8deg;
  --stamp-size: clamp(0.95rem, 1.8vw, 1.25rem);
  --stamp-ink: 0.42;
  --stamp-border: 0.38;
  --stamp-opacity: 0.7;
  --stamp-delay: 0.62s;
}
.ngks-stamp-native {
  top: 58%;
  right: 4%;
  --stamp-rot: -18deg;
  --stamp-size: clamp(1rem, 2vw, 1.4rem);
  --stamp-ink: 0.48;
  --stamp-border: 0.42;
  --stamp-opacity: 0.75;
  --stamp-delay: 0.78s;
}
.ngks-stamp-ship {
  top: 22%;
  right: 6%;
  --stamp-rot: 14deg;
  --stamp-size: clamp(0.9rem, 1.6vw, 1.15rem);
  --stamp-ink: 0.38;
  --stamp-border: 0.34;
  --stamp-opacity: 0.65;
  --stamp-delay: 0.7s;
}
.ngks-stamp-build {
  bottom: 22%;
  right: 22%;
  --stamp-rot: 6deg;
  --stamp-size: clamp(0.95rem, 1.7vw, 1.2rem);
  --stamp-ink: 0.4;
  --stamp-border: 0.36;
  --stamp-opacity: 0.68;
  --stamp-delay: 0.88s;
}
.ngks-stamp-yours {
  top: 48%;
  right: 34%;
  --stamp-rot: -7deg;
  --stamp-size: clamp(0.85rem, 1.5vw, 1.1rem);
  --stamp-ink: 0.36;
  --stamp-border: 0.32;
  --stamp-opacity: 0.62;
  --stamp-delay: 0.95s;
}
.ngks-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 0 max(1.25rem, calc((100% - var(--ngks-max)) / 2 + 1.25rem));
  padding: 4.5rem 1.25rem 3rem;
  animation: ngks-hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
@media (min-width: 640px) {
  .ngks-hero-inner { padding: 5.5rem 1.75rem 3.5rem; }
}

.ngks-hero-brand {
  margin: 0 0 1.1rem;
  margin-left: -0.08em;
  font-family: var(--ngks-display);
  font-size: clamp(2.55rem, 6.5vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #f7f1e6;
}

.ngks-hero-title {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--ngks-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #efe8db;
  text-wrap: balance;
}

.ngks-hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #d2c8b6;
  text-wrap: pretty;
}

.ngks-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Full-bleed Windows-style taskbar — should read at a glance */
.ngks-hero-taskbar {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 3.15rem;
  padding: 0.35rem 0.4rem 0.35rem 0.45rem;
  background: rgba(32, 28, 24, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.45);
  font-family: 'Segoe UI', var(--ngks-font);
  font-size: 0.8rem;
  color: #f3efe6;
}
.ngks-tb-start {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  height: 2.35rem;
  padding: 0 0.75rem 0 0.55rem;
  border: none;
  border-radius: 0.2rem;
  background: transparent;
  color: #f3efe6;
  font: inherit;
  font-weight: 600;
  cursor: default;
}
.ngks-tb-start:hover { background: rgba(255, 255, 255, 0.08); }
.ngks-tb-win {
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.12rem;
}
.ngks-tb-win::before,
.ngks-tb-win::after,
.ngks-tb-win {
  background:
    linear-gradient(#e8a54b, #e8a54b) 0 0 / 45% 45% no-repeat,
    linear-gradient(#d4893a, #d4893a) 100% 0 / 45% 45% no-repeat,
    linear-gradient(#c47a3a, #c47a3a) 0 100% / 45% 45% no-repeat,
    linear-gradient(#e8a54b, #e8a54b) 100% 100% / 45% 45% no-repeat;
}
.ngks-tb-win::before,
.ngks-tb-win::after { content: none; }
.ngks-tb-search {
  display: none;
  align-items: center;
  gap: 0.45rem;
  flex: 0 1 14rem;
  max-width: 16rem;
  height: 2.2rem;
  padding: 0 0.75rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(243, 239, 230, 0.72);
  font-size: 0.78rem;
}
.ngks-tb-search-icon {
  width: 0.85rem;
  height: 0.85rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  opacity: 0.75;
  flex: 0 0 auto;
}
.ngks-tb-search-icon::after {
  content: '';
  position: absolute;
  right: -0.2rem;
  bottom: -0.15rem;
  width: 0.4rem;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}
.ngks-tb-apps {
  display: flex;
  align-items: stretch;
  gap: 0.2rem;
  min-width: 0;
}
.ngks-tb-app {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.35rem;
  padding: 0 0.65rem 0 0.5rem;
  border-radius: 0.2rem;
  background: transparent;
  position: relative;
  color: #efe8db;
}
.ngks-tb-app-active {
  background: rgba(255, 255, 255, 0.1);
}
.ngks-tb-app-active::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ngks-accent);
}
.ngks-tb-app-glyph {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.2rem;
  background: linear-gradient(160deg, #e8a54b, #c47a3a);
  color: #1a1410;
  font-size: 0.7rem;
  font-weight: 800;
  flex: 0 0 auto;
}
.ngks-tb-app-folder {
  background:
    linear-gradient(#e8a54b 0 0) 20% 55% / 60% 8% no-repeat,
    linear-gradient(#d4893a, #b86a2e);
  font-size: 0;
}
.ngks-tb-app-folder::before {
  content: '';
  width: 55%;
  height: 28%;
  margin-top: -0.35rem;
  border-radius: 0.1rem 0.1rem 0 0;
  background: #f0c078;
}
.ngks-tb-app-label {
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9rem;
}
.ngks-tb-tray {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  height: 2.35rem;
  padding-left: 0.25rem;
}
.ngks-tb-chevron {
  width: 1.6rem;
  height: 2rem;
  display: grid;
  place-items: center;
  opacity: 0.75;
}
.ngks-tb-chevron::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: 0.15rem;
}
.ngks-tb-ico {
  width: 1.7rem;
  height: 2rem;
  opacity: 0.85;
  background-position: center;
  background-repeat: no-repeat;
}
.ngks-tb-ico-net {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3efe6' stroke-width='1.8'%3E%3Cpath d='M2 10c6-6 14-6 20 0'/%3E%3Cpath d='M5.5 13.5c4-4 9-4 13 0'/%3E%3Cpath d='M9 17c2-2 4-2 6 0'/%3E%3Ccircle cx='12' cy='20' r='1.2' fill='%23f3efe6' stroke='none'/%3E%3C/svg%3E");
  background-size: 1.05rem;
}
.ngks-tb-ico-vol {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f3efe6'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3zm13.5 3a3.5 3.5 0 00-1.8-3v6a3.5 3.5 0 001.8-3z'/%3E%3C/svg%3E");
  background-size: 1rem;
}
.ngks-tb-clock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  min-width: 4.5rem;
  padding: 0 0.55rem;
  line-height: 1.15;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}
.ngks-tb-peek {
  width: 0.35rem;
  align-self: stretch;
  margin: 0.15rem 0 0.15rem 0.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
@media (min-width: 640px) {
  .ngks-tb-search { display: inline-flex; }
}
@media (max-width: 639px) {
  .ngks-tb-app-label { display: none; }
  .ngks-tb-app { padding: 0 0.45rem; }
  .ngks-tb-start span:last-child { display: none; }
  .ngks-tb-ico { display: none; }
}

@keyframes ngks-hero-rise {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ngks-hero-stamp {
  from {
    opacity: 0;
    transform: rotate(var(--stamp-rot, -8deg)) scale(1.3);
    filter: blur(2px);
  }
  to {
    opacity: var(--stamp-opacity, 0.75);
    transform: rotate(var(--stamp-rot, -8deg)) scale(1);
    filter: blur(0);
  }
}
@media (max-width: 900px) {
  .ngks-stamp-yours,
  .ngks-stamp-ship { display: none; }
}
@media (max-width: 767px) {
  .ngks-stamp-local,
  .ngks-stamp-native,
  .ngks-stamp-build { display: none; }
  .ngks-stamp-owned {
    top: auto;
    bottom: 4.5rem;
    right: 0.85rem;
    --stamp-size: 1.1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ngks-hero-stamp,
  .ngks-hero-inner { animation: none; }
  .ngks-hero-stamp { opacity: var(--stamp-opacity, 0.75); }
}

.ngks-btn-hero-primary {
  padding: 0.7rem 1.35rem;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Builder note — bridge from hero into catalog */
.ngks-builder-note {
  border-bottom: 1px solid var(--ngks-border);
  background:
    linear-gradient(90deg, rgba(232, 165, 75, 0.06), transparent 40%),
    #161310;
}
.ngks-builder-note-inner {
  max-width: var(--ngks-max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.65rem;
}
@media (min-width: 640px) {
  .ngks-builder-note-inner { padding: 1.75rem 1.75rem 1.9rem; }
}
.ngks-builder-note-path {
  margin: 0 0 0.45rem;
  font-family: var(--ngks-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--ngks-accent);
}
.ngks-builder-note-inner > p:last-child {
  margin: 0;
  max-width: 46rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ngks-muted);
}
.ngks-builder-note strong {
  color: var(--ngks-text);
  font-weight: 600;
}

.ngks-badge-legend {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.ngks-badge-legend .ngks-badge {
  font-size: 0.5625rem;
  padding: 0.1rem 0.4rem;
  vertical-align: middle;
}

/* Homepage catalog — bands + shop shelves */
.ngks-catalog {
  background: var(--ngks-bg);
}
.ngks-home-band {
  border-bottom: 1px solid var(--ngks-border);
  padding: 2.25rem 0 2.5rem;
}
.ngks-home-band-featured {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(232, 165, 75, 0.07), transparent 55%),
    #12100e;
}
.ngks-home-band-alt {
  background: #161310;
}
.ngks-home-band-last {
  border-bottom: none;
  padding-bottom: 3rem;
}
.ngks-home-section {
  max-width: var(--ngks-max);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .ngks-home-section { padding: 0 1.5rem; }
}

.ngks-section-head {
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(232, 220, 196, 0.1);
}
.ngks-section-index {
  margin: 0 0 0.35rem;
  font-family: var(--ngks-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ngks-accent);
}
.ngks-section-title {
  margin: 0;
  font-family: var(--ngks-display);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ngks-text);
}
.ngks-section-title-muted {
  color: #a39a8c;
}
.ngks-section-desc {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ngks-subtle);
}

.ngks-product-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .ngks-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
}
@media (min-width: 1024px) {
  .ngks-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ngks-product-grid-free {
  max-width: 52rem;
}

.ngks-theme footer[data-kit] {
  background: #100e0c !important;
  border-top: 1px solid var(--ngks-border);
  color: var(--ngks-subtle);
  font-family: var(--ngks-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.ngks-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ngks-subtle);
}

.ngks-hairline { border-color: var(--ngks-border); }

.ngks-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--ngks-accent);
  color: #1a1208;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.ngks-btn-primary:hover { background: #f0b65d; }

.ngks-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ngks-text);
  text-decoration: none;
  border: 1px solid var(--ngks-border-hover);
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ngks-btn-secondary:hover {
  background: rgba(232, 220, 196, 0.06);
  border-color: rgba(232, 220, 196, 0.4);
}

.ngks-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ngks-text);
  border: 1px solid var(--ngks-border-hover);
  background: transparent;
  text-decoration: none;
  transition: background 0.15s ease;
}
.ngks-btn-ghost:hover { background: rgba(232, 220, 196, 0.06); }

.ngks-btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5c564c;
  background: rgba(232, 220, 196, 0.04);
  cursor: not-allowed;
}
.ngks-tile-btn {
  flex: 1 1 7rem;
  min-width: 7rem;
}

.ngks-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: var(--ngks-radius);
  font-family: var(--ngks-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--ngks-border);
  background: rgba(232, 220, 196, 0.04);
  color: var(--ngks-muted);
}
.ngks-badge-live { border-color: rgba(52, 211, 153, 0.4); color: #6ee7b7; }
.ngks-badge-alpha { border-color: rgba(232, 165, 75, 0.4); color: #e8a54b; }
.ngks-badge-beta { border-color: rgba(232, 165, 75, 0.45); color: #f0b65d; }
.ngks-badge-soon { border-color: rgba(125, 119, 108, 0.5); color: #9a9286; }
.ngks-badge-new { border-color: rgba(212, 196, 168, 0.45); color: #d4c4a8; }
.ngks-badge-special { border-color: rgba(196, 122, 58, 0.5); color: #c47a3a; }
.ngks-badge-building { border-color: rgba(232, 165, 75, 0.35); color: #d4a574; }

/* Product tiles — interaction shelves, not floating SaaS cards */
.ngks-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(232, 220, 196, 0.14);
  border-radius: 0.2rem;
  background: #1a1714;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ngks-tile:hover {
  border-color: rgba(232, 165, 75, 0.35);
  background: #1f1b17;
}
.ngks-tile-featured {
  border-color: rgba(232, 165, 75, 0.28);
  box-shadow: inset 0 0 0 1px rgba(232, 165, 75, 0.08);
}
.ngks-tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.05rem 1.1rem;
  border-top: 1px solid rgba(232, 220, 196, 0.08);
}
.ngks-tile-title {
  margin: 0;
  font-family: var(--ngks-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f3efe6;
}
.ngks-tile-blurb {
  margin: 0.4rem 0 0;
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #b0a89a;
}
.ngks-tile-price-note {
  margin: 0.4rem 0 0;
  font-family: var(--ngks-mono);
  font-size: 0.6875rem;
  color: var(--ngks-subtle);
}
.ngks-tile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(232, 220, 196, 0.08);
}
.ngks-tile-media {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(160deg, rgba(232, 165, 75, 0.08), transparent 45%),
    #0c0b0a;
  position: relative;
  overflow: hidden;
}
.ngks-tile-media::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 165, 75, 0.35), transparent);
  pointer-events: none;
}
.ngks-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ngks-tile-media img.ngks-thumb-contain {
  object-fit: contain;
  object-position: center top;
}
.ngks-tile-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ngks-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: #5c564c;
  letter-spacing: 0.12em;
}
.ngks-tile-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 1;
}
.ngks-tile-price {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 1;
  padding: 0.2rem 0.5rem;
  font-family: var(--ngks-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1410;
  background: var(--ngks-accent);
  border-radius: 0.12rem;
}

/* Benefit tiles (promo) */
.ngks-benefit-tile {
  text-align: left;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--ngks-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem 1.5rem;
  transition: all 0.2s ease;
}
.ngks-benefit-tile:hover {
  border-color: var(--ngks-border-hover);
  background: rgba(255, 255, 255, 0.05);
}
.ngks-benefit-tile[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

/* Detail panel */
#benefitBackdrop { opacity: 0; transition: opacity 0.22s ease; }
#benefitBackdrop.is-open { opacity: 1; }
#benefitPanel {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#benefitPanel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ngks-chip {
  border: 1px solid var(--ngks-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: #d4d4d4;
}

/* Shared content panels */
.ngks-panel {
  border: 1px solid var(--ngks-border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ngks-panel:hover {
  border-color: var(--ngks-border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.ngks-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ngks-border);
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  color: #e5e5e5;
  width: 100%;
  font-size: 0.875rem;
}
.ngks-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.25);
}

@media print {
  .no-print { display: none !important; }
}
