/* HowServices — Demo preview pages */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.demo-body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  background: #f0f0ee;
  color: #1a1a1a;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Demo banner — sits above the demo site */
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #1a1a1a;
  color: #fafaf9;
  font-size: 0.8rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.demo-back {
  color: #fafaf9;
  font-weight: 400;
  font-size: 0.85rem;
  transition: opacity 0.2s ease;
}
.demo-back:hover { opacity: 0.7; }
.demo-banner-label {
  font-size: 0.75rem;
  color: #999;
  font-weight: 300;
}

/* Demo site container */
.demo-site {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  min-height: calc(100vh - 42px);
  box-shadow: 0 0 40px rgba(0,0,0,0.06);
}

/* Demo header */
.demo-header {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 20px 32px;
}
.demo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.demo-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.demo-logo-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.demo-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.demo-nav a {
  font-size: 0.85rem;
  color: #555;
  transition: color 0.2s ease;
}
.demo-nav a:hover { color: #1a1a1a; }
.demo-header-cta {
  padding: 8px 18px;
  font-size: 0.85rem;
  color: #fff;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}
.demo-header-cta:hover { opacity: 0.85; }

/* Demo hero */
.demo-hero {
  padding: 80px 32px;
  text-align: center;
  border-bottom: 3px solid var(--demo-accent);
}
.demo-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.demo-hero-sub {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 28px;
}
.demo-hero-cta {
  display: inline-block;
  padding: 12px 28px;
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
}
.demo-hero-cta:hover { opacity: 0.85; }

/* Demo sections */
.demo-section {
  padding: 64px 32px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.demo-section h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

/* Menu / product items */
.demo-items {
  max-width: 640px;
  margin: 0 auto;
}
.demo-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.demo-item:last-child { border-bottom: none; }
.demo-item-info h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.demo-item-info p {
  font-size: 0.85rem;
  color: #666;
}
.demo-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--demo-accent);
  flex-shrink: 0;
}

/* Services grid */
.demo-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .demo-services-grid { grid-template-columns: repeat(2, 1fr); }
}
.demo-service h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.demo-service p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* About section */
.demo-about {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.demo-about p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

/* Demo footer */
.demo-footer {
  padding: 32px;
  text-align: center;
}
.demo-footer p {
  font-size: 0.85rem;
  color: #888;
}

/* Responsive */
@media (max-width: 640px) {
  .demo-header { padding: 16px 20px; }
  .demo-hero { padding: 48px 20px; }
  .demo-section { padding: 48px 20px; }
  .demo-hero h1 { font-size: 1.5rem; }
  .demo-nav { gap: 16px; }
  .demo-header-inner { flex-direction: column; align-items: flex-start; }
  .demo-item { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
