@import url("./common.css");

/* Locomotive Scroll expects smooth scroll layout */
html.has-scroll-smooth {
  overflow: hidden;
}

html.has-scroll-smooth body {
  overflow: hidden;
}

/* Shell: header is NOT inside the transformed scroll layer */
.loco-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.loco-doc-header {
  flex: 0 0 auto;
  position: relative;
  z-index: 10;
  padding: 1.25rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.loco-doc-header .effect-page__title {
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
}

/* Scroll layer: Locomotive transforms children here — keep chrome out of this div */
.loco-scroll {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

.has-scroll-smooth .loco-scroll {
  min-height: 0;
}

[data-scroll-container].loco-scroll {
  padding: 1.5rem 1.5rem 6rem;
}

.loco-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0;
}

.loco-hero {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.loco-hero__title {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.loco-hero__sub {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 52ch;
  line-height: 1.6;
}

.loco-band {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
}

.loco-parallax-block {
  margin-bottom: 2.5rem;
}

.loco-parallax-frame {
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #e5e7eb;
  line-height: 0;
}

.loco-parallax-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.loco-parallax-block__caption {
  margin: 1rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.loco-single-note {
  margin-bottom: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.loco-single-note__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.loco-single-note__body {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  max-width: 55ch;
  color: var(--muted);
}

.loco-section {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.loco-section h2 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.loco-section p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.demo-hint {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}
