/* Light Cluster Studio — workshop landing (Apple-inspired product story) */
@import url("/lcs/lcs-shell.css");

.lcs-page {
  --lcs-bg: #000000;
  --lcs-bg-elevated: #0a0a0c;
  --lcs-text: #f5f5f7;
  --lcs-text-dim: #86868b;
  --lcs-text-muted: #6e6e73;
  --lcs-line: rgba(255, 255, 255, 0.12);
  --lcs-accent: #2997ff;
  --lcs-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  background: var(--lcs-bg);
  color: var(--lcs-text);
  font-family: var(--lcs-font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lcs-page a {
  color: inherit;
  text-decoration: none;
}

.lcs-page a:hover {
  text-decoration: none;
}

.lcs-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lcs-ambient {
  pointer-events: none;
  position: fixed;
  inset: -20% -10%;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% -10%, rgba(41, 151, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(255, 255, 255, 0.04), transparent 50%);
}

/* ——— Nav ——— */
.lcs-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, env(safe-area-inset-right)) 0 max(22px, env(safe-area-inset-left));
  height: 48px;
  font-size: 12px;
  letter-spacing: -0.01em;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.lcs-nav.is-scrolled {
  border-bottom-color: var(--lcs-line);
}

.lcs-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 13px;
  opacity: 0.92;
}

.lcs-nav-brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 24%;
  object-fit: cover;
  flex-shrink: 0;
  background: #000;
}

.lcs-nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.lcs-nav-links a {
  color: var(--lcs-text-dim);
  transition: color 0.2s ease;
}

.lcs-nav-links a:hover {
  color: var(--lcs-text);
}

.lcs-nav-links a[aria-current="page"] {
  color: var(--lcs-text);
}

.lcs-nav-discord {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}

.lcs-nav-discord:hover {
  opacity: 1;
}

.lcs-discord-logo {
  display: block;
  height: 26px;
  width: auto;
  max-width: min(120px, 32vw);
  object-fit: contain;
  flex-shrink: 0;
}

/* Discord wordmark PNG is black-backed — use on dark surfaces only, not .lcs-btn-primary */
.lcs-discord-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 0;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lcs-discord-cta:hover {
  border-color: rgba(88, 101, 242, 0.55);
  background: #0a0a0c;
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.18);
  transform: translateY(-1px);
}

.lcs-discord-logo-cta {
  height: 28px;
  width: auto;
  max-width: min(155px, 72vw);
}

@media (max-width: 640px) {
  .lcs-nav-links {
    gap: 1rem;
  }
}

.lcs-hero-compact {
  min-height: auto;
  padding-bottom: 2rem;
}

.lcs-facts {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}

.lcs-facts dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lcs-text-muted);
  margin-bottom: 0.35rem;
}

.lcs-facts dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--lcs-text);
}

.lcs-body-wide {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lcs-bento {
  max-width: 1080px;
  margin: 2rem auto 0;
  padding: 0 1.5rem 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.lcs-bento-tight {
  margin-top: 1.5rem;
}

.lcs-bento-card {
  padding: 1.35rem 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--lcs-line);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.lcs-bento-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lcs-bento-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--lcs-text-dim);
}

.lcs-bento-card-sm h3 {
  font-size: 0.98rem;
}

.lcs-standards {
  list-style: none;
  margin: 1.5rem auto 0;
  padding: 0;
  max-width: 36rem;
  text-align: left;
}

.lcs-standards li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.25rem;
  border-bottom: 1px solid var(--lcs-line);
  font-size: 15px;
  color: var(--lcs-text-dim);
  line-height: 1.45;
}

.lcs-standards li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lcs-accent);
}

.lcs-spotlight {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--lcs-line);
  border-bottom: 1px solid var(--lcs-line);
  background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 900px) {
  .lcs-spotlight {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }

  .lcs-spotlight-copy {
    text-align: left;
  }
}

.lcs-spotlight-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--lcs-line);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
}

.lcs-spotlight-media img {
  width: 100%;
  height: auto;
  display: block;
}

.lcs-standards-tight {
  margin-top: 1rem;
  max-width: none;
}

.lcs-discord-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
  text-align: center;
}

.lcs-discord-card .lcs-standards {
  text-align: left;
  margin-bottom: 1.5rem;
}

.lcs-discord-card .lcs-discord-cta {
  margin-top: 1rem;
}

.lcs-popular-grid {
  max-width: 1080px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem 1rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.lcs-popular-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lcs-line);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.lcs-popular-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.lcs-popular-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111;
}

.lcs-popular-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lcs-popular-body {
  padding: 1.15rem 1.25rem 1.35rem;
  text-align: left;
}

.lcs-popular-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lcs-popular-body p {
  margin: 0;
  font-size: 14px;
  color: var(--lcs-text-dim);
  line-height: 1.45;
}

.lcs-popular-price {
  margin-top: 0.65rem !important;
  color: var(--lcs-text) !important;
  font-weight: 500 !important;
}

.lcs-steps-inline {
  margin-top: 2rem;
  text-align: left;
}

.lcs-shop-main {
  position: relative;
  z-index: 1;
  padding-bottom: 4rem;
}

.lcs-shop-head {
  max-width: 680px;
  margin: 0 auto;
  padding: calc(48px + 2.5rem) 1.5rem 1rem;
  text-align: center;
}

.lcs-notice {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 14px;
  background: rgba(41, 151, 255, 0.12);
  border: 1px solid rgba(41, 151, 255, 0.35);
  color: var(--lcs-text);
}

.lcs-checkout-wrap {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: calc(48px + 2.5rem) 1.5rem 4rem;
}

.lcs-checkout-card {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--lcs-line);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 1.25rem;
}

.lcs-checkout-card h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.lcs-auth-btn {
  display: flex;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--lcs-line);
  background: transparent;
  color: var(--lcs-text);
  font-size: 15px;
  font-weight: 500;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.lcs-auth-btn:hover {
  border-color: var(--lcs-text-dim);
}

.lcs-auth-btn.linked {
  border-color: rgba(48, 209, 88, 0.5);
  color: #30d158;
}

/* ——— Hero ——— */
.lcs-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(48px + 3.5rem) 1.5rem 4rem;
  text-align: center;
}

.lcs-hero-copy {
  max-width: 980px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.lcs-kicker {
  margin: 0 0 0.75rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lcs-text-muted);
}

.lcs-display {
  margin: 0 0 1rem;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lcs-display-line {
  display: block;
}

.lcs-display-dim {
  color: var(--lcs-text-dim);
}

.lcs-lead {
  margin: 0 auto;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--lcs-text-dim);
  font-weight: 400;
}

.lcs-hero-stage {
  position: relative;
  width: min(920px, 94vw);
  margin: 0;
  padding: 0;
  will-change: transform;
}

.lcs-hero-glow {
  position: absolute;
  inset: 10% 5% -5%;
  background: radial-gradient(ellipse at 50% 60%, rgba(41, 151, 255, 0.2), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.lcs-hero-wire {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  animation: lcs-float 8s ease-in-out infinite;
}

@keyframes lcs-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.lcs-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lcs-text-muted);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.lcs-scroll-hint:hover {
  opacity: 1;
  color: var(--lcs-text-dim);
}

/* ——— Sections ——— */
.lcs-band {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vw, 8rem) 1.5rem;
  background: var(--lcs-bg);
}

.lcs-band-dark {
  background: var(--lcs-bg-elevated);
  border-top: 1px solid var(--lcs-line);
  border-bottom: 1px solid var(--lcs-line);
}

.lcs-band-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.lcs-band-label {
  margin: 0 0 0.65rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--lcs-accent);
  letter-spacing: 0.02em;
}

.lcs-headline {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lcs-body {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--lcs-text-dim);
}

.lcs-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 17px;
  color: var(--lcs-accent);
  transition: opacity 0.2s ease;
}

.lcs-link:hover {
  opacity: 0.75;
}

/* ——— Feature split ——— */
.lcs-feature {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  background: var(--lcs-bg);
}

.lcs-feature-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .lcs-feature-grid {
    grid-template-columns: 1fr 1.05fr;
    text-align: left;
  }

  .lcs-feature-copy .lcs-band-label,
  .lcs-feature-copy .lcs-headline,
  .lcs-feature-copy .lcs-body {
    text-align: left;
  }
}

.lcs-device-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 0 0 1px var(--lcs-line),
    0 40px 80px rgba(0, 0, 0, 0.55);
}

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

.lcs-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--lcs-line);
}

/* ——— Steps ——— */
.lcs-steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .lcs-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.lcs-steps li {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--lcs-line);
}

.lcs-step-num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--lcs-text-muted);
  margin-bottom: 0.5rem;
}

.lcs-steps strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.lcs-steps li span:last-child {
  font-size: 15px;
  color: var(--lcs-text-dim);
  line-height: 1.45;
}

/* ——— Closer ——— */
.lcs-closer {
  position: relative;
  z-index: 1;
  padding: clamp(6rem, 14vw, 9rem) 1.5rem;
  text-align: center;
  background: var(--lcs-bg);
}

.lcs-closer-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.lcs-closer-sub {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--lcs-text-dim);
}

.lcs-closer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
}

.lcs-btn-primary,
.lcs-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.75rem 1.75rem;
  border-radius: 980px;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.lcs-btn-primary {
  border: none;
  background: var(--lcs-accent);
  color: #fff;
}

.lcs-btn-primary:hover {
  background: #147ce5;
  transform: scale(1.02);
}

.lcs-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.lcs-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--lcs-text);
  border: 1px solid rgba(41, 151, 255, 0.45);
}

.lcs-btn-secondary:hover {
  background: rgba(41, 151, 255, 0.18);
  border-color: var(--lcs-accent);
  color: #fff;
}

/* ——— Footer ——— */
.lcs-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid var(--lcs-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 12px;
  color: var(--lcs-text-muted);
}

.lcs-footer a {
  color: var(--lcs-text-dim);
  margin-left: 1rem;
}

.lcs-footer a:hover {
  color: var(--lcs-text);
}

/* ——— Scroll reveal ——— */
.lcs-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.lcs-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .lcs-hero-wire {
    animation: none;
  }

  .lcs-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
