/* GreenSphere demo shell — parent page only.
   Tour overlays are styled inside tour.js (injected into the iframe). */

:root {
  --gs-green-deep: #014933;
  --gs-green-action: #0C6E35;
  --gs-green-action-hover: #0a5e2c;
  --gs-warm-neutral: #F6F4EE;
  --gs-ink: #0A0A0A;
  --gs-muted: #5C5C5C;
  --gs-border: #E8E6E0;
  --banner-h: 48px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gs-warm-neutral);
  color: var(--gs-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-h);
  background: var(--gs-green-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 16px;
  font-size: 13px;
  z-index: 10;
  letter-spacing: 0.005em;
}

.banner-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.banner-text strong {
  font-weight: 600;
}

.banner-sub {
  color: rgba(255, 255, 255, 0.7);
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  background: var(--gs-green-action);
  color: #fff;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: background 120ms ease, transform 120ms ease;
}

.banner-cta:hover {
  background: var(--gs-green-action-hover);
}

.banner-cta:active {
  transform: translateY(1px);
}

#app-frame {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  width: 100%;
  height: calc(100% - var(--banner-h));
  border: 0;
  background: #fff;
}

.restart-pill {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: var(--gs-ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  z-index: 11;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.restart-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.restart-pill:active {
  transform: translateY(0);
}

@media (max-width: 720px) {
  .banner-sub { display: none; }
  .top-banner { gap: 10px; padding: 0 12px; }
}
