* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #1f2937;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.demo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 24px;
  width: auto;
}

.demo-title {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-link {
  flex: 0 0 auto;
  color: #111827;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.product-link:hover { text-decoration: underline; }

.demo-frame {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #fff;
}

.home {
  max-width: 760px;
  margin: 80px auto;
  padding: 0 24px;
}

.home h1 { margin: 0 0 12px; font-size: 32px; }
.home p { color: #6b7280; line-height: 1.6; }
.home a { color: #111827; }

@media (max-width: 640px) {
  .demo-header { padding: 10px 14px; }
  .brand { gap: 8px; }
  .brand-logo { height: 22px; }
  .demo-title { max-width: 42vw; }
}
