/* Cycle preview layout (home) + shared cycle styles */
.cycle-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: center;
}
.cycle-wheel-wrap { display: flex; justify-content: center; }
.cycle-wheel { width: 100%; max-width: 360px; height: auto; }

.cycle-detail { display: flex; flex-direction: column; gap: 4px; }
.cycle-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-align: left;
  transition: background 0.3s, border-color 0.3s;
  color: var(--text);
  align-items: flex-start;
}
.cycle-item:hover { background: var(--surface); }
.cycle-item.active { background: var(--surface); border-color: var(--border-strong); }
.cycle-item-num { font-size: 12px; letter-spacing: 0.12em; color: var(--text-muted); padding-top: 4px; min-width: 24px; }
.cycle-item.active .cycle-item-num { color: var(--accent); }
.cycle-item-body { flex: 1; }
.cycle-item-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.cycle-item-title span:first-child { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.cycle-item-time { font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.cycle-item-body p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.cycle-link {
  margin-top: 20px;
  padding: 16px 0 0;
  border-top: 1px dashed var(--border);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  transition: gap 0.2s;
}
.cycle-link:hover { gap: 14px; }

@media (max-width: 900px) {
  .cycle-layout { grid-template-columns: 1fr; gap: 40px; }
  .cycle-wheel { max-width: 300px; }
}

/* Agent mesh canvas */
.agent-mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

/* Tweaks floating launcher */
.tweaks-launcher {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 190;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: color 0.2s, transform 0.2s;
}
.tweaks-launcher:hover { color: var(--text); transform: scale(1.04); }

/* Feature list (generic) */
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.feature-item:last-child { border-bottom: none; }
.feature-item-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; min-width: 60px; padding-top: 4px; }
.feature-item-body h4 { font-size: 18px; font-weight: 500; margin-bottom: 6px; letter-spacing: -0.015em; }
.feature-item-body p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* Pill grid (integrations etc) */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  background: var(--surface);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-glow {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 70vw; height: 400px;
  background: radial-gradient(ellipse, var(--glow-cyan), transparent 60%);
  filter: blur(80px);
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(48px, 6.5vw, 96px);
  letter-spacing: -0.035em;
  margin: 24px 0 28px;
  max-width: 20ch;
}
.page-hero p {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.5;
}

/* Two col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.two-col-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 6px;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* Text section */
.prose { max-width: 720px; }
.prose h2 { margin-bottom: 24px; }
.prose h3 { margin: 40px 0 12px; font-size: 22px; }
.prose p { color: var(--text-muted); font-size: 16px; line-height: 1.65; margin-bottom: 20px; }
.prose ul { color: var(--text-muted); margin: 0 0 20px 20px; }
.prose ul li { margin-bottom: 10px; font-size: 15px; line-height: 1.6; }

/* Breadcrumb-ish path indicator */
.path {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.path span { color: var(--accent); }
